/* OtaruWear: shared extras plus WooCommerce shop, product, cart and account pages. Uses tokens from main.css. */

/* ---------- prices ---------- */
.price del{color:var(--mute);margin-right:.35em;text-decoration-thickness:1px}
.price ins{text-decoration:none;color:var(--red-text)}
.woocommerce-Price-currencySymbol{margin-left:.1em}
li.product.soldout .stamp{opacity:1;animation:none}
li.product.soldout .ph img:first-child{filter:grayscale(.5) opacity(.85)}
.buy-desc{color:var(--mute);font-size:.95rem}
.buy-desc p{margin:0}

/* ---------- generic pages ---------- */
.page-main .narrow{max-width:860px}
.page-title{margin-bottom:2rem}
.entry{color:var(--cream);max-width:68ch}
.entry > * + *{margin-top:1rem}
.entry a:not(.button):not(.wp-element-button){color:var(--cream);text-underline-offset:.2em}
.entry h2,.entry h3{font-weight:700;text-transform:uppercase;letter-spacing:.02em;margin-top:2.2rem}
.post-list{border-top:1px solid var(--line)}
.post-list a{display:block;padding-top:1.4rem;padding-bottom:1.4rem;border-bottom:1px solid var(--line);text-decoration:none}
.post-list h2{font-size:1.2rem;font-weight:600}
.post-list p{color:var(--mute)}
.page-main > .wrap > .stamp{margin-bottom:1.5rem}
.entry ul{list-style:disc;padding-left:1.4em}
.entry ol{list-style:decimal;padding-left:1.4em}
.entry li + li{margin-top:.35rem}

/* ---------- forms (cart, checkout, account, contact) ---------- */
input[type=text],input[type=email],input[type=tel],input[type=password],input[type=number],input[type=search],input[type=url],select,textarea{
  background:var(--gray);border:1px solid #3a3a3a;color:var(--cream);padding:.75rem .9rem;border-radius:0;font:inherit;max-width:100%}
input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--cream);outline-offset:1px}
label{font-size:.9rem}
.button,button.button,a.button,input.button,.wc-block-components-button:not(.is-link),.wp-element-button{
  display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:.8rem 1.7rem;background:var(--cream);color:var(--black);
  border:0;border-radius:0;font:500 .72rem/1 var(--f);letter-spacing:.18em;text-transform:uppercase;text-decoration:none;cursor:pointer}
