/*
Theme Name: IKOWAINA
Theme URI: https://ikowaina.com
Author: IKOWAINA
Author URI: https://ikowaina.com
Description: The official IKOWAINA storefront theme — a clean, modern e-commerce design for bags, shoes, watches and accessories. Fully compatible with Elementor and WooCommerce, translation-ready (English, Français, العربية) with proper RTL support, and fully responsive.
Version: 1.9.57
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: ikowaina
Domain Path: /languages
Tags: e-commerce, custom-colors, custom-logo, custom-menu, editor-style, featured-images, full-width-template, rtl-language-support, 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:#FF6A1A;
  --secondary:#0B1B33;
  --bg:#FFFFFF;
  --surface:#F7F7F8;
  --border:#EDEDEF;
  --text:#0D0D0D;
  --text2:#6B6B70;
  --orange-soft:#FFF3EB;
  --icon-orange:#F76F15;
  --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;
}
[data-theme="dark"]{
  --primary:#FF7A33;
  --bg:#0A0E14;
  --surface:#131820;
  --border:#232A35;
  --text:#F5F5F7;
  --text2:#9AA0AC;
  --orange-soft:#2A1B10;
}

/* =========================================================
   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:var(--bg); color:var(--text);
  -webkit-font-smoothing:antialiased;
  font-size:15px; line-height:1.6;
}
html[dir="rtl"] body{ font-family:'IBM Plex Sans Arabic','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(--bg); border-bottom:1px solid var(--border);
}
/* When logged in as an admin, the WordPress toolbar is a separate
   fixed element pinned to the very top of the viewport (32px tall on
   desktop, 46px on phone widths ≤782px — WordPress core's own
   breakpoint). Without this, the sticky header's own top:0 sticks it
   to the absolute top of the viewport too, so on scroll it slides in
   UNDER the toolbar instead of resting right below it — looking like
   a second, independently-draggable layer behind the header. This
   never affects logged-out visitors (no toolbar = no offset needed),
   and doesn't change the header's own design, only where it sticks. */
body.admin-bar .site-header{ top:32px; }
@media (max-width:782px){
  body.admin-bar .site-header{ top:46px; }
}
.header-row{
  display:flex; align-items:center; gap:32px;
  padding:18px 40px; width:100%; box-sizing:border-box;
}
.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:26px !important; width:auto !important; max-height:26px !important; }
.custom-logo-link{ display:flex; align-items:center; flex:0 0 auto; }
.custom-logo-link .custom-logo{ height:26px !important; width:auto !important; max-height:26px !important; }
.mobile-topbar .custom-logo-link .custom-logo{ height:22px !important; max-height:22px !important; }
.footer-brand .custom-logo-link .custom-logo{ height:24px !important; max-height:24px !important; }
.footer-brand .logo-img{ height:24px !important; max-height:24px !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:26px !important; width:auto !important; max-height:26px !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(--surface); border:1px solid var(--border);
  border-radius:var(--radius-full); padding:9px 16px; width:230px;
  color:var(--text2); font-size:13px;
  margin-inline-start:auto;
}
/* Search field fills the remaining header space on real desktop
   windows only (matches the reference screenshot). iPad (portrait and
   landscape, up to ~1024px) and phone are untouched — phone already
   has its own separate override in .mobile-topbar .mobile-search
   below, and 1200px is above any iPad viewport. */
@media (min-width:1200px){
  .header-row .header-search{ flex:1 1 auto; width:auto; max-width:none; margin-inline-start:24px; }
}
.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(--surface); border:1px solid var(--border);
  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-dropdown{ position:relative; display:inline-block; }
.lang-switcher-toggle{
  display:flex; align-items:center; gap:6px; background:var(--surface); border:1px solid var(--border);
  border-radius:var(--radius-full); padding:8px 12px; cursor:pointer; color:var(--text); transition:border-color .15s ease-out;
}
.lang-switcher-toggle:hover{ border-color:var(--primary); }
.lang-switcher-current{ font-size:12px; font-weight:800; letter-spacing:.02em; }
.lang-switcher-chev{ flex:0 0 auto; transition:transform .2s ease-out; }
.lang-switcher-dropdown.is-open .lang-switcher-chev{ transform:rotate(180deg); }
.lang-switcher-menu{
  position:absolute; top:calc(100% + 8px); inset-inline-end:0; min-width:140px; z-index:80;
  background:var(--bg); border:1px solid var(--border); border-radius:var(--radius-md,12px);
  box-shadow:var(--shadow-card, 0 8px 24px rgba(0,0,0,.12)); padding:6px; display:none;
}
.lang-switcher-dropdown.is-open .lang-switcher-menu{ display:block; }
.lang-switcher-option{
  display:flex; align-items:center; justify-content:space-between; gap:10px;
  padding:10px 12px; border-radius:var(--radius-sm,8px); font-size:13.5px; font-weight:700; color:var(--text);
}
.lang-switcher-option:hover{ background:var(--surface); }
.lang-switcher-option.is-active{ color:var(--primary); }
.lang-switcher-option svg{ flex:0 0 auto; color:var(--primary); }

