/* ═══════════════════════════════════════════════════════════════
   PERFECTWELDING — COMPLETE RESPONSIVE SYSTEM
   Adds ALL missing base styles + full mobile/tablet/desktop
   responsive coverage for every page & component
   ═══════════════════════════════════════════════════════════════ */


/* ══════════════════════════════════════════════════════════════
   1. MISSING BASE STYLES (hero, section, product-card, banner…)
   ══════════════════════════════════════════════════════════════ */

/* ─── HERO ───────────────────────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - var(--top));
  border-bottom: 0.5px solid var(--border);
  overflow: hidden;
}

.hero-left {
  padding: 80px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  border-right: 0.5px solid var(--border);
}

.hero-eyebrow {
  font-family: var(--fm);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--fd);
  font-size: clamp(56px, 8vw, 100px);
  line-height: 0.92;
  letter-spacing: 1px;
  margin-bottom: 24px;
}
.hero-title em {
  font-style: normal;
  color: var(--accent);
}

.hero-sub {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 440px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-right {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  padding: 60px 40px;
  overflow: hidden;
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  position: relative;
}

/* Spec tags floating around hero visual */
.spec-tag {
  position: absolute;
  background: var(--surface2);
  border: 0.5px solid var(--border);
  border-radius: var(--r);
  padding: 8px 14px;
  font-family: var(--fm);
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.4;
  white-space: nowrap;
  z-index: 2;
}
.spec-1 { top: 18%; left: -10px; }
.spec-2 { top: 50%; right: -10px; }
.spec-3 { bottom: 18%; left: 10%; }

.hero-stats {
  display: flex;
  gap: 0;
  width: 100%;
  border-top: 0.5px solid var(--border);
  margin-top: 32px;
}

.hero-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 16px;
  border-right: 0.5px solid var(--border);
}
.hero-stat:last-child { border-right: none; }

.stat-num {
  font-family: var(--fd);
  font-size: 32px;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label {
  font-family: var(--fm);
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
}


/* ─── SECTION ────────────────────────────────────────────────── */
.section {
  padding: 56px 64px;
  border-bottom: 0.5px solid var(--border);
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 32px;
  gap: 16px;
}

.section-title {
  font-family: var(--fd);
  font-size: 48px;
  letter-spacing: 2px;
  line-height: 1;
}

.section-link {
  font-family: var(--fm);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color .2s;
  white-space: nowrap;
  margin-bottom: 6px;
}
.section-link:hover { color: var(--accent); }


/* ─── CATEGORIES ─────────────────────────────────────────────── */
.categories {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  border-top: 0.5px solid var(--border);
  margin-top: 2px;
}

.cat-card {
  background: var(--surface);
  padding: 32px 28px;
  border-right: 0.5px solid var(--border);
  cursor: pointer;
  transition: background .2s;
  position: relative;
  overflow: hidden;
}
.cat-card:last-child { border-right: none; }
.cat-card:hover { background: var(--surface2); }

.cat-icon {
  font-size: 28px;
  color: var(--accent);
  margin-bottom: 16px;
  line-height: 1;
  display: block;
}

.cat-name {
  font-family: var(--fd);
  font-size: 22px;
  letter-spacing: 1px;
  color: var(--fg);
  margin-bottom: 6px;
}

.cat-count {
  font-family: var(--fm);
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--muted);
  text-transform: uppercase;
}

.cat-arrow {
  position: absolute;
  bottom: 20px;
  right: 20px;
  font-size: 18px;
  color: var(--muted);
  transition: transform .2s, color .2s;
}
.cat-card:hover .cat-arrow {
  transform: translate(3px, -2px);
  color: var(--accent);
}


/* ─── PRODUCT GRID ───────────────────────────────────────────── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.product-grid.cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

.product-card {
  background: var(--surface);
  cursor: pointer;
  border: 0.5px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  transition: border-color .2s, transform .2s;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  border-color: rgba(255,77,0,0.3);
  transform: translateY(-2px);
}

.product-img {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--surface2);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-img-el {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.product-card:hover .product-img-el { transform: scale(1.05); }

.product-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  font-family: var(--fm);
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 2px;
  color: #fff;
  background: var(--accent);
  z-index: 1;
}
.product-badge.sale { background: #e64500; }
.product-badge.out { background: rgba(255,255,255,0.15); color: var(--muted); }

.product-info {
  padding: 18px 18px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-brand {
  font-family: var(--fm);
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

.product-name {
  font-size: 13px;
  color: var(--fg);
  line-height: 1.4;
  margin-bottom: auto;
  padding-bottom: 14px;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.product-price {
  font-family: var(--fm);
  font-size: 15px;
  color: var(--accent);
  font-weight: 700;
}

.product-price-old {
  font-family: var(--fm);
  font-size: 12px;
  color: var(--muted);
  text-decoration: line-through;
  margin-right: 4px;
}

.product-add {
  padding: 7px 14px;
  background: var(--accent);
  color: #fff;
  font-family: var(--fm);
  font-size: 9px;
  letter-spacing: 1.5px;
  border: none;
  border-radius: var(--r);
  cursor: pointer;
  transition: background .2s;
  white-space: nowrap;
}
.product-add:hover { background: #e64500; }
.product-add.disabled {
  background: rgba(255,255,255,0.06);
  color: var(--muted);
  cursor: not-allowed;
}


/* ─── BANNER ─────────────────────────────────────────────────── */
.banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 0.5px solid var(--border);
  border-bottom: 0.5px solid var(--border);
  background: var(--surface);
  overflow: hidden;
  position: relative;
}

