/*
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.0.9
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); }

/* =========================================================
   HEADER
========================================================= */
.site-header{
  position:sticky; top:0; z-index:50;
  background:var(--bg); border-bottom:1px solid var(--border);
}
.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:26px; width:auto; }
.footer-brand .logo-img{ height:24px; }
.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;
}
.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{ 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; }

/* =========================================================
   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-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-grid{
  max-width:var(--maxw); margin:0 auto;
  display:grid; grid-template-columns:repeat(5,1fr); gap:16px;
}
.cat-card{
  border:1px solid var(--border); border-radius:var(--radius-lg);
  padding:22px 16px; text-align:center; background:var(--bg);
  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(--orange-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; }

/* =========================================================
   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{
  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;
}
.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; }

/* =========================================================
   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(--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); }
  .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{ 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-divider{ width:1px; height:24px; background:var(--border); flex:0 0 auto; }

  /* 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 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; }
}
