/* Savilion Ink: additions to the prototype stylesheet.
   Catalog table and licence picker, footer links, default pages, WooCommerce defaults, bio and contact.
   Same tokens as style.css: cream, ink, hairline, flat controls, no raised buttons. */

/* ---------- Footer link row ---------- */
.footer-base{justify-content:space-between}
.footer-links{display:flex;flex-wrap:wrap;gap:0 20px;margin-right:auto}
.footer-links a{display:inline-flex;align-items:center;min-height:44px;font-size:12px;color:var(--secondary)}
.footer-links a:hover{color:var(--ink);text-decoration:underline;text-underline-offset:3px}
@media(max-width:759px){.footer-base{flex-wrap:wrap}.footer-links{width:100%;order:2;margin-right:0}.footer-base>a:last-child{order:1}}

/* ---------- Catalog: tools, table, paging ---------- */
.catalog-tools{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 24px;border-bottom:var(--line)}
.beat-search{width:min(100%,320px);height:40px;padding:0 12px;border:var(--rule);border-radius:0;background:transparent;color:var(--ink);font:14px var(--sans)}
.beat-search::placeholder{color:var(--secondary)}
.catalog-count{color:var(--secondary);margin:0}
.beat-grid{border-collapse:collapse;width:100%;text-align:left}
.beat-grid th{font:400 12px/1.2 var(--sans);color:var(--secondary);height:40px;border-bottom:var(--rule);padding:0 16px;white-space:nowrap}
.beat-grid td{font:13px var(--sans);height:48px;border-bottom:var(--line);padding:0 16px;white-space:nowrap}
.beat-grid td:first-child,.beat-grid th:first-child{width:64px}
.beat-grid .beat-title{font-size:20px;letter-spacing:-.02em;white-space:normal}
.beat-grid .beat-title a:hover{text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:1px}
.beat-grid .beat-bpm,.beat-grid .beat-key,.beat-grid .beat-price{font-family:var(--mono);font-variant-numeric:tabular-nums}
.beat-grid th:nth-child(3),.beat-grid td:nth-child(3),.beat-grid th:nth-child(5),.beat-grid td:nth-child(5){text-align:right}
.beat-grid .beat-key{color:var(--secondary)}
.beat-grid td:last-child{text-align:right;width:96px}
.beat-grid tr.is-playing{background:var(--faint)}
.beat-grid .transport{width:32px;height:32px}
.catalog-more{padding:16px 24px;border-top:var(--line);display:flex;justify-content:center}
.catalog-more .flat-button{min-width:200px;justify-content:center}
.catalog-empty{padding:24px;font-size:14px}
.player-track strong{overflow-wrap:anywhere}
@media(max-width:1150px) and (min-width:760px){.beat-grid th,.beat-grid td{padding-inline:8px}}
@media(max-width:759px){
.catalog-tools{padding:12px;flex-wrap:wrap}
.beat-grid,.beat-grid tbody{display:block}
.beat-grid thead{display:none}
.beat-grid tr{display:grid;grid-template-columns:44px 1fr 72px;padding:12px 8px;border-bottom:var(--line);gap:4px 8px;align-items:center}
.beat-grid td{border:0;padding:0;height:auto;white-space:normal;width:auto!important}
.beat-grid td:first-child{grid-column:1;grid-row:1/3}
.beat-grid .beat-title{grid-column:2;grid-row:1}
.beat-grid td.beat-bpm{grid-column:2;grid-row:2;text-align:left}
.beat-grid td.beat-bpm:after{content:' BPM'}
.beat-grid td.beat-key{grid-column:2;grid-row:3}
.beat-grid td.beat-price{grid-column:3;grid-row:1;text-align:right}
.beat-grid td:last-child{grid-column:3;grid-row:2/4;text-align:right}
.beat-grid .transport{width:44px;height:44px}
.buy-button{min-height:44px;min-width:60px}
}