/* Combined Country + Language dropdown (desktop header + mobile top bar) */
.market-lang-dropdown{ position:relative; display:inline-block; flex:0 0 auto; }
.market-lang-toggle{
  display:flex; align-items:center; gap:8px; background:var(--surface); border:1px solid var(--border);
  border-radius:var(--radius-full); padding:9px 14px; cursor:pointer; color:var(--text); white-space:nowrap;
  transition:border-color .15s ease-out;
}
.market-lang-toggle:hover{ border-color:var(--primary); }
.market-lang-toggle span{ font-size:12.5px; font-weight:800; letter-spacing:.02em; }
/* Desktop only — icon + chevron only, no "Country | LANG" text, per
   reference. Scoped to min-width:768px specifically so this can never
   touch or interact with the mobile top bar's own separate rule
   (line ~632 below), which already does its own thing independently. */
@media (min-width:768px){
  .header-row .market-lang-toggle span{ display:none; }
  .header-row .market-lang-toggle{ padding:10px; }
}
.market-lang-chev{ flex:0 0 auto; transition:transform .2s ease-out; }
.market-lang-dropdown.is-open .market-lang-chev{ transform:rotate(180deg); }
.market-lang-menu{
  position:absolute; top:calc(100% + 8px); inset-inline-end:0; min-width:220px; z-index:80;
  background:var(--bg); border:1px solid var(--border); border-radius:var(--radius-md,12px);
  box-shadow:var(--shadow-card, 0 8px 24px rgba(0,0,0,.14)); padding:8px; display:none;
}
.market-lang-dropdown.is-open .market-lang-menu{ display:block; }
.market-lang-menu-heading{
  display:flex; align-items:center; gap:6px; padding:8px 10px 4px;
  font-size:11px; font-weight:800; text-transform:uppercase; letter-spacing:.05em; color:var(--text2);
}
.market-lang-menu-divider{ height:1px; background:var(--border); margin:6px 4px; }
.market-lang-option{
  display:flex; align-items:center; justify-content:space-between; gap:10px; width:100%;
  padding:9px 10px; border-radius:var(--radius-sm,8px); font-size:13.5px; font-weight:700; color:var(--text);
  background:none; border:0; cursor:pointer; font-family:inherit; text-align:start;
}
.market-lang-option:hover{ background:var(--surface); }
.market-lang-option.is-active{ color:var(--primary); }
.market-lang-option svg{ flex:0 0 auto; color:var(--primary); }
.market-lang-check{ opacity:0; }
.market-lang-option.is-active .market-lang-check{ opacity:1; }
.market-lang-flag{ margin-inline-end:4px; }
.market-lang-save{ width:100%; margin-top:4px; padding:11px 20px; }

/* Notification bell */
.notification-bell{ position:relative; }
.notification-bell-dot{
  position:absolute; top:6px; inset-inline-end:6px; width:8px; height:8px; border-radius:50%;
  background:var(--primary); border:1.5px solid var(--bg);
}

/* =========================================================
   HERO
========================================================= */
.hero-section{ padding:56px 40px 0; }
.hero{
  width:100%; box-sizing:border-box;
  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 */

/* Multi-slide carousel: every slide keeps the exact same .hero box
   (same size/position/design) — only one is ever "in flow" (position:
   relative) at a time, which is what gives the container its real
   height; the rest sit stacked underneath via position:absolute and
   fade out, so swapping slides never changes the banner's size. */
.hero-carousel{ position:relative; }
.hero-carousel .hero.hero-slide{
  position:absolute; inset:0; opacity:0; visibility:hidden; pointer-events:none;
  transition:opacity .45s ease;
}
.hero-carousel .hero.hero-slide.is-active{
  position:relative; opacity:1; visibility:visible; pointer-events:auto;
}

.hero-arrows{
  display:flex; gap:16px; width:100%; margin:20px 0 0; padding:0 40px; box-sizing:border-box;
}
.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; }

