/* ------------------------------------------------------------------
   Gothholics: WooCommerce styling layer.
   Enqueued only when WooCommerce is active. Cart and checkout keep
   the default WooCommerce templates; this file restyles them dark.
------------------------------------------------------------------ */

/* Buttons everywhere */
.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit,
.woocommerce a.button.alt,.woocommerce button.button.alt,.woocommerce input.button.alt,.woocommerce #respond input#submit.alt{
  background:var(--wine);color:#fff;border:none;border-radius:3px;font-family:'Jost',sans-serif;
  font-size:15.5px;font-weight:500;padding:12px 22px;letter-spacing:.03em;text-align:center}
.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover,
.woocommerce a.button.alt:hover,.woocommerce button.button.alt:hover,.woocommerce input.button.alt:hover{
  background:#7a1e35;color:#fff}
.woocommerce a.button.disabled,.woocommerce button.button:disabled,.woocommerce button.button:disabled[disabled]{background:#3a2a2e;color:#b7b0ac;opacity:1}

/* Sale flash and rating */
.woocommerce span.onsale{background:var(--red);color:#fff;font-weight:500;border-radius:2px;min-height:0;min-width:0;line-height:1.4;padding:4px 10px;font-size:12.5px;top:9px;left:9px}
.woocommerce .star-rating,.woocommerce .star-rating span{color:var(--gold)}
.woocommerce .star-rating::before{color:#5d5457}

/* Notices */
.woocommerce-message,.woocommerce-info,.woocommerce-error{
  background:var(--panel);color:var(--txt);border:1px solid var(--line);border-top:3px solid var(--wine);list-style:none}
.woocommerce-message::before,.woocommerce-info::before{color:#7dc383}
.woocommerce-error{border-top-color:#c2183f}
.woocommerce-error::before{color:#e5484d}
.woocommerce-message a,.woocommerce-info a,.woocommerce-error a{color:#e5484d}

/* Breadcrumb under .crumbs */
.crumbs .woocommerce-breadcrumb{color:#d8d2cf;font-size:14.5px;margin:0}
.crumbs .woocommerce-breadcrumb a{color:#e5484d}
.crumbs nav.woocommerce-breadcrumb,.crumbs .woocommerce-breadcrumb span{margin:0 7px;opacity:.85}

/* Ordering bar */
.shophead .woocommerce-ordering{margin:0}
.shophead .woocommerce-ordering select{background:#141111;color:#eee;border:1px solid #3a3436;padding:8px 10px;border-radius:3px;font-family:'Jost',sans-serif;font-size:14.5px}

/* Product grid: WooCommerce loop restyled as design cards */
.woocommerce ul.products{display:grid;grid-template-columns:repeat(4,1fr);gap:13px;margin:0;padding:0}
.woocommerce ul.products::before,.woocommerce ul.products::after{display:none}
.woocommerce ul.products li.product,.woocommerce-page ul.products li.product{
  float:none;width:auto;margin:0;background:var(--panel);border:1px solid var(--line);
  border-radius:3px;overflow:hidden;padding:0 0 13px;position:relative}
.woocommerce ul.products li.product a img{width:100%;height:auto;aspect-ratio:201/134;object-fit:cover;margin:0}
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .woocommerce-loop-category__title{
  font-size:15.5px;font-weight:400;padding:11px 13px 5px;line-height:1.35;color:var(--txt);font-family:'Jost',sans-serif}
.woocommerce ul.products li.product .price{color:var(--txt);font-size:16.5px;font-weight:600;padding:0 13px;display:block}
.woocommerce ul.products li.product .price del{color:var(--muted);font-weight:300}
.woocommerce ul.products li.product .price ins{text-decoration:none}
.woocommerce ul.products li.product .star-rating{margin:3px 13px 0;font-size:13.5px}
.woocommerce ul.products li.product .button{margin:11px 13px 0;display:block}
.woocommerce ul.products li.product .added_to_cart{display:block;margin:6px 13px 0;color:#7dc383;font-size:14px}

/* Pagination, matching the design pager */
.woocommerce nav.woocommerce-pagination{display:flex;justify-content:center;padding:24px 0 8px}
.woocommerce nav.woocommerce-pagination ul{border:none;display:flex;gap:16px;align-items:center}
.woocommerce nav.woocommerce-pagination ul li{border:none;float:none}
.woocommerce nav.woocommerce-pagination ul li a,.woocommerce nav.woocommerce-pagination ul li span{
  color:#e5484d;font-size:16px;padding:0;background:none;min-width:0;line-height:1.6}
.woocommerce nav.woocommerce-pagination ul li span.current{
  background:var(--wine);color:#fff;width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;border-radius:3px}
.woocommerce nav.woocommerce-pagination ul li a:hover,.woocommerce nav.woocommerce-pagination ul li a:focus{background:none;color:#fff}

/* Sidebar widgets (layered nav, price filter) inside .filters */
.filters .widget{border-top:1px solid #241e20;padding:13px 0 6px}
.filters .widget h4{font-size:16px;font-weight:500;margin-bottom:10px}
.filters .woocommerce-widget-layered-nav-list{list-style:none;margin:0}
.filters .woocommerce-widget-layered-nav-list li{display:flex;gap:9px;align-items:center;font-size:14.5px;color:#ddd6d3;margin:7px 0}
.filters .woocommerce-widget-layered-nav-list li a{color:#ddd6d3}
.filters .woocommerce-widget-layered-nav-list li .count{color:var(--muted)}
.filters .widget_price_filter .price_slider_amount .button{background:var(--wine);color:#fff;font-size:14px;padding:8px 14px}
.filters .widget_price_filter .ui-slider{background:#3a3436}
.filters .widget_price_filter .ui-slider .ui-slider-range,.filters .widget_price_filter .ui-slider .ui-slider-handle{background:#c2183f}
.filters .widget_price_filter .price_label{color:#ddd6d3;font-size:14px}
.filters .widget_product_categories ul,.filters .widget_recently_viewed_products ul{list-style:none;margin:0}
.filters .widget_product_categories li{margin:7px 0;font-size:14.5px}
.filters select{background:#141111;color:#eee;border:1px solid #3a3436;padding:8px 10px;border-radius:3px;font-family:'Jost',sans-serif;width:100%}

/* Single product layout: gallery, summary, trust rail */
.gh-single{display:grid;grid-template-columns:1.15fr 1.25fr .78fr;gap:18px;padding:6px 20px 6px;align-items:start}
.gh-gallery{position:relative;border:1px solid var(--line);border-radius:4px;overflow:hidden;background:var(--panel)}
.gh-gallery .woocommerce-product-gallery{margin:0}
.gh-gallery .woocommerce-product-gallery__wrapper{margin:0}
.gh-gallery .woocommerce-product-gallery__image img{width:100%;height:auto}
.gh-gallery .flex-control-thumbs{display:flex;gap:9px;padding:10px;margin:0;background:#0a0909}
.gh-gallery .flex-control-thumbs li{width:72px;float:none;list-style:none}
.gh-gallery .flex-control-thumbs img{border:1px solid var(--line);border-radius:3px;opacity:.75;width:100%}
.gh-gallery .flex-control-thumbs img.flex-active{border-color:#c2183f;opacity:1}
.gh-summary .product_title{font-family:'Cinzel',serif;font-size:clamp(30px,2.3vw,42px);font-weight:600;line-height:1.2;margin:7px 0 5px}
.gh-summary .woocommerce-product-rating{margin:4px 0}
.gh-summary .woocommerce-review-link{color:var(--muted);font-size:14.5px}
.gh-summary .price{font-size:29px;font-weight:600;color:var(--txt);margin:11px 0}
.gh-summary .price del{color:var(--muted);text-decoration:line-through;font-size:19px;font-weight:300}
.gh-summary .price ins{text-decoration:none}
.gh-summary .woocommerce-product-details__short-description{color:#e6dfdc;font-family:Georgia,'Times New Roman',serif;font-size:16.5px;line-height:1.55;border-bottom:1px solid #2a2325;padding-bottom:15px;margin-bottom:6px}
.gh-summary .stock{font-size:14.5px;margin:14px 0}
.gh-summary .stock.in-stock{color:#7dc383}
.gh-summary .stock.out-of-stock{color:#e5484d}
.gh-summary form.cart{display:flex;gap:11px;align-items:stretch;flex-wrap:wrap;margin:14px 0}
.gh-summary form.cart .quantity{float:none;margin:0}
.gh-summary form.cart .qty{width:52px;background:#121010;border:1px solid #453d40;color:#fff;text-align:center;font-family:'Jost',sans-serif;font-size:15px;border-radius:3px;padding:11px 4px}
.gh-summary .single_add_to_cart_button{flex:1;min-width:190px;font-size:16px;letter-spacing:.06em;padding:13px}
.gh-summary form.cart.variations_form{flex-direction:column;align-items:stretch}
.gh-summary table.variations{margin:0}
.gh-summary table.variations th,.gh-summary table.variations td{padding:6px 0;text-align:left;vertical-align:middle;background:none}
.gh-summary table.variations label{font-size:15.5px;font-weight:400}
.gh-summary table.variations select{background:#121010;border:1px solid #453d40;color:#eee;padding:9px 10px;border-radius:3px;font-family:'Jost',sans-serif;min-width:200px}
.gh-summary .reset_variations{color:#e5484d;font-size:14px}
.gh-summary .product_meta{border-top:1px solid #2a2325;padding-top:13px;color:var(--muted);font-size:14.5px}
.gh-summary .product_meta span{display:block;margin:4px 0}
.gh-summary .product_meta a{color:#d8d2cf}

/* Single product tabs, matching the design tab strip */
.woocommerce div.product .woocommerce-tabs{padding:10px 20px 0}
.woocommerce div.product .woocommerce-tabs ul.tabs{border-bottom:1px solid #453d40;padding:0;margin:0;display:flex;flex-wrap:wrap;overflow:visible}
.woocommerce div.product .woocommerce-tabs ul.tabs::before,.woocommerce div.product .woocommerce-tabs ul.tabs li::before,.woocommerce div.product .woocommerce-tabs ul.tabs li::after{display:none}
.woocommerce div.product .woocommerce-tabs ul.tabs li{background:transparent;border:none;border-radius:0;margin:0;padding:0}
.woocommerce div.product .woocommerce-tabs ul.tabs li a{color:#eee;font-size:16px;font-weight:400;padding:12px 26px}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active{background:var(--wine);border-radius:3px 3px 0 0}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a{color:#fff}
.woocommerce div.product .woocommerce-tabs .panel{background:none;border:none;color:#e6dfdc;line-height:1.6;font-size:15.5px;padding:20px 4px}
.woocommerce div.product .woocommerce-tabs .panel h2{font-family:'Cinzel',serif;font-size:21px;font-weight:600;margin-bottom:12px}
.gh-after-summary .related,.gh-after-summary .upsells{padding:0 20px}
.gh-after-summary .related > h2,.gh-after-summary .upsells > h2{
  font-family:'Cinzel',serif;font-size:21px;font-weight:600;letter-spacing:.14em;text-align:center;padding:16px 0 20px;text-transform:uppercase}

/* Forms: inputs dark across cart, checkout, account */
.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,
.woocommerce form .form-row select,.woocommerce-cart table.cart td.actions .coupon .input-text,
.woocommerce .quantity .qty{
  background:#121010;border:1px solid #3a3436;color:#eee;padding:11px 13px;border-radius:3px;
  font-family:'Jost',sans-serif;font-size:15px;width:100%}
.woocommerce form .form-row label{font-size:14.5px;margin-bottom:6px;color:var(--txt)}
.woocommerce form .form-row .required{color:#e5484d}
.select2-container--default .select2-selection--single{background:#121010;border:1px solid #3a3436;border-radius:3px;height:44px}
.select2-container--default .select2-selection--single .select2-selection__rendered{color:#eee;line-height:42px}
.select2-dropdown{background:#141111;border-color:#3a3436;color:#eee}

/* Cart */
.woocommerce-cart .woocommerce{padding:10px 22px 26px}
.woocommerce table.shop_table{border:1px solid #453d40;border-radius:5px;border-collapse:separate;background:var(--panel);color:var(--txt)}
.woocommerce table.shop_table th{background:var(--wine-dark);color:#fff;font-weight:500;border:none;padding:12px}
.woocommerce table.shop_table td{border-top:1px solid #2c2628;padding:12px;background:transparent}
.woocommerce table.shop_table a{color:var(--txt)}
.woocommerce table.shop_table a.remove{color:#e5484d !important}
.woocommerce table.shop_table a.remove:hover{background:#c2183f;color:#fff !important}
.woocommerce-cart table.cart td.actions .coupon .input-text{width:180px}
.woocommerce .cart-collaterals .cart_totals h2{font-family:'Cinzel',serif;font-size:22px;font-weight:600;margin-bottom:12px}
.woocommerce .cart-collaterals .cart_totals table{width:100%}
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button{display:block;font-size:17.5px;padding:15px}
.woocommerce a.return-to-shop .button{background:var(--wine);color:#fff}

/* Checkout */
.woocommerce-checkout .woocommerce{padding:10px 22px 26px}
.woocommerce-checkout h3{font-size:21px;font-weight:500;margin:16px 0 13px;font-family:'Jost',sans-serif}
.woocommerce-checkout #order_review{background:var(--panel);border:1px solid #453d40;border-radius:6px;padding:20px}
.woocommerce-checkout #payment{background:transparent;border-radius:0}
.woocommerce-checkout #payment ul.payment_methods{border-bottom:1px solid #2c2628;padding:6px 0}
.woocommerce-checkout #payment ul.payment_methods li{padding:6px 0}
.woocommerce-checkout #payment div.payment_box{background:#141111;color:#d8d2cf}
.woocommerce-checkout #payment div.payment_box::before{border-bottom-color:#141111}
.woocommerce-checkout #place_order{float:none;width:100%;font-size:17.5px;padding:15px;margin-top:14px}
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper{color:#d8d2cf}
.woocommerce form.checkout_coupon,.woocommerce form.login,.woocommerce form.register{
  border:1px solid #453d40;border-radius:5px;background:var(--panel);color:var(--txt)}

/* My account */
.woocommerce-account .woocommerce{padding:10px 22px 26px}
.woocommerce-MyAccount-navigation ul{list-style:none;border:1px solid var(--line);border-radius:5px;overflow:hidden}
.woocommerce-MyAccount-navigation ul li{border-bottom:1px solid #241e20}
.woocommerce-MyAccount-navigation ul li a{display:block;padding:12px 16px;color:#d8d2cf}
.woocommerce-MyAccount-navigation ul li.is-active a{background:var(--wine);color:#fff}
.woocommerce-MyAccount-content{line-height:1.6;color:#e6dfdc}
.woocommerce-MyAccount-content a{color:#e5484d}
.woocommerce-Addresses .woocommerce-Address-title h3{font-family:'Cinzel',serif;font-weight:600}

/* Order received */
.woocommerce ul.order_details li{border-color:#453d40;color:var(--txt)}
.woocommerce-thankyou-order-received{font-family:'Cinzel',serif;font-size:24px}

@media(max-width:1100px){
 .gh-single{grid-template-columns:1fr 1fr}
 .gh-single .trustbox{grid-column:1/-1}
 .woocommerce ul.products{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:640px){
 .gh-single{grid-template-columns:1fr}
 .woocommerce ul.products{grid-template-columns:repeat(2,1fr)}
 .woocommerce-cart table.cart td.actions .coupon .input-text{width:100%;margin-bottom:9px}
}

/* ---- 1.1.9 design pass: shop cards, filters, single product ---- */

/* Shop cards in the design layout: photo, title, price, stars. */
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link{display:flex;flex-direction:column}
.woocommerce ul.products li.product a img{aspect-ratio:4/5;object-fit:cover;order:0}
.woocommerce ul.products li.product .woocommerce-loop-product__title{order:1}
.woocommerce ul.products li.product .price{order:2}
.woocommerce ul.products li.product .star-rating{order:3;margin:5px 13px 2px}
.woocommerce ul.products li.product .gh-heart{position:absolute;top:9px;right:12px;z-index:3;font-size:21px;color:#fff;text-shadow:0 1px 5px rgba(0,0,0,.75);pointer-events:none}
.woocommerce ul.products li.product .button{display:none}

/* Filter panel extras */
.filters a.clearbtn{display:block;text-align:center;text-decoration:none;box-sizing:border-box}
.filters .sw{padding:0}
.filters .sw.active{border-color:#c2183f;box-shadow:0 0 0 2px #c2183f}
.filters input[type=range]{width:100%;accent-color:#c2183f}
.shophead .sortlabel{font-size:15px;color:#d8d2cf}
.shophead .viewtog b{background:var(--wine);color:#fff;border-radius:50%;width:27px;height:27px;display:inline-flex;align-items:center;justify-content:center;font-style:normal}
.shophead .viewtog s{text-decoration:none;margin-left:7px;opacity:.85}

/* Single product: gallery rail, summary, trust rail */
.gh-single{grid-template-columns:1.22fr 1fr;gap:36px;max-width:1460px;margin:0 auto;padding:10px 24px 6px}
.gh-gallerywrap{display:flex;gap:10px;align-items:stretch;min-width:0}
.gh-thumbs{display:flex;flex-direction:column;gap:9px;width:82px;flex:0 0 82px;max-height:640px;overflow-y:auto}
.gh-thumb{background:none;border:1px solid var(--line);border-radius:3px;padding:0;cursor:pointer;overflow:hidden}
.gh-thumb img{width:100%;height:auto;display:block}
.gh-thumb.active{border-color:#c2183f}
.gh-mainimg{flex:1;position:relative;border:1px solid var(--line);border-radius:4px;overflow:hidden;background:#fff;cursor:zoom-in;min-width:0}
.gh-mainimg img{width:100%;height:100%;object-fit:cover;display:block}
.gh-saleflag{position:absolute;top:10px;left:10px;z-index:2;background:var(--red);color:#fff;font-size:12.5px;padding:4px 10px;border-radius:2px}
.gh-zoom{position:absolute;right:12px;bottom:12px;z-index:2;background:rgba(10,8,8,.72);color:#fff;width:38px;height:38px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:16px}
.gh-lightbox{position:fixed;inset:0;z-index:9999;background:rgba(0,0,0,.92);display:flex;align-items:center;justify-content:center;cursor:zoom-out}
.gh-lightbox img{max-width:92vw;max-height:92vh}

.gh-badge{display:inline-block;background:var(--wine);color:#fff;font-size:12.5px;letter-spacing:.05em;padding:4px 11px;border-radius:2px;margin-bottom:8px}
.gh-pricerow{display:flex;align-items:center;gap:15px;flex-wrap:wrap}
.gh-pricerow .price{margin:11px 0}
.gh-save{background:var(--wine);color:#fff;font-size:13px;padding:5px 11px;border-radius:2px}
.gh-stock{color:#7dc383;font-size:14.5px;display:flex;align-items:center;gap:8px;margin:8px 0 2px}
.gh-dot{width:9px;height:9px;border-radius:50%;background:#58b368;display:inline-block}

/* Variation buttons and color swatches (selects hidden once JS runs) */
.woocommerce div.product form.cart.gh-swatchified table.variations select{display:none !important}
.gh-summary table.variations tr{display:block;margin-bottom:10px}
.gh-summary table.variations th,.gh-summary table.variations td{display:block;padding:3px 0}
.gh-summary table.variations th.gh-labelrow{display:flex;justify-content:flex-start;align-items:center;gap:10px}
.gh-summary table.variations label{font-size:15.5px}
.gh-chosen{color:#e6dfdc}
.gh-sg{color:#e9dfe0;font-size:14px;text-decoration:underline;white-space:nowrap;margin-left:8px}
.gh-swatches{display:flex;gap:9px;flex-wrap:wrap;margin-top:7px}
.gh-swatch-btn{background:#121010;border:1px solid #453d40;color:#eee;min-width:47px;padding:9px 13px;border-radius:3px;cursor:pointer;font-family:'Jost',sans-serif;font-size:14.5px}
.gh-swatch-btn.active{background:var(--wine);border-color:var(--wine);color:#fff}
.gh-color-sw{width:36px;height:36px;border-radius:50%;border:2px solid #9a8f93;cursor:pointer;padding:0}
.gh-color-sw.active{border-color:#c2183f;box-shadow:0 0 0 2px #c2183f}
.gh-summary .single_variation_wrap .woocommerce-variation-add-to-cart{display:flex;gap:11px;align-items:stretch;flex-wrap:wrap}
.gh-wish{width:52px;background:transparent;border:1px solid #453d40;color:#fff;font-size:20px;border-radius:3px;cursor:pointer}
.gh-wish.on{color:#e5484d;border-color:#e5484d}
.gh-buynow{width:100%;margin-top:12px;background:transparent;border:1px solid #6d5a5e;color:#fff;padding:13px;letter-spacing:.06em;cursor:pointer;font-family:'Jost',sans-serif;font-size:16px;border-radius:3px}
.gh-buynow:hover{border-color:var(--wine);background:rgba(95,22,40,.18)}

/* Tabs: description text beside a detail photo */
.gh-descgrid{display:grid;grid-template-columns:1fr 380px;gap:36px;align-items:start}
.gh-tabimg img{width:100%;height:auto;border:1px solid var(--line);border-radius:4px;display:block}
.gh-after-summary .related>h2{display:flex;align-items:center;justify-content:center;gap:18px}
.gh-after-summary .related>h2::before,.gh-after-summary .related>h2::after{content:"";height:1px;width:min(150px,18vw);background:linear-gradient(90deg,transparent,#6d5a5e,transparent)}
.gh-after-summary .related ul.products{grid-template-columns:repeat(5,1fr)}

@media(max-width:1100px){
 .gh-single{grid-template-columns:1fr 1fr}
 .gh-gallerywrap{grid-column:1/-1}
 .gh-after-summary .related ul.products{grid-template-columns:repeat(3,1fr)}
 .gh-descgrid{grid-template-columns:1fr}
 .gh-tabimg{max-width:420px}
}
@media(max-width:640px){
 .gh-single{grid-template-columns:1fr}
 .gh-thumbs{width:60px;flex-basis:60px}
 .gh-after-summary .related ul.products{grid-template-columns:repeat(2,1fr)}
}

/* 1.2.6 design pass: trust rail removed (his order), price in white like
   the design, Quantity label, magnifier badge on the main photo */
.woocommerce div.product .gh-summary p.price{color:#fff}
.woocommerce div.product .gh-summary p.price ins{color:#fff;text-decoration:none}
.woocommerce div.product .gh-summary p.price del{color:#9b8f92}
.gh-pricerow .price{font-size:32px}
.gh-summary form.cart:not(.variations_form)::before,
.gh-summary .woocommerce-variation-add-to-cart::before{content:"Quantity:";align-self:center;font-size:15.5px;color:#e6dfdc}
.gh-mainimg{position:relative}
.gh-mainimg::after{content:"";position:absolute;right:14px;bottom:14px;width:42px;height:42px;border-radius:50%;background-color:rgba(255,255,255,.94);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23222' stroke-width='2.4'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.5 15.5 21 21'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:center;background-size:21px;pointer-events:none}

/* 1.2.7 design pass: tabs area aligned to the same measure as the product
   section, tidy panel typography and dark tables, wine disabled cart btn */
.gh-after-summary{max-width:1460px;margin:0 auto;padding:0 24px}
.woocommerce div.product .gh-after-summary .woocommerce-tabs{padding:10px 0 0}
.gh-after-summary .related,.gh-after-summary .upsells{padding:0}
.woocommerce div.product .woocommerce-tabs .panel{font-size:16px;line-height:1.65}
.woocommerce div.product .woocommerce-tabs .panel h3{font-family:'Cinzel',serif;font-size:19px;font-weight:600;margin:20px 0 8px}
.woocommerce div.product .woocommerce-tabs .panel table{width:100%;border-collapse:collapse;background:#0d0b0c;margin:10px 0 18px}
.woocommerce div.product .woocommerce-tabs .panel table th,.woocommerce div.product .woocommerce-tabs .panel table td{border:1px solid #2c2628;padding:8px 10px;text-align:left;font-size:14.5px}
.woocommerce div.product .woocommerce-tabs .panel table th{font-family:'Cinzel',serif;letter-spacing:.04em}
.gh-summary .single_add_to_cart_button.disabled,.gh-summary .single_add_to_cart_button:disabled{background:var(--wine) !important;color:#fff !important;opacity:.55}

/* 1.2.8 tabs repair: the tabs block now sits inside the product wrapper
   (it was outside it, so no tab styling applied and the generic .panel
   rule squeezed the panels). Neutralise that generic rule on Woo panels.
   1.2.9 fix: display must NOT be !important here. WooCommerce tab JS
   switches panels with inline display none/block, and a stylesheet
   !important display overrides the inline hide, so every panel stayed
   visible and the tab buttons appeared dead. Plain display block still
   beats the generic .panel grid rule on specificity. */
.gh-after-summary{grid-column:1/-1;max-width:none;margin:0;padding:0}
.woocommerce div.product .woocommerce-tabs .panel{display:block;background:none !important;border:none !important;border-radius:0 !important;padding:24px 0 !important;grid-template-columns:none !important}
.woocommerce div.product .woocommerce-tabs ul.tabs{display:flex !important;list-style:none !important}
.woocommerce div.product .woocommerce-tabs .panel table th,.woocommerce div.product .woocommerce-tabs .panel table td{border:1px solid #453d40 !important}

/* 1.3.2 checkout design: 5-step progress bar plus trust strip spacing. */
.gh-steps{display:flex;align-items:flex-start;max-width:900px;margin:24px auto 4px;padding:0 22px}
.gh-steps .step{display:flex;flex-direction:column;align-items:center;gap:7px;flex:0 0 auto}
.gh-steps .dot{width:34px;height:34px;border-radius:50%;border:1.5px solid #6b565e;color:#d8d2cf;display:flex;align-items:center;justify-content:center;font-size:15px;background:#0d0b0b}
.gh-steps .step.done .dot,.gh-steps .step.active .dot{background:var(--wine);border-color:var(--wine);color:#fff}
.gh-steps label{font-size:14.5px;color:#e9e2df}
.gh-steps .bar{flex:1;height:2px;background:#4a343c;margin-top:17px}
.gh-checkout-trust{max-width:1460px;margin:0 auto;padding:6px 26px 24px}

/* 1.3.3 checkout fields dark, classic shortcode and Blocks markup alike
   (the 1.3.2 check found the fields rendering white). */
.woocommerce-checkout input[type="text"],.woocommerce-checkout input[type="email"],
.woocommerce-checkout input[type="tel"],.woocommerce-checkout input[type="number"],
.woocommerce-checkout input[type="password"],.woocommerce-checkout textarea,
.woocommerce-checkout select{background:#121010 !important;border:1px solid #3a3436 !important;color:#eee !important}
.woocommerce-checkout input::placeholder,.woocommerce-checkout textarea::placeholder{color:#8d8380}
.wc-block-components-text-input input,.wc-block-components-text-input textarea,
.wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input,
.wc-block-components-form .wc-block-components-text-input input{
  background-color:#121010 !important;border:1px solid #3a3436 !important;color:#eee !important;border-radius:3px}
.wc-block-components-text-input label,.wc-block-components-combobox label{color:#a99f9c !important}
.wc-block-components-text-input input:focus,.wc-block-components-combobox input:focus{border-color:var(--wine) !important;box-shadow:0 0 0 1px var(--wine)}
.wc-block-components-radio-control__input,.wc-block-components-checkbox__input{accent-color:var(--wine)}
.wc-block-components-checkout-place-order-button{background:var(--wine) !important;border:none !important;color:#fff !important;font-family:'Jost',sans-serif;font-size:17.5px;padding:15px}
.wc-block-components-totals-wrapper{border-color:#2c2628}
.wc-block-components-sidebar .wc-block-components-totals-footer-item .wc-block-components-totals-item__value{color:#fff}

/* 1.4.2 Sale badge fix: WooCommerce core positions the loop badge with
   top:0;right:0;left:auto;margin:-.5em -.5em 0 0, which pushes it half
   outside the card's top-right corner, where the card's overflow:hidden
   clips it (his screenshot 2026-11-10). Pin it fully inside the card,
   top-left like the homepage badge, clear of the heart at top-right. */
.woocommerce ul.products li.product .onsale{top:10px;right:auto;left:10px;margin:0;z-index:4}

/* 1.4.3: loop wishlist heart gets the same dark circle as the homepage
   card; as a faint outline on white product photos it was nearly
   invisible (desktop inspection 2026-11-10). */
.woocommerce ul.products li.product .gh-heart{width:36px;height:36px;background:rgba(20,16,17,.72);border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:18px;top:10px;right:10px}

/* 1.4.6: product grid breakpoints with stronger specificity and a wider
   mobile breakpoint. Some phones report a wide CSS viewport, which left
   the 4-column desktop grid squeezed on mobile (narrow cards, titles
   wrapping one word per line). Two readable columns up to 820px. */
@media(max-width:1100px){
 body .woocommerce ul.products{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:820px){
 body .woocommerce ul.products{grid-template-columns:repeat(2,1fr)}
 body .woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:15px}
}

/* 1.4.7: loop cards must fill their grid cell. WooCommerce core keeps a
   floated percentage width on li.product that survives inside the grid
   and squeezes every card (measured live 2026-11-10: a 78px card inside
   a 163px cell on mobile, titles wrapping one word per line). */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product{float:none !important;width:auto !important}
