/*
Theme Name: DXLA PLUS
Theme URI: https://dxlaplus.com
Author: DXLA PLUS
Author URI: https://dxlaplus.com
Description: The official DXLA PLUS storefront theme — a clean, modern e-commerce design for phone cases, chargers, cables, power banks and other phone & tablet accessories. Fully compatible with Elementor and WooCommerce, translation-ready (English, Français), and fully responsive.
Version: 2.2.7
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dxlaplus
Domain Path: /languages
Tags: e-commerce, custom-colors, custom-logo, custom-menu, editor-style, featured-images, full-width-template, threaded-comments, translation-ready, wide-blocks

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.
*/

/* =========================================================
   DESIGN TOKENS
========================================================= */
:root{
  --primary:#0A714E;
  --secondary:#0B1B33;
  --bg:#FFFFFF;
  --surface:#F7F7F8;
  --border:#EDEDEF;
  --text:#0D0D0D;
  --text2:#6B6B70;
  --green-soft:#E6F1ED;
  --icon-green:#0A714E;
  --radius-sm:8px;
  --radius-md:12px;
  --radius-lg:18px;
  --radius-xl:24px;
  --radius-full:999px;
  --shadow-card:0 2px 10px rgba(13,13,13,.05);
  --shadow-hero:0 20px 50px rgba(11,27,51,.22);
  --shadow-cta:0 8px 20px rgba(255,106,26,.32);
  --maxw:1240px;
  /* ===== Glassmorphism (light, subtle) =====
     Intentionally light: low blur, low opacity, thin borders, soft
     shadow only — per the brief, never heavy/neon/glowy. */
  --glass-bg:rgba(255,255,255,.62);
  --glass-bg-strong:rgba(255,255,255,.78);
  --glass-border:rgba(255,255,255,.65);
  --glass-shadow:0 8px 28px rgba(20,30,45,.08);
  --glass-blur:14px;
  --glass-sheen:linear-gradient(135deg, rgba(255,255,255,.35), rgba(255,255,255,0) 45%);
}
[data-theme="dark"]{
  --primary:#0A714E;
  --bg:#0A0E14;
  --surface:#131820;
  --border:#232A35;
  --text:#F5F5F7;
  --text2:#9AA0AC;
  --green-soft:#0A2421;
  /* ===== Glassmorphism (dark, subtle) ===== */
  --glass-bg:rgba(24,30,40,.58);
  --glass-bg-strong:rgba(24,30,40,.74);
  --glass-border:rgba(255,255,255,.08);
  --glass-shadow:0 8px 28px rgba(0,0,0,.35);
  --glass-blur:14px;
  --glass-sheen:linear-gradient(135deg, rgba(255,255,255,.06), rgba(255,255,255,0) 45%);
}

/* =========================================================
   GLASSMORPHISM UTILITY
   A single reusable ".glass" class + a small set of existing-surface
   overrides below. Kept deliberately subtle per the brief: low blur,
   translucent (not transparent), thin border, soft shadow, a faint
   diagonal sheen for the "light reflection" feel — never heavy blur,
   neon glow, or strong transparency. Falls back gracefully to the
   existing solid surface on any browser without backdrop-filter
   support (Firefox <103, older Safari) since --glass-bg is already
   opaque-enough on its own to read correctly without blur.
========================================================= */
.glass{
  position:relative;
  background:var(--glass-bg);
  border:1px solid var(--glass-border);
  box-shadow:var(--glass-shadow);
  -webkit-backdrop-filter:blur(var(--glass-blur)) saturate(1.4);
  backdrop-filter:blur(var(--glass-blur)) saturate(1.4);
}
.glass::before{
  content:""; position:absolute; inset:0; border-radius:inherit; pointer-events:none;
  background:var(--glass-sheen);
}

/* =========================================================
   RESET / BASE
========================================================= */
*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0; padding:0;
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  background-color:var(--bg); color:var(--text);
  /* Soft, low-opacity color washes behind the page content — this is
     what the glass cards above actually blur/reveal. On a completely
     flat white page, translucent-white-over-white is visually
     indistinguishable from solid white, so the frosted-glass effect
     would otherwise be invisible however correctly it's implemented.
     Kept deliberately faint and premium (not a loud pattern): two
     large, soft brand-green blobs, fixed in place so they read
     consistently as you scroll past different glass surfaces. */
  background-image:
    radial-gradient(760px 520px at 8% 0%, rgba(10,113,78,.10), transparent 60%),
    radial-gradient(680px 480px at 96% 30%, rgba(10,113,78,.07), transparent 60%),
    radial-gradient(720px 520px at 50% 100%, rgba(11,27,51,.06), transparent 60%);
  background-repeat:no-repeat;
  -webkit-font-smoothing:antialiased;
  font-size:15px; line-height:1.6;
}
[data-theme="dark"] body{
  background-image:
    radial-gradient(760px 520px at 8% 0%, rgba(10,113,78,.16), transparent 60%),
    radial-gradient(680px 480px at 96% 30%, rgba(10,113,78,.10), transparent 60%),
    radial-gradient(720px 520px at 50% 100%, rgba(60,120,200,.08), transparent 60%);
}
html[dir="rtl"] body{ font-family:'Inter',sans-serif; }
.wordmark{ font-family:'Fraunces',serif; font-weight:900; letter-spacing:.01em; }
img{ max-width:100%; height:auto; display:block; }
svg{ display:block; }
a{ color:inherit; text-decoration:none; }
button{ font-family:inherit; cursor:pointer; }
ul{ list-style:none; margin:0; padding:0; }
input,textarea,select{ font-family:inherit; font-size:inherit; }

.wrap,
.site-content-inner{ max-width:var(--maxw); margin:0 auto; padding:0 40px; }

