/* =====================================================================
   Zoppees storefront theme
   Marketplace-style layout: dense product grids, deal-first merchandising,
   region-aware header. Built on Bootstrap 5's grid/utilities only.
   ===================================================================== */
:root {
    --z-brand: #00a152;
    --z-brand-dark: #007a3e;
    --z-brand-soft: #e6f9ef;
    --z-deal: #fd384f;
    --z-deal-soft: #fff0f2;
    --z-orange: #ff6a00;
    --z-yellow: #ffd400;
    --z-ink: #191919;
    --z-text: #333;
    --z-muted: #767676;
    --z-line: #ebebeb;
    --z-bg: #f4f5f7;
    --z-card: #fff;
    --z-radius: 12px;
    --z-radius-sm: 8px;
    --z-shadow: 0 1px 2px rgba(0,0,0,.04), 0 4px 16px rgba(0,0,0,.06);
    --z-font: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial,
              "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0; background: var(--z-bg); color: var(--z-text);
    font: 14px/1.5 var(--z-font); -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--z-brand-dark); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, h5 { color: var(--z-ink); font-weight: 700; line-height: 1.25; margin: 0 0 .5em; }
h1 { font-size: 26px; } h2 { font-size: 22px; } h3 { font-size: 18px; } h4 { font-size: 16px; }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; }
.z-wrap { max-width: 1320px; margin: 0 auto; padding: 0 16px; }
.z-muted { color: var(--z-muted); }
.z-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.z-card { background: var(--z-card); border-radius: var(--z-radius); box-shadow: var(--z-shadow); }
.z-section { margin: 18px 0; }
.z-section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.z-section-head h2 { margin: 0; font-size: 20px; display: flex; align-items: center; gap: 10px; }
.z-section-head a.more { font-weight: 600; color: var(--z-brand-dark); white-space: nowrap; }

