/* EveryMarket marketplace theme overrides */

@import url("https://fonts.googleapis.com/css2?family=Dancing+Script:wght@500;600&display=swap");

/* Hide collection tabs — EveryMarket shows flat product grids */
.featured-collection__tabs-list {
  display: none !important;
}

.featured-collection__tabs-header {
  display: none;
}

.featured-collection__tabs-wrapper {
  width: 100%;
}

.section-featured-collection > .page-width > div {
  align-items: flex-start !important;
  width: 100%;
}

/* Product grid: 6 columns on desktop like EveryMarket */
.featured-collection__track,
.block-product-list {
  --desktop-columns: 6;
}

@media (min-width: 960px) {
  .featured-collection__track {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
  }
}

/* Collection list: carousel style */
.collection-list .block-collection-list {
  gap: 16px;
}

/* ── Global ── */
body {
  background-color: #ffffff;
}

.page-width {
  max-width: 1280px;
}

/* ── Header (EveryMarket exact layout) ── */
:root {
  --everymarket-header-red: #d71921;
}

.header-section {
  --header-column-gap: 16px;
  --header-column-gap-mobile: 8px;
}

/* EveryMarket red top bar */
.header__container-top {
  background-color: var(--everymarket-header-red);
}

.header__container-top .header__container-top-wrap {
  position: relative;
  min-height: 72px;
  padding-block: 12px;
}

.header__container-top .header__logo {
  justify-content: flex-start !important;
  flex-shrink: 0;
}

.header__container-top .header__logo-link,
.header__container-top .header__logo-link:hover {
  color: #ffffff;
}

/* Logo: LunoHouse name + house icon + two-line script tagline */
.lunohouse-logo,
.everymarket-logo {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 14px;
  align-items: center;
  max-width: none;
  text-align: left;
}

.lunohouse-logo__name,
.everymarket-logo__name {
  font-family: Jost, "Helvetica Neue", Arial, sans-serif;
  font-size: 30px;
  font-weight: 600;
  line-height: 1;
  color: #ffffff;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.lunohouse-logo__icon {
  flex-shrink: 0;
  width: 40px;
  height: 44px;
  color: #ffffff;
}

.lunohouse-logo__tagline,
.everymarket-logo__tagline {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  line-height: 1.1;
}

.lunohouse-logo__tagline-line,
.everymarket-logo__tagline-line {
  font-family: "Dancing Script", "Brush Script MT", "Segoe Script", cursive;
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  color: #ffffff;
  white-space: nowrap;
}

/* Right action bar: 3-column grid via display:contents */
.header__container[layout="left_logo_wrap_menu"] .header-action-bar.right {
  width: 100%;
}

@media (min-width: 960px) {
  .header__container[layout="left_logo_wrap_menu"] .header__container-top-wrap {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) auto !important;
    grid-template-areas: "logo search utilities" !important;
    column-gap: 20px;
    align-items: center;
  }

  .header__container-top .header__logo {
    grid-area: logo;
  }

  .header__container-top .header-action-bar.right {
    display: contents;
  }

  .header-action-bar__search-wrap {
    grid-area: search;
    justify-self: center;
    width: 100%;
    max-width: 460px;
    min-width: 0;
  }

  .header-action-bar__search-bar-container {
    position: static;
    width: 100%;
    max-width: none;
    margin: 0;
    transform: none;
  }

  .header-action-bar__utilities {
    display: flex;
    grid-area: utilities;
    flex-shrink: 0;
    gap: 20px;
    align-items: center;
    justify-content: flex-end;
  }
}

.header-action-bar__search-bar-container {
  flex: none;
}

/* Pill search bar override (theme defaults to 6px radius, 300px max) */
.header__container-top .header-action-bar__search-bar {
  display: inline-flex !important;
  gap: 12px;
  align-items: center;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  height: 40px !important;
  padding: 0 18px 0 22px !important;
  overflow: hidden;
  background: #ffffff !important;
  border: none !important;
  border-radius: 50px !important;
  box-shadow: none;
}

