/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ===== CSS VARIABLES ===== */
:root {
  --bg: #FAF8F5;
  --bg-alt: #F2EDE7;
  --bg-dark: #1E1510;
  --primary: #2C1810;
  --accent: #B8935A;
  --accent-light: #D4AF7A;
  --accent-pale: #F0E6D6;
  --text: #2C2C2C;
  --text-muted: #8B7D75;
  --text-light: #B5A99F;
  --border: #E8E0D8;
  --border-dark: #C8BDB4;
  --white: #FFFFFF;
  --error: #C0392B;
  --success: #27AE60;
  --shadow-sm: 0 2px 8px rgba(44,24,16,0.08);
  --shadow-md: 0 4px 20px rgba(44,24,16,0.12);
  --shadow-lg: 0 8px 40px rgba(44,24,16,0.16);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: 0.25s ease;
  --container: 1280px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5 {
  font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  font-weight: 500;
  line-height: 1.2;
  color: var(--primary);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; }
p { line-height: 1.7; }

/* ===== LAYOUT ===== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-8 { gap: 8px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }

/* ===== SECTION HEADER ===== */
.section-header { text-align: center; margin-bottom: 56px; }
.section-header .label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-header h2 { margin-bottom: 16px; }
.section-header p { color: var(--text-muted); max-width: 540px; margin: 0 auto; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 32px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
}
.btn-primary:hover { background: #3d221a; box-shadow: var(--shadow-md); }
.btn-accent {
  background: var(--accent);
  color: var(--white);
}
.btn-accent:hover { background: var(--accent-light); box-shadow: var(--shadow-md); }
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-outline-accent {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}
.btn-outline-accent:hover { background: var(--accent); color: var(--white); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  padding: 13px 16px;
}
.btn-ghost:hover { color: var(--accent); }
.btn-sm { padding: 9px 20px; font-size: 12px; }
.btn-lg { padding: 17px 44px; font-size: 14px; }
.btn-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ===== FORMS ===== */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.form-control {
  width: 100%;
  padding: 12px 16px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text);
  transition: var(--transition);
  outline: none;
}
.form-control:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(184,147,90,0.15); }
.form-control::placeholder { color: var(--text-light); }
.form-error { font-size: 12px; color: var(--error); margin-top: 4px; }
.form-hint { font-size: 12px; color: var(--text-muted); margin-top: 4px; }

/* ===== CARDS ===== */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card-body { padding: 24px; }
.card-footer { padding: 16px 24px; border-top: 1px solid var(--border); }

/* ===== BADGE ===== */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.badge-primary { background: var(--primary); color: var(--white); }
.badge-accent { background: var(--accent); color: var(--white); }
.badge-pale { background: var(--accent-pale); color: var(--accent); }
.badge-new { background: #27AE60; color: var(--white); }
.badge-sale { background: #E74C3C; color: var(--white); }

/* ===== DIVIDER ===== */
.divider { height: 1px; background: var(--border); margin: 32px 0; }
.divider-accent { height: 2px; width: 48px; background: var(--accent); }

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(250,248,245,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-top {
  background: var(--primary);
  color: rgba(255,255,255,0.85);
  text-align: center;
  padding: 8px 0;
  font-size: 12px;
  letter-spacing: 0.08em;
}
.header-top a { color: var(--accent-light); text-decoration: underline; }
.header-main { padding: 16px 0; }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.logo {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.logo span { color: var(--accent); }
.header-nav { display: flex; align-items: center; gap: 4px; justify-content: center; }
.header-nav a {
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}
.header-nav a:hover, .header-nav a.active { color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 4px; justify-content: flex-end; }
.header-btn {
  position: relative;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--text);
  transition: var(--transition);
}
.header-btn:hover { color: var(--accent); background: var(--accent-pale); }
.header-btn .count {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 16px;
  height: 16px;
  background: var(--accent);
  color: var(--white);
  border-radius: 50%;
  font-size: 9px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  display: none;
}
.header-btn .count.visible { display: flex; }

/* Mobile nav toggle */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 24px;
  cursor: pointer;
}
.burger span {
  display: block;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== MOBILE NAV ===== */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: var(--bg);
  padding: 32px 24px;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
}
.mobile-nav.open { display: flex; }
.mobile-nav-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--text-muted);
}
.mobile-nav a {
  padding: 14px 8px;
  font-size: 18px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  color: var(--primary);
  border-bottom: 1px solid var(--border);
}
.mobile-nav a:hover { color: var(--accent); }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--primary);
  color: rgba(255,255,255,0.75);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 24px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-logo span { color: var(--accent-light); }
