/*
Theme Name: Loopy Clone
Theme URI: https://195.72.185.110
Description: WooCommerce theme replicating the Loopy Cases storefront look.
Author: Codex
Version: 1.0.0
Text Domain: loopy
*/

/* ============ Fonts (self-hosted variable fonts) ============ */
@font-face { font-family: "Exo 2"; src: url("assets/fonts/Exo2-var.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Roboto"; src: url("assets/fonts/Roboto-var.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

/* ============ Tokens ============ */
:root {
  --green: #8fe8b3;
  --green-soft: #bdf3d3;
  --ink: #191919;
  --black: #000;
  --white: #fff;
  --line: #e5e5e5;
  --line-soft: #f0f0f0;
  --bg-soft: #f7f7f7;
  --bg-blue: #eff4ff;
  --pink: #f56a6b;
  --red: #e56565;
  --radius: 8px;
  --pill: 300px;
  --gutter: 16px;
  --font-body: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-head: "Exo 2", "Roboto", sans-serif;
  --shadow: 0 2px 12px rgba(0, 0, 0, .08);
}

@media (min-width: 720px) { :root { --gutter: 32px; } }
@media (min-width: 1200px) { :root { --gutter: 48px; } }

/* ============ Base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--black);
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: none; }
button { font-family: inherit; }
h1, h2, h3, h4, h5 { font-family: var(--font-head); font-weight: 400; margin: 0; line-height: 1.15; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
input, select, textarea { font-family: inherit; font-size: 15px; }

.container { max-width: 1680px; margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 960px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ============ Buttons ============ */
.btn, .button, button.button, input[type="submit"], .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 28px; min-height: 44px;
  border-radius: var(--pill); border: 1px solid transparent;
  background: var(--ink); color: var(--white);
  font-size: 16px; font-weight: 600; font-family: var(--font-body);
  cursor: pointer; text-align: center; line-height: 1.2;
  transition: background .18s ease, color .18s ease, border-color .18s ease, opacity .18s ease;
  text-transform: none;
}
.btn:hover, .button:hover, .woocommerce a.button:hover, .woocommerce button.button:hover { background: #000; color: #fff; }
.btn--green, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt, .woocommerce #respond input#submit.alt {
  background: var(--green); color: var(--ink);
}
.btn--green:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover { background: #7ada9f; color: var(--ink); }
.btn--ghost { background: transparent; color: var(--white); border-color: var(--white); }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--soft { background: var(--line-soft); color: var(--ink); }
.btn--soft:hover { background: #e6e6e6; color: var(--ink); }
.btn--block { width: 100%; }
.btn--sm { min-height: 36px; padding: 6px 18px; font-size: 14px; }
.link-underline { text-decoration: underline; text-underline-offset: 3px; font-weight: 500; }
.link-underline:visited { color: inherit; }
.link-green { color: #2f9e63; font-weight: 600; }

/* reset visited link colors coming from WP/global styles */
.announcement a:visited, .site-nav a:visited, .site-nav .sub-menu a:visited,
.drawer a:visited, .hero a:visited, .imt a:visited,
.cat-tile:visited, .trust-item a:visited { color: inherit; }

/* ============ Badges ============ */
.badge { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: var(--pill); font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; background: var(--green); color: var(--ink); }
.badge--dark { background: var(--ink); color: #fff; }
.badge--pink { background: #fbd2d8; color: #a1273b; }
.badge--off { background: #191919; color: #fff; letter-spacing: .02em; }

/* 促销条 */
.sale-banner { margin: 16px 0 4px; }
.sale-banner a {
  display: block; text-align: center; padding: 13px 20px; border-radius: 10px;
  background: var(--ink); color: #fff; font-size: 15px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
}
.sale-banner a:hover { color: var(--green); }
.sale-banner--home { margin: 0; padding: 0 var(--gutter); }
.sale-banner--home a { border-radius: 0; padding: 16px 20px; font-size: 16px; }

/* ============ Announcement bar ============ */
.site-topbar { position: sticky; top: 0; z-index: 90; background: #fff; border-bottom: 1px solid var(--line-soft); }
.announcement {
  background: var(--green);
  color: var(--ink);
  position: relative;
  z-index: 60;
}
.announcement__inner {
  display: flex; align-items: center; justify-content: center;
  min-height: 60px; padding: 8px var(--gutter);
  position: relative;
}
.announcement__viewport { overflow: hidden; position: relative; flex: 1 1 auto; max-width: 1100px; }
.announcement__slides { position: relative; min-height: 24px; }
.announcement__slide {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 700; text-align: center;
  opacity: 0; transition: opacity .45s ease;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.announcement__slide.is-active { opacity: 1; position: relative; }
.announcement__slide a { text-decoration: underline; text-underline-offset: 2px; }
.announcement__nav { background: none; border: 0; cursor: pointer; padding: 4px 10px; color: var(--ink); font-size: 18px; line-height: 1; }
.announcement__locale { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); font-size: 13px; font-weight: 500; display: flex; align-items: center; gap: 6px; }
@media (max-width: 900px) { .announcement__locale { display: none; } }

/* ============ Header ============ */
.site-header { background: var(--white); position: relative; z-index: 50; border-bottom: 1px solid transparent; }
.site-header__inner {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  gap: 24px; padding: 14px var(--gutter);
  min-height: 88px;
}
.site-header__left { display: flex; align-items: center; gap: 18px; }
.site-header__burger { display: none; background: none; border: 0; padding: 6px; cursor: pointer; }
.site-header__logo img { width: 132px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 4px; justify-self: center; }
.site-nav > li { position: relative; }
.site-nav > li > a, .site-nav > li > button {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; font-size: 17px; font-weight: 500; color: var(--black);
  background: none; border: 0; cursor: pointer;
  white-space: nowrap;
}
.site-nav > li > a:hover, .site-nav > li > button:hover { opacity: .65; }
.site-nav .chev { width: 10px; height: 10px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.site-nav .sub-menu {
  position: absolute; top: 100%; left: 0; min-width: 230px;
  background: #fff; border: 1px solid var(--line-soft); border-radius: 10px;
  box-shadow: var(--shadow); padding: 10px; z-index: 80;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s;
}
.site-nav li:hover > .sub-menu, .site-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.site-nav .sub-menu a { display: block; padding: 8px 12px; border-radius: 6px; font-size: 15px; }
.site-nav .sub-menu a:hover { background: var(--bg-soft); }
.site-header__actions { display: flex; align-items: center; gap: 6px; justify-self: end; }
.icon-btn { background: none; border: 0; padding: 8px; cursor: pointer; position: relative; color: var(--ink); display: inline-flex; }
.icon-btn svg { width: 22px; height: 22px; }
.icon-btn:hover { opacity: .65; }
.cart-count {
  position: absolute; top: 2px; right: 2px; min-width: 16px; height: 16px;
  background: var(--pink); color: #fff; border-radius: 99px;
  font-size: 10px; font-weight: 700; display: flex; align-items: center; justify-content: center;
  padding: 0 4px;
}
.site-header__signin { font-size: 16px; font-weight: 500; padding: 8px 10px; }

/* ============ 购物车抽屉 ============ */
.cart-drawer { position: fixed; inset: 0; z-index: 300; display: flex; justify-content: flex-end; }
.cart-drawer[hidden] { display: none; }
.cart-drawer__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .35); }
.cart-drawer__panel {
  position: relative; z-index: 1; display: flex; flex-direction: column;
  width: min(600px, 100%); height: 100%; background: #fff;
  box-shadow: -8px 0 30px rgba(0, 0, 0, .12);
  animation: cartDrawerIn .28s ease;
}
@keyframes cartDrawerIn { from { transform: translateX(24px); opacity: .6; } to { transform: none; opacity: 1; } }
.cart-drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 28px 14px; }
.cart-drawer__title { font-size: 30px; line-height: 1.2; }
.cart-drawer__close { border: 0; background: none; padding: 8px; cursor: pointer; color: var(--ink); line-height: 0; }
.cart-drawer__close svg { width: 24px; height: 24px; }
.cart-drawer__close:hover { opacity: .6; }
.cart-drawer__body { flex: 1; overflow-y: auto; padding: 6px 28px 32px; }
.cart-drawer__empty { text-align: center; padding: 60px 20px; }
.cart-drawer__empty p { font-size: 16px; line-height: 26px; margin: 0 auto 26px; max-width: 320px; color: var(--ink); }
.btn-pill {
  display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 8px 34px;
  border: 1px solid var(--ink); border-radius: var(--pill); background: #fff; color: var(--ink);
  font-family: inherit; font-size: 16px; font-weight: 600; cursor: pointer;
}
.btn-pill:hover { background: var(--bg-soft); }

/* 抽屉里的 mini-cart */
.cart-drawer .woocommerce-mini-cart { list-style: none; margin: 0; padding: 0; }
.cart-drawer .woocommerce-mini-cart-item { position: relative; display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--line-soft); font-size: 15px; }
.cart-drawer .woocommerce-mini-cart-item img { width: 76px; height: 101px; object-fit: cover; border-radius: 10px; flex-shrink: 0; }
.cart-drawer .woocommerce-mini-cart-item > a { display: flex; gap: 16px; align-items: flex-start; color: var(--ink); }
.cart-drawer .woocommerce-mini-cart-item .quantity { display: block; color: #737373; font-size: 14px; margin-top: 4px; }
.cart-drawer .woocommerce-mini-cart-item .remove {
  position: absolute; top: 18px; right: 0; width: 22px; height: 22px; line-height: 20px; text-align: center;
  border-radius: 50%; color: var(--ink) !important; background: var(--bg-soft); font-size: 16px; text-decoration: none;
}
.cart-drawer .woocommerce-mini-cart__total { display: flex; justify-content: space-between; font-size: 16px; font-weight: 600; padding: 18px 0; margin: 0; border-bottom: 1px solid var(--line-soft); }
.cart-drawer .woocommerce-mini-cart__buttons { display: flex; flex-direction: column; gap: 10px; margin: 20px 0 0; }
.cart-drawer .woocommerce-mini-cart__buttons a.button {
  display: flex; align-items: center; justify-content: center; min-height: 50px; border-radius: var(--pill);
  background: var(--green); color: var(--ink); font-size: 16px; font-weight: 600; text-decoration: none; border: 0;
}
.cart-drawer .woocommerce-mini-cart__buttons a.button:hover { background: #7ada9f; }
.cart-drawer .woocommerce-mini-cart__buttons a.button.checkout { background: var(--ink); color: #fff; }
.cart-drawer .woocommerce-mini-cart__buttons a.button.checkout:hover { opacity: .85; }

/* search overlay */
.search-overlay { position: fixed; inset: 0; background: rgba(25,25,25,.35); z-index: 200; display: none; }
.search-overlay.is-open { display: block; }
.search-overlay__panel { background: #fff; margin: 12vh auto 0; max-width: 640px; border-radius: 12px; padding: 26px; width: calc(100% - 32px); }
.search-overlay__panel form { display: flex; gap: 10px; }
.search-overlay__panel input[type="search"] { flex: 1; border: 1px solid var(--line); border-radius: var(--pill); padding: 12px 20px; }

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 190; pointer-events: none; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(25,25,25,.4); opacity: 0; transition: opacity .2s ease; }
.drawer__panel {
  position: absolute; top: 0; left: 0; bottom: 0; width: min(86vw, 380px);
  background: #fff; transform: translateX(-102%); transition: transform .22s ease;
  display: flex; flex-direction: column; overflow-y: auto; padding: 18px 22px 40px;
}
.drawer.is-open { pointer-events: auto; }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.drawer__close { background: none; border: 0; font-size: 26px; line-height: 1; cursor: pointer; padding: 4px 8px; }
.drawer nav a, .drawer nav button { display: flex; align-items: center; justify-content: space-between; width: 100%; text-align: left; padding: 14px 2px; font-size: 18px; font-weight: 500; border: 0; background: none; border-bottom: 1px solid var(--line-soft); cursor: pointer; }
.drawer .sub a { font-size: 16px; font-weight: 400; padding: 10px 2px 10px 14px; color: #444; }

/* ============ Home: hero ============ */
.hero { position: relative; overflow: hidden; height: clamp(280px, 23.5vw, 430px); }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__content {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  color: #fff; padding: 0 var(--gutter); gap: 14px;
}
.hero__title { font-size: clamp(22px, 2.25vw, 36px); font-weight: 400; letter-spacing: 0; }
.hero__sub { font-size: 16px; font-weight: 500; }
.hero__content .btn { margin-top: 8px; min-width: 181px; min-height: 48px; }
.hero::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.12); pointer-events: none; }
.hero__content, .hero__media { position: relative; z-index: 1; }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img { height: 100%; }

/* ============ Sections generic ============ */
.section { padding: clamp(32px, 4.4vw, 70px) 0; }
.section--tight { padding: clamp(14px, 2vw, 32px) 0; }
.section--flush { padding: 0; }
.section-title { font-size: clamp(28px, 2.9vw, 40px); text-align: center; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: clamp(20px, 2.5vw, 36px); }
.section-head .section-title { text-align: left; font-size: clamp(24px, 2.3vw, 32px); }

/* image_text rows */
.imt { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.imt__media img { width: 100%; border-radius: 10px; }
.imt__body { max-width: 560px; }
.imt__title { font-size: clamp(24px, 2.25vw, 32px); margin-bottom: 14px; }
.imt__text { font-size: 16px; color: #222; }
.imt--media-right .imt__media { order: 2; }
.imt--media-right .imt__body { order: 1; justify-self: end; }
.imt--wide { max-width: 1100px; margin-left: auto; margin-right: auto; column-gap: 28px; }
.imt .btn { min-height: 48px; padding: 8px 32px; }
.imt--wide-media { grid-template-columns: 1fr 2fr; }
.imt--wide-media-l { grid-template-columns: 2fr 1fr; }
.imt--half { grid-template-columns: 1fr 1fr; }
.imt--center { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.imt--center .imt__body { max-width: 720px; }
.imt__quote { font-size: 15px; color: #333; }
.imt .btn { margin-top: 10px; }

/* colored section variants */
.section--blue { background: var(--bg-blue); }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--ink); color: #fff; }
.section--dark .imt__text, .section--dark .imt__quote { color: #e8e8e8; }

/* image banner (full width media + overlay) */
.ibanner { position: relative; color: #fff; overflow: hidden; }
.ibanner__media img { width: 100%; height: clamp(320px, 44vw, 560px); object-fit: cover; }
.ibanner__content { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 16px; padding: 0 var(--gutter); }
.ibanner__content .container { padding: 0; width: 100%; }
.ibanner__title { font-size: clamp(28px, 3vw, 44px); max-width: 700px; }
.ibanner::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.28); }
.ibanner__content, .ibanner__media { position: relative; z-index: 1; }
.ibanner__media { position: absolute; inset: 0; z-index: 0; }
.ibanner__media img { height: 100%; }

/* ============ Product card ============ */
.pc { position: relative; }
.pc__media { position: relative; border-radius: 16px; overflow: hidden; background: #fff; }
.pc__link { display: block; }
.pc__media img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 16px; transition: opacity .7s cubic-bezier(.4, 0, .2, 1); }
.pc__media .pc__hover { position: absolute; top: 0; left: 0; height: 100%; opacity: 0; }
.pc:hover .pc__media .pc__img, .pc:focus-within .pc__media .pc__img { opacity: 0; }
.pc:hover .pc__media .pc__hover, .pc:focus-within .pc__media .pc__hover { opacity: 1; }
.pc__badges { position: absolute; top: 16px; left: 16px; display: flex; flex-direction: column; gap: 6px; z-index: 2; }
.pc__quick {
  position: absolute; left: 50%; bottom: 16px; z-index: 2;
  width: calc(100% - 32px); min-height: 48px;
  transform: translate(-50%, 80px);
  border-radius: 300px; border: 1px solid var(--green);
  background: var(--green); color: var(--ink);
  font-size: 16px; font-weight: 600; cursor: pointer;
  opacity: 0; pointer-events: none;
  transition: opacity .7s cubic-bezier(.4, 0, .2, 1), transform .7s cubic-bezier(.4, 0, .2, 1);
}
.pc:hover .pc__quick, .pc:focus-within .pc__quick { opacity: .95; transform: translate(-50%, 0); pointer-events: auto; }
.pc__quick:hover { background: #7ada9f; }
.pc__title { font-size: 14px; font-weight: 400; line-height: 1.5; margin: 16px 0 0; }
.pc__title a, .pc__title a:visited { color: var(--black); }
.pc__price { font-size: 16px; color: #737373; margin-top: 4px; }
.pc__price del { color: #999; margin-right: 6px; }
.pc__price ins { text-decoration: none; }

/* carousels */
.carousel { position: relative; }
.carousel__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 18px) / 4); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > * { scroll-snap-align: start; }
.carousel__nav { display: flex; gap: 6px; }
.carousel__nav button { width: 36px; height: 36px; border-radius: 99px; border: 1px solid var(--line); background: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.carousel__nav button:hover { border-color: var(--ink); }
@media (max-width: 1100px) { .carousel__track { grid-auto-columns: calc((100% - 2 * 14px) / 3); } }
@media (max-width: 820px) { .carousel__track { grid-auto-columns: calc((100% - 14px) / 2); } }
@media (max-width: 520px) { .carousel__track { grid-auto-columns: 76%; gap: 12px; } }

/* ============ Reviews wall ============ */
.reviews-wall { background: var(--bg-soft); }
.reviews-stars { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-bottom: 28px; }
.stars { display: inline-flex; gap: 2px; color: #0a8a4d; font-size: 22px; letter-spacing: 2px; }
.reviews-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(340px, 460px); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.reviews-track::-webkit-scrollbar { display: none; }
.review-card { scroll-snap-align: start; background: #fff; border: 1px solid var(--line-soft); border-radius: 10px; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.review-card__head { display: flex; gap: 12px; align-items: center; }
.review-card__avatar { width: 44px; height: 44px; border-radius: 99px; object-fit: cover; }
.review-card__name { font-weight: 700; font-size: 14px; }
.review-card__verified { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: #2f9e63; font-weight: 600; }
.review-card__title { font-weight: 700; font-size: 15px; }
.review-card__text { font-size: 14px; color: #333; flex: 1; }
.review-card__product { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.review-card__product img { width: 48px; height: 48px; object-fit: cover; border-radius: 8px; }
.review-card__product-name { font-size: 13px; }
.review-card__buy { font-size: 13px; font-weight: 700; color: #2f9e63; }
.review-card__buy:visited { color: #2f9e63; }
.review-card__buy:hover { text-decoration: underline; }

/* ============ Category tiles ============ */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.4vw, 32px); }
.cat-tile { text-align: center; }
.cat-tile__media { border-radius: 10px; overflow: hidden; background: var(--bg-soft); }
.cat-tile__media img { aspect-ratio: 1/1; object-fit: cover; width: 100%; transition: transform .35s ease; }
.cat-tile:hover .cat-tile__media img { transform: scale(1.04); }
.cat-tile__label { display: block; margin-top: 12px; font-size: 15px; }
@media (max-width: 900px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }

/* ============ Trust bar ============ */
.trust-bar { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.trust-bar__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.trust-item { display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 14px; font-weight: 500; padding: 6px 0; }
.trust-item img { width: 44px; height: 44px; object-fit: contain; }
@media (max-width: 900px) { .trust-bar__grid { grid-template-columns: repeat(2, 1fr); } .trust-item { justify-content: flex-start; } }

/* ============ Rich text ============ */
.richtext { text-align: center; max-width: 860px; margin: 0 auto; }
.richtext h2 { font-size: clamp(26px, 2.7vw, 40px); margin-bottom: 18px; }
.richtext p { font-size: clamp(17px, 1.5vw, 21px); color: #222; }
.hl { background: var(--green); padding: 0 6px; border-radius: 4px; }

/* ============ Newsletter ============ */
.newsletter { background: var(--bg-soft) url("assets/img/Group_7234.png") center/cover no-repeat; text-align: center; }
.newsletter__inner { max-width: 620px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.newsletter h2 { font-size: clamp(24px, 2.4vw, 34px); }
.newsletter p { color: #333; font-size: 15px; }
.newsletter form { display: flex; width: 100%; max-width: 560px; gap: 0; margin-top: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--pill); padding: 5px 5px 5px 20px; }
.newsletter input[type="email"] { flex: 1; border: 0; outline: none; background: transparent; font-size: 15px; }
.newsletter button { border-radius: var(--pill); border: 0; background: var(--green); color: var(--ink); font-weight: 700; padding: 10px 26px; cursor: pointer; }
.newsletter--success p { color: #2f9e63; font-weight: 600; }

/* ============ Footer ============ */
.site-footer { background: var(--ink); color: #f2f2f2; position: relative; overflow: hidden; }
.site-footer a { color: #f2f2f2; }
.site-footer a:hover { text-decoration: underline; }
.site-footer::after {
  content: ""; position: absolute; right: -80px; bottom: -140px; width: 560px; height: 560px;
  background: url("assets/img/Livello_1.png") center/contain no-repeat; opacity: .14; pointer-events: none;
}
.site-footer__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: clamp(22px, 3vw, 48px); padding: clamp(40px, 5vw, 72px) 0 28px; }
.site-footer__guarantee img { width: 150px; height: auto; border-radius: 8px; }
.site-footer h3 { font-family: var(--font-body); font-size: 15px; font-weight: 700; margin-bottom: 14px; }
.site-footer li { margin-bottom: 9px; font-size: 14px; color: #d9d9d9; }
.site-footer__social { display: flex; gap: 12px; margin-top: 18px; }
.site-footer__social a { display: inline-flex; width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.35); border-radius: 99px; align-items: center; justify-content: center; }
.site-footer__social svg { width: 16px; height: 16px; fill: #fff; }
.site-footer__bottom { position: relative; z-index: 1; border-top: 1px solid rgba(255,255,255,.14); display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; padding: 20px 0 34px; font-size: 12.5px; color: #bdbdbd; }
.site-footer__bottom a { color: #bdbdbd; }
.site-footer__country { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; color: #e8e8e8; }
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; } .site-footer__country { margin-left: 0; } }

/* ============ WooCommerce: archive ============ */
.shop-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 36px 0 22px; }
.shop-toolbar__left, .shop-toolbar__right { display: flex; align-items: center; gap: 12px; }
.shop-toolbar__left { gap: 56px; }
.shop-toolbar .sort-wrap { display: inline-flex; align-items: center; gap: 8px; }
.shop-toolbar .sort-label { font-size: 16px; }
.shop-toolbar .filter-btn, .shop-toolbar .device-btn { display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; font-size: 15px; font-weight: 500; cursor: pointer; padding: 6px 2px; }
.shop-toolbar .filter-btn { font-size: 16px; gap: 10px; }
.shop-toolbar .orderby { border: 0; background: none; font-size: 15px; font-weight: 500; appearance: none; cursor: pointer; padding-right: 14px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23000' fill='none' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right center; }
.shop-toolbar .orderby { font-size: 16px; }
.shop-toolbar .woocommerce-ordering { margin: 0; }
.shop-toolbar select[data-device-select] { appearance: none; -webkit-appearance: none; border: 1px solid #ccc; border-radius: 300px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23191919' fill='none' stroke-width='1.8'/%3E%3C/svg%3E") no-repeat right 22px center; padding: 12px 52px 12px 24px; font-size: 16px; font-weight: 500; min-height: 50px; cursor: pointer; }
.shop-filter { display: flex; flex-wrap: wrap; gap: 8px; padding: 2px 0 16px; }
.shop-filter[hidden] { display: none; }
.shop-filter a { border: 1px solid var(--line); border-radius: 99px; padding: 6px 14px; font-size: 13px; }
.shop-filter a:hover { border-color: var(--ink); }
.results-note { color: #666; font-size: 14px; }
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px 8px; }
@media (max-width: 1100px) { .products-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px) { .products-grid { grid-template-columns: repeat(2, 1fr); } }

.shop-stars { display: flex; align-items: center; justify-content: center; gap: 20px; padding: 10px 0 0; }
.shop-stars .stars { color: var(--green); font-size: 44px; letter-spacing: 6px; line-height: 1; }
.shop-stars .label { font-size: 28px; font-weight: 600; color: var(--ink); }
@media (max-width: 700px) {
  .shop-stars { flex-direction: column; gap: 4px; padding-top: 16px; }
  .shop-stars .stars { font-size: 30px; }
  .shop-stars .label { font-size: 20px; }
  .shop-toolbar { padding: 20px 0 16px; }
  .shop-toolbar__left { gap: 20px; }
  .shop-toolbar select[data-device-select] { min-height: 42px; padding: 8px 44px 8px 18px; font-size: 14px; }
}

.woo-pagination { display: flex; align-items: center; justify-content: center; gap: 18px; padding: 34px 0 10px; font-size: 14px; }
.woo-pagination .page-numbers { padding: 6px 10px; }
.woo-pagination .page-numbers.current { font-weight: 700; }
.woo-pagination a.page-numbers { border: 1px solid var(--line); border-radius: 99px; }
.woo-pagination a.next { padding: 8px 22px; border: 1px solid var(--ink); border-radius: var(--pill); font-weight: 600; }

/* ============ WooCommerce: single product ============ */
.pdp { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 52px); padding-top: 32px; align-items: start; }
.pdp__gallery { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; align-content: start; }
.pdp__tile { display: block; }
.pdp__gallery img.pdp-img, .pdp__gallery video { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 16px; background: #fff; }
.pdp__gallery video { cursor: pointer; }
.pdp__media-badges { position: absolute; top: 16px; left: 16px; z-index: 2; display: flex; flex-direction: column; gap: 6px; }
.pdp__title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 8px; }
.pdp__title { font-size: 32px; line-height: 1.2; font-weight: 400; }
.pdp__share { display: inline-flex; align-items: center; gap: 8px; padding: 8px 0; border: 0; background: none; font-family: inherit; font-size: 16px; color: var(--ink); cursor: pointer; }
.pdp__share:hover { opacity: .65; }
.pdp__desc { font-size: 16px; line-height: 24px; font-style: italic; color: #6c6c6c; margin-bottom: 8px; }
.pdp__price { font-size: 16px; font-weight: 400; margin: 10px 0 0; }
.pdp__price del { color: #999; margin-right: 6px; }
.pdp__price ins { text-decoration: none; }
.pdp__rating { display: flex; align-items: center; gap: 10px; font-size: 16px; margin: 11px 0 24px; }
.pdp__rating .stars { color: var(--green); font-size: 19px; letter-spacing: 3px; }
.pdp__rating a { color: var(--ink); text-decoration: underline; }
.pdp .variations_form { margin: 0; }
.pdp .variations { width: 100%; border: 0; margin: 0; }
.pdp .variations tbody, .pdp .variations tr, .pdp .variations th, .pdp .variations td { display: block; width: auto; }
.pdp .variations th { text-align: left; padding: 0 0 12px; }
.pdp .variations th.label { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.pdp .variations th.label label { font-size: 16px; font-weight: 700; color: var(--ink); }
.pdp .variations td { padding: 0 0 26px; }
.pdp .variations tr:last-child td { padding-bottom: 0; }
.pdp .variations select { width: 100%; height: 48px; border: 1px solid #f0f0f0; border-radius: 300px; padding: 8px 32px; font-family: inherit; font-size: 16px; color: var(--ink); appearance: none; cursor: pointer; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23191919' fill='none' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 26px center; }
.pdp .variations .reset_variations { display: none !important; }
.pdp__row--hidden { display: none !important; }
.pdp__select--hidden { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; padding: 0; border: 0; }
.pdp__sizeguide { border: 0; background: none; padding: 0; font-family: inherit; font-size: 16px; color: var(--ink); text-decoration: underline; cursor: pointer; }
.pdp__pills { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.pdp__pill { height: 44px; border: 1px solid #f0f0f0; border-radius: 300px; background: #fff; font-family: inherit; font-size: 16px; color: var(--ink); cursor: pointer; }
.pdp__pill.is-active { background: var(--green); border-color: var(--green); }
.pdp .woocommerce-variation-price, .pdp .woocommerce-variation-availability, .pdp .woocommerce-variation-description { display: none !important; }
.pdp .woocommerce-variation-add-to-cart { display: flex; flex-direction: column; align-items: stretch; }
.pdp__qtylabel { display: block; font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 12px; }
.pdp .quantity { display: inline-flex; align-items: center; align-self: flex-start; height: 50px; border: 1px solid #f0f0f0; border-radius: 300px; padding: 0 10px; margin-bottom: 40px; }
.pdp .quantity input.qty { width: 44px; height: 48px; border: 0; background: none; text-align: center; font-family: inherit; font-size: 16px; color: var(--ink); -moz-appearance: textfield; }
.pdp .quantity input.qty::-webkit-outer-spin-button, .pdp .quantity input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pdp .qty-btn { width: 30px; height: 48px; border: 0; background: none; font-size: 19px; line-height: 1; color: var(--ink); cursor: pointer; }
.pdp button.single_add_to_cart_button { width: 100%; min-height: 48px; border: 0; border-radius: 300px; background: var(--green); color: var(--ink); font-size: 16px; font-weight: 600; }
.pdp button.single_add_to_cart_button:hover:not(:disabled) { background: #7ada9f; }
.pdp button.single_add_to_cart_button:disabled, .pdp button.single_add_to_cart_button.disabled { background: #f0f0f0; color: #191919; opacity: 1; cursor: not-allowed; }
.woocommerce .pdp button.button.alt.single_add_to_cart_button { background: var(--green); color: var(--ink); border: 0; }
.woocommerce .pdp button.button.alt.single_add_to_cart_button:hover:not(:disabled) { background: #7ada9f; color: var(--ink); }
.woocommerce .pdp button.button.alt.single_add_to_cart_button.disabled,
.woocommerce .pdp button.button.alt.single_add_to_cart_button.wc-variation-selection-needed,
.woocommerce .pdp button.button.alt.single_add_to_cart_button:disabled { background: #f0f0f0; color: #191919; cursor: not-allowed; pointer-events: none; }
.pdp__trust { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 40px 0 0; padding: 0; }
.pdp__trust li { display: flex; align-items: center; gap: 8px; min-height: 44px; font-size: 18px; line-height: 1.2; }
.pdp__trust img { width: 44px; height: 44px; object-fit: contain; flex-shrink: 0; }
.pdp__accessories-link { font-size: 14px; font-weight: 500; text-decoration: underline; color: var(--ink); }
.stopdrop__text { max-width: 900px; font-size: 16px; line-height: 26px; color: #333; }
.pdp-sections .section-title { text-align: center; }

/* 商品细节（图 + 文） */
.pdp-case__inner { display: flex; flex-direction: column; gap: 24px; }
.pdp-case__title { font-size: 24px; margin-bottom: 12px; }
.pdp-case__body { font-size: 16px; line-height: 26px; color: #333; }
.pdp-case__body p { margin: 0 0 12px; }
.pdp-case__body ul { margin: 0 0 12px; padding-left: 20px; list-style: disc; }
.pdp-case__body a { text-decoration: underline; }
.pdp-case__img { width: 100%; height: auto; border-radius: 16px; }
@media (min-width: 720px) {
  .pdp-case__inner { flex-direction: row-reverse; align-items: center; justify-content: center; gap: 48px; }
  .pdp-case__media, .pdp-case__text { width: 50%; }
}

/* #StoptheDrop 版块（图左文右） */
.stopdrop__inner { display: flex; flex-direction: column; gap: 20px; }
.stopdrop__media img, .stopdrop__media video { width: 100%; height: auto; border-radius: 16px; display: block; }
.stopdrop__text p { font-size: 16px; line-height: 26px; color: #333; }
@media (min-width: 720px) {
  .stopdrop__inner { flex-direction: row; align-items: center; gap: 48px; }
  .stopdrop__media, .stopdrop__text { width: 50%; }
  .stopdrop__text .section-title { text-align: left; }
}

/* 多列版块配图（按原站各版块的长宽比，图片完整显示、居中） */
.benefit__media, .mind__media, .trust-col__media { position: relative; width: 100%; border-radius: 16px; overflow: hidden; margin-bottom: 18px; background: var(--bg-soft); }
.benefit__media { aspect-ratio: 1 / 1; }
.mind__media { aspect-ratio: 16 / 9; }
.trust-col__media { aspect-ratio: 750 / 446; }
.benefit__media img, .mind__media img, .trust-col__media img { position: absolute; top: 0; left: 50%; transform: translateX(-50%); height: 100%; width: auto; max-width: none; object-fit: cover; }
.benefit__media video, .mind__media video, .trust-col__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

/* PDP: sticky add-to-cart bar */
.sticky-atc { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: #fff; border-top: 1px solid var(--line-soft); padding: 12px 0; }
.sticky-atc[hidden] { display: none; }
.sticky-atc__inner { display: flex; align-items: center; gap: 24px; }
.sticky-atc__name { font-size: 24px; }
.sticky-atc__price { margin-left: auto; font-size: 24px; }
.sticky-atc__btn { min-width: 200px; height: 48px; border: 0; border-radius: 300px; background: var(--green); color: var(--ink); font-family: inherit; font-size: 16px; font-weight: 600; cursor: pointer; }

/* PDP: size guide modal */
.pdp-modal { position: fixed; inset: 0; z-index: 120; display: flex; align-items: center; justify-content: center; padding: 24px; }
.pdp-modal[hidden] { display: none; }
.pdp-modal__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .45); }
.pdp-modal__panel { position: relative; z-index: 1; width: min(520px, 100%); max-height: 80vh; overflow-y: auto; background: #fff; border-radius: 16px; padding: 26px 28px; }
.pdp-modal__panel h3 { font-family: var(--font-body); font-size: 20px; font-weight: 700; margin-bottom: 14px; }
.pdp-modal__list { list-style: none; margin: 0; padding: 0; }
.pdp-modal__list li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line-soft); font-size: 15px; }
.pdp-modal__list li:first-child { border-top: 0; }
.pdp-modal__close { position: absolute; top: 12px; right: 16px; border: 0; background: none; font-size: 26px; line-height: 1; cursor: pointer; color: var(--ink); }
.pdp__accessories { border: 1px solid var(--line-soft); border-radius: 12px; padding: 16px 18px; }
.pdp__accessories h3 { font-family: var(--font-body); font-size: 15px; font-weight: 700; margin-bottom: 12px; display: flex; justify-content: space-between; align-items: center; }
.acc-item { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line-soft); }
.acc-item:first-of-type { border-top: 0; }
.acc-item img { width: 54px; height: 54px; border-radius: 8px; object-fit: cover; background: var(--bg-soft); }
.acc-item__info { flex: 1; font-size: 13px; }
.acc-item__name { font-weight: 500; }
.acc-item__price { color: #333; }
.acc-item .btn { min-height: 34px; padding: 4px 16px; font-size: 13px; }

/* benefits + features */
.pdp-sections { margin-top: clamp(30px, 4vw, 60px); }
.benefits-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 2.6vw, 44px); }
.benefit { text-align: center; }
.benefit h4 { font-family: var(--font-body); font-size: 19px; font-weight: 400; margin-bottom: 16px; }
.benefit p { font-size: 16px; line-height: 26px; color: #333; margin: 0; }
@media (max-width: 1000px) { .benefits-grid { grid-template-columns: repeat(2, 1fr); } }
.mind-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 52px); }
.mind { text-align: center; }
.mind h4 { font-family: var(--font-body); font-size: 19px; font-weight: 400; margin-bottom: 16px; }
.mind p { font-size: 16px; line-height: 26px; color: #333; }
.trust-col { text-align: center; }
.trust-col h4 { font-family: var(--font-body); font-size: 19px; font-weight: 400; margin-bottom: 14px; }
.trust-col p { font-size: 16px; line-height: 26px; color: #333; margin: 0; }
.pdp-sections .trust-bar { border: 0; }
@media (max-width: 900px) { .mind-grid { grid-template-columns: 1fr; } }

/* reviews on PDP */
.pdp-reviews { display: grid; grid-template-columns: 300px 1fr; gap: 40px; }
.pdp-reviews__summary { text-align: center; }
.pdp-reviews__summary .big { font-size: 44px; font-family: var(--font-head); }
.pdp-reviews__summary .stars { font-size: 24px; }
.pdp-reviews__summary .count { font-size: 13px; color: #555; margin: 6px 0 16px; }
.review-row { border-top: 1px solid var(--line-soft); padding: 18px 0; }
.review-row__head { display: flex; align-items: center; gap: 10px; font-size: 13px; margin-bottom: 6px; }
.review-row__head .stars { font-size: 14px; }
.review-row__name { font-weight: 700; }
.review-row__verified { color: #2f9e63; font-weight: 600; font-size: 12px; }
.review-row h4 { font-family: var(--font-body); font-size: 15px; font-weight: 700; margin: 4px 0 6px; }
.review-row p { font-size: 14px; color: #333; }
@media (max-width: 820px) { .pdp-reviews { grid-template-columns: 1fr; } }

/* ============ WooCommerce: cart / checkout / account ============ */
.page-hero { padding: clamp(26px, 4vw, 56px) 0 8px; text-align: center; }
.page-hero h1 { font-size: clamp(30px, 3vw, 44px); }
.woocommerce-cart .woocommerce, .woocommerce-checkout .woocommerce, .woocommerce-account .woocommerce { padding-bottom: 70px; }
.woocommerce table.shop_table { border: 1px solid var(--line-soft); border-radius: 12px; border-collapse: separate; border-spacing: 0; overflow: hidden; width: 100%; }
.woocommerce table.shop_table th { background: var(--bg-soft); font-size: 14px; text-align: left; padding: 14px 16px; }
.woocommerce table.shop_table td { border-top: 1px solid var(--line-soft); padding: 16px; vertical-align: middle; }
.woocommerce .cart_item img { width: 74px; height: 74px; object-fit: cover; border-radius: 8px; margin-right: 14px; float: left; }
.woocommerce .quantity input.qty { width: 74px; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; }
.woocommerce .cart_totals { margin-top: 26px; }
.woocommerce .cart_totals table.shop_table { border: 0; }
.woocommerce .cart_totals h2 { font-family: var(--font-head); font-size: 24px; margin-bottom: 12px; }
.woocommerce .wc-proceed-to-checkout a.checkout-button { width: 100%; background: var(--green); color: var(--ink); border-radius: var(--pill); }
.woocommerce form.checkout_coupon, .woocommerce form.login, .woocommerce form.register, .woocommerce form.woocommerce-form { border: 1px solid var(--line-soft); border-radius: 12px; padding: 22px; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; width: 100%; }
.woocommerce-info, .woocommerce-message, .woocommerce-error { border-radius: 10px; border-top: 0; padding: 14px 18px 14px 44px; background: var(--bg-soft); position: relative; margin-bottom: 22px; list-style: none; font-size: 14.5px; }
.woocommerce-info::before, .woocommerce-message::before, .woocommerce-error::before { content: ""; position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; border-radius: 99px; background: var(--green); }
.woocommerce-message .button { float: right; }
/* 账号页的布局与样式见 assets/css/account.css */

/* ============ Stock / misc ============ */
.stock.out-of-stock { color: #b32; font-weight: 600; }
.onsale { display: none; }
.price del { color: #999; }
.price ins { text-decoration: none; }
.woocommerce-variation-availability { font-size: 13px; }

/* ============ Responsive: global layout ============ */
@media (max-width: 1000px) {
  .site-nav { display: none; }
  .site-header__burger { display: inline-flex; }
  .site-header__inner { grid-template-columns: auto 1fr auto; }
  .site-header__logo { justify-self: center; }
  .imt { grid-template-columns: 1fr; }
  .imt--media-right .imt__media { order: 0; }
  .imt--media-right .imt__body { order: 1; justify-self: start; }
  .pdp { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .hero__media img { height: 68vw; min-height: 320px; }
  .section { padding: 34px 0; }
  .products-grid { gap: 14px 12px; }
  .pc__quick { width: calc(100% - 16px); }
}

/* ============ Lookbook page ============ */
.lookbook-hero { text-align: center; padding: clamp(26px, 3vw, 46px) 0 6px; }
.lookbook-hero h1 { font-size: clamp(28px, 2.9vw, 40px); font-weight: 600; }
.lookbook-hero p { margin: 12px 0 0; font-size: 17px; }
.lookbook-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 3vw, 44px) 24px; padding: clamp(26px, 3vw, 42px) 0 clamp(44px, 5vw, 76px); }
.lookbook-card { display: flex; flex-direction: column; align-items: center; }
.lookbook-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 12px; }
.lookbook-card h3 { text-align: center; font-size: clamp(20px, 2.2vw, 32px); font-weight: 400; margin-top: clamp(16px, 1.8vw, 26px); }
.lookbook-card:hover img { opacity: .92; }
@media (max-width: 900px) { .lookbook-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .lookbook-grid { grid-template-columns: 1fr; } }

/* ============ Quick view modal ============ */
.qv { position: fixed; inset: 0; z-index: 400; display: none; }
.qv.is-open { display: block; }
.qv__scrim { position: absolute; inset: 0; background: rgba(25, 25, 25, .5); }
.qv__panel {
  position: relative; margin: 5vh auto; width: min(940px, calc(100vw - 40px)); max-height: 90vh;
  background: #fff; border-radius: 10px; overflow: hidden;
  display: grid; grid-template-columns: 1fr 1fr;
}
.qv__close { position: absolute; top: 10px; right: 14px; z-index: 3; background: none; border: 0; font-size: 30px; line-height: 1; cursor: pointer; color: var(--ink); }
.qv__gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 18px; align-content: start; overflow-y: auto; max-height: 90vh; background: #fff; }
.qv__gallery img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 8px; background: var(--bg-soft); }
.qv__info { padding: 34px 38px; overflow-y: auto; max-height: 90vh; }
.qv__title { font-size: clamp(24px, 2.4vw, 32px); }
.qv__price { font-size: 20px; margin: 10px 0 20px; }
.qv__group { margin-bottom: 18px; }
.qv__group h4 { font-family: var(--font-body); font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.qv__pills { display: flex; flex-wrap: wrap; gap: 8px; }
.qv__pills button { border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 300px; padding: 10px 18px; font-size: 14px; cursor: pointer; text-align: left; }
.qv__pills button.is-active { background: var(--green); border-color: var(--green); font-weight: 600; }
.qv__atc { width: 100%; margin-top: 6px; min-height: 52px; font-size: 17px; }
.qv__atc[disabled] { opacity: .45; cursor: not-allowed; }
.qv__full { display: block; margin-top: 14px; text-align: center; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 760px) {
  .qv__panel { grid-template-columns: 1fr; }
  .qv__gallery { display: none; }
  .qv__info { max-height: 84vh; }
}

/* ============ Filter drawer ============ */
.filter-drawer { position: fixed; inset: 0; z-index: 320; pointer-events: none; }
.filter-drawer__scrim { position: absolute; inset: 0; background: rgba(25, 25, 25, .35); opacity: 0; transition: opacity .2s ease; }
.filter-drawer__panel {
  position: absolute; top: 0; left: 0; bottom: 0; width: min(92vw, 380px);
  background: #fff; transform: translateX(-102%); transition: transform .24s ease;
  display: flex; flex-direction: column; box-shadow: 0 0 40px rgba(0,0,0,.12);
}
.filter-drawer.is-open { pointer-events: auto; }
.filter-drawer.is-open .filter-drawer__scrim { opacity: 1; }
.filter-drawer.is-open .filter-drawer__panel { transform: none; }
.filter-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; }
.filter-drawer__head h2 { font-size: 28px; font-family: var(--font-head); font-weight: 400; }
.filter-drawer__close { background: none; border: 0; font-size: 30px; line-height: 1; cursor: pointer; padding: 0 6px; color: var(--ink); }
.filter-drawer__body { flex: 1 1 auto; overflow-y: auto; }
.fd-group { border-top: 1px solid var(--line-soft); }
.fd-group__head {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 18px 24px; font-size: 17px; font-weight: 500; color: var(--ink);
  background: none; border: 0; cursor: pointer; text-align: left;
}
.fd-group__head .chev { width: 10px; height: 10px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg); transition: transform .15s ease; }
.fd-group.is-open .fd-group__head .chev { transform: rotate(225deg); }
.fd-group__body { display: none; padding: 0 24px 16px; }
.fd-group.is-open .fd-group__body { display: block; }
.fd-check { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: 15px; cursor: pointer; }
.fd-check input { width: 18px; height: 18px; accent-color: var(--ink); cursor: pointer; }
.filter-drawer__foot { display: flex; gap: 12px; padding: 14px 24px 20px; border-top: 1px solid var(--line-soft); background: #fff; }
.filter-drawer__foot .btn { flex: 1; }
.filter-drawer__foot .btn--outline { background: #fff; }