.header__container-top .header-action-bar__search-bar-input {
  flex: 1;
  order: 1;
  width: 100%;
  font-size: 14px;
  color: #333333;
  background: transparent;
}

.header__container-top .header-action-bar__search-bar-input::placeholder {
  color: #aaaaaa;
}

.header__container-top .header-action-bar__search-bar-icon {
  order: 2;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: #222222;
}

/* White text links on red bar — label before icon */
.header-action-bar__text-link,
.header-action-bar__cart-entry {
  display: inline-flex;
  flex-shrink: 0;
  gap: 8px;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
  color: #ffffff;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.header-action-bar__text-link:hover,
.header-action-bar__cart-entry:hover {
  color: #ffffff;
  opacity: 0.85;
}

.header-action-bar__text-link svg,
.header-action-bar__cart-entry svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: #ffffff;
}

.header-action-bar__text-link-label,
.cart-bubble__label {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  color: #ffffff;
}

.header-action-bar__cart-entry .cart-bubble {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: #ffffff;
  cursor: pointer;
}

.cart-bubble__icon-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.cart-bubble__icon-wrap svg {
  width: 22px;
  height: 22px;
  color: #ffffff;
}

.header-action-bar__cart-entry .cart-bubble__count {
  position: absolute;
  top: -6px;
  right: -8px;
  min-width: 16px;
  height: 16px;
  padding: 0 3px;
  font-size: 10px;
  font-weight: 600;
  line-height: 16px;
  color: var(--everymarket-header-red);
  text-align: center;
  background: #ffffff;
  border-radius: 50%;
}

/* Mobile hamburger on red bar */
.everymarket-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px !important;
  height: 36px !important;
  padding: 0;
  color: #ffffff;
  background: none;
  border: none;
  box-shadow: none;
}

.everymarket-menu-btn svg {
  color: #ffffff;
}

@media (min-width: 960px) {
  .header-action-bar.left {
    display: none !important;
  }
}

