/*
Theme Name: NOX Atelier
Author: OpenAI
Description: Custom WooCommerce streetwear theme for NOX.
Version: 1.6.0
Text Domain: nox-atelier
Requires at least: 6.5
Requires PHP: 8.0
License: GPL-2.0-or-later
*/
:root{--bg:#070707;--cream:#f3efe7;--red:#c80008;--text:#f8f6f2;--muted:#aaa49b;--line:#242424;--max:1360px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font-family:Arial,Helvetica,sans-serif;line-height:1.5}a{color:inherit;text-decoration:none}img{max-width:100%;display:block;height:auto}button,input,select,textarea{font:inherit}.nox-wrap{width:min(calc(100% - 48px),var(--max));margin:auto}
.nox-announcement{background:var(--red);text-align:center;padding:8px 12px;font-size:11px;font-weight:800;letter-spacing:.14em;text-transform:uppercase}.site-header{position:sticky;top:0;z-index:50;background:rgba(7,7,7,.97);border-bottom:1px solid var(--line)}.site-header .nox-wrap{min-height:72px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:24px}.nox-brand{font-size:34px;font-weight:950;letter-spacing:-.06em;color:var(--red)}.nox-nav{display:flex;gap:28px;font-size:12px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.nox-actions{justify-self:end;display:flex;gap:18px;font-size:12px;font-weight:900;text-transform:uppercase}.nox-mobile-toggle{display:none;background:none;border:0;color:#fff;font-size:26px}
.hero{min-height:calc(100vh - 103px);position:relative;display:grid;align-items:end;overflow:hidden}.hero::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.72),rgba(0,0,0,.18) 55%,rgba(0,0,0,.35));z-index:1}.hero-media{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 22%}.hero-copy{position:relative;z-index:2;padding:90px 0 64px;max-width:710px}.eyebrow,.kicker,.badge{font-size:11px;letter-spacing:.25em;text-transform:uppercase}.hero h1{font-size:clamp(54px,7.2vw,104px);line-height:.9;letter-spacing:-.065em;margin:0;text-transform:uppercase}.hero h1 span{color:var(--red)}.lead{font-size:clamp(16px,1.45vw,19px);max-width:610px;color:#e6e0d8;margin:22px 0 28px}.btn{display:inline-flex;align-items:center;justify-content:center;padding:15px 22px;background:#fff;color:#0b0b0b;font-size:12px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;border:1px solid transparent}.btn-red{background:var(--red);color:#fff}.btn-outline{background:transparent;color:#fff;border-color:#5a5a5a}
.feature-row{display:grid;grid-template-columns:repeat(4,1fr);border-block:1px solid var(--line);background:#080808}.feature{padding:22px 16px;text-align:center;border-right:1px solid var(--line)}.feature:last-child{border-right:0}.feature strong{display:block;font-size:12px;text-transform:uppercase}.feature span{font-size:12px;color:#8b857d}
.section{padding:clamp(66px,7.5vw,108px) 0}.section-dark{background:var(--bg)}.section-cream{background:var(--cream);color:#111}.section-head{display:flex;justify-content:space-between;gap:50px;align-items:end;margin-bottom:34px}.section-title{font-size:clamp(42px,5.5vw,72px);line-height:.95;letter-spacing:-.05em;margin:0}.section-copy{max-width:470px;color:var(--muted)}.product-stage{display:grid;grid-template-columns:1fr 1fr;gap:18px}.product-stage figure{margin:0;position:relative;overflow:hidden;aspect-ratio:4/5}.product-stage figure img{width:100%;height:100%;object-fit:cover}.product-stage figcaption{position:absolute;left:18px;bottom:16px;background:rgba(0,0,0,.8);padding:10px 12px;font-size:11px;font-weight:900;text-transform:uppercase}
.signature-grid,.latest-drop{display:grid;grid-template-columns:1.08fr .92fr;gap:60px;align-items:center}.signature-info h2{font-size:clamp(42px,5vw,68px);line-height:.95;margin:0 0 18px}.signature-info p{color:#2f2f2f}.latest-drop .product-card img{aspect-ratio:4/5;width:100%;object-fit:cover}.latest-drop .section-title{font-size:clamp(44px,5.2vw,74px)}.price{font-size:20px;font-weight:900;margin:10px 0 22px}
.story-banner{position:relative;min-height:62vh;display:grid;align-items:center;overflow:hidden}.story-banner img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.story-banner::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.86),rgba(0,0,0,.12))}.story-copy{position:relative;z-index:2;max-width:650px}.story-copy h2{font-size:clamp(48px,6.4vw,86px);line-height:.9;margin:0 0 20px}
.footer{border-top:1px solid var(--line);padding:58px 0 30px}.footer-top{display:grid;grid-template-columns:1.35fr repeat(3,1fr);gap:46px}.footer-brand{font-size:56px;font-weight:950;color:var(--red)}.footer h4{font-size:11px;text-transform:uppercase;color:#8f8981}.footer ul{list-style:none;padding:0;display:grid;gap:10px}.footer-bottom{margin-top:44px;padding-top:20px;border-top:1px solid var(--line);display:flex;justify-content:space-between;color:#69645f;font-size:11px}
.content-shell{width:min(calc(100% - 48px),980px);margin:auto;padding:76px 0}.content-shell h1{font-size:clamp(44px,6vw,72px);line-height:.95}.content-shell p,.content-shell li{color:#c4beb5}.policy-card,.nox-contact-card,.nox-size-note{border:1px solid #303030;background:#0e0e0e;padding:22px;margin:18px 0}.nox-contact-form{display:grid;gap:14px}.nox-contact-form input,.nox-contact-form textarea{background:#111;color:#fff;border:1px solid #333;padding:13px}.nox-contact-form textarea{min-height:140px}
.woocommerce .button,.woocommerce button.button,.woocommerce input.button,.woocommerce a.button{background:var(--red)!important;color:#fff!important;border-radius:0!important;font-weight:900!important;text-transform:uppercase;font-size:12px!important;padding:14px 18px!important}.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce select{background:#111;color:#fff;border:1px solid #333;padding:12px}.woocommerce select,.woocommerce .variations select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#111;color:#fff;background-image:url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%2712%27%20height%3D%278%27%3E%3Cpath%20fill%3D%27%23fff%27%20d%3D%27M0%200l6%206%206-6z%27/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;padding-right:38px!important;cursor:pointer}.woocommerce select option,.woocommerce .variations select option{background-color:#111!important;color:#fff!important}.woocommerce select:focus,.woocommerce .variations select:focus{outline:none;border-color:var(--red)}.woocommerce .variations td.value{position:relative}.woocommerce .variations select:hover{border-color:#555}.woocommerce div.product p.price,.woocommerce div.product span.price,.woocommerce ul.products li.product .price{color:#eee!important}
.nox-shop-image-wrap{position:relative;overflow:hidden;background:#111}.nox-shop-image-wrap img{width:100%;transition:opacity .28s ease,transform .45s ease}.nox-shop-back{position:absolute;inset:0;opacity:0;object-fit:cover}.woocommerce ul.products li.product:hover .nox-shop-front{opacity:0}.woocommerce ul.products li.product:hover .nox-shop-back{opacity:1}
.nox-product-shell{padding:70px 0 96px}.single-product div.product{display:grid;grid-template-columns:minmax(0,1.02fr) minmax(340px,.98fr);gap:48px;align-items:start}.single-product div.product .woocommerce-product-gallery,.single-product div.product .summary{width:100%!important;float:none!important;margin:0!important}.single-product div.product .product_title{font-size:clamp(34px,4vw,56px)}.single-product div.product .flex-control-thumbs{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:10px 0 0!important;padding:0!important}.single-product div.product .flex-control-thumbs li{width:auto!important;float:none!important}.single-product div.product .flex-control-thumbs img{border:1px solid #2b2b2b}.single-product .variations select{width:100%;min-height:48px}.single-product .woocommerce-tabs,.single-product .related.products{grid-column:1/-1}
@media(max-width:900px){.site-header .nox-wrap{grid-template-columns:1fr auto}.nox-nav{position:absolute;left:0;right:0;top:72px;background:#080808;display:none;flex-direction:column;align-items:flex-start;padding:22px 24px}.site-header.menu-open .nox-nav{display:flex}.nox-actions{display:none}.nox-mobile-toggle{display:block}.feature-row{grid-template-columns:1fr 1fr}.product-stage,.signature-grid,.latest-drop,.single-product div.product{grid-template-columns:1fr}.section-head{display:grid;gap:18px}.footer-top{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.nox-wrap{width:min(calc(100% - 28px),var(--max))}.hero{min-height:72vh}.hero::before{background:linear-gradient(180deg,rgba(0,0,0,.06),rgba(0,0,0,.82))}.hero-copy{padding:220px 0 30px}.hero h1{font-size:clamp(46px,13.5vw,62px)}.btn{width:100%}.feature-row{grid-template-columns:1fr}.feature{border-right:0;border-bottom:1px solid var(--line);padding:17px 14px}.section{padding:58px 0}.section-title{font-size:clamp(42px,12vw,56px)}.footer-top{grid-template-columns:1fr}.footer-bottom{display:block}.single-product div.product .product_title{font-size:40px}.single-product div.product .flex-control-thumbs{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* v1.4 additions: size table, contact meta, footer connect */
.nox-size-table{width:100%;border-collapse:collapse;margin:18px 0;font-size:14px}
.nox-size-table th,.nox-size-table td{border:1px solid var(--line);padding:12px 14px;text-align:center}
.nox-size-table thead th{background:#111;color:#fff;text-transform:uppercase;letter-spacing:.08em;font-size:12px}
.nox-size-table tbody tr:nth-child(even){background:rgba(255,255,255,.03)}
.nox-size-note{margin-top:16px;padding:14px 16px;border-left:3px solid var(--red);background:rgba(255,255,255,.04);font-size:13px;color:var(--muted)}
.nox-contact-meta{margin:14px 0 26px;font-size:15px}
.nox-contact-meta a{color:var(--red);font-weight:700}
.footer-top{grid-template-columns:1.4fr repeat(4,1fr)}
.footer .footer-bottom a{color:#8f8981}
.footer .footer-bottom a:hover{color:#fff}
@media(max-width:900px){.footer-top{grid-template-columns:1fr 1fr}}

/* v1.6: checkout form legibility on dark background */
/* Classic + block checkout labels, headings, descriptions */
.woocommerce form .form-row label,
.woocommerce-checkout label,
.wc-block-components-checkout-step__heading,
.wc-block-components-title,
.wc-block-components-checkout-step__title,
.wc-block-components-form .wc-block-components-text-input label,
.wc-block-components-text-input label,
.wc-block-components-checkout-step__description,
.wp-block-woocommerce-checkout label,
.wc-block-checkout__form label{color:#f4f1ea!important;opacity:1!important}
/* Step descriptions / helper text a touch softer but still readable */
.wc-block-components-checkout-step__description{color:#c4beb5!important}
/* Placeholder text inside inputs */
.woocommerce form .form-row input.input-text::placeholder,
.woocommerce-checkout input::placeholder,
.wc-block-components-text-input input::placeholder,
.wc-block-checkout__form input::placeholder,
input::placeholder,textarea::placeholder{color:#9a948b!important;opacity:1!important}
/* Block checkout input fields: match the dark theme */
.wc-block-components-text-input input,
.wc-block-checkout__form input[type=text],
.wc-block-checkout__form input[type=email],
.wc-block-checkout__form input[type=tel],
.wc-block-components-text-input input.input-text,
.wc-block-components-address-form input,
.wc-block-components-select select,
.wc-block-components-combobox input{background:#111!important;color:#fff!important;border:1px solid #333!important}
/* Floating label variant (block checkout uses floating labels inside the field) */
.wc-block-components-text-input.is-active label,
.wc-block-components-text-input input:focus + label,
.wc-block-components-text-input input:not(:placeholder-shown) + label{color:#c4beb5!important}
/* Order summary text on the right */
.wc-block-components-order-summary,
.wc-block-components-order-summary__content,
.wc-block-components-totals-item__label,
.wc-block-components-totals-item__value,
.wc-block-components-product-name,
.wc-block-components-product-metadata,
.wc-block-components-totals-footer-item{color:#f4f1ea!important}
/* Radio/label rows for shipping + payment (Delivery, Cash on delivery) */
.wc-block-components-radio-control__label,
.wc-block-components-radio-control__secondary-label,
.woocommerce-checkout .shipping_method + label,
#payment label,.wc-block-components-payment-method-label{color:#f4f1ea!important}