/* =========================================================
   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); font-weight:700; font-size:14px;
  padding:14px 26px; transition:transform .15s ease-out, background .15s ease-out; cursor:pointer;
  background:var(--primary); color:#fff!important; box-shadow:var(--shadow-cta); font-family:inherit;
}
.btn:hover,.button:hover,.woocommerce a.button:hover,.woocommerce button.button:hover{ background:#e85e12; color:#fff; }
.btn:active,.button:active{ transform:scale(.96); }
.btn-outline{ background:transparent; color:#fff!important; border:1.5px solid rgba(255,255,255,.4); box-shadow:none; }
.btn-on-light{ background:#fff; color:var(--primary)!important; }
.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; color:var(--primary)!important; border:1.5px solid var(--primary); box-shadow:none;
}
.btn-outline-orange:hover{ background:var(--orange-soft); }

/* =========================================================
   CATEGORY STRIP
========================================================= */
.cat-section{ padding:56px 40px 0; }
.cat-carousel-wrap{ display:flex; flex-direction:column; gap:20px; }
.cat-carousel-controls{ display:flex; align-items:center; justify-content:center; gap:16px; }
.cat-carousel-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; flex:0 0 auto;
}
.cat-carousel-arrow:hover{ border-color:var(--primary); color:var(--primary); }
.cat-carousel-arrow:disabled{ opacity:.35; cursor:default; }
.cat-carousel-arrow:disabled:hover{ border-color:var(--border); color:var(--text); }
.cat-carousel-arrow svg{ width:18px; height:18px; }
.cat-carousel-dots{ display:flex; align-items:center; gap:8px; }
.cat-carousel-dot{
  width:8px; height:8px; border-radius:50%; background:var(--border); border:0; padding:0;
  cursor:pointer; transition:all .2s ease-out;
}
.cat-carousel-dot.is-active{ width:22px; border-radius:999px; background:var(--primary); }
.cat-grid{
  width:100%; box-sizing:border-box; min-width:0;
  display:flex; gap:16px; overflow-x:auto; scroll-snap-type:x proximity; scroll-behavior:smooth;
  scrollbar-width:none;
}
.cat-grid::-webkit-scrollbar{ display:none; }

/* Large image cards — the category's own photo fills the whole card
   (WooCommerce category image, or the Customizer image for "All"),
   with the name overlaid at the bottom on a gradient scrim so it's
   readable over any photo. */