/* ---------- Licence picker ---------- */
.ink-modal-overlay{position:fixed;inset:0;z-index:200;background:var(--scrim);display:flex;align-items:center;justify-content:center;padding:16px}
.ink-modal-overlay[hidden]{display:none}
.ink-modal{background:var(--raised);border:var(--rule);width:100%;max-width:460px;max-height:90vh;overflow-y:auto}
.ink-modal-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 20px;border-bottom:var(--rule)}
.ink-modal-head h3{font:28px/1.1 Alicja;letter-spacing:0}
.ink-modal-close{min-height:44px;padding:0 12px;border:var(--rule);font:13px var(--sans)}
.ink-modal-close:hover{background:var(--ink);color:var(--cream)}
.ink-modal-sub{padding:12px 20px 0;font:12px var(--mono);letter-spacing:.04em;color:var(--secondary)}
.ink-modal-body{padding:12px 20px 8px;display:flex;flex-direction:column}
.ink-license{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;text-align:left;min-height:64px;padding:12px 0;border-top:var(--line)}
.ink-license:last-child{border-bottom:var(--line)}
.ink-license:hover:not(:disabled){background:var(--faint)}
.ink-license-left{display:flex;flex-direction:column;gap:2px}
.ink-license-name{font-size:15px;font-weight:500}
.ink-license-desc{font-size:12px;line-height:1.4;color:var(--secondary)}
.ink-license-price{font:16px var(--mono);font-variant-numeric:tabular-nums;white-space:nowrap}
.ink-license.is-disabled{opacity:.5;cursor:not-allowed}
.ink-modal-foot{padding:8px 20px 20px;font-size:12px}
.ink-modal-foot a{color:var(--ink);text-decoration:underline;text-underline-offset:3px}
body.ink-modal-open{overflow:hidden}

