@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Nunito:wght@400;500;600;700;800&family=Inter:wght@400;500;600&display=swap');

/* ===== Design Tokens (Dark Theme) ===== */
:root {
  --bg: #121212;
  --bg-elevated: #1a1a1a;
  --surface: #222222;
  --surface-2: #2a2a2a;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.15);
  --text-primary: #ffffff;
  --text-secondary: #cccccc;
  --text-muted: #888888;
  --accent: #e53935;
  --accent-hover: #f44336;
  --accent-soft: rgba(229, 57, 53, 0.15);
  --accent-2: #ff9800;
  --error: #ef5350;
  --cta-bg: linear-gradient(135deg, #e53935 0%, #b71c1c 100%);
  --cta-text: #ffffff;
  --cta-hover: linear-gradient(135deg, #f44336 0%, #c62828 100%);
  --font-display: 'Inter', 'Playfair Display', sans-serif;
  --font-body: 'Inter', 'Nunito', system-ui, -apple-system, sans-serif;
  --font-ui: 'Nunito', 'Inter', sans-serif;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 4px 16px -4px rgba(0,0,0,0.3);
  --shadow-md: 0 8px 32px -8px rgba(0,0,0,0.4);
  --shadow-lg: 0 20px 60px -12px rgba(0,0,0,0.5);
  --shadow-red: 0 12px 40px -10px rgba(229, 57, 53, 0.35);
  --container: 1180px;
  --transition: 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* ===== Reset ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: #121212;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1, h2, h3 { font-family: var(--font-display); }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-ui); font-size: 15px; font-weight: 600;
  padding: 12px 24px; border-radius: 8px; /* Rectangular buttons */
  cursor: pointer; transition: all var(--transition);
  text-decoration: none; border: none; outline: none;
}
.btn:active { transform: scale(0.97); }
.btn-cta { background: var(--cta-bg); color: var(--cta-text); box-shadow: 0 6px 20px -6px rgba(229,57,53,0.5); }
.btn-cta:hover { background: var(--cta-hover); box-shadow: 0 10px 28px -6px rgba(229,57,53,0.6); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--text-primary); border-color: var(--border-strong); }
.btn-outline:hover { border-color: var(--accent); color: var(--text-primary); background: var(--accent-soft); }
.btn-ghost { background: transparent; color: var(--text-secondary); border: none; font-weight: 600; padding-left: 0; padding-right: 0; }
.btn-ghost:hover { color: var(--accent); }
.btn-lg { padding: 17px 40px; font-size: 15px; }
.btn-sm { padding: 9px 20px; font-size: 12.5px; }
.btn-block { width: 100%; margin-top: 8px; padding: 16px; font-size: 16px; }

/* ===== Reveal ===== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 650ms cubic-bezier(0.16,1,0.3,1), transform 650ms cubic-bezier(0.16,1,0.3,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ===== Header ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 16px 0; transition: background var(--transition), padding var(--transition), border-color var(--transition), box-shadow var(--transition);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(18, 18, 18, 0.85); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  padding: 10px 0; border-color: var(--border); box-shadow: var(--shadow-md);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 17px; letter-spacing: 0.02em; flex-shrink: 0; font-family: var(--font-display); }
.logo-mark {
  width: 42px; height: 42px; border-radius: 50%; overflow: hidden; flex-shrink: 0;
  border: 2px solid rgba(229,57,53,0.35); background: #fff; box-shadow: var(--shadow-sm);
}
.logo-mark img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.logo-text strong { color: var(--accent); letter-spacing: 0.03em; font-weight: 700; }
.logo-text { color: var(--text-primary); font-weight: 600; font-size: 16px; }
.main-nav { display: flex; gap: 28px; }
.main-nav a { color: var(--text-secondary); font-size: 14px; font-weight: 600; letter-spacing: 0.02em; transition: color var(--transition); font-family: var(--font-ui); }
.main-nav a:hover { color: var(--text-primary); }
.header-actions { display: flex; align-items: center; gap: 16px; }
.header-phone { display: flex; align-items: center; gap: 7px; font-weight: 600; font-size: 14px; color: var(--text-primary); transition: color var(--transition); font-family: var(--font-ui); }
.header-phone:hover { color: var(--accent); }
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; z-index: 101; }
.burger span { width: 22px; height: 2px; background: var(--text-primary); border-radius: 2px; transition: transform var(--transition), opacity var(--transition); }
.burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Mobile nav ===== */
.mobile-nav {
  position: fixed; inset: 0; z-index: 99;
  background: rgba(18, 18, 18, 0.98); backdrop-filter: blur(20px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px;
  transform: translateY(-100%); opacity: 0; visibility: hidden;
  transition: transform 350ms cubic-bezier(0.16,1,0.3,1), opacity 350ms, visibility 350ms;
}
.mobile-nav.open { transform: translateY(0); opacity: 1; visibility: visible; }
.mobile-nav a { font-size: 22px; font-weight: 700; color: var(--text-primary); letter-spacing: 0.02em; transition: color var(--transition); font-family: var(--font-display); }
.mobile-nav a:hover { color: var(--accent); }
.mobile-nav .btn { margin-top: 8px; width: 240px; }

/* ===== Hero ===== */
.hero { position: relative; min-height: 100vh; min-height: 100dvh; display: flex; align-items: center; padding-top: 80px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.6) saturate(1.1); }
.hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(18,18,18,0.2) 0%, rgba(18,18,18,0.6) 60%, var(--bg) 100%),
              linear-gradient(90deg, rgba(18,18,18,0.8) 0%, rgba(18,18,18,0.2) 100%);
}
.hero-inner { position: relative; z-index: 1; max-width: 780px; }
.hero-title { font-size: clamp(2.8rem, 7vw, 5rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.01em; margin-bottom: 20px; color: #ffffff; }
.hero-title em { font-style: normal; color: var(--accent); display: block; font-size: 1.1em; line-height: 1.0; }
.hero-sub { font-family: var(--font-ui); font-size: clamp(0.95rem, 1.5vw, 1.1rem); color: rgba(255,255,255,0.85); max-width: 540px; margin-bottom: 32px; line-height: 1.7; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-actions .btn-outline { border-color: rgba(255,255,255,0.3); color: #fff; }
.hero-actions .btn-outline:hover { border-color: var(--accent); background: var(--accent-soft); }
.hero-meta { display: flex; gap: 10px; flex-wrap: wrap; color: rgba(255,255,255,0.5); font-family: var(--font-ui); font-size: 13px; }

/* ===== Trust bar ===== */
.trust-bar { background: linear-gradient(180deg, #121212 0%, #1a1a1a 20%, #1a1a1a 80%, #121212 100%); padding: 48px 0; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.trust-item { display: flex; align-items: flex-start; gap: 14px; }
.trust-item svg { width: 28px; height: 28px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.trust-item strong { display: block; font-family: var(--font-ui); font-size: 14px; font-weight: 700; margin-bottom: 4px; color: var(--text-primary); }
.trust-item span { color: var(--text-secondary); font-size: 13px; line-height: 1.4; }

/* ===== Sections ===== */
.section { padding: 96px 0; }
.section-alt { background: transparent; }
.section-dark { background: linear-gradient(180deg, #121212 0%, #1a1a1a 20%, #1a1a1a 80%, #121212 100%); }
.section-head { margin-bottom: 52px; }
.section-title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -0.01em; margin-bottom: 14px; max-width: 680px; line-height: 1.15; color: var(--text-primary); }
.section-title.center { max-width: none; }
.section-desc { color: var(--text-secondary); max-width: 600px; font-size: 16px; font-family: var(--font-body); }
.section-desc.center { max-width: none; }
.section-desc a { color: var(--accent); font-weight: 600; }
.section-desc a:hover { text-decoration: underline; }

/* ===== About ===== */
.about-section { padding: 96px 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-media { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); aspect-ratio: 4/3.5; box-shadow: var(--shadow-md); position: relative; }
.about-media img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.85); transition: transform 600ms ease; }
.about-media:hover img { transform: scale(1.03); }
.about-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(229,57,53,0.1), transparent); pointer-events: none; }
.about-content p { color: var(--text-secondary); font-family: var(--font-body); margin-bottom: 32px; font-size: 15.5px; line-height: 1.75; }
.about-simple-list { margin-top: 24px; margin-bottom: 36px; display: flex; flex-direction: column; gap: 16px; }
.about-simple-list li { position: relative; padding-left: 20px; color: var(--text-primary); font-family: var(--font-body); font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.about-simple-list li::before { content: ''; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 6px rgba(229,57,53,0.6); }
.about-simple-list li strong { color: #fff; font-weight: 700; margin-right: 4px; }
.about-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.about-actions .btn-ghost svg { transition: transform var(--transition); }
.about-actions .btn-ghost:hover svg { transform: translate(2px, -2px); }

/* ===== Team / Gallery slider ===== */
.gallery-slider { position: relative; }
.gallery-track { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -ms-overflow-style: none; border-radius: var(--radius-md); }
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-slide { position: relative; flex: 0 0 calc(33.333% - 12px); scroll-snap-align: start; aspect-ratio: 3/4; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border); transition: border-color var(--transition), box-shadow var(--transition); box-shadow: var(--shadow-sm); }
.gallery-slide:hover { border-color: rgba(229,57,53,0.5); box-shadow: var(--shadow-red); }
.gallery-slide img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 500ms ease; filter: brightness(0.85); }
.gallery-slide:hover img { transform: scale(1.04); filter: brightness(1); }
.team-slide figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 22px 22px; background: linear-gradient(0deg, rgba(18,18,18,0.95) 0%, rgba(18,18,18,0.6) 50%, transparent 100%); display: flex; flex-direction: column; gap: 4px; }
.team-name { font-family: var(--font-display); font-size: 26px; font-weight: 800; letter-spacing: 0.02em; color: #fff; display: block; line-height: 1.1; }
.team-role { font-family: var(--font-ui); font-size: 11px; color: #ffcdd2; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.gallery-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; background: var(--surface); border: 1px solid var(--border); color: var(--text-primary); display: grid; place-items: center; cursor: pointer; transition: background var(--transition), border-color var(--transition), box-shadow var(--transition); z-index: 2; box-shadow: var(--shadow-sm); }
.gallery-arrow svg { width: 20px; height: 20px; }
.gallery-arrow:hover { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.gallery-arrow--prev { left: -22px; }
.gallery-arrow--next { right: -22px; }
.gallery-dots { display: flex; justify-content: center; gap: 8px; margin-top: 22px; }
.gallery-dots button { width: 8px; height: 8px; border-radius: 50%; background: var(--border-strong); border: none; cursor: pointer; padding: 0; transition: background var(--transition), transform var(--transition); }
.gallery-dots button.active { background: var(--accent); transform: scale(1.4); }
.gallery-cta { margin-top: 40px; text-align: center; }

/* ===== Reviews ===== */
.reviews-section { background: transparent; }
.reviews-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.review-col { display: flex; flex-direction: column; align-items: center; text-align: center; background: var(--surface-2); border: 1px solid rgba(229,57,53,0.3); border-radius: var(--radius-lg); padding: 32px 24px; box-shadow: var(--shadow-red); transition: transform var(--transition); }
.review-col:hover { transform: translateY(-4px); }
.review-avatar-placeholder { width: 80px; height: 80px; border-radius: 50%; background: linear-gradient(135deg, var(--surface), var(--bg-elevated)); border: 3px solid var(--accent); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; flex-shrink: 0; font-family: var(--font-display); font-size: 28px; font-weight: 700; color: var(--accent); box-shadow: 0 0 0 4px rgba(255,255,255,0.03); }
.stars { color: #ff9800; letter-spacing: 2px; margin-bottom: 12px; font-size: 16px; }
.review-quote { color: var(--text-secondary); font-family: var(--font-body); font-size: 14px; line-height: 1.7; margin-bottom: 14px; font-style: italic; flex: 1; }
.review-name { font-family: var(--font-ui); font-size: 14px; font-weight: 700; color: var(--text-primary); letter-spacing: 0.02em; }

/* ===== Contacts ===== */
.contacts-section { padding: 96px 0; background: linear-gradient(180deg, #121212 0%, #1a1a1a 15%, #1a1a1a 100%); }
.contacts-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; align-items: stretch; }
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); min-height: 420px; box-shadow: var(--shadow-md); filter: invert(0.9) hue-rotate(180deg) saturate(0.5); /* Simple dark map trick */ }
.contacts-info { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px; display: flex; flex-direction: column; justify-content: space-between; box-shadow: var(--shadow-md); }
.contacts-info h3 { font-size: 24px; font-weight: 800; margin-bottom: 24px; color: var(--text-primary); letter-spacing: 0.01em; font-family: var(--font-display); }
.info-row { padding: 14px 0; border-bottom: 1px solid var(--border); }
.info-row:last-child { border-bottom: none; }
.info-row dt { color: var(--text-muted); font-family: var(--font-ui); font-size: 11px; letter-spacing: 0.08em; margin-bottom: 5px; text-transform: uppercase; font-weight: 700; }
.info-row dd { color: var(--text-primary); font-family: var(--font-body); font-size: 15px; font-weight: 500; }
.info-row dd a { color: var(--text-primary); font-weight: 600; transition: color var(--transition); }
.info-row dd a:hover { color: var(--accent); }
.contacts-info .btn { margin-top: 24px; width: 100%; }

/* ===== Footer ===== */
.site-footer { background: #1a1a1a; padding: 48px 0 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; padding-bottom: 32px; }
.footer-inner .logo-text strong { color: var(--accent); }
.footer-inner .logo-text { color: var(--text-primary); }
.footer-nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-nav a { color: var(--text-muted); font-size: 13px; font-weight: 600; letter-spacing: 0.04em; transition: color var(--transition); font-family: var(--font-ui); }
.footer-nav a:hover { color: var(--text-primary); }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 12px; color: var(--text-muted); transition: color var(--transition), border-color var(--transition), background var(--transition); background: var(--surface); }
.footer-socials a svg { width: 17px; height: 17px; }
.footer-socials a:hover { color: #fff; border-color: rgba(229,57,53,0.4); background: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 18px 0; border-top: 1px solid var(--border); color: var(--text-muted); font-family: var(--font-body); font-size: 12px; }

/* ===== Mobile CTA ===== */
.mobile-cta { position: fixed; bottom: 16px; left: 50%; transform: translateX(-50%); z-index: 90; display: none; align-items: center; gap: 8px; background: var(--cta-bg); color: var(--cta-text); padding: 14px 28px; border-radius: 999px; font-family: var(--font-ui); font-weight: 700; font-size: 14px; letter-spacing: 0.03em; box-shadow: 0 8px 28px -6px rgba(229,57,53,0.65); white-space: nowrap; text-decoration: none; }

/* ===================================================
   RESPONSIVE — Tablet (≤ 1024px)
   =================================================== */
@media (max-width: 1024px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { gap: 40px; }
  .about-simple-list { gap: 12px; }
  .contacts-grid { grid-template-columns: 1fr; }
  .map-wrap { min-height: 320px; }
  .gallery-slide { flex: 0 0 calc(50% - 9px); }
}

/* ===================================================
   RESPONSIVE — Mobile (≤ 768px)
   =================================================== */
@media (max-width: 768px) {
  .main-nav { display: none; }
  .header-actions .header-phone, .header-actions .btn-cta { display: none; }
  .header-actions { margin-left: auto; margin-right: 8px; gap: 8px; }
  .burger { display: flex; }
  .mobile-cta { display: flex; }
  .hero { padding-top: 72px; min-height: 100svh; }
  .hero-title { font-size: clamp(2.6rem, 11vw, 3.5rem); }
  .hero-sub { font-size: 0.95rem; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-meta { flex-direction: column; gap: 4px; font-size: 12px; }
  .trust-bar { padding: 32px 0; }
  .trust-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .trust-item { flex-direction: column; gap: 8px; text-align: center; align-items: center; }
  .trust-item svg { width: 26px; height: 26px; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 36px; }
  .section-title { font-size: clamp(1.8rem, 6.5vw, 2.4rem); }
  .section-desc { font-size: 15px; }
  .gallery-slide { flex: 0 0 80%; aspect-ratio: 3/4; }
  .gallery-arrow { display: none; }
  .team-name { font-size: 22px; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-media { order: -1; aspect-ratio: 16/10; }
  .about-content p { font-size: 15px; }
  .reviews-row { display: flex; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory; padding-bottom: 12px; }
  .reviews-row::-webkit-scrollbar { display: none; }
  .review-col { flex: 0 0 85%; scroll-snap-align: center; }
  .contacts-section { padding: 64px 0; }
  .contacts-grid { grid-template-columns: 1fr; }
  .map-wrap { min-height: 280px; }
  .contacts-info { padding: 24px; }
  .footer-inner { flex-direction: column; align-items: center; text-align: center; gap: 18px; }
  .footer-nav { justify-content: center; gap: 16px; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; font-size: 11px; }
  body { padding-bottom: 70px; }
}

/* ===================================================
   RESPONSIVE — Small mobile (≤ 400px)
   =================================================== */
@media (max-width: 400px) {
  .container { padding: 0 16px; }
  .hero-title { font-size: 2.4rem; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { flex-direction: row; text-align: left; align-items: flex-start; }
  .gallery-slide { flex: 0 0 92%; }
  .mobile-cta { padding: 12px 22px; font-size: 13px; }
  .btn-lg { padding: 15px 26px; font-size: 14px; }
}

/* ===================================================
   CATALOG PAGE STYLES
   =================================================== */
.catalog-page { padding: 120px 0 60px; min-height: 70vh; }
.catalog-header { display: flex; flex-direction: column; align-items: center; text-align: center; margin-bottom: 40px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--text-secondary); text-decoration: none; font-weight: 500; margin-bottom: 24px; transition: color var(--transition); align-self: flex-start; }
.back-link:hover { color: var(--accent); }

/* Categories Grid */
.category-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }
.category-card { border-radius: var(--radius-md); overflow: hidden; position: relative; cursor: pointer; transition: transform var(--transition); background: var(--surface); }
.category-card:hover { transform: translateY(-5px); box-shadow: 0 12px 24px rgba(0,0,0,0.1); }
.category-card img { width: 100%; height: 250px; object-fit: cover; transition: transform 0.5s; }
.category-card:hover img { transform: scale(1.05); }
.category-card-title { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(0,0,0,0.85)); color: white; padding: 20px 16px 16px; display: flex; flex-direction: column; gap: 4px; }
.category-card-name { font-size: 1.2rem; font-weight: 700; }
.category-card-sub { font-size: 13px; opacity: 0.8; font-weight: 400; }

/* Products Filter & Controls */
.catalog-controls { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 30px; }
.catalog-filters { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { padding: 8px 16px; border: 1px solid var(--border-strong); border-radius: 20px; background: transparent; cursor: pointer; font-size: 14px; transition: all var(--transition); color: var(--text-primary); }
.chip.active { background: var(--accent); border-color: var(--accent); color: white; }
.chip:hover:not(.active) { background: var(--surface); }
.sort-select { padding: 8px 16px; border: 1px solid var(--border-strong); border-radius: 8px; font-family: inherit; font-size: 14px; outline: none; background: var(--surface); cursor: pointer; color: var(--text-primary); }

/* Products Grid */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.product-card { display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); overflow: hidden; transition: transform var(--transition); border: 1px solid var(--border); }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.product-img { width: 100%; height: 220px; object-fit: contain; border-bottom: 1px solid var(--border); }
.product-content { padding: 20px; flex-grow: 1; display: flex; flex-direction: column; }
.product-category { font-size: 12px; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px; }
.product-title { font-size: 1.1rem; font-weight: 600; margin-bottom: 8px; color: var(--text-primary); line-height: 1.3; }
.product-desc { font-size: 14px; color: var(--text-secondary); margin-bottom: 16px; flex-grow: 1; }
.product-specs { font-size: 13px; color: var(--text-secondary); margin-bottom: 16px; background: var(--surface-2); padding: 12px; border-radius: 6px; }
.product-specs p { margin: 0 0 4px 0; }
.product-specs p:last-child { margin: 0; }
.product-footer { display: flex; justify-content: space-between; align-items: center; margin-top: auto; }
.product-price { font-size: 1.25rem; font-weight: 700; color: var(--text-primary); }
.product-card-arrow { font-size: 13px; color: var(--accent); font-weight: 600; white-space: nowrap; }
.product-empty { text-align: center; padding: 40px; color: var(--text-secondary); width: 100%; grid-column: 1 / -1; }

/* Product card as link */
a.product-card { text-decoration: none; color: inherit; }
a.product-card:hover .product-card-arrow { text-decoration: underline; }

/* Breadcrumbs */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-secondary); margin-bottom: 32px; flex-wrap: wrap; }
.breadcrumb a { color: var(--text-secondary); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--accent); }
.bc-sep { opacity: 0.4; }

/* Product Detail Page */
.product-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; margin-bottom: 60px; }
.product-detail-img-wrap { position: sticky; top: 100px; border-radius: var(--radius-md); overflow: hidden; background: var(--surface); }
.product-detail-img { width: 100%; height: 420px; object-fit: contain; display: block; }
.product-detail-cat { font-size: 12px; color: var(--accent); text-transform: uppercase; letter-spacing: 1px; font-weight: 600; margin-bottom: 10px; }
.product-detail-title { font-size: 2rem; font-weight: 700; margin-bottom: 16px; line-height: 1.2; font-family: 'Cormorant Garamond', serif; }
.product-detail-price { font-size: 2.2rem; font-weight: 800; color: var(--accent); margin-bottom: 20px; }
.product-detail-desc { font-size: 15px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 24px; }
.product-detail-specs { margin-bottom: 28px; }
.product-specs-title { font-size: 1rem; font-weight: 600; margin-bottom: 12px; color: var(--text-primary); }
.specs-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.specs-table td { padding: 10px 12px; border-bottom: 1px solid var(--border); }
.specs-table td:first-child { color: var(--text-secondary); width: 45%; }
.specs-table td:last-child { color: var(--text-primary); font-weight: 500; }
.specs-table tr:last-child td { border-bottom: none; }
.product-detail-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 24px; }
.product-detail-actions .btn { flex: 1; min-width: 160px; justify-content: center; }
.product-back-link { display: inline-flex; align-items: center; gap: 6px; color: var(--text-secondary); font-size: 14px; transition: color var(--transition); }
.product-back-link:hover { color: var(--accent); }

@media (max-width: 768px) {
  .product-detail-grid { grid-template-columns: 1fr; gap: 28px; }
  .product-detail-img-wrap { position: static; }
  .product-detail-img { height: 280px; }
  .product-detail-title { font-size: 1.5rem; }
  .product-detail-price { font-size: 1.8rem; }
}

/* Modal */
.modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.6); backdrop-filter: blur(4px); z-index: 1000; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; padding: 20px; }
.modal-overlay.active { opacity: 1; pointer-events: auto; }
.modal { background: var(--surface); padding: 32px; border-radius: var(--radius-md); width: 100%; max-width: 450px; position: relative; transform: translateY(20px); transition: transform 0.3s ease; box-shadow: var(--shadow-lg); }
.modal-overlay.active .modal { transform: translateY(0); }
.modal-close { position: absolute; top: 16px; right: 16px; background: none; border: none; font-size: 28px; cursor: pointer; color: var(--text-secondary); line-height: 1; transition: color var(--transition); }
.modal-close:hover { color: var(--accent); }
.modal-title { font-size: 1.5rem; font-weight: 600; margin-bottom: 8px; font-family: 'Cormorant Garamond', serif; }
.modal-desc { color: var(--text-secondary); font-size: 14px; }