.footer-desc { font-size: 13px; line-height: 1.8; margin-bottom: 24px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--accent); }
.footer-col h4 { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--white); margin-bottom: 20px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 13px; transition: var(--transition); }
.footer-col ul li a:hover { color: var(--accent-light); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 32px; font-size: 12px; }

/* ===== HERO BANNER ===== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #F2EDE7 0%, #EAE0D5 50%, #DDD0C0 100%);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 70% 50%, rgba(184,147,90,0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(44,24,16,0.06) 0%, transparent 50%);
}
.hero-content { position: relative; z-index: 1; max-width: 640px; }
.hero-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  padding: 6px 16px;
  background: var(--accent-pale);
  border-radius: 100px;
}
.hero h1 { margin-bottom: 24px; color: var(--primary); }
.hero p { font-size: 17px; color: var(--text-muted); margin-bottom: 40px; line-height: 1.8; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-image {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 50%;
  background: var(--bg-alt);
}
.hero-image img { width: 100%; height: 100%; object-fit: cover; }
.hero-image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, #E8DDD0 0%, #D4C4B0 100%);
}

/* ===== PRODUCTS GRID ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}
.product-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.product-img {
  position: relative;
  aspect-ratio: 1;
  background: var(--bg-alt);
  overflow: hidden;
}
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.product-card:hover .product-img img { transform: scale(1.05); }
.product-img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--bg-alt), #E0D5C8);
}
.product-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.product-actions {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  transform: translateX(8px);
  transition: var(--transition);
}
.product-card:hover .product-actions { opacity: 1; transform: translateX(0); }
.product-action-btn {
  width: 36px;
  height: 36px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  color: var(--text-muted);
  transition: var(--transition);
}
.product-action-btn:hover, .product-action-btn.active { color: var(--accent); }
.product-action-btn.favorite.active { color: #E74C3C; }
.product-info { padding: 16px; }
.product-brand { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.product-name { font-size: 14px; font-weight: 500; color: var(--primary); margin-bottom: 8px; line-height: 1.4; }
.product-price { display: flex; align-items: center; gap: 8px; }
.product-price .current { font-size: 16px; font-weight: 700; color: var(--primary); }
.product-price .old { font-size: 13px; color: var(--text-light); text-decoration: line-through; }
.product-price .discount { font-size: 11px; font-weight: 600; color: #E74C3C; }
.product-add-btn {
  width: 100%;
  margin-top: 12px;
  padding: 10px;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: var(--transition);
  opacity: 0;
  transform: translateY(4px);
}
.product-card:hover .product-add-btn { opacity: 1; transform: translateY(0); }
.product-add-btn:hover { background: var(--accent); }
.product-add-btn.in-cart { background: var(--accent); opacity: 1; transform: translateY(0); }

/* ===== BRANDS SECTION ===== */
.brands-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.brand-item {
  flex: 0 0 auto;
  padding: 24px 48px;
  border-right: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.brand-item:last-child { border-right: none; }
.brand-item:hover { background: var(--accent-pale); }
.brand-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: var(--transition);
}
.brand-item:hover .brand-name { color: var(--accent); }

.brands-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.brand-card {
  background: var(--white);
  padding: 40px 32px;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
}
.brand-card:hover { background: var(--accent-pale); }
.brand-card-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 8px;
}
.brand-card-count { font-size: 12px; color: var(--text-muted); }

