/* Product detail, cart and checkout styling follows the reference's paper,
   rose and gold palette while retaining native WooCommerce form behavior. */
.single-product-main{padding:70px 4% 90px}
.woocommerce div.product{display:grid;grid-template-columns:37.5% 46%;justify-content:end;column-gap:6%;align-items:start}
.woocommerce div.product .woocommerce-product-gallery,.woocommerce div.product .summary{float:none;width:100%;margin:0}
.woocommerce div.product .woocommerce-product-gallery{opacity:1!important;min-width:0}
.woocommerce div.product .woocommerce-product-gallery__wrapper{display:flex;flex-direction:column;gap:12px}
.woocommerce div.product .woocommerce-product-gallery__image{width:100%;min-width:0}
.woocommerce div.product .woocommerce-product-gallery__image img{aspect-ratio:4/5;object-fit:contain;background:var(--paper)}
.woocommerce-product-gallery__trigger{width:40px;height:40px;display:block;font-size:0!important;top:10px;right:10px}
.woocommerce-product-gallery__trigger::before{content:'';position:absolute;width:13px;height:13px;border:1.3px solid #8f743c;border-radius:50%;left:12px;top:10px}
.woocommerce-product-gallery__trigger::after{content:'';position:absolute;width:8px;height:1.3px;background:#8f743c;transform:rotate(45deg);left:24px;top:24px}
.gallery-controls{display:none}
.woocommerce div.product .summary{position:sticky;top:24px;min-width:0}
.woocommerce div.product .product_title{font:400 32px/1.2 var(--body);margin:0 0 15px}
.woocommerce div.product .summary>.price{font:italic 20px/1.3 var(--body);margin:24px 0 28px;color:#a3813b}
.woocommerce div.product .summary .woocommerce-tabs{clear:none;padding:0;border-top:1px solid var(--line)}
.woocommerce div.product .summary .woocommerce-tabs ul.tabs{gap:28px;margin:0 0 20px;overflow-x:auto;white-space:nowrap}
.woocommerce div.product .summary .woocommerce-tabs ul.tabs li{flex:0 0 auto;font:12px var(--display);letter-spacing:.03em;padding:15px 0}
.woocommerce div.product .summary .woocommerce-tabs .panel{padding:0 0 18px;font-size:16px;line-height:1.55}
.woocommerce div.product .summary .woocommerce-tabs .panel>h2{display:none}
.woocommerce div.product .summary .woocommerce-tabs .panel p:last-child{margin-bottom:0}
.product-facts{grid-template-columns:1fr 1fr;gap:20px 28px}.product-facts h3{font:14px var(--display);margin-bottom:8px}.product-facts p{font-size:14px}
.woocommerce div.product form.cart{gap:12px;border:0;padding:2px 0 22px;margin:0}
.woocommerce div.product form.cart .quantity,.woocommerce-cart-form .quantity{display:inline-flex;align-items:center;border:1px solid #bba78a;height:46px}
.quantity input{width:48px;height:44px;border:0;padding:0;text-align:center;background:transparent;appearance:textfield}
.quantity input::-webkit-inner-spin-button,.quantity input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.quantity-adjust{width:33px;height:44px;border:0;background:transparent;font:20px var(--body);line-height:1}
.quantity-adjust:hover{color:#9c762e}.quantity-adjust:focus-visible{outline-offset:-3px}
.single_add_to_cart_button{min-width:190px}
.product-support{background:var(--paper);display:flex;align-items:center;gap:16px;padding:20px 22px;font-size:14px;line-height:1.45}
.product-support .icon{flex:0 0 28px}.product-support p{margin:0}.product-support a{text-decoration:underline;text-underline-offset:3px}
.woocommerce div.product>.related,.woocommerce div.product>.upsells{grid-column:1/-1;width:100%;clear:both;margin-top:75px}
/* Cart layout */
.woocommerce-cart .commerce-page .page-inner{max-width:1250px}
.woocommerce-cart .page-inner>h1{font-size:36px;text-transform:uppercase;margin-bottom:20px}
.cart-continue{margin-bottom:35px}
.woocommerce-cart .commerce-page .woocommerce{display:grid;grid-template-columns:minmax(0,1fr) minmax(285px,32%);gap:30px 45px;align-items:start}
.woocommerce-cart .woocommerce-notices-wrapper{grid-column:1/-1}
.woocommerce-cart-form{min-width:0}.woocommerce-cart-form table.shop_table th{font:12px var(--display);text-transform:uppercase;letter-spacing:.03em}
.woocommerce-cart-form table.shop_table td{vertical-align:middle}.woocommerce-cart-form .product-name a{color:#96712d}
.woocommerce-cart-form .product-thumbnail img{width:88px;background:var(--paper)}
.woocommerce-cart .cart-collaterals{display:block}.woocommerce-cart .cart_totals{width:100%;padding:0}
.woocommerce-cart .cart_totals h2{font:22px var(--display);margin:28px 0 12px}.woocommerce-cart .cart_totals .shop_table{margin-bottom:22px}
.woocommerce-cart .cart_totals th,.woocommerce-cart .cart_totals td{font-size:14px}.woocommerce-cart .cart_totals td{text-align:right}
.woocommerce-cart .woocommerce .cart_totals table.shop_table td{text-align:right}
.shipping-progress{font-size:14px;line-height:1.5}.shipping-progress p{margin:0 0 12px}.shipping-progress .amount{font-weight:600}
.shipping-progress-track{background:#e1d5c8;height:5px}.shipping-progress-track span{display:block;height:100%;background:var(--gold)}
.woocommerce-cart-form .actions .coupon input{max-width:155px}
.chocolate-cart-empty .page-inner>h1{text-align:center}.chocolate-cart-empty .cart-continue{display:none}.chocolate-cart-empty .commerce-page .woocommerce{display:block;text-align:center;padding:20px 0 60px}
.chocolate-cart-empty .cart-empty{background:transparent;border:0;padding:10px;margin:0}.empty-cart-intro{font-size:15px;margin:12px 0 24px}
.empty-cart-categories{display:flex;justify-content:center;flex-wrap:wrap;gap:10px;max-width:830px;margin:0 auto 30px}
.empty-cart-categories a{border:1px solid #c6aa73;padding:12px 16px;font:12px var(--display);text-transform:uppercase}
/* Dedicated checkout keeps WooCommerce's real fields and payment controls. */
.checkout-shell{background:#fff;color:#292929;font:400 15px/1.5 var(--body)}
.checkout-header{height:96px;border-bottom:1px solid #e5e5e5;display:flex;align-items:center;justify-content:center;position:relative;padding:12px 5%}
.checkout-brand{width:74px;height:74px;background:#282724;color:#fff;border:1px solid var(--gold);display:flex;align-items:center;justify-content:center;flex-direction:column;gap:2px}
.checkout-brand>.icon{width:20px;height:20px;filter:invert(77%) sepia(34%) saturate(648%) hue-rotate(2deg)}
.checkout-brand>span{font:9px var(--display);letter-spacing:.05em}.checkout-brand>small{font:5px var(--display);letter-spacing:.25em;color:var(--gold)}.checkout-brand>img:not(.icon){width:100%;height:100%;object-fit:contain}
.checkout-header-actions{position:absolute;right:5%;display:flex;align-items:center;gap:18px}.checkout-cart-link .cart-count{background:var(--gold)}
.checkout-shell .commerce-page{padding:42px 4% 70px;min-height:calc(100vh - 175px)}
.checkout-shell .page-inner{max-width:1150px}.checkout-shell .page-inner>h1{display:none}
.checkout-shell .woocommerce{display:flow-root}.checkout-shell .woocommerce-info{background:#f7f7f7;border:0;border-radius:8px;font-size:14px;margin-bottom:12px}
.checkout-shell .woocommerce-checkout #customer_details{width:57%;padding-right:60px}
.checkout-shell .woocommerce-checkout #order_review_heading,.checkout-shell .woocommerce-checkout #order_review{width:43%}
.checkout-shell .woocommerce-checkout #order_review{background:#f5f5f5;border:1px solid #e9e9e9;padding:25px;border-radius:8px}
.checkout-shell .woocommerce-checkout h3{font:600 19px/1.3 var(--body);margin:12px 0 22px}
.checkout-shell .woocommerce form .input-text,.checkout-shell .woocommerce form select{background:#fff;border:1px solid #bfbfbf;border-radius:8px;min-height:48px}
.checkout-shell .select2-container .select2-selection--single{background:#fff;border-color:#bfbfbf;border-radius:8px;height:48px}
.checkout-shell .select2-container--default .select2-selection--single .select2-selection__rendered{line-height:46px}
.checkout-shell .woocommerce table.shop_table th,.checkout-shell .woocommerce table.shop_table td{border-color:#ddd;padding:14px 8px}
.checkout-product{display:inline-flex;align-items:center;gap:12px;vertical-align:middle}.checkout-product img{width:62px;height:62px;object-fit:cover;background:#eee;border:1px solid #ddd;border-radius:5px;flex:none}
.checkout-shell .woocommerce #place_order{min-height:54px;border-radius:6px;font-size:14px}
.checkout-shell .woocommerce-error{background:#fff5f3;border-color:#b84b3f;border-radius:4px}
.checkout-footer{max-width:1150px;margin:auto;padding:22px 4% 32px;border-top:1px solid #ddd;font-size:12px;color:#555}
.checkout-footer nav{display:flex;gap:18px;flex-wrap:wrap}.checkout-footer a{text-decoration:underline;text-underline-offset:3px}.checkout-footer p{margin:14px 0 0}
.checkout-mobile-summary{display:none}
@media(max-width:1000px){.woocommerce-cart .commerce-page .woocommerce{grid-template-columns:minmax(0,1fr) minmax(250px,34%);gap:25px}.woocommerce-cart-form .quantity input{width:38px}.woocommerce-cart-form .quantity-adjust{width:28px}}
@media(max-width:760px){
 .single-product-main{padding:22px 15px 55px}.woocommerce div.product{display:block}.woocommerce div.product .summary{position:static;padding:20px 4px 0}
 .woocommerce div.product .woocommerce-product-gallery__wrapper{flex-direction:row;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain}
 .woocommerce div.product .woocommerce-product-gallery__wrapper::-webkit-scrollbar{display:none}
 .woocommerce div.product .woocommerce-product-gallery__image{flex:0 0 88%;scroll-snap-align:start}
 .woocommerce div.product .woocommerce-product-gallery__image img{width:100%}
 .gallery-controls{display:flex;justify-content:center;gap:12px;margin:10px 0 0}.gallery-controls button{border:0;background:transparent;width:44px;height:36px;font-size:21px;color:#96712d}
 .woocommerce div.product .product_title{font-size:27px}.woocommerce div.product .summary>.price{font-size:19px;margin:20px 0}
 .woocommerce div.product .summary .woocommerce-tabs ul.tabs{gap:20px}.woocommerce div.product .summary .woocommerce-tabs .panel{font-size:15px}
 .product-facts{grid-template-columns:1fr;gap:16px}.woocommerce div.product form.cart{flex-wrap:nowrap}.woocommerce div.product form.cart .single_add_to_cart_button{min-width:0;padding-inline:8px}
 .quantity input{width:38px}.quantity-adjust{width:28px}.product-support{padding:17px}.woocommerce div.product>.related{margin-top:50px}
 .woocommerce-cart .page-inner>h1{font-size:30px}.cart-continue{margin-bottom:25px}
 .empty-cart-categories{display:grid;grid-template-columns:1fr 1fr;gap:8px}.empty-cart-categories a{display:flex;align-items:center;justify-content:center;min-height:48px;line-height:1.35}
 .woocommerce-cart .commerce-page .woocommerce{display:block}.woocommerce-cart .woocommerce-notices-wrapper{margin-bottom:0}.woocommerce-cart .cart-collaterals{padding-top:15px}
 .woocommerce-cart-form table.shop_table,.woocommerce-cart-form table.shop_table tbody{display:block}.woocommerce-cart-form table.shop_table thead{display:none}
 .woocommerce-cart-form table.shop_table tr.cart_item{display:grid;grid-template-columns:88px minmax(0,1fr) 30px;gap:6px 13px;position:relative;padding:16px 0;border-bottom:1px solid var(--line)}
 .woocommerce-cart-form table.shop_table tr.cart_item td{display:block;border:0;padding:0;text-align:left;min-width:0}
 .woocommerce-cart-form .cart_item .product-thumbnail{display:block;grid-column:1;grid-row:1/5}.woocommerce-cart-form .cart_item .product-thumbnail img{width:88px;min-width:0}
 .woocommerce-cart-form .cart_item .product-name{grid-column:2;grid-row:1;font-size:15px}.woocommerce-cart-form .cart_item .product-remove{grid-column:3;grid-row:1;width:auto;text-align:right}
 .woocommerce-cart-form .cart_item .product-price{display:block;grid-column:2;grid-row:2}.woocommerce-cart-form .cart_item .product-quantity{grid-column:2;grid-row:3;width:auto}
 .woocommerce-cart-form .cart_item .product-subtotal{grid-column:2/4;grid-row:4;width:auto;font-size:13px}.woocommerce-cart-form .product-remove a{font-size:22px}
 .woocommerce-cart-form table.shop_table tr:not(.cart_item){display:block}.woocommerce-cart-form table.shop_table tr:not(.cart_item) td{display:block;padding:20px 0}
 .woocommerce-cart-form .coupon input{max-width:155px}.woocommerce-cart-form .actions>.button{width:100%}.woocommerce-cart .cart_totals h2{font-size:22px}
 .checkout-header{height:80px;padding-inline:15px}.checkout-brand{width:58px;height:58px}.checkout-brand>.icon{width:16px;height:16px}.checkout-brand>span{font-size:8px}
 .checkout-header-actions{right:14px;gap:3px}.checkout-header-actions .language-picker summary{min-width:35px}
 .checkout-shell .commerce-page{padding:20px 20px 45px}.checkout-shell .woocommerce-checkout #customer_details,.checkout-shell .woocommerce-checkout #order_review_heading,.checkout-shell .woocommerce-checkout #order_review{width:100%;float:none;padding-right:0}
 .checkout-shell .woocommerce-checkout #order_review_heading{margin-top:32px}.checkout-shell .woocommerce-checkout #order_review{padding:18px}
 .checkout-shell .woocommerce form .form-row-first,.checkout-shell .woocommerce form .form-row-last{float:none;width:100%}
 .checkout-mobile-summary{display:block;background:#f5f5f5;border:1px solid #e5e5e5;border-radius:7px;margin:8px 0 28px;font-size:14px}
 .checkout-shell .page-inner details.checkout-mobile-summary{padding:0}.checkout-shell .page-inner .checkout-mobile-summary summary{font:400 15px/1.4 var(--body)}
 .checkout-mobile-summary summary{display:flex;justify-content:space-between;gap:20px;align-items:center;cursor:pointer;list-style:none;padding:18px}.checkout-mobile-summary summary::-webkit-details-marker{display:none}
 .checkout-mobile-summary summary span::after{content:'⌄';margin-left:8px}.checkout-mobile-summary[open] summary span::after{content:'⌃'}
 .checkout-mobile-summary ul{margin:0;padding:0 18px 16px;list-style:none}.checkout-mobile-summary li{display:flex;justify-content:space-between;gap:15px;padding:7px 0}
 .checkout-summary-totals{display:grid;grid-template-columns:1fr auto;gap:8px 20px;padding:12px 18px 18px;margin:0;border-top:1px solid #ddd}.checkout-summary-totals dt,.checkout-summary-totals dd{margin:0}.checkout-summary-totals dd{text-align:right}
}