.banner > div:first-child {
  padding: 80px 64px;
  border-right: 0.5px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.banner-title {
  font-family: var(--fd);
  font-size: clamp(56px, 8vw, 96px);
  line-height: 0.92;
  letter-spacing: 1px;
  margin-bottom: 24px;
}
.banner-title em {
  font-style: normal;
  color: var(--accent2);
}

.banner-text {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
  max-width: 480px;
  margin-bottom: 32px;
}

.banner-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
}

.banner-feat {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--muted);
}

.feat-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.banner-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;
  overflow: hidden;
}

.tigware-bg-text {
  position: absolute;
  font-family: var(--fd);
  font-size: 160px;
  color: rgba(255,184,0,0.04);
  letter-spacing: 8px;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  white-space: nowrap;
}

.banner-label {
  font-family: var(--fm);
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,184,0,0.5);
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}


/* ─── TRUST BAR ──────────────────────────────────────────────── */
.trust-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 0.5px solid var(--border);
}

.trust-item {
  padding: 32px 28px;
  border-right: 0.5px solid var(--border);
  transition: background .2s;
}
.trust-item:last-child { border-right: none; }
.trust-item:hover { background: var(--surface); }

.trust-icon {
  font-size: 24px;
  color: var(--accent);
  margin-bottom: 14px;
  line-height: 1;
}

.trust-title {
  font-family: var(--fd);
  font-size: 18px;
  letter-spacing: 0.5px;
  color: var(--fg);
  margin-bottom: 8px;
}

.trust-sub {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}


/* ─── TESTIMONIALS ───────────────────────────────────────────── */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.testimonial {
  background: var(--surface);
  padding: 32px 28px;
  border: 0.5px solid var(--border);
  border-radius: var(--r);
  transition: border-color .2s;
}
.testimonial:hover { border-color: rgba(255,77,0,0.3); }

.stars {
  color: var(--accent2);
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.testimonial-text {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  font-family: var(--fm);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--fg);
}


/* ══════════════════════════════════════════════════════════════
   2. TOUCH & MOBILE UTILITY IMPROVEMENTS
   ══════════════════════════════════════════════════════════════ */