/* ===== REVIEWS ===== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.review-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.review-card:hover { border-color: var(--accent); box-shadow: var(--shadow-sm); }
.review-stars { display: flex; gap: 4px; margin-bottom: 16px; }
.star { color: var(--accent); font-size: 14px; }
.review-text { font-size: 14px; color: var(--text); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.review-author { display: flex; align-items: center; gap: 12px; }
.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--accent);
  font-weight: 600;
  flex-shrink: 0;
}
.review-name { font-size: 13px; font-weight: 600; color: var(--primary); }
.review-date { font-size: 11px; color: var(--text-muted); }

/* ===== BLOG ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}
.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.blog-img {
  aspect-ratio: 16/10;
  background: var(--bg-alt);
  overflow: hidden;
}
.blog-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.blog-card:hover .blog-img img { transform: scale(1.05); }
.blog-img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--bg-alt), #E0D5C8);
}
.blog-body { padding: 24px; }
.blog-meta { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; }
.blog-cat { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.blog-date { font-size: 12px; color: var(--text-muted); }
.blog-title { font-size: 17px; font-weight: 600; color: var(--primary); margin-bottom: 10px; line-height: 1.4; }
.blog-card:hover .blog-title { color: var(--accent); }
.blog-excerpt { font-size: 13px; color: var(--text-muted); line-height: 1.7; margin-bottom: 16px; }
.blog-read-more { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); display: flex; align-items: center; gap: 8px; }

/* ===== FAQ ===== */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  color: var(--primary);
  transition: var(--transition);
}
.faq-question:hover { color: var(--accent); }
.faq-icon { width: 24px; height: 24px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: var(--accent); font-size: 20px; transition: transform var(--transition); }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { display: none; padding: 0 0 20px; font-size: 14px; color: var(--text-muted); line-height: 1.8; }
.faq-item.open .faq-answer { display: block; }

/* ===== ABOUT SECTION ===== */
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-img {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--bg-alt);
}
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, #E8DDD0 0%, #D4C4B0 100%);
}
.brand-img-placeholder {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bg-alt), #E0D5C8);
  margin: 0 auto 12px;
}
.about-img-badge {
  position: absolute;
  bottom: 32px;
  right: -16px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.about-img-badge .num { font-size: 28px; font-weight: 700; color: var(--accent); font-family: 'Cormorant Garamond', Georgia, serif; }
.about-img-badge .txt { font-size: 11px; color: var(--text-muted); }
.about-content .label { font-size: 12px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; display: block; }
.about-content h2 { margin-bottom: 20px; }
.about-content p { color: var(--text-muted); margin-bottom: 16px; }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 32px 0; }
.stat-item { text-align: center; padding: 20px; background: var(--bg-alt); border-radius: var(--radius-md); }
.stat-num { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 32px; font-weight: 600; color: var(--accent); }
.stat-label { font-size: 12px; color: var(--text-muted); margin-top: 4px; }

/* ===== PRIVILEGE PROGRAM ===== */
.privilege-tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tier-card {
  border-radius: var(--radius-md);
  padding: 28px 24px;
  text-align: center;
  border: 2px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.tier-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}
.tier-bronze::before { background: #CD7F32; }
.tier-silver::before { background: #A8A9AD; }
.tier-gold::before { background: #D4AF37; }
.tier-platinum::before { background: #E5E4E2; }
.tier-card.current { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(184,147,90,0.1); }
.tier-icon { font-size: 36px; margin-bottom: 12px; }
.tier-name { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 22px; font-weight: 600; margin-bottom: 8px; }
.tier-discount { font-size: 32px; font-weight: 700; color: var(--accent); margin-bottom: 4px; }
.tier-threshold { font-size: 12px; color: var(--text-muted); margin-bottom: 16px; }
.tier-benefits { font-size: 13px; color: var(--text-muted); line-height: 1.8; }

.privilege-progress { max-width: 540px; margin: 40px auto 0; }
.progress-bar { height: 8px; background: var(--border); border-radius: 100px; overflow: hidden; margin: 12px 0; }
.progress-fill { height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-light)); border-radius: 100px; transition: width 0.6s ease; }

/* ===== CATALOG PAGE ===== */
.catalog-layout { display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: start; }
.catalog-sidebar { position: sticky; top: 100px; }
.filter-section { margin-bottom: 32px; }
.filter-title { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--primary); margin-bottom: 16px; }
.filter-option { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; cursor: pointer; }
.filter-checkbox {
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--border-dark);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}
.filter-option:hover .filter-checkbox, .filter-option.checked .filter-checkbox {
  border-color: var(--accent);
  background: var(--accent);
}
.filter-option.checked .filter-checkbox::after { content: '✓'; color: white; font-size: 11px; }
.filter-option-label { font-size: 14px; color: var(--text); }
.filter-count { font-size: 11px; color: var(--text-light); margin-left: auto; }
.price-range { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.catalog-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; flex-wrap: wrap; gap: 12px; }
.search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  min-width: 280px;
}
.search-bar input { border: none; background: none; outline: none; font-size: 14px; flex: 1; color: var(--text); }
.catalog-count { font-size: 13px; color: var(--text-muted); }
.sort-select {
  padding: 10px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-size: 13px;
  color: var(--text);
  outline: none;
  cursor: pointer;
}
.sort-select:focus { border-color: var(--accent); }

