/* Shared visual theme. Commerce, auth, shipping and administration are unchanged. */
:root[data-theme="tecno-dark"]{
  color-scheme:dark;
  --bg:#090a0c;--panel:#17191d;--ink:#f4f4f0;--ink-soft:#c0c3c8;
  --dark:#0c0d0f;--dark-soft:#22252a;--line:#3c3b32;
  --yellow:#ffda00;--yellow-dark:#ffda00;--red:#ffda00;--red-dark:#e1bc00;
  --theme-muted:#acb0b8;--theme-border:#ffda0038;--theme-error:#ffabab;
}
html[data-theme="tecno-dark"] body{
  color:var(--ink);background-color:var(--bg);background-image:none;
}
html[data-theme="tecno-dark"] ::selection{background:#ffda00;color:#111}
html[data-theme="tecno-dark"] :is(h1,h2,h3,h4){color:var(--ink)}
html[data-theme="tecno-dark"] :is(.section-head h2,.featured-head h2,.cat-page-title h1,.ship-section-title,.admin-head h1,.rev-head h1,#customerPortal>h1,main>h1,main>h2){color:var(--yellow)}
html[data-theme="tecno-dark"] :is(.section,.featured-section,.rev-wrap){
  background:var(--bg)!important;color:var(--ink);
}
html[data-theme="tecno-dark"] .section>.wrap{background:transparent;box-shadow:none}
html[data-theme="tecno-dark"] :is(.p-card,.featured-section .p-card,.offers .p-card,.cat-card,.step,.why-card,.testi-card,.faq-item,.rev-summary,.rev-form-card,.rev-item,.ship-map-card,.product-detail,.offer-editor,.stat-card,.add-product-details,.admin-gate){
  background:var(--panel);color:var(--ink);border:1px solid var(--theme-border);
  box-shadow:0 8px 25px #0002;
}
html[data-theme="tecno-dark"] :is(.p-card,.cat-card,.step,.why-card,.testi-card,.faq-item):hover{border-color:#ffda0070}
html[data-theme="tecno-dark"] .p-card .p-body{background:var(--panel);color:var(--ink)}
html[data-theme="tecno-dark"] .p-photo{background:var(--panel)!important}
html[data-theme="tecno-dark"] .p-photo img{background:transparent}
html[data-theme="tecno-dark"] .p-name{color:var(--ink)}
html[data-theme="tecno-dark"] .p-price{color:var(--yellow)}
html[data-theme="tecno-dark"] .p-price-old{color:var(--theme-muted)}
html[data-theme="tecno-dark"] .p-stock{color:#b8d5b7}
html[data-theme="tecno-dark"] .p-stock.low{color:#ffe785}
html[data-theme="tecno-dark"] .p-stock.out{color:var(--theme-error)}
html[data-theme="tecno-dark"] .p-badge{background:var(--yellow);color:#111}
html[data-theme="tecno-dark"] :is(.btn-red,.btn-yellow,.portal-links a,.gamer-search button){
  background:var(--yellow);color:#111;border-color:var(--yellow);box-shadow:none;
}
html[data-theme="tecno-dark"] :is(.btn-red,.btn-yellow,.portal-links a,.gamer-search button):hover{background:#ffe84d;color:#111}
html[data-theme="tecno-dark"] :is(.btn-outline,.featured-all){
  background:transparent;color:var(--yellow)!important;border-color:#bba600!important;
}
html[data-theme="tecno-dark"] :is(.btn-outline,.featured-all):hover{background:var(--yellow);color:#111!important}
html[data-theme="tecno-dark"] .btn-ghost{background:#272920;color:var(--yellow)}
html[data-theme="tecno-dark"] :is(.auth-modal,.search-modal,.cart-drawer,.store-notice){
  background:#15171b;color:var(--ink);border:1px solid var(--theme-border);
  box-shadow:0 20px 80px #0009;
}
html[data-theme="tecno-dark"] .cart-footer{background:#15171b}
html[data-theme="tecno-dark"] :is(.auth-overlay,.search-overlay,.cart-overlay){background:#000b}
html[data-theme="tecno-dark"] .store-notice::backdrop{background:#000c}
html[data-theme="tecno-dark"] :is(.auth-close,.search-close,.cart-close,.notice-close,.ci-qty button){
  background:#292c30;color:var(--yellow);border-color:#7b6f22;
}
html[data-theme="tecno-dark"] .auth-tabs{background:#24272b;border:1px solid var(--line)}
html[data-theme="tecno-dark"] .auth-tab{color:var(--ink-soft)}
html[data-theme="tecno-dark"] .auth-tab.active{background:var(--yellow);color:#111}
html[data-theme="tecno-dark"] :is(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]),select,textarea){
  background:#0e1013!important;color:var(--ink)!important;border-color:#65604a!important;
  caret-color:var(--yellow);color-scheme:dark;
}
html[data-theme="tecno-dark"] :is(input,textarea)::placeholder{color:#a7abb2;opacity:1}
html[data-theme="tecno-dark"] select option{background:#15171b;color:var(--ink)}
html[data-theme="tecno-dark"] :is(input[type="checkbox"],input[type="radio"],input[type="range"]){accent-color:var(--yellow)}
html[data-theme="tecno-dark"] :is(input,textarea,select):focus-visible{
  border-color:var(--yellow)!important;outline:2px solid var(--yellow);outline-offset:3px;
}
html[data-theme="tecno-dark"] :is(a,button,summary):focus-visible{outline:3px solid var(--yellow);outline-offset:4px}
html[data-theme="tecno-dark"] .gamer-search{background:#0e1013}
html[data-theme="tecno-dark"] .gamer-search:focus-within{outline:2px solid var(--yellow);outline-offset:4px}
html[data-theme="tecno-dark"] :is(.mobile-panel,.service-shortcuts){background:#15171b}
html[data-theme="tecno-dark"] .mobile-panel a{color:var(--ink);border-color:var(--line)}
html[data-theme="tecno-dark"] .mobile-panel a:hover{color:var(--yellow)}
html[data-theme="tecno-dark"] .subcategory-chip{background:var(--panel);border-color:var(--theme-border);color:var(--ink)}
html[data-theme="tecno-dark"] .subcategory-chip:hover{border-color:var(--yellow);color:var(--yellow)}
html[data-theme="tecno-dark"] .subcategory-chip[aria-current="page"]{background:var(--yellow);color:#111;border-color:var(--yellow)}
html[data-theme="tecno-dark"] :is(#customerPortal,#customerManagement,.subcategories-admin,#noticeAdmin){
  background:var(--panel);color:var(--ink);border:1px solid var(--theme-border);
}
html[data-theme="tecno-dark"] #customerPortal section{background:#1d2024;color:var(--ink);border:1px solid var(--line)}
html[data-theme="tecno-dark"] :is(#portalIdentity,#portalPrivate>p){color:var(--ink)}
html[data-theme="tecno-dark"] :is(#customerPortal article,#customerManagement article){background:#111316;border-color:var(--line);color:var(--ink)}
html[data-theme="tecno-dark"] :is(.stat-value,.testi-stars,.rev-stars,.stars-static,.step .num,.ship-carrier-price,.cart-total-row span:last-child){color:var(--yellow)}
html[data-theme="tecno-dark"] :is(.rev-login-notice,.ship-notice,.notice){background:#282511;color:var(--ink);border-color:#75691f}
html[data-theme="tecno-dark"] :is(.ship-result-card,.ship-carrier,.find-for-you,.loc-card){background:#16181c;border:1px solid var(--theme-border);color:var(--ink)}
html[data-theme="tecno-dark"] :is(.ship-hint,.ship-notice p,.cat-page-desc,.cat-page-count,.breadcrumb,.breadcrumb a,.ship-result-summary span){color:var(--ink-soft)}
html[data-theme="tecno-dark"] .region-shape{fill:#272a2e;stroke:#7c7137}
html[data-theme="tecno-dark"] .region-label{fill:#e3e5e8}
html[data-theme="tecno-dark"] :is(.region-shape:hover,.region-shape:focus,.region-shape.selected){fill:var(--yellow)}
html[data-theme="tecno-dark"] :is(.region-shape:hover+.region-label,.region-shape:focus+.region-label,.region-shape.selected+.region-label){fill:#111}
html[data-theme="tecno-dark"] .delivery-opt label:has(input:checked){background:#332f12;border-color:var(--yellow)}
html[data-theme="tecno-dark"] :is(.coupon-applied,.coupon-status.active){background:#2b2912;color:#ffe871;border-color:#82712d}
html[data-theme="tecno-dark"] .coupon-cat-checks label{background:#24272b;color:var(--ink);border:1px solid var(--line)}
html[data-theme="tecno-dark"] .coupon-status.inactive{background:#2d2020;color:var(--theme-error)}
html[data-theme="tecno-dark"] :is(.auth-error,.admin-error,.row-status.error,.rev-status.error,.coupon-msg.error){color:var(--theme-error)}
html[data-theme="tecno-dark"] :is(.row-status.ok,.rev-status.ok){color:#a6e1b2}
html[data-theme="tecno-dark"] .fav-btn{background:#15171beb;color:#ffdf46;border:1px solid #a58d35}
html[data-theme="tecno-dark"] .fav-btn.active{background:var(--yellow);color:#111}
html[data-theme="tecno-dark"] :is(.search-hint a,.ci-remove,.coupon-remove,.faq-item summary:after){color:var(--yellow)}
html[data-theme="tecno-dark"] .sr-thumb{background:var(--panel)}
html[data-theme="tecno-dark"] .ci-photo{background:#202328!important;color:var(--ink)}
html[data-theme="tecno-dark"] .coupon-status[style]{background:#332c12!important;color:#ffe785!important}
html[data-theme="tecno-dark"] :is(.admin-table,.coupon-table){color:var(--ink)}
html[data-theme="tecno-dark"] :is(.admin-table th,.coupon-table th){color:var(--yellow);background:#191b18}
html[data-theme="tecno-dark"] :is(.admin-table td,.coupon-table td,.subcategory-admin-row){border-color:var(--line)}
html[data-theme="tecno-dark"] :is(.admin-table tbody tr:hover,.coupon-table tbody tr:hover){background:#ffda0008}
html[data-theme="tecno-dark"] :is(button:disabled,input:disabled,select:disabled){opacity:.55}
html[data-theme="tecno-dark"] footer{background:#0d0e10;border-top:1px solid #786816;color:var(--ink-soft)}
html[data-theme="tecno-dark"] footer h4{color:var(--yellow)}
html[data-theme="tecno-dark"] footer a:hover{color:var(--yellow)}
html[data-theme="tecno-dark"] .insta-tile{background:#1d2024!important;border:1px solid var(--theme-border)}
html[data-theme="tecno-dark"] .star-picker button{color:#8f8b70}
html[data-theme="tecno-dark"] .star-picker button.selected{color:var(--yellow)}
@media(max-width:600px){
  html[data-theme="tecno-dark"] :is(.auth-modal,.store-notice,.search-modal){border-radius:14px}
  html[data-theme="tecno-dark"] :is(input:not([type="checkbox"]):not([type="radio"]),select,textarea){font-size:16px}
}
@media print{
  html[data-theme="tecno-dark"]{--bg:#fff;--panel:#fff;--ink:#111;--ink-soft:#444;color-scheme:light}
  html[data-theme="tecno-dark"] body{background:#fff;color:#111}
}