/* Better touch targets */
@media (hover: none) {
  .product-add,
  .btn-primary,
  .btn-ghost,
  .cart-btn,
  .account-btn,
  .filter-btn {
    min-height: 44px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .nav-mobile-toggle {
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
    align-items: center;
  }

  .pw-tab-btn { min-height: 44px; }
  .pw-faq-question { min-height: 52px; }
}

/* Prevent text overflow everywhere */
* { word-break: break-word; }
img, svg, video { max-width: 100%; }


/* ══════════════════════════════════════════════════════════════
   3. COMPLETE RESPONSIVE BREAKPOINTS
   ══════════════════════════════════════════════════════════════ */

/* ── LARGE DESKTOP (≤1440px) ─────────────────────────────────── */
@media (max-width: 1440px) {
  .hero-left { padding: 72px 56px; }
  .banner > div:first-child { padding: 72px 56px; }
  .section { padding: 56px 56px; }
}

/* ── TABLET LANDSCAPE (≤1200px) ──────────────────────────────── */
@media (max-width: 1200px) {
  .hero-title { font-size: clamp(56px, 7vw, 88px); }
  .hero-left { padding: 60px 48px; }
  .hero-right { padding: 48px 32px; }
  .section { padding: 48px 40px; }
  .section-title { font-size: 40px; }
  .categories { grid-template-columns: repeat(4, 1fr); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid.cols-4 { grid-template-columns: repeat(3, 1fr); }
  .banner > div:first-child { padding: 60px 48px; }
  .banner-title { font-size: clamp(48px, 7vw, 80px); }
  .trust-bar { grid-template-columns: repeat(4, 1fr); }
  .spec-tag { display: none; }
}

/* ── TABLET PORTRAIT (≤1024px) ───────────────────────────────── */
@media (max-width: 1024px) {
  /* Hero — single column, hide right panel */
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-left {
    padding: 56px 40px;
    border-right: none;
    border-bottom: 0.5px solid var(--border);
  }
  .hero-right { display: none; }
  .hero-title { font-size: clamp(52px, 8vw, 80px); }

  /* Section */
  .section { padding: 48px 40px; }
  .section-title { font-size: 38px; }

  /* Categories */
  .categories { grid-template-columns: repeat(2, 1fr); }

  /* Products */
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }

  /* Banner */
  .banner { grid-template-columns: 1fr; }
  .banner > div:first-child { border-right: none; padding: 56px 40px; }
  .banner-visual { display: none; }
  .banner-title { font-size: clamp(44px, 8vw, 72px); }

  /* Trust bar */
  .trust-bar { grid-template-columns: repeat(2, 1fr); }

  /* Testimonials */
  .testimonial-grid { grid-template-columns: 1fr 1fr; }
}

/* ── MOBILE LANDSCAPE & SMALL TABLET (≤768px) ───────────────── */
@media (max-width: 768px) {
  /* Root adjustments */
  :root {
    --nav-h: 52px;
    --strip-h: 30px;
  }

  /* Nav */
  #pw-nav { padding: 0 16px; }
  .nav-links { display: none; }
  .nav-mobile-toggle { display: flex; }
  .pw-lang-switcher { display: none; }

  /* Hero */
  .hero { min-height: auto; }
  .hero-left {
    padding: 48px 20px;
    border-right: none;
  }
  .hero-title { font-size: clamp(44px, 10vw, 64px); }
  .hero-sub { font-size: 13px; }
  .hero-actions { flex-direction: column; gap: 10px; }
  .hero-actions .btn-primary,
  .hero-actions .btn-ghost { width: 100%; justify-content: center; }
  .hero-right { display: none; }

  /* Sections */
  .section { padding: 40px 20px; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 8px; }
  .section-title { font-size: 32px; }

  /* Categories */
  .categories { grid-template-columns: repeat(2, 1fr); }
  .cat-card { padding: 24px 20px; }
  .cat-name { font-size: 18px; }

  /* Products */
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .product-name { font-size: 12px; }
  .product-footer { flex-direction: column; align-items: flex-start; gap: 10px; }
  .product-add { width: 100%; text-align: center; }

  /* Banner */
  .banner > div:first-child { padding: 40px 20px; }
  .banner-title { font-size: clamp(40px, 10vw, 60px); }
  .banner-text { font-size: 13px; }

  /* Trust bar */
  .trust-bar { grid-template-columns: 1fr 1fr; }
  .trust-item { padding: 24px 20px; }

  /* Testimonials */
  .testimonial-grid { grid-template-columns: 1fr; }

  /* Shop page */
  .shop-page { padding: 20px; }
  .shop-header { gap: 12px; }
  .shop-header-right { flex-direction: column; align-items: flex-start; }
  .shop-title { font-size: 40px; }
  .shop-body { grid-template-columns: 1fr; }
  .shop-sidebar { display: none; }
  .shop-products { padding-left: 0; }

  /* Product detail */
  .product-detail { grid-template-columns: 1fr; }
  .product-detail-img {
    min-height: 280px;
    border-right: none;
    border-bottom: 0.5px solid var(--border);
    padding: 32px 20px;
  }
  .product-detail-info { padding: 32px 20px; }
  .product-detail-name { font-size: clamp(28px, 8vw, 44px); }
  .product-detail-price { font-size: 36px; }
  .pw-product-tabs { padding: 32px 20px; }
  .pw-tabs-nav { overflow-x: auto; }
  .pw-tab-btn { white-space: nowrap; }

  /* Qty + add to cart row */
  .qty-add-row { flex-direction: column; gap: 10px; }
  .qty-add-row .add-to-cart-btn { width: 100%; }

  /* Cart page */
  .cart-page { padding: 0; }
  .cart-page > .shop-header,
  .cart-page > .woocommerce-notices-wrapper { padding-left: 20px; padding-right: 20px; }
  .cart-item-row { flex-wrap: wrap; }

  /* Checkout */
  .checkout-page { padding: 0; }
  .checkout-page > .shop-header,
  .checkout-page > .woocommerce-notices-wrapper { padding-left: 20px; padding-right: 20px; }
  .checkout-grid { grid-template-columns: 1fr; }
  .checkout-left { padding: 32px 20px; border-right: none; }
  .checkout-right { padding: 32px 20px 0; border-top: 0.5px solid var(--border); position: static; }
  .checkout-fields .form-row.form-row-first,
  .checkout-fields .form-row.form-row-last {
    display: block;
    width: 100%;
  }
  .checkout-fields .form-row.form-row-first { margin-right: 0; }

  /* Newsletter */
  .pw-newsletter {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 20px;
    gap: 20px;
  }
  .pw-nl-form { width: 100%; }
  .pw-nl-input { min-width: 0; flex: 1; }
  .pw-nl-btn { width: 100%; }

  /* Footer */
  .pw-footer {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 40px 20px;
  }
  .pw-footer-brand { padding-right: 0; }
  .pw-footer-col { padding: 0; }
  .pw-footer-bottom {
    padding: 16px 20px;
    flex-direction: column;
    align-items: flex-start;
  }

  /* Auth pages */
  .pw-auth-wrap { grid-template-columns: 1fr; }
  .pw-auth-brand { display: none; }
  .pw-auth-form-panel { padding: 48px 24px; }

  /* Dashboard */
  .pw-dashboard-wrap { grid-template-columns: 1fr; }
  .pw-dash-sidebar { position: static; min-height: auto; padding: 20px 0; }
  .pw-dash-main { padding: 28px 20px; }
  .pw-dash-stats { grid-template-columns: repeat(2, 1fr); }
  .pw-dash-quick { grid-template-columns: 1fr 1fr; }
  .pw-dash-greeting h1 { font-size: 36px; }

  /* Account */
  .woocommerce-account .woocommerce,
  .woocommerce-page .woocommerce {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 20px;
  }

  /* About */
  .pw-about-hero { flex-direction: column; padding: 48px 20px; }
  .pw-about-pillars { grid-template-columns: 1fr; }
  .pw-about-pillar { border-right: none; border-bottom: 0.5px solid var(--border); padding: 32px 20px; }
  .pw-about-stories { grid-template-columns: 1fr; }
  .pw-about-story-col { border-right: none; padding: 40px 20px; }
  .pw-about-headline { font-size: clamp(44px, 10vw, 72px); }

  /* Blog */
  .pw-blog-header { padding: 48px 20px 32px; }
  .pw-blog-grid { grid-template-columns: 1fr 1fr; }
  .pw-blog-grid-section { padding: 32px 20px 60px; }

  /* FAQ */
  .pw-faq-header { padding: 48px 20px 32px; }
  .pw-faq-body { grid-template-columns: 1fr; }
  .pw-faq-cats {
    flex-direction: row;
    flex-wrap: wrap;
    border-right: none;
    border-bottom: 0.5px solid var(--border);
    padding: 16px 20px;
  }
  .pw-faq-accordion { padding: 24px 20px; }

  /* Contact */
  .pw-contact-wrap { grid-template-columns: 1fr; }
  .pw-contact-info { padding: 48px 20px; border-right: none; border-bottom: 0.5px solid var(--border); }
  .pw-contact-form-wrap { padding: 48px 20px; }
  .pw-contact-title { font-size: clamp(44px, 10vw, 72px); }

  /* Page header */
  .pw-page-header { padding: 48px 20px 32px; }
  .pw-page-title { font-size: 44px; }
  .pw-page-content { padding: 32px 20px; }

  /* Breadcrumb */
  .pw-breadcrumb { padding: 12px 20px; }
}

/* ── MOBILE PORTRAIT (≤480px) ─────────────────────────────────── */
@media (max-width: 480px) {
  /* Products */
  .product-grid,
  .product-grid.cols-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 0 0;
  }

  /* Categories - 2 col keeps better on small phone */
  .categories { grid-template-columns: repeat(2, 1fr); }
  .cat-card { padding: 20px 16px; }

  /* Trust bar */
  .trust-bar { grid-template-columns: 1fr; }

  /* Hero */
  .hero-title { font-size: clamp(40px, 12vw, 56px); }
  .hero-left { padding: 40px 16px; }

  /* Banner */
  .banner-title { font-size: clamp(36px, 11vw, 52px); }
  .banner > div:first-child { padding: 36px 16px; }

  /* Section */
  .section { padding: 32px 16px; }
  .section-title { font-size: 28px; }

  /* Shop */
  .shop-title { font-size: 32px; }
  .shop-page { padding: 16px; }

  /* Cart item row stacks */
  .cart-item-row {
    display: grid;
    grid-template-columns: 56px 1fr;
    grid-template-rows: auto auto;
  }
  .cart-item-qty { grid-column: 2; }
  .cart-item-remove { position: absolute; top: 16px; right: 16px; }
  .cart-item-row { position: relative; }

  /* Footer */
  .pw-footer { padding: 32px 16px; }
  .pw-footer-bottom { padding: 14px 16px; }

  /* Newsletter */
  .pw-newsletter { padding: 28px 16px; }
  .pw-newsletter-heading { font-size: 24px; }

  /* Navbar */
  .nav-logo { font-size: 18px; }
  .nav-right { gap: 8px; }

  /* Auth */
  .pw-auth-form-panel { padding: 40px 16px; }
  .pw-auth-form-inner h3 { font-size: 30px; }

  /* Dashboard */
  .pw-dash-stats { grid-template-columns: 1fr; }
  .pw-dash-quick { grid-template-columns: 1fr; }
  .pw-dash-main { padding: 24px 16px; }

  /* About */
  .pw-about-hero { padding: 36px 16px; }
  .pw-about-pillars .pw-pillar-title { font-size: 18px; }

  /* Blog */
  .pw-blog-grid { grid-template-columns: 1fr; }
  .pw-blog-header { padding: 36px 16px 24px; }
  .pw-blog-grid-section { padding: 24px 16px 48px; }

  /* FAQ */
  .pw-faq-header { padding: 36px 16px 24px; }
  .pw-faq-accordion { padding: 16px; }
  .pw-faq-question { font-size: 14px; }

  /* Contact */
  .pw-contact-info { padding: 36px 16px; }
  .pw-contact-form-wrap { padding: 36px 16px; }

  /* Product detail */
  .product-detail-img { padding: 24px 16px; }
  .product-detail-info { padding: 24px 16px; }
  .pw-product-tabs { padding: 24px 16px; }
}

