/*
Theme Name: WashTube
Theme URI: https://washtube.de
Author: WashTube Team
Description: Professional car care e-commerce theme for WashTube, built for WooCommerce.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: washtube
Tags: e-commerce, woocommerce, car-care, custom-menu, featured-images
*/

/* =============================================
   WASHTUBE THEME — MAIN STYLESHEET
   ============================================= */

:root {
  --blue-dark:  #044D73;
  --blue-mid:   #006DAD;
  --blue-light: #0090D8;
  --gold:       #F1CB53;
  --gold-light: #F7E19E;
  --white:      #ffffff;
  --gray-light: #f4f6f8;
  --gray-border:#dde3ea;
  --text-dark:  #1D1D1D;
  --text-mid:   #444444;
  --green-cart: #2ea44f;
  --red-minus:  rgba(220,53,53,0.5);
  --blue-plus:  rgba(0,109,173,0.5);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 14px;
  color: var(--text-dark);
  background: var(--gray-light);
  line-height: 1.5;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── WRAPPER ── */
.wt-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =============================================
   TOP BAR
   ============================================= */

.wt-topbar {
  background: #1b75be ;
  color: #fff;
  font-size: 12px;
  padding: 6px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.wt-topbar a { color: #fff; opacity: 0.85; transition: opacity 0.2s; }
.wt-topbar a:hover { opacity: 1; }
.wt-topbar-right { display: flex; gap: 16px; position: relative; z-index: 1; }

/* =============================================
   STICKY HEADER
   ============================================= */
.wt-header-wrap {
  position: relative;
  top: 0;
  width: 100%;
  transition: box-shadow 0.3s ease;
}
.wt-header-wrap.is-scrolled {
  box-shadow: 0 4px 24px rgba(4,77,115,0.22);
}

/* Make sure logo, search, icons float above the wave */
.wt-logo,
.wt-search-form,
.wt-header-icons {
  position: relative;
  z-index: 1;
}

.wt-header {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 3px solid var(--gold);
  transition: padding 0.3s ease;
  position: relative;
  z-index: 2;
  overflow: hidden;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}
.wt-header-wrap.is-scrolled .wt-header {
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.95);
}

/* LOGO */
.wt-logo {
  font-size: 26px;
  font-weight: 800;
  color: var(--blue-dark);
  letter-spacing: -0.5px;
  white-space: nowrap;
  flex-shrink: 0;
}
.wt-logo span { color: var(--gold); }
.wt-logo img { max-height: 50px; width: auto; }

/* SEARCH */
.wt-search-form {
  flex: 1;
  display: flex;
  border: 1.5px solid var(--blue-mid);
  border-radius: 6px;
  overflow: visible;
  position: relative;
}
.wt-search-form input {
  flex: 1;
  border: none;
  padding: 9px 14px;
  font-size: 13px;
  outline: none;
  color: var(--text-dark);
}
.wt-search-form button {
  background: var(--blue-mid);
  color: #fff;
  padding: 0;
  font-size: 32px;
  font-weight: 0;
  line-height: 1;
  position: relative;
  transition: background 0.2s;
}
.wt-search-form button:hover { background: var(--blue-dark); }

/* SEARCH MODAL */
.wt-search-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-height: 105vh;
  display: none;
  z-index: 9999;
}
.wt-search-modal.is-open {
  display: block;
}
.wt-search-modal__backdrop {
   position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);   /* gray dark overlay */
  backdrop-filter: blur(4px);        /* blurry background */
  -webkit-backdrop-filter: blur(4px);
  z-index: 0;
}
.wt-search-modal__dialog {
   position: absolute;             /* ← positioned inside fixed modal */
  top: 80px;                      /* ← drops below the header */
  left: 50%;
  transform: translateX(-50%);    /* ← horizontally centered */
  width: 90%;
  max-width: 680px;               /* ← nice readable width */
  max-height: 60vh;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(4,77,115,0.25);
  z-index: 1;                     /* above backdrop (z-index:0) */
  display: flex;
  flex-direction: column;
}
.wt-search-modal__header {
  display: none;
}
.wt-search-modal__body {
  padding: 12px;
  max-height: calc(50vh - 24px);
  overflow-y: auto;
  flex: 1;
}
.wt-search-results {
  display: grid;
  gap: 8px;
}
.wt-search-result {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 10px;
  align-items: center;
  background: #f9fbfd;
  border-radius: 8px;
  padding: 10px;
  transition: background 0.2s;
}
.wt-search-result:hover {
  background: #f0f6fc;
}
.wt-search-result a {
  display: contents;
  color: inherit;
  text-decoration: none;
}
.wt-search-result__thumb {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  overflow: hidden;
  background: #e8f3ff;
  flex-shrink: 0;
}
.wt-search-result__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.wt-search-result__content {
  min-width: 0;
}
.wt-search-result__title {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.wt-search-result__price {
  display: block;
  font-size: 12px;
  color: var(--blue-dark);
  opacity: 0.9;
  font-weight: 600;
}
.wt-search-result__empty {
  padding: 16px 12px;
  text-align: center;
  color: #556b7a;
  background: #f4f7fb;
  border-radius: 8px;
  font-size: 13px;
}

/* HEADER ICONS */
.wt-header-icons {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}
.wt-icon-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  color: #444;
  gap: 3px;
  padding: 6px 10px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
  position: relative;
}
.wt-icon-btn:hover { background: #f4f6f8; color: var(--blue-mid); }
.wt-icon-btn svg { width: 20px; height: 20px; }
.wt-lang-btn {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .5px;
  color: var(--blue-dark);
  text-decoration: none;
  border: 1.5px solid var(--blue-mid);
  border-radius: 6px;
  padding: 3px 7px;
  gap: 3px;
}
.wt-lang-btn svg { width: 14px; height: 14px; }
.wt-cart-count {
  position: absolute;
  top: 2px; right: 2px;
  background: var(--gold);
  color: var(--blue-dark);
  border-radius: 50%;
  width: 16px; height: 16px;
  font-size: 9px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wt-wishlist-count {
  position: absolute;
  top: 2px; right: 2px;
  background: #e53e3e;
  color: #fff;
  border-radius: 50%;
  width: 16px; height: 16px;
  font-size: 9px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Wishlist heart button ── */
.wt-wishlist-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #fff;
  border: 1.5px solid #333;
  border-radius: 8px;
  padding: 8px 14px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: #333;
  transition: border-color .18s, color .18s, background .18s;
  margin-top: 10px;
}
.wt-wishlist-btn svg { flex-shrink: 0; transition: fill .18s, stroke .18s; }
.wt-wishlist-btn:hover { border-color: #e53e3e; color: #e53e3e; }
.wt-wishlist-btn:hover svg { stroke: #e53e3e; }
.wt-wishlist-btn.is-wishlisted { border-color: #e53e3e; color: #e53e3e; }
.wt-wishlist-btn.is-wishlisted svg { fill: #e53e3e; stroke: #e53e3e; }

/* Small icon-only variant (product cards) */
.wt-wishlist-btn--sm {
  padding: 5px;
  width: 28px; height: 28px;
  border-radius: 7px;
  justify-content: center;
  margin-top: 0;
  z-index: 2;
  box-shadow: 0 1px 4px rgba(0,0,0,.12);
}
.wt-wishlist-btn--sm:hover { background: #fff5f5; }

/* Wishlist remove × button (account page) */
.wt-wishlist-remove {
  position: absolute;
  top: 6px; right: 6px;
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 1.5px solid #ddd;
  background: #fff;
  color: #666;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s, color .15s, border-color .15s;
  z-index: 2;
}
.wt-wishlist-remove:hover { background: #e53e3e; color: #fff; border-color: #e53e3e; }

/* =============================================
   CATEGORY NAV BAR
   ============================================= */
.wt-catbar {
  background: var(--blue-mid);
  position: relative;
  z-index: 100; /* keep the mega dropdown above shop content (toolbar z-index:30, sort menu z-index:40) */
}
.wt-catbar-inner {
  display: flex;
  align-items: stretch;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}


/* ALL CATEGORIES TRIGGER */
.wt-allcat {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  background: rgba(255,255,255,.12);
  padding: 12px 18px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  user-select: none;
}
.wt-allcat:hover,
.wt-allcat.is-open {
  background: rgba(255,255,255,.22);
}
.wt-allcat-arrow {
  font-size: 9px;
  transition: transform 0.25s;
  display: inline-block;
}
.wt-allcat.is-open .wt-allcat-arrow { transform: rotate(180deg); }
.wt-hamburger { display: flex; flex-direction: column; gap: 3px; }
.wt-hamburger span { display: block; width: 16px; height: 2px; background: #fff; border-radius: 2px; }

/* ── MEGA DROPDOWN ── */
.wt-mega-drop {
  position: absolute;
  z-index: 9999;
  top: 100%;
  left: 0;
  display: flex;
  background: var(--white);
  border-radius: 0 0 14px 14px;
  box-shadow: 0 18px 45px rgba(4,77,115,0.28);
  min-width: 640px;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.25s ease;
  pointer-events: none;
}
.wt-allcat.is-open .wt-mega-drop {
  max-height: 460px;
  opacity: 1;
  pointer-events: all;
}

/* LEFT PANEL */
.wt-drop-left {
  width: 250px;
  flex-shrink: 0;
  background: #f4f6f8;
  padding: 10px 0;
  overflow-y: auto;
}
.wt-main-cat {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  font-size: 13px;
  color: var(--text-dark);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s;
}
.wt-main-cat:hover,
.wt-main-cat.is-active {
  background: #fff;
  font-weight: 700;
}
.wt-main-cat .wt-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}
.wt-main-cat .wt-arrow-r {
  margin-left: auto;
  font-size: 9px;
  color: #bbb;
}
.wt-main-cat.is-sales { color: #c0392b; }
.wt-main-cat.is-sales:hover { background: #fff0ee; }

/* RIGHT PANEL */
.wt-drop-right {
  flex: 1;
  position: relative;
  overflow-y: auto;
  overflow-x: hidden;
}
.wt-sub-panel {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-content: start;
  column-gap: 18px;
  row-gap: 1px;
  padding: 16px 20px;
  opacity: 0;
  transform: translateX(16px);
  transition: opacity 0.22s ease, transform 0.22s ease;
  pointer-events: none;
  overflow-y: auto;
}
.wt-sub-panel.is-visible {
  opacity: 1;
  transform: translateX(0);
  pointer-events: all;
}
.wt-sub-header {
  grid-column: 1 / -1;
  padding: 0 8px 10px;
  font-size: 13px;
  font-weight: 800;
  color: var(--blue-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.wt-sub-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 8px;
  border-radius: 7px;
  font-size: 13px;
  color: #444;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.wt-sub-item:hover {
  background: #e8f3fb;
  color: var(--blue-dark);
}
.wt-sub-item:hover .wt-sub-label { font-weight: 600; }
.wt-sub-preview { display: none; }

/* ── ALLE MARKEN dropdown (catbar) — same look as .wt-sub-panel ── */
.wt-brands-dropdown { position: relative; display: flex; align-items: stretch; }
.wt-brands-trigger { gap: 6px; }
.wt-brands-arrow { font-size: 8px; display: inline-block; transition: transform 0.25s; }
.wt-brands-dropdown:hover .wt-brands-arrow,
.wt-brands-dropdown:focus-within .wt-brands-arrow { transform: rotate(180deg); }
.wt-brands-panel {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 9999;
  box-sizing: border-box;
  min-width: 250px;
  max-height: 0;
  overflow: hidden auto;
  background: var(--white);
  border-radius: 0 0 14px 14px;
  box-shadow: 0 18px 45px rgba(4,77,115,0.28);
  opacity: 0;
  pointer-events: none;
  padding: 0 14px;
  transition: max-height 0.35s ease, opacity 0.25s ease, padding 0.35s ease;
}
.wt-brands-dropdown:hover .wt-brands-panel,
.wt-brands-dropdown:focus-within .wt-brands-panel {
  max-height: 70vh;
  opacity: 1;
  pointer-events: all;
  padding: 16px 14px;
}
.wt-brands-panel .wt-sub-header { padding: 0 8px 10px; }
.wt-brand-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 7px;
  font-size: 13px;
  color: #444;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.wt-brand-item:hover { background: #e8f3fb; color: var(--blue-dark); }
.wt-brand-item:hover .wt-brand-label { font-weight: 600; }
.wt-brand-count { flex-shrink: 0; font-size: 11px; font-weight: 700; color: #9aa7b2; background: #f1f4f7; border-radius: 20px; padding: 1px 8px; }
.wt-brands-empty { display: block; padding: 6px 10px; font-size: 13px; color: #888; }

/* =============================================
   HERO / ADS BANNERS
   ============================================= */
.wt-ads {
  padding: 20px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 14px;
}
.wt-ad {
  border-radius: 10px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 130px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.wt-ad:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.12);
}
.wt-ad.wt-ad--main  { background: linear-gradient(135deg,#006DAD,#0090D8); color: #fff; }
.wt-ad.wt-ad--gold  { background: linear-gradient(135deg,#F1CB53,#f0a500); color: #044D73; }
.wt-ad.wt-ad--green { background: linear-gradient(135deg,#2ea44f,#1a7a35); color: #fff; }
.wt-ad-title { font-size: 18px; font-weight: 700; line-height: 1.2; }
.wt-ad-sub   { font-size: 12px; opacity: 0.85; margin-top: 5px; }
.wt-ad-btn {
  display: inline-block;
  background: var(--gold);
  color: var(--blue-dark);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  margin-top: 12px;
  align-self: flex-start;
  transition: transform 0.2s;
}
.wt-ad--gold .wt-ad-btn  { background: var(--blue-dark); color: #fff; }
.wt-ad--green .wt-ad-btn { background: var(--gold); color: var(--blue-dark); }
.wt-ad:hover .wt-ad-btn  { transform: scale(1.05); }
.wt-ad-deco {
  position: absolute;
  right: -12px; bottom: -12px;
  width: 80px; height: 80px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
}

/* =============================================
   SECTION HEADING
   ============================================= */
.wt-section-heading {
  text-align: center;
  padding: 30px 20px 6px;
}
.wt-section-heading h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--blue-dark);
}
.wt-section-heading h2 span { color: var(--gold); }
.wt-section-heading p {
  font-size: 13px;
  color: #888;
  margin-top: 4px;
}

/* =============================================
   PODIUM / MOST BOUGHT
   ============================================= */
.wt-podium-section {
  padding: 16px 20px 40px;
}
.wt-podium-stage {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 10px;
}
.wt-podium-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Scale images by rank */
.wt-podium-col:nth-child(2) .wt-prod-img {
  width: 100px !important;
  height: 100px !important;
}
.wt-podium-col:nth-child(1) .wt-prod-img {
  width: 50px !important;
  height: 50px !important;
}
.wt-podium-col:nth-child(3) .wt-prod-img {
  width: 40px !important;
  height: 40px !important;
}

/* MEDAL BADGE */
.wt-medal {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 6px;
  white-space: nowrap;
}
.wt-medal--1 { background: #FFD700; color: #6b4c00; }
.wt-medal--2 { background: #C0C0C0; color: #444; }
.wt-medal--3 { background: #CD7F32; color: #5a2d00; }

/* PRODUCT CARD */
.wt-prod-card {
  background: var(--white);
  border-radius: 12px;
  border: 1.5px solid var(--gray-border);
  padding: 14px 12px 12px;
  width: 160px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  cursor: pointer;
}
.wt-prod-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(0,109,173,0.18);
  border-color: var(--blue-mid);
}
.wt-prod-card--winner {
  border-color: #FFD700;
  border-width: 2px;
}
.wt-prod-card--winner:hover { border-color: #FFD700; }

/* PRODUCT IMAGE */
.wt-prod-img {
  width: 70px; height: 70px;
  border-radius: 10px;
  background: var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  overflow: hidden;
  transition: width 0.3s ease, height 0.3s ease;
}
.wt-prod-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.wt-prod-card:hover .wt-prod-img {
  width: 110px;
  height: 110px;
}
.wt-podium-col:nth-child(2) .wt-prod-card:hover .wt-prod-img {
  width: 130px;
  height: 130px;
}
.wt-podium-col:nth-child(1) .wt-prod-card:hover .wt-prod-img {
  width: 110px;
  height: 110px;
}
.wt-podium-col:nth-child(3) .wt-prod-card:hover .wt-prod-img {
  width: 90px;
  height: 90px;
}
.wt-prod-card:hover .wt-prod-img img { transform: scale(1.08); }

.wt-prod-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.3;
  height: 32px;
  overflow: hidden;
}
.wt-prod-price {
  font-size: 17px;
  font-weight: 700;
  color: var(--blue-dark);
  margin-top: 8px;
}
.wt-prod-price small {
  font-size: 10px;
  font-weight: 400;
  color: #999;
  display: block;
}

/* HOVER CART CONTROLS */
.wt-prod-controls {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.3s ease;
}
.wt-prod-card:hover .wt-prod-controls {
  max-height: 80px;
  opacity: 1;
}
/* One calm pill instead of two coloured blocks — matches the cards and filters. */
.wt-qty-row {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin-top: 10px;
  background: #fff;
  border: 1.5px solid var(--gray-border);
  border-radius: 10px;
  overflow: hidden;
}
.wt-qty-minus,
.wt-qty-plus {
  width: 32px; height: 32px;
  border: none;
  border-radius: 0;
  background: transparent;
  color: #5b6b78;
  font-size: 17px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .15s, color .15s;
  line-height: 1;
}
.wt-qty-minus:hover { background: #fdeaea; color: #c0392b; }
.wt-qty-plus:hover  { background: #e8f3fb; color: var(--blue-mid); }
.wt-qty-minus:disabled,
.wt-qty-plus:disabled { opacity: .35; cursor: not-allowed; background: transparent; color: #5b6b78; }
.wt-qty-num {
  font-size: 14px;
  font-weight: 800;
  min-width: 30px;
  text-align: center;
  color: var(--blue-dark);
  font-variant-numeric: tabular-nums;
}

/* "x im Warenkorb" — filled in by JS, so it must be styled site-wide. */
.wt-incart {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 700;
  color: #b35900;
  background: #fff8f0;
  border: 1px solid #f0c07a;
  border-radius: 20px;
  padding: 3px 9px;
  line-height: 1.3;
  white-space: nowrap;
}
.wt-incart[hidden] { display: none; }
.wt-cart-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green-cart);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 7px;
  width: 100%;
  margin-top: 7px;
  cursor: pointer;
  transition: background 0.2s;
}
.wt-cart-btn:hover { background: #25913f; }
.wt-cart-btn svg { width: 18px; height: 18px; }

/* PODIUM BLOCKS */
.wt-podium-block {
  border-radius: 6px 6px 0 0;
  width: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
}
.wt-podium-block--1 { height: 64px; background: linear-gradient(180deg,#FFD700,#e6be00); color: #6b4c00; }
.wt-podium-block--2 { height: 44px; background: linear-gradient(180deg,#C0C0C0,#aaa); color: #444; }
.wt-podium-block--3 { height: 30px; background: linear-gradient(180deg,#CD7F32,#b06a25); color: #5a2d00; }

/* =============================================
   FOOTER
   ============================================= */
.wt-footer {
  background: #04374f;
  color: #cfe3ee;
  padding: 44px 20px 0;
  margin-top: 40px;
}
.wt-footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 32px;
}
.wt-footer-logo {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}
.wt-footer-logo span { color: var(--gold); }
.wt-footer p { font-size: 13px; line-height: 1.7; opacity: .8; max-width: 280px; }
.wt-footer h4 {
  color: #fff; font-size: 13px; font-weight: 800; margin-bottom: 12px;
  text-transform: uppercase; letter-spacing: .6px;
}
.wt-footer ul { display: flex; flex-direction: column; gap: 9px; }
.wt-footer ul a { font-size: 13px; color: #cfe3ee; transition: color 0.2s; }
.wt-footer ul a:hover { color: #fff; }
.wt-footer-bottom {
  text-align: center;
  font-size: 12px;
  opacity: 0.6;
  padding: 14px 20px;
  border-top: 1px solid rgba(255,255,255,.12);
}

/* =============================================
   RESPONSIVE
   ============================================= */
/* =============================================
   MOBILE — TABLET  (≤ 900 px)
   ============================================= */
@media (max-width: 900px) {
  .wt-ads { grid-template-columns: 1fr 1fr; }
  .wt-ads .wt-ad--main { grid-column: 1 / -1; }
  .wt-footer-inner { grid-template-columns: 1fr 1fr; }

  /* Account page: sidebar on top */
  .wt-account-wrap {
    flex-direction: column !important;
  }
  .wt-account-sb {
    width: 100% !important;
    position: static !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 16px !important;
  }
  .wt-account-usercard {
    flex-direction: row !important;
    align-items: center !important;
    gap: 12px !important;
    flex: 1 !important;
    padding: 0 !important;
    border: none !important;
    margin-bottom: 0 !important;
  }
  .wt-account-nav {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 4px !important;
    width: 100% !important;
    border-top: 1px solid rgba(255,255,255,.1) !important;
    padding-top: 12px !important;
  }
  .wt-account-nav-item {
    flex: 1 !important;
    min-width: 100px !important;
    justify-content: center !important;
    padding: 8px 10px !important;
    font-size: 11px !important;
  }
  .wt-account-logout { width: 100% !important; justify-content: center !important; }
}

/* =============================================
   MOBILE — LARGE PHONES  (≤ 768 px)
   ============================================= */
@media (max-width: 768px) {

  /* ── Header ── */
  .wt-header {
    padding: 10px 14px !important;
    gap: 10px !important;
  }

  /* Inline header search is hidden on mobile — search lives in the bottom nav instead */
  .wt-headsearch { display: none !important; }

  /* Icon buttons: hide labels, keep icons */
  .wt-icon-btn {
    font-size: 0 !important;
    padding: 6px 7px !important;
    gap: 0 !important;
  }
  .wt-icon-btn svg { width: 22px !important; height: 22px !important; }

  /* Keep badge numbers visible */
  .wt-cart-count, .wt-wishlist-count {
    font-size: 8px !important;
    width: 14px !important; height: 14px !important;
  }

  /* Language button: just show flag/code */
  .wt-lang-btn { padding: 4px 6px !important; font-size: 10px !important; }
  .wt-lang-btn svg { display: none !important; }

  /* Category bar: horizontal scroll */
  .wt-catbar-inner {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    flex-wrap: nowrap !important;
    gap: 0 !important;
    padding-bottom: 4px !important;
    scrollbar-width: none !important;
  }
  .wt-catbar-inner::-webkit-scrollbar { display: none !important; }
  .wt-cat-link { white-space: nowrap !important; padding: 12px 16px !important; font-size: 13px !important; }
  .wt-allcat { white-space: nowrap !important; padding: 12px 16px !important; font-size: 13px !important; }

  /* Mega dropdown: full-width on mobile */
  .wt-mega-drop {
    position: fixed !important; left: 0 !important; right: 0 !important;
    top: auto !important; width: 100% !important; max-width: 100% !important;
    border-radius: 0 0 12px 12px !important;
    max-height: 70vh !important; overflow-y: auto !important;
  }
  .wt-drop-left { width: 140px !important; }

  /* Cart sidebar → bottom sheet (with a small gap from the edges) */
  .wt-cart-sidebar {
    width: auto !important;
    max-width: none !important;
    left: 10px !important; right: 10px !important;
    border-radius: 18px !important;
    top: auto !important; bottom: 10px !important;
    height: auto !important;         /* size to content so the checkout button sits right under the items, not at the screen bottom */
    max-height: 85vh !important;     /* fallback for browsers without dvh */
    max-height: calc(88dvh - 10px) !important; /* dvh = visible viewport, so it never hides behind the browser bar */
    overflow: hidden !important;     /* header + footer stay pinned; only the items list scrolls */
  }
  /* Don't let the items list grow to fill the sheet — that was pushing the footer off-screen.
     It sizes to its content and only scrolls when the cart is long. */
  .wt-cs-items { flex: 0 1 auto !important; min-height: 0; }

  /* Login modal */
  .wt-login-modal { max-width: 100% !important; max-height: calc(100dvh - 20px) !important; border-radius: 18px !important; }
  .wt-login-overlay { align-items: flex-end !important; padding: 10px !important; } /* small gap so the modal border stays inside the screen */
}
/* ── REGISTER PANEL ── */
.wt-lp-head { margin-bottom: 16px; }
.wt-lp-head h2 { font-size: 20px; font-weight: 700; color: var(--blue-dark); margin-bottom: 4px; }
.wt-lp-head p  { font-size: 12px; color: #888; }

.wt-reg-benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 18px;
  padding: 12px;
  background: var(--gray-light);
  border-radius: 8px;
}
.wt-reg-benefit {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--text-dark);
}
.wt-reg-benefit svg { color: var(--blue-mid); flex-shrink: 0; }

.wt-lp-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}
.wt-lp-field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 12px; }
.wt-lp-field label {
  font-size: 10px;
  font-weight: 700;
  color: #888;
  letter-spacing: .5px;
}
.wt-lp-field input {
  padding: 9px 12px;
  border: 1px solid var(--gray-border);
  border-radius: 7px;
  font-size: 13px;
  color: var(--text-dark);
  background: var(--gray-light);
  outline: none;
  transition: border-color .2s, background .2s;
  width: 100%;
}
.wt-lp-field input:focus { border-color: var(--blue-mid); background: #fff; }

.wt-pw-wrap { position: relative; }
.wt-pw-wrap input { padding-right: 38px; }
.wt-pw-eye {
  position: absolute; right: 10px; top: 50%;
  transform: translateY(-50%);
  background: none; border: none;
  cursor: pointer; color: #bbb;
  padding: 0; display: flex; align-items: center;
  transition: color .2s;
}
.wt-pw-eye:hover { color: var(--blue-mid); }
.wt-pw-strength {
  height: 3px; background: var(--gray-border);
  border-radius: 2px; margin-top: 5px; overflow: hidden;
}
.wt-pw-bar { height: 100%; width: 0; border-radius: 2px; transition: width .3s, background .3s; }
.wt-pw-label { font-size: 11px; color: #aaa; margin-top: 3px; }

.wt-lp-divider {
  display: flex; align-items: center; gap: 10px;
  margin: 14px 0; font-size: 11px; color: #aaa;
}
.wt-lp-divider-line { flex: 1; height: .5px; background: var(--gray-border); }

.wt-lp-check {
  display: flex; align-items: flex-start; gap: 9px;
  margin-bottom: 10px;
}
.wt-lp-check input[type=checkbox] {
  width: 15px; height: 15px;
  margin-top: 2px; flex-shrink: 0;
  accent-color: var(--blue-mid); cursor: pointer;
}
.wt-lp-check label { font-size: 12px; color: #555; line-height: 1.5; cursor: pointer; }
.wt-lp-check label a { color: var(--blue-mid); text-decoration: none; }
.wt-lp-check label a:hover { text-decoration: underline; }

.wt-lp-btn {
  width: 100%; padding: 11px;
  background: var(--blue-mid); color: #fff;
  border: none; border-radius: 7px;
  font-size: 14px; font-weight: 700;
  cursor: pointer; margin-top: 6px;
  transition: background .2s;
}
.wt-lp-btn:hover { background: var(--blue-dark); }

.wt-lp-switch {
  text-align: center; margin-top: 14px;
  font-size: 13px; color: #888;
}
.wt-lp-switch-btn {
  background: none; border: none;
  color: var(--blue-mid); font-weight: 700;
  font-size: 13px; cursor: pointer;
  margin-left: 4px; padding: 0;
}
.wt-lp-switch-btn:hover { text-decoration: underline; }

/* =============================================
   MOBILE — PHONES  (≤ 600 px)
   ============================================= */
@media (max-width: 600px) {
  .wt-ads { grid-template-columns: 1fr; }
  .wt-mega-drop { min-width: 300px; }
  .wt-drop-left { width: 150px; }
  /* Topbar: slim down, show free-shipping text, hide extra links */
  .wt-topbar { font-size: 11px; padding: 5px 14px; }
  .wt-topbar > span { font-size: 11px; }
  .wt-topbar-right a:not(:first-child) { display: none; }
  .wt-header { gap: 10px; }
  .wt-logo { font-size: 20px; }
  .wt-podium-stage { gap: 6px; }
  .wt-prod-card { width: 120px; }
  .wt-podium-block { width: 120px; }
  .wt-footer-inner { grid-template-columns: 1fr; }

  /* ── Main wt-main padding ── */
  .wt-main { overflow-x: hidden; }

  /* ── Promo banners ── */
  .wt-ad { min-height: 110px !important; }
  .wt-ad-title { font-size: 15px !important; }

  /* ── Section headings ── */
  .wt-section-heading { padding: 24px 16px 4px; }
  .wt-section-heading h2 { font-size: 20px; }

  /* ── Podium ── */
  .wt-podium-section { padding: 12px 14px 32px; }

  /* ── Search modal ── */
  .wt-search-modal__dialog {
    top: 60px !important; width: 96% !important;
  }

  /* ── Cart sidebar ── */
  .wt-cs-head { padding: 16px !important; }

  /* ── Footer ── */
  .wt-footer { padding: 32px 16px 16px; }
  .wt-footer-inner { gap: 20px; }

  /* ── Account page fields ── */
  .wt-account-field-row { grid-template-columns: 1fr !important; }
  .wt-account-card { padding: 18px 16px !important; }
  .wt-account-main { padding: 0 !important; }
  .wt-account-wrap { padding: 0 14px 48px !important; }

  /* ── Checkout ── */
  .wt-checkout-wrap { padding: 18px 12px 52px !important; }
  .wt-co-section { padding: 16px 14px !important; }

  /* ── Cart page ── */
  .wt-cart-page { padding: 20px 14px 52px !important; }
  .wt-cart-items-head { display: none !important; }
  .wt-cart-footer { flex-direction: column !important; }

  /* ── Help center ── */
  .wt-help-cats-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .wt-faq-group-hd { padding: 14px 16px !important; }
  .wt-faq-a { padding-left: 40px !important; padding-right: 16px !important; }

  /* ── Registration ── */
  .wt-reg-card { padding: 24px 16px !important; }
  .wt-reg-row { grid-template-columns: 1fr !important; }

  /* ── Legal pages ── */
  .wt-legal-body { padding: 14px 14px 48px !important; }
  .wt-legal-content { padding: 22px 18px !important; }
}

/* =============================================
   MOBILE — SMALL PHONES  (≤ 420 px)
   ============================================= */
@media (max-width: 420px) {

  /* Hide wishlist icon on very small screens to avoid overflow */
  .wt-icon-btn[href*="wishlist"],
  .wt-icon-btn[href*="wunsch"] { display: none !important; }

  /* Logo smaller */
  .wt-logo { font-size: 18px !important; }

  /* Header tighter */
  .wt-header-icons { gap: 2px !important; }
  .wt-icon-btn { padding: 5px 5px !important; }

  /* Category bar font smaller */
  .wt-cat-link,
  .wt-allcat { font-size: 12px !important; padding: 11px 12px !important; }

  /* Podium cards narrower */
  .wt-prod-card { width: 100px !important; }
  .wt-podium-block { width: 100px !important; }

  /* Help center single column */
  .wt-help-cats-grid { grid-template-columns: 1fr 1fr !important; }
  .wt-help-cat-card { padding: 14px 8px !important; }
  .wt-help-cat-icon { font-size: 22px !important; }
  .wt-help-cat-label { font-size: 11px !important; }

  /* FAQ */
  .wt-faq-group-title { font-size: 14px !important; }
  .wt-faq-q-text { font-size: 13px !important; }

  /* Empty cart */
  .wt-empty-cart-title { font-size: 20px !important; }
  .wt-empty-cart-actions { flex-direction: column !important; }
  .wt-empty-btn { justify-content: center !important; }
}

/* =============================================
   VERY SMALL PHONES  (≤ 430 px)
   ============================================= */
@media (max-width: 430px) {
  .wt-headsearch {
    flex: 0 0 auto !important;
    width: 40px !important;
    max-width: 40px !important;
    height: 40px !important;
    padding: 0 !important;
    justify-content: center !important;
    cursor: pointer;
  }
  .wt-headsearch-input { display: none !important; }
  .wt-headsearch > svg { margin: 0 !important; }
}

/* =============================================
   TOUCH — min tap targets
   ============================================= */
@media (hover: none) and (pointer: coarse) {
  .wt-icon-btn,
  .wt-qty-minus, .wt-qty-plus,
  .wt-cart-btn,
  .wt-faq-q,
  .wt-faq-group-hd,
  .wt-help-cat-card,
  .wt-car-btn { min-height: 44px !important; }

  /* Larger touch area for remove buttons */
  .wt-ci-remove-btn,
  .wt-bsum-rm,
  .wt-oi-rm { min-width: 36px !important; min-height: 36px !important; }
}
@media (max-width: 600px) {
  .wt-ads { grid-template-columns: 1fr; }
  .wt-mega-drop { min-width: 300px; }
  .wt-drop-left { width: 150px; }
  .wt-topbar { display: none; }
  .wt-header { gap: 10px; }
  .wt-logo { font-size: 20px; }
  .wt-podium-stage { gap: 6px; }
  .wt-prod-card { width: 120px; }
  .wt-podium-block { width: 120px; }
  .wt-footer-inner { grid-template-columns: 1fr; }
}

.wt-cat-link{
    display:flex;
    align-items:center;
    padding:12px 14px;
    color:#fff;
    text-decoration:none;
    font-size:13.5px;
    font-weight:600;
    white-space:nowrap;
    transition:background 0.2s, color 0.2s;
}

.wt-cat-link:hover{
    background:rgba(255,255,255,.15);
    color:#fff;
}
.wt-cat-link--sale{ color:var(--gold); font-weight:800; }
.wt-cat-link--sale:hover{ color:#fff; }

/* =============================================
   SHOP SIDEBAR v2 - REFACTORING
     (more modular, less nested)
   ============================================= */
.wt-sb {
  width: 260px;
  flex-shrink: 0;
  background: #fff;
  border: 1px solid var(--gray-border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(4,77,115,0.07);
  align-self: flex-start;
  position: sticky;
  top: 90px;
}

.wt-sb-widget {
  padding: 18px 20px;
  border-bottom: 1px solid var(--gray-border);
}
.wt-sb-widget:last-child { border-bottom: none; }

.wt-sb-widget-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--blue-dark);
  margin: 0 0 14px;
}

/* ── CATEGORY LIST ── */
.wt-sb-catlist { list-style: none; padding: 0; margin: 0; }
.wt-sb-catitem { border-bottom: 1px solid #f3f4f6; }
.wt-sb-catitem:last-child { border-bottom: none; }

.wt-sb-catrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
}
.wt-sb-catname {
  font-size: 13.5px;
  color: var(--text-dark);
  text-decoration: none;
  flex: 1;
  transition: color 0.2s;
}
.wt-sb-catname:hover { color: var(--blue-mid); }

.wt-sb-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 2px 4px;
  color: #aaa;
  display: flex;
  align-items: center;
  border-radius: 4px;
  transition: background 0.2s;
}
.wt-sb-toggle:hover { background: #f0f0f0; color: var(--blue-mid); }
.wt-sb-chevron {
  width: 16px; height: 16px;
  transition: transform 0.25s ease;
}
.wt-sb-toggle[aria-expanded="true"] .wt-sb-chevron {
  transform: rotate(180deg);
}

/* ── PANEL ── */
.wt-sb-panel { padding-bottom: 8px; }
.wt-sb-panel[hidden] { display: none; }

/* ── SEARCH ── */
.wt-sb-search-wrap {
  position: relative;
  margin-bottom: 8px;
}
.wt-sb-search {
  width: 100%;
  padding: 7px 30px 7px 10px;
  border: 1px solid var(--gray-border);
  border-radius: 6px;
  font-size: 12px;
  outline: none;
  background: #fafbfc;
  transition: border-color 0.2s;
}
.wt-sb-search:focus { border-color: var(--blue-mid); background: #fff; }
.wt-sb-search-icon {
  position: absolute;
  right: 9px; top: 50%;
  transform: translateY(-50%);
  width: 13px; height: 13px;
  color: #bbb;
  pointer-events: none;
}

/* ── SUBCATEGORY LIST ── */
.wt-sb-sublist { list-style: none; padding: 0; margin: 0; }
.wt-sb-subitem { display: flex; }

.wt-sb-sublink {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 6px 8px;
  font-size: 12.5px;
  color: #444;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.15s, color 0.15s;
}
.wt-sb-sublink:hover {
  background: #e8f3fb;
  color: var(--blue-mid);
}
.wt-sb-count {
  font-size: 11px;
  color: #999;
  margin-left: 8px;
  flex-shrink: 0;
}

/* ── PRICE RANGE ── */
.wt-sb-range-wrap { margin-bottom: 14px; }

.wt-sb-range-track {
  position: relative;
  height: 4px;
  background: #e0e0e0;
  border-radius: 4px;
  margin: 20px 0 10px;
}
.wt-sb-range-fill {
  position: absolute;
  height: 100%;
  background: var(--blue-mid);
  border-radius: 4px;
  pointer-events: none;
}
.wt-sb-range-input {
  position: absolute;
  width: 100%;
  height: 4px;
  top: 0; left: 0;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  pointer-events: none;
}
.wt-sb-range-input::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--blue-mid);
  cursor: pointer;
  pointer-events: all;
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}
.wt-sb-range-input::-moz-range-thumb {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--blue-mid);
  cursor: pointer;
  pointer-events: all;
}
.wt-sb-range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #888;
  margin-top: 4px;
}
.wt-sb-range-label {
  background: var(--blue-dark);
  color: #fff;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
}

.wt-sb-price-inputs {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}
.wt-sb-price-field {
  flex: 1;
  display: flex;
  align-items: center;
  border: 1px solid var(--gray-border);
  border-radius: 6px;
  overflow: hidden;
}
.wt-sb-price-cur {
  background: var(--gray-light);
  padding: 6px 8px;
  font-size: 11px;
  color: #555;
  border-right: 1px solid var(--gray-border);
  white-space: nowrap;
}
.wt-sb-price-in {
  flex: 1;
  border: none;
  padding: 6px 8px;
  font-size: 12px;
  outline: none;
  width: 0;
}

.wt-sb-apply {
  width: 100%;
  padding: 9px;
  background: var(--blue-mid);
  color: #fff;
  border: none;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.wt-sb-apply:hover { background: var(--blue-dark); }

/*sidebar v2 - more modular, less nested */ 
.wt-sb {
  width: 260px;
  flex-shrink: 0;
  background: #fff;
  border: 1px solid var(--gray-border);
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(4,77,115,0.07);
  align-self: flex-start;
  position: sticky;
  top: 90px;
}
.wt-sb-widget {
  padding: 16px 18px;
  border-bottom: 1px solid var(--gray-border);
}
.wt-sb-widget:last-child { border-bottom: none; }
.wt-sb-widget-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--blue-dark);
  margin: 0 0 12px;
}
.wt-sb-catlist { list-style: none; padding: 0; margin: 0; }
.wt-sb-catitem { border-bottom: 1px solid #f3f4f6; }
.wt-sb-catitem:last-child { border-bottom: none; }
.wt-sb-catrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
}
.wt-sb-catname {
  font-size: 13.5px;
  color: var(--text-dark);
  text-decoration: none;
  flex: 1;
  transition: color 0.2s;
}
.wt-sb-catname:hover { color: var(--blue-mid); }
.wt-sb-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 3px 5px;
  color: #aaa;
  display: flex;
  align-items: center;
  border-radius: 4px;
  transition: background 0.2s;
}
.wt-sb-toggle:hover { background: #f0f0f0; }
.wt-sb-chevron {
  width: 16px;
  height: 16px;
  transition: transform 0.25s ease;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
}
.wt-sb-toggle[aria-expanded="true"] .wt-sb-chevron {
  transform: rotate(180deg);
}
.wt-sb-panel { padding-bottom: 8px; }
.wt-sb-panel[hidden] { display: none; }
.wt-sb-search-wrap {
  position: relative;
  margin-bottom: 8px;
}
.wt-sb-search {
  width: 100%;
  padding: 7px 28px 7px 10px;
  border: 1px solid var(--gray-border);
  border-radius: 6px;
  font-size: 12px;
  outline: none;
  background: #fafbfc;
  transition: border-color 0.2s;
}
.wt-sb-search:focus { border-color: var(--blue-mid); }
.wt-sb-search-icon {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 13px;
  height: 13px;
  stroke: #bbb;
  fill: none;
  stroke-width: 2;
  pointer-events: none;
}
.wt-sb-sublist { list-style: none; padding: 0; margin: 0; }
.wt-sb-subitem { display: flex; }
.wt-sb-sublink {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 6px 8px;
  font-size: 12.5px;
  color: #444;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.15s, color 0.15s;
}
.wt-sb-sublink:hover { background: #e8f3fb; color: var(--blue-mid); }
.wt-sb-count {
  font-size: 11px;
  color: #999;
  margin-left: 8px;
  flex-shrink: 0;
}
.wt-sb-range-wrap { margin-bottom: 14px; }
.wt-sb-range-labels {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}
.wt-sb-range-label {
  background: var(--blue-dark);
  color: #fff;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
}
.wt-sb-range-track {
  position: relative;
  height: 4px;
  background: #e0e0e0;
  border-radius: 4px;
  margin: 10px 0;
}
.wt-sb-range-fill {
  position: absolute;
  height: 100%;
  background: var(--blue-mid);
  border-radius: 4px;
  pointer-events: none;
}
.wt-sb-range-input {
  position: absolute;
  width: 100%;
  height: 4px;
  top: 0; left: 0;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  pointer-events: none;
}
.wt-sb-range-input::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--blue-mid);
  cursor: pointer;
  pointer-events: all;
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}
.wt-sb-range-input::-moz-range-thumb {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--blue-mid);
  cursor: pointer;
  pointer-events: all;
}
.wt-sb-price-inputs {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}
.wt-sb-price-field {
  flex: 1;
  display: flex;
  align-items: center;
  border: 1px solid var(--gray-border);
  border-radius: 6px;
  overflow: hidden;
}
.wt-sb-price-cur {
  background: var(--gray-light);
  padding: 6px 8px;
  font-size: 11px;
  color: #555;
  border-right: 1px solid var(--gray-border);
}
.wt-sb-price-in {
  flex: 1;
  border: none;
  padding: 6px 8px;
  font-size: 12px;
  outline: none;
  width: 0;
}
.wt-sb-apply {
  width: 100%;
  padding: 9px;
  background: var(--blue-mid);
  color: #fff;
  border: none;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.wt-sb-apply:hover { background: var(--blue-dark); }

/* ── Sort widget ── */
.wt-sb-sort { display: flex; flex-direction: column; }
.wt-sb-sort-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 4px;
  font-size: 13px;
  color: #555;
  text-decoration: none;
  border-bottom: 1px dashed #f0f0f0;
  transition: color .15s;
}
.wt-sb-sort-option:last-child { border-bottom: none; }
.wt-sb-sort-option:hover { color: var(--blue-mid); }
.wt-sb-sort-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 2px solid #ccc;
  flex-shrink: 0;
  transition: border-color .15s, background .15s;
}
.wt-sb-sort-option.is-active { color: var(--blue-dark); font-weight: 600; }
.wt-sb-sort-option.is-active .wt-sb-sort-dot { background: var(--blue-mid); border-color: var(--blue-mid); }

/* ── Active filter chips ── */
.wt-active-chip {
  background: #e8f3fb;
  color: #006DAD;
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 20px;
  text-decoration: none;
  border: 1px solid #b5d4f4;
  transition: background .15s;
}
.wt-active-chip:hover { background: #cde5f7; }

/* ── Active subcategory + sales label ── */
.wt-sb-sublink--active { background: #e8f3fb; color: var(--blue-mid); font-weight: 600; }
.wt-sb-catname--sales { color: #c0392b !important; font-weight: 700; }

/*end of sidebar v2 refactor */

/* ── CENTER & CONTAIN THE WHOLE SITE ── */

/* Center top bar text */
.wt-topbar {
  padding-left: calc((100% - 1280px) / 2 + 20px);
  padding-right: calc((100% - 1280px) / 2 + 20px);
}

/* Center ALL main page content */
.wt-main > *,
.wt-ads,
.wt-section-heading,
.wt-podium-section,
.wt-page > div {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

/* Ads padding fix */
.wt-ads {
  padding: 20px;
  box-sizing: border-box;
}

/* Footer centering */
.wt-footer {
  width: 100%;
}
.wt-footer-inner,
.wt-footer-bottom {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

/* Prevent content from touching screen edges on smaller screens */
@media (max-width: 1320px) {
  .wt-topbar {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* On very wide screens, add a subtle background so the
   centered content stands out naturally */
body {
  background: #f0f2f5;
}
.wt-header-wrap,
.wt-topbar {
  background-clip: border-box;
}
/*centering and containing the whole site - end */

/* ── FIX: dropdown stacking after centering changes ── */

/*end of wave fix */
.wt-catbar {
  position: relative;
}

.wt-header-wave {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.wt-header-wave svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* All catbar content stays above wave */
.wt-catbar-inner,
.wt-allcat,
.wt-cat-link {
  position: relative;
  z-index: 2;
}

/* Dropdown above everything */
.wt-mega-drop {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 9999 !important;
}

/*Page Profile */
/* ── MY ACCOUNT PAGE ── */
.wt-account-wrap{display:flex;gap:24px;max-width:1280px;margin:0 auto;padding:30px 20px;align-items:flex-start;}
.wt-account-sb{width:240px;flex-shrink:0;display:flex;flex-direction:column;gap:12px;}
.wt-account-usercard{background:#fff;border:1px solid var(--gray-border);border-radius:12px;padding:20px;text-align:center;}
.wt-account-avatar{width:56px;height:56px;border-radius:50%;background:var(--blue-mid);color:#fff;display:flex;align-items:center;justify-content:center;font-size:20px;font-weight:700;margin:0 auto 10px;}
.wt-account-name{font-size:15px;font-weight:700;color:var(--blue-dark);margin-bottom:3px;}
.wt-account-email{font-size:12px;color:#888;}
.wt-account-nav{background:#fff;border:1px solid var(--gray-border);border-radius:12px;overflow:hidden;}
.wt-account-nav-item{display:flex;align-items:center;gap:10px;padding:12px 16px;font-size:13px;color:#555;text-decoration:none;border-bottom:1px solid var(--gray-border);border-left:3px solid transparent;transition:all .15s;}
.wt-account-nav-item:last-child{border-bottom:none;}
.wt-account-nav-item:hover{background:#f4f8fc;color:var(--blue-mid);}
.wt-account-nav-item.is-active{background:#e8f3fb;color:var(--blue-mid);border-left-color:var(--blue-mid);font-weight:700;}
.wt-account-logout{display:flex;align-items:center;justify-content:center;gap:8px;padding:10px;background:#fff;border:1px solid var(--gray-border);border-radius:8px;font-size:13px;color:#888;text-decoration:none;transition:all .15s;}
.wt-account-logout:hover{background:#fff0ee;color:#c0392b;border-color:#f0a090;}
.wt-account-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:16px;}
.wt-account-card{background:#fff;border:1px solid var(--gray-border);border-radius:12px;overflow:hidden;}
.wt-account-card-head{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;border-bottom:1px solid var(--gray-border);}
.wt-account-card-head h2{font-size:16px;font-weight:700;color:var(--blue-dark);margin:0;}
.wt-account-edit-btn{font-size:12px;color:var(--blue-mid);background:#e8f3fb;border:1px solid #b5d4f4;border-radius:6px;padding:5px 12px;cursor:pointer;transition:background .15s;}
.wt-account-edit-btn:hover{background:#d0e8f8;}
.wt-account-card-body{padding:20px;}
.wt-account-field-row{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:14px;}
.wt-account-field{display:flex;flex-direction:column;gap:5px;}
.wt-account-field label{font-size:11px;color:#888;text-transform:uppercase;letter-spacing:.4px;}
.wt-account-field input{padding:9px 12px;border:1px solid var(--gray-border);border-radius:7px;font-size:13px;color:var(--text-dark);background:#fafbfc;outline:none;transition:border-color .2s;}
.wt-account-field input:focus{border-color:var(--blue-mid);background:#fff;}
.wt-account-field input:disabled{opacity:.55;cursor:not-allowed;background:#f4f6f8;}
.wt-account-save-btn{margin-top:8px;padding:9px 22px;background:var(--blue-mid);color:#fff;border:none;border-radius:7px;font-size:13px;font-weight:700;cursor:pointer;text-decoration:none;display:inline-block;transition:background .2s;}
.wt-account-save-btn:hover{background:var(--blue-dark);}
.wt-pw-strength{height:3px;background:var(--gray-border);border-radius:2px;margin-top:5px;overflow:hidden;}
.wt-pw-bar{height:100%;width:0;border-radius:2px;transition:width .3s,background .3s;}
.wt-orders-table{width:100%;border-collapse:collapse;font-size:13px;}
.wt-orders-table th{padding:12px 16px;text-align:left;font-size:11px;text-transform:uppercase;letter-spacing:.4px;color:#888;border-bottom:1px solid var(--gray-border);font-weight:600;}
.wt-orders-table td{padding:12px 16px;border-bottom:1px solid var(--gray-border);color:var(--text-dark);}
.wt-orders-table tr:last-child td{border-bottom:none;}
.wt-badge{font-size:11px;padding:3px 9px;border-radius:20px;font-weight:600;}
.wt-badge--success{background:#e8f6ee;color:#1a7a35;}
.wt-badge--warning{background:#fff8e1;color:#b8860b;}
.wt-badge--danger{background:#ffeaea;color:#c0392b;}
.wt-badge--info{background:#e8f3fb;color:var(--blue-mid);}
.wt-account-link{color:var(--blue-mid);font-size:12px;text-decoration:none;}
.wt-account-link:hover{text-decoration:underline;}
.wt-account-empty{text-align:center;padding:50px 20px;color:#aaa;}
.wt-account-empty p{font-size:14px;margin-bottom:14px;}
.wt-account-product-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;}
.wt-account-product-card{border:1px solid var(--gray-border);border-radius:10px;overflow:hidden;}
.wt-account-product-card img{width:100%;aspect-ratio:1;object-fit:cover;}
.wt-account-product-info{padding:10px;}
.wt-account-product-name{font-size:12px;font-weight:600;color:var(--text-dark);margin-bottom:4px;line-height:1.3;}
.wt-account-product-price{font-size:14px;font-weight:700;color:var(--blue-dark);margin-bottom:8px;}
.wt-account-recent-list{display:flex;flex-direction:column;gap:10px;}
.wt-account-recent-item{display:flex;align-items:center;gap:14px;padding:12px;border:1px solid var(--gray-border);border-radius:9px;}
.wt-account-recent-img img{width:56px;height:56px;border-radius:8px;object-fit:cover;flex-shrink:0;}
.wt-account-addr-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;}
.wt-account-addr-card{border:1px solid var(--gray-border);border-radius:9px;padding:16px;font-size:13px;color:#555;line-height:1.8;position:relative;}
.wt-account-addr-label{font-size:11px;font-weight:700;color:var(--blue-mid);text-transform:uppercase;letter-spacing:.4px;margin-bottom:8px;}
.wt-account-addr-edit{display:inline-block;margin-top:10px;font-size:12px;color:var(--blue-mid);text-decoration:none;}
.wt-account-addr-edit:hover{text-decoration:underline;}
/*end/* 

/* fix for recently viewed products section on mobile */
/* Recently viewed — fixed layout */
.wt-account-recent-list { display:flex; flex-direction:column; gap:10px; }

.wt-account-recent-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border: 1px solid var(--gray-border);
  border-radius: 10px;
  transition: box-shadow .2s;
}
.wt-account-recent-item:hover { box-shadow: 0 4px 14px rgba(0,109,173,.1); }

.wt-account-recent-img {
  flex-shrink: 0;
  width: 70px;
  height: 70px;
  border-radius: 8px;
  overflow: hidden;
  display: block;
}
.wt-account-recent-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .2s;
}
.wt-account-recent-img:hover img { transform: scale(1.06); }

.wt-account-recent-info {
  flex: 1;
  min-width: 0;
}
.wt-account-recent-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  text-decoration: none;
  display: block;
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wt-account-recent-name:hover { color: var(--blue-mid); }
.wt-account-recent-cat {
  font-size: 11px;
  color: #999;
  margin-bottom: 4px;
}

.wt-account-cart-btn {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  background: var(--green-cart);
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background .2s, transform .15s;
}
.wt-account-cart-btn:hover { background: #25913f; transform: scale(1.08); }

/* ==============================================
   MOBILE CATBAR CHIPS  (≤ 768 px)
   ============================================== */
.wt-mobile-catbar {
  display: none; /* hidden on desktop */
  background: #fff;
  border-bottom: 1px solid var(--gray-border);
  position: sticky; top: 0; z-index: 90;
  box-shadow: 0 2px 8px rgba(0,0,0,.07);
}
.wt-mobile-catbar-inner {
  display: flex;
  gap: 6px;
  padding: 10px 14px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.wt-mobile-catbar-inner::-webkit-scrollbar { display: none; }

.wt-mcat-chip {
  display: inline-flex; align-items: center; gap: 5px;
  white-space: nowrap; flex-shrink: 0;
  background: var(--gray-light);
  border: 1.5px solid var(--gray-border);
  border-radius: 20px;
  padding: 7px 14px;
  font-size: 12px; font-weight: 600; color: var(--text-dark);
  text-decoration: none;
  transition: background .15s, border-color .15s, color .15s;
}
.wt-mcat-chip:hover,
.wt-mcat-chip.is-active {
  background: var(--blue-mid); border-color: var(--blue-mid); color: #fff;
}
.wt-mcat-all {
  background: var(--blue-dark); border-color: var(--blue-dark); color: #fff;
}
.wt-mcat-sale {
  background: #fef2f2; border-color: #fcc; color: #e03535;
}
.wt-mcat-sale:hover { background: #e03535; border-color: #e03535; color: #fff; }

/* ==============================================
   MOBILE BOTTOM NAV  (≤ 768 px)
   ============================================== */
.wt-mobile-nav {
  display: none; /* hidden on desktop */
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 1500;
  background: #fff;
  border-top: 1px solid var(--gray-border);
  box-shadow: 0 -4px 20px rgba(0,0,0,.12);
  padding: 0 env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
  padding-bottom: max(8px, env(safe-area-inset-bottom));
}
.wt-mnav-item {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 3px;
  flex: 1;
  background: none; border: none; cursor: pointer;
  padding: 8px 4px 4px;
  color: #888; font-size: 10px; font-weight: 600;
  text-decoration: none; font-family: inherit;
  transition: color .15s;
  position: relative;
  -webkit-tap-highlight-color: transparent;
}
.wt-mnav-item svg { transition: transform .15s; }
.wt-mnav-item:hover,
.wt-mnav-item.is-active { color: var(--blue-mid); }
.wt-mnav-item:active svg { transform: scale(.88); }
.wt-mnav-item.is-active svg { stroke: var(--blue-mid); }

/* Shop button: golden highlight */
.wt-mnav-shop {
  color: var(--blue-mid);
}
.wt-mnav-shop svg {
  background: var(--blue-mid);
  stroke: #fff;
  border-radius: 14px;
  padding: 6px;
  width: 34px; height: 34px;
  margin-top: -10px;
  box-shadow: 0 4px 14px rgba(0,109,173,.4);
}
.wt-mnav-shop span { color: var(--blue-mid); font-weight: 700; }

/* Cart badge */
.wt-mnav-badge {
  position: absolute; top: 4px;
  left: 50%; transform: translateX(4px);
  background: var(--gold); color: var(--blue-dark);
  border-radius: 50%; min-width: 16px; height: 16px;
  font-size: 9px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  padding: 0 3px; line-height: 1;
  border: 2px solid #fff;
}

/* Add flex layout inside nav on mobile */
@media (max-width: 768px) {
  .wt-mobile-nav   { display: flex !important; }
  .wt-mobile-catbar { display: block !important; }

  /* Add bottom padding so content isn't hidden behind the nav */
  .wt-main, body { padding-bottom: 70px; }

  /* ── HEADER: hide all icons except cart on mobile ── */
  .wt-lang-btn         { display: none !important; }
  .wt-wishlist-icon    { display: none !important; }
  /* On mobile, account btn moves to bottom nav — hide from header */
  .wt-header-icons > a.wt-icon-btn:not(.wt-lang-btn):not(.wt-wishlist-icon),
  .wt-header-icons > button#wtLoginBtn { display: none !important; }

  /* Cart stays visible, make it more prominent */
  #wtCartToggle {
    background: var(--blue-mid) !important;
    color: #fff !important;
    border-radius: 10px !important;
    padding: 8px 14px !important;
    font-size: 0 !important; /* hide text, keep icon */
    gap: 0 !important;
  }
  #wtCartToggle svg { width: 22px !important; height: 22px !important; }
  #wtCartToggle .wt-cart-count {
    position: static !important; transform: none !important;
    background: var(--gold) !important; color: var(--blue-dark) !important;
    display: inline-flex !important; width: 18px !important; height: 18px !important;
    font-size: 10px !important;
  }

  /* ── HIDE desktop catbar on mobile (replaced by chips) ── */
  .wt-catbar { display: none !important; }

  /* ── Search button: icon only ── */
  .wt-search-open {
    font-size: 0 !important;
    background: var(--gray-light) !important;
    border-radius: 8px !important;
    padding: 8px 11px !important;
    display: flex !important; align-items: center !important;
  }
  .wt-search-open::before {
    content: '';
    display: block;
    width: 20px; height: 20px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23444' stroke-width='2.5'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E") center/contain no-repeat;
  }

  /* ── Topbar: single scrollable line ── */
  .wt-topbar { font-size: 11px !important; padding: 5px 14px !important; }
  .wt-topbar-right a:not(:last-child) { display: none !important; }

  /* ── Promo banners: stack, bigger buttons ── */
  .wt-ads { grid-template-columns: 1fr !important; gap: 10px !important; padding: 14px !important; }
  .wt-ad { min-height: 120px !important; padding: 18px 20px !important; flex-direction: row !important; align-items: center !important; justify-content: space-between !important; }
  .wt-ad-title { font-size: 14px !important; }
  .wt-ad-sub { font-size: 11px !important; }
  .wt-ad-btn {
    font-size: 12px !important; padding: 9px 16px !important;
    border-radius: 8px !important; flex-shrink: 0 !important;
    margin-top: 0 !important; white-space: nowrap !important;
  }

  /* ── Header tighter on mobile ── */
  .wt-header { padding: 10px 14px !important; gap: 8px !important; }
  .wt-logo { font-size: 22px !important; }
  .wt-header-icons { gap: 6px !important; }

  /* ── Mobile catbar sticky positioning ── */
  .wt-mobile-catbar {
    position: sticky;
    top: 0;
  }
}

/* Extra small phones */
@media (max-width: 380px) {
  .wt-mcat-chip { padding: 6px 11px !important; font-size: 11px !important; }
  .wt-mnav-item { font-size: 9px !important; }
  .wt-logo { font-size: 19px !important; }
}
.wt-wishlist-cart-btn { font-size: 11px; padding: 7px 12px; }

/* ==============================================
   TOUCH DEVICES — never let iOS zoom on focus
   Safari zooms the page in when a focused field is
   under 16px and does not zoom back out again.
   ============================================== */
@media (pointer: coarse) {
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="url"],
  input[type="password"],
  input[type="search"],
  input[type="number"],
  input[type="date"],
  input[type="datetime-local"],
  input[type="month"],
  input[type="time"],
  input[type="week"],
  input:not([type]),
  textarea,
  select {
    font-size: 16px !important;
  }
}

/* ==============================================
   KEYBOARD OPEN — body.wt-kb-open (assets/js/keyboard.js)
   The fixed bars sit on top of the keyboard otherwise.
   --wt-kb is how much of the page the keyboard covers.
   ============================================== */
@media (pointer: coarse) {
  body.wt-kb-open .wt-mobile-nav,
  body.wt-kb-open #wtBackToTop,
  body.wt-kb-open .wt-sb-mobile-footer {
    display: none !important;
  }
  body.wt-kb-open .wt-sb { padding-bottom: 12px !important; }
  body.wt-kb-open #wtToastContainer { bottom: calc(16px + var(--wt-kb, 0px)) !important; }

  /* The search sheet no longer clears a nav that is gone — lift it over the keyboard instead. */
  body.wt-kb-open .wt-search-modal { padding-bottom: var(--wt-kb, 0px) !important; }
  body.wt-kb-open .wt-search-modal__dialog {
    margin-bottom: 0 !important;
    max-height: calc(100vh - var(--wt-kb, 0px) - 24px) !important;
  }

  /* Centred login box: centre it in what is left, not behind the keyboard. */
  body.wt-kb-open .wt-login-overlay { padding-bottom: var(--wt-kb, 0px) !important; }

  /* Cart drawer: the quantity field opens a keyboard too. */
  body.wt-kb-open .wt-cart-sidebar {
    bottom: calc(10px + var(--wt-kb, 0px)) !important;
    max-height: calc(88dvh - 10px - var(--wt-kb, 0px)) !important;
  }
}

/*end*/

/* ================================================================
   CART SIDEBAR
   ================================================================ */
.wt-cs-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.45);
  backdrop-filter: blur(3px);
  z-index: 1200;
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease;
}
.wt-cs-overlay.is-open { opacity: 1; pointer-events: all; }

.wt-cart-sidebar {
  position: fixed;
  /* Float a little off the page edges so the head/foot aren't flush to the border */
  top: 16px; right: 16px; bottom: 16px;
  width: 400px; max-width: calc(100vw - 32px);
  height: auto; max-height: calc(100dvh - 32px);
  background: #fff;
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.28);
  z-index: 1201;
  display: flex; flex-direction: column;
  transform: translateX(calc(100% + 24px));
  transition: transform .35s cubic-bezier(.4,0,.2,1);
}
.wt-cart-sidebar.is-open { transform: translateX(0); }
body.wt-sidebar-open { overflow: hidden; }

/* Head — dark blue (design mini-cart) */
.wt-cs-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px;
  background: var(--blue-dark); color: #fff;
  flex-shrink: 0;
}
.wt-cs-head h3 { font-size: 16px; font-weight: 800; color: #fff; margin: 0; display: flex; align-items: center; gap: 10px; }
.wt-cs-head h3 svg { stroke: var(--gold); flex-shrink: 0; }
.wt-cs-badge {
  background: var(--gold); color: var(--blue-dark);
  font-size: 11px; font-weight: 800;
  min-width: 20px; height: 18px;
  border-radius: 20px; padding: 0 8px;
  display: inline-flex; align-items: center; justify-content: center;
}
.wt-cs-close {
  background: rgba(255,255,255,.15); border: none; cursor: pointer;
  color: #fff; width: 32px; height: 32px;
  border-radius: 8px; transition: background .15s;
  display: flex; align-items: center; justify-content: center;
}
.wt-cs-close:hover { background: rgba(255,255,255,.3); color: #fff; }

/* Delivery progress — light blue */
.wt-cs-delivery { padding: 14px 20px; background: #e8f3fb; border-bottom: 1.5px solid var(--gray-border); flex-shrink: 0; }
.wt-cs-delivery-text { font-size: 12px; font-weight: 600; color: var(--blue-dark); margin: 0 0 7px; }
.wt-cs-progress { height: 8px; background: #fff; border: 1px solid var(--gray-border); border-radius: 6px; overflow: hidden; }
.wt-cs-progress-fill { height: 100%; background: linear-gradient(90deg, var(--blue-mid), var(--blue-light)); border-radius: 6px; transition: width .5s ease; }

/* Items list */
.wt-cs-items { flex: 1; overflow-y: auto; padding: 6px 20px; }
.wt-cs-loading { display: flex; justify-content: center; padding: 40px 0; }
.wt-cs-spinner {
  width: 28px; height: 28px;
  border: 3px solid var(--gray-border);
  border-top-color: var(--blue-mid);
  border-radius: 50%;
  animation: wt-spin .7s linear infinite;
}
@keyframes wt-spin { to { transform: rotate(360deg); } }

.wt-cs-empty { text-align: center; padding: 50px 20px; color: #888; }
.wt-cs-empty svg { display: block; margin: 0 auto 14px; stroke: #ccc; }
.wt-cs-empty p { font-size: 14px; }

.wt-cs-item { display: flex; gap: 13px; padding: 15px 0; border-bottom: 1.5px solid #eef1f4; align-items: center; }
.wt-cs-item:last-child { border-bottom: none; }
.wt-cs-item-img { flex-shrink: 0; width: 62px; height: 62px; border-radius: 11px; overflow: hidden; background: linear-gradient(135deg, #e8f3fb, #f4f6f8); display: flex; align-items: center; justify-content: center; }
.wt-cs-item-img img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.wt-cs-item-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 7px; }
.wt-cs-item-name { font-size: 13px; font-weight: 700; color: var(--text-dark); text-decoration: none; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wt-cs-item-name:hover { color: var(--blue-mid); }
.wt-cs-item-line { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.wt-cs-qty-row { display: inline-flex; align-items: center; border: 1.5px solid var(--gray-border); border-radius: 8px; overflow: hidden; margin: 0; }
.wt-cs-qty-btn { width: 26px; height: 26px; border: none; border-radius: 0; background: #f4f6f8; color: var(--text-dark); font-size: 14px; font-weight: 800; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; transition: background .15s, color .15s; flex-shrink: 0; }
.wt-cs-qty-row .wt-cs-qty-btn:first-child { color: #c0392b; }
.wt-cs-qty-row .wt-cs-qty-btn:last-child { color: var(--blue-mid); }
.wt-cs-qty-btn:hover:not(:disabled) { background: #e3ebf2; }
.wt-cs-qty-btn:disabled { opacity: .4; cursor: default; }
/* Editable qty input */
.wt-cs-qty-num {
  width: 34px; min-width: 34px; height: 26px; text-align: center;
  font-size: 13px; font-weight: 700; color: var(--text-dark);
  border: none; border-left: 1.5px solid var(--gray-border); border-right: 1.5px solid var(--gray-border);
  background: #fff; outline: none; padding: 0; font-family: inherit; -moz-appearance: textfield;
}
.wt-cs-qty-num:focus { background: #f2f8fd; }
.wt-cs-qty-num::-webkit-outer-spin-button, .wt-cs-qty-num::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.wt-cs-item-price { font-size: 14px; font-weight: 800; color: var(--blue-dark); margin-left: auto; flex-shrink: 0; }
/* Pre-order note under the item */
.wt-cs-preorder-note {
  font-size: 11px; font-weight: 700; color: #a86b00;
  background: #fff6e0; border: 1px solid #ffe4a3; border-radius: 6px;
  padding: 3px 8px; align-self: flex-start; line-height: 1.3;
}

/* ── Pre-order confirm popup (shared: cart drawer + checkout) ── */
.wt-pre-overlay {
  position: fixed; inset: 0; z-index: 2100; display: none;
  align-items: center; justify-content: center; padding: 20px;
  background: rgba(4,26,40,.55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
}
.wt-pre-overlay.is-open { display: flex; }
.wt-pre-modal {
  background: #fff; border-radius: 16px; max-width: 380px; width: 100%;
  padding: 26px 24px 22px; text-align: center;
  box-shadow: 0 24px 60px rgba(0,0,0,.3); animation: wtLbIn .2s ease;
}
.wt-pre-icon { width: 54px; height: 54px; border-radius: 50%; background: #fff6e0; color: #d99400; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.wt-pre-title { font-size: 18px; font-weight: 800; color: var(--blue-dark); margin: 0 0 8px; }
.wt-pre-msg { font-size: 13.5px; color: #555; line-height: 1.6; margin: 0 0 20px; }
.wt-pre-actions { display: flex; gap: 10px; }
.wt-pre-actions button { flex: 1; padding: 12px 14px; border: none; border-radius: 10px; font-size: 13.5px; font-weight: 800; cursor: pointer; font-family: inherit; transition: background .2s, transform .1s; }
.wt-pre-cancel { background: #eef1f4; color: var(--text-dark); }
.wt-pre-cancel:hover { background: var(--gray-border); }
.wt-pre-accept { background: var(--green-cart, #2ea44f); color: #fff; }
.wt-pre-accept:hover { background: #25863f; transform: translateY(-1px); }
@keyframes wtLbIn { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: scale(1); } }

/* Checkout CTA — pinned below the progress bar, above the scrolling items, so it's always visible */
.wt-cs-cta {
  flex-shrink: 0;
  padding: 14px 20px;
  background: #fff;
  border-bottom: 1.5px solid var(--gray-border);
  display: flex; flex-direction: column; gap: 10px;
}

/* Footer — now just the "view & edit cart" link */
.wt-cs-foot { padding: 14px 20px calc(16px + env(safe-area-inset-bottom, 0px)); border-top: 1.5px solid var(--gray-border); background: #fff; flex-shrink: 0; display: flex; flex-direction: column; gap: 12px; }
.wt-cs-foot-row { display: flex; justify-content: space-between; align-items: baseline; margin: 0; font-size: 13px; color: #888; }
.wt-cs-foot-row strong { font-size: 20px; font-weight: 800; color: var(--blue-dark); }

.wt-cs-checkout-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%;
  background: var(--gold); color: var(--blue-dark);
  text-align: center; text-decoration: none;
  font-size: 14px; font-weight: 800;
  padding: 13px 20px; border-radius: 10px;
  transition: background .2s;
}
.wt-cs-checkout-btn:hover { background: #e0b52f; color: var(--blue-dark); }
.wt-cs-checkout-btn span { position: relative; z-index: 1; }
.wt-cs-viewcart { display: block; text-align: center; font-size: 13px; font-weight: 700; color: var(--blue-mid); text-decoration: underline; }
.wt-cs-viewcart:hover { color: var(--blue-dark); }

@media (max-width: 440px) {
  .wt-cart-sidebar { width: 100vw; }
}

/* ── Checkout free-shipping hint ── */
.wt-co-free-hint { font-size: 12px; color: var(--blue-mid); background: #eef6ff; border-radius: 6px; padding: 7px 12px; margin-top: 10px; text-align: center; }
.wt-co-free-hint .woocommerce-Price-amount { font-weight: 700; }

/* ── Rating stars — shared mini component for product cards ── */
.wt-rating-mini { display: inline-flex; align-items: center; gap: 6px; margin: 4px 0; line-height: 1; }
.wt-rating-mini-stars { display: inline-flex; letter-spacing: 1px; }
.wt-rating-mini .wt-rms { font-size: 13px; color: #dce0e6; }
.wt-rating-mini .wt-rms.is-full { color: var(--gold); }
.wt-rating-mini .wt-rms.is-half {
  background: linear-gradient(90deg, var(--gold) 50%, #dce0e6 50%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.wt-rating-mini-count { font-size: 11px; color: #9aa2ab; font-weight: 600; }

/* ── Weekly Deals section (homepage) ── */
.wt-deals { max-width: 1280px; margin: 40px auto 8px; padding: 0 20px; }
.wt-deals-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; margin-bottom: 20px;
}
.wt-deals-title { display: flex; align-items: center; gap: 10px; }
.wt-deals-title h2 { font-size: 26px; font-weight: 800; color: var(--blue-dark); margin: 0; }
.wt-deals-title h2 span { color: #e03535; }
.wt-deals-flame { font-size: 26px; }
.wt-deals-sub { font-size: 13px; color: #8a929c; margin: 2px 0 0; }
.wt-deals-timer { display: flex; align-items: center; gap: 8px; }
.wt-deals-timer-label { font-size: 12px; font-weight: 600; color: #8a929c; margin-right: 2px; }
.wt-deals-timer-box {
  display: flex; flex-direction: column; align-items: center;
  background: var(--blue-dark); color: #fff; border-radius: 9px;
  min-width: 46px; padding: 7px 6px;
}
.wt-deals-timer-num { font-size: 18px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.wt-deals-timer-unit { font-size: 9px; text-transform: uppercase; letter-spacing: .5px; opacity: .7; margin-top: 3px; }
.wt-deals-timer-sep { font-size: 18px; font-weight: 800; color: var(--blue-dark); opacity: .35; }
.wt-deals-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px;
}
.wt-deal-card {
  position: relative; background: #fff; border: 1.5px solid var(--gray-border);
  border-radius: 14px; overflow: hidden; display: flex; flex-direction: column;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.wt-deal-card:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(224,53,53,.14); border-color: #f3b4b4; }
.wt-deal-discount {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  background: #e03535; color: #fff; font-size: 12px; font-weight: 800;
  padding: 3px 9px; border-radius: 20px; box-shadow: 0 3px 8px rgba(224,53,53,.35);
}
.wt-deal-img { display: block; aspect-ratio: 1/1; background: var(--gray-light); overflow: hidden; }
.wt-deal-img img { width: 100%; height: 100%; object-fit: contain; padding: 12px; transition: transform .35s; }
.wt-deal-card:hover .wt-deal-img img { transform: scale(1.06); }
.wt-deal-body { padding: 12px 14px 14px; display: flex; flex-direction: column; flex: 1; }
.wt-deal-name {
  font-size: 13.5px; font-weight: 600; color: var(--text-dark); text-decoration: none;
  line-height: 1.35; margin-bottom: 4px;
  display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.wt-deal-name:hover { color: var(--blue-mid); }
.wt-deal-price { font-size: 16px; font-weight: 800; color: #e03535; margin-top: auto; }
.wt-deal-price del { font-size: 12px; color: #b0b6bd; font-weight: 400; margin-right: 6px; }
.wt-deal-price ins { text-decoration: none; }
.wt-deal-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px; }
.wt-deal-rating { min-height: 15px; }
.wt-deal-cart {
  background: var(--green-cart); color: #fff; border: none; border-radius: 8px;
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background .2s; flex-shrink: 0;
}
.wt-deal-cart:hover { background: #239940; }
.wt-deal-cart svg { width: 18px; height: 18px; }
@media (max-width: 600px) {
  .wt-deals-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .wt-deals-title h2 { font-size: 21px; }
}

/* ── Footer payment + shipping badges ── */
.wt-footer-trust {
  max-width: 1280px; margin: 0 auto; padding: 22px 24px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.12);
}
.wt-footer-trust-group { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.wt-footer-trust-label { font-size: 12px; font-weight: 600; color: rgba(255,255,255,.55); }
.wt-pay-badges { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.wt-pay-badge {
  height: 30px; min-width: 46px; padding: 0 10px;
  background: #fff; border-radius: 6px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800; letter-spacing: .3px; font-style: italic;
  box-shadow: 0 1px 3px rgba(0,0,0,.18);
}
.wt-pay-badge--visa    { color: #1a1f71; }
.wt-pay-badge--mc      { color: #eb001b; font-style: normal; }
.wt-pay-badge--paypal  { color: #003087; }
.wt-pay-badge--klarna  { background: #ffb3c7; color: #17120f; font-style: normal; }
.wt-pay-badge--dhl     { color: #d40511; background: #ffcc00; font-style: italic; }
@media (max-width: 600px) {
  .wt-footer-trust { justify-content: center; text-align: center; }
}