/* ---------- Default pages (page.php, index.php, 404, WooCommerce pages) ---------- */
.ink-main{min-height:60vh;border:var(--rule);border-top:0}
.ink-wrap{padding:48px 32px 64px;max-width:980px}
.ink-title{font:56px/1.05 Alicja;letter-spacing:-.01em;margin:0 0 24px}
.ink-title a:hover{text-decoration:underline;text-underline-offset:4px}
.ink-deck{font-size:18px;line-height:1.5;color:var(--ink);margin:12px 0 16px}
.ink-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}
.ink-content{font-size:15px;line-height:1.65;color:var(--ink)}
.ink-content p,.ink-wrap p{color:var(--secondary);margin:0 0 16px;max-width:70ch}
.ink-content h2,.ink-content h3,.ink-content h4{font-family:var(--sans);letter-spacing:-.02em;margin:32px 0 12px;color:var(--ink)}
.ink-content h2{font-size:24px}.ink-content h3{font-size:20px}
.ink-content a,.ink-wrap p a{color:var(--ink);text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
.ink-content ul,.ink-content ol{margin:0 0 16px;padding-left:22px;color:var(--secondary)}
.ink-content li{margin:4px 0}
.ink-content table{border-collapse:collapse;width:100%;margin:16px 0;font-size:14px}
.ink-content th,.ink-content td{border:var(--line);padding:10px 12px;text-align:left;vertical-align:top}
.ink-content th{font-weight:500;background:var(--faint);color:var(--ink)}
.ink-content blockquote{margin:16px 0;padding:0 0 0 16px;border-left:var(--rule)}
.ink-content img{max-width:100%;height:auto}
@media(max-width:759px){.ink-wrap{padding:28px 16px 40px}.ink-title{font-size:40px}}

/* ---------- WooCommerce defaults (cart, checkout, my-account, product) ---------- */
.ink-theme .woocommerce{color:var(--ink);font-family:var(--sans)}
.ink-theme .woocommerce a{color:var(--ink)}
.ink-theme .woocommerce-notices-wrapper .woocommerce-message,
.ink-theme .woocommerce-message,.ink-theme .woocommerce-info,.ink-theme .woocommerce-error{background:var(--faint);color:var(--ink);border:var(--rule);border-radius:0;padding:12px 16px;margin:0 0 16px;list-style:none}
.ink-theme .woocommerce-message a.button,.ink-theme .woocommerce-info a.button{float:right;margin-left:12px}
.ink-theme .woocommerce a.button,.ink-theme .woocommerce button.button,.ink-theme .woocommerce input.button,.ink-theme .woocommerce #respond input#submit,
.ink-theme .wc-block-components-button:not(.is-link),.ink-theme .wp-element-button,.savi-product-preview{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 18px;background:transparent;color:var(--ink);border:1px solid var(--ink);border-radius:0;font:500 14px/1 var(--sans);text-decoration:none;box-shadow:none;cursor:pointer}
.ink-theme .woocommerce a.button:hover,.ink-theme .woocommerce button.button:hover,.ink-theme .woocommerce input.button:hover,
.ink-theme .wc-block-components-button:not(.is-link):hover,.ink-theme .wp-element-button:hover,.savi-product-preview:hover{background:var(--ink);color:var(--cream)}
.ink-theme .woocommerce a.button.alt,.ink-theme .woocommerce button.button.alt,.ink-theme .woocommerce #place_order{background:var(--ink);color:var(--cream)}
.ink-theme .woocommerce a.button.alt:hover,.ink-theme .woocommerce button.button.alt:hover,.ink-theme .woocommerce #place_order:hover{background:transparent;color:var(--ink)}
.ink-theme .woocommerce input[type=text],.ink-theme .woocommerce input[type=email],.ink-theme .woocommerce input[type=tel],.ink-theme .woocommerce input[type=password],
.ink-theme .woocommerce input[type=number],.ink-theme .woocommerce textarea,.ink-theme .woocommerce select,.ink-theme .wc-block-components-text-input input,
.ink-theme .select2-container--default .select2-selection--single{min-height:44px;padding:8px 12px;border:1px solid var(--ink);border-radius:0;background:transparent;color:var(--ink);font:15px var(--sans);box-shadow:none}
.ink-theme .woocommerce label{font-size:13px;color:var(--secondary)}
.ink-theme .woocommerce table.shop_table{border:var(--rule);border-radius:0;border-collapse:collapse;width:100%}
.ink-theme .woocommerce table.shop_table th,.ink-theme .woocommerce table.shop_table td{border:0;border-bottom:var(--line);padding:12px;text-align:left;vertical-align:middle}
.ink-theme .woocommerce table.shop_table th{font-weight:500}
.ink-theme .woocommerce-cart table.cart img{width:64px;height:auto;border:var(--line)}
.ink-theme .woocommerce .cart_totals,.ink-theme .woocommerce .cart-collaterals{max-width:520px}
.ink-theme .woocommerce #customer_details,.ink-theme .woocommerce #order_review{margin-bottom:24px}
.ink-theme .woocommerce-checkout #payment{background:var(--faint);border-radius:0;border:var(--line)}
.ink-theme .woocommerce-checkout #payment div.payment_box{background:transparent;color:var(--ink)}
.ink-theme .woocommerce-checkout #payment div.payment_box::before{display:none}
.ink-theme .woocommerce-MyAccount-navigation ul{list-style:none;margin:0 0 24px;padding:0;display:flex;flex-wrap:wrap;gap:4px 20px}
.ink-theme .woocommerce-MyAccount-navigation a{display:inline-flex;min-height:44px;align-items:center;text-decoration:none}
.ink-theme .woocommerce-MyAccount-navigation .is-active a{text-decoration:underline;text-underline-offset:4px}
.ink-theme .wc-block-components-main,.ink-theme .wp-block-woocommerce-cart,.ink-theme .wp-block-woocommerce-checkout{color:var(--ink)}
.ink-theme .wc-block-components-totals-wrapper{border-color:var(--hairline)}
.ink-woo .product .price,.ink-woo .price{color:var(--ink);font-family:var(--mono);font-size:20px}
.ink-woo .woocommerce-product-gallery{max-width:420px;border:var(--line)}
.ink-woo div.product{display:grid;grid-template-columns:minmax(0,420px) minmax(0,1fr);gap:32px}
.ink-woo div.product .woocommerce-tabs,.ink-woo div.product .related,.ink-woo div.product .upsells{grid-column:1/-1}
.ink-woo .woocommerce-tabs ul.tabs{list-style:none;margin:0 0 16px;padding:0;display:flex;gap:20px;border-bottom:var(--line)}
.ink-woo .woocommerce-tabs ul.tabs li{margin:0;padding:0;background:none;border:0}
.ink-woo .woocommerce-tabs ul.tabs li.active a{text-decoration:underline;text-underline-offset:4px}
.ink-woo .woocommerce-tabs ul.tabs::before,.ink-woo .woocommerce-tabs ul.tabs li::before,.ink-woo .woocommerce-tabs ul.tabs li::after{display:none}
.ink-woo ul.products{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:24px}
.savi-product-preview-hint{font-size:13px}
@media(max-width:759px){.ink-woo div.product{display:block}.ink-theme .woocommerce-message a.button{float:none;margin:8px 0 0}}

/* ---------- About (bio) and contact ---------- */
.bio-hero .art-col{cursor:default;touch-action:auto;user-select:auto;overflow:visible;justify-content:flex-start}
.bio-photo figure{width:100%;max-width:560px;border:1px solid var(--ink);border-radius:0;background:var(--faint);margin:0}
.bio-photo img{width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;display:block;border-radius:0}
.bio-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr))}
.bio-metrics>div{padding:20px 24px;border-right:var(--line);display:flex;flex-direction:column;gap:4px}
.bio-metrics>div:last-child{border-right:0}
.bio-metrics strong{font:40px/1 Alicja;font-weight:400;color:var(--ink)}
.bio-metrics span{font-size:13px;color:var(--secondary)}
.bio-story,.bio-band{display:grid;grid-template-columns:repeat(12,minmax(0,1fr))}
.bio-text{grid-column:1/8;padding:32px;min-width:0}
.bio-credits{grid-column:8/13;padding:32px;border-left:var(--rule);min-width:0}
.bio-band-side{grid-column:8/13;padding:32px;border-left:var(--rule);min-width:0;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:16px}
.bio-text h2,.bio-credits h2{font:36px/1.1 Alicja;letter-spacing:0;margin:0 0 16px;color:var(--ink)}
.bio-text p:not(.sw-eyebrow){font-size:15px;line-height:1.6;color:var(--secondary);margin:0 0 16px;max-width:62ch}
.bio-text p:last-child{margin-bottom:0}
.bio-text em{color:var(--ink)}
.bio-band-side p{margin:0;color:var(--secondary)}
@media(max-width:1100px) and (min-width:760px){.bio-text{grid-column:1/7;padding:24px}.bio-credits,.bio-band-side{grid-column:7/13;padding:24px}.bio-metrics>div{padding:16px}}
@media(max-width:759px){
.bio-hero .art-col{height:auto;padding:4px 16px 24px}
.bio-photo figure{max-width:none}
.bio-metrics{grid-template-columns:1fr 1fr}
.bio-metrics>div{padding:16px;border-bottom:var(--line)}
.bio-metrics>div:nth-child(2n){border-right:0}
.bio-metrics>div:last-child{grid-column:1/-1;border-bottom:0}
.bio-story,.bio-band{display:block}
.bio-text{padding:24px 16px}
.bio-credits,.bio-band-side{padding:24px 16px;border-left:0;border-top:var(--rule)}
.bio-text h2,.bio-credits h2{font-size:30px}
}
.ink-credits{margin:0;border-top:var(--line)}
.ink-credits>div{display:grid;grid-template-columns:56px 1fr;gap:12px;padding:12px 0;border-bottom:var(--line)}
.ink-credits dt{color:var(--secondary)}
.ink-credits dd{margin:0}
.ink-credits small{display:block;color:var(--secondary);font-size:12px}
.ink-band{border-top:var(--rule);padding-top:24px;margin-top:24px}
.ink-channels{display:grid;grid-template-columns:repeat(3,1fr);border:var(--rule);margin:32px 0 16px}
.ink-channels a{display:flex;flex-direction:column;gap:6px;padding:16px;border-right:var(--line)}
.ink-channels a:last-child{border-right:0}
.ink-channels a:hover{background:var(--faint)}
.ink-channels small{color:var(--secondary);font-size:13px}
.ink-contact-foot{color:var(--secondary)}
.ink-contact-foot a{text-decoration:underline;text-underline-offset:3px}
@media(max-width:759px){
.ink-channels{display:block}
.ink-channels a{border-right:0;border-bottom:var(--line)}
}