/* ── VERY SMALL (≤360px) ─────────────────────────────────────── */
@media (max-width: 360px) {
  #pw-nav { padding: 0 12px; }
  .hero-title { font-size: 36px; }
  .nav-logo { font-size: 16px; letter-spacing: 1px; }
  .product-grid,
  .product-grid.cols-4 { grid-template-columns: 1fr; }
  .categories { grid-template-columns: 1fr; }
  .pw-auth-form-inner h3 { font-size: 28px; }
  .section-title { font-size: 26px; }
  .shop-title { font-size: 28px; }
  .pw-page-title { font-size: 36px; }
  .banner-title { font-size: 32px; }
}


/* ══════════════════════════════════════════════════════════════
   4. PRINT STYLES
   ══════════════════════════════════════════════════════════════ */
@media print {
  #pw-nav, .marquee-strip, .mobile-nav, .mobile-nav-overlay,
  .pw-side-cart, .pw-cart-overlay, .cart-btn, .account-btn,
  .nav-mobile-toggle, .pw-toast { display: none !important; }

  body { padding-top: 0 !important; background: #fff !important; color: #000 !important; }

  .hero, .section, .product-detail, .banner, .trust-bar,
  .categories, .testimonial-grid { page-break-inside: avoid; }

  a::after { content: " (" attr(href) ")"; font-size: 0.8em; color: #555; }
  a[href^="#"]::after, a[href^="javascript"]::after { content: ""; }
}


/* ══════════════════════════════════════════════════════════════
   5. LANDSCAPE PHONE SPECIAL RULES
   ══════════════════════════════════════════════════════════════ */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: auto;
  }
  .hero-left {
    padding: 32px 24px;
  }
  .hero-title { font-size: 40px; }
  .mobile-nav {
    overflow-y: auto;
  }
}


/* ══════════════════════════════════════════════════════════════
   6. HIGH-DPI / RETINA IMPROVEMENTS
   ══════════════════════════════════════════════════════════════ */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .product-img-el,
  .pd-img-el,
  .pw-blog-thumb-img { image-rendering: -webkit-optimize-contrast; }
}


/* ══════════════════════════════════════════════════════════════
   7. ACCESSIBILITY IMPROVEMENTS
   ══════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .marquee-inner { animation: none !important; }
}

/* Focus visible for keyboard nav */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}


/* ══════════════════════════════════════════════════════════════
   8. OVERFLOW & SCROLL FIXES
   ══════════════════════════════════════════════════════════════ */
html, body { overflow-x: hidden; max-width: 100%; }