/* Screen-reader text (WP standard) */
.screen-reader-text{
  border:0; clip:rect(1px,1px,1px,1px); clip-path:inset(50%);
  height:1px; margin:-1px; overflow:hidden; padding:0; position:absolute; width:1px; word-wrap:normal!important;
}
.skip-link{ position:absolute; top:-100px; left:0; background:var(--secondary); color:#fff; padding:12px 20px; z-index:999999; border-radius:0 0 8px 0; }
.skip-link:focus{ top:0; }

/* Alignment helpers for the block editor / Elementor content */
.alignwide{ margin-left:calc(50% - 45vw); margin-right:calc(50% - 45vw); max-width:90vw; }
.alignfull{ margin-left:calc(50% - 50vw); margin-right:calc(50% - 50vw); max-width:100vw; }
.aligncenter{ margin-left:auto; margin-right:auto; display:block; }
.alignleft{ float:left; margin-right:20px; }
.alignright{ float:right; margin-left:20px; }

/* =========================================================
   ANNOUNCEMENT BAR
========================================================= */
.announce{
  background:var(--secondary); color:#fff; text-align:center;
  font-size:12px; font-weight:600; letter-spacing:.02em; padding:9px 20px;
}
.announce b{ color:var(--primary); }
.announce-icon{ vertical-align:-2px; margin-inline-end:4px; }

/* =========================================================
   HEADER
========================================================= */
.site-header{
  position:sticky; top:0; z-index:50;
  background:var(--glass-bg-strong); border-bottom:1px solid var(--glass-border);
  -webkit-backdrop-filter:blur(var(--glass-blur)) saturate(1.4);
  backdrop-filter:blur(var(--glass-blur)) saturate(1.4);
}
.header-row{
  display:flex; align-items:center; gap:32px;
  padding:18px 40px; max-width:var(--maxw); margin:0 auto;
}
.brand{ display:flex; align-items:center; gap:8px; flex:0 0 auto; }
.brand svg{ width:26px; height:26px; }
.brand span{ font-size:20px; letter-spacing:.01em; }
.logo-img{ height:38px !important; width:auto !important; max-height:38px !important; }
.custom-logo-link{ display:flex; align-items:center; flex:0 0 auto; }
.custom-logo-link .custom-logo{ height:38px !important; width:auto !important; max-height:38px !important; }
.mobile-topbar .custom-logo-link .custom-logo{ height:34px !important; max-height:34px !important; }
.footer-brand .custom-logo-link .custom-logo{ height:34px !important; max-height:34px !important; }
.footer-brand .logo-img{ height:34px !important; max-height:34px !important; }
/* Defensive catch-all: ANY image sitting directly in the header's brand
   slot is capped to the same header height, regardless of which class
   (or lack of one) it happens to carry — protects against a future
   markup variant, plugin override, or stale-cache scenario producing
   an unstyled, oversized logo on any specific page. */
.site-header .brand img,
.header-row .brand img,
.site-header .custom-logo-link img{
  height:38px !important; width:auto !important; max-height:38px !important; max-width:200px !important;
}
.logo-img-dark{ display:none; }
[data-theme="dark"] .logo-img-light{ display:none; }
[data-theme="dark"] .logo-img-dark{ display:block; }

.main-nav{ display:flex; gap:28px; }
.main-nav a{
  font-size:14px; font-weight:600; color:var(--text2);
  padding:6px 0; border-bottom:2px solid transparent; transition:all .2s ease-out;
}
.main-nav a:hover, .main-nav a.current-menu-item > a, .main-nav li.current-menu-item a{
  color:var(--text); border-color:var(--primary);
}
.main-nav ul{ display:flex; gap:28px; }
.main-nav li{ position:relative; }
.main-nav .sub-menu{
  display:none; position:absolute; top:100%; inset-inline-start:0; min-width:200px;
  background:var(--bg); border:1px solid var(--border); border-radius:var(--radius-md);
  box-shadow:var(--shadow-card); padding:8px; margin-top:12px; z-index:60;
}
.main-nav li:hover > .sub-menu{ display:block; }
.main-nav .sub-menu a{ display:block; padding:9px 12px; border:none; border-radius:8px; }
.main-nav .sub-menu a:hover{ background:var(--surface); }

.header-search{
  display:flex; align-items:center; gap:8px;
  background:var(--glass-bg); border:1px solid var(--glass-border);
  -webkit-backdrop-filter:blur(var(--glass-blur)); backdrop-filter:blur(var(--glass-blur));
  border-radius:var(--radius-full); padding:9px 16px; width:230px;
  color:var(--text2); font-size:13px;
  margin-inline-start:auto;
}
.header-search svg{ width:15px; height:15px; flex:0 0 auto; }
.header-search input{
  border:none; background:none; outline:none; font:inherit; color:var(--text); width:100%;
}
.header-search input::placeholder{ color:var(--text2); }

.header-actions{ display:flex; align-items:center; gap:10px; flex:0 0 auto; }
.icon-btn{
  width:36px; height:36px; border-radius:50%;
  background:var(--glass-bg); border:1px solid var(--glass-border);
  -webkit-backdrop-filter:blur(var(--glass-blur)); backdrop-filter:blur(var(--glass-blur));
  display:flex; align-items:center; justify-content:center;
  color:var(--text); transition:transform .15s ease-out;
  position:relative;
}
.icon-btn:hover{ border-color:var(--primary); color:var(--primary); }
.icon-btn:active{ transform:scale(.92); }
.icon-btn svg{ width:16px; height:16px; }
.icon-btn .dot{
  position:absolute; top:-2px; inset-inline-end:-2px;
  min-width:15px; height:15px; padding:0 3px; border-radius:50%; background:var(--primary);
  color:#fff; font-size:9px; font-weight:800; display:flex; align-items:center; justify-content:center;
  border:2px solid var(--bg);
}
.lang-switcher{ display:flex; gap:3px; background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-full); padding:3px; }
.lang-switcher a{
  font-size:11px; font-weight:700; letter-spacing:.02em; border:none; background:transparent;
  padding:6px 10px; border-radius:var(--radius-full); color:var(--text2); transition:all .2s ease-out;
}
.lang-switcher a.active,.lang-switcher a:hover{ background:var(--primary); color:#fff; }

/* =========================================================
   HERO
========================================================= */
.hero-section{ padding:56px 40px 0; }
.hero{
  max-width:var(--maxw); margin:0 auto;
  border-radius:var(--radius-xl);
  background:linear-gradient(135deg,#0B1B33,#1B3660);
  min-height:360px; padding:60px;
  position:relative; overflow:hidden; color:#fff;
  box-shadow:var(--shadow-hero);
  display:flex; align-items:center;
}
.hero-inner{ max-width:480px; position:relative; z-index:2; }
.hero .sparkle-deco{ position:absolute; opacity:.1; color:#fff; }
.hero .sparkle-deco.tl{ top:-30px; inset-inline-start:-20px; width:180px; height:180px; }
.hero .sparkle-deco.br{ bottom:-50px; inset-inline-end:-30px; width:260px; height:260px; }
.hero .eyebrow{ color:var(--primary); font-weight:800; font-size:13px; letter-spacing:.08em; text-transform:uppercase; }
.hero h1{ font-size:44px; font-weight:800; line-height:1.1; margin-top:14px; color:#fff; }
.hero p{ font-size:15px; opacity:.75; margin-top:16px; font-weight:500; max-width:360px; }
.hero .cta-row{ display:flex; gap:12px; margin-top:32px; flex-wrap:wrap; }
.hero .hero-bell{ display:none; } /* shown only in phone mode, see responsive rules */

.hero-arrows{
  display:flex; gap:16px; max-width:var(--maxw); margin:20px auto 0; padding:0 40px;
}
.hero-arrow{
  width:40px; height:40px; border-radius:50%; border:1px solid var(--border); background:var(--bg);
  display:flex; align-items:center; justify-content:center; color:var(--text); cursor:pointer; transition:all .15s ease-out;
}
.hero-arrow:hover{ border-color:var(--primary); color:var(--primary); }
.hero-arrow svg{ width:18px; height:18px; }

/* ===== Hero v2: text left, reserved visual panel right =====
   Same .hero box (background, radius, shadow, padding) as before —
   only adds a second column for a future product photo, a promo
   badge, a decorative tagline, and carousel dots. Nothing here
   changes .hero-inner/.eyebrow/h1/p/.cta-row, so existing styling for
   those is untouched. */
.hero-v2{ justify-content:space-between; gap:40px; }
.hero-v2 .hero-inner{ flex:1 1 420px; }
.hero-visual{
  flex:1 1 360px; position:relative; align-self:stretch; min-height:280px;
  border-radius:var(--radius-lg); overflow:hidden;
  border:1px solid rgba(255,255,255,.14);
  background:radial-gradient(120% 120% at 75% 30%, rgba(10,113,78,.35), transparent 60%),
             linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,0) 40%);
  -webkit-backdrop-filter:blur(6px); backdrop-filter:blur(6px);
  display:flex; align-items:center; justify-content:center;
}
.hero-visual-photo{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
  /* The uploaded hero photo itself stays sharp and unfiltered — only
     the frame around it (.hero-visual's border/background) carries the
     glass treatment, never the photo. */
  filter:none;
}
.hero-visual.has-photo::after{
  content:""; position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(11,27,51,.05), rgba(11,27,51,.35));
}
.hero-visual .sparkle-deco{ position:absolute; opacity:.14; color:#fff; z-index:1; }
.hero-visual .sparkle-deco.tl{ top:10px; inset-inline-start:10px; }
.hero-visual .sparkle-deco.br{ bottom:-20px; inset-inline-end:-20px; }
.hero-glow{
  position:absolute; width:220px; height:220px; border-radius:50%;
  background:radial-gradient(circle, rgba(10,113,78,.55), transparent 70%);
  filter:blur(10px);
}
.hero-badge{
  position:relative; z-index:2; width:120px; height:120px; border-radius:50%;
  background:var(--primary); color:#fff; display:flex; flex-direction:column;
  align-items:center; justify-content:center; text-align:center; box-shadow:0 10px 30px rgba(10,113,78,.45);
  line-height:1.15;
}
.hero-badge-l1{ font-size:11px; font-weight:800; letter-spacing:.06em; }
.hero-badge-l2{ font-size:30px; font-weight:900; }
.hero-badge-l3{ font-size:11px; font-weight:800; letter-spacing:.06em; }
.hero-tagline{
  position:absolute; top:18px; inset-inline-end:22px; z-index:2;
  font-family:Georgia,'Times New Roman',serif; font-style:italic; font-weight:600;
  font-size:14px; line-height:1.5; color:rgba(255,255,255,.85); text-align:end;
  max-width:170px;
}
.hero-dots{
  position:absolute; left:60px; bottom:24px; z-index:3; display:flex; gap:6px;
}
.hero-dot{ width:7px; height:7px; border-radius:50%; background:rgba(255,255,255,.35); }
.hero-dot.active{ background:var(--primary); width:20px; border-radius:4px; }

@media (max-width:900px){
  .hero-visual:not(.has-photo){ display:none; } /* no product photo set yet — text keeps the full width instead of an empty decorative panel; once a real hero photo is uploaded via Customize → DXLA PLUS Homepage Images, it shows on mobile too. */
  .hero-visual.has-photo{ min-height:200px; margin-top:16px; }
  .hero-dots{ left:24px; }
}

/* =========================================================
   BUTTONS (also styles WooCommerce's default button classes)
========================================================= */
.btn,
.button,
.wp-block-button__link,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce-Button{
  display:inline-block; border:none; border-radius:var(--radius-md) !important; font-weight:700; font-size:14px;
  padding:14px 26px; transition:transform .15s ease-out, background .15s ease-out; cursor:pointer;
  background:var(--primary) !important; color:#fff!important; box-shadow:var(--shadow-cta); font-family:inherit;
}
.btn:hover,.button:hover,.woocommerce a.button:hover,.woocommerce button.button:hover{ background:#085D40 !important; color:#fff; }
.btn:active,.button:active{ transform:scale(.96); }
.btn-outline{ background:transparent !important; color:#fff!important; border:1.5px solid rgba(255,255,255,.4); box-shadow:none; }
.btn-icon{ display:inline-flex; align-items:center; gap:8px; }
.btn-icon svg{ flex:0 0 auto; }
.btn-outline-orange,
.woocommerce a.button.alt,
.woocommerce #respond input#submit.alt{
  background:transparent !important; color:var(--primary)!important; border:1.5px solid var(--primary); box-shadow:none;
}
.btn-outline-orange:hover{ background:var(--green-soft) !important; }

/* =========================================================
   CATEGORY STRIP
========================================================= */
.cat-section{ padding:56px 40px 0; }
.cat-grid{
  max-width:var(--maxw); margin:0 auto;
  display:grid; grid-template-columns:repeat(5,1fr); gap:16px;
}
.cat-card{
  border:1px solid var(--glass-border); border-radius:var(--radius-lg);
  padding:22px 16px; text-align:center; background:var(--glass-bg);
  box-shadow:var(--glass-shadow);
  -webkit-backdrop-filter:blur(var(--glass-blur)) saturate(1.3);
  backdrop-filter:blur(var(--glass-blur)) saturate(1.3);
  transition:all .2s ease-out; cursor:pointer; display:block;
}
.cat-card:hover{ border-color:var(--primary); transform:translateY(-3px); }
.cat-card.active{ background:var(--primary); border-color:var(--primary); }
.cat-card.active span{ color:#fff; }
.cat-card.active .icon-wrap{ background:transparent; }
.cat-card .icon-wrap{
  width:44px; height:44px; border-radius:50%; background:var(--green-soft);
  display:flex; align-items:center; justify-content:center; margin:0 auto 12px;
  color:var(--primary); overflow:hidden;
}
.cat-card .icon-wrap svg{ width:20px; height:20px; }
.cat-card .icon-wrap img{ width:100%; height:100%; object-fit:cover; }
.icon-wrap-emoji{ background:transparent!important; font-size:26px; line-height:1; }
.cat-card span{ font-size:13px; font-weight:700; }
.section-label{ display:none; }

/* ===== Category strip v2: 10 equal cards, one straight row =====
   All ten cards share one grid so every column is exactly the same
   width; on narrower desktop/tablet widths the row scrolls
   horizontally (hidden scrollbar) rather than wrapping to a second
   row or squeezing cards unevenly — same established pattern already
   used for the mobile category strip elsewhere in this file. */
.cat-grid-v2{
  display:flex; flex-wrap:nowrap;
  gap:14px; overflow-x:auto; scrollbar-width:none; padding-bottom:2px;
}
.cat-grid-v2::-webkit-scrollbar{ display:none; }
.cat-grid-v2 .cat-card{ flex:1 1 110px; min-width:110px; padding:16px 10px; }
.cat-grid-v2 .icon-wrap{
  width:100%; height:88px; border-radius:var(--radius-md);
  background:var(--green-soft); margin-bottom:10px;
}
.cat-grid-v2 .icon-wrap img{ object-fit:contain; padding:14px; }
.cat-grid-v2 .icon-wrap-emoji{ border-radius:var(--radius-md); background:var(--green-soft)!important; }
.cat-grid-v2 .cat-card span{ font-size:12.5px; }

/* =========================================================
   SECTIONS
========================================================= */
.section{ padding:64px 40px 0; }
.section-inner{ max-width:var(--maxw); margin:0 auto; }
.section-head{ display:flex; align-items:flex-end; justify-content:space-between; margin-bottom:28px; flex-wrap:wrap; gap:10px; }
.section-head h2{ font-size:26px; font-weight:800; margin:0; }
.section-head p{ color:var(--text2); font-size:13px; margin-top:6px; }
.see-all{ font-size:13px; font-weight:700; color:var(--primary); white-space:nowrap; }

/* =========================================================
   PRODUCT GRID / CARD
   (targets both our own .product-grid/.pcard markup AND
    WooCommerce's default ul.products/li.product so the shop,
    category, and related-product loops match the design)
========================================================= */
.product-grid,
ul.products{
  display:grid!important; grid-template-columns:repeat(4,1fr); gap:22px;
  margin:0!important; padding:0!important; list-style:none!important;
}
.pcard,
ul.products li.product{
  border-radius:var(--radius-xl); border:1px solid var(--glass-border);
  background:var(--glass-bg); box-shadow:var(--glass-shadow);
  -webkit-backdrop-filter:blur(var(--glass-blur)) saturate(1.3);
  backdrop-filter:blur(var(--glass-blur)) saturate(1.3);
  overflow:hidden; transition:all .2s ease-out; position:relative; list-style:none;
}
.pcard:hover,
ul.products li.product:hover{ transform:translateY(-4px); box-shadow:0 14px 30px rgba(13,13,13,.1); }

.pcard .img-wrap,
ul.products li.product a.woocommerce-LoopProduct-link{
  position:relative; display:block; height:220px; background:var(--green-soft);
  overflow:hidden;
}
.pcard .img-wrap img,
ul.products li.product img{
  width:100%; height:220px; object-fit:cover; margin:0;
  /* Product photos are never touched by the glass effect — sharp,
     natural, and unfiltered, exactly as WooCommerce provides them.
     The glass treatment applies only to .pcard/li.product itself
     (the card BEHIND the image), never to the <img> element. */
  filter:none; -webkit-backdrop-filter:none; backdrop-filter:none;
}
.pcard .img-wrap svg{ width:52px; height:52px; color:var(--primary); opacity:.5; margin:84px auto; }

.pcard .badge,
ul.products li.product .onsale{
  position:absolute; top:12px; inset-inline-start:12px; inset-inline-end:auto; right:auto;
  background:var(--secondary); color:#fff; font-size:10px; font-weight:800;
  letter-spacing:.04em; padding:4px 9px; border-radius:8px; text-transform:uppercase; margin:0; min-height:0; min-width:0; line-height:1.6;
}
.pcard .heart{
  position:absolute; top:12px; inset-inline-end:12px;
  width:34px; height:34px; border-radius:50%; background:rgba(255,255,255,.94); border:none;
  display:flex; align-items:center; justify-content:center; box-shadow:0 2px 8px rgba(0,0,0,.12); z-index:2;
}
.pcard .heart svg{ width:16px; height:16px; stroke:#0D0D0D; fill:none; }
.pcard .heart.active svg{ fill:var(--primary); stroke:var(--primary); }
.pcard .addbtn,
ul.products li.product a.add_to_cart_button{
  position:absolute!important; bottom:12px; inset-inline-end:12px;
  width:38px; height:38px; border-radius:50%!important; background:var(--primary); border:none; color:#fff;
  display:flex; align-items:center; justify-content:center; box-shadow:var(--shadow-cta);
  padding:0!important; font-size:0!important; text-indent:-9999px; overflow:hidden;
}
ul.products li.product a.add_to_cart_button::after{
  content:"+"; position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
  font-size:20px!important; text-indent:0; color:#fff; font-weight:700;
}
.pcard .info,
ul.products li.product .woocommerce-loop-product__title,
ul.products li.product .price{
  padding:0 16px;
}
.pcard .info{ padding:16px; }
.pcard .name,
ul.products li.product .woocommerce-loop-product__title{
  font-size:14px; font-weight:700; margin:16px 16px 0; color:var(--text);
}
.pcard .rating{ display:flex; align-items:center; gap:4px; margin-top:6px; font-size:11px; color:var(--text2); }
.pcard .rating svg{ width:11px; height:11px; fill:var(--primary); stroke:none; }
.pcard .price,
ul.products li.product .price{
  font-size:17px; font-weight:800; color:var(--primary)!important; margin:8px 16px 16px; display:block;
}
ul.products li.product .price del{ color:var(--text2); opacity:.6; font-weight:600; margin-inline-end:6px; }
ul.products li.product .price ins{ text-decoration:none; }

/* =========================================================
   PROMO STRIP
========================================================= */
.promo-strip{ padding:64px 40px 0; }
.promo-grid{
  max-width:var(--maxw); margin:0 auto;
  display:grid; grid-template-columns:1fr 1fr; gap:20px;
}
.promo-card{
  border-radius:var(--radius-xl); padding:36px; min-height:180px;
  display:flex; flex-direction:column; justify-content:center; color:#fff; position:relative; overflow:hidden;
  border:1px solid rgba(255,255,255,.14);
}
.promo-card.a{ background:linear-gradient(135deg,#0A714E,#60A38C); }
.promo-card.b{ background:linear-gradient(135deg,#0B1B33,#243F6B); }
.promo-card::before{
  /* Subtle glass "light reflection" sheen — a soft diagonal highlight,
     not a texture change — sitting on top of each card's own brand
     gradient (or uploaded photo) without altering its colors. */
  content:""; position:absolute; inset:0; pointer-events:none;
  background:linear-gradient(135deg, rgba(255,255,255,.16), rgba(255,255,255,0) 45%);
}
.promo-card .eyebrow{ font-size:11px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; opacity:.85; }
.promo-card h3{ font-size:24px; font-weight:800; margin-top:8px; max-width:260px; color:#fff; }
.promo-card .btn{ margin-top:20px; width:fit-content; }
.promo-deco{
  position:absolute; inset-inline-end:24px; top:50%; transform:translateY(-50%);
  font-size:96px; line-height:1; opacity:.9; filter:drop-shadow(0 8px 16px rgba(0,0,0,.25));
  pointer-events:none;
}
@media (max-width:640px){ .promo-deco{ font-size:64px; opacity:.5; } }

/* =========================================================
   NEWSLETTER
========================================================= */
.newsletter{ padding:80px 40px; }
.newsletter-inner{ max-width:640px; margin:0 auto; text-align:center; }
.newsletter h2{ font-size:28px; font-weight:800; margin:0; }
.newsletter p{ color:var(--text2); font-size:14px; margin-top:10px; }
.newsletter-form{ display:flex; gap:10px; margin-top:24px; }
.newsletter-form input{
  flex:1; border:1px solid var(--border); background:var(--surface); border-radius:var(--radius-md);
  padding:14px 16px; font:inherit; color:var(--text); outline:none;
}

/* =========================================================
   FOOTER
========================================================= */
.site-footer{ background:var(--secondary); color:#fff; padding:64px 40px 24px; margin-top:40px; }
.footer-grid{
  max-width:var(--maxw); margin:0 auto;
  display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:40px;
}
.footer-brand .brand{ margin-bottom:14px; }
.footer-brand p{ color:rgba(255,255,255,.6); font-size:13px; line-height:1.6; max-width:260px; }
.footer-col h4{ font-size:13px; font-weight:700; margin-bottom:16px; letter-spacing:.02em; color:#fff; }
.footer-col ul{ margin:0; padding:0; }
.footer-col a{ display:block; font-size:13px; color:rgba(255,255,255,.6); margin-bottom:11px; transition:color .2s; }
.footer-col a:hover{ color:#fff; }
.footer-bottom{
  max-width:var(--maxw); margin:40px auto 0; padding-top:20px; border-top:1px solid rgba(255,255,255,.12);
  display:flex; justify-content:space-between; align-items:center; font-size:12px; color:rgba(255,255,255,.5); flex-wrap:wrap; gap:16px;
}
.footer-bottom .socials{ display:flex; gap:10px; flex-wrap:wrap; justify-content:center; }
.footer-bottom .socials .icon-btn{ background:rgba(255,255,255,.08); border-color:rgba(255,255,255,.1); color:#fff; }

/* =========================================================
   FORMS / FIELDS (checkout, my account, contact — matches WooCommerce)
========================================================= */
.field{ margin-bottom:16px; }
.field label,
.woocommerce form .form-row label{ display:block; font-size:12px; font-weight:700; color:var(--text2); margin-bottom:6px; }
.field input, .field select, .field textarea,
.woocommerce form .input-text,
.woocommerce form select,
.woocommerce-checkout textarea,
.woocommerce-account textarea{
  width:100%; border:1px solid var(--border); background:var(--surface); border-radius:var(--radius-md);
  padding:12px 14px; font:inherit; font-size:14px; color:var(--text); outline:none;
}
.field input:focus, .field select:focus, .field textarea:focus,
.woocommerce form .input-text:focus{ border-color:var(--primary); }

.page-inner{ max-width:900px; margin:0 auto; padding:56px 40px; }
.page-title{ font-size:28px; font-weight:800; margin-bottom:6px; }
.page-sub{ color:var(--text2); font-size:13px; margin-bottom:28px; }

/* WooCommerce notices / messages */
.woocommerce-message,.woocommerce-info,.woocommerce-error{
  border-top-color:var(--primary)!important; border-radius:var(--radius-md); background:var(--green-soft);
  padding:16px 20px 16px 50px!important; list-style:none; margin-bottom:24px;
}
.woocommerce-error{ background:#FDEDEA; border-top-color:#E0432B!important; }

/* Order status / tracking badges */
.order-status{
  display:inline-block; padding:4px 12px; border-radius:var(--radius-full); font-size:11px; font-weight:800;
  text-transform:uppercase; letter-spacing:.03em; background:var(--green-soft); color:var(--primary);
}

/* =========================================================
   BLOG / PAGE CONTENT DEFAULTS
========================================================= */
.entry-content{ font-size:16px; line-height:1.75; }
.entry-content h1,.entry-content h2,.entry-content h3{ font-weight:800; }
.entry-content a{ color:var(--primary); text-decoration:underline; }
.entry-content img{ border-radius:var(--radius-lg); }

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width:1024px){
  .product-grid, ul.products{ grid-template-columns:repeat(3,1fr); }
  .cat-grid{ grid-template-columns:repeat(5,1fr); }
  .footer-grid{ grid-template-columns:1fr 1fr; }
}

/* =========================================================
   PHONE MODE (< 768px)
   Desktop + iPad keep the standard header exactly as designed
   down to 768px. Below that, the site switches to the app-style
   shell: a minimal top bar (logo + dark mode + language pills)
   and a fixed bottom tab bar (Home / Search / Wishlist / Cart /
   Profile), matching the mobile reference design exactly.
========================================================= */
.mobile-topbar,
.mobile-tabbar,
.account-mobile-backbar{ display:none; }

@media (max-width:767px){

  /* Hide the entire standard desktop header — the phone top bar below
     is a full replacement, not an overlay, so nothing from the desktop
     header (logo, dark-mode button, etc.) should remain visible here.
     !important guards against a plugin or Customizer "Additional CSS"
     rule accidentally re-showing it with higher specificity. */
  .announce{ display:none !important; }
  .site-header{ display:none !important; }
  body{ margin:0; }

  /* ...and show the app-style minimal top bar in their place. */
  .mobile-topbar{
    display:flex; align-items:center; gap:12px;
    padding:16px 20px; background:var(--glass-bg-strong); border-bottom:1px solid var(--glass-border);
    -webkit-backdrop-filter:blur(var(--glass-blur)) saturate(1.4);
    backdrop-filter:blur(var(--glass-blur)) saturate(1.4);
    position:sticky; top:0; z-index:50;
  }
  .mobile-topbar .brand img{ height:34px; flex:0 0 auto; }
  .mobile-topbar .mobile-search{ flex:1; min-width:0; width:auto; }
  .mobile-topbar .icon-btn{ flex:0 0 auto; }
  .mobile-topbar .lang-switcher{ flex:0 0 auto; }
  .mobile-topbar-divider{ width:1px; height:24px; background:var(--border); flex:0 0 auto; }

  /* On the logged-in My Account area, the "Back" bar fully replaces
     .mobile-topbar (which stays in the DOM for every other page). */
  body.dxlaplus-account-page .mobile-topbar{ display:none; }
  .account-mobile-backbar{
    display:flex; align-items:center; justify-content:space-between;
    padding:16px 20px; background:var(--bg); border-bottom:1px solid var(--border);
    position:sticky; top:0; z-index:50;
  }
  .account-mobile-back{
    display:flex; align-items:center; gap:6px; color:var(--text); font-weight:800; font-size:16px;
  }

  /* Drill-down subpages (Orders, Addresses, Payment Methods,
     Notifications, single order) show one focused screen — the
     profile card + menu only appear on the account root itself. */
  body.dxlaplus-account-subpage .dxlaplus-account-sidebar{ display:none; }
  body.dxlaplus-account-subpage .dxlaplus-account-shell{
    max-width:none; margin:0; padding:0; display:block;
  }
  body.dxlaplus-account-subpage .dxlaplus-account-content{
    border:0; padding:20px; border-radius:0; min-height:calc(100dvh - 56px - 62px);
  }

  /* Root Profile screen: the menu links, dark-mode row and language
     row each become their own bordered "card" (icon + label + chevron
     inside a rounded box), matching the reference mobile design,
     instead of the desktop's flat divided-list treatment. */
  body.dxlaplus-account-page:not(.dxlaplus-account-subpage) .dxlaplus-account-shell{
    display:block; max-width:none; margin:0; padding:16px;
  }
  body.dxlaplus-account-page:not(.dxlaplus-account-subpage) .dxlaplus-account-sidebar{
    background:none; padding:0;
  }
  body.dxlaplus-account-page:not(.dxlaplus-account-subpage) .dxlaplus-account-header{
    flex-direction:column; text-align:center; background:var(--surface,#F7F7F8);
    border-radius:var(--radius-lg,16px); padding:24px 20px 20px; margin-bottom:16px;
  }
  body.dxlaplus-account-page:not(.dxlaplus-account-subpage) .dxlaplus-account-header div{ align-items:center; }
  body.dxlaplus-account-page:not(.dxlaplus-account-subpage) .dxlaplus-account-header strong{ font-size:20px; }
  body.dxlaplus-account-page:not(.dxlaplus-account-subpage) .dxlaplus-account-btn{
    margin:0 20px 10px;
  }
  body.dxlaplus-account-page:not(.dxlaplus-account-subpage) .dxlaplus-account-btn:first-of-type{ margin-top:16px; }

  body.dxlaplus-account-page:not(.dxlaplus-account-subpage) .dxlaplus-account-nav{
    border-top:0; display:flex; flex-direction:column; gap:12px;
  }
  body.dxlaplus-account-page:not(.dxlaplus-account-subpage) .dxlaplus-account-nav a{
    border:1px solid var(--border); border-bottom:1px solid var(--border);
    border-radius:var(--radius-md,12px); padding:16px; background:var(--bg);
  }
  body.dxlaplus-account-page:not(.dxlaplus-account-subpage) .dxlaplus-account-row,
  body.dxlaplus-account-page:not(.dxlaplus-account-subpage) .dxlaplus-account-lang{
    border:1px solid var(--border); border-bottom:1px solid var(--border);
    border-radius:var(--radius-md,12px); padding:16px; background:var(--bg);
    margin-top:12px;
  }
  body.dxlaplus-account-page:not(.dxlaplus-account-subpage) .dxlaplus-account-lang{
    display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:10px;
  }

  /* Bottom tab bar */
  .mobile-tabbar{
    display:flex; position:fixed; left:0; right:0; bottom:0; z-index:60;
    background:var(--bg); border-top:1px solid var(--border);
    padding:8px 6px calc(env(safe-area-inset-bottom,0px) + 6px);
  }
  .mobile-tabbar a{
    flex:1; display:flex; flex-direction:column; align-items:center; gap:3px;
    padding:6px 0; color:var(--text2); position:relative;
  }
  .mobile-tabbar a svg{ width:21px; height:21px; }
  .mobile-tabbar a span{ font-size:10px; font-weight:700; }
  .mobile-tabbar a.active{ color:var(--primary); }
  .mobile-tabbar a.active svg{ fill:var(--green-soft); }
  .mobile-tabbar .tab-badge{
    position:absolute; top:0; inset-inline-end:22%;
    background:var(--primary); color:#fff; font-size:9px; font-weight:800;
    min-width:15px; height:15px; border-radius:50%;
    display:flex; align-items:center; justify-content:center; padding:0 3px;
  }
  body{ padding-bottom:70px; }

  /* Hero: compact mobile version with a notification bell instead of
     the full nav, matching the reference exactly. */
  .hero-section{ padding:20px 16px 0; }
  .hero{ padding:24px; min-height:0; border-radius:var(--radius-xl); }
  .hero h1{ font-size:26px; }
  .hero p{ font-size:13px; }
  .hero .hero-bell{
    position:absolute; top:20px; inset-inline-end:20px;
    width:36px; height:36px; border-radius:50%; background:rgba(255,255,255,.12);
    display:flex; align-items:center; justify-content:center; color:#fff;
  }

  /* Hero prev/next arrows sit centered below the banner on mobile too. */
  .hero-arrows{ justify-content:center; gap:24px; }

  /* Category cards: horizontal row of compact icon tiles, "All"
     included and shown active/filled by default. */
  .cat-section{ padding:28px 16px 0; }
  .cat-section .section-label{ display:block; font-size:16px; font-weight:800; margin-bottom:14px; }
  .cat-grid{
    display:flex!important; grid-template-columns:none!important;
    overflow-x:auto; gap:10px; padding-bottom:4px; scrollbar-width:none;
  }
  .cat-grid::-webkit-scrollbar{ display:none; }
  .cat-card{ flex:0 0 84px; padding:14px 8px; }
  .cat-card span{ font-size:11px; }

  .section{ padding:32px 16px 0; }
  .promo-grid{ grid-template-columns:1fr; }
  .product-grid, ul.products{ grid-template-columns:repeat(2,1fr)!important; gap:14px; }
}

@media (max-width:640px){
  .wrap,.header-row,.hero-section,.cat-section,.section,.promo-strip,.newsletter,.site-footer,.page-inner,.hero-arrows{ padding-left:20px; padding-right:20px; }
  .newsletter-form{ flex-direction:column; }
  .footer-grid{ grid-template-columns:1fr 1fr; gap:28px; }
  .footer-bottom{ flex-direction:column; text-align:center; }
}

.btn-outline-neutral{
  display:block; width:100%; text-align:center; padding:13px 20px; border-radius:var(--radius-md,10px);
  border:1.5px solid var(--border); background:var(--bg); color:var(--text); font-weight:700; margin-bottom:12px;
}

/* Shared toggle-switch visual — used by the My Account sidebar's Dark
   Mode row and the Notifications preference toggles. */
.account-panel-switch{
  width:44px; height:26px; border-radius:999px; background:#d9dce1; border:0; position:relative; cursor:pointer; flex:0 0 auto;
}
.account-panel-switch .knob{
  position:absolute; top:3px; inset-inline-start:3px; width:20px; height:20px; border-radius:50%;
  background:#fff; transition:inset-inline-start .2s ease; box-shadow:0 1px 3px rgba(0,0,0,.2);
}
.account-panel-switch.is-on{ background:var(--primary); }
.account-panel-switch.is-on .knob{ inset-inline-start:21px; }

/* =========================================================
   MY ACCOUNT PAGE (WooCommerce template override)
========================================================= */
.dxlaplus-account-shell{
  display:grid; grid-template-columns:280px 1fr; gap:32px;
  max-width:1100px; margin:40px auto; padding:0 20px;
}
.dxlaplus-account-sidebar{
  background:var(--glass-bg); border:1px solid var(--glass-border); box-shadow:var(--glass-shadow);
  -webkit-backdrop-filter:blur(var(--glass-blur)) saturate(1.3);
  backdrop-filter:blur(var(--glass-blur)) saturate(1.3);
  border-radius:var(--radius-lg,16px); padding:24px;
  height:fit-content;
}
.dxlaplus-account-header{ display:flex; align-items:center; gap:14px; margin-bottom:18px; }
.dxlaplus-account-header img{ border-radius:50%; width:64px; height:64px; }
.dxlaplus-account-avatar-placeholder{
  width:64px; height:64px; border-radius:50%; background:var(--primary);
  display:flex; align-items:center; justify-content:center; flex:0 0 auto;
}
.dxlaplus-account-header div{ display:flex; flex-direction:column; }
.dxlaplus-account-header strong{ font-size:15px; }
.dxlaplus-account-header span{ font-size:13px; color:var(--text2); }

.dxlaplus-account-btn{ display:block; width:100%; text-align:center; margin-bottom:10px; }

.dxlaplus-account-nav{ margin-top:16px; border-top:1px solid var(--border); }
.dxlaplus-account-nav a{
  display:flex; align-items:center; gap:14px; padding:13px 6px;
  border-bottom:1px solid var(--border); color:inherit; font-weight:700; font-size:14px;
  border-radius:10px; transition:background .15s ease-out;
}
.dxlaplus-account-nav a:hover{ background:var(--green-soft,#E6F1ED); }
.dxlaplus-account-nav a .icon-badge{
  display:flex; align-items:center; justify-content:center; flex:0 0 auto;
  width:38px; height:38px; border-radius:50%; background:var(--green-soft,#E6F1ED); color:var(--primary);
  transition:background .15s ease-out, color .15s ease-out;
}
.dxlaplus-account-nav a .chev{ margin-inline-start:auto; opacity:.4; flex:0 0 auto; }
.dxlaplus-account-nav a.is-active{ color:var(--primary); }
.dxlaplus-account-nav a.is-active .icon-badge{ background:var(--primary); color:#fff; }

.dxlaplus-account-row{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 4px; border-bottom:1px solid var(--border); font-weight:700; font-size:14px;
}
.dxlaplus-account-lang{ margin-top:16px; }

.dxlaplus-account-content{
  background:var(--bg); color:var(--text); border-radius:var(--radius-lg,16px); padding:32px;
  border:1px solid var(--border); min-width:0;
}

.account-panel-switch-wrap{ position:relative; display:inline-block; }

.dxlaplus-auth-forms{ display:grid; grid-template-columns:1fr 1fr; gap:40px; }
.dxlaplus-auth-col h2{ font-size:20px; margin-bottom:16px; }
.dxlaplus-auth-col .form-row{ margin-bottom:16px; }
.dxlaplus-auth-col label{ display:block; font-weight:700; font-size:13px; margin-bottom:6px; }
.dxlaplus-login-row{ display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:10px; }
.dxlaplus-lost-password{ margin-top:10px; font-size:13px; }
.dxlaplus-social-divider{
  text-align:center; margin:20px 0; position:relative; color:var(--text2); font-size:12px; font-weight:700;
}
.dxlaplus-social-divider::before, .dxlaplus-social-divider::after{
  content:''; position:absolute; top:50%; width:42%; height:1px; background:var(--border);
}
.dxlaplus-social-divider::before{ left:0; }
.dxlaplus-social-divider::after{ right:0; }

@media (max-width:900px){
  .dxlaplus-account-shell{ grid-template-columns:1fr; gap:20px; margin:24px auto; }
  .dxlaplus-auth-forms{ grid-template-columns:1fr; }
  .dxlaplus-account-content{ padding:24px 20px; }
}

@media (max-width:480px){
  .dxlaplus-account-shell{ padding:0 14px; }
  .dxlaplus-account-sidebar{ padding:18px; }
  .dxlaplus-account-nav a{ padding:12px 4px; font-size:13.5px; gap:12px; }
  .dxlaplus-account-nav a .icon-badge{ width:34px; height:34px; }
  .dxlaplus-account-nav a .icon-badge svg{ width:17px; height:17px; }
  .dxlaplus-account-content{ padding:18px 14px; border-radius:14px; }
  .dxlaplus-account-header img,
  .dxlaplus-account-avatar-placeholder{ width:52px; height:52px; }
}

/* Bare login screen (logged-out My Account page): full-viewport,
   plain white, centered both axes — no header/footer/sidebar. */
.dxlaplus-bare-login-page{ margin:0; background:#fff; }
.dxlaplus-bare-login-wrap{
  min-height:100vh; min-height:100dvh;
  display:flex; align-items:center; justify-content:center;
  padding:20px; box-sizing:border-box;
}
.dxlaplus-bare-login-wrap .dxlaplus-auth-page{
  margin:0; padding:0;
}

.dxlaplus-auth-page{
  max-width:900px; margin:40px auto; padding:0 20px;
}

.dxlaplus-auth-page--single{ max-width:420px; }
.dxlaplus-auth-page--single .dxlaplus-auth-view{
  background:transparent; border:0; padding:0;
}
.dxlaplus-auth-avatar{
  width:118px; height:118px; border-radius:50%; background:var(--primary);
  display:flex; align-items:center; justify-content:center; margin:40px auto 28px;
}
.dxlaplus-auth-avatar svg{ width:52px; height:52px; }
.dxlaplus-icon-form .form-row{ margin-bottom:14px !important; }
.dxlaplus-icon-field{ position:relative; }
.dxlaplus-icon-field .field-icon{
  position:absolute; top:50%; transform:translateY(-50%); inset-inline-start:16px;
  color:var(--text2); pointer-events:none; z-index:1;
}
.dxlaplus-icon-field input{
  padding-inline-start:46px !important;
  height:52px !important;
  font-size:15px !important;
  border-radius:var(--radius-md) !important;
  border:1px solid var(--border) !important;
  background:#fff !important;
  box-shadow:none !important;
}
.dxlaplus-pw-toggle{
  position:absolute; top:50%; transform:translateY(-50%); inset-inline-end:14px;
  background:none; border:0; padding:4px; cursor:pointer; color:var(--text2); display:flex; z-index:1;
}
.dxlaplus-icon-field:has(.dxlaplus-pw-toggle) input{ padding-inline-end:42px !important; }

.dxlaplus-forgot-row{ text-align:end; margin:0 0 18px; }
.dxlaplus-forgot-row a{ color:var(--primary); font-weight:700; font-size:14px; }
.dxlaplus-auth-submit{
  width:100% !important;
  margin-bottom:0 !important;
  height:52px !important;
  font-size:16px !important;
  border-radius:var(--radius-md) !important;
}
.dxlaplus-remember-row{ display:none; }

.dxlaplus-switch-row{ text-align:center; margin-top:22px; font-size:14px; color:var(--text2); }
.dxlaplus-switch-row a{ color:var(--primary); font-weight:700; margin-inline-start:4px; }

.dxlaplus-auth-page--single .form-row-first,
.dxlaplus-auth-page--single .form-row-last{
  display:inline-block; width:calc(50% - 6px);
}
.dxlaplus-auth-page--single .form-row-first{ margin-inline-end:12px; }
.dxlaplus-auto-pw-note{ font-size:13px; color:var(--text2); }

.dxlaplus-social-divider{ margin:20px 0; }

.dxlaplus-social-btn{
  display:flex; align-items:center; justify-content:center; gap:12px; width:100%;
  padding:14px 20px; margin-bottom:10px; border:1.5px solid var(--border); border-radius:var(--radius-md,10px);
  background:var(--bg); color:var(--text); font-weight:700; font-size:15px; cursor:pointer;
}
.dxlaplus-social-btn:last-child{ margin-bottom:0; }

@media (max-width:480px){
  .dxlaplus-auth-page--single .form-row-first,
  .dxlaplus-auth-page--single .form-row-last{ display:block; width:100%; margin-inline-end:0; }
}

/* Order detail page */
.dxlaplus-order-detail{ max-width:900px; margin:0 auto; }
.dxlaplus-order-detail-header{ display:flex; align-items:center; gap:16px; flex-wrap:wrap; margin-bottom:24px; }
.dxlaplus-order-detail-header h2{ margin:0 0 4px; font-size:20px; }
.dxlaplus-order-detail-header p{ margin:0; color:var(--text2); font-size:13px; }
.dxlaplus-order-status{
  padding:6px 14px; border-radius:var(--radius-full); font-weight:700; font-size:12.5px;
  background:var(--green-soft); color:var(--primary);
}
.dxlaplus-order-status.status-completed, .dxlaplus-order-status.status-delivered{ background:#e3f7ea; color:#1a9648; }
[data-theme="dark"] .dxlaplus-order-status.status-completed, [data-theme="dark"] .dxlaplus-order-status.status-delivered{ background:#0f2a1c; color:#4ade80; }
.dxlaplus-invoice-btn, .dxlaplus-buy-again-btn{
  display:inline-flex; align-items:center; gap:8px; margin-inline-start:auto; width:auto !important; padding:10px 18px !important;
}

.dxlaplus-order-items{ border-top:1px solid var(--border); margin-bottom:24px; }
.dxlaplus-order-item{ display:flex; align-items:center; gap:16px; padding:16px 0; border-bottom:1px solid var(--border); }
.dxlaplus-order-item-img img{ width:64px; height:64px; border-radius:var(--radius-md); object-fit:cover; }
.dxlaplus-order-item-info{ display:flex; flex-direction:column; gap:4px; flex:1; }
.dxlaplus-order-item-price{ font-weight:700; }

.dxlaplus-order-cards{ display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-bottom:24px; }
.dxlaplus-order-card{
  background:var(--surface); border-radius:var(--radius-md); padding:18px; border:1px solid var(--border);
}
.dxlaplus-order-card h4{ margin:0 0 10px; font-size:14px; }
.dxlaplus-order-card address{ font-style:normal; color:var(--text2); line-height:1.6; font-size:14px; }
.dxlaplus-order-timeline{ list-style:none; margin:0; padding:0; }
.dxlaplus-order-timeline li{ display:flex; justify-content:space-between; gap:10px; padding:8px 0; font-size:13px; border-bottom:1px solid var(--border); }
.dxlaplus-order-timeline li:last-child{ border-bottom:0; }
.dxlaplus-order-timeline time{ color:var(--text2); white-space:nowrap; }

.dxlaplus-order-totals{ border-top:1px solid var(--border); padding-top:16px; }
.dxlaplus-order-totals > div{ display:flex; justify-content:space-between; padding:6px 0; color:var(--text2); font-size:14px; }
.dxlaplus-order-total-final{ font-weight:800; font-size:16px; color:var(--text) !important; }

@media (max-width:640px){
  .dxlaplus-order-cards{ grid-template-columns:1fr; }
}

/* Native WooCommerce tables inside the account content area (orders
   list, address book) — WC's own default markup, previously left
   completely unstyled and therefore not following dark mode at all. */
.dxlaplus-account-content table.woocommerce-orders-table,
.dxlaplus-account-content table.shop_table{
  width:100%; border-collapse:collapse; background:var(--bg); color:var(--text);
}
.dxlaplus-account-content table.woocommerce-orders-table th,
.dxlaplus-account-content table.shop_table th{
  text-align:start; padding:12px 8px; border-bottom:2px solid var(--border); color:var(--text2); font-size:12.5px; font-weight:800; text-transform:uppercase;
}
.dxlaplus-account-content table.woocommerce-orders-table td,
.dxlaplus-account-content table.shop_table td{
  padding:14px 8px; border-bottom:1px solid var(--border); font-size:14px;
}
.dxlaplus-account-content .woocommerce-Addresses,
.dxlaplus-account-content .woocommerce-Address{
  color:var(--text);
}
.dxlaplus-account-content address{ font-style:normal; color:var(--text2); line-height:1.6; }
.dxlaplus-account-content .woocommerce-message,
.dxlaplus-account-content .woocommerce-error,
.dxlaplus-account-content .woocommerce-info{
  background:var(--surface); color:var(--text); border-inline-start:4px solid var(--primary);
  padding:14px 18px; border-radius:var(--radius-sm); list-style:none; margin-bottom:20px; font-size:14px;
}

/* ==== Orders list (tabs + rows) ==== */
.dxlaplus-orders-title-row{ display:flex; align-items:center; gap:14px; margin-bottom:20px; }
.dxlaplus-orders-title-row .dxlaplus-orders-title{ margin:0; }
.dxlaplus-back-square{
  display:flex; align-items:center; justify-content:center; flex:0 0 auto;
  width:36px; height:36px; border:1px solid var(--border); border-radius:var(--radius-md,10px);
  color:var(--text);
}
.dxlaplus-orders-title{ font-size:26px; font-weight:900; margin:0 0 20px; color:var(--text); }
.dxlaplus-orders-tabs{
  display:flex; gap:22px; border-bottom:1px solid var(--border); margin-bottom:18px; overflow-x:auto;
}
.dxlaplus-orders-tabs a{
  padding:0 0 12px; color:var(--text2); font-weight:700; font-size:14.5px; text-decoration:none;
  border-bottom:2px solid transparent; white-space:nowrap;
}
.dxlaplus-orders-tabs a.is-active{ color:var(--primary); border-bottom-color:var(--primary); }
.dxlaplus-orders-empty{ color:var(--text2); padding:30px 0; }

.dxlaplus-orders-table{ border:1px solid var(--border); border-radius:var(--radius-sm); overflow:hidden; }
.dxlaplus-orders-table-head{
  display:grid; grid-template-columns:1.8fr 1fr 1.4fr 1fr 0.8fr 60px; gap:12px;
  padding:12px 16px; background:var(--surface);
  font-size:11.5px; font-weight:800; text-transform:uppercase; color:var(--text2); letter-spacing:.02em;
}
.dxlaplus-orders-table-head .col-total{ text-align:end; }
.dxlaplus-orders-table-head .col-actions{ text-align:center; }

.dxlaplus-order-row{
  display:grid; grid-template-columns:1.8fr 1fr 1.4fr 1fr 0.8fr 60px; gap:12px; align-items:center;
  width:100%; padding:14px 16px;
  background:none; border:0; border-top:1px solid var(--border); cursor:pointer; text-align:start; font:inherit;
}
.dxlaplus-order-row:first-of-type{ border-top:0; }
.dxlaplus-order-row:hover{ background:var(--surface); }

.dxlaplus-order-row-thumb{ display:none; }
.dxlaplus-order-row-info{ display:flex; align-items:center; gap:12px; min-width:0; }
.dxlaplus-order-row-info strong{ font-size:14.5px; color:var(--text); white-space:nowrap; }
.dxlaplus-order-row-date-mobile{ display:none; font-size:12.5px; color:var(--text2); }
.dxlaplus-order-row-date{ font-size:13.5px; color:var(--text2); }
.dxlaplus-order-row-items{ font-size:13.5px; color:var(--text2); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.dxlaplus-order-row-total{ font-size:14px; font-weight:700; color:var(--text); text-align:end; }
.dxlaplus-order-row-arrow{ display:flex; align-items:center; justify-content:center; color:var(--text2); }

@media (min-width:481px){
  .dxlaplus-order-row-thumb{ display:block; }
  .dxlaplus-order-row-thumb img{ width:40px; height:40px; object-fit:cover; border-radius:8px; display:block; }
}

@media (max-width:900px){
  .dxlaplus-orders-table-head{ display:none; }
  .dxlaplus-order-row{ grid-template-columns:1fr auto auto; }
  .dxlaplus-order-row .col-date,
  .dxlaplus-order-row .col-items{ display:none; }
  .dxlaplus-order-row-date-mobile{ display:block; }
  .dxlaplus-order-row-total{ font-size:13.5px; }
}
.dxlaplus-orders-showing{ text-align:center; color:var(--text2); font-size:13.5px; margin-top:16px; }

.dxlaplus-order-status{
  font-size:12px; font-weight:800; padding:5px 12px; border-radius:999px; white-space:nowrap;
  background:var(--surface); color:var(--text2);
}
.dxlaplus-order-status.status-completed,
.dxlaplus-order-status.status-delivered{ background:#e3f8ec; color:#0f8a4a; }
.dxlaplus-order-status.status-processing,
.dxlaplus-order-status.status-shipped{ background:#fff2df; color:#c17a09; }
.dxlaplus-order-status.status-cancelled,
.dxlaplus-order-status.status-failed{ background:#fde3e3; color:#c0362c; }

/* Order-detail content is now only ever shown on its own full page —
   the duplicate slide-over-panel version of these rules (which used
   to load AFTER and silently override the real full-page styles
   above) has been removed entirely, since the panel HTML/JS is gone. */