.button:hover,a.button:hover,.wc-block-components-button:not(.is-link):hover{background:#fff;color:var(--black)}
.single_add_to_cart_button,.checkout-button,#place_order,.wc-block-components-checkout-place-order-button{background:var(--red)!important;color:var(--cream)!important}
.single_add_to_cart_button:hover,.checkout-button:hover,#place_order:hover{background:#9e1f25!important}

/* ---------- notices ---------- */
.woocommerce-message,.woocommerce-info,.woocommerce-error,.wc-block-components-notice-banner{
  list-style:none;background:var(--gray);border-left:3px solid var(--red);padding:1rem 1.2rem;margin:0 0 2rem;color:var(--cream)}
/* Message left, button right, both centred on one line. WooCommerce focuses the notice for screen readers; no ring for that. */
.woocommerce-message,.woocommerce-info{display:flex;align-items:center;justify-content:space-between;gap:.6rem 1rem}
.woocommerce-message .button,.woocommerce-info .button{order:2;flex:none;min-height:40px;padding:.5rem 1rem;margin:0}
.woocommerce-message:focus,.woocommerce-info:focus,.woocommerce-error:focus,.woocommerce-notices-wrapper:focus{outline:0}


/* ---------- page head (every inner page) ---------- */
.phead{border-bottom:1px solid var(--line);padding-top:clamp(3rem,7vw,5.5rem);padding-bottom:clamp(2rem,4vw,3rem)}
.phead .wrap{display:grid;gap:1.1rem;justify-items:start}
.phead-title{font-weight:900;font-size:clamp(2.6rem,7.5vw,6.2rem);line-height:.86;letter-spacing:-.04em;text-transform:uppercase;margin-left:-.03em;text-wrap:balance;max-width:16ch}
.phead .lead{font-size:1rem;max-width:38rem}
.phead .woocommerce-breadcrumb{margin:0}
.phead-block.has-photo .wrap{grid-template-columns:minmax(0,7fr) minmax(0,5fr);align-items:end;gap:clamp(2rem,5vw,4rem)}
.phead-text{display:grid;gap:1.1rem;justify-items:start}
.phead-photo{margin:0;width:100%}
.phead-photo img{width:100%;aspect-ratio:4/5;object-fit:cover}
@media (max-width:820px){.phead-block.has-photo .wrap{grid-template-columns:minmax(0,1fr)}}
.page-body{padding-top:clamp(2.5rem,5vw,4rem);padding-bottom:clamp(4rem,8vw,6rem)}
.page-shop .page-body{padding-top:2.5rem}

/* ---------- breadcrumb ---------- */
.woocommerce-breadcrumb{color:var(--mute);margin-bottom:1.6rem}
.woocommerce-breadcrumb a{text-decoration:none}
.woocommerce-breadcrumb a:hover{color:var(--cream)}

/* ---------- chips (filters) ---------- */
.shop-bar{border-bottom:1px solid var(--line)}
.shop-bar .wrap{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.8rem 1.6rem;padding-top:1rem;padding-bottom:1rem}
.shop-bar .chips:first-child{grid-column:1/-1}
.shop-bar .chips-anime{grid-column:1/-1}
.chips{display:flex;gap:.4rem;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.chips::-webkit-scrollbar{display:none}
.chips a{flex:none;display:inline-flex;align-items:center;gap:.45rem;min-height:40px;padding:.5rem .95rem;border:1px solid var(--line);text-decoration:none;font-size:.68rem;font-weight:500;letter-spacing:.14em;text-transform:uppercase;white-space:nowrap;transition:border-color .2s,background-color .2s,color .2s}
.chips a:hover{border-color:var(--cream)}
.chips a[aria-current="page"],.chips a[aria-pressed="true"]{background:var(--cream);border-color:var(--cream);color:var(--black)}
.chips .jp{font:900 .85rem/1 var(--f-jp);letter-spacing:0;color:var(--red-text)}
.chips a[aria-pressed="true"] .jp{color:var(--red)}
.chips-weight{gap:.4rem}
.shop-sort{margin-left:auto;display:flex;align-items:center;gap:1.2rem}
.shop-count{color:var(--mute);font-size:.8rem;white-space:nowrap}
.woocommerce-ordering{margin:0}
.woocommerce-ordering select{min-height:40px;padding:.4rem 2.2rem .4rem .8rem;font-size:.72rem;letter-spacing:.12em;text-transform:uppercase;-webkit-appearance:none;appearance:none;background:var(--black) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none' stroke='%23efe7d8' stroke-width='1.4'%3E%3Cpath d='m1 1 4 4 4-4'/%3E%3C/svg%3E") no-repeat right .8rem center;border-color:var(--line);cursor:pointer}
@media (max-width:900px){
  .shop-bar .wrap{display:grid;grid-template-columns:minmax(0,1fr);gap:.7rem}
  .chips{margin-left:-20px;margin-right:-20px;padding-left:20px;padding-right:20px}
  .shop-sort{margin-left:0;justify-content:space-between}
}

/* ---------- product grid on listings ---------- */
.shop-grid{padding-top:2.5rem;padding-bottom:clamp(4rem,8vw,6rem)}
.woo-main ul.products{list-style:none;padding:0;margin:0}
.woo-main ul.products::before,.woo-main ul.products::after{display:none}
.woocommerce-pagination{margin-top:4rem;border-top:1px solid var(--line);padding-top:2rem}
.woocommerce-pagination ul{display:flex;flex-wrap:wrap;gap:.4rem;list-style:none;padding:0;margin:0}
.woocommerce-pagination a,.woocommerce-pagination span{display:grid;place-items:center;min-width:44px;min-height:44px;padding:0 .6rem;border:1px solid var(--line);text-decoration:none;font-size:.85rem;font-variant-numeric:tabular-nums}
.woocommerce-pagination a:hover{border-color:var(--cream)}
.woocommerce-pagination .current{background:var(--cream);border-color:var(--cream);color:var(--black)}
.shop-empty{display:grid;gap:1.2rem;justify-items:start;padding-top:3rem;padding-bottom:3rem}

/* ---------- single product ---------- */
.woo-single > .wrap{padding-top:1.6rem}
.woo-main div.product{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:clamp(2rem,5vw,4.5rem);align-items:start;padding-bottom:clamp(3rem,6vw,5rem)}
.woo-main div.product .woocommerce-product-gallery{grid-column:1;position:relative;margin:0;opacity:1!important}
.woo-main div.product .woocommerce-product-gallery__wrapper{margin:0}
.woo-main div.product .woocommerce-product-gallery__image{background:var(--photo)}
.woo-main div.product .woocommerce-product-gallery img{width:100%;height:auto;display:block}
.woo-main div.product .flex-control-thumbs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.5rem;list-style:none;padding:0;margin:.5rem 0 0}
.woo-main div.product .flex-control-thumbs img{cursor:pointer;opacity:.55;background:var(--photo);transition:opacity .2s;outline:1.5px solid transparent;outline-offset:-1.5px}
.woo-main div.product .flex-control-thumbs img.flex-active{opacity:1;outline-color:var(--red)}
.woo-main div.product .flex-control-thumbs img:hover{opacity:1}
.woo-main div.product .woocommerce-product-gallery__trigger{position:absolute;right:1rem;top:1rem;z-index:3;display:block;width:44px;height:44px;background:rgba(11,11,11,.8) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23efe7d8' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='m16 16 4.5 4.5'/%3E%3C/svg%3E") center/22px no-repeat;border-radius:0;font-size:0;text-decoration:none;transition:background-color .2s}
.woo-main div.product .woocommerce-product-gallery__trigger:hover{background-color:rgba(11,11,11,.95)}
.woo-main div.product .woocommerce-product-gallery__trigger::before,.woo-main div.product .woocommerce-product-gallery__trigger::after{content:none}
.woo-main div.product .woocommerce-product-gallery__trigger > *{display:none!important}

.woo-main div.product .summary{grid-column:2;position:sticky;top:88px;display:grid;gap:1.15rem;align-content:start}
.admin-bar .woo-main div.product .summary{top:120px}
.pser{justify-self:start;color:var(--red-text);text-decoration:none;margin-bottom:-.6rem}
.pser:hover{text-decoration:underline;text-underline-offset:.3em}
.woo-main div.product .product_title{font-weight:800;font-size:clamp(1.9rem,3.2vw,2.9rem);line-height:.98;letter-spacing:-.025em;text-transform:uppercase;text-wrap:balance}
.woo-main div.product .woocommerce-product-rating{display:flex;align-items:center;gap:.7rem;font-size:.8rem;color:var(--mute)}
.woo-main div.product .woocommerce-review-link{color:var(--mute);text-underline-offset:.25em}
.woo-main div.product .summary > .price{font-size:1.6rem;font-weight:600;font-variant-numeric:tabular-nums}
.woo-main div.product .woocommerce-product-details__short-description{color:var(--mute);font-size:.95rem}
.woo-main div.product .woocommerce-product-details__short-description > * + *{margin-top:.6rem}

/* star rating without the WooCommerce icon font */
.star-rating{position:relative;display:inline-block;width:5.6em;height:1em;font-size:.85rem;line-height:1;overflow:hidden;letter-spacing:.12em}
.star-rating::before{content:"★★★★★";position:absolute;top:0;right:0;bottom:0;left:0;color:#3a3a3a}
.star-rating span{position:absolute;top:0;right:auto;bottom:0;left:0;overflow:hidden;font-size:0;padding-top:0}
.star-rating span::before{content:"★★★★★";position:absolute;left:0;top:0;font-size:.85rem;color:var(--red-text);letter-spacing:.12em}
.star-rating span strong,.star-rating span .rating{display:none}

/* variations: selects become buttons (assets/js/main.js); selects stay as fallback */
.woo-main div.product form.cart{display:flex;flex-wrap:wrap;gap:.6rem;align-items:stretch;margin:0}
.woo-main div.product form.variations_form{display:block}
.woo-main div.product table.variations{width:100%;border-collapse:collapse;margin:0 0 1rem}
.woo-main div.product table.variations tr{display:grid;gap:.55rem;padding-bottom:1.1rem}
.woo-main div.product table.variations th,.woo-main div.product table.variations td{padding:0;text-align:left}
.woo-main div.product table.variations label{font-size:.68rem;font-weight:500;letter-spacing:.16em;text-transform:uppercase;color:var(--mute)}
.woo-main div.product table.variations label .picked{color:var(--cream);margin-left:.5em;letter-spacing:.08em}
.woo-main div.product table.variations select{width:100%;min-height:48px}
.has-swatches select{position:absolute!important;width:1px!important;height:1px!important;opacity:0;pointer-events:none}
.swatches{display:flex;flex-wrap:wrap;gap:.4rem}
.swatches button{min-width:52px;min-height:44px;padding:.5rem .85rem;justify-content:center;line-height:1;background:transparent;border:1px solid #3a3a3a;color:var(--cream);font-size:.78rem;font-weight:500;letter-spacing:.06em;text-transform:uppercase;cursor:pointer;display:inline-flex;align-items:center;gap:.5rem;transition:border-color .15s,background-color .15s,color .15s}
.swatches button:hover{border-color:var(--cream)}
.swatches button[aria-pressed="true"]{background:var(--cream);border-color:var(--cream);color:var(--black)}
.swatches button:disabled{opacity:.35;text-decoration:line-through;cursor:not-allowed}
.swatches .dot{width:14px;height:14px;border-radius:50%;box-shadow:inset 0 0 0 1px rgba(239,231,216,.35)}
.swatches button[aria-pressed="true"] .dot{box-shadow:inset 0 0 0 1px rgba(11,11,11,.35)}
.woo-main div.product .reset_variations{font-size:.72rem;letter-spacing:.12em;text-transform:uppercase;color:var(--mute);margin-top:.6rem;display:inline-block}
.woo-main div.product .single_variation_wrap{display:grid;gap:.8rem}
.woo-main div.product .woocommerce-variation-price .price{font-size:1.15rem;font-weight:600}
.woo-main div.product .woocommerce-variation-add-to-cart{display:flex;gap:.6rem}
.woo-main div.product .quantity input{width:4.6rem;min-height:56px;text-align:center;font-variant-numeric:tabular-nums}
.woo-main div.product .single_add_to_cart_button{flex:1;min-height:56px;font-size:.8rem}
.woo-main div.product .single_add_to_cart_button.disabled{opacity:.55;cursor:not-allowed}
.woo-main div.product .stock{color:var(--mute);font-size:.88rem}
.woo-main div.product .stock.out-of-stock{color:var(--red-text)}

.ptrust{display:grid;gap:.55rem;border-top:1px solid var(--line);padding-top:1.2rem;font-size:.85rem}
.ptrust li{display:flex;align-items:baseline;gap:.6rem}
.ptrust li::before{content:"";flex:none;width:6px;height:6px;background:var(--red);border-radius:50%;transform:translateY(-.1em)}

/* details band (accordion) */
/* Full-width grey band without widening the page: 100vw counts the scrollbar on Windows and let the page scroll sideways. */
.bleed{box-shadow:0 0 0 100vmax var(--gray);clip-path:inset(0 -100vmax)}
.pdetails .wrap{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,7fr);gap:clamp(2rem,5vw,4.5rem);padding-left:0;padding-right:0}
.pd-body{padding-bottom:1.6rem;color:var(--mute);font-size:.95rem;max-width:46rem}
.pd-body.entry{color:var(--mute);max-width:46rem}
.pd-body.entry strong,.pd-body.entry b{color:var(--cream);font-weight:600}
.pd-body.entry h2,.pd-body.entry h3,.pd-body.entry h4{color:var(--cream);font-size:.85rem;letter-spacing:.14em;margin-top:1.6rem}
.pd-body p + p{margin-top:.8rem}
.pd-body .ulink{color:var(--cream)}
.woocommerce-product-attributes{width:100%;border-collapse:collapse}
.woocommerce-product-attributes th,.woocommerce-product-attributes td{text-align:left;padding:.7rem 0;border-bottom:1px solid var(--line);vertical-align:top}
.woocommerce-product-attributes th{width:38%;color:var(--mute);font-size:.72rem;font-weight:500;letter-spacing:.14em;text-transform:uppercase;padding-right:1rem}
.woocommerce-product-attributes td{color:var(--cream)}
.woocommerce-product-attributes td p{margin:0}
@media (max-width:860px){.pdetails .wrap{grid-template-columns:minmax(0,1fr)}}

/* reviews inside the accordion */
.woocommerce-Reviews-title{display:none}
.woocommerce-Reviews .commentlist{list-style:none;padding:0;margin:0}
.woocommerce-Reviews .commentlist li{border-top:1px solid var(--line);padding-top:1.1rem;padding-bottom:1.1rem}
.woocommerce-Reviews .commentlist li:first-child{border-top:0;padding-top:0}
.woocommerce-Reviews .comment_container{display:block}
.woocommerce-Reviews .avatar{display:none}
.woocommerce-Reviews .comment-text{display:grid;gap:.45rem}
.woocommerce-Reviews .meta{font-size:.68rem;letter-spacing:.16em;text-transform:uppercase;color:var(--mute);margin:0}
.woocommerce-Reviews .meta strong{color:var(--cream);font-weight:500}
.woocommerce-Reviews .description{color:var(--cream)}
.woocommerce-Reviews .woocommerce-review__dash{display:none}
.woocommerce-noreviews{margin-bottom:1rem}
#review_form_wrapper{border-top:1px solid var(--line);margin-top:1.4rem;padding-top:1.4rem}
#review_form .comment-reply-title{font-weight:600;font-size:.85rem;letter-spacing:.14em;text-transform:uppercase;color:var(--cream);display:block;margin-bottom:1rem}
#review_form p{margin:0 0 1rem}
#review_form label{display:block;margin-bottom:.4rem;color:var(--mute);font-size:.72rem;letter-spacing:.12em;text-transform:uppercase}
#review_form textarea,#review_form input[type=text],#review_form input[type=email]{width:100%}
#review_form .stars{margin:0}
#review_form .stars span{display:flex;gap:.2rem}
#review_form .stars a{display:grid;place-items:center;width:40px;height:40px;font-size:0;text-decoration:none;border:1px solid var(--line)}
#review_form .stars a::before{content:"★";font-size:1.1rem;color:#3a3a3a}
#review_form .stars:hover a::before,#review_form .stars.selected a::before{color:var(--red-text)}
#review_form .stars a:hover ~ a::before,#review_form .stars.selected a.active ~ a::before{color:#3a3a3a}
#review_form .comment-form-cookies-consent{display:flex;gap:.6rem;align-items:start}
#review_form .comment-form-cookies-consent label{text-transform:none;letter-spacing:0;font-size:.85rem}

.prelated{border-top:1px solid var(--line)}

@media (max-width:900px){
  .woo-main div.product{grid-template-columns:minmax(0,1fr)}
  .woo-main div.product .woocommerce-product-gallery,.woo-main div.product .summary{grid-column:1}
  .woo-main div.product .summary{position:static}
  .woo-main div.product .flex-control-thumbs{display:flex;overflow-x:auto;scrollbar-width:none}
  .woo-main div.product .flex-control-thumbs li{flex:0 0 22%}
}

/* ---------- cart, checkout, account ---------- */
.page-shop .woo-entry{color:var(--cream)}
.shop_table{width:100%;border-collapse:collapse}
.shop_table th,.shop_table td{padding:1rem .6rem;border-bottom:1px solid var(--line);text-align:left;vertical-align:middle}
.shop_table img{width:72px;height:auto;background:var(--photo)}

/* WooCommerce cart & checkout blocks */
.wc-block-cart,.wc-block-checkout{color:var(--cream)}
.wc-block-components-sidebar-layout{gap:clamp(2rem,4vw,4rem)}
.wc-block-components-sidebar{background:var(--gray);padding:1.6rem!important;align-self:start}
.wc-block-cart__sidebar .wc-block-components-panel,.wc-block-components-totals-wrapper{border-color:var(--line)!important}
.wc-block-components-title,.wc-block-cart__totals-title,.wc-block-components-checkout-step__title{font-weight:700!important;text-transform:uppercase;letter-spacing:.02em}
.wc-block-cart__totals-title{font-size:.72rem!important;letter-spacing:.16em!important;color:var(--mute)}
.wc-block-cart-items{border-collapse:collapse}
.wc-block-cart-items th{font-size:.68rem!important;letter-spacing:.16em;text-transform:uppercase;color:var(--mute);font-weight:500!important}
.wc-block-cart-items td,.wc-block-cart-items th{border-color:var(--line)!important}
.wc-block-cart-item__image img{background:var(--photo)}
.wc-block-components-product-name{color:var(--cream)!important;font-weight:600;text-decoration:none!important}
.wc-block-components-product-metadata{color:var(--mute);font-size:.82rem}
.wc-block-components-quantity-selector{border-color:#3a3a3a!important;border-radius:0!important}
.wc-block-components-quantity-selector input,.wc-block-components-quantity-selector button{color:var(--cream)!important;background:transparent!important}
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value,.wc-block-components-totals-footer-item .wc-block-components-totals-item__label{font-size:1.25rem!important;font-weight:700!important}
.wc-block-components-text-input input,.wc-block-components-combobox input,.wc-block-components-select select,.wc-block-components-textarea,.wc-blocks-components-select__select{background:var(--gray)!important;color:var(--cream)!important;border-color:#3a3a3a!important;border-radius:0!important}
.wc-block-components-text-input label,.wc-block-components-combobox label,.wc-blocks-components-select__label{color:var(--mute)!important}
.wc-block-components-radio-control__option,.wc-block-components-radio-control-accordion-option{border-color:var(--line)!important;border-radius:0!important}
.wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control__option--checked-option-highlighted,.wc-block-components-radio-control-accordion-option--checked-option-highlighted{box-shadow:inset 0 0 0 1.5px var(--cream)!important}
.wc-block-components-radio-control__input,.wc-block-components-checkbox__input{border-color:#5a5a5a!important;background:transparent!important}
.wc-block-components-radio-control__input:checked::before{background:var(--red)!important}
.wc-block-components-checkbox__mark{fill:var(--cream)!important}
.wc-block-components-address-card{border-color:var(--line)!important;border-radius:0!important}
.wc-block-checkout__terms,.wc-block-components-checkout-return-to-cart-button{color:var(--mute)}
.wc-block-components-checkout-return-to-cart-button{text-decoration:none}
.wc-block-components-panel__button,.wc-block-components-totals-coupon-link{color:var(--cream)!important}
.wc-block-components-order-summary-item__image img{background:var(--photo)}
.wc-block-components-order-summary-item__quantity{background:var(--red)!important;color:var(--cream)!important;border:0!important;box-shadow:none!important}
.wc-block-components-button:not(.is-link).wc-block-components-checkout-place-order-button,.wc-block-cart__submit-button{background:var(--red)!important;color:var(--cream)!important;min-height:58px;font-size:.8rem}
.wc-block-components-button:not(.is-link).wc-block-components-checkout-place-order-button:hover,.wc-block-cart__submit-button:hover{background:#9e1f25!important}
.wc-block-components-button__text{color:inherit}

/* cart cross-sells & empty cart product grid */
.wp-block-woocommerce-cart-cross-sells-block,.wp-block-woocommerce-product-new{margin-top:3rem}
.wc-block-grid__products,.cross-sells-product{list-style:none}
.wc-block-components-product-name,.wc-block-grid__product-title{font-size:.95rem!important;font-weight:500!important;text-transform:none!important;letter-spacing:0!important}
.cross-sells-product .wc-block-components-product-image img,.wc-block-grid__product-image img{background:var(--photo);aspect-ratio:4/5;object-fit:cover}
.cross-sells-product .wp-block-button__link,.wc-block-grid__product-add-to-cart .wp-block-button__link,.wc-block-components-product-button__button{background:transparent!important;color:var(--cream)!important;box-shadow:inset 0 0 0 1px var(--line);min-height:42px;font-size:.66rem!important}
.cross-sells-product .wp-block-button__link:hover,.wc-block-components-product-button__button:hover{box-shadow:inset 0 0 0 1px var(--cream)}
.wc-block-cart__empty-cart__title{font-weight:900!important;text-transform:uppercase;letter-spacing:-.02em;font-size:clamp(1.8rem,4vw,3rem)!important}
.wc-block-cart__empty-cart__title::before{display:none!important}

/* account */
.woocommerce-account .woo-entry > .woocommerce{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,3fr);gap:clamp(2rem,5vw,4rem)}
.woocommerce-MyAccount-navigation ul{list-style:none;padding:0;border-top:1px solid var(--line)}
.woocommerce-MyAccount-navigation a{display:block;padding:.95rem 0;border-bottom:1px solid var(--line);text-decoration:none;font-size:.72rem;letter-spacing:.16em;text-transform:uppercase}
.woocommerce-MyAccount-navigation a:hover{color:var(--red-text)}
.woocommerce-MyAccount-navigation .is-active a{color:var(--red-text);box-shadow:inset 3px 0 0 var(--red);padding-left:.9rem}
.woocommerce-MyAccount-content{display:grid;gap:1rem;align-content:start}
.woocommerce-MyAccount-content a:not(.button){color:var(--cream)}
.woocommerce-account .woocommerce-orders-table__cell-order-actions .button{min-height:40px;padding:.5rem 1rem}
#customer_login{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(2rem,5vw,4rem)}
#customer_login h2,.woocommerce-form-login + h2{font-weight:700;font-size:clamp(1.6rem,3vw,2.2rem);text-transform:uppercase;letter-spacing:-.01em;margin-bottom:1.2rem}
.woocommerce-form-login,.woocommerce-form-register,.woocommerce-ResetPassword,.woocommerce-EditAccountForm,.woocommerce-address-fields{display:grid;gap:1rem;max-width:30rem}
.woocommerce-form-row{display:grid;gap:.4rem;margin:0}
.woocommerce-form-row label,.woocommerce-address-fields label,.woocommerce-EditAccountForm label{color:var(--mute);font-size:.72rem;letter-spacing:.12em;text-transform:uppercase}
.woocommerce-form-row input.input-text,.woocommerce-address-fields input.input-text{width:100%}
.woocommerce-form-login__rememberme{display:flex;gap:.5rem;align-items:center;font-size:.85rem}
.woocommerce-LostPassword a{color:var(--mute);font-size:.85rem}
.woocommerce-account .woocommerce-form-login{padding:0;border:0}
@media (max-width:820px){.woocommerce-account .woo-entry > .woocommerce,#customer_login{grid-template-columns:minmax(0,1fr)}}
.woocommerce-account .woocommerce-form-login .button,.woocommerce-form-register .button{justify-self:start}
.woocommerce-account .u-columns{display:grid}

/* ---------- inner-page sections ---------- */
.story .wrap{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,7fr);gap:clamp(2rem,5vw,4.5rem)}
.story-text{display:grid;gap:1.1rem;max-width:42rem}
.story-text p{color:var(--mute);font-size:1.05rem;line-height:1.65}
.story-text p:first-child{color:var(--cream);font-size:clamp(1.2rem,2vw,1.5rem);line-height:1.4;font-weight:500;letter-spacing:-.01em}
.numbers .wrap{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,7fr);gap:clamp(2rem,5vw,4.5rem);align-items:start}
.facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 2rem;margin:0;border-top:1px solid var(--line)}
.facts div{padding-top:1.3rem;padding-bottom:1.3rem;border-bottom:1px solid var(--line);display:grid;gap:.3rem}
.facts dd{order:-1;margin:0;font-weight:900;font-size:clamp(2.2rem,4.5vw,3.8rem);line-height:.9;letter-spacing:-.035em;font-variant-numeric:tabular-nums}
.facts dt{color:var(--mute);font-size:.72rem;letter-spacing:.14em;text-transform:uppercase}
.contact .wrap{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,7fr);gap:clamp(2rem,5vw,4.5rem)}
.contact-list{border-top:1px solid var(--line)}
.contact-list li{display:grid;grid-template-columns:minmax(0,9rem) minmax(0,1fr);gap:.2rem 1.5rem;padding-top:1.3rem;padding-bottom:1.3rem;border-bottom:1px solid var(--line);align-items:baseline}
.cl-label{color:var(--mute)}
.cl-value{font-weight:700;font-size:clamp(1.15rem,2.2vw,1.6rem);letter-spacing:-.01em;text-decoration:none;word-break:break-word}
a.cl-value:hover{color:var(--red-text)}
.cl-note{grid-column:2;color:var(--mute);font-size:.9rem}
@media (max-width:860px){
  .story .wrap,.numbers .wrap,.contact .wrap{grid-template-columns:minmax(0,1fr)}
  .contact-list li{grid-template-columns:minmax(0,1fr)}
  .cl-note{grid-column:1}
}
@media (max-width:480px){.facts{grid-template-columns:minmax(0,1fr)}}

/* ---------- header search ---------- */
.search > summary{cursor:pointer}
.search-panel{position:absolute;left:0;right:0;top:100%;background:rgba(17,17,17,.97);border-bottom:1px solid var(--line);padding-top:1.2rem;padding-bottom:1.2rem;box-shadow:0 30px 60px -30px rgba(0,0,0,.9);animation:fadeIn .2s ease}
.search-panel form{display:flex;gap:.6rem;max-width:760px;margin-left:auto;margin-right:auto}
.search-panel input{flex:1;min-height:52px;font-size:1rem;text-transform:none;letter-spacing:0;border-radius:999px!important;padding-left:1.3rem!important;padding-right:1.3rem!important}

/* ---------- 404 ---------- */
.nf-stamp{order:-1}
.nf-search{display:flex;gap:.6rem;width:100%;max-width:34rem;margin-top:.6rem}
.nf-search input{flex:1;min-height:50px}
.numbers{border-top:1px solid var(--line)}

/* cart cross-sells read like the home page cards */
.cross-sells-product{text-align:left!important}
.cross-sells-product .wc-block-components-product-name{display:block;margin:.9rem 0 .2rem;font-size:.95rem!important;line-height:1.35}
.cross-sells-product .wc-block-components-product-price{font-size:.9rem;color:var(--cream)}
.cross-sells-product .wp-block-button{justify-content:flex-start;margin-top:.6rem}
.wp-block-woocommerce-cart-cross-sells-block > h2,.wp-block-woocommerce-cart-cross-sells-block .wp-block-heading{font-weight:600!important;font-size:1.1rem!important;text-transform:uppercase;letter-spacing:.14em}
.wc-block-components-checkout-order-summary__title-text,.wc-block-components-order-summary__button-text{font-weight:600!important;font-size:.72rem!important;letter-spacing:.16em;text-transform:uppercase;color:var(--mute)}

/* Coupon chips and badges: rounded like the rest of the 0.3.7 look. */
.wc-block-components-chip,.wc-block-components-totals-discount__coupon-list-item{border-radius:999px!important}

/* ---------- 0.3.7 refresh ---------- */
input[type=text],input[type=email],input[type=tel],input[type=password],input[type=number],input[type=search],input[type=url],select,textarea{border-radius:var(--r-sm);border-color:#333;transition:border-color .2s}
input:hover,select:hover,textarea:hover{border-color:#4a4a4a}
.button,button.button,a.button,input.button,.wc-block-components-button:not(.is-link),.wp-element-button{border-radius:999px!important;font-weight:600;letter-spacing:.14em;transition:background-color .25s,color .25s,transform .25s var(--ease)}
.button:hover,a.button:hover{transform:translateY(-1px)}
.wc-block-components-quantity-selector,.wc-block-components-text-input input,.wc-block-components-combobox input,.wc-block-components-select select,.wc-block-components-textarea,.wc-blocks-components-select__select,.wc-block-components-radio-control__option,.wc-block-components-radio-control-accordion-option,.wc-block-components-address-card{border-radius:var(--r-sm)!important}
.woocommerce-message,.woocommerce-info,.woocommerce-error,.wc-block-components-notice-banner{border-radius:var(--r-sm)}
.chips a{border-radius:999px}
.woocommerce-ordering select{border-radius:999px}
.woocommerce-pagination a,.woocommerce-pagination span{border-radius:999px}
.swatches button{border-radius:999px;border-color:#333}
.woo-main div.product .woocommerce-product-gallery__image,.woo-main div.product .woocommerce-product-gallery__wrapper{border-radius:var(--r);overflow:hidden}
.woo-main div.product .flex-control-thumbs img{border-radius:var(--r-sm)}
.woo-main div.product .woocommerce-product-gallery__trigger{border-radius:50%;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
.phead-photo img{border-radius:var(--r)}
#review_form .stars a{border-radius:50%}
.woo-main div.product .summary{top:96px;transition:top .35s var(--ease)}
.woo-main .quantity input.qty{border-radius:999px;text-align:center}

/* ---------- 0.3.11 small screens and older phones ---------- */
.nf-search input{min-width:0}
.phead .wrap{grid-template-columns:minmax(0,1fr)}
.phead .wrap > *{max-width:100%}
.phead-title{font-size:clamp(2.1rem,7.5vw,6.2rem)}
.shop-sort{flex-wrap:wrap;min-width:0}
.woocommerce-ordering,.woocommerce-ordering select{max-width:100%}
.woocommerce-MyAccount-content{grid-template-columns:minmax(0,1fr)}
.wc-block-components-totals-shipping__via,.wc-block-components-totals-item__description,.wc-block-components-totals-shipping_address{font-size:.8rem!important}
@media (pointer:coarse){.woocommerce-ordering select{font-size:16px;letter-spacing:.04em}}
@media (max-width:640px){
  .woocommerce-message,.woocommerce-info,.woocommerce-error{display:flex;flex-direction:column;align-items:flex-start;gap:.8rem}
  .woocommerce-message .button,.woocommerce-info .button{float:none;margin:0;order:2}
  .shop_table_responsive thead{display:none}
  .shop_table_responsive,.shop_table_responsive tbody,.shop_table_responsive tr,.shop_table_responsive td,.shop_table_responsive tbody th{display:block;width:100%}
  .shop_table_responsive tr{border:1px solid var(--line);border-radius:var(--r);padding:.2rem 1rem;margin-bottom:1rem}
  .shop_table_responsive td,.shop_table_responsive tbody th{display:flow-root;padding:.7rem 0;text-align:right;line-height:1.5}
  .shop_table_responsive tr > :last-child{border-bottom:0}
  .shop_table_responsive td[data-title]::before,.shop_table_responsive tbody th[data-title]::before{content:attr(data-title);color:var(--mute);font-size:.72rem;font-weight:500;letter-spacing:.12em;text-transform:uppercase;text-align:left;float:left;margin-right:1rem;line-height:2}
  .shop_table_responsive td.woocommerce-orders-table__cell-order-actions::before{line-height:44px}
  .shop_table_responsive td.woocommerce-orders-table__cell-order-actions .button{margin-left:.4rem}
  .woocommerce-account .woocommerce-orders-table__cell-order-actions .button{min-height:44px}
}
/* Account menu: one scrollable row of pills on phones instead of a long list above the content. */
@media (max-width:820px){
  .woocommerce-MyAccount-navigation{margin-left:calc(-1 * max(20px,env(safe-area-inset-left,0px)));margin-right:calc(-1 * max(20px,env(safe-area-inset-left,0px)));overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  .woocommerce-MyAccount-navigation::-webkit-scrollbar{display:none}
  .woocommerce-MyAccount-navigation ul{display:flex;gap:.4rem;border:0;padding-left:max(20px,env(safe-area-inset-left,0px));padding-right:max(20px,env(safe-area-inset-left,0px));width:max-content}
  .woocommerce-MyAccount-navigation a{padding:.7rem 1rem;border:1px solid var(--line);border-radius:999px;white-space:nowrap;min-height:44px;display:flex;align-items:center}
  .woocommerce-MyAccount-navigation .is-active a{padding-left:1rem;box-shadow:none;background:var(--cream);border-color:var(--cream);color:var(--black)}
}
@media (max-width:380px){
  .woocommerce-MyAccount-navigation{margin-left:-16px;margin-right:-16px}
  .woocommerce-MyAccount-navigation ul{padding-left:16px;padding-right:16px}
}

/* ---------- 0.3.19: full check fixes ---------- */
/* Checkout and cart notices (block checkout): WooCommerce paints them light pink/green/blue, which made our cream text unreadable. */
.wc-block-components-notice-banner.is-error,.wc-block-components-notice-banner.is-warning,.wc-block-components-notice-banner.is-success,.wc-block-components-notice-banner.is-info,.wc-block-components-notice-banner.is-default{background:var(--gray);color:var(--cream);border:0;border-left:3px solid var(--red)}
.wc-block-components-notice-banner.is-success,.wc-block-components-notice-banner.is-info,.wc-block-components-notice-banner.is-default{border-left-color:var(--cream)}
.wc-block-components-notice-banner .wc-block-components-notice-banner__content,.wc-block-components-notice-banner a{color:var(--cream)}
.wc-block-components-notice-banner a{text-decoration:underline;text-underline-offset:.2em}

/* Swipe rows bleed to the screen edge: match the 16px page margin used at 380px and below, so nothing pokes out sideways. */
@media (max-width:380px){
  .chips{margin-left:-16px;margin-right:-16px;padding-left:16px;padding-right:16px}
}

/* Phones: no text smaller than 12px. Desktop sizes are unchanged. */
@media (max-width:600px){
  .cap,.btn,.badge,li.product .ser,.vs-table thead th,.specs dt,.phone-top small,.dm .note,.rev-main figcaption,.rev-list figcaption,.foot h2,.phone-top .av,
  .chips a,.woo-main div.product table.variations label,.woo-main div.product .reset_variations,.woocommerce-product-attributes th,.woocommerce-Reviews .meta,#review_form label,
  .wc-block-cart__totals-title,.wc-block-cart-items th,.woocommerce-MyAccount-navigation a,.woocommerce-form-row label,.woocommerce-address-fields label,.woocommerce-EditAccountForm label,
  .facts dt,.wc-block-components-checkout-order-summary__title-text,.wc-block-components-order-summary__button-text,
  .shop_table_responsive td[data-title]::before,.shop_table_responsive tbody th[data-title]::before,
  .cross-sells-product .wp-block-button__link,.wc-block-grid__product-add-to-cart .wp-block-button__link{font-size:.75rem}
  .badge{letter-spacing:.1em;padding:.3rem .5rem}
  .wc-block-components-product-details,.wc-block-components-product-details li,.wc-block-components-product-details span{font-size:.75rem}
  .cat-list a .n{font-size:max(.32em,.75rem)}
}

/* ---------- side cart (inc/minicart.php) ---------- */
.cart-drawer[hidden]{display:none}
.cd-panel{position:fixed;right:0;top:0;bottom:0;z-index:51;width:min(440px,92vw);background:var(--black);border-left:1px solid var(--line);display:flex;flex-direction:column;padding:calc(env(safe-area-inset-top,0px) + var(--wp-admin--admin-bar--height,0px) + .8rem) 20px calc(env(safe-area-inset-bottom,0px) + 1.2rem);outline:0;animation:cdIn .4s cubic-bezier(.2,.7,.2,1)}
@keyframes cdIn{from{transform:translateX(100%)}}
.cd-top{display:flex;justify-content:space-between;align-items:center;padding-bottom:.9rem;border-bottom:1px solid var(--line)}
.cd-top h2{margin:0;font:800 1.4rem/1.1 var(--f-head);text-transform:uppercase;letter-spacing:-.01em}
.cd-top .icon-btn{margin-right:-10px}
.cd-body,.cd-in{flex:1;min-height:0;display:flex;flex-direction:column}
.cd-panel.is-busy .cd-in{opacity:.55;pointer-events:none;transition:opacity .2s}
.cd-loading{color:var(--mute);padding:1.2rem 0;margin:0}
.cd-error{margin:1rem 0 0;padding:.8rem 1rem;background:var(--gray);border-left:3px solid var(--red);color:var(--cream)}
.cd-items{list-style:none;margin:0;padding:0;flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain}
.cd-item{display:grid;grid-template-columns:76px minmax(0,1fr);gap:1rem;padding:1.1rem 0;border-bottom:1px solid var(--line)}
.cd-item:last-child{border-bottom:0}
.cd-ph{display:block;width:76px;height:76px;border-radius:var(--r-sm);overflow:hidden;background:var(--photo)}
.cd-ph img{display:block;width:100%;height:100%;object-fit:cover}
.cd-info{display:grid;align-content:start}
.cd-name{margin:0;font-weight:600;font-size:.92rem;line-height:1.3}
.cd-name a{text-decoration:none}
.cd-name a:hover{text-decoration:underline;text-underline-offset:.2em}
.cd-opts{margin:.25rem 0 0;color:var(--mute);font-size:.8rem}
.cd-row{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-top:.6rem}
.cd-qty{display:inline-flex;align-items:center;border:1px solid var(--line);border-radius:999px}
.cd-qty button{display:grid;place-items:center;width:36px;height:36px;padding:0;background:none;border:0;border-radius:50%;color:var(--cream);font:500 1.1rem/1 var(--f);cursor:pointer}
.cd-qty button:hover:not(:disabled){background:var(--surface)}
.cd-qty button:disabled{opacity:.35;cursor:default}
.cd-qty span{min-width:1.6rem;text-align:center;font-weight:600;font-size:.9rem}
.cd-price{font-weight:600;white-space:nowrap}
.cd-remove{justify-self:start;margin-top:.4rem;min-height:32px;padding:0;background:none;border:0;color:var(--mute);font:500 .8rem/1 var(--f);text-decoration:underline;text-underline-offset:.2em;cursor:pointer}
.cd-remove:hover{color:var(--cream)}
.cd-foot{display:grid;gap:.7rem;padding-top:1.1rem;border-top:1px solid var(--line)}
.cd-sub{display:flex;justify-content:space-between;align-items:baseline;margin:0}
.cd-sub strong{font-size:1.15rem}
.cd-note{margin:0 0 .3rem;color:var(--mute);font-size:.8rem}
.cd-foot .btn{width:100%}
.cd-empty{display:grid;gap:1.2rem;justify-items:start;padding:1.5rem 0}
.cd-empty p{margin:0;color:var(--mute)}
@media (pointer:coarse){.cd-qty button{width:42px;height:42px}}