/* Horizontal scroll protection */
.hero, .banner, .pw-about-hero, .pw-contact-wrap,
.pw-auth-wrap, .pw-dashboard-wrap, .pw-faq-body,
.pw-blog-grid, .categories, .product-grid,
.trust-bar, .testimonial-grid {
  max-width: 100%;
  overflow-x: hidden;
}

/* Prevent tables from overflowing on mobile */
table { width: 100%; table-layout: fixed; }
.woocommerce-orders-table { overflow-x: auto; display: block; }

/* Input/select mobile fixes */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
select,
textarea {
  max-width: 100%;
  -webkit-appearance: none;
  appearance: none;
}

/* Image overflow fix */
.product-img,
.pd-main-img,
.pw-blog-card-thumb {
  overflow: hidden;
}


/* ══════════════════════════════════════════════════════════════
   9. CART PAGE SPECIFIC MOBILE FIXES
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 600px) {
  .cart-page .woocommerce table.shop_table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .cart-actions-row {
    flex-direction: column;
    gap: 12px;
  }

  .checkout-fields .form-row.form-row-first,
  .checkout-fields .form-row.form-row-last {
    display: block !important;
    width: 100% !important;
    margin-right: 0 !important;
  }
}


/* ══════════════════════════════════════════════════════════════
   10. SHOP MOBILE FILTER BAR
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .shop-filters {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
    scrollbar-width: none;
  }
  .shop-filters::-webkit-scrollbar { display: none; }

  .filter-btn { white-space: nowrap; flex-shrink: 0; }
}


/* ══════════════════════════════════════════════════════════════
   11. PRODUCT DETAIL MOBILE GALLERY
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .pd-thumbs {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
  }
  .pd-thumbs::-webkit-scrollbar { display: none; }
  .pd-thumb { flex-shrink: 0; }
}


/* ══════════════════════════════════════════════════════════════
   12. MOBILE NAV IMPROVEMENTS
   ══════════════════════════════════════════════════════════════ */

/* Wider nav links clickable area */
.mobile-nav-links a {
  padding: 18px 24px;
}

/* Swipe-friendly overlay */
.mobile-nav-overlay {
  -webkit-tap-highlight-color: transparent;
}

/* Safe area insets for notched phones */
@supports (padding: env(safe-area-inset-bottom)) {
  .mobile-nav {
    padding-bottom: env(safe-area-inset-bottom);
  }
  .pw-footer-bottom {
    padding-bottom: calc(16px + env(safe-area-inset-bottom));
  }
  .pw-side-cart__footer {
    padding-bottom: calc(20px + env(safe-area-inset-bottom));
  }
  .pw-toast {
    bottom: calc(24px + env(safe-area-inset-bottom));
  }
}

/* ── END OF RESPONSIVE.CSS ────────────────────────────────────── */


/* ══════════════════════════════════════════════════════════════
   CART & CHECKOUT — CSS CLASSES (replaces inline styles)
   ══════════════════════════════════════════════════════════════ */

/* ─── STEPS BAR ──────────────────────────────────────────────── */
.pw-step-header {
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px;
}
.pw-steps-bar {
  display: flex;
  gap: 0;
  border: 0.5px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  margin-bottom: 12px;
  flex-shrink: 0;
}
.pw-step {
  padding: 10px 20px;
  font-family: var(--fm);
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--muted);
  border-left: 0.5px solid var(--border);
  white-space: nowrap;
}
.pw-step:first-child { border-left: none; }
.pw-step a { color: inherit; text-decoration: none; }
.pw-step a:hover { color: var(--fg); }
.pw-step--active {
  background: var(--accent);
  color: #fff;
}

/* ─── CART GRID ──────────────────────────────────────────────── */

/* Cart/Checkout page header gets its own horizontal padding
   (outer .cart-page / .checkout-page padding is 0 so items-col
    and checkout-left can be flush / self-controlled) */
.cart-page > .shop-header,
.cart-page > .woocommerce-notices-wrapper {
  padding-left: 32px;
  padding-right: 32px;
}
.checkout-page > .shop-header,
.checkout-page > .woocommerce-notices-wrapper {
  padding-left: 32px;
  padding-right: 32px;
}

.pw-cart-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 0;
  min-height: 500px;
  align-items: start;
}

.pw-cart-items-col {
  padding: 40px 48px 40px 32px;
  border-right: 0.5px solid var(--border);
}

.pw-cart-summary-col {
  padding: 40px 32px;
  background: var(--surface);
  position: sticky;
  top: var(--top);
  border-left: none;
}

/* Qty small variant */
.pw-qty-sm { transform: scale(0.88); transform-origin: left; }

/* Cart actions row */
.pw-cart-actions {
  margin-top: 24px;
  display: flex;
  gap: 12px;
}
.pw-btn-sm { font-size: 11px; padding: 10px 20px; }