@media (max-width: 959px) {
  .header-action-bar.left {
    display: flex !important;
  }

  /* ── Mobile header (EveryMarket style) ── */
  .header__container-top .header__container-top-wrap {
    min-height: 56px;
    padding-block: 8px;
    padding-inline: 12px;
  }

  .header__container[mobile-layout="center_logo"] .header__container-top-wrap {
    grid-template: "action-bar-left logo action-bar-right";
    grid-template-columns: 40px 1fr auto;
    column-gap: 8px;
  }

  .header__container[mobile-layout="center_logo"] .header-action-bar.left {
    width: auto;
    flex: 0;
    justify-self: start;
  }

  .header__container[mobile-layout="center_logo"] .header__logo {
    justify-content: center !important;
    min-width: 0;
  }

  .header__container-top .header__logo-link {
    justify-content: center;
    width: 100%;
  }

  /* Logo + tagline horizontal like EveryMarket mobile */
  .lunohouse-logo,
  .everymarket-logo {
    flex-flow: row wrap;
    gap: 4px 8px;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .lunohouse-logo__name,
  .everymarket-logo__name {
    font-size: 17px;
    font-weight: 700;
  }

  .lunohouse-logo__icon {
    display: none;
  }

  .lunohouse-logo__tagline,
  .everymarket-logo__tagline {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .lunohouse-logo__tagline-line,
  .everymarket-logo__tagline-line {
    font-size: 11px;
    line-height: 1.15;
  }

  /* Hamburger — no border box */
  .everymarket-menu-btn.button {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    outline: none !important;
  }

  .header-action-bar__utilities {
    display: flex;
    flex: 0;
    gap: 4px;
    align-items: center;
    justify-content: flex-end;
  }

  .header-action-bar__search.button--icon,
  .header-action-bar__user-mobile,
  .header-action-bar__cart-mobile {
    width: 36px;
    height: 36px;
    padding: 0;
    color: #ffffff;
  }

  .header-action-bar__search-wrap {
    display: none;
  }

  .header-action-bar__cart-mobile .cart-bubble__label {
    display: none;
  }

  .header-action-bar__cart-mobile .cart-bubble {
    gap: 0;
  }

  /* Hide bottom nav on mobile — use hamburger drawer */
  .header__container-bottom {
    display: none !important;
  }

  /* Mobile drawer menu styling */
  .lunohouse-drawer__submenu {
    padding-inline-start: 16px;
  }

  .lunohouse-drawer__submenu .header-nav-drawer__menu-control {
    font-weight: 400;
    padding-block: 10px;
  }

  .lunohouse-drawer__highlight {
    color: var(--everymarket-header-red);
    font-weight: 600;
  }

  .lunohouse-drawer__divider {
    height: 1px;
    margin: 12px 0;
    background: #eeeeee;
    list-style: none;
  }

  .lunohouse-drawer__details summary {
    list-style: none;
    cursor: pointer;
  }

  .lunohouse-drawer__details summary::-webkit-details-marker {
    display: none;
  }

  /* ── Mobile homepage ── */
  .featured-collection__track,
  .block-product-list {
    --mobile-columns: 2;
  }

  .section-featured-collection .block-heading,
  .collection-list .block-heading,
  .brand-list .block-heading {
    font-size: 18px;
    padding-inline: 16px;
  }

  .page-width {
    padding-inline: 16px;
  }

  .header-action-bar__search-bar {
    display: none;
  }

  .everymarket-nav .header-nav__menu-item > a > span {
    padding: 10px 8px;
    font-size: 12px;
  }
}

/* White bottom nav bar */
/* White bottom nav bar — always visible for wrap menu layouts */
.header__container[layout="left_logo_wrap_menu"] .header__container-bottom,
.header__container[layout="center_logo_wrap_menu"] .header__container-bottom,
.header__container[layout="center_logo_wrap_menu_2"] .header__container-bottom {
  display: flex !important;
  align-items: center;
  min-height: 48px;
}

.header__container-bottom {
  background-color: #ffffff;
  border-block-start: none;
  border-block-end: 1px solid #e5e5e5;
}

.header-section.divider {
  border-block-end: none;
}

.header__container-bottom .header-nav,
.header__container-bottom .everymarket-nav,
.header__container-bottom .lunohouse-nav {
  justify-content: flex-start;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding-inline: 24px;
}

/* Categories dropdown — EveryMarket style */
.lunohouse-nav__dropdown-panel {
  min-width: 240px;
}

.lunohouse-nav__dropdown-list {
  min-width: 240px;
  max-height: 70vh;
  padding-block: 8px;
  overflow-y: auto;
}

.lunohouse-nav__dropdown-list .header-nav-dropdown-menu__hero {
  width: 100%;
  min-width: 220px;
  max-width: 320px;
  padding: 10px 20px;
  font-size: 14px;
  line-height: 1.5;
}

.lunohouse-nav__dropdown-list .header-nav-dropdown-menu__hero:hover {
  color: #0066cc;
  background-color: #f8f8f8;
}

.lunohouse-nav__categories:hover .lunohouse-nav__dropdown {
  display: block;
}

.lunohouse-nav__categories .header-nav-dropdown-menu-scope {
  inset-inline-start: 0;
}

.everymarket-nav .header-nav__menu {
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
}

.everymarket-nav .header-nav__menu-item {
  margin-inline: 0;
}

.everymarket-nav .header-nav__menu-item > a {
  font-size: 14px;
  font-weight: 500;
  color: #222222;
}

.everymarket-nav .header-nav__menu-item > a:hover {
  color: #0066cc;
}

.everymarket-nav .header-nav__ellipsis,
.everymarket-nav .everymarket-nav__label {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  overflow: visible;
  -webkit-line-clamp: unset;
  white-space: nowrap;
}

.everymarket-nav .header-nav__menu-item > a > span {
  padding: 14px 14px;
}

.everymarket-nav__chevron {
  flex-shrink: 0;
  margin-block-start: 2px;
}

.everymarket-nav__label--deals {
  color: var(--everymarket-header-red);
  font-weight: 600;
}

.everymarket-nav mark.lighthighted {
  color: #ee4700 !important;
  font-weight: 600;
  background: none !important;
}

.header-action-bar .button--icon {
  color: #ffffff;
}

.header-action-bar .button--icon:hover {
  color: #ffffff;
  opacity: 0.85;
}

@media (max-width: 959px) {
  .header-action-bar__search-bar {
    display: none;
  }

  .everymarket-nav .header-nav__menu-item > a > span {
    padding: 10px 8px;
    font-size: 12px;
  }
}

/* ── Section headings ── */
.section-featured-collection .block-heading {
  width: 100%;
  font-size: 22px;
  font-weight: 600;
  color: #222222;
  text-align: left;
  text-transform: none;
  letter-spacing: 0;
  margin-block-end: 16px;
}

.collection-list .block-heading,
.brand-list .block-heading,
.image-with-text .block-heading,
.sign-up-and-save .block-heading {
  font-size: 22px;
  font-weight: 600;
  color: #222222;
  text-align: center;
  text-transform: none;
  letter-spacing: 0;
  margin-block-end: 8px;
}

/* EveryMarket price row: Now $X.XX  $XX.XX */
.section-featured-collection .product-price {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: baseline;
  margin-block-start: 8px;
}

.section-featured-collection .product-price__sale {
  font-size: 15px;
  font-weight: 700;
  color: #d71921;
}

.section-featured-collection .product-price__sale::before {
  content: "Now ";
  font-weight: 700;
}

.section-featured-collection .product-price__origin {
  font-size: 13px;
  font-weight: 400;
  color: #999999;
  text-decoration: line-through;
}

.section-featured-collection .block-product-title {
  order: 2;
  margin-block-start: 4px;
}

.section-featured-collection .block-product-price {
  order: 1;
}

.section-featured-collection .block-product-card-info {
  display: flex;
  flex-direction: column;
  padding: 10px 12px 14px;
}

.section-featured-collection .block-product-buy-button,
.section-featured-collection .button--secondary.block-product-buy-button {
  width: 100%;
  margin-block-start: 10px;
  padding: 8px 16px !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #333333 !important;
  background: #ffffff !important;
  border: 1px solid #cccccc !important;
  border-radius: 999px !important;
  text-transform: none;
  letter-spacing: 0;
}

.section-featured-collection .block-product-buy-button:hover {
  color: #ffffff !important;
  background: #d71921 !important;
  border-color: #d71921 !important;
}

.section-featured-collection .featured-collection__button {
  display: none;
}

/* ── Product cards (EveryMarket style) ── */
.block-product-card {
  border: 1px solid #eeeeee;
  border-radius: 4px;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
  background: #ffffff;
}

.block-product-card:hover {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.block-product-card .block-product-image {
  background: #f8f8f8;
}

.block-product-card .block-product-title {
  font-size: 13px;
  font-weight: 400;
  color: #333333;
  line-height: 1.4;
  margin-block-start: 8px;
}

.block-product-card .block-product-title span {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.block-product-card .block-product-price {
  font-size: 15px;
  font-weight: 700;
  color: #222222;
  margin-block-start: 4px;
}

.block-product-card .block-product-price .price--compare {
  color: #999999;
  font-weight: 400;
  text-decoration: line-through;
  font-size: 13px;
}

.block-product-card .block-product-price .price--sale,
.block-product-card .block-product-price .price-item--sale {
  color: #ee4700;
}

/* Add to Cart button */
.block-product-buy-button {
  width: 100%;
  background: #ffffff !important;
  color: #333333 !important;
  border: 1px solid #cccccc !important;
  border-radius: 4px !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  padding: 8px 16px !important;
  margin-block-start: 10px;
  text-transform: none;
  letter-spacing: 0;
  transition: all 0.2s ease;
}

.block-product-buy-button:hover {
  background: #ee4700 !important;
  color: #ffffff !important;
  border-color: #ee4700 !important;
}

.block-product-card-info {
  padding: 10px 12px 14px;
}

/* Hide quick-add overlay — EveryMarket uses visible Add to Cart */
.block-product-card .block-product-card__quick-add {
  display: none;
}

/* Discount tag */
.block-product-card-discount-tag {
  background: #ee4700;
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  border-radius: 2px;
  padding: 2px 6px;
}

/* ── Collection / category cards ── */
.block-collection-card {
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.2s ease;
}

.block-collection-card:hover {
  transform: translateY(-2px);
}

.block-collection-card__title {
  font-size: 14px;
  font-weight: 500;
  color: #333333;
  text-align: center;
  padding: 10px 8px;
}

/* ── Slideshow / hero ── */
.slideshow-section .slideshow__slide {
  border-radius: 0;
}

/* ── Image with text (brand story) ── */
.image-with-text {
  background: #f9f9f9;
}

.image-with-text .block-rich-text {
  font-size: 15px;
  line-height: 1.7;
  color: #555555;
}

/* ── Brand list carousel ── */
.brand-list .brand-list__item {
  border: 1px solid #eeeeee;
  border-radius: 4px;
  padding: 16px;
  background: #ffffff;
  transition: box-shadow 0.2s ease;
}

.brand-list .brand-list__item:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* ── Newsletter / sign up ── */
.sign-up-and-save {
  background: #f5f5f5;
  border-block-start: 1px solid #e5e5e5;
}

.sign-up-and-save .block-heading {
  font-size: 20px;
}

.sign-up-and-save .block-rich-text {
  color: #666666;
  font-size: 14px;
}

/* ── Footer ── */
.footer {
  background: #ffffff;
  border-block-start: 1px solid #e5e5e5;
}

.footer__menu-title {
  font-size: 14px;
  font-weight: 700;
  color: #222222;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-block-end: 12px;
}

.footer__menu-item a {
  font-size: 13px;
  color: #666666;
  line-height: 2;
}

.footer__menu-item a:hover {
  color: #0066cc;
  text-decoration: underline;
}

.footer__copyright {
  font-size: 12px;
  color: #999999;
  border-block-start: 1px solid #e5e5e5;
  padding-block-start: 20px;
  margin-block-start: 20px;
}

/* Payment icons row */
.footer__payment-icons {
  justify-content: center;
  gap: 8px;
  padding-block: 16px;
}

/* ── Buttons (global) ── */
.button--fill {
  border-radius: 4px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
}

.button--primary,
.button--fill:not(.button--secondary) {
  background: #ee4700;
  color: #ffffff;
  border-color: #ee4700;
}

.button--primary:hover,
.button--fill:not(.button--secondary):hover {
  background: #d63f00;
  border-color: #d63f00;
}

/* ── Cart bubble ── */
.cart-bubble__count {
  background: #ee4700;
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
}

/* ── Mobile adjustments ── */
@media (max-width: 959px) {
  .header-action-bar__search-bar {
    min-width: unset;
    max-width: unset;
  }

  .section-featured-collection .block-heading,
  .collection-list .block-heading,
  .brand-list .block-heading {
    font-size: 18px;
    padding-inline: 16px;
  }

  /* 2-column product grid on mobile */
  .featured-collection__track,
  .main-collection__list {
    --mobile-columns: 2;
  }

  .block-product-card .block-product-title {
    font-size: 12px;
  }

  .block-product-buy-button {
    font-size: 12px !important;
    padding: 6px 12px !important;
  }

  /* Mobile nav drawer */
  .header-nav-drawer {
    background: #ffffff;
  }

  /* Mobile footer accordion */
  .footer__menu-title {
    font-size: 13px;
    padding-block: 12px;
  }

  /* Sticky mobile header shadow */
  .theme-sticky-header--sticky .header__container {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  }

  /* Product page mobile */
  .product-detail__buy-buttons .button--fill {
    font-size: 15px;
    padding: 14px 20px;
  }

  .is-sticky > .product-detail__buy-buttons {
    padding: 12px var(--page-padding);
  }

  /* Image with text mobile */
  .image-with-text {
    padding-block: 24px;
  }

  .image-with-text .block-heading {
    font-size: 20px;
  }

  /* Sign up mobile */
  .sign-up-and-save .block-heading {
    font-size: 18px;
  }

  /* Deals grid handled in everymarket-deals.css */
}

/* ── Collection page ── */
.main-collection-container {
  background: #ffffff;
}

.main-collection {
  padding-block: 24px 40px;
}

.main-collection__list {
  gap: 16px;
}

.facets-sorting-wrapper select,
.facets-filtering .button {
  font-size: 13px;
  border-color: #e0e0e0;
  border-radius: 4px;
}

.facets-filtering .button {
  color: #333333;
  background: #ffffff;
}

.main-collection .block-product-card {
  height: 100%;
}

.block-main-collection__banner-inner {
  color: #ffffff;
}

.block-main-collection__banner-inner .block-heading {
  font-size: 28px;
  font-weight: 600;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* Collection breadcrumb */
.breadcrumb {
  font-size: 13px;
  color: #666666;
  padding-block: 12px;
}

.breadcrumb a:hover {
  color: #0066cc;
}

/* ── Product page ── */
.product-detail-wrapper {
  background: #ffffff;
}

.product-detail {
  padding-block: 8px;
}

.product-detail__title {
  font-size: 22px;
  font-weight: 600;
  color: #222222;
  line-height: 1.35;
  margin-block-end: 0;
}

.product-detail__vendor {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-block: 6px 0;
  color: #666666;
}

.product-detail__vendor strong {
  color: #333333;
  font-weight: 600;
}

.product-detail__price {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
}

.product-detail__price .price-item--sale,
.product-detail__price .price--sale,
.product-detail__price .product-price__sale {
  font-size: 28px;
  font-weight: 700;
  color: #2d9a4b;
}

.product-detail__price .price-item--regular,
.product-detail__price .price--compare,
.product-detail__price .product-price__origin {
  font-size: 16px;
  color: #999999;
  text-decoration: line-through;
}

.product-detail__info .product-inventory {
  margin-block-start: -6px;
}

.product-detail__info .product-inventory .in-stock {
  color: #2d9a4b;
  font-size: 14px;
  font-weight: 600;
}

.product-detail__info .product-inventory .in-stock::before {
  display: none;
}

.everymarket-shipping-note,
.everymarket-shipping-note p {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  color: #2d9a4b;
}

.everymarket-returns-note,
.everymarket-returns-note p {
  margin: 0;
  font-size: 13px;
  color: #666666;
  line-height: 1.5;
}

.product-detail__form .button--fill:not(.button--secondary),
.product-detail__buy-button-group .button--primary,
.product-detail__buy-button-group .button--fill:not(.button--secondary) {
  background: #2d9a4b !important;
  color: #ffffff !important;
  border-color: #2d9a4b !important;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 14px 20px;
  border-radius: 4px;
}

.product-detail__form .button--fill:not(.button--secondary):hover,
.product-detail__buy-button-group .button--primary:hover {
  background: #248a41 !important;
  border-color: #248a41 !important;
}

.product-detail__buy-button-group .payment-button-wrapper button,
.product-detail__buy-button-group shopline-payment-button,
.product-detail__form .shopline-payment-button__button,
.product-detail__buy-button-group .shopline-payment-button__button {
  border-radius: 4px !important;
}

.product-detail__buy-button-group .payment-button-wrapper .shopline-payment-button__button,
.product-detail__buy-button-group .payment-button-wrapper button {
  background: #2d9a4b !important;
  color: #ffffff !important;
  border: 1px solid #2d9a4b !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  min-height: 48px;
}

.product-detail__buy-button-group .block-product-buy-button-group {
  gap: 12px;
}

.product-detail__buy-button-group .quantity-selector__input {
  border-radius: 4px;
  border-color: #cccccc;
}

.product-detail__sell-info.everymarket-delivery-guarantee,
.product-detail__info > .product-detail__sell-info {
  padding: 16px 12px;
  margin-block-start: 8px;
  background: #f8f8f8;
  border: 1px solid #eeeeee;
  border-radius: 4px;
}

.product-detail__sell-info .sell-info__icon {
  width: 28px;
  height: 28px;
  color: #2d9a4b;
}

.product-detail__sell-info--horizontal .sell-info__text,
.product-detail__sell-info--horizontal .sell-info__text p {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  color: #444444;
  line-height: 1.35;
}

.product-detail__sell-info--horizontal::before {
  content: "Delivery Guarantee";
  display: block;
  width: 100%;
  margin-block-end: 12px;
  font-size: 14px;
  font-weight: 600;
  color: #222222;
}

.product-detail__variant-picker .variant-picker__input:checked + .variant-picker__button--text {
  border-color: #2d9a4b;
  color: #2d9a4b;
}

/* Hide accordion chrome until JS builds tabs */
.product-detail__info > .product-description,
.product-detail__info > .product-detail__additional {
  display: none;
}

/* Full-width product details tabs */
.everymarket-product-details {
  width: 100%;
  max-width: var(--page-width, 1200px);
  margin: 0 auto;
  padding: 24px var(--page-padding, 20px) 48px;
}

.everymarket-product-details__heading {
  margin: 0 0 16px;
  font-size: 20px;
  font-weight: 600;
  color: #222222;
}

.everymarket-product-details__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-block-end: 2px solid #eeeeee;
}

.everymarket-product-details__tab {
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #666666;
  background: none;
  border: none;
  border-block-end: 2px solid transparent;
  margin-block-end: -2px;
  cursor: pointer;
}

.everymarket-product-details__tab[aria-selected="true"] {
  color: #222222;
  border-block-end-color: #222222;
}

.everymarket-product-details__panel {
  padding-block-start: 20px;
  font-size: 14px;
  line-height: 1.6;
  color: #444444;
}

.everymarket-product-details__panel ul {
  padding-inline-start: 20px;
}

/* Product media gallery */
.product-detail__media-gallery .media-gallery__thumbnail.is-select::after,
.product-detail__media-gallery .media-gallery__thumbnail:hover::after {
  box-shadow: inset 0 0 0 2px #2d9a4b;
}

/* Recommendation carousels on product page */
.section-recommended-product .block-heading {
  font-size: 20px;
  font-weight: 600;
  color: #222222;
  text-align: left;
}

.section-recommended-product .block-product-card .block-product-title span {
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.section-recommended-product .block-product-buy-button,
.section-recommended-product .button--secondary.block-product-buy-button {
  width: 100%;
  padding: 8px 16px !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #333333 !important;
  background: #ffffff !important;
  border: 1px solid #cccccc !important;
  border-radius: 999px !important;
  text-transform: none;
}

.section-recommended-product .block-product-price .product-price__sale,
.section-recommended-product .block-product-price .price--sale {
  color: #222222;
  font-weight: 700;
}

@media (max-width: 959px) {
  .product-detail__title {
    font-size: 18px;
  }

  .product-detail__price .price-item--sale,
  .product-detail__price .price--sale,
  .product-detail__price .product-price__sale {
    font-size: 24px;
  }

  .product-detail__sell-info--horizontal .sell-info {
    width: calc(50% - 10px);
  }

  .everymarket-product-details__tab {
    padding: 10px 12px;
    font-size: 11px;
  }
}

/* ── EveryMarket deals grid section ── */
.everymarket-deals {
  border-block-end: 1px solid #f0f0f0;
}

/* ── Marketplace about section ── */
.marketplace-about,
.image-with-text:has(.block-rich-text) {
  background: #ffffff;
}

/* ── Search page ── */
.search-results .block-product-card {
  height: 100%;
}

