:root{--swcs-cream:#fffaf2;--swcs-paper:#fffdf9;--swcs-ink:#211b19;--swcs-wine:#861d3b;--swcs-gold:#b18a48;--swcs-line:#ded2c2;--swcs-muted:#7d7168}
body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag,body.single-product,body.woocommerce-cart,body.woocommerce-checkout,body.woocommerce-account{background:var(--swcs-cream);color:var(--swcs-ink);font-family:"DM Sans",Arial,sans-serif}
body.woocommerce-shop #secondary,body.tax-product_cat #secondary,body.tax-product_tag #secondary,body.single-product #secondary,body.woocommerce-cart #secondary,body.woocommerce-checkout #secondary,body.woocommerce-account #secondary{display:none!important}
body.woocommerce-shop #primary,body.tax-product_cat #primary,body.tax-product_tag #primary,body.single-product #primary,body.woocommerce-cart #primary,body.woocommerce-checkout #primary,body.woocommerce-account #primary{float:none!important;width:100%!important;max-width:1320px!important;margin:0 auto!important;padding:34px 28px 70px!important;box-sizing:border-box}
body.woocommerce-shop .site-content,body.tax-product_cat .site-content,body.woocommerce-cart .site-content,body.woocommerce-checkout .site-content{background:var(--swcs-cream)}
body.woocommerce-shop .woocommerce-breadcrumb,body.tax-product_cat .woocommerce-breadcrumb,body.single-product .woocommerce-breadcrumb{font-size:12px;letter-spacing:.04em;color:var(--swcs-muted);margin:4px 0 28px}
body.woocommerce-shop .woocommerce-products-header__title,body.tax-product_cat .woocommerce-products-header__title{font-family:"Playfair Display",Georgia,serif;font-weight:500;font-size:clamp(36px,4vw,56px);line-height:1.1;color:var(--swcs-ink);margin:0 0 24px}
.swcs-shop-intro{text-align:center;padding:42px 20px 32px;margin:0 0 24px;background:#f1e5d4;border:1px solid var(--swcs-line)}.swcs-eyebrow{font-size:11px;font-weight:700;letter-spacing:.2em;color:var(--swcs-wine);margin:0 0 13px}.swcs-shop-intro h1{font-family:"Playfair Display",Georgia,serif;font-size:clamp(34px,4vw,54px);font-weight:500;line-height:1.08;margin:0 0 12px;color:var(--swcs-ink)}.swcs-shop-intro h1 em{color:var(--swcs-wine)}.swcs-shop-intro p:not(.swcs-eyebrow){font-size:14px;color:var(--swcs-muted);margin:0}.swcs-rule{display:block;color:var(--swcs-gold);margin-top:18px}.swcs-rule:before,.swcs-rule:after{content:"";display:inline-block;vertical-align:middle;height:1px;width:64px;background:var(--swcs-gold);margin:0 12px}
body.woocommerce-shop .woocommerce-result-count,body.tax-product_cat .woocommerce-result-count{color:var(--swcs-muted);font-size:13px}body.woocommerce-shop .woocommerce-ordering select,body.tax-product_cat .woocommerce-ordering select{border:1px solid var(--swcs-line);background:var(--swcs-paper);padding:11px 14px;color:var(--swcs-ink);border-radius:0;font:inherit}
body.woocommerce-shop ul.products,body.tax-product_cat ul.products,body.tax-product_tag ul.products,body .swcs-home-products ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px 20px;margin:28px 0!important}body.woocommerce-shop ul.products:before,body.woocommerce-shop ul.products:after,body.tax-product_cat ul.products:before,body.tax-product_cat ul.products:after{display:none!important}body.woocommerce-shop ul.products li.product,body.tax-product_cat ul.products li.product,body.tax-product_tag ul.products li.product,body .swcs-home-products ul.products li.product{float:none!important;width:auto!important;margin:0!important;padding:12px 12px 16px!important;background:var(--swcs-paper);border:1px solid var(--swcs-line);box-sizing:border-box;transition:transform .2s ease,box-shadow .2s ease}body.woocommerce-shop ul.products li.product:hover,body.tax-product_cat ul.products li.product:hover{transform:translateY(-3px);box-shadow:0 12px 28px #211b1910}body.woocommerce-shop ul.products li.product a img,body.tax-product_cat ul.products li.product a img,body .swcs-home-products ul.products li.product a img{width:100%!important;aspect-ratio:3/4;object-fit:cover;margin:0 0 15px!important;background:#f1e5d4}body.woocommerce-shop ul.products li.product .woocommerce-loop-product__title,body.tax-product_cat ul.products li.product .woocommerce-loop-product__title,body .swcs-home-products ul.products li.product .woocommerce-loop-product__title{font-family:"Playfair Display",Georgia,serif;font-size:19px!important;line-height:1.3;color:var(--swcs-ink);padding:0 2px 7px!important}body.woocommerce-shop ul.products li.product .price,body.tax-product_cat ul.products li.product .price,body .swcs-home-products ul.products li.product .price{color:var(--swcs-wine)!important;font-weight:700;font-size:15px;margin:0 2px 12px}body.woocommerce-shop ul.products li.product .button,body.tax-product_cat ul.products li.product .button,body.single-product .single_add_to_cart_button,body .swcs-home-products ul.products li.product .button{background:var(--swcs-ink)!important;color:var(--swcs-cream)!important;border:1px solid var(--swcs-ink)!important;border-radius:0!important;padding:13px 17px!important;font-size:11px!important;font-weight:700!important;letter-spacing:.08em;text-transform:uppercase}body.woocommerce-shop ul.products li.product .button:hover,body.tax-product_cat ul.products li.product .button:hover,body.single-product .single_add_to_cart_button:hover,body .swcs-home-products ul.products li.product .button:hover{background:var(--swcs-wine)!important;border-color:var(--swcs-wine)!important;color:white!important}
body.woocommerce-shop .woocommerce-info,body.woocommerce-shop .woocommerce-message,body.woocommerce-shop .woocommerce-error,body.tax-product_cat .woocommerce-info,body.woocommerce-cart .woocommerce-info{border-top-color:var(--swcs-wine);background:#f5ece3;color:var(--swcs-ink);padding:18px 22px}body.woocommerce-shop .woocommerce-info:before,body.woocommerce-shop .woocommerce-message:before{color:var(--swcs-wine)}body.single-product .product_title{font-family:"Playfair Display",Georgia,serif;font-size:clamp(30px,3vw,44px);font-weight:500;color:var(--swcs-ink)}body.single-product .price{color:var(--swcs-wine)!important;font-size:22px!important;font-weight:700}body.single-product div.product .woocommerce-product-gallery img{background:#f1e5d4}
body.woocommerce-cart table.shop_table,body.woocommerce-checkout form.checkout,body.woocommerce-account .woocommerce-MyAccount-content,body.woocommerce-account .woocommerce-MyAccount-navigation,body.woocommerce-cart .cart-collaterals .cart_totals{background:var(--swcs-paper);border:1px solid var(--swcs-line);padding:18px}body.woocommerce-cart .checkout-button,body.woocommerce-checkout #place_order,body.woocommerce-cart button[name=update_cart],body.woocommerce-cart .coupon button,body.woocommerce-account .button{background:var(--swcs-ink)!important;color:var(--swcs-cream)!important;border:0!important;border-radius:0!important;padding:13px 18px!important}body.woocommerce-cart .checkout-button:hover,body.woocommerce-checkout #place_order:hover,body.woocommerce-account .button:hover{background:var(--swcs-wine)!important;color:#fff!important}
.swcs-empty-catalog{text-align:center;background:#f1e5d4;border:1px solid var(--swcs-line);padding:34px 18px;margin:0 0 8px}.swcs-empty-mark{color:var(--swcs-gold);font-size:26px}.swcs-empty-catalog h3{font-family:"Playfair Display",Georgia,serif;font-size:26px;font-weight:500;margin:10px 0;color:var(--swcs-ink)}.swcs-empty-catalog p{max-width:520px;margin:0 auto 20px;color:var(--swcs-muted);font-size:14px}.swcs-empty-catalog .button{display:inline-block;text-decoration:none}
@media(max-width:900px){body.woocommerce-shop ul.products,body.tax-product_cat ul.products,body.tax-product_tag ul.products,body .swcs-home-products ul.products{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 14px}}@media(max-width:600px){body.woocommerce-shop #primary,body.tax-product_cat #primary,body.tax-product_tag #primary,body.single-product #primary,body.woocommerce-cart #primary,body.woocommerce-checkout #primary,body.woocommerce-account #primary{padding:20px 12px 42px!important}.swcs-shop-intro{padding:30px 14px 24px;margin-bottom:18px}body.woocommerce-shop ul.products,body.tax-product_cat ul.products,body.tax-product_tag ul.products,body .swcs-home-products ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 10px;margin-top:20px!important}body.woocommerce-shop ul.products li.product,body.tax-product_cat ul.products li.product,body .swcs-home-products ul.products li.product{padding:8px 8px 12px!important}body.woocommerce-shop ul.products li.product .woocommerce-loop-product__title,body.tax-product_cat ul.products li.product .woocommerce-loop-product__title,body .swcs-home-products ul.products li.product .woocommerce-loop-product__title{font-size:16px!important}body.woocommerce-shop .woocommerce-ordering{float:none!important;margin:12px 0}}

/* v2.1 shop archive refinements */
body.woocommerce-shop .site-main,body.tax-product_cat .site-main{min-width:0}
body.woocommerce-shop .swcs-shop-intro{max-width:100%;margin:0 0 30px;padding:54px 24px 36px;background:linear-gradient(135deg,#f4e8d8 0%,#fffaf2 100%);border:1px solid var(--swcs-line);text-align:center;box-sizing:border-box}
body.woocommerce-shop .swcs-shop-intro h1{margin:0 auto 14px;max-width:850px;font-size:clamp(38px,5vw,64px);letter-spacing:-.025em}
body.woocommerce-shop .swcs-shop-intro>p:not(.swcs-eyebrow){max-width:560px;margin:0 auto;color:var(--swcs-muted);line-height:1.8}
.swcs-shop-links{margin-top:22px;font-size:12px;color:var(--swcs-muted);letter-spacing:.06em}
.swcs-shop-links a{color:var(--swcs-wine);text-decoration:none}
.swcs-empty-catalog{max-width:900px;margin:24px auto 50px;padding:52px 24px;background:var(--swcs-paper);border:1px solid var(--swcs-line);text-align:center;box-sizing:border-box}
.swcs-empty-catalog h2{font-family:"Playfair Display",Georgia,serif;font-size:clamp(28px,3.4vw,42px);font-weight:500;margin:8px 0 14px;color:var(--swcs-ink)}
.swcs-empty-catalog p:not(.swcs-eyebrow){max-width:560px;margin:0 auto 24px;color:var(--swcs-muted);line-height:1.8}
.swcs-shop-home{display:inline-flex;align-items:center;gap:20px;padding:14px 22px;background:var(--swcs-ink);color:var(--swcs-cream)!important;text-decoration:none!important;text-transform:uppercase;letter-spacing:.09em;font-size:11px;font-weight:700}
.swcs-shop-home:hover{background:var(--swcs-wine)}
@media(max-width:600px){body.woocommerce-shop .swcs-shop-intro{padding:36px 16px 28px}.swcs-empty-catalog{padding:34px 16px;margin:18px auto 30px}}


/* v2.2: remove duplicate WooCommerce archive heading/breadcrumb below the designed banner. */
body.woocommerce-shop .woocommerce-breadcrumb,
body.woocommerce-shop .woocommerce-products-header { display:none !important; }
/* Keep the designed empty-catalog panel and hide WooCommerce's duplicate empty-results notice only. */
body.woocommerce-shop .woocommerce-no-products-found .woocommerce-info,
body.woocommerce-shop .woocommerce-no-products-found > p.woocommerce-info { display:none !important; }
body.woocommerce-shop .swcs-empty-catalog { margin-top: 22px; }

/* v2.3: replace the oversized coming-soon panel with category navigation while products are being prepared. */
body.woocommerce-shop .swcs-empty-catalog{display:none!important}
.swcs-category-discovery{max-width:1200px;margin:22px auto 64px;padding:36px 0 0;text-align:center}
.swcs-category-discovery h2,.swcs-empty-category h2{font-family:"Playfair Display",Georgia,serif;font-size:clamp(30px,3.5vw,44px);font-weight:500;color:var(--swcs-ink);margin:0 0 12px}
.swcs-category-subtitle{max-width:620px;margin:0 auto 30px;color:var(--swcs-muted);line-height:1.8}
.swcs-category-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:28px 0 32px;text-align:left}
.swcs-category-tile{min-height:190px;display:flex;flex-direction:column;justify-content:flex-end;gap:12px;padding:28px;background:linear-gradient(135deg,#f1e5d4,#fffdf9);border:1px solid var(--swcs-line);color:var(--swcs-ink)!important;text-decoration:none!important;transition:transform .2s ease,box-shadow .2s ease}
.swcs-category-tile:hover{transform:translateY(-3px);box-shadow:0 12px 28px #211b1910}
.swcs-category-kicker{font-size:10px;font-weight:700;letter-spacing:.18em;color:var(--swcs-wine)}
.swcs-category-name{font-family:"Playfair Display",Georgia,serif;font-size:clamp(25px,3vw,36px);line-height:1.2}
.swcs-category-cta{font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--swcs-wine)}
.swcs-empty-category{text-align:center;padding:38px 18px;margin:24px auto;background:var(--swcs-paper);border:1px solid var(--swcs-line)}
.swcs-empty-category p{color:var(--swcs-muted)}
.swcs-empty-category a{color:var(--swcs-wine)}
@media(max-width:600px){.swcs-category-discovery{margin:12px auto 38px;padding:20px 0 0}.swcs-category-grid{grid-template-columns:1fr;gap:12px}.swcs-category-tile{min-height:150px;padding:22px}}

/* v2.4: hide WooCommerce's raw empty-result notice on category archives; the styled empty state above replaces it. */
body.tax-product_cat .woocommerce-no-products-found .woocommerce-info,
body.tax-product_cat .woocommerce-no-products-found > p.woocommerce-info,
body.tax-product_cat .woocommerce-info.woocommerce-no-products-found { display:none !important; }
body.tax-product_cat .swcs-empty-category { max-width:1200px; margin:24px auto 54px; padding:48px 28px; box-sizing:border-box; }
body.tax-product_cat .swcs-empty-category > p:not(.swcs-eyebrow) { max-width:620px; margin:0 auto 24px; line-height:1.8; }
body.tax-product_cat .swcs-child-category-grid { margin-top:26px; }


/* v2.6: parent categories show child categories before products */
.swcs-category-discovery{max-width:1200px;margin:22px auto 42px;padding:24px 0 0;text-align:center}
.swcs-category-discovery h2{font-family:"Playfair Display",Georgia,serif;font-size:clamp(30px,3.5vw,44px);font-weight:500;color:var(--swcs-ink);margin:0 0 12px}
.swcs-category-tile{position:relative;overflow:hidden}
.swcs-category-tile.has-category-image{background:#f1e5d4}
.swcs-category-image{position:absolute;inset:0;background-size:cover;background-position:center;opacity:.32;transition:transform .3s ease,opacity .3s ease}
.swcs-category-tile.has-category-image:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#fffaf2e8,#fffaf2a6)}
.swcs-category-tile>*:not(.swcs-category-image){position:relative;z-index:1}
.swcs-category-tile.has-category-image:hover .swcs-category-image{transform:scale(1.04);opacity:.42}
.swcs-home-products{width:100%;margin:24px 0}
.swcs-home-products ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px 18px;margin:0!important;padding:0!important;list-style:none}
.swcs-home-products ul.products:before,.swcs-home-products ul.products:after{display:none!important}
.swcs-home-products ul.products li.product{float:none!important;width:auto!important;margin:0!important;padding:12px 12px 16px!important;background:var(--swcs-paper);border:1px solid var(--swcs-line);box-sizing:border-box}
.swcs-home-products ul.products li.product a img{width:100%!important;aspect-ratio:3/4;object-fit:cover;margin:0 0 15px!important;background:#f1e5d4}
.swcs-home-products ul.products li.product .woocommerce-loop-product__title{font-family:"Playfair Display",Georgia,serif;font-size:19px!important;line-height:1.3;color:var(--swcs-ink);padding:0 2px 7px!important}
.swcs-home-products ul.products li.product .price{display:block;color:var(--swcs-wine)!important;font-weight:700;font-size:15px;margin:0 2px 12px}
.swcs-home-products ul.products li.product .button{display:inline-block;background:var(--swcs-ink)!important;color:var(--swcs-cream)!important;border:1px solid var(--swcs-ink)!important;border-radius:0!important;padding:13px 17px!important;font-size:11px!important;font-weight:700!important;letter-spacing:.08em;text-transform:uppercase;text-decoration:none}
.swcs-home-products ul.products li.product .button:hover{background:var(--swcs-wine)!important;border-color:var(--swcs-wine)!important;color:#fff!important}
.swcs-shop-intro{box-sizing:border-box}
@media(max-width:900px){.swcs-home-products ul.products{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.swcs-home-products ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 10px}.swcs-home-products ul.products li.product{padding:8px 8px 12px!important}.swcs-home-products ul.products li.product .woocommerce-loop-product__title{font-size:16px!important}.swcs-category-discovery{margin:12px auto 30px;padding:18px 0 0}}

/* v2.7: category-first shop directory; products appear only inside chosen categories */
body.woocommerce-shop ul.products,
body.woocommerce-shop .woocommerce-result-count,
body.woocommerce-shop .woocommerce-ordering,
body.woocommerce-shop .woocommerce-pagination,
body.woocommerce-shop .woocommerce-no-products-found { display:none !important; }
body.woocommerce-shop .swcs-category-discovery { max-width:1200px; margin:28px auto 64px; padding:18px 0 0; }
body.woocommerce-shop .swcs-category-grid,
body.tax-product_cat .swcs-child-category-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; }
body.woocommerce-shop .swcs-category-tile,
body.tax-product_cat .swcs-child-category-grid .swcs-category-tile { min-height:230px; padding:30px; }
body.tax-product_cat .woocommerce-result-count { display:inline-block; padding:12px 0; margin:0; }
body.tax-product_cat .woocommerce-ordering { display:block; margin:0 0 18px; }
body.tax-product_cat .woocommerce-ordering select { min-width:210px; min-height:48px; padding:12px 42px 12px 16px; border-radius:2px; box-shadow:0 4px 16px rgba(33,27,25,.04); cursor:pointer; }
body.tax-product_cat .woocommerce-ordering select:focus { outline:2px solid var(--swcs-gold); outline-offset:2px; }
body.tax-product_cat .woocommerce-result-count { font-size:13px; letter-spacing:.02em; }
body.tax-product_cat .woocommerce-before-shop-loop,
body.tax-product_cat .woocommerce-notices-wrapper { margin-bottom:12px; }
@media(max-width:900px){
 body.woocommerce-shop .swcs-category-grid,
 body.tax-product_cat .swcs-child-category-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
 body.woocommerce-shop .swcs-category-tile,
 body.tax-product_cat .swcs-child-category-grid .swcs-category-tile { min-height:190px; padding:24px; }
}
@media(max-width:600px){
 body.woocommerce-shop .swcs-category-grid,
 body.tax-product_cat .swcs-child-category-grid { grid-template-columns:1fr; gap:12px; }
 body.woocommerce-shop .swcs-category-tile,
 body.tax-product_cat .swcs-child-category-grid .swcs-category-tile { min-height:155px; padding:22px; }
 body.tax-product_cat .woocommerce-ordering { float:none; width:100%; }
 body.tax-product_cat .woocommerce-ordering select { width:100%; }
 body.tax-product_cat .woocommerce-result-count { margin-bottom:8px; }
}


/* v2.8: refined single-product page layout and accessible star ratings */
body.single-product div.product {
  display:grid;
  grid-template-columns:minmax(0, 1.02fr) minmax(0, .98fr);
  align-items:start;
  column-gap:clamp(28px,4vw,58px);
  row-gap:32px;
  max-width:1240px;
  margin:0 auto 48px;
}
body.single-product div.product:before,
body.single-product div.product:after { display:none!important; content:none!important; }
body.single-product div.product .woocommerce-product-gallery {
  float:none!important;
  width:100%!important;
  max-width:100%;
  margin:0!important;
  padding:0;
  box-sizing:border-box;
}
body.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__wrapper {
  margin:0;
  background:#f1e5d4;
  overflow:hidden;
}
body.single-product div.product .woocommerce-product-gallery__image {
  display:flex;
  align-items:center;
  justify-content:center;
  background:#f1e5d4;
}
body.single-product div.product .woocommerce-product-gallery__image img {
  display:block;
  width:100%!important;
  max-height:680px;
  aspect-ratio:4/5;
  object-fit:contain;
  margin:0!important;
}
body.single-product div.product .flex-control-thumbs {
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:10px;
  margin:12px 0 0!important;
  padding:0;
}
body.single-product div.product .flex-control-thumbs li { width:auto!important; float:none!important; margin:0!important; }
body.single-product div.product .flex-control-thumbs img { width:100%; aspect-ratio:1/1; object-fit:cover; opacity:.72; border:1px solid var(--swcs-line); }
body.single-product div.product .flex-control-thumbs img.flex-active,
body.single-product div.product .flex-control-thumbs img:hover { opacity:1; border-color:var(--swcs-wine); }
body.single-product div.product .summary {
  float:none!important;
  width:100%!important;
  margin:0!important;
  padding:12px 0 0;
  box-sizing:border-box;
}
body.single-product div.product .product_title {
  font-family:"Playfair Display",Georgia,serif;
  font-size:clamp(32px,3.2vw,48px)!important;
  line-height:1.12;
  letter-spacing:-.025em;
  margin:0 0 18px!important;
}
body.single-product div.product .summary .price { display:block; margin:0 0 20px!important; font-size:clamp(21px,2vw,27px)!important; }
body.single-product div.product .woocommerce-product-details__short-description { color:#5f554e; line-height:1.8; margin:0 0 24px; font-size:15px; }
body.single-product div.product form.cart { display:flex; flex-wrap:wrap; align-items:center; gap:12px; margin:24px 0!important; }
body.single-product div.product form.cart .quantity { margin:0!important; }
body.single-product div.product form.cart .quantity .qty { width:76px; min-height:50px; border:1px solid var(--swcs-line); background:var(--swcs-paper); color:var(--swcs-ink); padding:10px; border-radius:0; }
body.single-product div.product .single_add_to_cart_button { min-height:50px; padding:15px 28px!important; }
body.single-product div.product .product_meta { border-top:1px solid var(--swcs-line); padding-top:18px; margin-top:22px; color:var(--swcs-muted); font-size:13px; line-height:2; }
body.single-product div.product .product_meta a { color:var(--swcs-wine); text-decoration:none; }
body.single-product div.product .woocommerce-tabs { grid-column:1/-1; width:100%; margin:12px 0 0; padding:0; }
body.single-product div.product .woocommerce-tabs ul.tabs {
  display:flex; flex-wrap:wrap; gap:8px;
  border-bottom:1px solid var(--swcs-line);
  padding:0!important; margin:0 0 24px!important;
}
body.single-product div.product .woocommerce-tabs ul.tabs:before,
body.single-product div.product .woocommerce-tabs ul.tabs li:before,
body.single-product div.product .woocommerce-tabs ul.tabs li:after { display:none!important; content:none!important; }
body.single-product div.product .woocommerce-tabs ul.tabs li {
  border:1px solid var(--swcs-line)!important;
  border-radius:0!important;
  background:#f2e9df!important;
  margin:0!important;
  padding:0!important;
}
body.single-product div.product .woocommerce-tabs ul.tabs li.active { background:var(--swcs-paper)!important; border-bottom-color:var(--swcs-paper)!important; }
body.single-product div.product .woocommerce-tabs ul.tabs li a { display:block; padding:14px 20px!important; color:var(--swcs-ink)!important; font-weight:600; }
body.single-product div.product .woocommerce-tabs .panel { background:var(--swcs-paper); border:1px solid var(--swcs-line); padding:clamp(20px,3vw,36px); margin:0!important; line-height:1.85; box-sizing:border-box; }
body.single-product div.product .woocommerce-tabs .panel h2 { font-family:"Playfair Display",Georgia,serif; font-size:27px; font-weight:500; margin:0 0 16px; }
body.single-product .star-rating { width:5.4em!important; height:1.2em; font-family:Arial,sans-serif!important; letter-spacing:1px; color:#b18a48!important; }
body.single-product .star-rating:before { content:"★★★★★"!important; font-family:Arial,sans-serif!important; color:#d9cbb9!important; letter-spacing:1px; }
body.single-product .star-rating span { overflow:hidden; }
body.single-product .star-rating span:before { content:"★★★★★"!important; font-family:Arial,sans-serif!important; color:#b18a48!important; letter-spacing:1px; }
body.single-product #review_form_wrapper .comment-reply-title { display:block; font-family:"Playfair Display",Georgia,serif; font-size:24px; margin-bottom:12px; }
body.single-product #review_form_wrapper .comment-form-rating .stars a { color:#b18a48!important; font-size:22px; }
body.single-product #review_form_wrapper input[type="text"],
body.single-product #review_form_wrapper input[type="email"],
body.single-product #review_form_wrapper textarea { width:100%; max-width:100%; border:1px solid var(--swcs-line); background:#fff; padding:12px 14px; box-sizing:border-box; }
body.single-product #review_form_wrapper .form-submit .submit { background:var(--swcs-ink)!important; color:var(--swcs-cream)!important; border:0!important; padding:14px 22px!important; text-transform:uppercase; letter-spacing:.08em; }
@media(max-width:800px) {
  body.single-product div.product { grid-template-columns:minmax(0,1fr); row-gap:24px; }
  body.single-product div.product .woocommerce-product-gallery__image img { max-height:620px; }
  body.single-product div.product .summary { padding-top:0; }
  body.single-product div.product .woocommerce-tabs { grid-column:auto; }
}
@media(max-width:480px) {
  body.single-product div.product .product_title { font-size:31px!important; }
  body.single-product div.product form.cart { align-items:stretch; }
  body.single-product div.product form.cart .single_add_to_cart_button { flex:1; }
  body.single-product div.product .woocommerce-tabs ul.tabs li a { padding:12px 14px!important; }
  body.single-product div.product .woocommerce-tabs .panel { padding:18px 14px; }
}


/* v2.9: refined single product layout — smaller gallery, cleaner details and review controls */
body.single-product #primary,
body.single-product .site-content #primary {
  max-width: 1320px !important;
  padding-top: 28px !important;
}
body.single-product div.product {
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr) !important;
  column-gap: clamp(28px, 4vw, 56px) !important;
  row-gap: 28px !important;
  max-width: 1210px !important;
  margin: 0 auto 42px !important;
}
body.single-product div.product .woocommerce-product-gallery {
  width: 100% !important;
  max-width: 560px !important;
  justify-self: center;
}
body.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__wrapper,
body.single-product div.product .woocommerce-product-gallery__image {
  background: #f4eadc !important;
}
body.single-product div.product .woocommerce-product-gallery__image img {
  width: 100% !important;
  height: auto !important;
  max-height: 560px !important;
  aspect-ratio: 4 / 5 !important;
  object-fit: contain !important;
}
body.single-product div.product .summary {
  padding: 8px 0 0 !important;
  max-width: 570px;
}
body.single-product div.product .product_title {
  font-size: clamp(30px, 2.8vw, 42px) !important;
  line-height: 1.13 !important;
  margin-bottom: 16px !important;
}
body.single-product div.product .summary .price {
  font-size: clamp(21px, 1.8vw, 26px) !important;
  margin-bottom: 18px !important;
}
body.single-product div.product .woocommerce-product-details__short-description {
  font-size: 15px !important;
  line-height: 1.8 !important;
  margin-bottom: 18px !important;
}
body.single-product div.product form.cart {
  margin: 20px 0 24px !important;
}
body.single-product div.product .product_meta {
  padding-top: 16px;
  border-top: 1px solid var(--swcs-line);
  color: var(--swcs-muted);
  font-size: 13px;
  line-height: 1.8;
}
body.single-product div.product .woocommerce-tabs {
  margin-top: 12px !important;
}
body.single-product div.product .woocommerce-tabs .panel {
  border-radius: 2px !important;
  color: #514740;
  font-size: 15px;
}
body.single-product #reviews #comments ol.commentlist li .comment-text {
  border: 1px solid var(--swcs-line) !important;
  border-radius: 2px !important;
  background: var(--swcs-paper);
}
body.single-product #review_form_wrapper {
  margin-top: 22px;
  padding: clamp(18px, 3vw, 30px);
  background: var(--swcs-paper);
  border: 1px solid var(--swcs-line);
}
body.single-product #review_form_wrapper .comment-reply-title {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 25px;
  color: var(--swcs-ink);
  margin-bottom: 12px;
}
body.single-product #review_form_wrapper input[type="text"],
body.single-product #review_form_wrapper input[type="email"],
body.single-product #review_form_wrapper textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--swcs-line) !important;
  background: #fffdf9 !important;
  padding: 12px 14px !important;
  color: var(--swcs-ink);
}
body.single-product #review_form_wrapper .form-submit input[type="submit"] {
  background: var(--swcs-ink) !important;
  color: var(--swcs-cream) !important;
  border: 1px solid var(--swcs-ink) !important;
  border-radius: 0 !important;
  padding: 13px 22px !important;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 11px;
  font-weight: 700;
}
body.single-product #review_form_wrapper .form-submit input[type="submit"]:hover {
  background: var(--swcs-wine) !important;
  border-color: var(--swcs-wine) !important;
}
@media (min-width: 901px) {
  body.single-product div.product .woocommerce-tabs { grid-column: 1 / -1 !important; }
}
@media (max-width: 900px) {
  body.single-product div.product {
    grid-template-columns: minmax(0, 1fr) !important;
    max-width: 680px !important;
    row-gap: 22px !important;
  }
  body.single-product div.product .woocommerce-product-gallery { max-width: 520px !important; }
  body.single-product div.product .woocommerce-product-gallery__image img { max-height: 620px !important; }
  body.single-product div.product .summary { max-width: none; padding-top: 0 !important; }
}
@media (max-width: 600px) {
  body.single-product #primary,
  body.single-product .site-content #primary { padding: 18px 14px 38px !important; }
  body.single-product div.product .woocommerce-product-gallery__image img {
    max-height: 500px !important;
    aspect-ratio: 4 / 5 !important;
  }
  body.single-product div.product .product_title { font-size: 30px !important; }
  body.single-product div.product .woocommerce-tabs .panel { padding: 18px 14px !important; }
}


/* v3.0: compact single-product layout; keep the gallery and information balanced */
body.single-product #primary,
body.single-product .site-content #primary {
  max-width: 1280px !important;
}
body.single-product div.product {
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr) !important;
  column-gap: clamp(24px, 3.2vw, 44px) !important;
  row-gap: 22px !important;
  margin-bottom: 28px !important;
}
body.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__wrapper {
}
body.single-product div.product .woocommerce-product-gallery__image img {
  width: 100% !important;
  max-height: 560px !important;
  aspect-ratio: 4 / 5 !important;
  object-fit: contain !important;
}
body.single-product div.product .summary {
  padding-top: 4px !important;
}
body.single-product div.product .product_title {
  font-size: clamp(30px, 2.8vw, 42px) !important;
  margin-bottom: 14px !important;
}
body.single-product div.product .summary .price {
  margin-bottom: 14px !important;
}
body.single-product div.product .woocommerce-tabs {
  margin-top: 4px !important;
}
body.single-product div.product .woocommerce-tabs ul.tabs {
  margin-bottom: 16px !important;
}
body.single-product div.product .woocommerce-tabs .panel {
  padding: 20px 22px !important;
  margin-bottom: 0 !important;
  line-height: 1.75;
}
body.single-product div.product .woocommerce-tabs .panel h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500;
  font-size: 25px;
  margin: 0 0 12px;
}
body.single-product #reviews .star-rating,
body.single-product #review_form .stars a,
body.single-product p.stars a {
  font-family: star !important;
}
body.single-product #review_form_wrapper {
  margin-top: 18px !important;
}
@media (max-width: 1100px) {
  body.single-product div.product .woocommerce-product-gallery__image img {
    max-height: 520px !important;
  }
}
@media (max-width: 900px) {
  body.single-product div.product {
    grid-template-columns: minmax(0, 1fr) !important;
    max-width: 720px !important;
    row-gap: 20px !important;
  }
  body.single-product div.product .woocommerce-product-gallery {
    max-width: 560px !important;
    margin-inline: auto !important;
  }
  body.single-product div.product .woocommerce-product-gallery__image img {
    max-height: 520px !important;
  }
}
@media (max-width: 600px) {
  body.single-product div.product .woocommerce-product-gallery__image img {
    max-height: 430px !important;
    aspect-ratio: 4 / 5 !important;
  }
  body.single-product div.product .woocommerce-tabs .panel {
    padding: 16px 12px !important;
  }
  body.single-product div.product .woocommerce-tabs ul.tabs {
    gap: 5px;
  }
}


/* v3.1: Flipkart-inspired product gallery layout and polished product details. */
@media (min-width: 901px) {
  body.single-product div.product .woocommerce-product-gallery {
    display: grid !important;
    grid-template-columns: 72px minmax(0, 1fr) !important;
    grid-template-rows: minmax(0, auto) !important;
    align-items: start !important;
    gap: 12px !important;
    max-width: 100% !important;
  }
  body.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__wrapper {
    grid-column: 2 !important;
    grid-row: 1 !important;
    min-width: 0 !important;
}
  body.single-product div.product .woocommerce-product-gallery .flex-control-thumbs {
    grid-column: 1 !important;
    grid-row: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 9px !important;
    width: 72px !important;
    max-height: 560px !important;
    overflow-y: auto !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  body.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li {
    display: block !important;
    flex: 0 0 auto !important;
    width: 72px !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  body.single-product div.product .woocommerce-product-gallery .flex-control-thumbs img {
    display: block !important;
    width: 72px !important;
    height: 88px !important;
    aspect-ratio: auto !important;
    object-fit: cover !important;
    border: 1px solid var(--swcs-line) !important;
    background: #f4eadc !important;
    opacity: .78 !important;
    cursor: pointer;
  }
  body.single-product div.product .woocommerce-product-gallery .flex-control-thumbs img.flex-active,
  body.single-product div.product .woocommerce-product-gallery .flex-control-thumbs img:hover {
    opacity: 1 !important;
    border-color: var(--swcs-wine) !important;
  }
  body.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__image img {
    width: 100% !important;
    height: auto !important;
    max-height: 590px !important;
    aspect-ratio: 4 / 5 !important;
    object-fit: contain !important;
  }
}
body.single-product div.product .summary {
  min-width: 0 !important;
}
body.single-product div.product .summary .stock {
  color: #47734a;
  font-size: 13px;
  font-weight: 600;
}
body.single-product div.product .summary .price del {
  color: #9a7777 !important;
  opacity: .8;
  font-size: .82em;
  margin-right: 8px;
}
body.single-product div.product .summary .price ins {
  text-decoration: none !important;
}
body.single-product div.product form.cart .single_add_to_cart_button {
  min-height: 50px !important;
  padding: 15px 26px !important;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
body.single-product div.product form.cart .single_add_to_cart_button:hover {
  transform: translateY(-1px);
}
body.single-product div.product .woocommerce-tabs {
  grid-column: 1 / -1 !important;
  min-width: 0 !important;
}
body.single-product div.product .woocommerce-tabs ul.tabs li a {
  text-decoration: none !important;
}
body.single-product div.product .woocommerce-tabs .panel {
  overflow-wrap: anywhere;
}
@media (max-width: 900px) {
  body.single-product div.product .woocommerce-product-gallery {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 560px !important;
  }
  body.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__wrapper {
    order: 1 !important;
}
  body.single-product div.product .woocommerce-product-gallery .flex-control-thumbs {
    order: 2 !important;
    display: flex !important;
    flex-direction: row !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    max-height: none !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    margin: 0 !important;
    padding: 0 0 4px !important;
  }
  body.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li {
    flex: 0 0 68px !important;
    width: 68px !important;
  }
  body.single-product div.product .woocommerce-product-gallery .flex-control-thumbs img {
    display: block !important;
    width: 68px !important;
    height: 82px !important;
    aspect-ratio: auto !important;
    object-fit: cover !important;
  }
  body.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__image img {
    max-height: min(68vh, 560px) !important;
    aspect-ratio: 4 / 5 !important;
    object-fit: contain !important;
  }
}
@media (max-width: 480px) {
  body.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li {
    flex-basis: 58px !important;
    width: 58px !important;
  }
  body.single-product div.product .woocommerce-product-gallery .flex-control-thumbs img {
    width: 58px !important;
    height: 72px !important;
  }
  body.single-product div.product .product_title {
    font-size: 29px !important;
  }
}


/* v3.3 product gallery stability and sizing */
body.single-product div.product {
  display: grid !important;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr) !important;
  column-gap: clamp(24px, 3vw, 52px) !important;
  row-gap: 32px !important;
  align-items: start !important;
}
body.single-product div.product .woocommerce-product-gallery {
  width: 100% !important;
  max-width: 610px !important;
  min-width: 0 !important;
  display: grid !important;
  grid-template-columns: 70px minmax(0, 1fr) !important;
  gap: 12px !important;
  align-items: start !important;
  float: none !important;
  margin: 0 !important;
}
body.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__wrapper {
  grid-column: 2 !important;
  grid-row: 1 !important;
min-width: 0 !important;
  margin: 0 !important;
}
body.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__image,
body.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__image a {max-width: 100% !important;
}
body.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__image img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-height: 620px !important;
  aspect-ratio: 4 / 5 !important;
  object-fit: contain !important;
  margin: 0 auto !important;
  opacity: 1 !important;
}
body.single-product div.product .woocommerce-product-gallery .flex-control-thumbs {
  grid-column: 1 !important;
  grid-row: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  width: 70px !important;
  max-height: 620px !important;
  gap: 8px !important;
  overflow-y: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}
body.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li {
  float: none !important;
  display: block !important;
  flex: 0 0 auto !important;
  width: 70px !important;
  margin: 0 !important;
}
body.single-product div.product .woocommerce-product-gallery .flex-control-thumbs img {
  display: block !important;
  width: 70px !important;
  height: 88px !important;
  object-fit: cover !important;
  border: 1px solid var(--swcs-line) !important;
  cursor: pointer !important;
  opacity: .82 !important;
}
body.single-product div.product .woocommerce-product-gallery .flex-control-thumbs img.flex-active {
  border: 2px solid var(--swcs-wine) !important;
  opacity: 1 !important;
}
body.single-product div.product .summary {
  width: 100% !important;
  max-width: none !important;
  float: none !important;
  margin: 0 !important;
}
body.single-product div.product .product_title {
  font-size: clamp(30px, 3vw, 48px) !important;
  line-height: 1.12 !important;
  margin: 0 0 18px !important;
}
body.single-product div.product .summary .price {
  font-size: clamp(22px, 2vw, 30px) !important;
  margin: 0 0 20px !important;
}
body.single-product div.product .woocommerce-tabs {
  grid-column: 1 / -1 !important;
  width: 100% !important;
  margin-top: 8px !important;
}
@media (max-width: 900px) {
  body.single-product div.product {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 24px !important;
  }
  body.single-product div.product .woocommerce-product-gallery {
    grid-template-columns: minmax(0, 1fr) !important;
    max-width: 560px !important;
    margin: 0 auto !important;
  }
  body.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__wrapper {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }
  body.single-product div.product .woocommerce-product-gallery .flex-control-thumbs {
    grid-column: 1 !important;
    grid-row: 2 !important;
    flex-direction: row !important;
    width: 100% !important;
    max-height: none !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
  }
  body.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li {
    flex: 0 0 64px !important;
    width: 64px !important;
  }
  body.single-product div.product .woocommerce-product-gallery .flex-control-thumbs img {
    width: 64px !important;
    height: 78px !important;
  }
}


/* Stable custom main image used by the v3.3 gallery script */
body.single-product .swcs-product-main-image {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  min-height: 320px;
  background: #f4eadc;
  border: 1px solid var(--swcs-line);
  display: flex;
  align-items: center;
  justify-content: center;
}
body.single-product .swcs-product-main-image-link {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-decoration: none !important;
}
body.single-product .swcs-product-main-image-photo {
  display: block !important;
  width: 100% !important;
  max-width: 520px !important;
  height: min(620px, 72vh) !important;
  min-height: 320px !important;
  object-fit: contain !important;
  opacity: 1 !important;
}
@media (max-width: 900px) {
  body.single-product .swcs-product-main-image { max-width: 560px; min-height: 260px; }
  body.single-product .swcs-product-main-image-photo {
    max-width: 560px !important;
    height: min(68vh, 560px) !important;
    min-height: 260px !important;
  }
}

/* v4.2 final: preserve image proportions and use polished size buttons */
body.single-product .swcs-product-main-image{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;max-width:none!important;height:clamp(420px,42vw,620px)!important;min-height:0!important;padding:12px!important;box-sizing:border-box!important;background:#f1e5d4!important;overflow:hidden!important}
body.single-product .swcs-product-main-image-link{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;height:100%!important;min-height:0!important}
body.single-product .swcs-product-main-image-photo{display:block!important;width:auto!important;height:auto!important;max-width:100%!important;max-height:100%!important;min-height:0!important;object-fit:contain!important;object-position:center!important}
body.single-product form.variations_form table.variations select.swcs-native-size-select{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
body.single-product .swcs-size-swatches{display:flex;flex-wrap:wrap;gap:9px;margin:8px 0 4px}
body.single-product .swcs-size-swatch{min-width:48px;height:44px;padding:0 14px;border:1px solid #d9c6b5!important;border-radius:5px!important;background:#fffdf9!important;color:#211b19!important;font:600 14px/1 "DM Sans",Arial,sans-serif!important;cursor:pointer}
body.single-product .swcs-size-swatch:hover,body.single-product .swcs-size-swatch.is-selected{background:#861d3b!important;color:#fff!important;border-color:#861d3b!important}
@media(max-width:767px){body.single-product .swcs-product-main-image{height:min(112vw,500px)!important;padding:6px!important}}


/* v4.4 targeted fixes: keep WooCommerce native gallery so thumbnail clicks swap the main image. */
body.single-product #primary,
body.single-product .site-content #primary {
  width:100% !important;
  max-width:1240px !important;
  margin-left:auto !important;
  margin-right:auto !important;
  box-sizing:border-box !important;
  overflow-x:clip !important;
}
body.single-product div.product {
  width:100% !important;
  max-width:1160px !important;
  min-width:0 !important;
  margin-left:auto !important;
  margin-right:auto !important;
  grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr) !important;
  column-gap:clamp(22px,3vw,42px) !important;
  box-sizing:border-box !important;
}
body.single-product div.product .woocommerce-product-gallery {
  display:grid !important;
  grid-template-columns:72px minmax(0,1fr) !important;
  grid-template-rows:auto !important;
  gap:12px !important;
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  float:none !important;
  margin:0 !important;
  opacity:1 !important;
  visibility:visible !important;
}
body.single-product div.product .woocommerce-product-gallery .flex-viewport {
  grid-column:2 !important;
  grid-row:1 !important;
  width:100% !important;
  height:clamp(420px,42vw,590px) !important;
  min-height:420px !important;
  overflow:hidden !important;
  background:#f4eadc !important;
  border:1px solid var(--swcs-line) !important;
  box-sizing:border-box !important;
}
body.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__wrapper {
margin:0 !important;
  padding:0 !important;
  background:#f4eadc !important;
}
body.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__image {height:100% !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  background:#f4eadc !important;
}
body.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__image a {
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:100% !important;
  height:100% !important;
}
body.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__image img {
  display:block !important;
  width:auto !important;
  height:auto !important;
  max-width:100% !important;
  max-height:100% !important;
  aspect-ratio:auto !important;
  object-fit:contain !important;
  object-position:center !important;
  margin:0 auto !important;
  opacity:1 !important;
  visibility:visible !important;
}
body.single-product div.product .woocommerce-product-gallery .flex-control-thumbs {
  grid-column:1 !important;
  grid-row:1 !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:stretch !important;
  gap:9px !important;
  width:72px !important;
  max-height:590px !important;
  overflow-y:auto !important;
  overflow-x:hidden !important;
  margin:0 !important;
  padding:0 !important;
}
body.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li {
  display:block !important;
  float:none !important;
  flex:0 0 auto !important;
  width:72px !important;
  margin:0 !important;
  padding:0 !important;
}
body.single-product div.product .woocommerce-product-gallery .flex-control-thumbs img {
  display:block !important;
  width:72px !important;
  height:90px !important;
  aspect-ratio:auto !important;
  object-fit:cover !important;
  border:1px solid var(--swcs-line) !important;
  background:#f4eadc !important;
  cursor:pointer !important;
  opacity:.82 !important;
}
body.single-product div.product .woocommerce-product-gallery .flex-control-thumbs img.flex-active {
  border:2px solid var(--swcs-wine) !important;
  opacity:1 !important;
}
/* Keep account action as a user/profile link and icon, not an admin link. */
.swu-header-actions a[aria-label="My account"] { display:inline-flex !important; align-items:center; justify-content:center; }
.swu-header-actions .swu-account-icon { width:23px !important; height:23px !important; }
/* Prevent any product page child from forcing horizontal overflow. */
body.single-product .site-content,
body.single-product .site-content #primary,
body.single-product .site-content #main { min-width:0 !important; }
@media(max-width:900px) {
 body.single-product div.product { grid-template-columns:minmax(0,1fr) !important; max-width:720px !important; }
 body.single-product div.product .woocommerce-product-gallery { grid-template-columns:minmax(0,1fr) !important; max-width:560px !important; margin:0 auto !important; }
 body.single-product div.product .woocommerce-product-gallery .flex-viewport { grid-column:1 !important; grid-row:1 !important; height:min(68vh,540px) !important; min-height:320px !important; }
 body.single-product div.product .woocommerce-product-gallery .flex-control-thumbs { grid-column:1 !important; grid-row:2 !important; flex-direction:row !important; width:100% !important; max-height:none !important; overflow-x:auto !important; overflow-y:hidden !important; }
 body.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li { width:64px !important; flex:0 0 64px !important; }
 body.single-product div.product .woocommerce-product-gallery .flex-control-thumbs img { width:64px !important; height:80px !important; }
}
@media(max-width:600px) {
 body.single-product #primary, body.single-product .site-content #primary { padding-left:14px !important; padding-right:14px !important; }
 body.single-product div.product .woocommerce-product-gallery .flex-viewport { height:min(112vw,480px) !important; min-height:300px !important; }
}