/* Cart coupon */
.pw-cart-coupon {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 0.5px solid var(--border);
}
.pw-coupon-label {
  font-family: var(--fm);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.pw-coupon-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.pw-coupon-field {
  flex: 1;
  min-width: 140px;
  padding: 10px 14px;
  background: var(--bg);
  border: 0.5px solid var(--border);
  border-radius: var(--r);
  font-size: 13px;
  color: var(--fg);
  font-family: var(--fb);
  transition: border-color .2s;
}
.pw-coupon-field:focus { border-color: var(--accent); outline: none; }
.pw-coupon-msg {
  font-size: 12px;
  margin-top: 8px;
  font-family: var(--fm);
  min-height: 18px;
}

/* Cart nav row */
.pw-cart-nav {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 0.5px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* Cart empty */
.pw-cart-empty {
  padding: 80px 32px;
  text-align: center;
}
.pw-cart-empty-bg {
  font-family: var(--fd);
  font-size: 64px;
  color: rgba(255,255,255,0.04);
  margin-bottom: 24px;
  user-select: none;
}
.pw-cart-empty p { color: var(--muted); margin-bottom: 32px; font-size: 15px; }
.pw-cart-img-placeholder {
  width: 64px; height: 64px;
  display: flex; align-items: center; justify-content: center;
}

/* ─── SUMMARY SHARED ─────────────────────────────────────────── */
.pw-summary-label {
  font-family: var(--fm);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 2px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.pw-summary-products {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 0.5px solid var(--border);
}

.pw-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  gap: 8px;
}
.pw-summary-name { color: var(--muted); flex: 1; }
.pw-summary-qty  { color: var(--accent); }
.pw-summary-price { font-family: var(--fm); white-space: nowrap; }

.pw-summary-totals {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}
.pw-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}
.pw-total-row > span:first-child { color: var(--muted); }
.pw-total-row--discount > span:first-child { color: var(--accent2); }
.pw-total-row--discount > span:last-child  { color: var(--accent2); }

.pw-accent  { color: var(--accent); }
.pw-muted-sm { color: var(--muted); font-size: 11px; }

.pw-summary-grand-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 0.5px solid var(--border);
}
.pw-summary-grand-total > span:first-child {
  font-family: var(--fm);
  font-size: 12px;
  letter-spacing: 1px;
}
.pw-grand-total-price {
  font-family: var(--fd);
  font-size: 36px;
  color: var(--accent);
  line-height: 1;
}

/* Shipping notice */
.pw-shipping-notice {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: var(--r);
  font-size: 12px;
  font-family: var(--fm);
  letter-spacing: 0.5px;
}
.pw-notice--warn {
  background: rgba(255,184,0,0.08);
  border: 0.5px solid rgba(255,184,0,0.2);
  color: rgba(255,184,0,0.9);
}
.pw-notice--success {
  background: rgba(255,77,0,0.08);
  border: 0.5px solid rgba(255,77,0,0.2);
  color: var(--accent);
}

/* Cart summary checkout button */
.pw-summary-checkout-btn {
  width: 100%;
  justify-content: center;
  margin-top: 20px;
  display: flex;
}

/* ─── CHECKOUT SPECIFIC ──────────────────────────────────────── */
.pw-checkout-login-hint {
  margin-bottom: 32px;
  padding: 20px;
  background: var(--surface);
  border: 0.5px solid var(--border);
  border-radius: var(--r);
}
.pw-checkout-login-hint p { font-size: 13px; color: var(--muted); }
.pw-checkout-login-hint a { color: var(--accent); margin-left: 4px; }

.pw-checkout-section--mt { margin-top: 32px; }

.pw-checkout-shipping-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.pw-checkout-shipping-header .checkout-section-title { margin-bottom: 0; }
.pw-ship-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--fm);
  font-size: 11px;
  color: var(--muted);
  cursor: pointer;
}
.pw-ship-toggle input { accent-color: var(--accent); }

/* Checkout summary card */
.pw-checkout-summary {
  background: var(--surface);
  border: 0.5px solid var(--border);
  border-radius: var(--r);
  padding: 28px;
  margin-bottom: 20px;
}

/* Checkout product row */
.pw-checkout-product-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.pw-checkout-product-info {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}
.pw-checkout-thumb {
  width: 36px; height: 36px;
  border: 0.5px solid var(--border);
  border-radius: 3px;
  overflow: hidden;
  flex-shrink: 0;
}
.pw-checkout-thumb img { width: 36px; height: 36px; object-fit: cover; display: block; }
.pw-checkout-product-name { font-size: 12px; color: var(--fg); }

/* Payment box */
.pw-checkout-payment {
  background: var(--surface);
  border: 0.5px solid var(--border);
  border-radius: var(--r);
  padding: 28px;
}