/* ===== SERVICES ===== */
.services-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.services-table th {
  background: var(--primary);
  color: var(--white);
  padding: 16px 24px;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.services-table td { padding: 16px 24px; border-bottom: 1px solid var(--border); font-size: 14px; }
.services-table tr:last-child td { border-bottom: none; }
.services-table tr:hover td { background: var(--bg-alt); }
.services-table .price { font-weight: 700; color: var(--accent); white-space: nowrap; }
.service-category { background: var(--accent-pale); }
.service-category td { font-weight: 700; color: var(--accent); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }

/* ===== ACCOUNT ===== */
.account-layout { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: start; }
.account-sidebar { background: var(--white); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); position: sticky; top: 100px; }
.account-user { padding: 28px 24px; border-bottom: 1px solid var(--border); }
.account-avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--accent-pale); display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 700; color: var(--accent); margin-bottom: 12px; }
.account-username { font-weight: 600; color: var(--primary); margin-bottom: 2px; }
.account-email { font-size: 12px; color: var(--text-muted); }
.account-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  font-size: 14px;
  color: var(--text);
  border-left: 3px solid transparent;
  transition: var(--transition);
}
.account-nav a:hover { background: var(--bg-alt); color: var(--accent); }
.account-nav a.active { background: var(--accent-pale); color: var(--accent); border-left-color: var(--accent); font-weight: 600; }
.account-nav a svg { width: 18px; height: 18px; flex-shrink: 0; }