.cat-card-img{
  position:relative; border-radius:var(--radius-lg); overflow:hidden;
  height:220px; flex:0 0 calc((100% - 64px) / 5); scroll-snap-align:start;
  background:var(--surface,#F3F4F6) center/cover no-repeat; cursor:pointer;
  transition:transform .2s ease-out; display:block;
}
.cat-card-img:hover{ transform:translateY(-3px); }
.cat-card-img::after{
  content:""; position:absolute; inset:0;
  background:linear-gradient(0deg, rgba(0,0,0,.65) 0%, rgba(0,0,0,0) 55%);
}
.cat-card-label{
  position:absolute; inset-inline-start:16px; bottom:14px; z-index:1;
  color:#fff; font-size:16px; font-weight:800; text-shadow:0 1px 3px rgba(0,0,0,.35);
}
.section-label{ display:none; }

/* =========================================================
   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(--border);
  background:var(--bg); box-shadow:var(--shadow-card);
  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,.08); }

.pcard .img-wrap,
ul.products li.product a.woocommerce-LoopProduct-link{
  position:relative; display:block; height:220px; background:var(--orange-soft);
  overflow:hidden;
}
.pcard .img-wrap img,
ul.products li.product img{
  width:100%; height:220px; object-fit:cover; margin:0;
}
.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{
  width:100%; box-sizing:border-box;
  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;
}
.promo-card.a{ background:linear-gradient(135deg,#FF6A1A,#FF9457); }
.promo-card.b{ background:linear-gradient(135deg,#0B1B33,#243F6B); }
.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{
  width:100%; box-sizing:border-box;
  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{
  width:100%; box-sizing:border-box; margin:40px 0 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; }

/* The My Account dashboard is not a generic content page — it must
   NOT inherit .page-inner's 900px cap (which was silently squeezing
   the whole dashboard back down to a small centered box regardless of
   the dashboard's own, wider CSS) or .entry-content's underlined-link
   style (which was overriding the sidebar nav's own non-underlined
   style). ikowaina-account-page is added to <body> in inc/woocommerce.php. */
body.ikowaina-account-page .page-inner{ max-width:none; margin:0; padding:0; }
body.ikowaina-account-page .page-title{ display:none; }
body.ikowaina-account-page .entry-content a{ text-decoration:none; color:inherit; }

/* WooCommerce notices / messages */
.woocommerce-message,.woocommerce-info,.woocommerce-error{
  border-top-color:var(--primary)!important; border-radius:var(--radius-md); background:var(--orange-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(--orange-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); }
  .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(--bg); border-bottom:1px solid var(--border);
    position:sticky; top:0; z-index:50;
  }
  .mobile-topbar .brand img{ height:22px; 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 .market-lang-dropdown{ flex:0 0 auto; }
  .mobile-topbar .market-lang-toggle span{ display:none; } /* icon + chevron only — full "Country | LANG" text would overflow a phone-width bar */
  .mobile-topbar .market-lang-toggle{ padding:9px 10px; }
  .market-lang-menu{ max-width:calc(100vw - 32px); }
  .mobile-topbar-divider{ width:1px; height:24px; background:var(--border); flex:0 0 auto; }
  body.admin-bar .mobile-topbar{ top:46px; }

  /* On the logged-in My Account area, the "Back" bar fully replaces
     .mobile-topbar (which stays in the DOM for every other page). */
  body.ikowaina-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;
  }
  body.admin-bar .account-mobile-backbar{ top:46px; }

  /* 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.ikowaina-account-subpage .ikowaina-account-sidebar{ display:none; }
  body.ikowaina-account-subpage .ikowaina-account-shell{
    max-width:none; margin:0; padding:0; display:block;
  }
  body.ikowaina-account-subpage .ikowaina-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.ikowaina-account-page:not(.ikowaina-account-subpage) .ikowaina-account-shell{
    display:block; max-width:none; margin:0; padding:16px;
  }
  body.ikowaina-account-page:not(.ikowaina-account-subpage) .ikowaina-account-sidebar{
    background:none; padding:0;
  }
  body.ikowaina-account-page:not(.ikowaina-account-subpage) .ikowaina-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.ikowaina-account-page:not(.ikowaina-account-subpage) .ikowaina-account-header div{ align-items:center; }
  body.ikowaina-account-page:not(.ikowaina-account-subpage) .ikowaina-account-header strong{ font-size:20px; }
  body.ikowaina-account-page:not(.ikowaina-account-subpage) .ikowaina-account-btn{
    margin:0 20px 10px;
  }
  body.ikowaina-account-page:not(.ikowaina-account-subpage) .ikowaina-account-btn:first-of-type{ margin-top:16px; }

  body.ikowaina-account-page:not(.ikowaina-account-subpage) .ikowaina-account-nav{
    border-top:0; display:flex; flex-direction:column; gap:12px;
  }
  body.ikowaina-account-page:not(.ikowaina-account-subpage) .ikowaina-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.ikowaina-account-page:not(.ikowaina-account-subpage) .ikowaina-account-row,
  body.ikowaina-account-page:not(.ikowaina-account-subpage) .ikowaina-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.ikowaina-account-page:not(.ikowaina-account-subpage) .ikowaina-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(--orange-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 scrollable row of large image tiles,
     smaller than desktop but still showing the full photo + label. */
  .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;
    overflow-x:auto; gap:10px; padding-bottom:4px; scrollbar-width:none;
  }
  .cat-grid::-webkit-scrollbar{ display:none; }
  .cat-card-img{ flex:0 0 140px; height:150px; }
  .cat-card-label{ font-size:13px; inset-inline-start:12px; bottom:10px; }

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

  /* Compact the v2 dashboard sidebar just enough that the profile
     card + all nav items + Dark Mode + Language + Log Out fit on a
     phone screen without needing to scroll inside it — desktop has
     the vertical room to show everything at once already; phone
     didn't once Wishlist/Settings/Help & Support were added, so this
     tightens spacing (not font size) to close that gap. */
  .ikowaina-account-sidebar--v2{ padding:14px; }
  .ikowaina-account-header-v2{ padding:10px; margin-bottom:10px; gap:10px; }
  .ikowaina-avatar-initials{ width:42px; height:42px; font-size:14px; }
  .ikowaina-account-nav-v2{ gap:0; }
  .ikowaina-account-nav-v2 a{ padding:9px 10px; font-size:14px; gap:10px; }
  .ikowaina-account-nav-v2 a svg{ width:18px; height:18px; }
  .ikowaina-account-v2-footer{ margin-top:8px; padding-top:10px; }
  .ikowaina-account-v2-footer .ikowaina-account-row{ padding-top:8px; padding-bottom:8px; }
  .ikowaina-account-lang{ margin-top:8px !important; }
  .ikowaina-account-logout-v2{ margin-top:8px; padding:10px 12px; }
}

/* iPad width: keeps the DESKTOP header/search/nav as-is (that part
   was never the complaint) but extends the phone's "one focused
   screen at a time" dashboard behavior up to tablet width too — the
   sidebar+content side-by-side layout doesn't have room to breathe on
   an iPad-width screen the way it does on a real desktop window.
   Clicking Orders/Addresses/etc. now shows just that section full-
   width, with the Back button already built into each of those
   templates, instead of a cramped two-column squeeze. */
@media (min-width:768px) and (max-width:1024px){
  body.ikowaina-account-subpage .ikowaina-account-sidebar{ display:none; }
  body.ikowaina-account-subpage .ikowaina-account-shell{
    grid-template-columns:1fr; max-width:none; margin:0; padding:0; display:block;
  }
  body.ikowaina-account-subpage .ikowaina-account-content{
    border:0; padding:24px; border-radius:0; min-height:calc(100dvh - var(--ikowaina-header-h, 96px));
  }
}

