/* Mooxi 5.4.0 — commerce polish, dark/light parity, forms and custom studio */
:root{--gstore-red:#c8102e;--gstore-black:#05070b;--gstore-gold:#e7ad12;--gstore-navy:#061225;--gstore-blue:#0d2139;--gstore-line:#d8dee8;--gstore-soft:#f5f7fa}
html[data-theme="light"]{--canvas:#f6f6f2;--surface:#fff;--surface-2:#f1f3f6;--ink:#08152F;--muted:#68758b;--line:#d8dee8}
html[data-theme="dark"]{--canvas:#06101d;--surface:#0b1a2d;--surface-2:#10233b;--ink:#f7f9fc;--muted:#aebbd0;--line:#28405e}
body{background:var(--canvas);color:var(--ink)}
.angola-strip{height:30px;background:#090b0f;color:#fff;border-bottom:1px solid rgba(255,255,255,.08);display:flex;align-items:center;justify-content:center;font:800 10px/1.1 system-ui,sans-serif;letter-spacing:.16em;text-transform:uppercase;position:relative;z-index:75}
.angola-strip span{display:inline-flex;align-items:center;gap:9px}.angola-flag{font-size:15px;letter-spacing:0}.angola-strip i{width:20px;height:2px;background:#ce1126;display:inline-block}.angola-strip b{color:#f6d21a}.commerce-header{top:30px}
.store-page-main{padding-top:0!important}.store-breadcrumb{margin:0!important;padding:16px 0!important;min-height:auto!important}.store-breadcrumb .container{min-height:22px}
.collections-archive-page .archive-hero,.shop-page .archive-hero,.custom-commerce-hero,.checkout-page-head,.support-page .contact-hero,.detail-page .detail-main{padding-top:52px!important}
.archive-title-grid{gap:48px!important}.archive-title-grid h1{margin:0!important;max-width:900px}.archive-title-grid p{align-self:end}
/* Product CTA visibility */
.product-footer{align-items:center!important}.product-footer .add-cart,.commerce-product-card .add-cart{opacity:1!important;visibility:visible!important;pointer-events:auto!important;min-width:120px;justify-content:center;border:1px solid var(--ink)!important;background:transparent!important;color:var(--ink)!important;font-weight:900!important;text-transform:uppercase;letter-spacing:.06em;font-size:.76rem}
.product-footer .add-cart:hover{background:var(--ink)!important;color:var(--surface)!important;transform:none!important}
html[data-theme="dark"] .product-footer .add-cart,html[data-theme="dark"] .commerce-product-card .add-cart{background:var(--gstore-gold)!important;color:#08152F!important;border-color:var(--gstore-gold)!important;box-shadow:0 0 0 1px rgba(231,173,18,.15)}
html[data-theme="dark"] .product-footer .add-cart:hover{background:#f2c238!important;color:#08152F!important}
/* Universal form system */
.field-icon{position:relative;display:block}.field-icon>.icon{position:absolute;left:14px;top:39px;width:18px;height:18px;color:var(--muted);z-index:2;pointer-events:none}.field-icon>input,.field-icon>select,.field-icon>textarea{padding-left:44px!important}
.form-grid{gap:14px!important}.order-form label,.commerce-custom-form label,.checkout-form label{font-weight:800;letter-spacing:.01em}.order-form input,.order-form select,.order-form textarea,.commerce-custom-form input,.commerce-custom-form select,.commerce-custom-form textarea,.checkout-form input,.checkout-form select,.checkout-form textarea{border:1px solid var(--line)!important;background:var(--surface)!important;color:var(--ink)!important;min-height:50px!important;border-radius:0!important;box-shadow:none!important}.order-form textarea,.commerce-custom-form textarea,.checkout-form textarea{padding-top:14px!important}.order-form input::placeholder,.order-form textarea::placeholder,.commerce-custom-form input::placeholder,.commerce-custom-form textarea::placeholder,.checkout-form input::placeholder,.checkout-form textarea::placeholder{color:color-mix(in srgb,var(--muted) 80%,transparent)!important;opacity:1}
html[data-theme="dark"] input,html[data-theme="dark"] select,html[data-theme="dark"] textarea{color-scheme:dark}
html[data-theme="dark"] .order-form input,html[data-theme="dark"] .order-form select,html[data-theme="dark"] .order-form textarea,html[data-theme="dark"] .commerce-custom-form input,html[data-theme="dark"] .commerce-custom-form select,html[data-theme="dark"] .commerce-custom-form textarea,html[data-theme="dark"] .checkout-form input,html[data-theme="dark"] .checkout-form select,html[data-theme="dark"] .checkout-form textarea{background:#10233b!important;color:#fff!important;border-color:#35506f!important}
html[data-theme="dark"] .order-form option,html[data-theme="dark"] .checkout-form option,html[data-theme="dark"] .commerce-custom-form option{background:#10233b;color:#fff}
.phone-composite{display:grid;grid-template-columns:minmax(150px,.7fr) minmax(180px,1fr);gap:10px}.phone-composite select,.phone-composite input{width:100%}
/* Checkout */
.commerce-checkout-form,.checkout-copy{border-radius:0!important}.checkout-form-header,.checkout-mini-cart,.checkout-payment-choice{border-color:var(--line)!important}.commerce-mini-cart .mini-cart-row,.checkout-mini-cart .mini-cart-row{background:var(--surface-2)!important;color:var(--ink)!important;border:1px solid var(--line)!important;border-radius:0!important}.checkout-payment-choice{background:transparent!important}.payment-choice-card{background:var(--surface)!important;color:var(--ink)!important;border:1px solid var(--line)!important;border-radius:0!important;min-height:76px}.payment-choice-card:has(input:checked){border-color:var(--gstore-gold)!important;box-shadow:inset 4px 0 0 var(--gstore-gold)}.payment-choice-card span b,.payment-choice-card span small{color:var(--ink)!important}.payment-choice-card span small{opacity:.72}.payment-choice-card input{accent-color:var(--gstore-gold)}
html[data-theme="dark"] .payment-choice-card{background:#10233b!important;color:#fff!important;border-color:#35506f!important}html[data-theme="dark"] .payment-choice-card span b{color:#fff!important}html[data-theme="dark"] .payment-choice-card span small{color:#b8c6d8!important}
.checkout-section{background:var(--canvas)!important}.checkout-support{background:var(--surface)!important;color:var(--ink)!important;border-color:var(--line)!important}
/* Cart extras */
.cart-drawer-actions{grid-template-columns:1fr 1fr!important}.cart-personalize-link{grid-column:1/-1;display:flex!important;align-items:center;justify-content:center;gap:8px;border:1px solid var(--line)!important;background:transparent!important;color:var(--ink)!important}.cart-personalize-link:hover{border-color:var(--gstore-gold)!important;color:var(--gstore-gold)!important}.cart-empty-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:9px;margin-top:16px}.cart-empty-actions a{border:1px solid var(--line);padding:10px 13px;text-transform:uppercase;font-size:.74rem;font-weight:900;letter-spacing:.05em;color:var(--ink)}
/* Support / team */
.store-contact-band{background:var(--surface);border-block:1px solid var(--line)}.store-contact-grid{display:grid;grid-template-columns:repeat(4,1fr)}.store-contact-grid article{padding:25px;border-right:1px solid var(--line);display:grid;grid-template-columns:auto 1fr;gap:12px}.store-contact-grid article:last-child{border-right:0}.store-contact-grid .icon{width:22px;color:var(--gstore-gold)}.store-contact-grid b{display:block}.store-contact-grid a,.store-contact-grid span{color:var(--muted);font-size:.9rem}.team-section{background:var(--canvas)}.team-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.team-card{background:var(--surface);border:1px solid var(--line);padding:24px;display:grid;grid-template-columns:72px 1fr;gap:16px;align-items:start}.team-card img,.team-avatar{width:72px;height:72px;object-fit:cover;background:var(--surface-2);display:grid;place-items:center;font:900 1.35rem/1 system-ui;color:var(--gstore-gold);border:1px solid var(--line)}.team-role{font-size:.68rem;color:var(--gstore-gold);letter-spacing:.14em;text-transform:uppercase;font-weight:900}.team-card h3{margin:5px 0 3px}.team-card p{margin:0 0 12px;color:var(--muted);font-size:.88rem}.team-actions{display:flex;gap:8px;flex-wrap:wrap}.team-actions a{font-size:.72rem;font-weight:900;text-transform:uppercase;border-top:1px solid var(--line);padding-top:9px;color:var(--ink)}
/* Customizer studio */
.custom-studio{padding:22px 0 0}.custom-studio-grid{display:grid;grid-template-columns:minmax(360px,.9fr) minmax(440px,1.1fr);gap:18px}.studio-panel{background:var(--surface);border:1px solid var(--line);padding:22px}.studio-head{display:flex;justify-content:space-between;align-items:start;gap:16px;margin-bottom:18px}.studio-head h2{margin:4px 0;font-size:clamp(1.6rem,3vw,2.5rem)}.studio-tabs{display:flex;border:1px solid var(--line)}.studio-tabs button{border:0;border-right:1px solid var(--line);background:transparent;color:var(--ink);padding:10px 14px;font-weight:900}.studio-tabs button:last-child{border-right:0}.studio-tabs button.active{background:var(--ink);color:var(--surface)}.garment-stage{min-height:500px;position:relative;display:grid;place-items:center;background:linear-gradient(135deg,var(--surface-2),var(--surface));overflow:hidden;border:1px solid var(--line)}.garment-silhouette{width:min(330px,72%);height:390px;position:relative;filter:drop-shadow(0 25px 32px rgba(0,0,0,.14))}.garment-silhouette svg{width:100%;height:100%}.garment-silhouette path{fill:var(--garment,#fff);stroke:color-mix(in srgb,var(--garment,#fff) 65%,#111);stroke-width:2}.print-zone{position:absolute;left:50%;top:38%;transform:translate(-50%,-50%);width:150px;height:170px;border:1px dashed rgba(231,173,18,.85);display:grid;place-items:center;overflow:hidden;touch-action:none}.print-zone img{max-width:100%;max-height:100%;object-fit:contain;transform:scale(var(--design-scale,1));pointer-events:none}.print-zone span{font:800 10px/1.3 system-ui;color:var(--muted);text-align:center;padding:10px}.studio-controls{display:grid;gap:14px}.studio-control-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.color-palette{display:flex;gap:7px;flex-wrap:wrap}.color-palette button{width:34px;height:34px;border:2px solid var(--surface);outline:1px solid var(--line);background:var(--swatch);cursor:pointer}.color-palette button.active{outline:3px solid var(--gstore-gold)}.studio-range{display:grid;grid-template-columns:110px 1fr 45px;align-items:center;gap:10px}.studio-tip{padding:14px;border-left:3px solid var(--gstore-gold);background:var(--surface-2);color:var(--muted);font-size:.88rem}.studio-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.studio-actions label,.studio-actions button{min-height:48px;border:1px solid var(--line);display:flex;align-items:center;justify-content:center;gap:8px;font-weight:900;text-transform:uppercase;font-size:.75rem;cursor:pointer;background:var(--surface);color:var(--ink)}.studio-actions input{display:none}.studio-summary{font-size:.83rem;color:var(--muted)}
.custom-commerce-section{padding-top:30px!important}.custom-commerce-layout{grid-template-columns:minmax(280px,.6fr) minmax(620px,1.4fr)!important}.commerce-custom-form{max-width:none!important}.design-upload{background:var(--surface)!important;color:var(--ink)!important;border:1px dashed var(--line)!important}.position-grid label{background:var(--surface)!important;color:var(--ink)!important;border:1px solid var(--line)!important}.position-grid input{accent-color:var(--gstore-gold)}
/* Page rhythm */
.collections-archive-page .archive-hero{padding-bottom:55px!important}.custom-commerce-hero{padding-bottom:36px!important}.checkout-page-head{padding-bottom:30px!important}.support-page .contact-hero{min-height:auto!important;padding-bottom:60px!important}
/* Responsive */
@media(max-width:1080px){.commerce-header{top:30px}.store-contact-grid{grid-template-columns:repeat(2,1fr)}.store-contact-grid article:nth-child(2){border-right:0}.team-grid{grid-template-columns:repeat(2,1fr)}.custom-studio-grid{grid-template-columns:1fr}.custom-commerce-layout{grid-template-columns:1fr!important}.custom-commerce-aside{position:static!important}}
@media(max-width:720px){.angola-strip{height:27px;font-size:8px}.commerce-header{top:27px}.store-contact-grid,.team-grid{grid-template-columns:1fr}.store-contact-grid article{border-right:0;border-bottom:1px solid var(--line)}.phone-composite{grid-template-columns:1fr}.studio-control-grid,.studio-actions{grid-template-columns:1fr}.garment-stage{min-height:430px}.cart-drawer-actions{grid-template-columns:1fr!important}.archive-title-grid{gap:18px!important}.collections-archive-page .archive-hero,.shop-page .archive-hero,.custom-commerce-hero,.checkout-page-head,.support-page .contact-hero{padding-top:34px!important}}

/* 5.4.0 final layout authority */
.store-page-main{padding-top:calc(var(--header) + 30px)!important}.home-page .store-page-main{padding-top:0!important}
.compact-page-head{padding-top:38px!important;padding-bottom:38px!important}.compact-page-head h1{font-size:clamp(2.8rem,5vw,5.7rem)!important;line-height:.92!important}.compact-page-head .archive-title-grid{margin-top:6px!important}
.field-with-icon{display:grid!important;grid-template-columns:24px minmax(0,1fr)!important;gap:11px!important;align-items:start!important;margin-bottom:14px!important}.field-with-icon>span{margin-top:35px;color:var(--gstore-gold)}.field-with-icon>span .icon,.field-with-icon>.icon{width:20px;height:20px}.field-with-icon>div{min-width:0}.field-with-icon b,.phone-field-wrap>b{display:block;font-size:.83rem;margin-bottom:7px}.field-with-icon input,.field-with-icon select,.field-with-icon textarea{margin-top:0!important;width:100%}.field-textarea>span{margin-top:37px}.field-hint{display:block;color:var(--muted);font-size:.72rem;margin:-3px 0 7px}.phone-field-wrap{display:block!important}.phone-field-wrap input,.phone-field-wrap select{margin-top:0!important}.icon-form fieldset{border:1px solid var(--line)!important;background:transparent!important;border-radius:0!important}.icon-form legend{color:var(--ink)}
.checkout-custom-link{margin-top:10px;width:100%}.checkout-page .commerce-checkout-form{background:var(--surface)!important;color:var(--ink)!important}.checkout-divider{border-color:var(--line)!important}.checkout-divider span{background:var(--surface)!important;color:var(--muted)!important}.checkout-form-header h3,.checkout-form-header p,.checkout-form-header small{color:var(--ink)!important}.checkout-cart-shortcut{background:var(--surface)!important;color:var(--ink)!important;border:1px solid var(--line)!important}.checkout-copy{color:var(--ink)!important}.checkout-copy p,.checkout-copy small{color:var(--muted)!important}.checkout-steps article{border-color:var(--line)!important}.checkout-steps article strong{color:var(--ink)!important}
html[data-theme="dark"] .commerce-checkout-form,html[data-theme="dark"] .checkout-copy{background:#0b1a2d!important;color:#f7f9fc!important}html[data-theme="dark"] .checkout-form-header h3,html[data-theme="dark"] .checkout-form-header p,html[data-theme="dark"] .checkout-form-header small,html[data-theme="dark"] .checkout-copy,html[data-theme="dark"] .checkout-steps article strong{color:#f7f9fc!important}html[data-theme="dark"] .checkout-copy p,html[data-theme="dark"] .checkout-copy small{color:#aebbd0!important}html[data-theme="dark"] .checkout-cart-shortcut{background:#10233b!important;color:#fff!important;border-color:#35506f!important}html[data-theme="dark"] .checkout-divider span{background:#0b1a2d!important;color:#aebbd0!important}
/* Product cards: the primary commerce action must never disappear. */
.product-card .product-footer{min-height:54px}.product-card .product-footer .add-cart{display:inline-flex!important;opacity:1!important;visibility:visible!important;color:var(--ink)!important;border-color:var(--line)!important}.product-card .product-footer .add-cart .icon{display:block!important}html[data-theme="dark"] .product-card .product-footer .add-cart{display:inline-flex!important;background:#e7ad12!important;color:#08152F!important;border-color:#e7ad12!important}
/* Custom studio */
.studio-preview-panel{position:sticky;top:calc(var(--header) + 48px);align-self:start}.print-zone{left:50%;top:43%;width:145px;height:165px}.print-zone strong{position:absolute;left:50%;bottom:8px;transform:translateX(-50%);max-width:130px;text-align:center;color:#111;font:900 12px/1.05 system-ui;text-transform:uppercase;letter-spacing:.04em;text-shadow:0 1px 0 rgba(255,255,255,.8);pointer-events:none}.studio-panel input[type="range"]{accent-color:var(--gstore-gold)}.studio-panel select,.studio-panel input:not([type="range"]){width:100%;min-height:48px;border:1px solid var(--line);background:var(--surface-2);color:var(--ink);padding:10px 12px;border-radius:0}.custom-form-wrap{min-width:0}.custom-commerce-aside .button{margin-top:18px}
html[data-theme="dark"] .studio-panel,html[data-theme="dark"] .garment-stage{background:#0b1a2d!important;border-color:#28405e!important}html[data-theme="dark"] .studio-panel select,html[data-theme="dark"] .studio-panel input:not([type="range"]){background:#10233b!important;color:#fff!important;border-color:#35506f!important}
/* Team and support */
.contact-card-meta{display:flex;justify-content:space-between;gap:20px;padding:14px 0;border-top:1px solid var(--line);font-size:.78rem}.contact-card-meta span{color:var(--muted)}.contact-card-meta strong{text-align:right}.team-card .icon{width:15px;height:15px}.contact-whatsapp-form{background:var(--surface)!important;color:var(--ink)!important}.contact-whatsapp-form input,.contact-whatsapp-form select,.contact-whatsapp-form textarea{background:var(--surface-2)!important;color:var(--ink)!important;border-color:var(--line)!important;border-radius:0!important}
/* Cart personalization */
.cart-empty-ctas{display:flex;gap:10px;flex-wrap:wrap;justify-content:center}.cart-page-summary .cart-continue-link .icon{width:15px;vertical-align:middle;margin-right:5px}
/* Public document verification */
.validation-main{padding:60px 0 90px}.validation-card{max-width:820px;background:var(--surface);border:1px solid var(--line);padding:42px}.validation-status{display:grid;grid-template-columns:64px 1fr;gap:20px;align-items:start;margin:20px 0 30px}.validation-status>.icon{width:58px;height:58px;padding:14px;background:#e9f7ef;color:#197642}.validation-card.invalid .validation-status>.icon{background:#fff1f1;color:#b42318}.validation-status h1{font-family:Georgia,"Times New Roman",serif;font-size:clamp(2.3rem,5vw,4.8rem);line-height:.95;margin:0 0 10px}.validation-status p{color:var(--muted);margin:0}.validation-card dl{display:grid;grid-template-columns:repeat(2,1fr);border:1px solid var(--line);margin:0 0 28px}.validation-card dl div{padding:18px;border-right:1px solid var(--line);border-bottom:1px solid var(--line)}.validation-card dt{font-size:.7rem;text-transform:uppercase;letter-spacing:.1em;color:var(--muted)}.validation-card dd{margin:5px 0 0;font-weight:900}.validation-actions{display:flex;gap:10px;flex-wrap:wrap}
@media(max-width:1080px){.studio-preview-panel{position:static}.store-page-main{padding-top:calc(var(--header) + 30px)!important}.home-page .store-page-main{padding-top:0!important}}
@media(max-width:720px){.store-page-main{padding-top:calc(var(--header) + 27px)!important}.home-page .store-page-main{padding-top:0!important}.compact-page-head{padding-top:28px!important;padding-bottom:30px!important}.field-with-icon{grid-template-columns:20px 1fr!important}.field-with-icon>span{margin-top:34px}.validation-card{padding:24px}.validation-card dl{grid-template-columns:1fr}.validation-status{grid-template-columns:1fr}.studio-preview-panel{position:static}}
.angola-corner{position:absolute;right:max(14px,calc((100vw - 1420px)/2));top:50%;transform:translateY(-50%);display:inline-flex!important;gap:6px!important;font-size:10px!important;letter-spacing:.08em!important}.angola-corner b{color:#fff!important}@media(max-width:760px){.angola-strip>span:first-child>span:last-child{display:none}.angola-corner{right:10px}}

/* 5.4.0 final polish: product actions, compact heads and dark commerce */
.store-page-main{padding-top:calc(var(--header) + 30px)!important}
.home-page .store-page-main{padding-top:0!important}
.shop-archive-head,.minimal-archive-hero,.checkout-page-head,.faq-commerce-hero,.custom-commerce-hero{padding:42px 0!important}
.archive-title-grid{gap:42px!important;margin-top:4px!important}
.archive-title-grid h1{font-size:clamp(3rem,5vw,5.25rem)!important;line-height:.96!important}
.commerce-product-detail{padding-top:42px!important}
.commerce-detail-copy h1{font-size:clamp(2.85rem,4.7vw,5.15rem)!important;line-height:.96!important;overflow-wrap:anywhere}
.product-card .add-cart,.commerce-product-card .add-cart,.product-card button[data-add],.commerce-product-card button[data-add]{opacity:1!important;visibility:visible!important;pointer-events:auto!important;min-width:118px!important;background:var(--gstore-gold,#e5b20a)!important;color:#08152F!important;border:1px solid var(--gstore-gold,#e5b20a)!important}
.product-card .add-cart:hover,.commerce-product-card .add-cart:hover{background:#f3c51c!important;color:#08152F!important}
html[data-theme="dark"] .commerce-shop-section,html[data-theme="dark"] .collection-products,html[data-theme="dark"] .collections-archive-section{background:#071526!important}
html[data-theme="dark"] .commerce-product-card,html[data-theme="dark"] .product-card,html[data-theme="dark"] .product-body{background:#0d1c31!important;border-color:#263b55!important;color:#f7f9fc!important}
html[data-theme="dark"] .product-card h3,html[data-theme="dark"] .product-card h3 a,html[data-theme="dark"] .commerce-product-card h3,html[data-theme="dark"] .commerce-product-card h3 a{color:#fff!important}
html[data-theme="dark"] .product-card .price,html[data-theme="dark"] .commerce-product-card .price{color:#fff!important}
html[data-theme="dark"] .custom-product-link{background:#10233b!important;border-color:#35506f!important;border-left:3px solid var(--gstore-gold)!important;color:#f7f9fc!important}
html[data-theme="dark"] .custom-product-link b,html[data-theme="dark"] .custom-product-link a{color:#fff!important}
html[data-theme="dark"] .custom-product-link a{color:#f3c51c!important}
html[data-theme="dark"] .commerce-detail-buy select,html[data-theme="dark"] .commerce-detail-buy input{background:#10233b!important;color:#fff!important;border-color:#35506f!important}
html[data-theme="dark"] .commerce-detail-buy select option{background:#10233b!important;color:#fff!important}
html[data-theme="dark"] .detail-info article{background:#10233b!important;border-color:#35506f!important;color:#fff!important}
html[data-theme="dark"] .gallery-stage,html[data-theme="dark"] .gallery-thumb{background:#10233b!important;border-color:#35506f!important;color:#fff!important}
html[data-theme="dark"] .collection-archive-card{background:#0d1c31!important;border-color:#263b55!important;color:#fff!important}
html[data-theme="dark"] .collection-archive-copy p,html[data-theme="dark"] .collection-archive-meta>span{color:#b9c5d6!important}
html[data-theme="dark"] .collection-archive-meta>span b{color:#fff!important}
html[data-theme="dark"] .catalog-search,html[data-theme="dark"] .catalog-toolbar-meta select{background:#10233b!important;border-color:#35506f!important;color:#fff!important}
html[data-theme="dark"] .catalog-search input{color:#fff!important}
html[data-theme="dark"] .catalog-filter-link{color:#e7edf6!important;border-color:#263b55!important}
html[data-theme="dark"] .catalog-filter-link b{color:#9eacc0!important}
html[data-theme="dark"] .catalog-filter-link.active{background:#e5b20a!important;color:#08152F!important;border-color:#e5b20a!important}
html[data-theme="dark"] .catalog-filter-link.active b{color:#08152F!important}
html[data-theme="dark"] .catalog-pagination a,html[data-theme="dark"] .catalog-pagination span{color:#fff!important;border-color:#35506f!important}
html[data-theme="dark"] .catalog-pagination a.active{background:#e5b20a!important;color:#08152F!important;border-color:#e5b20a!important}

/* Checkout: consistent fields in both themes */
.icon-form input,.icon-form select,.icon-form textarea,.checkout-form input,.checkout-form select,.checkout-form textarea{border-radius:0!important}
html[data-theme="dark"] .commerce-checkout-form,html[data-theme="dark"] .checkout-form{background:#0d1c31!important;border-color:#263b55!important;color:#fff!important}
html[data-theme="dark"] .checkout-form input,html[data-theme="dark"] .checkout-form select,html[data-theme="dark"] .checkout-form textarea,html[data-theme="dark"] .phone-composite{background:#10233b!important;color:#fff!important;border-color:#35506f!important}
html[data-theme="dark"] .checkout-form input::placeholder,html[data-theme="dark"] .checkout-form textarea::placeholder{color:#8e9db1!important;opacity:1!important}
html[data-theme="dark"] .checkout-form select option{background:#10233b!important;color:#fff!important}
html[data-theme="dark"] .payment-choice-card{background:#10233b!important;color:#fff!important;border-color:#35506f!important}
html[data-theme="dark"] .payment-choice-card:has(input:checked){border-color:var(--gstore-gold)!important;box-shadow:inset 4px 0 0 var(--gstore-gold)!important}
html[data-theme="dark"] .payment-choice-card small,html[data-theme="dark"] .checkout-form small{color:#aebbd0!important}
html[data-theme="dark"] .commerce-mini-cart>article,html[data-theme="dark"] .checkout-mini-cart>article{background:#10233b!important;color:#fff!important;border-color:#35506f!important}

/* Customizer: more like a real design workstation */
.custom-studio{padding:46px 0 28px!important;background:var(--canvas,#f3f1ec)!important}
.custom-studio-grid{align-items:start!important}
.studio-preview-panel{position:sticky;top:calc(var(--header) + 24px);align-self:start}
.studio-tools-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.studio-control-group{border-top:1px solid var(--line);padding-top:14px;display:grid;gap:10px}
.studio-control-group>strong{font-size:.68rem;text-transform:uppercase;letter-spacing:.15em;color:var(--muted)}
.studio-inline{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.studio-inline label{display:grid;gap:6px}
.studio-inline input[type="number"],.studio-inline input[type="text"],.studio-controls select,.studio-controls input[type="text"],.studio-controls input[type="color"]{min-height:44px;border:1px solid var(--line);background:var(--surface);color:var(--ink);padding:0 10px;border-radius:0!important}
.studio-range{grid-template-columns:100px 1fr 56px!important}
.studio-range input[type="range"]{accent-color:var(--gstore-gold)}
.studio-text-tools{display:grid;grid-template-columns:minmax(0,1fr) 88px 94px;gap:8px;align-items:end}
.studio-text-tools input[type="color"]{padding:4px;height:44px}
.studio-zone-note{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:.72rem;color:var(--muted);border-top:1px solid var(--line);padding-top:12px}
.studio-zone-note b{color:var(--ink)}
.studio-actions button,.studio-actions label{border-radius:0!important}
#studioPrintZone{cursor:grab;touch-action:none}
#studioPrintZone.is-dragging{cursor:grabbing}
#studioArtwork{transform-origin:center center}
#studioTextOverlay{position:absolute;left:50%;top:65%;transform:translate(-50%,-50%);font-weight:900;text-align:center;line-height:1.05;max-width:92%;word-break:break-word;text-shadow:0 1px 1px rgba(255,255,255,.25)}
.studio-download{background:#08152F!important;color:#fff!important;border:1px solid #08152F!important}
html[data-theme="dark"] .custom-studio{background:#071526!important}
html[data-theme="dark"] .studio-panel{background:#0d1c31!important;border-color:#263b55!important;color:#fff!important}
html[data-theme="dark"] .studio-controls input,html[data-theme="dark"] .studio-controls select{background:#10233b!important;color:#fff!important;border-color:#35506f!important}
html[data-theme="dark"] .studio-control-group{border-color:#263b55!important}
html[data-theme="dark"] .studio-zone-note b{color:#fff!important}
html[data-theme="dark"] .commerce-custom-form form,html[data-theme="dark"] .custom-form-wrap form{background:#0d1c31!important;color:#fff!important;border-color:#263b55!important}
html[data-theme="dark"] .commerce-custom-form input,html[data-theme="dark"] .commerce-custom-form select,html[data-theme="dark"] .commerce-custom-form textarea,html[data-theme="dark"] .commerce-custom-form .design-upload,html[data-theme="dark"] .commerce-custom-form .position-grid label{background:#10233b!important;color:#fff!important;border-color:#35506f!important}
html[data-theme="dark"] .commerce-custom-form input::placeholder,html[data-theme="dark"] .commerce-custom-form textarea::placeholder{color:#8e9db1!important;opacity:1!important}

@media(max-width:900px){
 .store-page-main{padding-top:calc(var(--header-mobile,72px) + 27px)!important}
 .home-page .store-page-main{padding-top:0!important}
 .shop-archive-head,.minimal-archive-hero,.checkout-page-head,.faq-commerce-hero,.custom-commerce-hero{padding:30px 0!important}
 .archive-title-grid{grid-template-columns:1fr!important;gap:18px!important}
 .archive-title-grid h1{font-size:clamp(2.7rem,12vw,4.25rem)!important}
 .studio-preview-panel{position:relative;top:auto}
 .studio-tools-grid{grid-template-columns:1fr}
 .studio-text-tools{grid-template-columns:1fr 80px}
 .studio-text-tools label:first-child{grid-column:1/-1}
}