/* Trust badges */
.pw-checkout-trust {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.pw-trust-badge {
  font-family: var(--fm);
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.5px;
  padding: 6px 10px;
  border: 0.5px solid var(--border);
  border-radius: 3px;
}


/* ══════════════════════════════════════════════════════════════
   CART & CHECKOUT RESPONSIVE
   ══════════════════════════════════════════════════════════════ */

/* Tablet */
@media (max-width: 1024px) {
  .pw-cart-grid {
    grid-template-columns: 1fr 300px;
  }
  .pw-cart-items-col { padding: 32px 32px 32px 24px; }
  .pw-cart-summary-col { padding: 32px 24px; }
  .pw-checkout-summary,
  .pw-checkout-payment { padding: 20px; }
}

/* Mobile */
@media (max-width: 768px) {
  .pw-step-header { flex-direction: column; align-items: flex-start; }

  /* Stack steps bar on very small */
  .pw-steps-bar { width: 100%; }
  .pw-step { padding: 8px 12px; font-size: 10px; flex: 1; text-align: center; }

  /* Cart grid → single column */
  .pw-cart-grid {
    grid-template-columns: 1fr;
  }
  .pw-cart-items-col {
    padding: 24px 16px;
    border-right: none;
    border-bottom: 0.5px solid var(--border);
  }
  .pw-cart-summary-col {
    padding: 24px 16px;
    position: static;
    background: var(--surface);
  }

  /* Cart item row — tighter on mobile */
  .cart-item-row { gap: 10px; }
  .cart-item-img-el { width: 52px; height: 52px; }
  .pw-qty-sm { transform: none; }

  /* Cart nav */
  .pw-cart-nav { flex-direction: column; }
  .pw-cart-nav .btn-primary,
  .pw-cart-nav .btn-ghost { width: 100%; justify-content: center; text-align: center; }

  .pw-cart-actions { flex-direction: column; }

  /* Coupon */
  .pw-coupon-row { flex-direction: column; }
  .pw-coupon-field { min-width: 0; width: 100%; }
  .pw-coupon-row .btn-ghost { width: 100%; justify-content: center; }

  /* Grand total price smaller on mobile */
  .pw-grand-total-price { font-size: 28px; }

  /* Checkout grid → single column */
  .checkout-grid { grid-template-columns: 1fr; }
  .checkout-left {
    padding: 24px 16px;
    border-right: none;
    border-bottom: 0.5px solid var(--border);
  }
  .checkout-right {
    padding: 24px 16px;
    position: static;
  }
  .pw-checkout-summary,
  .pw-checkout-payment { padding: 16px; }

  /* Checkout form fields — all full width */
  .checkout-fields .form-row.form-row-first,
  .checkout-fields .form-row.form-row-last,
  .woocommerce-checkout .form-row.form-row-first,
  .woocommerce-checkout .form-row.form-row-last {
    display: block !important;
    width: 100% !important;
    float: none !important;
    margin-right: 0 !important;
  }

  .pw-checkout-trust { gap: 6px; }
  .pw-trust-badge { font-size: 9px; padding: 5px 8px; }
}

/* Very small phone */
@media (max-width: 480px) {
  .pw-steps-bar { display: none; } /* hide steps bar, title is enough */
  .pw-cart-empty { padding: 48px 16px; }
  .pw-cart-empty-bg { font-size: 40px; }
}


/* ══════════════════════════════════════════════════════════════
   NAV — MOBILE FIXES & ACTIVE STATES
   ══════════════════════════════════════════════════════════════ */

/* Prevent scroll when drawer is open */
body.nav-open { overflow: hidden; }

/* Active link in mobile drawer */
.mobile-nav-links a.active {
  color: var(--fg);
  background: rgba(255,77,0,0.06);
  border-left: 2px solid var(--accent);
  padding-left: 22px;
}

/* Mobile nav language section */
.mobile-nav-lang {
  padding: 16px 24px;
  border-top: 0.5px solid var(--border);
  flex-shrink: 0;
}
.mobile-nav-lang-label {
  display: block;
  font-family: var(--fm);
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--muted);
  margin-bottom: 10px;
  text-transform: uppercase;
}

/* Mobile cart badge inside drawer */
.mobile-cart-badge {
  background: var(--accent);
  color: #fff;
  border-radius: 10px;
  padding: 2px 7px;
  font-size: 10px;
  margin-left: 6px;
  font-family: var(--fm);
}

/* Nav toggle visible on mobile */
@media (max-width: 768px) {
  .nav-mobile-toggle { display: flex; }
  .nav-links { display: none !important; }
  .pw-lang-switcher { display: none; }
  #pw-nav { padding: 0 16px; }
}
@media (min-width: 769px) {
  .nav-mobile-toggle { display: none !important; }
  .mobile-nav { display: flex !important; } /* keep it in DOM, transform handles visibility */
}


/* ══════════════════════════════════════════════════════════════
   FOOTER — CONSISTENT ACROSS ALL PAGES
   ══════════════════════════════════════════════════════════════ */

.pw-footer {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 0;
  border-top: 0.5px solid var(--border);
  border-bottom: 0.5px solid var(--border);
}

.pw-footer-brand {
  padding: 48px 40px 48px 40px;
  border-right: 0.5px solid var(--border);
}

.pw-footer-col {
  padding: 48px 32px;
  border-right: 0.5px solid var(--border);
}
.pw-footer-col:last-child { border-right: none; }

.pw-footer-logo {
  font-family: var(--fd);
  font-size: 24px;
  letter-spacing: 2px;
  color: var(--fg);
  display: block;
  margin-bottom: 14px;
  text-decoration: none;
}
.pw-footer-logo span { color: var(--accent); }

.pw-footer-tagline {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 240px;
  margin-bottom: 24px;
}

.pw-footer-social {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}
.pw-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--fm);
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--muted);
  text-decoration: none;
  transition: color .2s;
  width: fit-content;
}
.pw-social-btn:hover { color: var(--fg); }

.pw-footer-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pw-footer-meta span {
  font-family: var(--fm);
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.5px;
}

.pw-footer-col-title {
  font-family: var(--fm);
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--fg);
  margin-bottom: 20px;
}
.pw-footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.pw-footer-col ul li a {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  transition: color .2s;
  display: block;
}
.pw-footer-col ul li a:hover { color: var(--fg); }

.pw-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 40px;
  gap: 16px;
  flex-wrap: wrap;
}
.pw-footer-copy {
  font-family: var(--fm);
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.5px;
}
.pw-payment-icons {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}
.pw-payment-icon {
  font-family: var(--fm);
  font-size: 9px;
  letter-spacing: 1px;
  color: var(--muted);
  padding: 4px 8px;
  border: 0.5px solid var(--border);
  border-radius: 2px;
}