@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)
========================================================= */
.ikowaina-account-shell{
  display:grid; grid-template-columns:300px 1fr; gap:32px;
  width:100%; max-width:1920px; margin:32px auto; padding:0 clamp(24px, 4vw, 64px); box-sizing:border-box;
}
.ikowaina-account-sidebar{
  background:var(--surface,#F7F7F8); border-radius:var(--radius-lg,16px); padding:24px;
  height:fit-content;
}
.ikowaina-account-header{ display:flex; align-items:center; gap:14px; margin-bottom:18px; }
.ikowaina-account-header img{ border-radius:50%; width:64px; height:64px; }
.ikowaina-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;
}
.ikowaina-account-header div{ display:flex; flex-direction:column; }
.ikowaina-account-header strong{ font-size:15px; }
.ikowaina-account-header span{ font-size:13px; color:var(--text2); }

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

.ikowaina-account-nav{ margin-top:16px; border-top:1px solid var(--border); }
.ikowaina-account-nav a{
  display:flex; align-items:center; gap:12px; padding:14px 4px;
  border-bottom:1px solid var(--border); color:inherit; font-weight:700; font-size:14px;
}
.ikowaina-account-nav a .chev{ margin-inline-start:auto; opacity:.4; }
.ikowaina-account-nav a.is-active{ color:var(--primary); }

.ikowaina-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;
}
.ikowaina-account-lang{ margin-top:16px; }

.ikowaina-account-content{
  background:var(--bg); color:var(--text); border-radius:var(--radius-lg,16px); padding:36px;
  border:1px solid var(--border); min-width:0; min-height:70vh;
}

/* =========================================================
   FIXED DASHBOARD SHELL (logged-in My Account area only)
   The header and sidebar never move — only the content pane
   scrolls internally, and only if a section's content is taller
   than the available space. Navigation between sections is by
   clicking sidebar items, never by the page itself scrolling.
   Excludes the logged-out bare login screen (its own separate,
   unrelated layout). --ikowaina-header-h/--ikowaina-tabbar-h are
   set in assets/js/main.js from the REAL rendered header height,
   since that varies (announcement bar, WP admin bar, breakpoint).
========================================================= */
body.ikowaina-account-page:not(.ikowaina-bare-login-page){
  overflow:hidden; height:100dvh;
}
body.ikowaina-account-page:not(.ikowaina-bare-login-page) .site-footer{
  display:none;
}
body.ikowaina-account-page:not(.ikowaina-bare-login-page) .ikowaina-account-shell{
  position:fixed;
  top:var(--ikowaina-header-h, 110px);
  inset-inline:0;
  bottom:var(--ikowaina-tabbar-h, 0px);
  margin:0; overflow:hidden;
}
body.ikowaina-account-page:not(.ikowaina-bare-login-page) .ikowaina-account-sidebar,
body.ikowaina-account-page:not(.ikowaina-bare-login-page) .ikowaina-account-content{
  height:100%; overflow-y:auto; min-height:0;
}

