:where(body.ft-store) {
  --ft-catalog-border: #e5e5e9;
  --ft-catalog-muted: #696970;
  --ft-catalog-heading-bg: #101013;
  --ft-catalog-heading-text: #ffffff;
  --ft-gallery-bg: #f5f5f6;
  --ft-detail-bg: #ffffff;
  --ft-catalog-button-text: #ffffff;
}

.ft-store :is(#product-product, #product-category, #product-search) {
  padding-top: 32px;
  padding-bottom: 64px;
  background-color: var(--ft-catalog-bg);
  background-image: none;
  color: var(--ft-shell-text);
}
.ft-store:has(:is(#product-product, #product-category, #product-search)) .site-wrapper {
  background-color: var(--ft-catalog-bg);
  background-image: none;
}
.ft-store:has(:is(#product-product, #product-category, #product-search)) .breadcrumb a {
  color: var(--ft-shell-text);
}
.ft-store:has(:is(#product-product, #product-category, #product-search)) .breadcrumb li:last-child a {
  color: var(--ft-red);
}
.ft-store :is(#product-product, #product-category, #product-search) #content {
  min-width: 0;
}
.ft-store :is(#product-product, #product-category, #product-search) :is(.row, #content, #column-left, #column-right) {
  background-color: transparent;
  background-image: none;
}
.ft-store :is(#product-category, #product-search) #content > .title {
  padding: 14px 18px;
  border-left: 4px solid var(--ft-red);
  background: var(--ft-catalog-heading-bg);
  color: var(--ft-catalog-heading-text);
}
.ft-store :is(#product-product, #product-category, #product-search) .module-filter .panel-group {
  background: transparent;
}
.ft-store :is(#product-product, #product-category, #product-search) .module-filter :is(.panel, .panel-heading, .panel-body) {
  border-color: var(--ft-catalog-border);
  background: var(--ft-detail-bg);
  color: var(--ft-shell-text);
}
.ft-store :is(#product-product, #product-category, #product-search) .module-filter .panel-heading {
  background: var(--ft-gallery-bg);
}
.ft-store :is(#product-product, #product-category, #product-search) .module-filter :is(.accordion-toggle, .panel-title, label, .currency-symbol, .count-badge) {
  color: var(--ft-shell-text);
}
.ft-store :is(#product-product, #product-category, #product-search) .module-filter .form-control {
  border-color: var(--ft-catalog-border);
  background: var(--ft-detail-bg);
  color: var(--ft-shell-text);
}
.ft-store :is(#product-product, #product-category, #product-search) .side-menu .menu-item > a {
  background: var(--ft-detail-bg);
  color: var(--ft-shell-text);
}
.ft-store :is(#product-product, #product-category, #product-search) .side-menu .menu-item > a .links-text {
  color: inherit;
}
.ft-store :is(#product-product, #product-category, #product-search) .side-menu .menu-item > a:hover {
  color: var(--ft-red);
}
.ft-store :is(#product-product, #product-category, #product-search) .page-title {
  margin: 0 0 32px;
  padding: 28px 32px;
  border-left: 4px solid var(--ft-red);
  background: var(--ft-catalog-heading-bg);
  color: var(--ft-catalog-heading-text);
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -1px;
  overflow-wrap: anywhere;
}
.ft-store :is(#product-product, #product-category, #product-search) :is(a, button, select, input, textarea):focus-visible {
  outline: 2px solid var(--ft-red);
  outline-offset: 3px;
}
.ft-store :is(#product-category, #product-search) :is(.category-description, .category-info) {
  margin-bottom: 28px;
  color: var(--ft-catalog-muted);
  line-height: 1.8;
}
.ft-store :is(#product-category, #product-search) :is(.products-filter, .refine-search, .pagination-results) {
  padding: 18px;
  margin-bottom: 24px;
  background: var(--ft-catalog-card);
  border: 1px solid var(--ft-catalog-border);
  border-radius: 8px;
}
.ft-store :is(#product-category, #product-search) .form-control {
  min-height: 44px;
  border: 1px solid var(--ft-catalog-border);
  border-radius: 6px;
  background: var(--ft-catalog-card);
  color: var(--ft-shell-text);
  box-shadow: none;
}
.ft-store :is(#product-category, #product-search) .main-products.product-grid > .dsp-cell {
  padding: 9px;
}
.ft-store :is(#product-category, #product-search) .main-products.product-list > .dsp-cell {
  padding: 9px 0;
}
.ft-store :is(#product-category, #product-search) .dsp-card .price :is(.price-normal, .price-new) {
  color: var(--ft-wine, #8b1a2b);
}
.ft-store :is(#product-category, #product-search) .dsp-card {
  height: 100%;
  border: 1px solid var(--ft-catalog-border);
  border-radius: 10px;
  background: var(--ft-catalog-card);
  transition: border-color .2s, box-shadow .2s;
}
.ft-store :is(#product-category, #product-search) .dsp-card:hover {
  border-color: var(--ft-red);
  box-shadow: 0 12px 30px #1010130c;
}
.ft-store :is(#product-category, #product-search) .dsp-card .image {
  padding: 18px;
  background: var(--ft-gallery-bg);
  border-radius: 9px 9px 0 0;
}
.ft-store :is(#product-category, #product-search) .dsp-card .image img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}
.ft-store :is(#product-category, #product-search) .dsp-card .caption {
  padding: 20px;
}
.ft-store :is(#product-category, #product-search) .dsp-card .name {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.ft-store :is(#product-category, #product-search) .dsp-card .description {
  color: var(--ft-catalog-muted);
  line-height: 1.7;
}
.ft-store :is(#product-category, #product-search) .dsp-card .price {
  margin-top: 12px;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.5;
}
.ft-store :is(#product-category, #product-search) .dsp-card :is(.price-old, .price-tax) {
  color: var(--ft-catalog-muted);
  font-size: 12px;
  font-weight: 400;
}
.ft-store :is(#product-category, #product-search) .dsp-card .button-group {
  padding: 16px;
  border-top: 1px solid var(--ft-catalog-border);
}
.ft-store :is(#product-category, #product-search) .pagination > li > :is(a, span) {
  min-width: 40px;
  min-height: 40px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-color: var(--ft-catalog-border);
  background: var(--ft-catalog-card);
  color: var(--ft-shell-text);
}
.ft-store :is(#product-category, #product-search) .pagination > .active > :is(a, span) {
  background: var(--ft-red);
  border-color: var(--ft-red);
  color: var(--ft-catalog-button-text);
}

.ft-store #product-product .product-info:has(> .product-left) {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: start;
  gap: 32px;
}
.ft-store #product-product :is(.product-left, .product-right) {
  width: auto;
  min-width: 0;
  float: none;
  background: transparent;
}
.ft-store #product-product .product-info {
  background: transparent;
}
.ft-store #product-product .product-left-wrapper {
  padding: 24px;
  border: 1px solid var(--ft-catalog-border);
  border-radius: 12px;
  background: var(--ft-gallery-bg);
  background-image: none;
}
.ft-store #product-product .main-image {
  border-radius: 8px;
  background: var(--ft-catalog-card);
  overflow: hidden;
}
.ft-store #product-product .main-image img {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}
.ft-store #product-product .additional-image {
  border: 1px solid var(--ft-catalog-border);
  border-radius: 6px;
  background: var(--ft-catalog-card);
  overflow: hidden;
}
.ft-store #product-product .additional-image.swiper-slide-active {
  border-color: var(--ft-red);
}
.ft-store #product-product .product-right-wrapper {
  padding: 28px;
  border: 1px solid var(--ft-catalog-border);
  border-radius: 12px;
  background: var(--ft-detail-bg);
  background-image: none;
  color: var(--ft-shell-text);
}
.ft-store #product-product .product-details {
  background: transparent;
  color: var(--ft-shell-text);
}
.ft-store #product-product .product-details .page-title {
  padding: 0 0 20px;
  margin-bottom: 12px;
  border: 0;
  border-bottom: 1px solid var(--ft-catalog-border);
  background: transparent;
  color: var(--ft-shell-text);
  font-size: clamp(24px, 2.5vw, 32px);
}
.ft-store #product-product .product-stats :is(li, b, span) {
  color: var(--ft-shell-text);
}
.ft-store #product-product :is(.product-stock, .rating-stars) {
  color: var(--ft-red);
}
.ft-store :is(#product-product, #product-category, #product-search) .title-module :is(.title-wrapper, .title, .subtitle, p, span) {
  color: var(--ft-shell-text);
  text-shadow: none;
}
.ft-store :is(#product-product, #product-category, #product-search) .title-module .subtitle {
  padding: 14px 16px;
  border: 1px solid var(--ft-catalog-border);
  border-left: 4px solid var(--ft-red);
  border-radius: 8px;
  background: var(--ft-gallery-bg);
  font-size: 14px;
  line-height: 1.6;
  text-transform: none;
}
.ft-store :is(#product-product, #product-category, #product-search) .title-module :is(.title-wrapper, .subtitle)::before {
  color: var(--ft-red);
}
.ft-store #product-product .review-links,
.ft-store #product-product .review-links :is(a, button) {
  color: var(--ft-catalog-muted);
}
.ft-store #product-product .rating-stars em {
  color: var(--ft-red);
}
.ft-store #product-product .product-stats {
  padding: 16px 0;
  border-bottom: 1px solid var(--ft-catalog-border);
  line-height: 1.8;
}
.ft-store #product-product .product-price-group {
  margin: 24px 0;
  padding: 20px 0;
  border-bottom: 1px solid var(--ft-catalog-border);
}
.ft-store #product-product :is(.product-price, .product-price-new) {
  color: var(--ft-red);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  line-height: 1.3;
}
.ft-store #product-product :is(.product-price-old, .product-tax, .product-points) {
  color: var(--ft-catalog-muted);
}
.ft-store #product-product .product-options .form-control {
  min-height: 44px;
  border: 1px solid var(--ft-catalog-border);
  border-radius: 6px;
  background: var(--ft-detail-bg);
  color: var(--ft-shell-text);
  box-shadow: none;
}
.ft-store #product-product .product-options .form-group {
  margin-bottom: 20px;
}
.ft-store #product-product .control-label {
  font-weight: 700;
  margin-bottom: 8px;
}
.ft-store #product-product .ft-stock-notice {
  width: 100%;
  border-radius: 8px;
  margin: 16px 0;
  overflow-wrap: anywhere;
  text-transform: none;
}
.ft-store #product-product .cart-group:has(.ft-stock-notice) {
  flex: 1 1 100%;
  min-width: 0;
}
.ft-store #product-product .buttons-wrapper:has(.ft-stock-notice) {
  flex-wrap: wrap;
}
.ft-store #product-product :is(.btn-wishlist, .btn-compare) {
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--ft-catalog-border);
  border-radius: 6px;
  background: var(--ft-detail-bg);
  color: var(--ft-red);
}
.ft-store #product-product #button-cart,
.ft-store :is(#product-category, #product-search) .btn-cart {
  min-height: 44px;
  padding: 12px 20px;
  border: 1px solid var(--ft-red);
  border-radius: 6px;
  background: var(--ft-red);
  color: var(--ft-catalog-button-text);
  font-weight: 700;
  text-decoration: none;
}
.ft-store #product-product .tab-content {
  padding: 28px;
  border: 1px solid var(--ft-catalog-border);
  border-radius: 0 0 8px 8px;
  background: var(--ft-detail-bg);
  line-height: 1.8;
}
.ft-store #product-product .nav-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-bottom: 1px solid var(--ft-catalog-border);
}
.ft-store #product-product .nav-tabs > li > a {
  min-height: 44px;
  padding: 12px 20px;
  border: 1px solid var(--ft-catalog-border);
  border-radius: 6px 6px 0 0;
  background: var(--ft-detail-bg);
  color: var(--ft-shell-text);
  font-weight: 700;
}
.ft-store #product-product .nav-tabs > li.active > a,
.ft-store #product-product .nav-tabs > li > a:hover {
  border-color: var(--ft-red);
  background: var(--ft-red);
  color: var(--ft-catalog-button-text);
}
.ft-store #product-product :is(.tab-content, .tab-pane) {
  background-image: none;
  color: var(--ft-shell-text);
}
.ft-store #product-product .tab-content a {
  color: var(--ft-red);
}
.ft-store #product-product .tab-content img {
  max-width: 100%;
  height: auto;
}
.ft-store #product-product .tab-content table {
  width: 100%;
}