/* Buttons ------------------------------------------------------------ */
.z-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 44px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
    font-weight: 700; font-size: 15px; transition: .15s; white-space: nowrap; cursor: pointer;
}
.z-btn-sm { height: 34px; padding: 0 14px; font-size: 13px; }
.z-btn-block { width: 100%; }
.z-btn-primary { background: var(--z-deal); color: #fff; }
.z-btn-primary:hover { background: #e52a40; color: #fff; }
.z-btn-brand { background: var(--z-brand); color: #fff; }
.z-btn-brand:hover { background: var(--z-brand-dark); color: #fff; }
.z-btn-outline { background: #fff; border-color: var(--z-deal); color: var(--z-deal); }
.z-btn-outline:hover { background: var(--z-deal-soft); color: var(--z-deal); }
.z-btn-ghost { background: #fff; border-color: #d9d9d9; color: var(--z-ink); }
.z-btn-ghost:hover { border-color: var(--z-ink); color: var(--z-ink); }
.z-btn-orange { background: linear-gradient(90deg, #ff9500, var(--z-orange)); color: #fff; }
.z-btn-orange:hover { color: #fff; filter: brightness(.96); }
.z-btn:disabled { opacity: .5; cursor: not-allowed; }

/* Inputs ------------------------------------------------------------- */
.z-input, .z-select, .z-textarea {
    width: 100%; height: 44px; padding: 0 14px; border: 1px solid #d9d9d9; border-radius: var(--z-radius-sm);
    background: #fff; color: var(--z-ink); font: inherit; outline: none; transition: border-color .15s;
}
.z-textarea { height: auto; min-height: 110px; padding: 12px 14px; resize: vertical; }
.z-input:focus, .z-select:focus, .z-textarea:focus { border-color: var(--z-brand); box-shadow: 0 0 0 3px rgba(0,161,82,.15); }
.z-label { display: block; font-weight: 600; font-size: 13px; margin: 0 0 6px; color: var(--z-ink); }
.z-field { margin-bottom: 14px; }
.z-check { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.z-check input { width: 16px; height: 16px; accent-color: var(--z-brand); }

/* Badges ------------------------------------------------------------- */
.z-badge { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; padding: 2px 6px; border-radius: 4px; line-height: 1.4; }
.z-badge-deal { background: var(--z-deal); color: #fff; }
.z-badge-choice { background: var(--z-yellow); color: #191919; }
.z-badge-local { background: var(--z-brand); color: #fff; }
.z-badge-partner { background: #eef2ff; color: #3949ab; }
.z-badge-free { background: var(--z-brand-soft); color: var(--z-brand-dark); }
.z-badge-soft { background: #f1f1f1; color: #555; }

/* =====================================================================
   Header
   ===================================================================== */
.z-topbar { background: #191919; color: #ddd; font-size: 12px; }
.z-topbar .z-wrap { display: flex; align-items: center; justify-content: space-between; min-height: 34px; gap: 12px; }
.z-topbar a:hover { color: #fff; }
.z-topbar .promo { color: var(--z-yellow); font-weight: 600; }
.z-topbar nav { display: flex; gap: 18px; align-items: center; }

.z-header { background: #fff; position: sticky; top: 0; z-index: 50; box-shadow: 0 1px 0 var(--z-line); }
.z-header-main { display: flex; align-items: center; gap: 22px; height: 76px; }
.z-logo img { height: 40px; width: auto; }
.z-search { flex: 1; position: relative; max-width: 760px; }
.z-search form { display: flex; height: 44px; border: 2px solid var(--z-ink); border-radius: 999px; overflow: hidden; background: #fff; }
.z-search select {
    border: 0; border-right: 1px solid var(--z-line); padding: 0 10px 0 16px; max-width: 170px;
    background: #fafafa; color: var(--z-text); font: inherit; outline: none;
}
.z-search input { flex: 1; border: 0; padding: 0 16px; font: inherit; font-size: 15px; outline: none; min-width: 0; }
.z-search button { border: 0; background: var(--z-ink); color: #fff; width: 64px; border-radius: 999px; margin: 3px; font-size: 17px; }
.z-search button:hover { background: var(--z-brand); }
.z-suggest {
    position: absolute; left: 0; right: 0; top: 50px; background: #fff; border-radius: var(--z-radius);
    box-shadow: 0 12px 40px rgba(0,0,0,.16); overflow: hidden; display: none; z-index: 60;
}
.z-suggest.open { display: block; }
.z-suggest a { display: flex; align-items: center; gap: 12px; padding: 8px 14px; border-bottom: 1px solid #f3f3f3; }
.z-suggest a:hover { background: #fafafa; color: inherit; }
.z-suggest img { width: 44px; height: 44px; object-fit: cover; border-radius: 6px; background: #f3f3f3; }
.z-suggest .name { flex: 1; font-size: 13px; color: var(--z-ink); }
.z-suggest .price { font-weight: 700; color: var(--z-deal); }
.z-suggest .all { justify-content: center; font-weight: 600; color: var(--z-brand-dark); }

.z-actions { display: flex; align-items: center; gap: 6px; }
.z-action { display: flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 10px; position: relative; line-height: 1.2; }
.z-action:hover { background: #f5f5f5; color: inherit; }
.z-action i { font-size: 24px; color: var(--z-ink); }
.z-action small { display: block; color: var(--z-muted); font-size: 11px; }
.z-action strong { display: block; font-size: 13px; color: var(--z-ink); white-space: nowrap; }
.z-count {
    position: absolute; top: 0; left: 26px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
    background: var(--z-deal); color: #fff; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.z-region-btn { border: 0; background: transparent; }

.z-catnav { border-top: 1px solid var(--z-line); }
.z-catnav .z-wrap { display: flex; align-items: center; gap: 4px; height: 46px; overflow-x: auto; scrollbar-width: none; }
.z-catnav .z-wrap::-webkit-scrollbar { display: none; }
.z-catnav a { padding: 6px 12px; border-radius: 999px; font-weight: 600; font-size: 13.5px; white-space: nowrap; }
.z-catnav a:hover, .z-catnav a.active { background: #f2f2f2; color: var(--z-ink); }
.z-catnav a.hot { color: var(--z-deal); }
.z-catnav .all-cats { background: var(--z-ink); color: #fff; }
.z-catnav .all-cats:hover { background: var(--z-brand); color: #fff; }

.z-burger { display: none; border: 0; background: none; font-size: 22px; padding: 6px; }

/* Suggestion bar (geo / language) */
.z-suggest-bar { background: var(--z-brand-soft); border-bottom: 1px solid #cfe9db; font-size: 13px; }
.z-suggest-bar .z-wrap { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 44px; flex-wrap: wrap; }
.z-suggest-bar button { border: 0; background: none; color: var(--z-muted); font-size: 18px; }

/* Flash */
.z-flash { margin: 14px 0 0; }
.z-alert { padding: 12px 16px; border-radius: var(--z-radius-sm); margin-bottom: 8px; font-weight: 500; display: flex; gap: 10px; align-items: center; }
.z-alert-success { background: #e8f5ee; color: #065c32; }
.z-alert-danger { background: #fff0f2; color: #b4142a; }
.z-alert-info { background: #eef4ff; color: #1d4ed8; }

/* =====================================================================
   Home
   ===================================================================== */
.z-hero { display: grid; grid-template-columns: 240px 1fr 280px; gap: 16px; margin-top: 16px; }
.z-sidecats { padding: 10px 0; }
.z-sidecats h3 { font-size: 15px; padding: 4px 18px 8px; margin: 0; }
.z-sidecats a { display: flex; align-items: center; gap: 12px; padding: 7px 18px; font-size: 13.5px; }
.z-sidecats a i { width: 18px; text-align: center; color: var(--z-muted); }
.z-sidecats a:hover { background: #f7f7f7; color: var(--z-brand-dark); }
.z-sidecats a:hover i { color: var(--z-brand-dark); }

.z-slider { position: relative; overflow: hidden; border-radius: var(--z-radius); min-height: 360px; }
.z-slide {
    position: absolute; inset: 0; display: grid; grid-template-columns: 1.1fr 1fr; align-items: center;
    padding: 36px 44px; opacity: 0; transition: opacity .6s; pointer-events: none;
}
.z-slide.active { opacity: 1; pointer-events: auto; }
.z-slide .kicker { display: inline-block; background: rgba(255,255,255,.2); color: #fff; padding: 4px 12px; border-radius: 999px; font-weight: 700; font-size: 12px; letter-spacing: .4px; text-transform: uppercase; }
.z-slide h2 { color: #fff; font-size: 38px; line-height: 1.1; margin: 14px 0 10px; font-weight: 800; }
.z-slide p { color: rgba(255,255,255,.9); font-size: 16px; max-width: 420px; }
.z-slide .imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.z-slide .imgs img { border-radius: 14px; background: #fff; aspect-ratio: 1; object-fit: cover; box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.z-slide .imgs img:first-child { grid-row: span 2; aspect-ratio: auto; height: 100%; }
.z-slide.s1 { background: linear-gradient(120deg, #fd384f, #ff7a45); }
.z-slide.s2 { background: linear-gradient(120deg, #00a152, #00d16a); }
.z-slide.s3 { background: linear-gradient(120deg, #3b2bd6, #8d4dff); }
.z-dots { position: absolute; bottom: 14px; left: 44px; display: flex; gap: 6px; }
.z-dots button { width: 8px; height: 8px; border-radius: 99px; border: 0; background: rgba(255,255,255,.5); padding: 0; transition: .2s; }
.z-dots button.active { width: 24px; background: #fff; }

.z-welcome { padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.z-welcome .hi { display: flex; align-items: center; gap: 12px; }
.z-welcome .avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--z-brand-soft); color: var(--z-brand-dark); display: flex; align-items: center; justify-content: center; font-size: 18px; }
.z-welcome .coupon {
    border: 1px dashed var(--z-deal); background: var(--z-deal-soft); border-radius: 10px; padding: 12px; text-align: center;
}
.z-welcome .coupon b { display: block; color: var(--z-deal); font-size: 22px; }
.z-welcome .coupon code { font-weight: 800; color: var(--z-ink); background: #fff; padding: 2px 8px; border-radius: 6px; }
.z-welcome .perks { display: grid; gap: 8px; font-size: 13px; }
.z-welcome .perks div { display: flex; gap: 10px; align-items: center; }
.z-welcome .perks i { color: var(--z-brand-dark); width: 18px; text-align: center; }

.z-trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--z-line); border-radius: var(--z-radius); overflow: hidden; margin-top: 16px; }
.z-trust div { background: #fff; padding: 14px 18px; display: flex; align-items: center; gap: 12px; }
.z-trust i { font-size: 24px; color: var(--z-brand-dark); }
.z-trust b { display: block; color: var(--z-ink); font-size: 14px; }
.z-trust span { font-size: 12px; color: var(--z-muted); }

.z-deals { padding: 18px; }
.z-deals .z-section-head h2 i { color: var(--z-deal); }
.z-countdown { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 600; color: var(--z-muted); }
.z-countdown b { background: var(--z-ink); color: #fff; border-radius: 4px; padding: 2px 6px; font-variant-numeric: tabular-nums; }

.z-cattiles { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; }
.z-cattile { background: #fff; border-radius: var(--z-radius); padding: 14px 10px; text-align: center; box-shadow: var(--z-shadow); transition: .15s; }
.z-cattile:hover { transform: translateY(-2px); color: inherit; }
.z-cattile .ic { width: 76px; height: 76px; margin: 0 auto 8px; border-radius: 50%; overflow: hidden; background: #f5f5f5; }
.z-cattile .ic img { width: 100%; height: 100%; object-fit: cover; }
.z-cattile span { font-size: 13px; font-weight: 600; color: var(--z-ink); line-height: 1.25; display: block; }

.z-promo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.z-promo { border-radius: var(--z-radius); padding: 22px; color: #fff; display: flex; align-items: center; gap: 14px; min-height: 140px; position: relative; overflow: hidden; }
.z-promo h3 { color: #fff; font-size: 20px; margin: 0 0 6px; }
.z-promo p { margin: 0 0 10px; opacity: .9; font-size: 13px; }
.z-promo img { width: 110px; height: 110px; object-fit: cover; border-radius: 12px; margin-left: auto; flex-shrink: 0; background: #fff; }
.z-promo .z-btn { height: 34px; font-size: 13px; background: #fff; color: var(--z-ink); }
.z-promo.p1 { background: linear-gradient(135deg, #191919, #444); }
.z-promo.p2 { background: linear-gradient(135deg, #00a152, #00d16a); }
.z-promo.p3 { background: linear-gradient(135deg, #ff6a00, #ffa000); }

/* =====================================================================
   Product cards & grids
   ===================================================================== */
.z-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.z-grid.cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.z-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.z-pcard { background: #fff; border-radius: var(--z-radius); overflow: hidden; position: relative; display: flex; flex-direction: column; transition: box-shadow .15s, transform .15s; }
.z-pcard:hover { box-shadow: 0 10px 28px rgba(0,0,0,.12); transform: translateY(-2px); }
.z-pcard .media { position: relative; aspect-ratio: 1; background: #f6f6f6; overflow: hidden; }
.z-pcard .media img { width: 100%; height: 100%; object-fit: cover; transition: opacity .25s; }
.z-pcard .media img.alt { position: absolute; inset: 0; opacity: 0; }
.z-pcard:hover .media img.alt { opacity: 1; }
.z-pcard .tags { position: absolute; top: 8px; left: 8px; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; z-index: 2; }
.z-pcard .wish {
    position: absolute; top: 8px; right: 8px; width: 32px; height: 32px; border-radius: 50%; border: 0;
    background: rgba(255,255,255,.92); display: flex; align-items: center; justify-content: center; z-index: 2;
    color: var(--z-ink); font-size: 15px; opacity: 0; transition: .15s;
}
.z-pcard:hover .wish, .z-pcard .wish.on { opacity: 1; }
.z-pcard .wish.on { color: var(--z-deal); }
.z-pcard .body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.z-pcard .title { font-size: 13.5px; color: var(--z-ink); line-height: 1.35; height: 2.7em; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.z-price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.z-price .now { font-size: 18px; font-weight: 800; color: var(--z-ink); }
.z-price .was { font-size: 12px; color: var(--z-muted); text-decoration: line-through; }
.z-price .off { font-size: 12px; font-weight: 700; color: var(--z-deal); }
.z-pcard .meta { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--z-muted); }
.z-pcard .meta .stars { color: var(--z-ink); font-weight: 700; }
.z-pcard .meta .stars i { color: #ffb800; font-size: 11px; }
.z-pcard .ship { font-size: 12px; color: var(--z-brand-dark); font-weight: 600; }
.z-pcard .ship.partner { color: #3949ab; }
.z-pcard .quick { margin-top: auto; padding-top: 6px; }
.z-pcard .quick .z-btn { width: 100%; height: 34px; font-size: 13px; }

.z-stars { color: #ffb800; letter-spacing: 1px; }
.z-stars .off { color: #ddd; }

/* =====================================================================
   Listing (shop / search / category)
   ===================================================================== */
.z-crumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 13px; color: var(--z-muted); margin: 16px 0 10px; }
.z-crumbs a:hover { color: var(--z-brand-dark); }
.z-crumbs i { font-size: 10px; }

.z-listing { display: grid; grid-template-columns: 250px 1fr; gap: 18px; align-items: start; }
.z-filters { padding: 6px 0; position: sticky; top: 140px; max-height: calc(100vh - 160px); overflow: auto; }
.z-filter { padding: 12px 18px; border-bottom: 1px solid var(--z-line); }
.z-filter:last-child { border-bottom: 0; }
.z-filter h4 { font-size: 14px; margin: 0 0 10px; }
.z-filter a.opt { display: flex; justify-content: space-between; padding: 4px 0; font-size: 13.5px; }
.z-filter a.opt.active { color: var(--z-brand-dark); font-weight: 700; }
.z-filter a.opt small { color: var(--z-muted); }
.z-filter .range { display: flex; gap: 6px; align-items: center; }
.z-filter .range input { height: 36px; padding: 0 8px; font-size: 13px; }

.z-listhead { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; margin-bottom: 12px; flex-wrap: wrap; }
.z-listhead h1 { font-size: 20px; margin: 0; }
.z-sorts { display: flex; gap: 4px; flex-wrap: wrap; }
.z-sorts a { padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--z-text); }
.z-sorts a.active { background: var(--z-ink); color: #fff; }
.z-sorts a:not(.active):hover { background: #f2f2f2; }
.z-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.z-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--z-line); font-size: 13px; font-weight: 600; }
.z-chip:hover { border-color: var(--z-ink); }
.z-chip.on { background: var(--z-ink); border-color: var(--z-ink); color: #fff; }
.z-catintro { padding: 16px 18px; margin-bottom: 12px; }
.z-catintro p { margin: 0; color: var(--z-muted); }

.z-pagination { display: flex; justify-content: center; gap: 6px; margin: 22px 0; flex-wrap: wrap; }
.z-pagination a, .z-pagination span { min-width: 38px; height: 38px; padding: 0 12px; border-radius: 999px; background: #fff; display: flex; align-items: center; justify-content: center; font-weight: 600; box-shadow: var(--z-shadow); }
.z-pagination .active { background: var(--z-ink); color: #fff; }
.z-empty { text-align: center; padding: 60px 20px; }
.z-empty i { font-size: 48px; color: #ccc; margin-bottom: 14px; }

/* =====================================================================
   Product page
   ===================================================================== */
.z-pdp { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) 320px; gap: 18px; align-items: start; }
.z-gallery { padding: 16px; display: grid; grid-template-columns: 72px 1fr; gap: 12px; }
.z-gallery .thumbs { display: flex; flex-direction: column; gap: 8px; }
.z-gallery .thumbs button { border: 2px solid transparent; border-radius: 8px; padding: 0; overflow: hidden; background: #f6f6f6; aspect-ratio: 1; }
.z-gallery .thumbs button.active { border-color: var(--z-deal); }
.z-gallery .thumbs img { width: 100%; height: 100%; object-fit: cover; }
.z-gallery .main { aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: #f6f6f6; position: relative; cursor: zoom-in; }
.z-gallery .main img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s; }
.z-gallery .main.zoom img { transform: scale(1.8); }

.z-info { padding: 20px 22px; }
.z-info h1 { font-size: 22px; font-weight: 700; line-height: 1.35; }
.z-info .rating-line { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 13px; color: var(--z-muted); margin-bottom: 12px; }
.z-pricebox { background: linear-gradient(90deg, #fff0f2, #fff7f0); border-radius: 12px; padding: 14px 18px; margin: 12px 0 16px; }
.z-pricebox .now { font-size: 32px; font-weight: 800; color: var(--z-deal); line-height: 1.1; }
.z-pricebox .was { color: var(--z-muted); text-decoration: line-through; margin-left: 8px; }
.z-pricebox .off { background: var(--z-deal); color: #fff; font-weight: 700; font-size: 13px; border-radius: 4px; padding: 2px 6px; margin-left: 8px; vertical-align: 4px; }
.z-pricebox .tax { font-size: 12px; color: var(--z-muted); margin-top: 4px; }
.z-opts { margin-bottom: 16px; }
.z-opts h5 { font-size: 14px; margin: 0 0 8px; }
.z-opts h5 span { font-weight: 500; color: var(--z-muted); }
.z-opts .vals { display: flex; flex-wrap: wrap; gap: 8px; }
.z-opts label { cursor: pointer; }
.z-opts input { display: none; }
.z-opts label span { display: inline-block; padding: 7px 14px; border: 1px solid #d9d9d9; border-radius: 8px; font-weight: 600; font-size: 13px; }
.z-opts input:checked + span { border-color: var(--z-deal); color: var(--z-deal); background: var(--z-deal-soft); }
.z-qty { display: inline-flex; align-items: center; border: 1px solid #d9d9d9; border-radius: 999px; height: 40px; }
.z-qty button { width: 40px; height: 38px; border: 0; background: none; font-size: 16px; }
.z-qty input { width: 46px; border: 0; text-align: center; font: inherit; font-weight: 700; outline: none; }
.z-buyrow { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.z-buyrow .z-btn { flex: 1; min-width: 150px; height: 48px; }
.z-iconbtn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid #d9d9d9; background: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px; flex: 0 0 auto; }
.z-iconbtn.on { color: var(--z-deal); border-color: var(--z-deal); }

.z-side { display: flex; flex-direction: column; gap: 12px; }
.z-sidebox { padding: 16px 18px; }
.z-sidebox h4 { font-size: 14px; display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.z-sidebox .row-i { display: flex; gap: 12px; padding: 8px 0; font-size: 13px; border-bottom: 1px solid #f3f3f3; }
.z-sidebox .row-i:last-child { border-bottom: 0; }
.z-sidebox .row-i i { color: var(--z-brand-dark); width: 18px; margin-top: 3px; text-align: center; }
.z-sidebox .row-i b { color: var(--z-ink); display: block; }
.z-sidebox .row-i span { color: var(--z-muted); }
.z-fulfil { border-left: 4px solid var(--z-brand); }
.z-fulfil.partner { border-left-color: #3949ab; }
.z-fulfil.aff { border-left-color: var(--z-orange); }
.z-disclosure { font-size: 12px; color: var(--z-muted); background: #fafafa; border-radius: 8px; padding: 10px 12px; margin-top: 10px; }

.z-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--z-line); padding: 0 18px; overflow-x: auto; }
.z-tabs button { border: 0; background: none; padding: 14px 14px; font-weight: 700; color: var(--z-muted); border-bottom: 3px solid transparent; white-space: nowrap; }
.z-tabs button.active { color: var(--z-ink); border-bottom-color: var(--z-ink); }
.z-tabpane { display: none; padding: 20px 22px; }
.z-tabpane.active { display: block; }
.z-desc { max-width: 860px; font-size: 15px; line-height: 1.7; }
.z-desc h4 { margin-top: 18px; }
.z-desc ul { padding-left: 20px; }
.z-desc li { margin-bottom: 4px; }
.z-desc-imgs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; max-width: 860px; margin-top: 16px; }
.z-desc-imgs img { border-radius: 10px; }
.z-spec { width: 100%; max-width: 860px; border-collapse: collapse; }
.z-spec th, .z-spec td { padding: 10px 14px; border-bottom: 1px solid var(--z-line); text-align: left; font-size: 14px; }
.z-spec th { width: 240px; color: var(--z-muted); font-weight: 600; background: #fafafa; }
.z-review { padding: 14px 0; border-bottom: 1px solid var(--z-line); }
.z-review .who { display: flex; gap: 10px; align-items: center; font-weight: 600; color: var(--z-ink); font-size: 13px; }

/* =====================================================================
   Cart, checkout, account
   ===================================================================== */
.z-two { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 18px; align-items: start; }
.z-line { display: grid; grid-template-columns: 96px 1fr auto; gap: 14px; padding: 16px 18px; border-bottom: 1px solid var(--z-line); align-items: center; }
.z-line:last-child { border-bottom: 0; }
.z-line img { width: 96px; height: 96px; object-fit: cover; border-radius: 10px; background: #f6f6f6; }
.z-line .nm { font-weight: 600; color: var(--z-ink); line-height: 1.35; }
.z-line .op { font-size: 12px; color: var(--z-muted); margin-top: 2px; }
.z-line .pr { font-weight: 800; color: var(--z-ink); font-size: 16px; }
.z-line .rm { border: 0; background: none; color: var(--z-muted); font-size: 13px; padding: 0; }
.z-line .rm:hover { color: var(--z-deal); }
.z-summary { padding: 18px 20px; position: sticky; top: 140px; }
.z-summary .row-s { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14px; }
.z-summary .row-s.total { border-top: 1px solid var(--z-line); margin-top: 8px; padding-top: 14px; font-size: 18px; font-weight: 800; color: var(--z-ink); }
.z-progress { height: 6px; border-radius: 99px; background: #eee; overflow: hidden; margin: 6px 0 4px; }
.z-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--z-brand), #23c06f); }
.z-pay-opt { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid #ddd; border-radius: 10px; margin-bottom: 10px; cursor: pointer; }
.z-pay-opt:has(input:checked) { border-color: var(--z-brand); background: var(--z-brand-soft); }
.z-pay-opt input { accent-color: var(--z-brand); width: 18px; height: 18px; }
.z-pay-opt .lbl { flex: 1; }
.z-pay-opt .lbl b { display: block; color: var(--z-ink); }
.z-pay-opt .lbl small { color: var(--z-muted); }
.z-pay-opt .logos { display: flex; gap: 4px; font-size: 22px; color: #555; }
.z-step { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; }
.z-step span { width: 28px; height: 28px; border-radius: 50%; background: var(--z-ink); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; }
.z-step h3 { margin: 0; }
.z-box { padding: 20px 22px; margin-bottom: 16px; }

.z-acc { display: grid; grid-template-columns: 240px 1fr; gap: 18px; align-items: start; }
.z-acc-nav { padding: 10px 0; }
.z-acc-nav a { display: flex; gap: 12px; align-items: center; padding: 10px 20px; font-weight: 600; }
.z-acc-nav a.active { color: var(--z-brand-dark); background: var(--z-brand-soft); }
.z-table { width: 100%; border-collapse: collapse; }
.z-table th, .z-table td { padding: 12px 14px; border-bottom: 1px solid var(--z-line); text-align: left; font-size: 14px; }
.z-table th { color: var(--z-muted); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .4px; }
.z-status { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; text-transform: capitalize; }
.z-status.warning { background: #fff6e0; color: #a86b00; }
.z-status.info { background: #eef4ff; color: #1d4ed8; }
.z-status.primary { background: #ede9fe; color: #5b21b6; }
.z-status.success { background: #e8f5ee; color: #065c32; }
.z-status.danger { background: #fff0f2; color: #b4142a; }
.z-status.secondary { background: #f1f1f1; color: #555; }
.z-timeline { list-style: none; padding: 0; margin: 0; }
.z-timeline li { position: relative; padding: 0 0 16px 26px; }
.z-timeline li::before { content: ""; position: absolute; left: 6px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--z-brand); }
.z-timeline li::after { content: ""; position: absolute; left: 10px; top: 18px; bottom: 0; width: 2px; background: var(--z-line); }
.z-timeline li:last-child::after { display: none; }

/* Blog & pages */
.z-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.z-post-card { overflow: hidden; display: flex; flex-direction: column; }
.z-post-card img { aspect-ratio: 16/10; object-fit: cover; width: 100%; background: #f3f3f3; }
.z-post-card .b { padding: 16px 18px; }
.z-post-card h3 { font-size: 17px; }
.z-article { max-width: 820px; margin: 0 auto; padding: 28px 34px; font-size: 16px; line-height: 1.75; }
.z-article h1 { font-size: 30px; }
.z-article .cover { border-radius: 12px; margin: 16px 0 22px; width: 100%; aspect-ratio: 2/1; object-fit: cover; }
.z-page { max-width: 900px; margin: 0 auto; padding: 28px 34px; font-size: 15px; line-height: 1.75; }

/* Region picker */
.z-regions { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.z-region { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--z-line); border-radius: 10px; background: #fff; }
.z-region:hover { border-color: var(--z-ink); color: inherit; }
.z-region.current { border-color: var(--z-brand); background: var(--z-brand-soft); }
.z-region .fl { font-size: 24px; }
.z-region b { display: block; color: var(--z-ink); font-size: 14px; }
.z-region small { color: var(--z-muted); }
.z-modal { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 200; display: none; align-items: flex-start; justify-content: center; padding: 6vh 16px; overflow: auto; }
.z-modal.open { display: flex; }
.z-modal .dlg { background: #fff; border-radius: 16px; width: 100%; max-width: 860px; padding: 24px 26px; position: relative; }
.z-modal .x { position: absolute; top: 14px; right: 16px; border: 0; background: #f3f3f3; width: 34px; height: 34px; border-radius: 50%; font-size: 16px; }
.z-modal h3 { margin-bottom: 4px; }
.z-modal .lang-h { font-size: 12px; text-transform: uppercase; letter-spacing: .5px; color: var(--z-muted); font-weight: 700; margin: 18px 0 8px; }

/* Drawer */
.z-drawer-bg { position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 150; opacity: 0; pointer-events: none; transition: .2s; }
.z-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: 400px; max-width: 92vw; background: #fff; z-index: 160; transform: translateX(100%); transition: .25s; display: flex; flex-direction: column; }
.z-drawer.open { transform: none; }
.z-drawer.open + .z-drawer-bg, .z-drawer-bg.open { opacity: 1; pointer-events: auto; }
.z-drawer header { padding: 18px 20px; border-bottom: 1px solid var(--z-line); display: flex; justify-content: space-between; align-items: center; }
.z-drawer header h3 { margin: 0; }
.z-drawer .items { flex: 1; overflow: auto; }
.z-drawer .z-line { grid-template-columns: 64px 1fr; padding: 12px 20px; }
.z-drawer .z-line img { width: 64px; height: 64px; }
.z-drawer footer { padding: 16px 20px; border-top: 1px solid var(--z-line); display: grid; gap: 8px; }

/* Mobile menu */
.z-mmenu { position: fixed; top: 0; left: 0; bottom: 0; width: 300px; max-width: 86vw; background: #fff; z-index: 160; transform: translateX(-100%); transition: .25s; overflow: auto; }
.z-mmenu.open { transform: none; }
.z-mmenu a { display: flex; gap: 12px; align-items: center; padding: 12px 20px; border-bottom: 1px solid #f3f3f3; font-weight: 600; }
.z-mmenu a i { width: 20px; text-align: center; color: var(--z-muted); }

.z-bottomnav { display: none; }

/* Toast */
.z-toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 140%); opacity: 0; visibility: hidden; background: var(--z-ink); color: #fff; padding: 12px 20px; border-radius: 999px; z-index: 300; font-weight: 600; transition: .25s; box-shadow: 0 10px 30px rgba(0,0,0,.25); display: flex; align-items: center; gap: 10px; max-width: 92vw; }
.z-toast.show { transform: translate(-50%, 0); opacity: 1; visibility: visible; }
.z-toast i { color: #3ddc84; }

/* Footer */
.z-footer { background: #fff; margin-top: 36px; border-top: 1px solid var(--z-line); }
.z-footer .top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.3fr; gap: 28px; padding: 36px 0 24px; }
.z-footer h5 { font-size: 14px; margin-bottom: 12px; }
.z-footer ul { list-style: none; padding: 0; margin: 0; }
.z-footer li { margin-bottom: 8px; font-size: 13px; color: #555; }
.z-footer .about p { font-size: 13px; color: var(--z-muted); margin: 12px 0; }
.z-social { display: flex; gap: 8px; }
.z-social a { width: 36px; height: 36px; border-radius: 50%; background: #f3f3f3; display: flex; align-items: center; justify-content: center; font-size: 16px; }
.z-social a:hover { background: var(--z-ink); color: #fff; }
.z-newsletter { display: flex; gap: 6px; }
.z-newsletter input { flex: 1; min-width: 0; }
.z-footer .markets { border-top: 1px solid var(--z-line); padding: 16px 0; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12.5px; color: #555; }
.z-footer .markets a:hover { color: var(--z-brand-dark); }
.z-footer .bottom { background: #191919; color: #aaa; font-size: 12.5px; }
.z-footer .bottom .z-wrap { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; }
.z-paylogos { display: flex; gap: 8px; font-size: 26px; color: #ddd; align-items: center; }
.z-paylogos .txt { font-size: 11px; font-weight: 800; border: 1px solid #555; border-radius: 4px; padding: 2px 6px; color: #ddd; }

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 1280px) {
    .z-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .z-cattiles { grid-template-columns: repeat(7, 1fr); }
}
@media (max-width: 1180px) {
    .z-hero { grid-template-columns: 220px 1fr; }
    .z-hero .z-welcome { display: none; }
    .z-pdp { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .z-pdp .z-side { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); }
    .z-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .z-grid.cols-5 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .z-footer .top { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 960px) {
    .z-topbar nav .hide-md { display: none; }
    .z-header-main { gap: 10px; height: 64px; }
    .z-burger { display: block; }
    .z-search select { display: none; }
    .z-action .txt { display: none; }
    .z-hero { grid-template-columns: 1fr; }
    .z-sidecats { display: none; }
    .z-slider { min-height: 300px; }
    .z-slide { grid-template-columns: 1fr; padding: 28px; }
    .z-slide .imgs { display: none; }
    .z-trust { grid-template-columns: repeat(2, 1fr); }
    .z-cattiles { grid-template-columns: repeat(4, 1fr); }
    .z-promo-grid { grid-template-columns: 1fr; }
    .z-listing { grid-template-columns: 1fr; }
    .z-filters { position: fixed; inset: 0 auto 0 0; width: 300px; max-height: none; z-index: 170; border-radius: 0; transform: translateX(-100%); transition: .25s; top: 0; }
    .z-filters.open { transform: none; }
    .z-two, .z-acc { grid-template-columns: 1fr; }
    .z-summary { position: static; }
    .z-posts { grid-template-columns: 1fr 1fr; }
    .z-footer .top { grid-template-columns: 1fr 1fr; }
    .z-pdp .z-side { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
    body { padding-bottom: 62px; }
    .z-topbar .promo { display: none; }
    .z-logo img { height: 32px; }
    .z-header-main { flex-wrap: wrap; height: auto; padding: 8px 0; }
    .z-search { order: 3; flex-basis: 100%; max-width: none; }
    .z-search form { height: 40px; }
    .z-actions .wish-a { display: none; }
    .z-grid, .z-grid.cols-5, .z-grid.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .z-cattiles { grid-template-columns: repeat(4, 1fr); gap: 8px; }
    .z-cattile { padding: 10px 4px; }
    .z-cattile .ic { width: 56px; height: 56px; }
    .z-cattile span { font-size: 11.5px; }
    .z-slide h2 { font-size: 28px; }
    .z-pdp { grid-template-columns: 1fr; }
    .z-gallery { grid-template-columns: 1fr; }
    .z-gallery .thumbs { flex-direction: row; order: 2; overflow-x: auto; }
    .z-gallery .thumbs button { width: 60px; flex: 0 0 60px; }
    .z-pricebox .now { font-size: 28px; }
    .z-line { grid-template-columns: 72px 1fr; }
    .z-line img { width: 72px; height: 72px; }
    .z-line > :last-child { grid-column: 2; }
    .z-posts { grid-template-columns: 1fr; }
    .z-article, .z-page { padding: 20px; }
    .z-footer .top { grid-template-columns: 1fr; }
    .z-bottomnav {
        display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
        background: #fff; border-top: 1px solid var(--z-line); height: 60px;
    }
    .z-bottomnav a { display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 10.5px; gap: 2px; position: relative; color: #555; }
    .z-bottomnav a i { font-size: 19px; }
    .z-bottomnav .z-count { top: 4px; left: calc(50% + 4px); }
    .z-sticky-buy { position: fixed; bottom: 60px; left: 0; right: 0; background: #fff; padding: 8px 12px; z-index: 89; box-shadow: 0 -4px 16px rgba(0,0,0,.08); display: flex; gap: 8px; }
    .z-sticky-buy .z-btn { flex: 1; height: 44px; }
}
@media (min-width: 721px) { .z-sticky-buy { display: none; } }
@media (max-width: 960px) { .z-slide { padding-bottom: 48px; } .z-dots { left: 28px; } }
@media (max-width: 720px) {
    .z-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
    .z-chips::-webkit-scrollbar { display: none; }
    .z-chip { white-space: nowrap; }
    .z-listhead { padding: 10px 12px; }
    .z-sorts { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; width: 100%; }
}
.z-listing > *, .z-two > *, .z-acc > *, .z-pdp > * { min-width: 0; }
.z-sorts a, .z-sorts .z-chip { white-space: nowrap; flex-shrink: 0; }