/* ===================================================
   NO-IMAGE PLACEHOLDER
   =================================================== */
.no-img { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px; background:var(--surface-2); color:var(--text-muted); font-size:12px; }
.no-img--md { width:100%; height:220px; }
.no-img--lg { width:100%; height:250px; }
.no-img--xl { width:100%; height:420px; }
.product-card-img-link { display:block; overflow:hidden; }
.product-card-img-link img { width:100%; height:220px; object-fit:contain; transition:transform 0.4s; }
.product-card:hover .product-card-img-link img { transform:scale(1.04); }

/* ===================================================
   CART ICON IN HEADER
   =================================================== */
.gc-icon-btn { position:relative; background:none; border:none; cursor:pointer; color:var(--text-primary); padding:8px; border-radius:8px; transition:color var(--transition); display:flex; align-items:center; }
.gc-icon-btn:hover { color:var(--accent); }
.cart-badge { position:absolute; top:-4px; right:-4px; background:var(--accent); color:#fff; font-size:10px; font-weight:700; border-radius:50%; width:18px; height:18px; display:flex; align-items:center; justify-content:center; pointer-events:none; }

/* ===================================================
   TOAST
   =================================================== */
.gc-toast { position:fixed; bottom:90px; left:50%; transform:translateX(-50%) translateY(20px); background:var(--surface); border:1px solid var(--border-strong); color:var(--text-primary); padding:12px 22px; border-radius:30px; font-size:14px; font-weight:500; white-space:nowrap; opacity:0; transition:opacity 0.3s, transform 0.3s; z-index:9000; pointer-events:none; box-shadow:var(--shadow-md); }
.gc-toast.show { opacity:1; transform:translateX(-50%) translateY(0); }

/* ===================================================
   CART DRAWER
   =================================================== */
.gc-overlay-bg { position:fixed; inset:0; background:rgba(0,0,0,0.55); z-index:1100; opacity:0; pointer-events:none; transition:opacity 0.3s; }
.gc-overlay-bg.open { opacity:1; pointer-events:auto; }
.gc-drawer { position:fixed; top:0; right:0; bottom:0; width:400px; max-width:100vw; background:var(--bg-elevated); z-index:1200; display:flex; flex-direction:column; transform:translateX(100%); transition:transform 0.35s cubic-bezier(0.16,1,0.3,1); box-shadow:-4px 0 32px rgba(0,0,0,0.4); }
.gc-drawer.open { transform:translateX(0); }
.gc-drawer-head { display:flex; justify-content:space-between; align-items:center; padding:20px 24px; border-bottom:1px solid var(--border); flex-shrink:0; }
.gc-drawer-head h3 { font-size:1.2rem; font-weight:700; }
.gc-close-btn { background:none; border:none; cursor:pointer; color:var(--text-secondary); display:flex; padding:4px; border-radius:6px; transition:color var(--transition); }
.gc-close-btn:hover { color:var(--accent); }
.gc-items { flex:1; overflow-y:auto; padding:16px 24px; display:flex; flex-direction:column; gap:16px; }
.gc-empty { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:12px; padding:40px 0; color:var(--text-muted); text-align:center; flex:1; }
.gc-empty p { font-size:15px; }
.gc-item { display:flex; gap:14px; align-items:flex-start; padding-bottom:16px; border-bottom:1px solid var(--border); }
.gc-item:last-child { border-bottom:none; }
.gc-item-img { width:70px; height:70px; flex-shrink:0; border-radius:8px; overflow:hidden; background:var(--surface-2); }
.gc-item-img img { width:100%; height:100%; object-fit:cover; }
.gc-no-img { width:100%; height:100%; display:flex; align-items:center; justify-content:center; color:var(--text-muted); }
.gc-item-body { flex:1; min-width:0; }
.gc-item-name { font-size:14px; font-weight:600; line-height:1.3; margin-bottom:4px; }
.gc-item-price { font-size:13px; color:var(--text-secondary); margin-bottom:10px; }
.gc-item-row { display:flex; align-items:center; gap:10px; }
.gc-qty { display:flex; align-items:center; gap:0; border:1px solid var(--border-strong); border-radius:8px; overflow:hidden; }
.gc-qty-btn { background:var(--surface-2); border:none; width:28px; height:28px; cursor:pointer; color:var(--text-primary); font-size:16px; display:flex; align-items:center; justify-content:center; transition:background var(--transition); }
.gc-qty-btn:hover { background:var(--accent); color:#fff; }
.gc-qty-num { width:28px; text-align:center; font-size:14px; font-weight:600; }
.gc-item-sub { font-size:13px; font-weight:600; color:var(--text-primary); margin-left:auto; }
.gc-remove-btn { background:none; border:none; cursor:pointer; color:var(--text-muted); padding:4px; border-radius:4px; display:flex; transition:color var(--transition); }
.gc-remove-btn:hover { color:var(--accent); }
.gc-footer { padding:20px 24px; border-top:1px solid var(--border); flex-shrink:0; }
.gc-total-row { display:flex; justify-content:space-between; align-items:center; font-size:16px; margin-bottom:16px; }
.gc-total-row strong { font-size:1.3rem; color:var(--accent); }

/* ===================================================
   CHECKOUT OVERLAY (fullscreen)
   =================================================== */
.gc-checkout { position:fixed; inset:0; z-index:1500; display:flex; opacity:0; pointer-events:none; transition:opacity 0.35s; overflow:hidden; }
.gc-checkout.active { opacity:1; pointer-events:auto; }
.gc-checkout-bg { position:absolute; inset:0; background:var(--bg); }
.gc-checkout-scroll { position:relative; z-index:1; width:100%; overflow-y:auto; display:flex; justify-content:center; align-items:flex-start; padding:40px 24px 60px; }
.gc-checkout-box { width:100%; max-width:560px; }
.gc-back-btn { display:inline-flex; align-items:center; gap:8px; background:var(--surface); border:1px solid var(--border-strong); color:var(--text-primary); padding:10px 18px; border-radius:30px; cursor:pointer; font-size:14px; font-weight:500; margin-bottom:32px; transition:all 0.2s; }
.gc-back-btn:hover { border-color:var(--accent); color:var(--accent); }
.gc-checkout-title { font-size:2rem; font-weight:700; color:var(--text-primary); margin-bottom:28px; font-family:'Cormorant Garamond',serif; }
.gc-co-summary { background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-md); padding:20px 24px; margin-bottom:28px; }
.gc-co-summary-label { font-size:13px; color:var(--text-secondary); text-transform:uppercase; letter-spacing:0.5px; margin-bottom:14px; }
.gc-co-item { display:flex; justify-content:space-between; align-items:center; padding:8px 0; border-bottom:1px solid var(--border); font-size:14px; color:var(--text-primary); }
.gc-co-item:last-child { border-bottom:none; }
.gc-co-iname em { opacity:0.6; font-style:normal; }
.gc-co-iprice { font-weight:600; white-space:nowrap; margin-left:16px; }
.gc-co-total { display:flex; justify-content:space-between; align-items:center; padding-top:14px; margin-top:6px; font-size:16px; font-weight:600; color:var(--text-primary); border-top:1px solid var(--border-strong); }
.gc-co-total strong { font-size:1.4rem; color:var(--accent); }
.gc-co-form { display:flex; flex-direction:column; gap:20px; }
.gc-co-form .field-wrap { display:flex; flex-direction:column; gap:8px; }
.gc-co-form label { font-size:14px; font-weight:600; color:var(--text-primary); }
.gc-co-form input, .gc-co-form textarea { width:100%; background:var(--surface); border:1px solid var(--border-strong); border-radius:12px; padding:14px 16px; color:var(--text-primary); font-size:15px; outline:none; transition:all 0.2s; font-family:inherit; }
.gc-co-form input:focus, .gc-co-form textarea:focus { border-color:var(--accent); box-shadow:0 0 0 3px rgba(229,57,53,0.15); }
.gc-co-form input.error, .gc-co-form textarea.error { border-color:#d32f2f; background:rgba(211,47,47,0.05); }
.gc-co-form input::placeholder, .gc-co-form textarea::placeholder { color:var(--text-muted); }
.field-error-msg { font-size:12px; color:#d32f2f; margin-top:-4px; display:none; }
.field-error-msg.visible { display:block; }
.gc-submit-btn { margin-top:8px; padding:16px; font-size:16px; border-radius:12px; transition:opacity 0.2s; }
.gc-submit-btn.loading { opacity:0.6; cursor:not-allowed; pointer-events:none; }

.gc-co-success { text-align:center; padding:60px 20px; display:flex; flex-direction:column; align-items:center; }
.gc-co-success svg { color:#2e7d32; margin-bottom:20px; }
.gc-co-success h3 { font-size:1.8rem; margin-bottom:12px; color:var(--text-primary); font-family:'Cormorant Garamond',serif; }
.gc-co-success p { color:var(--text-secondary); margin-bottom:28px; line-height:1.5; font-size:15px; }

input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration { display: none; }

/* ===================================================
   PRODUCT GALLERY
   =================================================== */
.gallery-main-wrap { position:relative; border-radius:var(--radius-md); overflow:hidden; background:var(--surface); cursor:zoom-in; }
.gallery-main-img { width:100%; height:420px; object-fit:contain; display:block; transition:opacity 0.25s; }
.gallery-arrow { position:absolute; top:50%; transform:translateY(-50%); width:44px; height:44px; background:rgba(0,0,0,0.72); border:1.5px solid rgba(255,255,255,0.18); border-radius:50%; color:#fff; cursor:pointer; display:flex; align-items:center; justify-content:center; z-index:3; transition:background 0.2s, border-color 0.2s; flex-shrink:0; }
.gallery-arrow:hover { background:var(--accent); border-color:var(--accent); }
.gallery-arrow--prev { left:14px; }
.gallery-arrow--next { right:14px; }
.gallery-counter { position:absolute; bottom:12px; right:14px; background:rgba(0,0,0,0.6); color:#fff; font-size:12px; font-weight:600; padding:4px 10px; border-radius:20px; z-index:3; }
.gallery-thumbs { display:flex; gap:8px; margin-top:10px; }
.gallery-thumb { width:70px; height:55px; object-fit:cover; border-radius:6px; cursor:pointer; border:2px solid transparent; opacity:0.6; transition:all 0.2s; flex-shrink:0; background:var(--surface-2); display:flex; align-items:center; justify-content:center; color:var(--text-muted); }
.gallery-thumb.active { border-color:var(--accent); opacity:1; }
.gallery-thumb img { width:100%; height:100%; object-fit:cover; border-radius:4px; }
.no-img-gallery { width:100%; height:420px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:10px; background:var(--surface-2); color:var(--text-muted); font-size:13px; }

/* ===================================================
   LIGHTBOX
   =================================================== */
.lightbox { position:fixed; inset:0; z-index:9000; background:rgba(0,0,0,0.95); display:flex; align-items:center; justify-content:center; opacity:0; pointer-events:none; transition:opacity 0.25s; }
.lightbox.active { opacity:1; pointer-events:auto; }
.lightbox-close { position:fixed; top:18px; right:22px; background:rgba(255,255,255,0.12); border:1px solid rgba(255,255,255,0.2); color:#fff; width:40px; height:40px; border-radius:50%; cursor:pointer; display:flex; align-items:center; justify-content:center; font-size:20px; z-index:9001; transition:background 0.2s; }
.lightbox-close:hover { background:var(--accent); }
.lightbox-img-wrap { position:relative; max-width:92vw; max-height:88vh; }
.lightbox-img { max-width:92vw; max-height:88vh; object-fit:contain; display:block; border-radius:6px; }
.lightbox-no-img { width:60vw; height:60vh; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:12px; color:rgba(255,255,255,0.4); font-size:14px; }
.lightbox-arrow { position:fixed; top:50%; transform:translateY(-50%); width:48px; height:48px; background:rgba(255,255,255,0.1); border:1.5px solid rgba(255,255,255,0.2); border-radius:50%; color:#fff; cursor:pointer; display:flex; align-items:center; justify-content:center; z-index:9001; transition:background 0.2s; }
.lightbox-arrow:hover { background:var(--accent); }
.lightbox-arrow--prev { left:16px; }
.lightbox-arrow--next { right:16px; }
.lightbox-counter { position:fixed; bottom:24px; left:50%; transform:translateX(-50%); color:rgba(255,255,255,0.7); font-size:14px; z-index:9001; }

/* ===================================================
   SEARCH BAR
   =================================================== */
.catalog-search-wrap { margin-bottom: 24px; }
.catalog-search-inner { position:relative; width:100%; }
.search-icon { position:absolute; left:16px; top:50%; transform:translateY(-50%); color:var(--text-muted); pointer-events:none; }
.catalog-search-input { width:100%; background:var(--surface); border:1px solid var(--border-strong); border-radius:30px; padding:12px 48px; color:var(--text-primary); font-size:15px; transition:all 0.2s; outline:none; }
.catalog-search-input:focus { border-color:var(--accent); box-shadow:0 0 0 3px rgba(229,57,53,0.15); }
.catalog-search-input::placeholder { color:var(--text-muted); }
.search-clear-btn { position:absolute; right:12px; top:50%; transform:translateY(-50%); background:var(--surface-2); border:none; width:28px; height:28px; border-radius:50%; display:flex; align-items:center; justify-content:center; color:var(--text-secondary); cursor:pointer; transition:all 0.2s; }
.search-clear-btn:hover { background:var(--bg-elevated); color:var(--accent); }
.search-empty { text-align:center; padding:60px 20px; color:var(--text-secondary); display:flex; flex-direction:column; align-items:center; gap:16px; width:100%; grid-column:1/-1; }
.search-empty svg { color:var(--text-muted); opacity:0.5; }
.search-empty p { font-size:18px; font-weight:600; color:var(--text-primary); margin:0; }
.search-empty span { font-size:14px; }
.product-search-cat { font-size:11px; font-weight:600; text-transform:uppercase; letter-spacing:0.5px; color:var(--accent); margin-bottom:6px; }

/* ===================================================
   AVAILABILITY BADGES
   =================================================== */
.avail-badge { position:absolute; top:12px; left:12px; font-size:11px; font-weight:700; text-transform:uppercase; padding:4px 10px; border-radius:4px; z-index:2; box-shadow:0 2px 4px rgba(0,0,0,0.2); }
.avail-badge--yes { background:#2e7d32; color:#fff; }
.avail-badge--no { background:var(--surface-2); color:var(--text-secondary); border:1px solid var(--border); }
.product-card .avail-badge { display:none; }
.product-detail-info .avail-badge { position:relative; top:auto; left:auto; display:inline-block; margin-bottom:16px; box-shadow:none; }

/* ===================================================
.product-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; margin-bottom: 60px; }
.product-detail-img-wrap { position: sticky; top: 100px; border-radius: var(--radius-md); overflow: hidden; background: var(--surface); }
.product-detail-img { width: 100%; height: 420px; object-fit: contain; display: block; }
.product-detail-cat { font-size: 12px; color: var(--accent); text-transform: uppercase; letter-spacing: 1px; font-weight: 600; margin-bottom: 10px; }
.product-detail-title { font-size: 2rem; font-weight: 700; margin-bottom: 16px; line-height: 1.2; font-family: 'Cormorant Garamond', serif; }
.product-detail-price { font-size: 2.2rem; font-weight: 800; color: var(--accent); margin-bottom: 20px; }
.product-detail-desc { font-size: 15px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 24px; }
.product-detail-specs { margin-bottom: 28px; }
.product-specs-title { font-size: 1rem; font-weight: 600; margin-bottom: 12px; color: var(--text-primary); }
.specs-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.specs-table td { padding: 10px 12px; border-bottom: 1px solid var(--border); }
.specs-table td:first-child { color: var(--text-secondary); width: 45%; }
.specs-table td:last-child { color: var(--text-primary); font-weight: 500; }
.specs-table tr:last-child td { border-bottom: none; }
.product-detail-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 24px; }
.product-detail-actions .btn { flex: 1; min-width: 160px; justify-content: center; }
.product-back-link { display: inline-flex; align-items: center; gap: 6px; color: var(--text-secondary); font-size: 14px; transition: color var(--transition); }
.product-back-link:hover { color: var(--accent); }

@media (max-width: 768px) {
  .product-detail-grid { grid-template-columns: 1fr; gap: 28px; }
  .product-detail-img-wrap { position: static; }
  .product-detail-img { height: 280px; }
  .product-detail-title { font-size: 1.5rem; }
  .product-detail-price { font-size: 1.8rem; }
}

/* Modal */
.modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.6); backdrop-filter: blur(4px); z-index: 1000; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; padding: 20px; }
.modal-overlay.active { opacity: 1; pointer-events: auto; }
.modal { background: var(--surface); padding: 32px; border-radius: var(--radius-md); width: 100%; max-width: 450px; position: relative; transform: translateY(20px); transition: transform 0.3s ease; box-shadow: var(--shadow-lg); }
.modal-overlay.active .modal { transform: translateY(0); }
.modal-close { position: absolute; top: 16px; right: 16px; background: none; border: none; font-size: 28px; cursor: pointer; color: var(--text-secondary); line-height: 1; transition: color var(--transition); }
.modal-close:hover { color: var(--accent); }
.modal-title { font-size: 1.5rem; font-weight: 600; margin-bottom: 8px; font-family: 'Cormorant Garamond', serif; }
.modal-desc { color: var(--text-secondary); font-size: 14px; }

/* ===================================================
   NO-IMAGE PLACEHOLDER
   =================================================== */
.no-img { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px; background:var(--surface-2); color:var(--text-muted); font-size:12px; }
.no-img--md { width:100%; height:220px; }
.no-img--lg { width:100%; height:250px; }
.no-img--xl { width:100%; height:420px; }
.product-card-img-link { display:block; overflow:hidden; }
.product-card-img-link img { width:100%; height:220px; object-fit:contain; transition:transform 0.4s; }
.product-card:hover .product-card-img-link img { transform:scale(1.04); }

/* ===================================================
   CART ICON IN HEADER
   =================================================== */
.gc-icon-btn { position:relative; background:none; border:none; cursor:pointer; color:var(--text-primary); padding:8px; border-radius:8px; transition:color var(--transition); display:flex; align-items:center; }
.gc-icon-btn:hover { color:var(--accent); }
.cart-badge { position:absolute; top:-4px; right:-4px; background:var(--accent); color:#fff; font-size:10px; font-weight:700; border-radius:50%; width:18px; height:18px; display:flex; align-items:center; justify-content:center; pointer-events:none; }

/* ===================================================
   TOAST
   =================================================== */
.gc-toast { position:fixed; bottom:90px; left:50%; transform:translateX(-50%) translateY(20px); background:var(--surface); border:1px solid var(--border-strong); color:var(--text-primary); padding:12px 22px; border-radius:30px; font-size:14px; font-weight:500; white-space:nowrap; opacity:0; transition:opacity 0.3s, transform 0.3s; z-index:9000; pointer-events:none; box-shadow:var(--shadow-md); }
.gc-toast.show { opacity:1; transform:translateX(-50%) translateY(0); }

/* ===================================================
   CART DRAWER
   =================================================== */
.gc-overlay-bg { position:fixed; inset:0; background:rgba(0,0,0,0.55); z-index:1100; opacity:0; pointer-events:none; transition:opacity 0.3s; }
.gc-overlay-bg.open { opacity:1; pointer-events:auto; }
.gc-drawer { position:fixed; top:0; right:0; bottom:0; width:400px; max-width:100vw; background:var(--bg-elevated); z-index:1200; display:flex; flex-direction:column; transform:translateX(100%); transition:transform 0.35s cubic-bezier(0.16,1,0.3,1); box-shadow:-4px 0 32px rgba(0,0,0,0.4); }
.gc-drawer.open { transform:translateX(0); }
.gc-drawer-head { display:flex; justify-content:space-between; align-items:center; padding:20px 24px; border-bottom:1px solid var(--border); flex-shrink:0; }
.gc-drawer-head h3 { font-size:1.2rem; font-weight:700; }
.gc-close-btn { background:none; border:none; cursor:pointer; color:var(--text-secondary); display:flex; padding:4px; border-radius:6px; transition:color var(--transition); }
.gc-close-btn:hover { color:var(--accent); }
.gc-items { flex:1; overflow-y:auto; padding:16px 24px; display:flex; flex-direction:column; gap:16px; }
.gc-empty { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:12px; padding:40px 0; color:var(--text-muted); text-align:center; flex:1; }
.gc-empty p { font-size:15px; }
.gc-item { display:flex; gap:14px; align-items:flex-start; padding-bottom:16px; border-bottom:1px solid var(--border); }
.gc-item:last-child { border-bottom:none; }
.gc-item-img { width:70px; height:70px; flex-shrink:0; border-radius:8px; overflow:hidden; background:var(--surface-2); }
.gc-item-img img { width:100%; height:100%; object-fit:cover; }
.gc-no-img { width:100%; height:100%; display:flex; align-items:center; justify-content:center; color:var(--text-muted); }
.gc-item-body { flex:1; min-width:0; }
.gc-item-name { font-size:14px; font-weight:600; line-height:1.3; margin-bottom:4px; }
.gc-item-price { font-size:13px; color:var(--text-secondary); margin-bottom:10px; }
.gc-item-row { display:flex; align-items:center; gap:10px; }
.gc-qty { display:flex; align-items:center; gap:0; border:1px solid var(--border-strong); border-radius:8px; overflow:hidden; }
.gc-qty-btn { background:var(--surface-2); border:none; width:28px; height:28px; cursor:pointer; color:var(--text-primary); font-size:16px; display:flex; align-items:center; justify-content:center; transition:background var(--transition); }
.gc-qty-btn:hover { background:var(--accent); color:#fff; }
.gc-qty-num { width:28px; text-align:center; font-size:14px; font-weight:600; }
.gc-item-sub { font-size:13px; font-weight:600; color:var(--text-primary); margin-left:auto; }
.gc-remove-btn { background:none; border:none; cursor:pointer; color:var(--text-muted); padding:4px; border-radius:4px; display:flex; transition:color var(--transition); }
.gc-remove-btn:hover { color:var(--accent); }
.gc-footer { padding:20px 24px; border-top:1px solid var(--border); flex-shrink:0; }
.gc-total-row { display:flex; justify-content:space-between; align-items:center; font-size:16px; margin-bottom:16px; }
.gc-total-row strong { font-size:1.3rem; color:var(--accent); }

/* ===================================================
   CHECKOUT OVERLAY (fullscreen)
   =================================================== */
.gc-checkout { position:fixed; inset:0; z-index:1500; display:flex; opacity:0; pointer-events:none; transition:opacity 0.35s; overflow:hidden; }
.gc-checkout.active { opacity:1; pointer-events:auto; }
.gc-checkout-bg { position:absolute; inset:0; background:var(--bg); }
.gc-checkout-scroll { position:relative; z-index:1; width:100%; overflow-y:auto; display:flex; justify-content:center; align-items:flex-start; padding:40px 24px 60px; }
.gc-checkout-box { width:100%; max-width:560px; }
.gc-back-btn { display:inline-flex; align-items:center; gap:8px; background:var(--surface); border:1px solid var(--border-strong); color:var(--text-primary); padding:10px 18px; border-radius:30px; cursor:pointer; font-size:14px; font-weight:500; margin-bottom:32px; transition:all 0.2s; }
.gc-back-btn:hover { border-color:var(--accent); color:var(--accent); }
.gc-checkout-title { font-size:2rem; font-weight:700; color:var(--text-primary); margin-bottom:28px; font-family:'Cormorant Garamond',serif; }
.gc-co-summary { background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-md); padding:20px 24px; margin-bottom:28px; }
.gc-co-summary-label { font-size:13px; color:var(--text-secondary); text-transform:uppercase; letter-spacing:0.5px; margin-bottom:14px; }
.gc-co-item { display:flex; justify-content:space-between; align-items:center; padding:8px 0; border-bottom:1px solid var(--border); font-size:14px; color:var(--text-primary); }
.gc-co-item:last-child { border-bottom:none; }
.gc-co-iname em { opacity:0.6; font-style:normal; }
.gc-co-iprice { font-weight:600; white-space:nowrap; margin-left:16px; }
.gc-co-total { display:flex; justify-content:space-between; align-items:center; padding-top:14px; margin-top:6px; font-size:16px; font-weight:600; color:var(--text-primary); border-top:1px solid var(--border-strong); }
.gc-co-total strong { font-size:1.4rem; color:var(--accent); }
.gc-co-form { display:flex; flex-direction:column; gap:20px; }
.gc-co-form .field-wrap { display:flex; flex-direction:column; gap:8px; }
.gc-co-form label { font-size:14px; font-weight:600; color:var(--text-primary); }
.gc-co-form input, .gc-co-form textarea { width:100%; background:var(--surface); border:1px solid var(--border-strong); border-radius:12px; padding:14px 16px; color:var(--text-primary); font-size:15px; outline:none; transition:all 0.2s; font-family:inherit; }
.gc-co-form input:focus, .gc-co-form textarea:focus { border-color:var(--accent); box-shadow:0 0 0 3px rgba(229,57,53,0.15); }
.gc-co-form input.error, .gc-co-form textarea.error { border-color:#d32f2f; background:rgba(211,47,47,0.05); }
.gc-co-form input::placeholder, .gc-co-form textarea::placeholder { color:var(--text-muted); }
.field-error-msg { font-size:12px; color:#d32f2f; margin-top:-4px; display:none; }
.field-error-msg.visible { display:block; }
.gc-submit-btn { margin-top:8px; padding:16px; font-size:16px; border-radius:12px; transition:opacity 0.2s; }
.gc-submit-btn.loading { opacity:0.6; cursor:not-allowed; pointer-events:none; }

.gc-co-success { text-align:center; padding:60px 20px; display:flex; flex-direction:column; align-items:center; }
.gc-co-success svg { color:#2e7d32; margin-bottom:20px; }
.gc-co-success h3 { font-size:1.8rem; margin-bottom:12px; color:var(--text-primary); font-family:'Cormorant Garamond',serif; }
.gc-co-success p { color:var(--text-secondary); margin-bottom:28px; line-height:1.5; font-size:15px; }

input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration { display: none; }

/* ===================================================
   PRODUCT GALLERY
   =================================================== */
.gallery-main-wrap { position:relative; border-radius:var(--radius-md); overflow:hidden; background:var(--surface); cursor:zoom-in; }
.gallery-main-img { width:100%; height:420px; object-fit:contain; display:block; transition:opacity 0.25s; }
.gallery-arrow { position:absolute; top:50%; transform:translateY(-50%); width:44px; height:44px; background:rgba(0,0,0,0.72); border:1.5px solid rgba(255,255,255,0.18); border-radius:50%; color:#fff; cursor:pointer; display:flex; align-items:center; justify-content:center; z-index:3; transition:background 0.2s, border-color 0.2s; flex-shrink:0; }
.gallery-arrow:hover { background:var(--accent); border-color:var(--accent); }
.gallery-arrow--prev { left:14px; }
.gallery-arrow--next { right:14px; }
.gallery-counter { position:absolute; bottom:12px; right:14px; background:rgba(0,0,0,0.6); color:#fff; font-size:12px; font-weight:600; padding:4px 10px; border-radius:20px; z-index:3; }
.gallery-thumbs { display:flex; gap:8px; margin-top:10px; }
.gallery-thumb { width:70px; height:55px; object-fit:cover; border-radius:6px; cursor:pointer; border:2px solid transparent; opacity:0.6; transition:all 0.2s; flex-shrink:0; background:var(--surface-2); display:flex; align-items:center; justify-content:center; color:var(--text-muted); }
.gallery-thumb.active { border-color:var(--accent); opacity:1; }
.gallery-thumb img { width:100%; height:100%; object-fit:cover; border-radius:4px; }
.no-img-gallery { width:100%; height:420px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:10px; background:var(--surface-2); color:var(--text-muted); font-size:13px; }

/* ===================================================
   LIGHTBOX
   =================================================== */
.lightbox { position:fixed; inset:0; z-index:9000; background:rgba(0,0,0,0.95); display:flex; align-items:center; justify-content:center; opacity:0; pointer-events:none; transition:opacity 0.25s; }
.lightbox.active { opacity:1; pointer-events:auto; }
.lightbox-close { position:fixed; top:18px; right:22px; background:rgba(255,255,255,0.12); border:1px solid rgba(255,255,255,0.2); color:#fff; width:40px; height:40px; border-radius:50%; cursor:pointer; display:flex; align-items:center; justify-content:center; font-size:20px; z-index:9001; transition:background 0.2s; }
.lightbox-close:hover { background:var(--accent); }
.lightbox-img-wrap { position:relative; max-width:92vw; max-height:88vh; }
.lightbox-img { max-width:92vw; max-height:88vh; object-fit:contain; display:block; border-radius:6px; }
.lightbox-no-img { width:60vw; height:60vh; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:12px; color:rgba(255,255,255,0.4); font-size:14px; }
.lightbox-arrow { position:fixed; top:50%; transform:translateY(-50%); width:48px; height:48px; background:rgba(255,255,255,0.1); border:1.5px solid rgba(255,255,255,0.2); border-radius:50%; color:#fff; cursor:pointer; display:flex; align-items:center; justify-content:center; z-index:9001; transition:background 0.2s; }
.lightbox-arrow:hover { background:var(--accent); }
.lightbox-arrow--prev { left:16px; }
.lightbox-arrow--next { right:16px; }
.lightbox-counter { position:fixed; bottom:24px; left:50%; transform:translateX(-50%); color:rgba(255,255,255,0.7); font-size:14px; z-index:9001; }

/* ===================================================
   SEARCH BAR
   =================================================== */
.catalog-search-wrap { margin-bottom: 24px; }
.catalog-search-inner { position:relative; width:100%; }
.search-icon { position:absolute; left:16px; top:50%; transform:translateY(-50%); color:var(--text-muted); pointer-events:none; }
.catalog-search-input { width:100%; background:var(--surface); border:1px solid var(--border-strong); border-radius:30px; padding:12px 48px; color:var(--text-primary); font-size:15px; transition:all 0.2s; outline:none; }
.catalog-search-input:focus { border-color:var(--accent); box-shadow:0 0 0 3px rgba(229,57,53,0.15); }
.catalog-search-input::placeholder { color:var(--text-muted); }
.search-clear-btn { position:absolute; right:12px; top:50%; transform:translateY(-50%); background:var(--surface-2); border:none; width:28px; height:28px; border-radius:50%; display:flex; align-items:center; justify-content:center; color:var(--text-secondary); cursor:pointer; transition:all 0.2s; }
.search-clear-btn:hover { background:var(--bg-elevated); color:var(--accent); }
.search-empty { text-align:center; padding:60px 20px; color:var(--text-secondary); display:flex; flex-direction:column; align-items:center; gap:16px; width:100%; grid-column:1/-1; }
.search-empty svg { color:var(--text-muted); opacity:0.5; }
.search-empty p { font-size:18px; font-weight:600; color:var(--text-primary); margin:0; }
.search-empty span { font-size:14px; }
.product-search-cat { font-size:11px; font-weight:600; text-transform:uppercase; letter-spacing:0.5px; color:var(--accent); margin-bottom:6px; }

/* ===================================================
   AVAILABILITY BADGES
   =================================================== */
.avail-badge { position:absolute; top:12px; left:12px; font-size:11px; font-weight:700; text-transform:uppercase; padding:4px 10px; border-radius:4px; z-index:2; box-shadow:0 2px 4px rgba(0,0,0,0.2); }
.avail-badge--yes { background:#2e7d32; color:#fff; }
.avail-badge--no { background:var(--surface-2); color:var(--text-secondary); border:1px solid var(--border); }
.product-card .avail-badge { display:none; }
.product-detail-info .avail-badge { position:relative; top:auto; left:auto; display:inline-block; margin-bottom:16px; box-shadow:none; }

/* ===================================================
   ANIMATIONS
   =================================================== */
.fade-in { animation: fadeIn 0.4s ease-out forwards; }
@keyframes fadeIn {
  from { opacity:0; }
  to { opacity:1; }
}

@media (max-width: 600px) {
  /* Cart & Checkout */
  .gc-drawer { width:100vw; }
  .gc-checkout-box { max-width:100%; padding:24px 16px; min-height: 100vh; border-radius: 0; }
  .gc-checkout-title { font-size:1.6rem; margin-bottom: 20px; }
  
  /* Catalog Header & Controls */
  .catalog-page { padding: 90px 0 40px; }
  .catalog-controls { flex-direction: column; align-items: stretch; gap: 12px; margin-bottom: 24px; }
  .catalog-filters-wrap { flex-direction: column; align-items: stretch; gap: 12px; }
  .catalog-filters { justify-content: flex-start; flex-wrap: wrap; gap: 8px; overflow-x: visible; padding-bottom: 0; }
  .chip { white-space: nowrap; font-size: 12px; padding: 6px 12px; }
  
  /* Category Grid - Horizontal Scroll */
  .category-grid { display: flex; flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; -webkit-overflow-scrolling: touch; }
  .category-grid::-webkit-scrollbar { display: none; }
  .category-card { flex: 0 0 75%; scroll-snap-align: center; }
  .category-card img { height: 250px; }
  .category-card-title { padding: 12px 10px 10px; }
  .category-card-name { font-size: 1.1rem; }
  .category-card-sub { font-size: 11px; }

  /* Product Grid - 2 Columns */
  .products-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .product-card-img-link img { height: 160px; }
  .product-content { padding: 8px; }
  .product-title { font-size: 0.85rem; margin-bottom: 4px; line-height: 1.3; }
  .product-desc { display: none; }
  .product-specs { display: none; }
  .product-price { font-size: 1.1rem; font-weight: 700; }
  .product-card-arrow { display: none; }
  .btn-add-cart { width: 34px; height: 34px; padding: 0; justify-content: center; border-radius: 50%; }
  .btn-add-cart svg { width: 16px; height: 16px; }
  .add-cart-text { display: none; }

  /* Product Detail */
  .product-detail-img-wrap { border-radius: 0; margin: 0 -16px; }
  .gallery-main-img, .no-img-gallery { height: 320px; border-radius: 0; }
  .product-detail-title { font-size: 1.6rem; margin-bottom: 12px; }
  .product-detail-price { font-size: 1.8rem; margin-bottom: 16px; }
  .product-detail-actions { flex-direction: column; }
  .product-detail-actions .btn { width: 100%; }
  
  /* Lightbox */
  .lightbox-arrow--prev { left:6px; }
  .lightbox-arrow--next { right:6px; }
  .lightbox-arrow { width: 40px; height: 40px; }
}

/* Mobile Filter */
.filter-btn {
  display: none;
  background: var(--surface-2);
  color: var(--text-primary);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
  align-items: center;
  gap: 8px;
}
.catalog-sidebar-close {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 28px;
  cursor: pointer;
  position: absolute;
  top: 10px;
  right: 15px;
  line-height: 1;
}
.sidebar-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6);
  z-index: 99;
}
.sidebar-overlay.active {
  display: block;
}

@media (max-width: 768px) {
  .filter-btn {
    display: flex;
  }
  .catalog-sidebar {
    position: fixed !important;
    bottom: -100%;
    left: 0;
    right: 0;
    top: auto !important;
    width: 100% !important;
    max-height: 85vh !important;
    background: var(--bg);
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    padding: 40px 20px 20px 20px;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.5);
    z-index: 100;
    transition: bottom 0.3s ease;
    overflow-y: auto;
  }
  .catalog-sidebar.mobile-open {
    bottom: 0;
  }
  .catalog-sidebar-close {
    display: block;
  }
  .catalog-controls {
    flex-wrap: wrap;
  }
  .catalog-search-wrap-inline {
    width: 100%;
    order: -1;
  }
}