@media (max-width: 991px) {
  .ft-store #product-product .product-info:has(> .product-left) {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
}
@media (max-width: 650px) {
  .ft-store :is(#product-product, #product-category, #product-search) {
    padding-top: 20px;
    padding-bottom: 40px;
  }
  .ft-store :is(#product-product, #product-category, #product-search) .page-title {
    padding: 22px 20px;
    margin-bottom: 24px;
    font-size: 26px;
    letter-spacing: -.5px;
  }
  .ft-store #product-product :is(.product-left-wrapper, .product-right-wrapper, .tab-content) {
    padding: 18px;
  }
  .ft-store :is(#product-category, #product-search) .dsp-card :is(.image, .caption, .button-group) {
    padding: 12px;
  }
  .ft-store :is(#product-category, #product-search) .dsp-card .name {
    font-size: 13px;
  }
  .ft-store :is(#product-category, #product-search) .dsp-card .price {
    font-size: 17px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ft-store :is(#product-category, #product-search) .dsp-card {
    transition: none;
  }
}

/* Wine palette: filter header and sort controls */
.ft-store :is(#product-category, #product-search) .module-filter > .module-title,
.ft-store .module-filter > .module-title {
  background: linear-gradient(120deg, #5e0f1c, #8b1a2b);
  color: #fff;
}
.ft-store .module-filter > .module-title .filter-title-text { color: #fff; }
.ft-store .reset-filter.btn { background: #fff; color: #8b1a2b; border-color: #fff; }
.ft-store :is(#product-category, #product-search) .products-filter .select-group select.form-control {
  color: #fff !important;
}
.ft-store :is(#product-category, #product-search) .products-filter .select-group select.form-control option {
  background: #fff;
  color: #17171b !important;
}
