/* Kuickshop — WooCommerce pages (loaded only on shop, product, cart, checkout and account pages). */

.woocommerce .woocommerce-breadcrumb{display:none}
.ks-shop,.ks-product-page{padding-bottom:var(--ks-section)}

/* Archive header */
.woocommerce-products-header{padding:clamp(1.25rem,3vw,2.25rem) 0 1rem}
.woocommerce-products-header__title.page-title{margin:0 0 .4rem}
.woocommerce-products-header .term-description,.woocommerce-products-header .page-description{color:var(--ks-muted);max-width:70ch}
.woocommerce-products-header .term-description p:last-child{margin-bottom:0}

/* Chips */
.ks-chips{margin:0 0 1.25rem;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.ks-chips::-webkit-scrollbar{display:none}
.ks-chips ul{list-style:none;margin:0;padding:0 0 2px;display:flex;gap:.5rem;white-space:nowrap}
@media (min-width:990px){.ks-chips ul{flex-wrap:wrap;white-space:normal}}
.ks-chip{display:inline-flex;align-items:center;min-height:40px;padding:.4rem 1rem;border:1px solid var(--ks-border);border-radius:999px;font-size:.88rem;text-decoration:none;background:#fff;transition:border-color .2s,background .2s}
.ks-chip:hover{border-color:var(--ks-charcoal);color:var(--ks-charcoal)}
.ks-chip.is-active{background:var(--ks-charcoal);border-color:var(--ks-charcoal);color:#fff}

/* Toolbar */
.ks-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.5rem 1rem;padding:.75rem 0;margin-bottom:1.5rem;border-top:1px solid var(--ks-border);border-bottom:1px solid var(--ks-border)}
.woocommerce .ks-toolbar .woocommerce-result-count,.woocommerce .ks-toolbar .woocommerce-ordering{float:none;margin:0}
.ks-toolbar .woocommerce-result-count{font-size:.85rem;color:var(--ks-muted)}
.ks-toolbar .woocommerce-ordering select{min-height:40px;width:auto;padding:.4rem 2.2rem .4rem .8rem;font-size:.88rem;border-color:var(--ks-border);appearance:none;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231C1A18' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right .75rem center}
.woocommerce-pagination{margin-top:3rem}
.ks-cat-content{margin:var(--ks-section) auto 0;max-width:820px;padding-top:2.5rem;border-top:1px solid var(--ks-border)}
.woocommerce-info,.woocommerce-message,.woocommerce-error,.woocommerce-noreviews,p.no-comments{border:0!important;border-left:3px solid var(--ks-cognac)!important;background:var(--ks-cream)!important;color:var(--ks-charcoal)!important;border-radius:var(--ks-radius);padding:1rem 1.25rem 1rem 3rem!important;font-size:.95rem}
.woocommerce-info::before,.woocommerce-message::before{color:var(--ks-cognac)!important}
.woocommerce-error{border-left-color:var(--ks-error)!important}
.woocommerce-error::before{color:var(--ks-error)!important}
.woocommerce-message .button,.woocommerce-info .button{min-height:36px;padding:.4rem 1rem;font-size:.85rem}

/* Generic Woo buttons */
.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit,.woocommerce a.button.alt,.woocommerce button.button.alt{background:var(--ks-charcoal);color:#fff;border:1px solid var(--ks-charcoal);border-radius:var(--ks-radius);padding:.8rem 1.6rem;font-weight:500;min-height:48px;line-height:1.2}
.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce a.button.alt:hover,.woocommerce button.button.alt:hover,.woocommerce #respond input#submit:hover{background:var(--ks-cognac);border-color:var(--ks-cognac);color:#fff}
.woocommerce button.button:disabled,.woocommerce button.button.disabled,.woocommerce button.button.alt.disabled{opacity:.5}

/* Single product */
.ks-product-page div.product{position:relative;display:grid;grid-template-columns:minmax(0,1fr);gap:2rem;padding-top:1.25rem}
.ks-product-page div.product>*{min-width:0}
@media (min-width:990px){.ks-product-page div.product{grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:3.5rem;align-items:start}}
.ks-product-page div.product>*{grid-column:1/-1}
@media (min-width:990px){
	.ks-product-page div.product>.woocommerce-product-gallery{grid-column:1}
	.ks-product-page div.product>.summary{grid-column:2}
}
.woocommerce div.product div.images,.woocommerce div.product div.summary{float:none!important;width:auto!important;margin:0!important}
.ks-product-page div.product>span.onsale{position:absolute;top:2.25rem;left:1rem;z-index:3}
.woocommerce-product-gallery{position:relative}
.woocommerce-product-gallery .woocommerce-product-gallery__image img{width:100%;border-radius:var(--ks-radius);background:var(--ks-cream)}
.woocommerce-product-gallery__trigger{top:1rem!important;right:1rem!important;background:#fff!important;border-radius:50%;box-shadow:0 2px 8px rgba(0,0,0,.08)}
.woocommerce-product-gallery .flex-direction-nav{list-style:none;margin:0;padding:0}
.woocommerce-product-gallery .flex-direction-nav a{position:absolute;top:calc(50% - 22px);z-index:2;width:44px;height:44px;border-radius:50%;background:rgba(255,255,255,.92);font-size:0;display:flex;align-items:center;justify-content:center;text-decoration:none;box-shadow:0 2px 8px rgba(0,0,0,.08)}
.woocommerce-product-gallery .flex-direction-nav a::before{content:"";width:10px;height:10px;border-top:1.6px solid var(--ks-charcoal);border-left:1.6px solid var(--ks-charcoal)}
.woocommerce-product-gallery .flex-direction-nav .flex-prev{left:.75rem}
.woocommerce-product-gallery .flex-direction-nav .flex-prev::before{transform:translateX(2px) rotate(-45deg)}
.woocommerce-product-gallery .flex-direction-nav .flex-next{right:.75rem}
.woocommerce-product-gallery .flex-direction-nav .flex-next::before{transform:translateX(-2px) rotate(135deg)}
.woocommerce-product-gallery .flex-viewport+.flex-direction-nav{position:static}

/* Gallery: single-row, scrollable thumbnail strip (flexslider .flex-control-thumbs) */
.woocommerce-product-gallery{min-width:0}
.woocommerce-product-gallery .flex-viewport{border-radius:var(--ks-radius-card,6px);background:var(--ks-cream)}
.woocommerce div.product div.images .flex-control-thumbs,.woocommerce-product-gallery .flex-control-thumbs{display:flex!important;flex-wrap:nowrap!important;gap:.5rem;margin:.75rem 0 0!important;padding:2px!important;list-style:none;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-padding-inline:2px;-webkit-overflow-scrolling:touch;scrollbar-width:none}
.woocommerce-product-gallery .flex-control-thumbs::-webkit-scrollbar{display:none}
.woocommerce div.product div.images .flex-control-thumbs li{flex:0 0 calc((100% - 2rem) / 5.4);width:auto!important;float:none!important;margin:0!important;scroll-snap-align:start;min-width:56px}
@media (max-width:749px){.woocommerce div.product div.images .flex-control-thumbs li{flex-basis:calc((100% - 2rem) / 5.6)}}
.woocommerce div.product div.images .flex-control-thumbs li img,.woocommerce-product-gallery .flex-control-thumbs img{display:block;width:100%;aspect-ratio:1;object-fit:cover;border-radius:4px;opacity:.6;cursor:pointer;outline:1px solid transparent;outline-offset:-1px;transition:opacity .2s,outline-color .2s}
.woocommerce-product-gallery .flex-control-thumbs img:hover{opacity:.9}
.woocommerce div.product div.images .flex-control-thumbs li img.flex-active,.woocommerce-product-gallery .flex-control-thumbs img.flex-active{opacity:1;outline:2px solid var(--ks-charcoal);outline-offset:-2px}
.woocommerce-product-gallery .flex-control-thumbs img:focus-visible{outline:2px solid var(--ks-cognac);outline-offset:-2px;opacity:1}
.ks-thumbs{position:relative}
.ks-thumbs__nav{display:none;position:absolute;top:calc(50% + .375rem - 16px);z-index:2;width:32px;height:32px;padding:0;border:1px solid var(--ks-border);border-radius:50%;background:rgba(255,255,255,.95);color:var(--ks-charcoal);align-items:center;justify-content:center;box-shadow:0 2px 8px rgba(28,26,24,.12);transition:opacity .2s}
.ks-thumbs__nav--prev{left:-6px}
.ks-thumbs__nav--next{right:-6px}
.ks-thumbs__nav:hover{background:var(--ks-charcoal);border-color:var(--ks-charcoal);color:#fff}
.ks-thumbs__nav:disabled{opacity:0;pointer-events:none}
@media (min-width:990px) and (hover:hover){.ks-thumbs.is-scrollable .ks-thumbs__nav{display:inline-flex}}
.ks-gallery-count{display:none}
@media (max-width:749px){
	.woocommerce-product-gallery .flex-direction-nav{display:none}
	.ks-gallery-count{display:block;position:absolute;left:50%;transform:translateX(-50%);top:.75rem;z-index:3;padding:.2rem .6rem;border-radius:999px;background:rgba(28,26,24,.72);color:#fff;font-size:.75rem;font-weight:500;letter-spacing:.04em;pointer-events:none}
	.ks-gallery-count:empty{display:none}
}
.woocommerce-product-gallery .zoomImg{max-width:none!important}

.summary .product_title{font-size:clamp(1.9rem,3.6vw,2.6rem);margin:0 0 .5rem}
.summary .woocommerce-product-rating{display:flex;align-items:center;gap:.6rem;margin:0 0 .75rem;font-size:.85rem}
.woocommerce div.product .summary p.price,.woocommerce div.product .summary span.price{color:var(--ks-charcoal);font-size:1.35rem;margin:0 0 1rem}
.woocommerce div.product .summary p.price del{color:var(--ks-muted);opacity:1;font-size:.85em;margin-right:.4rem}
.woocommerce div.product .summary p.price ins{text-decoration:none;color:var(--ks-cognac);font-weight:500}
.summary .woocommerce-product-details__short-description{color:#3d3833;margin-bottom:1rem}
.ks-mto{display:flex;align-items:center;gap:.5rem;font-size:.88rem;color:var(--ks-cognac);margin:0 0 1.25rem}
.woocommerce div.product form.cart{display:flex;flex-wrap:wrap;gap:.75rem;margin:0 0 1.5rem}
.woocommerce div.product form.cart::before,.woocommerce div.product form.cart::after{display:none}
.woocommerce div.product form.cart .single_add_to_cart_button{flex:1;min-height:52px;font-size:1rem;float:none}
.woocommerce div.product form.cart div.quantity{float:none;margin:0}
.woocommerce .quantity .qty{width:72px;min-height:52px;text-align:center}
.woocommerce div.product form.cart.variations_form{display:block}
.woocommerce div.product form.cart .variations{margin-bottom:1rem;border:0}
.woocommerce div.product form.cart .variations th,.woocommerce div.product form.cart .variations td{display:block;padding:0;border:0;line-height:1.4}
.woocommerce div.product form.cart .variations th{padding-bottom:.35rem}
.woocommerce div.product form.cart .variations td{padding-bottom:1rem}
.woocommerce div.product form.cart .variations select{min-width:0;width:100%;margin:0}
.woocommerce div.product form.cart .reset_variations{font-size:.85rem;margin-top:.4rem;display:inline-block}
.woocommerce-variation-add-to-cart{display:flex;flex-wrap:wrap;gap:.75rem}
.woocommerce-variation-price{margin-bottom:.75rem}
.woocommerce div.product .stock{color:var(--ks-ok);font-size:.9rem}
.woocommerce div.product .out-of-stock{color:var(--ks-error)}
.ks-atc-error{flex-basis:100%;margin:0;padding:.6rem .8rem;background:#F6E4E1;color:var(--ks-error);font-size:.88rem;border-radius:var(--ks-radius)}
.product_meta{font-size:.82rem;color:var(--ks-muted);margin-top:1.25rem;display:grid;gap:.2rem}
.product_meta a{color:inherit}

.ks-badges{list-style:none;margin:0 0 1.5rem;padding:1rem 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;border-top:1px solid var(--ks-border);border-bottom:1px solid var(--ks-border)}
.ks-badges li{display:flex;align-items:center;gap:.55rem;font-size:.85rem}
.ks-badges svg{color:var(--ks-cognac)}
.ks-accordions{margin-bottom:1rem}
.ks-accordions .ks-accordion summary{font-size:.95rem;letter-spacing:.02em}
.ks-accordion__body table.woocommerce-product-attributes{margin-bottom:1rem;font-size:.9rem}
.ks-accordion__body table.woocommerce-product-attributes th{width:40%;font-weight:500}
.ks-accordion__body table.woocommerce-product-attributes td p{margin:0}

/* Reviews */
.ks-reviews-section{max-width:860px;margin-top:var(--ks-section)}
.woocommerce #reviews #comments h2,.woocommerce-Reviews-title{font-size:clamp(1.5rem,3vw,2rem)}
.woocommerce #reviews #comments ol.commentlist{padding:0}
.woocommerce #reviews #comments ol.commentlist li{border-top:1px solid var(--ks-border);padding-top:1.25rem}
.woocommerce #reviews #comments ol.commentlist li .comment-text{border:0;border-radius:0;margin-left:60px;padding:0}
.woocommerce #reviews #comments ol.commentlist li img.avatar{width:44px;border:0;padding:0;background:none;border-radius:50%}
.woocommerce .star-rating span::before,.woocommerce p.stars a{color:var(--ks-cognac)}
#review_form_wrapper{margin-top:2rem}
#review_form .comment-reply-title{font-family:var(--ks-font-head);font-size:1.4rem;font-weight:600;display:block;margin-bottom:.75rem}

/* Related / upsells */
.related.products,.upsells.products{margin-top:var(--ks-section)}
.related.products>h2,.upsells.products>h2{margin-bottom:1.5rem}

/* Sticky ATC (mobile) */
.ks-sticky-atc{position:fixed;left:0;right:0;bottom:0;z-index:40;display:flex;align-items:center;gap:.75rem;padding:.6rem clamp(1rem,4vw,2.5rem) calc(.6rem + env(safe-area-inset-bottom));background:#fff;border-top:1px solid var(--ks-border);box-shadow:0 -6px 20px rgba(28,26,24,.08);transform:translateY(110%);transition:transform .3s var(--ks-ease)}
.ks-sticky-atc[hidden]{display:none}
.ks-sticky-atc.is-visible{transform:none}
.ks-sticky-atc__info{flex:1;min-width:0;display:flex;flex-direction:column;line-height:1.3}
.ks-sticky-atc__title{font-size:.88rem;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ks-sticky-atc__price{font-size:.85rem;color:var(--ks-muted)}
.ks-sticky-atc__price del{margin-right:.3rem}
.ks-sticky-atc__price ins{text-decoration:none;color:var(--ks-cognac)}
.ks-sticky-atc .ks-btn{min-height:44px;padding:.6rem 1.1rem;white-space:nowrap}
@media (min-width:750px){.ks-sticky-atc{display:none!important}}

/* ---------------------------------------------------------------
 * Cart (classic + block): Shopify-style two-column layout
 * ------------------------------------------------------------- */
.ks-page--cart{padding-bottom:var(--ks-section)}
.ks-cart-header{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:.5rem 1.5rem;padding-bottom:1.5rem!important}
.ks-cart-header .ks-page-title{margin:0;display:flex;flex-wrap:wrap;align-items:baseline;gap:.25rem .75rem}
.ks-cart-title-count{font-family:var(--ks-font-body);font-size:.95rem;font-weight:400;letter-spacing:0;color:var(--ks-muted)}
.ks-cart-title-count[data-count="0"]{display:none}
.ks-cart-header__continue{margin-bottom:.4rem}
.ks-cart-summary-card,.ks-cart--classic .cart_totals,.ks-cart--block .wc-block-cart__sidebar{background:var(--ks-cream);border-radius:8px;padding:1.5rem}
@media (min-width:990px){.ks-cart-summary-card,.ks-cart--classic .cart_totals,.ks-cart--block .wc-block-cart__sidebar{padding:1.75rem}}

/* Summary extras (both cart types) */
.ks-cart-extras{display:grid;gap:1rem;margin-top:1rem}
.ks-cart-extras__note{display:flex;gap:.5rem;align-items:flex-start;margin:0;font-size:.8rem;line-height:1.5;color:var(--ks-muted)}
.ks-cart-extras__note svg{flex:none;margin-top:.15rem;color:var(--ks-cognac)}
.ks-cart-trust{list-style:none;margin:0;padding:1rem 0 0;border-top:1px solid #E1D6C6;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem;text-align:center}
.ks-cart-trust li{display:flex;flex-direction:column;align-items:center;gap:.35rem;font-size:.72rem;line-height:1.3;color:var(--ks-charcoal)}
.ks-cart-trust svg{color:var(--ks-cognac)}
.ks-cart-extras__continue{display:inline-flex;align-items:center;justify-content:center;gap:.4rem;font-size:.88rem;text-decoration:underline;text-underline-offset:.25em}

/* Recommendations */
.ks-cart-recs{padding-bottom:0;margin-top:clamp(1rem,3vw,2rem);border-top:1px solid var(--ks-border)}
.ks-cart-is-empty .ks-cart-recs,.ks-cart-is-empty .ks-cart-header__continue{display:none}

/* Empty cart */
.ks-empty-cart{padding:clamp(1.5rem,5vw,3rem) 0 0}
.ks-empty-cart__intro{max-width:520px;margin:0 auto clamp(2.5rem,6vw,4rem);text-align:center}
.ks-empty-cart__icon{display:inline-flex;align-items:center;justify-content:center;width:76px;height:76px;margin-bottom:1rem;border-radius:50%;background:var(--ks-cream);color:var(--ks-cognac)}
.ks-empty-cart__title{font-size:clamp(1.8rem,4vw,2.4rem);margin-bottom:.4rem}
.ks-empty-cart__intro p{color:var(--ks-muted);margin-bottom:1.5rem}
.ks-empty-cart__sub{font-size:1.5rem;margin-bottom:1.25rem}
.ks-cats__grid--4{grid-template-columns:repeat(2,minmax(0,1fr))!important}
@media (min-width:990px){.ks-cats__grid--4{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
.ks-cat__name svg{transition:transform .25s var(--ks-ease)}
.ks-cat__link:hover .ks-cat__name svg{transform:translateX(3px)}
.ks-cart--classic .cart-empty.woocommerce-info,.ks-cart--classic .return-to-shop{display:none}

/* ---- Classic cart ---- */
.ks-cart--classic .ks-wc-content>.woocommerce{display:grid;grid-template-columns:minmax(0,1fr);gap:2rem}
.ks-cart--classic .ks-wc-content>.woocommerce>*{min-width:0}
.ks-cart--classic .woocommerce-notices-wrapper:empty{display:none}
@media (min-width:990px){
	.ks-cart--classic .ks-wc-content>.woocommerce{grid-template-columns:minmax(0,1fr) 380px;column-gap:clamp(2rem,4vw,4rem);align-items:start}
	.ks-cart--classic .ks-wc-content>.woocommerce>.woocommerce-notices-wrapper,.ks-cart--classic .ks-wc-content>.woocommerce>.ks-empty-cart,.ks-cart--classic .ks-wc-content>.woocommerce>.wc-empty-cart-message{grid-column:1/-1}
	.ks-cart--classic .woocommerce-cart-form{grid-column:1}
	.ks-cart--classic .cart-collaterals{grid-column:2;position:sticky;top:calc(var(--ks-header-h) + 1.5rem)}
	.admin-bar.ks-cart--classic .cart-collaterals{top:calc(var(--ks-header-h) + 32px + 1.5rem)}
}
.ks-cart--classic .woocommerce-cart-form{margin:0}
body.ks-cart--classic table.shop_table.cart{display:block;border:0;margin:0;border-top:1px solid var(--ks-border)}
body.ks-cart--classic table.shop_table.cart thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
body.ks-cart--classic table.shop_table.cart tbody{display:block}
body.ks-cart--classic table.shop_table.cart tr.cart_item{display:grid;grid-template-columns:clamp(84px,22vw,112px) minmax(0,1fr) auto;grid-template-areas:"thumb name total" "thumb price price" "thumb qty remove" "thumb . .";grid-template-rows:auto auto auto 1fr;column-gap:clamp(.9rem,2.5vw,1.5rem);row-gap:.35rem;padding:1.5rem 0;border-bottom:1px solid var(--ks-border)}
body.ks-cart--classic table.shop_table.cart tr.cart_item td{display:block!important;padding:0!important;border:0!important;background:none!important;text-align:left!important;min-width:0}
body.ks-cart--classic table.shop_table.cart tr.cart_item td::before{display:none!important}
body.ks-cart--classic table.shop_table.cart td.product-thumbnail{grid-area:thumb}
body.ks-cart--classic table.shop_table.cart td.product-thumbnail img{width:100%!important;aspect-ratio:4/5;object-fit:cover;border-radius:6px;background:var(--ks-cream)}
body.ks-cart--classic table.shop_table.cart td.product-name{grid-area:name;font-weight:500;line-height:1.35}
body.ks-cart--classic table.shop_table.cart td.product-name>a{text-decoration:none}
body.ks-cart--classic table.shop_table.cart td.product-name>a:hover{text-decoration:underline}
body.ks-cart--classic table.shop_table.cart td.product-name dl.variation{display:grid;grid-template-columns:auto 1fr;gap:0 .35rem;margin:.35rem 0 0;font-size:.82rem;font-weight:400;color:var(--ks-muted)}
body.ks-cart--classic table.shop_table.cart td.product-name dl.variation dt,body.ks-cart--classic table.shop_table.cart td.product-name dl.variation dd{margin:0;float:none;padding:0}
body.ks-cart--classic table.shop_table.cart td.product-name dl.variation p{margin:0}
body.ks-cart--classic table.shop_table.cart td.product-name .backorder_notification{font-size:.8rem;color:var(--ks-muted);margin:.25rem 0 0}
body.ks-cart--classic table.shop_table.cart td.product-price{grid-area:price;font-size:.88rem;color:var(--ks-muted)}
body.ks-cart--classic table.shop_table.cart td.product-price del{margin-right:.3rem}
body.ks-cart--classic table.shop_table.cart td.product-price ins{text-decoration:none}
body.ks-cart--classic table.shop_table.cart td.product-quantity{grid-area:qty;margin-top:.5rem}
body.ks-cart--classic table.shop_table.cart td.product-subtotal{grid-area:total;text-align:right!important;font-weight:500;white-space:nowrap}
body.ks-cart--classic table.shop_table.cart td.product-remove{grid-area:remove;align-self:center;justify-self:end;margin-top:.5rem}
body.ks-cart--classic table.shop_table.cart td.product-remove a.remove{display:inline-flex!important;align-items:center;min-height:32px;width:auto!important;height:auto!important;border-radius:0!important;font-size:0!important;line-height:1!important;color:var(--ks-muted)!important;background:none!important;text-indent:0}
body.ks-cart--classic table.shop_table.cart td.product-remove a.remove::after{content:"Remove";font-size:.82rem;font-weight:400;text-decoration:underline;text-underline-offset:.2em}
body.ks-cart--classic table.shop_table.cart td.product-remove a.remove:hover{color:var(--ks-error)!important}
body.ks-cart--classic .woocommerce-cart-form .quantity{display:inline-flex;align-items:center;border:1px solid #CFC5B8;border-radius:var(--ks-radius);background:#fff}
body.ks-cart--classic .woocommerce-cart-form .quantity .qty{width:44px!important;min-height:40px!important;padding:0!important;border:0!important;text-align:center;background:none;-moz-appearance:textfield;appearance:textfield}
body.ks-cart--classic .woocommerce-cart-form .quantity .qty::-webkit-inner-spin-button,body.ks-cart--classic .woocommerce-cart-form .quantity .qty::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
body.ks-cart--classic .woocommerce-cart-form .ks-qty__btn{height:40px}
body.ks-cart--classic table.shop_table.cart tr:not(.cart_item){display:block}
body.ks-cart--classic table.shop_table.cart td.actions{display:block;padding:1rem 0 0!important;border:0!important;text-align:right!important}
body.ks-cart--classic table.shop_table.cart td.actions .coupon{display:none}
.js body.ks-cart--classic table.shop_table.cart td.actions button[name=update_cart]{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);padding:0;border:0;min-height:0}
.no-js body.ks-cart--classic table.shop_table.cart td.actions .coupon{display:flex;gap:.5rem}
body.ks-cart--classic .cart-collaterals{width:100%;float:none}
body.ks-cart--classic .cart-collaterals .cart_totals{float:none!important;width:100%!important;max-width:none!important}
body.ks-cart--classic .cart_totals>h2{font-family:var(--ks-font-body);font-size:.8rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;margin:0 0 .75rem}
body.ks-cart--classic .cart_totals table.shop_table{margin:0;border:0}
body.ks-cart--classic .cart_totals table.shop_table tr{display:flex;justify-content:space-between;gap:1rem;border-top:1px solid #E1D6C6}
body.ks-cart--classic .cart_totals table.shop_table tr:first-child{border-top:0}
body.ks-cart--classic .cart_totals table.shop_table th,body.ks-cart--classic .cart_totals table.shop_table td{display:block;padding:.75rem 0!important;border:0!important;background:none!important;font-size:.92rem;text-transform:none;letter-spacing:0;color:var(--ks-charcoal);font-weight:400;text-align:right}
body.ks-cart--classic .cart_totals table.shop_table th{text-align:left;font-weight:500}
body.ks-cart--classic .cart_totals table.shop_table td::before{display:none!important}
body.ks-cart--classic .cart_totals tr.shipping,body.ks-cart--classic .cart_totals tr.woocommerce-shipping-totals{display:none!important}
body.ks-cart--classic .cart_totals tr.ks-ship-note td{color:var(--ks-muted);font-size:.85rem}
body.ks-cart--classic .cart_totals tr.order-total{padding-top:.25rem}
body.ks-cart--classic .cart_totals tr.order-total th,body.ks-cart--classic .cart_totals tr.order-total td{font-size:1.15rem!important;font-weight:600}
body.ks-cart--classic .cart_totals tr.order-total small{display:block;font-size:.75rem;font-weight:400;color:var(--ks-muted)}
body.ks-cart--classic .wc-proceed-to-checkout{padding:.5rem 0 0!important;display:grid;gap:.85rem}
body.ks-cart--classic .wc-proceed-to-checkout a.checkout-button{display:flex!important;align-items:center;justify-content:center;gap:.6rem;width:100%;min-height:56px;margin:0!important;padding:1rem 1.5rem;font-size:1.05rem!important;font-weight:500;letter-spacing:.02em;background:var(--ks-charcoal)!important;border-color:var(--ks-charcoal)!important;color:#fff!important;border-radius:var(--ks-radius)}
body.ks-cart--classic .wc-proceed-to-checkout a.checkout-button:hover{background:var(--ks-cognac)!important;border-color:var(--ks-cognac)!important}
.ks-coupon{border-top:1px solid #E1D6C6;border-bottom:1px solid #E1D6C6;order:-1}
.ks-coupon summary{display:flex;align-items:center;justify-content:space-between;padding:.85rem 0;cursor:pointer;list-style:none;font-size:.9rem;font-weight:500}
.ks-coupon summary::-webkit-details-marker{display:none}
.ks-coupon summary svg{transition:transform .25s var(--ks-ease)}
.ks-coupon[open] summary svg{transform:rotate(45deg)}
.ks-coupon__form{display:flex;gap:.5rem;padding:0 0 1rem}
.ks-coupon__form input{flex:1;min-width:0;min-height:44px!important;background:#fff}
.ks-coupon__form .ks-btn{min-height:44px;padding:.5rem 1.1rem;background:#fff}
.ks-coupon__form .ks-btn:hover{background:var(--ks-charcoal);color:#fff}

/* ---- Cart block ---- */
.ks-cart--block .wp-block-woocommerce-cart{margin:0}
.ks-cart--block .wp-block-woocommerce-cart .wp-block-woocommerce-product-collection,.ks-cart--block .wp-block-woocommerce-cart-cross-sells-block{display:none!important}
.ks-cart--block .wc-block-components-sidebar-layout{margin:0!important}
@media (min-width:990px){
	.ks-cart--block .wc-block-cart.wc-block-components-sidebar-layout.is-large{display:grid;grid-template-columns:minmax(0,1fr) 380px;column-gap:clamp(2rem,4vw,4rem);align-items:start}
	.ks-cart--block .wc-block-cart.is-large>*{min-width:0;width:auto!important;padding:0!important;margin:0!important}
	.ks-cart--block .wc-block-cart.is-large .wc-block-cart__sidebar{position:sticky;top:calc(var(--ks-header-h) + 1.5rem);padding:1.75rem!important}
	.admin-bar.ks-cart--block .wc-block-cart.is-large .wc-block-cart__sidebar{top:calc(var(--ks-header-h) + 32px + 1.5rem)}
}
.ks-cart--block .wc-block-cart__sidebar{margin-top:1.5rem}
.ks-cart--block .wc-block-cart__sidebar .wc-block-components-totals-wrapper{background:none;border-color:#E1D6C6!important;padding-left:0!important;padding-right:0!important}
.ks-cart--block .wc-block-cart__sidebar .wc-block-components-panel__button{padding-left:0;padding-right:0}
.ks-cart--block .wc-block-cart__totals-title{font-family:var(--ks-font-body)!important;font-size:.8rem!important;font-weight:600!important;letter-spacing:.14em!important;text-transform:uppercase;text-align:left!important;padding:0 0 .75rem!important;margin:0!important;border:0!important}
.ks-cart--block .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,.ks-cart--block .wc-block-components-totals-footer-item .wc-block-components-totals-item__value{font-size:1.15rem;font-weight:600}
.ks-cart--block .wc-block-cart__submit{margin:0!important}
.ks-cart--block .wc-block-cart__submit-container{padding:0}
.ks-cart--block .wc-block-cart__submit-button{min-height:56px!important;font-size:1.05rem!important}
.ks-cart--block table.wc-block-cart-items{border-top:1px solid var(--ks-border);margin:0}
.ks-cart--block .wc-block-cart-items__header{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.ks-cart--block table.wc-block-cart-items td{border-color:var(--ks-border)!important}
.ks-cart--block .wc-block-cart-items .wc-block-cart-items__row{padding:1.5rem 0!important}
.ks-cart--block .wc-block-cart-item__image img{border-radius:6px;aspect-ratio:4/5;object-fit:cover;background:var(--ks-cream)}
.ks-cart--block .wc-block-components-product-name{font-size:1rem!important;font-weight:500;color:var(--ks-charcoal)!important;text-decoration:none!important}
.ks-cart--block .wc-block-components-product-name:hover{text-decoration:underline!important}
.ks-cart--block .wc-block-cart-item__prices{font-size:.88rem;color:var(--ks-muted)}
.ks-cart--block .wc-block-components-product-metadata{font-size:.82rem;color:var(--ks-muted)}
.ks-cart--block .wc-block-components-product-metadata__description{display:none}
.ks-cart--block .wc-block-cart-item__total{font-weight:500}
.ks-cart--block .wc-block-components-quantity-selector{border-radius:var(--ks-radius)!important;border-color:#CFC5B8!important}
.ks-cart--block .wc-block-components-quantity-selector::after{border-color:#CFC5B8!important;border-radius:var(--ks-radius)!important}
.ks-cart--block .wc-block-cart-item__remove-link{font-size:.82rem!important;color:var(--ks-muted)!important;text-decoration:underline!important}
.ks-cart--block .wc-block-cart-item__remove-link:hover{color:var(--ks-error)!important}
.ks-cart--block .wp-block-woocommerce-empty-cart-block{max-width:none}
.ks-cart--block .wp-block-woocommerce-empty-cart-block .ks-empty-cart{padding-top:0}

/* ---------------------------------------------------------------
 * Checkout: distraction-free header / footer strip
 * ------------------------------------------------------------- */
.ks-checkout-layout{background:#fff}
.ks-checkout-header{position:relative;z-index:10;background:#fff;border-bottom:1px solid var(--ks-border)}
.ks-checkout-header__inner{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:.75rem;min-height:68px}
@media (min-width:990px){.ks-checkout-header__inner{min-height:84px}}
.ks-checkout-header__back{justify-self:start;display:inline-flex;align-items:center;gap:.4rem;min-height:44px;font-size:.88rem;text-decoration:none;color:var(--ks-muted)}
.ks-checkout-header__back:hover{color:var(--ks-charcoal)}
.ks-checkout-header__brand{justify-self:center;min-width:0}
.ks-checkout-header__brand .ks-logo-text{font-size:clamp(1.15rem,5vw,1.6rem)}
.ks-checkout-header__brand .custom-logo{max-height:40px}
.ks-checkout-header__secure{justify-self:end;display:inline-flex;align-items:center;gap:.4rem;margin:0;font-size:.82rem;font-weight:500;color:var(--ks-ok)}
@media (max-width:599px){
	.ks-checkout-header__back span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
	.ks-checkout-header__secure span{font-size:.72rem;max-width:4.6em;line-height:1.15}
}
.ks-checkout-footer{border-top:1px solid var(--ks-border);background:#fff;color:var(--ks-muted);font-size:.8rem}
.ks-checkout-footer__inner{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.75rem 1.5rem;padding-block:1.1rem}
.ks-checkout-footer p{margin:0}
.ks-checkout-footer__links{list-style:none;display:flex;flex-wrap:wrap;gap:.25rem 1.1rem;margin:0;padding:0}
.ks-checkout-footer a{color:inherit;text-decoration:none}
.ks-checkout-footer a:hover{color:var(--ks-charcoal);text-decoration:underline}
.ks-checkout-footer__secure{display:flex;flex-wrap:wrap;align-items:center;gap:.6rem}
.ks-checkout-footer__lock{display:inline-flex;align-items:center;gap:.3rem}
.ks-payments--sm{gap:.3rem}
.ks-payments--sm .ks-pay{min-width:40px;height:24px;padding:0 .35rem;border:1px solid var(--ks-border);font-size:.58rem}
@media (max-width:749px){.ks-checkout-footer__inner{flex-direction:column;align-items:flex-start}}

/* Checkout page */
.ks-page--checkout{padding-bottom:clamp(2rem,5vw,4rem);min-height:0}
.ks-page--checkout .ks-page-header{padding:clamp(1.25rem,3vw,2rem) 0 1rem}
.ks-page--checkout .ks-page-title{font-size:clamp(1.8rem,3.5vw,2.4rem)}
.ks-checkout-layout .ks-container{max-width:1200px}

/* Classic checkout */
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info,.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info{margin-bottom:1rem}
.woocommerce-checkout form.checkout_coupon{border:1px solid var(--ks-border)!important;border-radius:8px;padding:1.25rem!important;margin:0 0 1.5rem!important}
.woocommerce-checkout form.checkout{display:grid;grid-template-columns:minmax(0,1fr);gap:0}
.woocommerce-checkout form.checkout>*{min-width:0}
.woocommerce-checkout .col2-set{display:grid;gap:1.5rem;width:auto}
.woocommerce-checkout .col2-set::before,.woocommerce-checkout .col2-set::after{display:none}
.woocommerce-checkout .col2-set .col-1,.woocommerce-checkout .col2-set .col-2{float:none!important;width:100%!important;max-width:none}
.woocommerce-checkout h3,#order_review_heading{font-size:1.5rem;margin:0 0 1rem}
@media (min-width:990px){
	.woocommerce-checkout form.checkout{grid-template-columns:minmax(0,1fr) 420px;column-gap:clamp(2rem,4vw,4rem);align-items:start}
	.woocommerce-checkout form.checkout>*{grid-column:1}
	.woocommerce-checkout form.checkout #customer_details{grid-column:1;grid-row:1/span 6}
	.woocommerce-checkout form.checkout #order_review_heading{grid-column:2;grid-row:1;margin:0;padding:1.75rem 1.75rem .75rem;background:var(--ks-cream);border-radius:8px 8px 0 0}
	.woocommerce-checkout form.checkout #order_review{grid-column:2;grid-row:2;position:sticky;top:1.5rem;border-radius:0 0 8px 8px;padding-top:0!important}
}
.woocommerce-checkout #order_review{background:var(--ks-cream);padding:1.5rem;border-radius:8px}
.woocommerce-checkout #order_review_heading{background:var(--ks-cream);padding:1.5rem 1.5rem .5rem;margin:1.5rem 0 0;border-radius:8px 8px 0 0}
.woocommerce-checkout #order_review_heading+#order_review{border-radius:0 0 8px 8px;padding-top:.5rem}
.woocommerce-checkout-review-order-table{border:0!important;margin:0 0 1.25rem!important}
.woocommerce-checkout-review-order-table th,.woocommerce-checkout-review-order-table td{padding:.7rem 0!important;background:none!important;border-color:#E1D6C6!important;font-size:.9rem}
.woocommerce-checkout-review-order-table thead{display:none}
.woocommerce-checkout-review-order-table td.product-total,.woocommerce-checkout-review-order-table tfoot td{text-align:right}
.woocommerce-checkout-review-order-table .order-total th,.woocommerce-checkout-review-order-table .order-total td{font-size:1.15rem;font-weight:600}
.woocommerce-checkout #payment{background:transparent!important;border-radius:0}
.woocommerce-checkout #payment ul.payment_methods{padding:0 0 1rem!important;border:0!important}
.woocommerce-checkout #payment ul.payment_methods li{padding:.85rem 1rem;margin:0 0 .5rem;background:#fff;border:1px solid var(--ks-border);border-radius:6px;list-style:none}
.woocommerce-checkout #payment div.payment_box{background:var(--ks-cream)!important;border-radius:4px;font-size:.88rem}
.woocommerce-checkout #payment div.payment_box::before{border-bottom-color:var(--ks-cream)!important}
.woocommerce-checkout #payment div.form-row{padding:0!important}
.woocommerce form .form-row{margin:0 0 1rem;padding:0}
.woocommerce form .form-row label{margin-bottom:.35rem;display:block;font-size:.85rem}
.woocommerce form .form-row .input-text,.woocommerce form .form-row select{min-height:50px;border-radius:6px;border-color:#CFC5B8}
.woocommerce form .form-row .input-text:focus,.woocommerce form .form-row select:focus{border-color:var(--ks-charcoal);box-shadow:0 0 0 1px var(--ks-charcoal)}
.woocommerce form .form-row-first,.woocommerce form .form-row-last{width:100%;float:none}
@media (min-width:600px){.woocommerce form .form-row-first,.woocommerce form .form-row-last{width:48.5%}.woocommerce form .form-row-first{float:left}.woocommerce form .form-row-last{float:right}}
.woocommerce form .form-row.woocommerce-invalid .input-text,.woocommerce form .form-row.woocommerce-invalid select{border-color:var(--ks-error)}
.select2-container .select2-selection--single{height:50px;border-color:#CFC5B8;border-radius:6px}
.select2-container--default .select2-selection--single .select2-selection__rendered{line-height:48px;padding-left:.9rem}
.select2-container--default .select2-selection--single .select2-selection__arrow{height:48px}
.woocommerce-checkout #place_order,.woocommerce #payment #place_order{float:none;width:100%;min-height:58px;font-size:1.05rem!important;font-weight:600;letter-spacing:.02em;background:var(--ks-cognac)!important;border-color:var(--ks-cognac)!important;color:#fff!important;border-radius:6px}
.woocommerce-checkout #place_order:hover,.woocommerce #payment #place_order:hover{background:var(--ks-charcoal)!important;border-color:var(--ks-charcoal)!important}
.woocommerce-terms-and-conditions-wrapper{font-size:.82rem;color:var(--ks-muted)}

/* Block checkout */
.ks-checkout-layout .wp-block-woocommerce-checkout{margin:0;padding-top:0}
.ks-checkout-layout .wc-block-components-sidebar-layout{margin:0!important}
@media (min-width:990px){
	.ks-checkout-layout .wc-block-checkout.wc-block-components-sidebar-layout.is-large{display:grid;grid-template-columns:minmax(0,1fr) 420px;column-gap:clamp(2rem,4vw,4rem);align-items:start}
	.ks-checkout-layout .wc-block-checkout.is-large>*{min-width:0;width:auto!important;margin:0!important}
	.ks-checkout-layout .wc-block-checkout.is-large .wc-block-checkout__main{padding:0!important}
	.ks-checkout-layout .wc-block-checkout.is-large .wc-block-checkout__sidebar{position:sticky;top:1.5rem;padding:0!important}
}
.ks-checkout-layout .wp-block-woocommerce-checkout-order-summary-block{background:var(--ks-cream);border:0!important;border-radius:8px;padding:.5rem 1.25rem}
.ks-checkout-layout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-totals-wrapper{border-color:#E1D6C6!important;padding-left:0!important;padding-right:0!important}
.ks-checkout-layout .wc-block-components-checkout-order-summary__title{padding-left:0;padding-right:0}
.ks-checkout-layout .wc-block-components-order-summary-item__image img{border-radius:6px}
.ks-checkout-layout .wc-block-components-order-summary-item__quantity{background:var(--ks-charcoal)!important;color:#fff!important;border-color:#fff!important}
.ks-checkout-layout .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,.ks-checkout-layout .wc-block-components-totals-footer-item .wc-block-components-totals-item__value{font-size:1.15rem;font-weight:600}
.ks-checkout-layout .wc-block-components-checkout-step__title,.ks-checkout-layout .wc-block-components-title.wc-block-components-title{font-family:var(--ks-font-head);font-size:1.45rem!important;font-weight:600}
.ks-checkout-layout .wc-block-components-text-input input,.ks-checkout-layout .wc-block-components-combobox .wc-block-components-combobox-control input,.ks-checkout-layout .wc-blocks-components-select .wc-blocks-components-select__select,.ks-checkout-layout .wc-block-components-textarea{border-radius:6px!important;border-color:#CFC5B8!important;background:#fff!important}
.ks-checkout-layout .wc-block-components-text-input input:focus,.ks-checkout-layout .wc-blocks-components-select .wc-blocks-components-select__select:focus{border-color:var(--ks-charcoal)!important;box-shadow:0 0 0 1px var(--ks-charcoal)!important}
.ks-checkout-layout .wc-block-components-radio-control--highlight-checked,.ks-checkout-layout .wc-block-components-radio-control-accordion-option{border-radius:6px}
.ks-checkout-layout .wc-block-components-radio-control--highlight-checked::after{border-color:#CFC5B8!important}
.ks-checkout-layout .wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option--checked-option-highlighted,.ks-checkout-layout .wc-block-components-radio-control--highlight-checked label.wc-block-components-radio-control__option--checked-option-highlighted{box-shadow:inset 0 0 0 1.5px var(--ks-charcoal)!important;border-radius:6px}
.ks-checkout-layout .wc-block-components-checkout-place-order-button,.ks-checkout-layout .wc-block-checkout__actions .wc-block-components-button:not(.is-link){width:100%;min-height:58px!important;background:var(--ks-cognac)!important;border-color:var(--ks-cognac)!important;color:#fff!important;font-size:1.05rem!important;font-weight:600!important;letter-spacing:.02em;border-radius:6px!important}
.ks-checkout-layout .wc-block-components-checkout-place-order-button:hover{background:var(--ks-charcoal)!important;border-color:var(--ks-charcoal)!important}
.ks-checkout-layout .wc-block-checkout__actions_row{flex-direction:column-reverse;align-items:stretch!important;gap:1rem}
.ks-checkout-layout .wc-block-components-checkout-return-to-cart-button{align-self:center;color:var(--ks-muted)!important;font-size:.88rem}
.ks-checkout-layout .wc-block-checkout__terms{font-size:.82rem;color:var(--ks-muted)}

/* Order received */
.woocommerce-order{max-width:860px;margin-inline:auto}
.woocommerce-order .woocommerce-thankyou-order-received{font-family:var(--ks-font-head);font-size:clamp(1.5rem,3vw,2rem);color:var(--ks-charcoal);margin:0 0 1.5rem}
ul.woocommerce-order-overview{list-style:none;display:grid!important;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:1px;margin:0 0 2rem!important;padding:0!important;background:var(--ks-border);border:1px solid var(--ks-border);border-radius:8px;overflow:hidden}
ul.woocommerce-order-overview::before,ul.woocommerce-order-overview::after{display:none!important}
ul.woocommerce-order-overview li{float:none!important;margin:0!important;padding:1rem 1.25rem!important;border:0!important;background:#fff;font-size:.72rem!important;letter-spacing:.1em;text-transform:uppercase;color:var(--ks-muted);overflow-wrap:anywhere}
ul.woocommerce-order-overview li strong{display:block;margin-top:.3rem;font-size:.95rem!important;letter-spacing:0;text-transform:none;color:var(--ks-charcoal)}
.woocommerce-order-details,.woocommerce-customer-details{margin-top:2rem}
.woocommerce-order-details table.shop_table,.woocommerce-customer-details address{border-radius:8px!important}
.woocommerce-customer-details .col2-set{display:grid;gap:1.5rem}
@media (min-width:750px){.woocommerce-customer-details .col2-set{grid-template-columns:1fr 1fr}}
.woocommerce-customer-details .col2-set .col-1,.woocommerce-customer-details .col2-set .col-2{float:none;width:auto}
.wc-block-order-confirmation-summary-list{overflow-wrap:anywhere}


/* My account (v1.2): sidebar card + icon nav, dashboard cards */
.woocommerce-account .ks-page-header--compact{padding-bottom:.25rem}
.woocommerce-account .ks-page-title{font-size:clamp(1.7rem,3vw,2.3rem)}
.woocommerce-account.logged-in .ks-wc-content>.woocommerce{display:grid;grid-template-columns:minmax(0,1fr);gap:1.25rem;align-items:start;padding-bottom:var(--ks-section)}
.woocommerce-account.logged-in .ks-wc-content>.woocommerce::before,.woocommerce-account.logged-in .ks-wc-content>.woocommerce::after{display:none}
.woocommerce-account .woocommerce-notices-wrapper:empty{display:none}
.woocommerce-account .woocommerce-notices-wrapper{grid-column:1/-1}
.woocommerce-account .woocommerce-MyAccount-navigation,.woocommerce-account .woocommerce-MyAccount-content{float:none;width:auto;min-width:0}
@media (min-width:990px){
	.woocommerce-account.logged-in .ks-wc-content>.woocommerce{grid-template-columns:280px minmax(0,1fr);gap:2.5rem}
	.ks-account-side{position:sticky;top:calc(var(--ks-header-h) + 1.5rem)}
	.admin-bar .ks-account-side{top:calc(var(--ks-header-h) + 32px + 1.5rem)}
}
.ks-account-side{min-width:0;border:1px solid var(--ks-border);border-radius:12px;background:#fff;overflow:hidden}
.ks-account-profile{display:flex;align-items:center;gap:.9rem;padding:1.25rem;background:var(--ks-cream);border-bottom:1px solid var(--ks-border)}
.ks-account-profile__avatar{flex:none;display:flex;align-items:center;justify-content:center;width:52px;height:52px;border-radius:50%;background:var(--ks-charcoal);color:var(--ks-cream);font-family:var(--ks-font-head);font-size:1.35rem;font-weight:600;letter-spacing:.04em}
.ks-account-profile__text{min-width:0}
.ks-account-profile__text p{margin:0;line-height:1.35}
.ks-account-profile__hello{font-size:.68rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--ks-cognac)}
.ks-account-profile__name{font-weight:600;font-size:1rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ks-account-profile__email{font-size:.85rem;color:var(--ks-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.woocommerce-MyAccount-navigation ul{list-style:none;margin:0;padding:.5rem;border:0}
.woocommerce-MyAccount-navigation li{border:0;margin:0}
.woocommerce-MyAccount-navigation a{display:flex;align-items:center;gap:.75rem;padding:.7rem .85rem;border-radius:8px;color:var(--ks-charcoal);font-size:.95rem;text-decoration:none;transition:background .2s,color .2s}
.woocommerce-MyAccount-navigation a::before{content:"";flex:none;width:20px;height:20px;background:currentColor;-webkit-mask:no-repeat center/contain;mask:no-repeat center/contain;opacity:.8}
.woocommerce-MyAccount-navigation a:hover{background:#FAF7F2;color:var(--ks-charcoal)}
.woocommerce-MyAccount-navigation .is-active a{background:var(--ks-charcoal);color:#fff;font-weight:500}
.woocommerce-MyAccount-navigation .is-active a::before{opacity:1}
.woocommerce-MyAccount-navigation-link--customer-logout{margin-top:.35rem!important;padding-top:.35rem!important;border-top:1px solid var(--ks-border)!important}
.woocommerce-MyAccount-navigation-link--customer-logout a{color:var(--ks-muted)}
.woocommerce-MyAccount-navigation-link--dashboard a::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='8' rx='1.5'/%3E%3Crect x='14' y='3' width='7' height='5' rx='1.5'/%3E%3Crect x='14' y='12' width='7' height='9' rx='1.5'/%3E%3Crect x='3' y='15' width='7' height='6' rx='1.5'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='8' rx='1.5'/%3E%3Crect x='14' y='3' width='7' height='5' rx='1.5'/%3E%3Crect x='14' y='12' width='7' height='9' rx='1.5'/%3E%3Crect x='3' y='15' width='7' height='6' rx='1.5'/%3E%3C/svg%3E")}
.woocommerce-MyAccount-navigation-link--orders a::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 7 9-4 9 4v10l-9 4-9-4V7Z'/%3E%3Cpath d='m3 7 9 4 9-4M12 11v10'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 7 9-4 9 4v10l-9 4-9-4V7Z'/%3E%3Cpath d='m3 7 9 4 9-4M12 11v10'/%3E%3C/svg%3E")}
.woocommerce-MyAccount-navigation-link--edit-address a::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-12a7 7 0 0 1 14 0c0 5.8-7 12-7 12Z'/%3E%3Ccircle cx='12' cy='9' r='2.5'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-12a7 7 0 0 1 14 0c0 5.8-7 12-7 12Z'/%3E%3Ccircle cx='12' cy='9' r='2.5'/%3E%3C/svg%3E")}
.woocommerce-MyAccount-navigation-link--edit-account a::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c1.5-4 4.5-6 8-6s6.5 2 8 6'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c1.5-4 4.5-6 8-6s6.5 2 8 6'/%3E%3C/svg%3E")}
.woocommerce-MyAccount-navigation-link--payment-methods a::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3 10h18M7 15h4'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3 10h18M7 15h4'/%3E%3C/svg%3E")}
.woocommerce-MyAccount-navigation-link--downloads a::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v11M7 10l5 5 5-5M5 20h14'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v11M7 10l5 5 5-5M5 20h14'/%3E%3C/svg%3E")}
.woocommerce-MyAccount-navigation-link--customer-logout a::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 4h3a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2h-3M10 8l-4 4 4 4M6 12h10'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 4h3a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2h-3M10 8l-4 4 4 4M6 12h10'/%3E%3C/svg%3E")}
@media (max-width:989px){
	.ks-account-side{border-radius:10px}
	.ks-account-profile{padding:.9rem 1rem;gap:.75rem}
	.ks-account-profile__avatar{width:42px;height:42px;font-size:1.1rem}
	.woocommerce-MyAccount-navigation ul{position:relative;display:flex;gap:.4rem;padding:.6rem;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;scroll-snap-type:x proximity}
	.woocommerce-MyAccount-navigation ul::-webkit-scrollbar{display:none}
	.woocommerce-MyAccount-navigation li{flex:none;scroll-snap-align:start}
	.woocommerce-MyAccount-navigation a{padding:.5rem .9rem;border:1px solid var(--ks-border);border-radius:999px;font-size:.88rem;white-space:nowrap;gap:.45rem}
	.woocommerce-MyAccount-navigation a::before{width:16px;height:16px}
	.woocommerce-MyAccount-navigation .is-active a{border-color:var(--ks-charcoal)}
	.woocommerce-MyAccount-navigation-link--customer-logout{margin:0!important;padding:0!important;border:0!important}
}

/* Account content */
.woocommerce-MyAccount-content{font-size:.97rem}
.woocommerce-MyAccount-content>p:first-child{margin-top:0}
.woocommerce-MyAccount-content h2,.woocommerce-MyAccount-content h3{font-size:1.5rem}
.ks-dash{display:grid;gap:1.25rem}
.ks-dash__title{font-size:clamp(1.6rem,3vw,2.1rem)!important;margin:0 0 .25rem}
.ks-dash__lead{margin:0;color:var(--ks-muted)}
.ks-dash__grid{display:grid;gap:1.25rem}
@media (min-width:750px){.ks-dash__grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.ks-dash-card{display:flex;flex-direction:column;align-items:flex-start;gap:.9rem;min-width:0;padding:1.25rem;border:1px solid var(--ks-border);border-radius:12px;background:#fff}
@media (min-width:750px){.ks-dash-card{padding:1.5rem}}
.ks-dash-card__head{display:flex;align-items:center;justify-content:space-between;gap:1rem;width:100%}
.ks-dash-card__title{display:flex;align-items:center;gap:.55rem;margin:0;font-family:var(--ks-font-body);font-size:1rem!important;font-weight:600;letter-spacing:0}
.ks-dash-card__title svg{color:var(--ks-cognac)}
.ks-dash-card__text{margin:0;font-style:normal;line-height:1.6;color:var(--ks-charcoal);overflow-wrap:anywhere}
.ks-dash-card__text--muted{color:var(--ks-muted)}
.ks-dash-card__dl{display:grid;grid-template-columns:auto minmax(0,1fr);gap:.35rem 1rem;margin:0;width:100%}
.ks-dash-card__dl dt{color:var(--ks-muted);font-size:.88rem}
.ks-dash-card__dl dd{margin:0;overflow-wrap:anywhere}
.ks-dash-card>.ks-btn{margin-top:auto}
.ks-btn--sm{min-height:40px;padding:.5rem 1.1rem;font-size:.88rem}
.ks-dash-card--orders{align-items:stretch}
.ks-dash-orders{list-style:none;margin:0;padding:0;border-top:1px solid var(--ks-border)}
.ks-dash-order{border-bottom:1px solid var(--ks-border)}
.ks-dash-order:last-child{border-bottom:0}
.ks-dash-order__link{display:grid;grid-template-columns:minmax(0,1fr) auto auto auto;align-items:center;gap:.5rem 1rem;padding:.9rem .25rem;text-decoration:none;color:inherit}
.ks-dash-order__link:hover{background:#FAF7F2}
.ks-dash-order__link>svg{color:var(--ks-muted)}
.ks-dash-order__main{display:flex;flex-direction:column;min-width:0}
.ks-dash-order__no{font-weight:600}
.ks-dash-order__meta{font-size:.84rem;color:var(--ks-muted)}
.ks-dash-order__total{font-weight:500;white-space:nowrap}
@media (max-width:599px){
	.ks-dash-order__link{grid-template-columns:minmax(0,1fr) auto;padding-inline:0}
	.ks-dash-order__link>svg{display:none}
	.ks-dash-order__link .ks-status{grid-row:2;justify-self:start}
	.ks-dash-order__total{grid-row:1;grid-column:2}
}
.ks-dash-empty{display:flex;flex-direction:column;align-items:flex-start;gap:.75rem}
.ks-dash-empty p{margin:0;color:var(--ks-muted)}
.ks-status{display:inline-flex;align-items:center;padding:.22rem .6rem;border-radius:999px;background:#EEE8DF;color:var(--ks-charcoal);font-size:.74rem;font-weight:600;line-height:1.3;white-space:nowrap}
.ks-status--completed{background:#E5F0E6;color:var(--ks-ok)}
.ks-status--processing{background:#F6EADF;color:var(--ks-cognac-dark)}
.ks-status--on-hold,.ks-status--pending{background:#FFF4D6;color:#7A5A00}
.ks-status--cancelled,.ks-status--failed,.ks-status--refunded{background:#F6E4E1;color:var(--ks-error)}

/* Orders table */
.woocommerce-account table.shop_table{border:1px solid var(--ks-border);border-radius:12px;border-collapse:separate;border-spacing:0;overflow:hidden;margin:0 0 1.25rem}
.woocommerce-account table.shop_table thead th{background:#FAF7F2;font-size:.74rem;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--ks-muted);padding:.85rem 1rem}
.woocommerce-account table.shop_table td,.woocommerce-account table.shop_table tbody th{padding:.9rem 1rem;vertical-align:middle;border-top:1px solid var(--ks-border);background:none;font-size:.93rem;font-weight:400;text-transform:none;letter-spacing:0;color:var(--ks-charcoal)}
.woocommerce-account table.shop_table tr:first-child th{border-top:0}
.woocommerce-account table.shop_table tr:first-child td{border-top:0}
.woocommerce-account table.shop_table th,.woocommerce-account table.shop_table td{border-bottom:0}
.woocommerce-orders-table__cell-order-number a{font-weight:600;text-decoration:none}
.woocommerce-orders-table__cell-order-actions .button{min-height:36px;padding:.4rem .95rem;font-size:.85rem;border-radius:999px;margin:.15rem .25rem .15rem 0}
.woocommerce-orders-table__cell-order-actions .button.view{background:#fff;color:var(--ks-charcoal)}
.woocommerce-orders-table__cell-order-actions .button.view:hover{background:var(--ks-charcoal);color:#fff}
@media (max-width:767px){
	.woocommerce-account table.shop_table_responsive{border:0;border-radius:0;overflow:visible}
	.woocommerce-account table.shop_table_responsive thead{display:none}
	.woocommerce-account table.shop_table_responsive tbody tr{display:block;margin-bottom:.9rem;border:1px solid var(--ks-border);border-radius:12px;overflow:hidden;background:#fff}
	.woocommerce-account table.shop_table_responsive tbody td,.woocommerce-account table.shop_table_responsive tbody th{display:block;text-align:right!important;border-top:1px solid var(--ks-border)!important;padding:.65rem 1rem;overflow:hidden}
	.woocommerce-account table.shop_table_responsive tbody tr>*:first-child{border-top:0!important;background:#FAF7F2}
	.woocommerce-account table.shop_table_responsive tbody td::before,.woocommerce-account table.shop_table_responsive tbody th::before{content:attr(data-title);float:left;margin-right:1rem;font-weight:500;color:var(--ks-muted);font-size:.85rem;text-align:left}
	.woocommerce-account table.shop_table_responsive tbody td.woocommerce-orders-table__cell-order-actions::before{display:none}
	.woocommerce-account table.shop_table_responsive tbody td.woocommerce-orders-table__cell-order-actions{justify-content:flex-end}
}
.woocommerce-account .woocommerce-pagination{display:flex;gap:.5rem}
.woocommerce-account mark{background:none;color:inherit;font-weight:600}
.woocommerce-account .woocommerce-order-details__title,.woocommerce-account .woocommerce-column__title{font-size:1.4rem}

/* Addresses */
.woocommerce-account .woocommerce-Addresses{display:grid;gap:1.25rem;margin-top:1rem}
.woocommerce-account .woocommerce-Addresses::before,.woocommerce-account .woocommerce-Addresses::after{display:none}
@media (min-width:750px){.woocommerce-account .woocommerce-Addresses{grid-template-columns:repeat(2,minmax(0,1fr))}}
.woocommerce-account .woocommerce-Addresses .woocommerce-Address{text-align:left;float:none;width:auto;max-width:none;padding:1.25rem 1.5rem;border:1px solid var(--ks-border);border-radius:12px}
.woocommerce-account .woocommerce-Address-title{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.5rem 1rem;margin-bottom:.75rem}
.woocommerce-account .woocommerce-Address-title::before,.woocommerce-account .woocommerce-Address-title::after{display:none}
.woocommerce-account .woocommerce-Address-title h2,.woocommerce-account .woocommerce-Address-title h3{float:none;width:auto;padding:0;text-align:left;margin:0;font-family:var(--ks-font-body);font-size:1rem!important;font-weight:600}
.woocommerce-account .woocommerce-Address-title .edit{float:none;font-size:.88rem;font-weight:500;color:var(--ks-cognac)}
.woocommerce-account .woocommerce-Address address{font-style:normal;line-height:1.6;color:var(--ks-charcoal)}

/* Forms (edit address, edit account, lost password) */
.woocommerce-account .woocommerce-MyAccount-content form{max-width:720px}
.woocommerce-account .woocommerce-address-fields__field-wrapper,.woocommerce-account form.edit-account{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 1rem}
.woocommerce-account .woocommerce-address-fields__field-wrapper .form-row,.woocommerce-account form.edit-account .form-row{float:none;width:auto;margin:0 0 1rem;padding:0;grid-column:1/-1}
.woocommerce-account .woocommerce-address-fields__field-wrapper .form-row-first,.woocommerce-account form.edit-account .form-row-first{grid-column:1}
.woocommerce-account .woocommerce-address-fields__field-wrapper .form-row-last,.woocommerce-account form.edit-account .form-row-last{grid-column:2}
.woocommerce-account form.edit-account>*:not(.form-row){grid-column:1/-1}
.woocommerce-account form.edit-account .clear{display:none}
@media (max-width:599px){
	.woocommerce-account .woocommerce-address-fields__field-wrapper .form-row-first,.woocommerce-account form.edit-account .form-row-first,.woocommerce-account .woocommerce-address-fields__field-wrapper .form-row-last,.woocommerce-account form.edit-account .form-row-last{grid-column:1/-1}
}
.woocommerce-account .woocommerce form .form-row label{display:block;margin-bottom:.35rem;font-size:.86rem;font-weight:500;line-height:1.4}
.woocommerce-account .woocommerce form .form-row .required{color:var(--ks-cognac);text-decoration:none}
.woocommerce-account fieldset{grid-column:1/-1;margin:1rem 0;padding:1.25rem 1.25rem .25rem;border:1px solid var(--ks-border);border-radius:12px;min-width:0}
.woocommerce-account fieldset legend{padding:0 .5rem;font-weight:600}
.woocommerce-account #account_display_name_description{display:block;margin-top:.35rem;font-size:.82rem;color:var(--ks-muted)}
.woocommerce-account .woocommerce-MyAccount-content form .button{min-width:180px}
.woocommerce-account .password-input{display:block;position:relative}
.woocommerce-account .woocommerce-MyAccount-content>.woocommerce-info,.woocommerce-account .woocommerce-MyAccount-content>.woocommerce-message{border-radius:10px}

/* Logged out: login + register cards side by side */
.ks-account-guest .ks-page-header{text-align:center}
.ks-account-guest .ks-wc-content>.woocommerce{max-width:1040px;margin-inline:auto;padding-bottom:var(--ks-section)}
.ks-login-intro{max-width:560px;margin:-.5rem auto 1.75rem;text-align:center;color:var(--ks-muted)}
.woocommerce .col2-set#customer_login{display:grid;gap:1.25rem}
.woocommerce .col2-set#customer_login::before,.woocommerce .col2-set#customer_login::after{display:none}
@media (min-width:750px){.woocommerce .col2-set#customer_login{grid-template-columns:repeat(2,minmax(0,1fr));gap:1.5rem}}
.woocommerce .col2-set#customer_login .u-column1,.woocommerce .col2-set#customer_login .u-column2{float:none;width:auto;max-width:none;display:flex;flex-direction:column;padding:clamp(1.25rem,3vw,2rem);border:1px solid var(--ks-border);border-radius:14px;background:#fff}
.woocommerce .col2-set#customer_login .u-column1{background:#FAF7F2}
.woocommerce .col2-set#customer_login h2{margin:0 0 1rem;font-size:1.6rem}
.woocommerce .col2-set#customer_login form.login,.woocommerce .col2-set#customer_login form.register{margin:0;padding:0;border:0;max-width:none;flex:1}
.ks-account-guest:not(.ks-account-guest--register) form.woocommerce-form-login{max-width:480px;margin-inline:auto;padding:clamp(1.25rem,3vw,2rem);border:1px solid var(--ks-border);border-radius:14px;background:#FAF7F2}
.woocommerce form.lost_reset_password{max-width:520px;margin-inline:auto;padding:clamp(1.25rem,3vw,2rem);border:1px solid var(--ks-border);border-radius:14px}
.woocommerce form.login .form-row,.woocommerce form.register .form-row,.woocommerce form.lost_reset_password .form-row{float:none;width:auto;margin:0 0 1rem;padding:0}
.woocommerce form.login label,.woocommerce form.register label{display:block;margin-bottom:.35rem;font-size:.86rem}
.woocommerce form.login .woocommerce-form-login__rememberme{display:inline-flex;align-items:center;gap:.5rem;margin:0 0 1rem;font-weight:400}
.woocommerce form.login .woocommerce-form-login__submit,.woocommerce form.register .woocommerce-form-register__submit{display:flex;width:100%;float:none;margin:0}
.woocommerce form.login .lost_password{margin:1rem 0 0;font-size:.9rem;text-align:center}
.woocommerce form.register .woocommerce-privacy-policy-text{font-size:.82rem;color:var(--ks-muted)}
.woocommerce form.register .woocommerce-privacy-policy-text p{margin:0 0 1rem}

/* Override WooCommerce default sale badge */
.woocommerce span.onsale,.woocommerce ul.products li.product .onsale{position:absolute;top:.6rem;left:.6rem;right:auto;min-width:0;min-height:0;margin:0;padding:.3rem .6rem;border-radius:2px;background:var(--ks-cognac);color:#fff;font-size:.72rem;font-weight:600;letter-spacing:.04em;line-height:1.2}
.ks-product-page div.product>span.onsale{top:2.25rem;left:1rem;z-index:3;font-size:.8rem}
.woocommerce ul.products li.product a img{margin:0}

/* Headings inside product accordions */
.ks-accordion__body h1,.ks-accordion__body h2{font-size:1.3rem;margin:1.2em 0 .5em}
.ks-accordion__body h3,.ks-accordion__body h4{font-size:1.1rem;margin:1em 0 .4em}
.ks-accordion__body>*:first-child{margin-top:0}

/* WooCommerce blocks: shared */
.wc-block-components-button:not(.is-link){background:var(--ks-charcoal)!important;color:#fff!important;border-radius:var(--ks-radius)!important;min-height:48px;font-weight:500!important}
.wc-block-components-button:not(.is-link):hover{background:var(--ks-cognac)!important}
.wc-block-components-product-badge{border-color:var(--ks-cognac)!important;color:var(--ks-cognac)!important;border-radius:999px!important}
.wc-block-components-checkbox .wc-block-components-checkbox__input[type=checkbox]:checked{background:var(--ks-charcoal);border-color:var(--ks-charcoal)}
.wc-block-components-radio-control__input:checked{border-color:var(--ks-charcoal)!important}
.wc-block-components-radio-control__input:checked::before{background:var(--ks-charcoal)!important}
.wc-block-components-notice-banner{border-radius:6px}
.wc-block-components-title.wc-block-components-title{font-family:var(--ks-font-head);font-weight:600}
.wc-block-components-product-name{font-family:var(--ks-font-body)!important;letter-spacing:0}
.ks-checkout-layout .wc-block-components-product-metadata__description{display:none}
.ks-cart--block .wc-block-cart-item__image{width:clamp(84px,20vw,112px)!important;padding-right:clamp(.9rem,2vw,1.5rem)!important}
.ks-cart--block .wc-block-cart-item__image img{width:100%!important;max-width:none}
.ks-cart--block table.wc-block-cart-items{border-collapse:collapse;border-bottom:1px solid var(--ks-border)}
.ks-cart--block table.wc-block-cart-items .wc-block-cart-items__row td{border-top:1px solid var(--ks-border)!important;border-bottom:0!important}
@media (min-width:990px){.ks-cart-extras__continue{display:none}}
.select2-container .select2-selection--single{display:flex!important;align-items:center;height:50px!important}
.select2-container--default .select2-selection--single .select2-selection__rendered{line-height:1.3!important;padding:0 2.5rem 0 .9rem!important;width:100%}
.select2-container--default .select2-selection--single .select2-selection__arrow{top:0;right:.4rem}
#ship-to-different-address{font-family:var(--ks-font-body);font-size:1rem;font-weight:500}
#ship-to-different-address label{display:flex;align-items:center;gap:.55rem;font-size:1rem}
input[type=radio],input[type=checkbox]{accent-color:var(--ks-charcoal);width:18px;height:18px;margin:0}
.woocommerce-message,.woocommerce-info{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.5rem 1rem}
.woocommerce-message::after,.woocommerce-info::after{display:none!important}
.woocommerce-message .button,.woocommerce-info .button{order:2;float:none!important;margin:0!important}
body.ks-cart--classic table.shop_table.cart td.actions{background:none!important}
.ks-order-received .ks-page-header{max-width:860px;margin-inline:auto}
@media (max-width:479px){
	.ks-cart--block .wc-block-cart-item__image{width:76px!important;padding-right:.75rem!important}
	.ks-cart--block table.wc-block-cart-items{table-layout:fixed;width:100%}
	.ks-cart--block .wc-block-cart-item__product{min-width:0;overflow-wrap:anywhere}
	.ks-cart--block .wc-block-cart-item__total{padding-left:.5rem!important}
}

/* Gallery (v1.2): one fixed 1:1 viewport for every slide, image contained on cream, no layout shift.
   smoothHeight is disabled in PHP (woocommerce_single_product_carousel_options). */
.woocommerce-product-gallery .flex-viewport{aspect-ratio:1/1;height:auto!important;overflow:hidden;background:var(--ks-cream)}
.woocommerce-product-gallery .woocommerce-product-gallery__wrapper{margin:0}
.woocommerce-product-gallery .woocommerce-product-gallery__image{position:relative;aspect-ratio:1/1;overflow:hidden;background:var(--ks-cream)}
.woocommerce-product-gallery .flex-viewport .woocommerce-product-gallery__image{height:100%}
.woocommerce-product-gallery .woocommerce-product-gallery__image>a{display:flex;align-items:center;justify-content:center;width:100%;height:100%}
.woocommerce-product-gallery .woocommerce-product-gallery__image img.wp-post-image,.woocommerce-product-gallery .woocommerce-product-gallery__image>a>img{width:100%!important;height:100%!important;max-width:none;object-fit:contain;object-position:center;border-radius:0;background:var(--ks-cream)}
/* Before flexslider runs (and without JS) show only the first image, already square. */
.woocommerce-product-gallery:not(:has(.flex-viewport)) .woocommerce-product-gallery__image:not(:first-child){display:none}
.woocommerce-product-gallery .flex-viewport{border-radius:var(--ks-radius-card,6px)}
.woocommerce div.product div.images .flex-control-thumbs li{aspect-ratio:1/1}
.woocommerce div.product div.images .flex-control-thumbs li img{height:100%;aspect-ratio:1/1;object-fit:cover}

/* Description clamp (v1.2, Etsy-style). Only applied with JS, so the text is never hidden without it. */
.js .ks-clamp{position:relative;max-height:8.5em;overflow:hidden;transition:max-height .45s var(--ks-ease)}
.js .ks-clamp::after{content:"";position:absolute;left:0;right:0;bottom:0;height:4.5em;background:linear-gradient(180deg,rgba(255,255,255,0) 0%,#fff 92%);pointer-events:none;transition:opacity .3s}
.js .ks-clamp.is-short{max-height:none}
.js .ks-clamp.is-short::after,.js .ks-clamp.is-expanded::after{opacity:0}
.ks-clamp__inner>*:last-child{margin-bottom:0}
.ks-clamp__toggle{display:flex;align-items:center;justify-content:center;gap:.4rem;margin:.6rem auto 0;padding:.55rem 1rem;border:0;border-radius:999px;background:none;color:var(--ks-charcoal);font-size:.92rem;font-weight:600}
.ks-clamp__toggle:hover{background:var(--ks-cream)}
.ks-clamp__toggle svg{transition:transform .3s var(--ks-ease)}
.ks-clamp__toggle[aria-expanded=true] svg{transform:rotate(180deg)}
.ks-clamp__toggle[hidden]{display:none}