/* ---------- Inner-page helpers (software) ---------- */
.sw-eyebrow{font:12px/1.4 var(--mono);letter-spacing:.06em;text-transform:uppercase;color:var(--secondary);margin:0 0 8px}
.closing{height:auto;min-height:64px;padding-block:12px}
@media(prefers-reduced-motion:reduce){.ink-modal-overlay{transition:none}}

.ink-wrap .hero-button,.ink-wrap p a.hero-button{text-decoration:none;color:var(--ink)}
.ink-wrap .hero-button:hover{color:var(--cream)}


/* =====================================================================
   WooCommerce skin (CSS only, overrides plugin / legacy styles)
   Scope: body.ink-theme. Payment-provider buttons (Stripe, PayPal,
   Apple Pay, Google Pay, Link) are deliberately not selected.
   ===================================================================== */

/* --- Licence tier selector (inline <style> from the tier plugin) --- */
body.ink-theme .savi-tier-selector{margin:16px 0;padding:0;background:transparent;border:0;border-radius:0;box-shadow:none}
body.ink-theme .savi-tier-label{display:block;font:12px/1.4 var(--sans);color:var(--secondary);letter-spacing:0;text-transform:none;margin:0 0 8px}
body.ink-theme .savi-tier-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
body.ink-theme .savi-tier-btn{min-width:0;min-height:56px;padding:10px 8px;background:var(--faint);border:1px solid var(--hairline);border-radius:0;box-shadow:none;color:var(--ink);font-family:var(--sans);transition:background-color 150ms var(--ease),border-color 150ms var(--ease)}
body.ink-theme .savi-tier-btn:hover{background:var(--faint);border-color:var(--ink)}
body.ink-theme .savi-tier-btn.active,body.ink-theme .savi-tier-btn.active:hover{background:var(--faint);border-color:var(--ink);box-shadow:inset 0 0 0 0 var(--ink)}
body.ink-theme .savi-tier-btn.disabled{opacity:.4;cursor:not-allowed}
body.ink-theme .savi-tier-btn .tier-name{display:block;font:500 12px/1.3 var(--sans);letter-spacing:0;color:var(--ink);margin-bottom:4px}
body.ink-theme .savi-tier-btn .tier-price,body.ink-theme .savi-tier-btn.active .tier-price{display:block;font:500 15px/1.3 var(--mono);color:var(--ink);font-variant-numeric:tabular-nums}
body.ink-theme .savi-tier-btn:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
@media(max-width:480px){body.ink-theme .savi-tier-options{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* --- Prices (classic + blocks) --- */
body.ink-theme .woocommerce div.product p.price,
body.ink-theme .woocommerce div.product span.price,
body.ink-theme .woocommerce ul.products li.product .price,
body.ink-theme .wc-block-grid__product-price,
body.ink-theme .wc-block-components-product-price{color:var(--ink);font:500 18px/1.3 var(--mono);font-variant-numeric:tabular-nums}
body.ink-theme .woocommerce .price .amount,
body.ink-theme .woocommerce .price ins,
body.ink-theme .wc-block-grid__product-price .woocommerce-Price-amount,
body.ink-theme .wc-block-components-formatted-money-amount{color:var(--ink);background:transparent;text-decoration:none;font-family:var(--mono)}
body.ink-theme .woocommerce .price del{color:var(--secondary);opacity:1}

/* --- Single product layout and text --- */
body.ink-theme .woocommerce div.product .woocommerce-product-details__short-description,
body.ink-theme .woocommerce div.product .woocommerce-product-details__short-description p{color:var(--secondary)}
body.ink-theme .woocommerce div.product .product_meta{border-top:1px solid var(--hairline);padding-top:12px;margin-top:16px;font-size:12px;color:var(--secondary)}
body.ink-theme .woocommerce div.product .product_meta a{color:var(--ink);text-decoration:underline;text-underline-offset:3px}
body.ink-theme .woocommerce div.product .woocommerce-product-gallery img{border:1px solid var(--ink);border-radius:0}
body.ink-theme .woocommerce div.product form.cart{display:flex;gap:8px;align-items:stretch;margin:16px 0}
body.ink-theme .woocommerce div.product form.cart .quantity{margin:0;float:none}

/* --- Inputs --- */
body.ink-theme .woocommerce input.input-text,
body.ink-theme .woocommerce input[type=number],
body.ink-theme .woocommerce select,
body.ink-theme .woocommerce textarea,
body.ink-theme .wc-block-components-text-input input,
body.ink-theme .wc-block-components-textarea,
body.ink-theme .wc-block-components-combobox .components-combobox-control input,
body.ink-theme .wc-block-components-select-input select{background:transparent;color:var(--ink);border:1px solid var(--ink);border-radius:0;box-shadow:none;font:15px/1.4 var(--sans);min-height:44px;padding:8px 12px}
body.ink-theme .woocommerce div.product form.cart .qty{width:72px;text-align:center;font-family:var(--mono)}
body.ink-theme .woocommerce input.input-text:focus,
body.ink-theme .woocommerce select:focus,
body.ink-theme .wc-block-components-text-input input:focus{outline:2px solid var(--ink);outline-offset:2px;box-shadow:none}
body.ink-theme .wc-block-components-text-input label,
body.ink-theme .woocommerce form .form-row label{color:var(--secondary);font:12px/1.4 var(--sans);letter-spacing:0}

/* --- Flat buttons: classic, blocks, Add to cart, Log in, checkout --- */
body.ink-theme .woocommerce a.button,
body.ink-theme .woocommerce button.button,
body.ink-theme .woocommerce input.button,
body.ink-theme .woocommerce #respond input#submit,
body.ink-theme .woocommerce a.button.alt,
body.ink-theme .woocommerce button.button.alt,
body.ink-theme .woocommerce input.button.alt,
body.ink-theme .woocommerce button.single_add_to_cart_button,
body.ink-theme .single_add_to_cart_button,
body.ink-theme .add_to_cart_button,
body.ink-theme .wp-block-button__link,
body.ink-theme .wp-block-button .wp-block-button__link,
body.ink-theme .wc-block-components-product-button__button,
body.ink-theme .wc-block-components-button:not(.is-link):not(.wc-block-components-checkout-place-order-button--express),
body.ink-theme .wc-block-cart__submit-button,
body.ink-theme .wc-block-components-checkout-place-order-button,
body.ink-theme .wc-block-components-totals-coupon__button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 16px;background:transparent;color:var(--ink);border:1px solid var(--ink);border-radius:0;box-shadow:none;font:500 14px/1.2 var(--sans);letter-spacing:0;text-transform:none;text-decoration:none;cursor:pointer;transition:background-color 150ms var(--ease),color 150ms var(--ease)}
body.ink-theme .woocommerce a.button:hover,
body.ink-theme .woocommerce button.button:hover,
body.ink-theme .woocommerce input.button:hover,
body.ink-theme .woocommerce a.button.alt:hover,
body.ink-theme .woocommerce button.button.alt:hover,
body.ink-theme .woocommerce button.single_add_to_cart_button:hover,
body.ink-theme .single_add_to_cart_button:hover,
body.ink-theme .add_to_cart_button:hover,
body.ink-theme .wp-block-button__link:hover,
body.ink-theme .wp-block-button .wp-block-button__link:hover,
body.ink-theme .wc-block-components-product-button__button:hover,
body.ink-theme .wc-block-components-button:not(.is-link):not(.wc-block-components-checkout-place-order-button--express):hover,
body.ink-theme .wc-block-cart__submit-button:hover,
body.ink-theme .wc-block-components-checkout-place-order-button:hover,
body.ink-theme .wc-block-components-totals-coupon__button:hover{background:var(--ink);color:var(--cream);border-color:var(--ink)}
body.ink-theme .woocommerce button.button:disabled,
body.ink-theme .woocommerce button.button.disabled{background:transparent;color:var(--secondary);border-color:var(--hairline);opacity:1;cursor:not-allowed}
body.ink-theme .woocommerce a.added_to_cart{display:inline-block;margin-left:12px;font-size:13px;color:var(--ink);text-decoration:underline;text-underline-offset:3px}
/* Blocks buttons keep their inner label readable on inversion */
body.ink-theme .wc-block-components-button__text{color:inherit}

/* --- Product tabs --- */
body.ink-theme .woocommerce div.product .woocommerce-tabs{margin-top:32px}
body.ink-theme .woocommerce div.product .woocommerce-tabs ul.tabs{display:flex;gap:24px;margin:0 0 16px;padding:0;overflow:visible;list-style:none;border-bottom:1px solid var(--hairline)}
body.ink-theme .woocommerce div.product .woocommerce-tabs ul.tabs::before,
body.ink-theme .woocommerce div.product .woocommerce-tabs ul.tabs::after{display:none;content:none;border:0}
body.ink-theme .woocommerce div.product .woocommerce-tabs ul.tabs li{margin:0;padding:0;background:transparent;border:0;border-radius:0;box-shadow:none}
body.ink-theme .woocommerce div.product .woocommerce-tabs ul.tabs li::before,
body.ink-theme .woocommerce div.product .woocommerce-tabs ul.tabs li::after{display:none;content:none;border:0;box-shadow:none}
body.ink-theme .woocommerce div.product .woocommerce-tabs ul.tabs li a{display:block;padding:10px 0;margin-bottom:-1px;font:500 14px/1.2 var(--sans);color:var(--secondary);border-bottom:1px solid transparent;text-decoration:none}
body.ink-theme .woocommerce div.product .woocommerce-tabs ul.tabs li:hover a{color:var(--ink)}
body.ink-theme .woocommerce div.product .woocommerce-tabs ul.tabs li.active{background:transparent;border:0}
body.ink-theme .woocommerce div.product .woocommerce-tabs ul.tabs li.active a{color:var(--ink);border-bottom:1px solid var(--ink)}
body.ink-theme .woocommerce div.product .woocommerce-tabs .panel{margin:0;padding:0;border:0;box-shadow:none;background:transparent}
body.ink-theme .woocommerce div.product .woocommerce-tabs .panel h2{font:500 20px/1.2 var(--sans);letter-spacing:-.02em;margin:0 0 12px}

/* --- Empty-cart block, "New in store" grid --- */
body.ink-theme .wc-block-cart__empty-cart__title,
body.ink-theme .wp-block-woocommerce-empty-cart-block h2{font:500 20px/1.2 var(--sans);letter-spacing:-.02em;color:var(--ink);text-align:left;margin:0 0 16px}
body.ink-theme .wp-block-woocommerce-empty-cart-block h2.wc-block-cart__empty-cart__title::before{display:none}
body.ink-theme .wp-block-woocommerce-empty-cart-block .wp-block-separator,
body.ink-theme .wp-block-woocommerce-empty-cart-block hr.is-style-dots{border:0;border-top:1px solid var(--ink);background:transparent;height:0;max-width:none;width:100%;margin:24px 0;opacity:1}
body.ink-theme .wp-block-woocommerce-empty-cart-block .wp-block-separator.is-style-dots::before{display:none;content:none}
body.ink-theme .wc-block-grid__products{gap:24px 16px;margin:0}
body.ink-theme .wc-block-grid__product{border:0;padding:0;text-align:left;display:flex;flex-direction:column;align-items:stretch}
body.ink-theme .wc-block-grid__product-link{color:var(--ink);text-decoration:none}
body.ink-theme .wc-block-grid__product-image{border:1px solid var(--ink);border-radius:0;background:var(--faint);margin:0 0 12px}
body.ink-theme .wc-block-grid__product-image img{border-radius:0;width:100%;height:auto;margin:0}
body.ink-theme .wc-block-grid__product-title{font:500 15px/1.3 var(--sans);color:var(--ink);padding:0;margin:0 0 4px}
body.ink-theme .wc-block-grid__product-price{font-size:14px;margin:0 0 12px;text-align:left}
body.ink-theme .wc-block-grid__product-add-to-cart{margin:auto 0 0;text-align:left}
body.ink-theme .wc-block-grid__product-add-to-cart .wp-block-button__link{width:100%;font-size:14px}

/* --- Cart / checkout blocks: flat chrome --- */
body.ink-theme .wc-block-components-sidebar-layout .wc-block-components-main,
body.ink-theme .wc-block-components-order-summary,
body.ink-theme .wc-block-components-totals-wrapper{color:var(--ink)}
body.ink-theme .wc-block-components-totals-wrapper{border-color:var(--hairline)}
body.ink-theme .wc-block-cart-items th,
body.ink-theme .wc-block-components-title,
body.ink-theme .wc-block-components-checkout-step__title{font:500 20px/1.2 var(--sans);letter-spacing:-.02em;color:var(--ink)}
body.ink-theme .wc-block-cart-items td,
body.ink-theme .wc-block-cart-items{border-color:var(--hairline)}
body.ink-theme .wc-block-components-radio-control__option,
body.ink-theme .wc-block-components-radio-control-accordion-option{border-radius:0;box-shadow:none}
body.ink-theme .wc-block-components-notice-banner{border-radius:0;box-shadow:none;background:var(--faint);color:var(--ink);border:1px solid var(--hairline)}
body.ink-theme .wc-block-components-product-name,
body.ink-theme .wc-block-components-product-metadata{color:var(--ink)}

/* --- My account / classic forms and notices --- */
body.ink-theme .woocommerce h2{font:500 20px/1.2 var(--sans);letter-spacing:-.02em;color:var(--ink);margin:0 0 16px}
body.ink-theme .woocommerce form.login,
body.ink-theme .woocommerce form.register,
body.ink-theme .woocommerce form.checkout_coupon,
body.ink-theme .woocommerce form.lost_reset_password{border:1px solid var(--ink);border-radius:0;padding:24px;margin:0 0 24px;max-width:480px}
body.ink-theme .woocommerce form .form-row{margin:0 0 16px;padding:0}
body.ink-theme .woocommerce form .form-row label{display:block;margin-bottom:4px}
body.ink-theme .woocommerce form .form-row .required{color:var(--secondary);text-decoration:none;border:0}
body.ink-theme .woocommerce form.login .woocommerce-form-login__rememberme{display:inline-flex;align-items:center;gap:8px;margin:0 16px 0 0}
body.ink-theme .woocommerce form.login input[type=checkbox]{accent-color:var(--ink);width:16px;height:16px;min-height:0}
body.ink-theme .woocommerce .lost_password,
body.ink-theme .woocommerce .lost_password a{font-size:13px;margin:16px 0 0}
body.ink-theme .woocommerce .lost_password a{color:var(--ink);text-decoration:underline;text-underline-offset:3px}
body.ink-theme .woocommerce-message,
body.ink-theme .woocommerce-info,
body.ink-theme .woocommerce-error{background:var(--faint);color:var(--ink);border:1px solid var(--hairline);border-top:1px solid var(--hairline);border-radius:0;box-shadow:none;padding:12px 16px 12px 16px;margin:0 0 16px;list-style:none;font-size:14px}
body.ink-theme .woocommerce-message::before,
body.ink-theme .woocommerce-info::before,
body.ink-theme .woocommerce-error::before{display:none;content:none}
body.ink-theme .woocommerce-message a.button{margin-right:16px;float:left}
body.ink-theme .woocommerce-MyAccount-navigation ul{list-style:none;margin:0 0 24px;padding:0;border-top:1px solid var(--ink)}
body.ink-theme .woocommerce-MyAccount-navigation li{border-bottom:1px solid var(--hairline)}
body.ink-theme .woocommerce-MyAccount-navigation li a{display:block;padding:12px 0;color:var(--secondary);text-decoration:none}
body.ink-theme .woocommerce-MyAccount-navigation li.is-active a,
body.ink-theme .woocommerce-MyAccount-navigation li a:hover{color:var(--ink)}
body.ink-theme .woocommerce table.shop_table{border:1px solid var(--ink);border-radius:0;border-collapse:collapse}
body.ink-theme .woocommerce table.shop_table th,
body.ink-theme .woocommerce table.shop_table td{border-color:var(--hairline);padding:12px 16px;color:var(--ink)}
@media(max-width:759px){
body.ink-theme .woocommerce div.product form.cart{flex-wrap:wrap}
body.ink-theme .woocommerce form.login,body.ink-theme .woocommerce form.register{padding:16px}
}

/* --- Grids: related products (classic) and "New in store" (blocks) --- */
body.ink-theme .woocommerce ul.products,
body.ink-theme .wc-block-grid__products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px 16px;margin:0;padding:0;list-style:none}
body.ink-theme .woocommerce ul.products::before,
body.ink-theme .woocommerce ul.products::after{display:none;content:none}
body.ink-theme .woocommerce ul.products li.product,
body.ink-theme .wc-block-grid__products .wc-block-grid__product{float:none;clear:none;width:auto;max-width:none;margin:0;padding:0;display:flex;flex-direction:column;align-items:stretch;text-align:left}
body.ink-theme .woocommerce ul.products li.product a img{width:100%;height:auto;margin:0 0 12px;border:1px solid var(--ink);border-radius:0;box-shadow:none}
body.ink-theme .woocommerce ul.products li.product .woocommerce-loop-product__title{font:500 15px/1.3 var(--sans);letter-spacing:0;color:var(--ink);padding:0;margin:0 0 4px}
body.ink-theme .woocommerce ul.products li.product .price{font-size:14px;margin:0 0 12px}
body.ink-theme .woocommerce ul.products li.product .button{margin:auto 0 0;width:100%}
body.ink-theme .woocommerce .related.products>h2,
body.ink-theme .woocommerce .up-sells>h2{font:500 20px/1.2 var(--sans);letter-spacing:-.02em;margin:32px 0 16px}
body.ink-theme .woocommerce div.product form.cart .quantity .qty{margin:0}
@media(max-width:759px){
body.ink-theme .woocommerce ul.products,
body.ink-theme .wc-block-grid__products{grid-template-columns:repeat(2,minmax(0,1fr))}
}
body.ink-theme .wc-block-grid .wc-block-grid__products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px 16px;margin:0;padding:0}
body.ink-theme .wc-block-grid .wc-block-grid__products .wc-block-grid__product{flex:none;max-width:none;width:auto;margin:0;padding:0;border:0}
body.ink-theme .wc-block-grid .wc-block-grid__product-image img{width:100%;max-width:100%;height:auto}
@media(max-width:759px){body.ink-theme .wc-block-grid .wc-block-grid__products{grid-template-columns:repeat(2,minmax(0,1fr))}}
body.ink-theme .woocommerce ul.products li.product a.button,
body.ink-theme .woocommerce ul.products li.product .button.add_to_cart_button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 16px;margin:auto 0 0;width:100%}
body.ink-theme .woocommerce div.product form.cart div.quantity{margin:0;float:none}
body.ink-theme .woocommerce div.product form.cart div.quantity input.qty{margin:0;float:none}
body.ink-theme .woocommerce div.product form.cart::before,
body.ink-theme .woocommerce div.product form.cart::after{display:none;content:none}

/* ---------- Empty cart: short line and a way back to the beats ---------- */
.ink-empty-cart{padding:8px 0 24px}
.ink-wrap .ink-empty-line{font:400 24px/1.3 var(--sans);color:var(--ink);margin:0 0 20px}
body.ink-theme .wp-block-woocommerce-empty-cart-block .wp-block-separator,
body.ink-theme .wp-block-woocommerce-empty-cart-block h2:not(.wc-block-cart__empty-cart__title),
body.ink-theme .wp-block-woocommerce-empty-cart-block .wc-block-grid,
body.ink-theme .wp-block-woocommerce-empty-cart-block .wp-block-product-new{display:none!important}

/* ---------- Dark theme touches that tokens alone do not cover ---------- */
[data-theme="dark"] body.ink-theme .woocommerce input::placeholder,[data-theme="dark"] .beat-search::placeholder{color:var(--secondary)}