/* =========================================================
   MY ACCOUNT PAGE — logged-in dashboard (v2 design)
   Scoped entirely under .ikowaina-account-sidebar--v2 so the
   logged-out auth sidebar above is completely unaffected.
========================================================= */
.ikowaina-account-sidebar--v2{
  background:var(--bg); border:1px solid var(--border); padding:20px;
  display:flex; flex-direction:column;
}
.ikowaina-account-header-v2{
  display:flex; align-items:center; gap:14px; padding:14px; margin-bottom:18px;
  background:var(--surface,#F7F7F8); border-radius:var(--radius-md,12px);
}
.ikowaina-avatar-initials{
  width:52px; height:52px; border-radius:50%; background:var(--primary); color:#fff;
  display:flex; align-items:center; justify-content:center; flex:0 0 auto;
  font-weight:900; font-size:16px; letter-spacing:.02em;
}
.ikowaina-avatar-upload-btn{
  position:relative; padding:0; border:0; background:none; cursor:pointer; flex:0 0 auto;
  border-radius:50%;
}
.ikowaina-avatar-edit-badge{
  position:absolute; bottom:-2px; inset-inline-end:-2px; width:20px; height:20px; border-radius:50%;
  background:var(--primary); border:2px solid var(--bg);
  display:flex; align-items:center; justify-content:center;
}
.ikowaina-account-header-v2 div{ display:flex; flex-direction:column; min-width:0; }
.ikowaina-account-header-v2 strong{ font-size:15px; font-weight:900; color:var(--text); }
.ikowaina-account-header-v2 span{ font-size:12.5px; color:var(--text2); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }

.ikowaina-account-nav-v2{ display:flex; flex-direction:column; gap:2px; }
.ikowaina-account-nav-v2 a{
  display:flex; align-items:center; gap:12px; padding:12px 14px;
  border-radius:var(--radius-md,10px); color:var(--text2); font-weight:700; font-size:14.5px;
}
.ikowaina-account-nav-v2 a svg{ flex:0 0 auto; }
.ikowaina-account-nav-v2 a.is-active{
  background:color-mix(in srgb, var(--primary) 12%, transparent);
  color:var(--primary); box-shadow:inset 3px 0 0 var(--primary);
}
.ikowaina-account-nav-v2 a:hover:not(.is-active){ background:var(--surface,#F7F7F8); }

.ikowaina-account-v2-footer{ margin-top:16px; padding-top:16px; border-top:1px solid var(--border); }
.ikowaina-account-v2-footer .ikowaina-account-row,
.ikowaina-account-v2-footer .ikowaina-account-lang{ padding-left:4px; padding-right:4px; }
.ikowaina-account-logout-v2{
  display:flex; align-items:center; gap:10px; margin-top:14px; padding:12px 14px;
  border-radius:var(--radius-md,10px); background:#fde9e6; color:#c0362c; font-weight:800; font-size:14.5px;
}
[data-theme="dark"] .ikowaina-account-logout-v2{ background:rgba(192,54,44,.18); }

@media (max-width:900px){
  .ikowaina-account-sidebar--v2{ height:auto; }
}


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

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

@media (max-width:900px){
  .ikowaina-account-shell{ grid-template-columns:1fr; }
  .ikowaina-auth-forms{ grid-template-columns:1fr; }
}

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

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

.ikowaina-auth-page--single{ max-width:420px; }
.ikowaina-auth-page--single .ikowaina-auth-view{
  background:transparent; border:0; padding:0;
}
.ikowaina-auth-avatar{
  width:118px; height:118px; border-radius:50%; background:var(--primary);
  display:flex; align-items:center; justify-content:center; margin:40px auto 28px;
}
.ikowaina-auth-avatar svg{ width:52px; height:52px; }
.ikowaina-icon-form .form-row{ margin-bottom:14px; }
.ikowaina-icon-field{ position:relative; }
.ikowaina-icon-field .field-icon{
  position:absolute; top:50%; transform:translateY(-50%); inset-inline-start:16px;
  color:var(--text2); pointer-events:none;
}
.ikowaina-icon-field input{
  padding-inline-start:46px !important; height:52px; font-size:15px;
}
.ikowaina-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;
}
.ikowaina-icon-field:has(.ikowaina-pw-toggle) input{ padding-inline-end:42px !important; }

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

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

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

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

.ikowaina-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;
}
.ikowaina-social-btn:last-child{ margin-bottom:0; }

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

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

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

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

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

@media (max-width:640px){
  .ikowaina-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. */
.ikowaina-account-content table.woocommerce-orders-table,
.ikowaina-account-content table.shop_table{
  width:100%; border-collapse:collapse; background:var(--bg); color:var(--text);
}
.ikowaina-account-content table.woocommerce-orders-table th,
.ikowaina-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;
}
.ikowaina-account-content table.woocommerce-orders-table td,
.ikowaina-account-content table.shop_table td{
  padding:14px 8px; border-bottom:1px solid var(--border); font-size:14px;
}
.ikowaina-account-content .woocommerce-Addresses,
.ikowaina-account-content .woocommerce-Address{
  color:var(--text);
}
.ikowaina-account-content address{ font-style:normal; color:var(--text2); line-height:1.6; }
.ikowaina-account-content .woocommerce-message,
.ikowaina-account-content .woocommerce-error,
.ikowaina-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) ==== */
.ikowaina-orders-title-row{ display:flex; align-items:center; gap:14px; margin-bottom:6px; }
.ikowaina-orders-title-row .ikowaina-orders-title{ margin:0; }
.ikowaina-orders-subtitle{ color:var(--text2); font-size:14px; margin:0 0 20px; }
.ikowaina-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);
}
.ikowaina-orders-title{ font-size:26px; font-weight:900; margin:0 0 20px; color:var(--text); }
.ikowaina-orders-tabs{
  display:flex; gap:10px; border-bottom:0; margin-bottom:24px; overflow-x:auto; padding-bottom:2px;
}
.ikowaina-orders-tabs a{
  display:flex; align-items:center; gap:8px; padding:10px 16px; color:var(--text); font-weight:700; font-size:14px;
  text-decoration:none; white-space:nowrap; border-radius:var(--radius-full,999px);
  background:var(--surface,#F3F4F6); border:1px solid transparent;
}
.ikowaina-orders-tabs a.is-active{
  color:var(--primary); background:color-mix(in srgb, var(--primary) 12%, transparent);
  border-color:color-mix(in srgb, var(--primary) 35%, transparent);
}
.ikowaina-orders-empty-state{
  display:flex; flex-direction:column; align-items:center; text-align:center;
  padding:64px 20px;
}
.ikowaina-orders-empty-icon{
  width:96px; height:96px; border-radius:50%; background:var(--surface,#F3F4F6);
  display:flex; align-items:center; justify-content:center; color:var(--text2); margin-bottom:20px;
}
.ikowaina-orders-empty-title{ font-size:18px; font-weight:800; color:var(--text); }
.ikowaina-orders-empty-sub{ color:var(--text2); font-size:14px; margin:6px 0 22px; }
.ikowaina-orders-empty-cta{ display:inline-flex; align-items:center; gap:8px; width:auto; padding:14px 26px; }

/* Addresses page */
.ikowaina-orders-title-row{ position:relative; }
.ikowaina-addresses-add-btn{
  display:inline-flex; align-items:center; gap:8px; width:auto; margin-inline-start:auto;
  padding:12px 20px;
}
.ikowaina-address-cards{ display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.ikowaina-address-card{ border:1px solid var(--border); border-radius:var(--radius-lg,14px); padding:22px; }
.ikowaina-address-card-head{ display:flex; align-items:center; justify-content:space-between; margin-bottom:12px; }
.ikowaina-address-card-head h3{ font-size:15px; font-weight:800; margin:0; color:var(--text); }
.ikowaina-address-edit-link{ color:var(--primary); font-weight:700; font-size:13px; }
.ikowaina-address-card address{ font-style:normal; color:var(--text2); line-height:1.7; font-size:14px; }
.ikowaina-address-not-set{ color:var(--text2); font-size:14px; margin:0; }
@media (max-width:640px){
  .ikowaina-address-cards{ grid-template-columns:1fr; }
  .ikowaina-orders-title-row{ flex-wrap:wrap; }
  .ikowaina-addresses-add-btn{ margin-inline-start:0; order:3; width:100%; justify-content:center; }
}

/* Address book (real, working Home/Work/Other multi-address feature) */
.ikowaina-address-book-list{ display:flex; flex-direction:column; gap:14px; }
.ikowaina-address-book-card{ border:1px solid var(--border); border-radius:var(--radius-lg,14px); padding:18px 20px; position:relative; }
.ikowaina-address-book-head{ display:flex; align-items:center; justify-content:space-between; margin-bottom:10px; }
.ikowaina-address-book-title{ display:flex; align-items:center; gap:8px; font-weight:800; font-size:15px; color:var(--text); }
.ikowaina-address-book-name{ display:block; font-size:14.5px; color:var(--text); margin-bottom:4px; }
.ikowaina-address-book-card address{ font-style:normal; color:var(--text2); line-height:1.6; font-size:13.5px; }
.ikowaina-address-book-phone{ color:var(--text2); font-size:13.5px; margin:6px 0 0; }
.ikowaina-address-book-menu{ position:relative; }
.ikowaina-address-book-menu-btn{ width:32px; height:32px; border-radius:50%; display:flex; align-items:center; justify-content:center; color:var(--text2); }
.ikowaina-address-book-menu-btn:hover{ background:var(--surface); color:var(--text); }
.ikowaina-address-book-menu-list{
  position:absolute; top:calc(100% + 4px); inset-inline-end:0; min-width:160px; z-index:60;
  background:var(--bg); border:1px solid var(--border); border-radius:var(--radius-md,10px);
  box-shadow:var(--shadow-card, 0 8px 24px rgba(0,0,0,.12)); padding:6px; display:none;
}
.ikowaina-address-book-menu.is-open .ikowaina-address-book-menu-list{ display:block; }
.ikowaina-address-book-menu-list a{ display:block; padding:9px 12px; border-radius:var(--radius-sm,8px); font-size:13.5px; font-weight:600; color:var(--text); }
.ikowaina-address-book-menu-list a:hover{ background:var(--surface); }

/* Address add/edit form + Settings' account-details form (shared style) */
.ikowaina-address-form{ max-width:520px; }
.ikowaina-address-form-label-row{ margin-bottom:18px; }
.ikowaina-address-form-label{ display:block; font-weight:700; font-size:13.5px; margin-bottom:8px; color:var(--text); }
.ikowaina-address-label-picker{ display:flex; gap:10px; flex-wrap:wrap; }
.ikowaina-address-label-option input{ position:absolute; opacity:0; width:1px; height:1px; }
.ikowaina-address-label-option span{
  display:flex; align-items:center; gap:6px; padding:10px 16px; border:1.5px solid var(--border);
  border-radius:var(--radius-full,999px); font-weight:700; font-size:13.5px; color:var(--text2); cursor:pointer;
}
.ikowaina-address-label-option input:checked + span{ border-color:var(--primary); color:var(--primary); background:var(--orange-soft); }
.ikowaina-address-form-field{ margin-bottom:14px; }
.ikowaina-address-form-field label{ display:block; font-weight:700; font-size:13px; margin-bottom:6px; color:var(--text); }
.ikowaina-address-form-field input{
  width:100%; box-sizing:border-box; padding:12px 14px; border:1px solid var(--border);
  border-radius:var(--radius-md,10px); background:var(--bg); color:var(--text); font-size:14px; font-family:inherit;
}
.ikowaina-address-form-field input:focus{ outline:none; border-color:var(--primary); }
.ikowaina-address-default-check{ display:flex; align-items:center; gap:8px; font-size:13.5px; font-weight:600; color:var(--text); margin:6px 0 20px; cursor:pointer; }
.ikowaina-address-form-actions{ display:flex; gap:12px; flex-wrap:wrap; }

/* Settings hub */
.ikowaina-account-nav-v2-row{
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  border:1px solid var(--border); border-radius:var(--radius-lg,14px); padding:18px 20px; color:var(--text);
}
.ikowaina-account-nav-v2-row:hover{ border-color:var(--primary); }

/* Payment Methods page */
.ikowaina-trust-badges{
  display:grid; grid-template-columns:repeat(3,1fr); gap:24px; max-width:760px; margin:8px auto 0;
  border-top:1px solid var(--border); padding-top:32px;
}
.ikowaina-trust-badge{ display:flex; align-items:flex-start; gap:10px; text-align:start; }
.ikowaina-trust-badge svg{ flex:0 0 auto; margin-top:2px; color:var(--text); }
.ikowaina-trust-badge strong{ display:block; font-size:13.5px; font-weight:800; color:var(--text); }
.ikowaina-trust-badge span{ display:block; font-size:12.5px; color:var(--text2); margin-top:2px; }
.ikowaina-payment-default-pill{
  font-size:11px; font-weight:800; text-transform:uppercase; letter-spacing:.03em;
  background:var(--orange-soft); color:var(--primary); padding:3px 10px; border-radius:var(--radius-full,999px);
}
.ikowaina-payment-card-actions{ display:flex; gap:16px; margin-top:14px; }
.ikowaina-payment-delete-link{ color:#c0362c; }
@media (max-width:640px){
  .ikowaina-trust-badges{ grid-template-columns:1fr; }
}

/* Notifications page */
.ikowaina-mark-read-btn{ display:inline-flex; align-items:center; gap:8px; padding:11px 18px; }
.ikowaina-notif-list{ display:flex; flex-direction:column; gap:12px; }
.ikowaina-notif-card{
  display:flex; align-items:center; gap:14px; border:1px solid var(--border);
  border-radius:var(--radius-lg,14px); padding:16px 18px;
}
.ikowaina-notif-icon{
  width:44px; height:44px; border-radius:50%; flex:0 0 auto;
  display:flex; align-items:center; justify-content:center;
}
.ikowaina-notif-body{ display:flex; flex-direction:column; gap:2px; min-width:0; flex:1; }
.ikowaina-notif-body strong{ font-size:14.5px; font-weight:800; color:var(--text); }
.ikowaina-notif-body span{ font-size:13.5px; color:var(--text2); }
.ikowaina-notif-meta{ display:flex; align-items:center; gap:10px; flex:0 0 auto; color:var(--text2); }
.ikowaina-notif-meta time{ font-size:12.5px; white-space:nowrap; }
.ikowaina-notif-dot{ width:8px; height:8px; border-radius:50%; background:var(--primary); flex:0 0 auto; }
.ikowaina-notif-prefs-heading{ font-size:16px; font-weight:800; color:var(--text); margin:36px 0 4px; padding-top:24px; border-top:1px solid var(--border); }
@media (max-width:640px){
  .ikowaina-notif-card{ flex-wrap:wrap; }
  .ikowaina-notif-meta{ margin-inline-start:58px; }
}

.ikowaina-orders-table{ border:1px solid var(--border); border-radius:var(--radius-sm); overflow:hidden; }
.ikowaina-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;
}
.ikowaina-orders-table-head .col-total{ text-align:end; }
.ikowaina-orders-table-head .col-actions{ text-align:center; }

.ikowaina-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;
}
.ikowaina-order-row:first-of-type{ border-top:0; }
.ikowaina-order-row:hover{ background:var(--surface); }

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

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

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

.ikowaina-order-status{
  font-size:12px; font-weight:800; padding:5px 12px; border-radius:999px; white-space:nowrap;
  background:var(--surface); color:var(--text2);
}
.ikowaina-order-status.status-completed,
.ikowaina-order-status.status-delivered{ background:#e3f8ec; color:#0f8a4a; }
.ikowaina-order-status.status-processing,
.ikowaina-order-status.status-shipped{ background:#fff2df; color:#c17a09; }
.ikowaina-order-status.status-cancelled,
.ikowaina-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. */