.account-content { background: var(--white); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.account-section { padding: 32px; border-bottom: 1px solid var(--border); }
.account-section:last-child { border-bottom: none; }
.account-section-title { font-size: 18px; font-weight: 600; color: var(--primary); margin-bottom: 24px; font-family: 'Cormorant Garamond', Georgia, serif; }

/* ===== ORDERS ===== */
.order-item { padding: 20px 0; border-bottom: 1px solid var(--border); }
.order-item:last-child { border-bottom: none; }
.order-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.order-id { font-size: 13px; font-weight: 600; color: var(--text-muted); }
.order-date { font-size: 12px; color: var(--text-light); }
.order-status { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 100px; }
.order-status.delivered { background: rgba(39,174,96,0.1); color: var(--success); }
.order-status.processing { background: rgba(184,147,90,0.1); color: var(--accent); }
.order-status.shipped { background: rgba(52,152,219,0.1); color: #3498DB; }
.order-products { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.order-product-thumb { width: 60px; height: 60px; border-radius: var(--radius-sm); background: var(--bg-alt); overflow: hidden; }
.order-product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.order-footer { display: flex; align-items: center; justify-content: space-between; }
.order-total { font-weight: 700; color: var(--primary); }

/* ===== CHECKOUT ===== */
.checkout-layout { display: grid; grid-template-columns: 1fr 420px; gap: 40px; align-items: start; }
.checkout-form-block { background: var(--white); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); margin-bottom: 24px; }
.checkout-block-title { padding: 20px 28px; border-bottom: 1px solid var(--border); font-size: 16px; font-weight: 600; color: var(--primary); display: flex; align-items: center; gap: 10px; }
.checkout-block-title .step-num { width: 28px; height: 28px; background: var(--accent); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; flex-shrink: 0; }
.checkout-block-body { padding: 28px; }
.checkout-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.delivery-options { display: flex; flex-direction: column; gap: 12px; }
.delivery-option {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
}
.delivery-option.selected { border-color: var(--accent); background: rgba(184,147,90,0.05); }
.delivery-option input[type=radio] { display: none; }
.delivery-radio {
  width: 20px;
  height: 20px;
  border: 2px solid var(--border-dark);
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
  transition: var(--transition);
}
.delivery-option.selected .delivery-radio { border-color: var(--accent); }
.delivery-option.selected .delivery-radio::after { content: ''; width: 10px; height: 10px; background: var(--accent); border-radius: 50%; }
.delivery-option-name { font-size: 14px; font-weight: 600; color: var(--primary); }
.delivery-option-desc { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.delivery-option-price { font-size: 14px; font-weight: 700; color: var(--accent); margin-left: auto; flex-shrink: 0; }

.payment-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.payment-option {
  padding: 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  text-align: center;
  transition: var(--transition);
}
.payment-option.selected { border-color: var(--accent); background: rgba(184,147,90,0.05); }
.payment-option-icon { font-size: 28px; margin-bottom: 8px; }
.payment-option-name { font-size: 12px; font-weight: 600; color: var(--text); }

/* Order Summary */
.order-summary { background: var(--white); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); position: sticky; top: 100px; }
.order-summary-header { padding: 20px 24px; border-bottom: 1px solid var(--border); font-size: 16px; font-weight: 600; color: var(--primary); }
.order-summary-items { padding: 20px 24px; max-height: 360px; overflow-y: auto; }
.summary-item { display: flex; gap: 12px; margin-bottom: 16px; }
.summary-item:last-child { margin-bottom: 0; }
.summary-item-img { width: 56px; height: 56px; border-radius: var(--radius-sm); background: var(--bg-alt); overflow: hidden; flex-shrink: 0; }
.summary-item-img img { width: 100%; height: 100%; object-fit: cover; }
.summary-item-name { font-size: 13px; font-weight: 500; color: var(--primary); margin-bottom: 4px; line-height: 1.4; }
.summary-item-brand { font-size: 11px; color: var(--text-muted); }
.summary-item-price { font-size: 14px; font-weight: 700; color: var(--primary); margin-left: auto; flex-shrink: 0; }
.order-summary-totals { padding: 20px 24px; border-top: 1px solid var(--border); }
.total-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-size: 14px; }
.total-row .label { color: var(--text-muted); }
.total-row.grand { border-top: 1px solid var(--border); padding-top: 14px; margin-top: 14px; font-size: 17px; font-weight: 700; color: var(--primary); }
.promo-code-section { padding: 0 24px 20px; }
.promo-input-row { display: flex; gap: 10px; }
.promo-input-row input { flex: 1; }
.promo-message { font-size: 12px; margin-top: 8px; }
.promo-message.success { color: var(--success); }
.promo-message.error { color: var(--error); }

/* Cart sidebar */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 3000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.cart-overlay.open { opacity: 1; visibility: visible; }
.cart-panel {
  position: fixed;
  top: 0;
  right: -480px;
  width: 480px;
  max-width: 100vw;
  height: 100vh;
  background: var(--bg);
  z-index: 3001;
  display: flex;
  flex-direction: column;
  transition: right 0.35s ease;
  box-shadow: -4px 0 40px rgba(0,0,0,0.2);
}
.cart-panel.open { right: 0; }
.cart-panel-header { padding: 24px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; background: var(--white); }
.cart-panel-title { font-size: 18px; font-weight: 600; color: var(--primary); }
.cart-panel-close { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 50%; color: var(--text-muted); transition: var(--transition); }
.cart-panel-close:hover { background: var(--bg-alt); color: var(--text); }
.cart-panel-items { flex: 1; overflow-y: auto; padding: 20px; }
.cart-item { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.cart-item:last-child { border-bottom: none; }
.cart-item-img { width: 72px; height: 72px; border-radius: var(--radius-sm); background: var(--bg-alt); overflow: hidden; flex-shrink: 0; }
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; }
.cart-item-brand { font-size: 11px; color: var(--accent); font-weight: 600; }
.cart-item-name { font-size: 13px; font-weight: 500; color: var(--primary); margin: 4px 0; }
.cart-item-price { font-size: 15px; font-weight: 700; color: var(--primary); }
.cart-item-qty { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.qty-btn { width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 16px; color: var(--text-muted); transition: var(--transition); }
.qty-btn:hover { border-color: var(--accent); color: var(--accent); }
.qty-num { font-size: 14px; font-weight: 600; min-width: 20px; text-align: center; }
.cart-item-remove { color: var(--text-light); transition: var(--transition); align-self: flex-start; padding: 4px; }
.cart-item-remove:hover { color: var(--error); }
.cart-panel-footer { padding: 20px; border-top: 1px solid var(--border); background: var(--white); }
.cart-total-row { display: flex; justify-content: space-between; font-size: 16px; font-weight: 700; color: var(--primary); margin-bottom: 16px; }
.cart-empty { text-align: center; padding: 60px 20px; color: var(--text-muted); }
.cart-empty-icon { font-size: 48px; margin-bottom: 16px; }

/* Auth modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  width: 100%;
  max-width: 440px;
  box-shadow: var(--shadow-lg);
  transform: scale(0.95) translateY(-10px);
  transition: var(--transition);
}
.modal-overlay.open .modal { transform: scale(1) translateY(0); }
.modal-title { font-size: 24px; margin-bottom: 8px; }
.modal-subtitle { font-size: 14px; color: var(--text-muted); margin-bottom: 32px; }
.modal-tabs { display: flex; gap: 4px; margin-bottom: 28px; background: var(--bg-alt); padding: 4px; border-radius: var(--radius-sm); }
.modal-tab { flex: 1; padding: 10px; text-align: center; font-size: 13px; font-weight: 600; border-radius: var(--radius-sm); transition: var(--transition); color: var(--text-muted); cursor: pointer; }
.modal-tab.active { background: var(--white); color: var(--primary); box-shadow: var(--shadow-sm); }
.modal-close { position: absolute; top: 16px; right: 16px; }

/* Toast notifications */
.toast-container { position: fixed; bottom: 24px; right: 24px; z-index: 9000; display: flex; flex-direction: column; gap: 10px; }
.toast {
  background: var(--primary);
  color: var(--white);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateX(120%);
  transition: transform 0.3s ease;
  max-width: 320px;
}
.toast.show { transform: translateX(0); }
.toast.success { background: var(--success); }
.toast.error { background: var(--error); }
.toast.info { background: var(--accent); }

/* ===== BREADCRUMB ===== */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-muted); padding: 20px 0; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb-sep { color: var(--text-light); }

/* ===== PAGE HERO ===== */
.page-hero { background: var(--bg-alt); padding: 64px 0 48px; margin-bottom: 0; text-align: center; }
.page-hero .label { font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; display: block; }
.page-hero h1 { margin-bottom: 16px; }
.page-hero p { color: var(--text-muted); max-width: 520px; margin: 0 auto; }

/* ===== INFO BLOCKS ===== */
.info-block { background: var(--white); border-radius: var(--radius-md); padding: 32px; box-shadow: var(--shadow-sm); }
.info-block + .info-block { margin-top: 24px; }
.info-block h3 { margin-bottom: 16px; font-size: 20px; }
.info-block p, .info-block li { font-size: 14px; color: var(--text-muted); line-height: 1.8; }
.info-block ul { padding-left: 20px; }
.info-block ul li { list-style: disc; margin-bottom: 6px; }
.info-icon-list { display: flex; flex-direction: column; gap: 20px; }
.info-icon-item { display: flex; align-items: flex-start; gap: 16px; }
.info-icon { width: 48px; height: 48px; background: var(--accent-pale); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.info-icon-content h4 { font-size: 15px; font-weight: 600; margin-bottom: 4px; color: var(--primary); }
.info-icon-content p { font-size: 13px; color: var(--text-muted); }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, #3d221a 100%);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 64px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(184,147,90,0.2) 0%, transparent 70%);
}
.cta-banner .label { color: var(--accent-light); margin-bottom: 12px; display: block; font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase; font-weight: 600; }
.cta-banner h2 { color: var(--white); margin-bottom: 16px; }
.cta-banner p { color: rgba(255,255,255,0.7); max-width: 480px; margin: 0 auto 32px; }

/* ===== CERTIFICATES ===== */
.certs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cert-card { background: var(--white); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); cursor: pointer; transition: var(--transition); }
.cert-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.cert-img { aspect-ratio: 3/4; background: var(--bg-alt); display: flex; align-items: center; justify-content: center; font-size: 48px; }
.cert-name { padding: 12px 16px; font-size: 13px; font-weight: 500; color: var(--text-muted); }