/* Newsletter */
.pw-newsletter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 40px 40px;
  border-top: 0.5px solid var(--border);
  border-bottom: 0.5px solid var(--border);
  background: var(--surface);
}
.pw-newsletter-heading {
  font-family: var(--fd);
  font-size: 32px;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.pw-newsletter-sub {
  font-size: 13px;
  color: var(--muted);
}
.pw-nl-form {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-shrink: 0;
  flex-wrap: wrap;
}
.pw-nl-input {
  min-width: 240px;
  padding: 13px 18px;
  background: var(--bg);
  border: 0.5px solid var(--border);
  border-radius: var(--r);
  font-size: 13px;
  color: var(--fg);
  font-family: var(--fb);
  transition: border-color .2s;
}
.pw-nl-input:focus { border-color: var(--accent); outline: none; }
.pw-nl-btn {
  padding: 13px 24px;
  background: var(--accent);
  color: #fff;
  font-family: var(--fm);
  font-size: 11px;
  letter-spacing: 2px;
  border: none;
  border-radius: var(--r);
  cursor: pointer;
  transition: background .2s;
  white-space: nowrap;
}
.pw-nl-btn:hover { background: #e64500; }

/* Footer responsive */
@media (max-width: 1024px) {
  .pw-footer {
    grid-template-columns: 1fr 1fr;
  }
  .pw-footer-brand {
    grid-column: 1 / -1;
    border-right: none;
    border-bottom: 0.5px solid var(--border);
    padding: 40px 32px;
  }
  .pw-footer-col { padding: 32px; }
  .pw-footer-col:nth-child(3) { border-right: 0.5px solid var(--border); }
  .pw-footer-col:last-child { border-right: none; }
  .pw-newsletter { padding: 40px 32px; gap: 24px; }
  .pw-footer-bottom { padding: 16px 32px; }
}

@media (max-width: 768px) {
  .pw-footer {
    grid-template-columns: 1fr;
  }
  .pw-footer-brand {
    grid-column: 1;
    padding: 32px 20px;
    border-bottom: 0.5px solid var(--border);
  }
  .pw-footer-col {
    padding: 28px 20px;
    border-right: none !important;
    border-bottom: 0.5px solid var(--border);
  }
  .pw-footer-col:last-child { border-bottom: none; }
  .pw-footer-bottom { padding: 14px 20px; flex-direction: column; align-items: flex-start; gap: 10px; }
  .pw-newsletter { flex-direction: column; align-items: flex-start; padding: 28px 20px; gap: 20px; }
  .pw-nl-form { width: 100%; flex-direction: column; }
  .pw-nl-input { min-width: 0; width: 100%; }
  .pw-nl-btn { width: 100%; }
  .pw-footer-tagline { max-width: 100%; }
}

@media (max-width: 480px) {
  .pw-footer-brand { padding: 24px 16px; }
  .pw-footer-col { padding: 22px 16px; }
  .pw-footer-bottom { padding: 12px 16px; }
  .pw-newsletter { padding: 24px 16px; }
}


/* ══════════════════════════════════════════════════════════════
   HOMEPAGE MOBILE — hero, categories, products, banner
   ══════════════════════════════════════════════════════════════ */

/* Hero full fix */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr !important;
    min-height: auto !important;
  }
  .hero-right { display: none !important; }
  .hero-left {
    padding: 40px 20px !important;
    border-right: none !important;
    min-height: auto;
  }
  .hero-title {
    font-size: clamp(44px, 12vw, 64px) !important;
    line-height: 0.92 !important;
  }
  .hero-eyebrow { font-size: 9px; margin-bottom: 14px; }
  .hero-sub { font-size: 13px; margin-bottom: 28px; }
  .hero-actions {
    flex-direction: column !important;
    gap: 10px !important;
    width: 100%;
  }
  .hero-actions .btn-primary,
  .hero-actions .btn-ghost {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-left { padding: 32px 16px !important; }
  .hero-title { font-size: clamp(40px, 13vw, 56px) !important; }
}

/* Section padding on mobile */
@media (max-width: 768px) {
  .section { padding: 36px 20px !important; }
  .section-title { font-size: clamp(28px, 8vw, 38px) !important; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 6px; }
  .section-link { margin-bottom: 0; }
}
@media (max-width: 480px) {
  .section { padding: 28px 16px !important; }
  .section-title { font-size: 28px !important; }
}

/* Categories mobile */
@media (max-width: 768px) {
  .categories {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1px;
  }
  .cat-card { padding: 22px 16px; border-right: 0.5px solid var(--border); }
  .cat-name { font-size: 18px; }
  .cat-count { font-size: 9px; }
}
@media (max-width: 360px) {
  .categories { grid-template-columns: 1fr !important; }
}

/* Product grid mobile */
@media (max-width: 768px) {
  .product-grid,
  .product-grid.cols-4 {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px;
  }
  .product-info { padding: 14px 14px 12px; }
  .product-name { font-size: 12px; }
  .product-footer { flex-direction: column; align-items: flex-start; gap: 8px; }
  .product-add { width: 100%; text-align: center; font-size: 9px; padding: 9px 12px; }
  .product-price { font-size: 14px; }
}
@media (max-width: 400px) {
  .product-grid,
  .product-grid.cols-4 {
    grid-template-columns: 1fr !important;
  }
}

/* Banner mobile */
@media (max-width: 768px) {
  .banner {
    grid-template-columns: 1fr !important;
  }
  .banner > div:first-child {
    padding: 40px 20px !important;
    border-right: none !important;
  }
  .banner-visual { display: none !important; }
  .banner-title { font-size: clamp(40px, 11vw, 60px) !important; }
  .banner-text { font-size: 13px; }
}
@media (max-width: 480px) {
  .banner > div:first-child { padding: 32px 16px !important; }
  .banner-title { font-size: clamp(36px, 12vw, 52px) !important; }
}

/* Trust bar mobile */
@media (max-width: 768px) {
  .trust-bar { grid-template-columns: repeat(2, 1fr) !important; }
  .trust-item { padding: 24px 16px; }
  .trust-title { font-size: 16px; }
  .trust-sub { font-size: 11px; }
}
@media (max-width: 480px) {
  .trust-bar { grid-template-columns: 1fr !important; }
}

/* Testimonials mobile */
@media (max-width: 768px) {
  .testimonial-grid { grid-template-columns: 1fr !important; }
}

/* Typography scale on small screens */
@media (max-width: 480px) {
  body { font-size: 13px; }
  .btn-primary, .btn-ghost { font-size: 10px; padding: 12px 20px; letter-spacing: 1.5px; }
}