/* ===== RESULTS ===== */
.results-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.result-card { border-radius: var(--radius-md); overflow: hidden; background: var(--white); box-shadow: var(--shadow-sm); }
.result-img { aspect-ratio: 1; background: var(--bg-alt); display: flex; align-items: center; justify-content: center; font-size: 48px; }
.result-info { padding: 16px; }
.result-label { font-size: 12px; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 6px; }
.result-desc { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* ===== CONTACTS ===== */
.contacts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-card { background: var(--white); border-radius: var(--radius-md); padding: 32px; box-shadow: var(--shadow-sm); }
.contact-item { display: flex; align-items: flex-start; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.contact-item:last-child { border-bottom: none; }
.contact-icon { width: 44px; height: 44px; background: var(--accent-pale); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.contact-label { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 4px; }
.contact-value { font-size: 15px; font-weight: 500; color: var(--primary); }
.contact-value a:hover { color: var(--accent); }
.map-placeholder { background: var(--bg-alt); border-radius: var(--radius-md); height: 320px; display: flex; align-items: center; justify-content: center; font-size: 48px; }

/* ===== TELEGRAM CTA ===== */
.tg-cta {
  background: linear-gradient(135deg, #229ED9 0%, #1E8DC5 100%);
  border-radius: var(--radius-xl);
  padding: 48px;
  display: flex;
  align-items: center;
  gap: 32px;
  color: white;
  margin-top: 40px;
}
.tg-icon { font-size: 64px; flex-shrink: 0; }
.tg-content h3 { font-size: 24px; color: white; margin-bottom: 8px; }
.tg-content p { color: rgba(255,255,255,0.85); margin-bottom: 20px; }
.btn-tg { background: white; color: #229ED9; }
.btn-tg:hover { background: rgba(255,255,255,0.9); }

/* ===== EMPTY STATE ===== */
.empty-state { text-align: center; padding: 80px 20px; }
.empty-state-icon { font-size: 64px; margin-bottom: 20px; }
.empty-state h3 { font-size: 22px; margin-bottom: 10px; }
.empty-state p { color: var(--text-muted); margin-bottom: 28px; }

/* ===== PAGINATION ===== */
.pagination { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 48px; }
.page-btn { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius-sm); font-size: 14px; font-weight: 500; color: var(--text); border: 1.5px solid var(--border); transition: var(--transition); }
.page-btn:hover, .page-btn.active { border-color: var(--accent); color: var(--accent); background: var(--accent-pale); }

/* ===== LOADING ===== */
.loading { display: flex; align-items: center; justify-content: center; padding: 60px; }
.spinner { width: 32px; height: 32px; border: 3px solid var(--border); border-top-color: var(--accent); border-radius: 50%; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== UTILS ===== */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-muted { color: var(--text-muted); }
.text-accent { color: var(--accent); }
.text-primary { color: var(--primary); }
.mt-4 { margin-top: 4px; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-4 { margin-bottom: 4px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.hidden { display: none !important; }
.visible { display: block !important; }
.w-full { width: 100%; }
.italic { font-style: italic; }
.fw-600 { font-weight: 600; }

/* ===== BREADCRUMB ===== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--text-muted); transition: var(--transition); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: var(--text-muted); }
.breadcrumb-sep { margin: 0 2px; }

/* ===== PRODUCT DETAIL PAGE ===== */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.product-detail-image {
  position: sticky;
  top: 100px;
}
.product-detail-img-wrap {
  aspect-ratio: 1;
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 120px;
  margin-bottom: 16px;
}
.product-detail-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.product-detail-brand {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 12px;
  transition: var(--transition);
}
.product-detail-brand:hover { color: var(--accent-light); }
.product-detail-name {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 8px;
}
.product-detail-volume {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.product-detail-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.product-detail-price .current {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--primary);
}
.product-detail-price .old {
  font-size: 1.1rem;
  color: var(--text-muted);
  text-decoration: line-through;
}
.product-detail-price .discount {
  font-size: 12px;
  font-weight: 600;
  background: #E74C3C;
  color: white;
  padding: 3px 9px;
  border-radius: 4px;
}

/* Variant selector */
.variants-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.product-variants {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.variant-btn {
  min-width: 52px;
  height: 44px;
  padding: 0 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  background: var(--white);
  transition: var(--transition);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
  text-align: center;
}
.variant-btn:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
.variant-btn.selected { border-color: var(--primary); background: var(--primary); color: var(--white); }
.variant-btn.out-of-stock { opacity: 0.4; cursor: not-allowed; text-decoration: line-through; }
.variant-btn small { font-size: 10px; opacity: 0.7; }
.variants-section { margin-bottom: 28px; }

/* Actions row */
.product-detail-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 28px;
}
.product-detail-actions .btn-primary { flex: 1; }
.fav-toggle-btn {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  background: var(--white);
  flex-shrink: 0;
}
.fav-toggle-btn:hover { border-color: #e74c3c; }
.fav-toggle-btn.active { border-color: #e74c3c; background: #fdf0f0; }

/* Description & meta */
.product-detail-desc {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.product-detail-meta {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.product-meta-row {
  display: flex;
  gap: 8px;
  font-size: 13px;
}
.product-meta-row .meta-key {
  color: var(--text-muted);
  min-width: 80px;
  flex-shrink: 0;
}
.product-meta-row .meta-val { color: var(--text); font-weight: 500; }
.product-meta-row a { color: var(--accent); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .privilege-tiers { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .certs-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1024px) {
  .product-detail-grid { grid-template-columns: 1fr; gap: 40px; }
  .product-detail-image { position: static; }
  .product-detail-img-wrap { max-width: 480px; margin: 0 auto 16px; }
  .header-nav { display: none; }
  .burger { display: flex; }
  .header-inner { grid-template-columns: auto 1fr auto; }
  .logo { justify-self: center; }
  .catalog-layout { grid-template-columns: 1fr; }
  .catalog-sidebar { position: static; }
  .account-layout { grid-template-columns: 1fr; }
  .account-sidebar { position: static; }
  .checkout-layout { grid-template-columns: 1fr; }
  .order-summary { position: static; }
  .about-split { grid-template-columns: 1fr; gap: 40px; }
  .contacts-grid { grid-template-columns: 1fr; }
  .hero-image { display: none; }
  .hero { min-height: 70vh; }
}
@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .container { padding: 0 16px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .blog-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .brands-strip { flex-wrap: wrap; }
  .brand-item { border-right: none; border-bottom: 1px solid var(--border); }
  .about-stats { grid-template-columns: repeat(3, 1fr); }
  .tg-cta { flex-direction: column; text-align: center; padding: 32px 24px; }
  .checkout-grid-2 { grid-template-columns: 1fr; }
  .payment-options { grid-template-columns: 1fr; }
  .cart-panel { width: 100vw; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .certs-grid { grid-template-columns: repeat(2, 1fr); }
  .results-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .privilege-tiers { grid-template-columns: 1fr; }
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }
  .hero p { font-size: 15px; }
  .btn-lg { padding: 14px 28px; }
  .cta-banner { padding: 40px 24px; }
}

/* ===== DELIVERY PAGE ===== */
.delivery-card { border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; background: white; }
.delivery-card h3 { margin-bottom: 8px; }
.delivery-card .delivery-price { font-size: 1.3rem; font-weight: 700; color: var(--accent); margin-bottom: 16px; }
.delivery-card ul { list-style: none; padding: 0; margin: 0; }
.delivery-card li { font-size: 13px; color: var(--text-muted); padding: 6px 0; border-bottom: 1px solid var(--border); }
.delivery-card li:last-child { border-bottom: none; }
.delivery-card li::before { content: '• '; color: var(--accent); }
.pay-method { display: flex; align-items: center; gap: 16px; padding: 20px; border: 1px solid var(--border); border-radius: var(--radius-md); background: white; }
.pay-icon { font-size: 32px; flex-shrink: 0; }

/* ===== ARTICLE BODY ===== */
.article-body h2 { font-size: 1.5rem; margin: 32px 0 16px; }
.article-body h3 { font-size: 1.15rem; margin: 24px 0 12px; }
.article-body p { margin-bottom: 16px; color: var(--text); line-height: 1.8; }
.article-body ul, .article-body ol { padding-left: 24px; margin-bottom: 16px; }
.article-body li { margin-bottom: 8px; line-height: 1.7; }
.article-body blockquote { border-left: 3px solid var(--accent); padding: 16px 24px; margin: 24px 0; background: var(--bg-alt); border-radius: 0 var(--radius-md) var(--radius-md) 0; font-style: italic; color: var(--text-muted); }

/* ===== PRIVILEGE TIERS ===== */
.tier-card { border: 2px solid var(--border); border-radius: var(--radius-lg); padding: 32px; text-align: center; transition: transform .2s, box-shadow .2s; background: white; }
.tier-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.tier-card.active-tier { border-color: var(--accent); background: var(--accent-pale); }
.tier-icon { font-size: 48px; margin-bottom: 16px; }
.tier-name { font-size: 1.3rem; font-weight: 600; margin-bottom: 8px; font-family: 'Cormorant Garamond', serif; }
.tier-discount { font-size: 2rem; font-weight: 700; color: var(--accent); margin-bottom: 8px; }
.tier-threshold { font-size: 13px; color: var(--text-muted); margin-bottom: 20px; }
.tier-perks { list-style: none; padding: 0; margin: 0; text-align: left; }
.tier-perks li { font-size: 13px; padding: 6px 0; border-bottom: 1px solid var(--border); color: var(--text-muted); }
.tier-perks li:last-child { border-bottom: none; }
.tier-perks li::before { content: '✓ '; color: var(--accent); font-weight: 600; }
.progress-bar-wrap { background: var(--border); border-radius: 999px; height: 8px; margin: 12px 0; }
.progress-bar-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--accent), #d4a96a); transition: width .6s ease; }
