/* ═══════════════════════════════════════════════════
   round2vintage — Neumorphism Design System
   Soft shadows, smooth gradients, tactile depth
   Elements gently raised or pressed — quiet & refined
   ═══════════════════════════════════════════════════ */

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

/* ── Design Tokens ──────────────────────────────── */
:root {
  /* Neumorphism base palette — warm gray surface */
  --bg: #e8e8e8;
  --bg-light: #f0f0f0;
  --bg-dark: #d1d1d1;
  --surface: #e8e8e8;

  /* Shadows — the core of neumorphism */
  --shadow-light: rgba(255, 255, 255, 0.8);
  --shadow-dark: rgba(163, 163, 163, 0.5);

  /* Raised element (convex) */
  --neu-raised: 6px 6px 14px var(--shadow-dark),
                -6px -6px 14px var(--shadow-light);
  --neu-raised-sm: 3px 3px 8px var(--shadow-dark),
                   -3px -3px 8px var(--shadow-light);
  --neu-raised-lg: 10px 10px 24px var(--shadow-dark),
                   -10px -10px 24px var(--shadow-light);

  /* Pressed element (concave / inset) */
  --neu-pressed: inset 4px 4px 10px var(--shadow-dark),
                 inset -4px -4px 10px var(--shadow-light);
  --neu-pressed-sm: inset 2px 2px 6px var(--shadow-dark),
                    inset -2px -2px 6px var(--shadow-light);

  /* Flat with subtle edge */
  --neu-flat: 2px 2px 6px var(--shadow-dark),
              -2px -2px 6px var(--shadow-light);

  /* Text colors */
  --text-primary: #2d2d2d;
  --text-secondary: #6b6b6b;
  --text-muted: #999999;
  --text-white: #ffffff;

  /* Accent — warm muted tone */
  --accent: #7c6f64;
  --accent-hover: #5d524a;
  --accent-light: #d4ccc7;
  --accent-glow: rgba(124, 111, 100, 0.3);

  /* Status colors */
  --danger: #c0392b;
  --danger-hover: #a93226;
  --success: #27ae60;

  /* Typography */
  --font-heading: 'Playfair Display', 'Georgia', 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Layout */
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-round: 50px;
  --transition: 0.3s ease;
  --transition-slow: 0.5s ease;
  --max-width: 1140px;
  --nav-height: 80px;
}

/* ── Base ────────────────────────────────────────── */
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--bg);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol { list-style: none; }

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* ── Typography ─────────────────────────────────── */
h1, h2, h3 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

h1 {
  font-size: 3rem;
  font-weight: 500;
  line-height: 1.15;
}

h2 {
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.25;
}

h3 {
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.4;
}

p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.7;
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
}

/* ── Layout ─────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

main {
  flex: 1;
  padding-top: var(--nav-height);
}

/* ═══════════════════════════════════════════════════
   NAVIGATION — Raised neumorphic bar
   ═══════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: var(--bg);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.navbar::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 24px;
  right: 24px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--shadow-dark) 20%,
    var(--shadow-dark) 80%,
    transparent
  );
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar__logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.navbar__logo span {
  font-weight: 700;
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.navbar__links a {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 10px 18px;
  border-radius: var(--radius);
  transition: all var(--transition);
}

.navbar__links a:hover {
  color: var(--text-primary);
  box-shadow: var(--neu-raised-sm);
}

.navbar__links a.active {
  color: var(--text-primary);
  box-shadow: var(--neu-pressed-sm);
}

.navbar__cart-count {
  background: var(--accent);
  color: var(--text-white);
  font-size: 0.625rem;
  font-weight: 600;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 4px;
  vertical-align: middle;
  letter-spacing: 0;
}

/* Mobile hamburger */
.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
  border-radius: var(--radius);
}

.navbar__toggle:active {
  box-shadow: var(--neu-pressed-sm);
}

.navbar__toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text-primary);
  transition: var(--transition);
}

@media (max-width: 768px) {
  .navbar__toggle {
    display: flex;
  }

  .navbar__links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 32px 24px;
    gap: 8px;
    box-shadow: 0 10px 24px var(--shadow-dark);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s ease, opacity 0.35s ease;
  }

  .navbar__links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .navbar__links a {
    width: 100%;
    text-align: center;
    padding: 14px;
  }
}

/* ═══════════════════════════════════════════════════
   HERO SECTION — Full-width background image
   Overlay + grid-placed content, no absolute positioning
   ═══════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-height));
  display: grid;
  background: url('/images/hero-bg.png') center center / cover no-repeat;
  background-color: #d5d5d5;
  overflow: hidden;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(20, 20, 20, 0.72) 0%,
    rgba(40, 36, 32, 0.55) 50%,
    rgba(20, 20, 20, 0.40) 100%
  );
  pointer-events: none;
}

.hero__container {
  position: relative;
  display: grid;
  align-items: center;
  min-height: calc(100vh - var(--nav-height));
  padding-top: 80px;
  padding-bottom: 80px;
}

.hero__content {
  max-width: 600px;
}

/* ── Label pill ─────────────────────────────────── */
.hero__label {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px 20px;
  border-radius: var(--radius-round);
  margin-bottom: 28px;
  backdrop-filter: blur(4px);
}

/* ── Title ──────────────────────────────────────── */
.hero__title {
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  font-weight: 500;
  line-height: 1.08;
  margin-bottom: 24px;
  color: #ffffff;
  letter-spacing: -0.025em;
}

.hero__title em {
  font-style: italic;
  color: rgba(255, 255, 255, 0.7);
}

/* ── Typing cursor ──────────────────────────────── */
.hero__cursor {
  display: inline-block;
  width: 3px;
  height: 0.85em;
  background: rgba(255, 255, 255, 0.7);
  margin-left: 4px;
  vertical-align: baseline;
  border-radius: 2px;
  animation: cursorBlink 1.1s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  opacity: 0.7;
  position: relative;
  top: 0.04em;
  transition: opacity 0.6s ease;
}

.hero__cursor--hidden {
  animation: none;
  opacity: 0;
}

@keyframes cursorBlink {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 0; }
}

/* ── Description ────────────────────────────────── */
.hero__desc {
  font-size: 1.0625rem;
  max-width: 460px;
  margin: 0 0 40px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  font-weight: 400;
}

/* ── CTA buttons ────────────────────────────────── */
.hero__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 36px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius-round);
  transition: all var(--transition);
  background: #ffffff;
  color: var(--text-primary);
}

.hero__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
  color: var(--text-primary);
}

.hero__cta:active {
  transform: translateY(0);
}

.hero__cta--outline {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.hero__cta--outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
  color: #ffffff;
}

/* ── Hero responsive ────────────────────────────── */
@media (max-width: 768px) {
  .hero__container {
    min-height: auto;
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .hero {
    min-height: 80vh;
  }

  .hero__title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .hero__desc {
    font-size: 0.9375rem;
  }
}

@media (max-width: 520px) {
  .hero__actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .hero__cta {
    width: 100%;
    text-align: center;
  }
}

/* ═══════════════════════════════════════════════════
   VALUES / WHY VINTAGE — Neomorphic Bento Redesign
   ═══════════════════════════════════════════════════ */
.values-section {
  padding: 100px 0;
  background: var(--bg-light);
}

/* ── Bento grid: featured left, 2 compact cards stacked right ── */
.values-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 24px;
  margin-bottom: 48px;
  align-items: stretch;
}

/* ── Base card ──────────────────────────────────── */
.value-card {
  border-radius: var(--radius-lg);
  background: var(--bg);
  box-shadow: var(--neu-raised);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--neu-raised-lg);
}

/* ── Shared icon style ──────────────────────────── */
.value-card__icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: var(--bg);
  box-shadow: var(--neu-pressed-sm);
  color: var(--accent);
  flex-shrink: 0;
}

/* ── Featured Card (spans both rows left column) ── */
.value-card--featured {
  grid-row: 1 / 3;
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.value-card--featured .value-card__icon {
  width: 56px;
  height: 56px;
  margin-bottom: 32px;
}

.value-card--featured h3 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.value-card--featured p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.85;
  flex: 1;
}

/* Gradient accent stripe at bottom of featured card */
.value-card__accent {
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  border-radius: 2px;
  margin-top: 32px;
}

/* Large ghost icon for decorative depth */
.value-card__bg-icon {
  position: absolute;
  bottom: -28px;
  right: -28px;
  width: 200px;
  height: 200px;
  opacity: 0.04;
  color: var(--text-primary);
  pointer-events: none;
  transform: rotate(-8deg);
}

.value-card__bg-icon svg {
  width: 100%;
  height: 100%;
}

/* ── Compact Horizontal Cards ───────────────────── */
.value-card--compact {
  padding: 28px 28px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.value-card--compact .value-card__icon {
  margin-top: 2px;
}

.value-card__text {
  flex: 1;
}

.value-card--compact h3 {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.value-card--compact p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ── Stats Strip — single pressed container ─────── */
.values-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px 48px;
  border-radius: var(--radius-xl);
  box-shadow: var(--neu-pressed);
  background: var(--bg);
}

.values-stat {
  flex: 1;
  text-align: center;
  padding: 8px 16px;
}

.values-stat strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
  letter-spacing: -0.025em;
}

.values-stat span {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Thin vertical divider between stats */
.values-stat__divider {
  width: 1px;
  height: 52px;
  background: linear-gradient(
    180deg,
    transparent,
    var(--shadow-dark) 30%,
    var(--shadow-dark) 70%,
    transparent
  );
  flex-shrink: 0;
}

/* ── Values responsive ──────────────────────────── */
@media (max-width: 900px) {
  .values-section {
    padding: 72px 0;
  }

  .values-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 20px;
    margin-bottom: 40px;
  }

  .value-card--featured {
    grid-row: auto;
    padding: 36px 28px;
  }

  .values-stats {
    padding: 28px 24px;
  }
}

@media (max-width: 520px) {
  .values-stats {
    flex-direction: column;
    padding: 28px 20px;
    gap: 4px;
  }

  .values-stat__divider {
    width: 40px;
    height: 1px;
    background: linear-gradient(
      90deg,
      transparent,
      var(--shadow-dark) 30%,
      var(--shadow-dark) 70%,
      transparent
    );
    margin: 6px 0;
  }

  .values-stat {
    padding: 8px;
  }
}

/* ═══════════════════════════════════════════════════
   SECTION HEADERS
   ═══════════════════════════════════════════════════ */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-label {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: 2.25rem;
}

.section-header h2 em {
  font-style: italic;
  color: var(--accent);
}

/* ═══════════════════════════════════════════════════
   PRODUCT GRID
   ═══════════════════════════════════════════════════ */
.products-section {
  padding: 80px 0 100px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

@media (max-width: 900px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 520px) {
  .product-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ── Product Card — Raised neumorphic ──────────── */
.product-card {
  background: var(--bg);
  cursor: pointer;
  border-radius: var(--radius-lg);
  box-shadow: var(--neu-raised);
  overflow: hidden;
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
}

.product-card:hover {
  box-shadow: var(--neu-raised-lg);
  transform: translateY(-4px);
}

.product-card__image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--bg-dark);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.product-card__image--primary {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease-out;
}

.product-card:hover .product-card__image--primary {
  transform: scale(1.03);
}

.product-card__image--hover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.3s ease-out;
}

.product-card:hover .product-card__image--hover {
  opacity: 1;
}

/* Fallback for cards without a second image */
.product-card__image {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: var(--bg-dark);
  transition: transform 0.3s ease-out;
}

.product-card:hover .product-card__image {
  transform: scale(1.03);
}

.product-card__body {
  padding: 20px 20px 24px;
}

.product-card__name {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}

.product-card__price {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.02em;
}

/* ═══════════════════════════════════════════════════
   SINGLE PRODUCT PAGE
   ═══════════════════════════════════════════════════ */
.product-detail {
  padding: 60px 0 100px;
}

.product-detail__wrapper {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: start;
}

.product-detail__images {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.product-detail__image {
  width: 100%;
  border-radius: var(--radius-lg);
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: var(--bg-dark);
  box-shadow: var(--neu-raised);
}

.product-detail__gallery {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
  scrollbar-color: var(--bg-dark) transparent;
}

.product-detail__gallery::-webkit-scrollbar {
  height: 4px;
}

.product-detail__gallery::-webkit-scrollbar-track {
  background: transparent;
}

.product-detail__gallery::-webkit-scrollbar-thumb {
  background: var(--bg-dark);
  border-radius: 2px;
}

.product-detail__gallery-img {
  width: 80px;
  height: 106px;
  object-fit: cover;
  border-radius: var(--radius);
  cursor: pointer;
  opacity: 0.5;
  transition: all var(--transition);
  flex-shrink: 0;
  box-shadow: var(--neu-flat);
  border: 2px solid transparent;
}

.product-detail__gallery-img:hover {
  opacity: 0.8;
}

.product-detail__gallery-img.active {
  opacity: 1;
  box-shadow: var(--neu-pressed-sm);
  border-color: var(--accent);
}

/* ── Image Zoom Lens ────────────────────────────── */
.img-zoom-wrap {
  position: relative;
  cursor: zoom-in;
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.img-zoom-wrap .product-detail__image {
  display: block;
}

.img-zoom-lens {
  position: absolute;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  box-shadow: 0 2px 16px rgba(0,0,0,0.22),
              0 0 0 1px rgba(255,255,255,0.35),
              var(--neu-raised-sm);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease;
  background-repeat: no-repeat;
  background-color: var(--bg-dark);
  z-index: 10;
}

.img-zoom-wrap:hover .img-zoom-lens {
  opacity: 1;
}

/* ── Image click hint ───────────────────────────── */
.img-click-hint {
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-round);
  background: var(--bg);
  box-shadow: var(--neu-raised-sm);
  color: var(--accent);
  pointer-events: none;
  user-select: none;
}

.img-click-hint__arrow {
  display: block;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 8px solid var(--accent);
  flex-shrink: 0;
}

.img-click-hint__text {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1;
}

/* ── Lightbox ───────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(18, 18, 18, 0.86);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lightbox__img {
  max-width: min(88vw, 700px);
  max-height: 88vh;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 64px rgba(0,0,0,0.55);
  object-fit: contain;
  transform: scale(0.94);
  transition: transform 0.22s ease;
}

.lightbox.open .lightbox__img {
  transform: scale(1);
}

.lightbox__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg);
  border: none;
  cursor: pointer;
  box-shadow: var(--neu-raised);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--text-primary);
  transition: box-shadow var(--transition), transform var(--transition);
  line-height: 1;
}

.lightbox__close:hover {
  box-shadow: var(--neu-pressed);
  transform: scale(0.92);
}

.product-detail__info {
  padding-top: 16px;
}

.product-detail__info h1 {
  font-size: 2.25rem;
  margin-bottom: 16px;
}

.product-detail__price {
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 28px;
  letter-spacing: 0.02em;
}

.product-detail__desc {
  margin-bottom: 36px;
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 0.9375rem;
}

.product-detail__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.quantity-selector {
  display: flex;
  align-items: center;
  border-radius: var(--radius);
  box-shadow: var(--neu-pressed-sm);
  overflow: hidden;
  background: var(--bg);
}

.quantity-selector button {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  color: var(--text-secondary);
  transition: all var(--transition);
  background: var(--bg);
}

.quantity-selector button:hover {
  color: var(--text-primary);
}

.quantity-selector button:active {
  box-shadow: var(--neu-pressed-sm);
}

.quantity-selector input {
  width: 52px;
  height: 44px;
  text-align: center;
  border: none;
  font-weight: 600;
  font-size: 0.875rem;
  outline: none;
  background: var(--bg);
  color: var(--text-primary);
}

.quantity-selector input::-webkit-outer-spin-button,
.quantity-selector input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.quantity-selector input[type='number'] {
  -moz-appearance: textfield;
}

@media (max-width: 768px) {
  .product-detail__wrapper {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .product-detail__info h1 {
    font-size: 1.75rem;
  }
}

/* ═══════════════════════════════════════════════════
   BUTTONS — Neumorphic raised/pressed states
   ═══════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all var(--transition);
  background: var(--bg);
  color: var(--text-primary);
  box-shadow: var(--neu-raised);
}

.btn:hover:not(:disabled) {
  box-shadow: var(--neu-raised-lg);
  transform: translateY(-1px);
}

.btn:active:not(:disabled) {
  box-shadow: var(--neu-pressed);
  transform: translateY(0);
}

.btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

.btn--primary {
  background: var(--accent);
  color: var(--text-white);
  box-shadow: 4px 4px 12px rgba(93, 82, 74, 0.4),
              -4px -4px 12px rgba(255, 255, 255, 0.5);
}

.btn--primary:hover:not(:disabled) {
  background: var(--accent-hover);
  box-shadow: 6px 6px 18px rgba(93, 82, 74, 0.5),
              -6px -6px 18px rgba(255, 255, 255, 0.6);
}

.btn--primary:active:not(:disabled) {
  background: var(--accent-hover);
  box-shadow: inset 3px 3px 8px rgba(60, 50, 43, 0.3),
              inset -3px -3px 8px rgba(120, 106, 94, 0.2);
}

.btn--secondary {
  background: var(--bg);
  color: var(--text-primary);
}

.btn--danger {
  background: var(--bg);
  color: var(--danger);
}

.btn--danger:hover:not(:disabled) {
  background: var(--danger);
  color: var(--text-white);
  box-shadow: 4px 4px 12px rgba(192, 57, 43, 0.3),
              -4px -4px 12px rgba(255, 255, 255, 0.5);
}

.btn--small {
  padding: 8px 16px;
  font-size: 0.6875rem;
  border-radius: 8px;
  box-shadow: var(--neu-raised-sm);
}

.btn--small:hover:not(:disabled) {
  box-shadow: var(--neu-raised);
}

.btn--small:active:not(:disabled) {
  box-shadow: var(--neu-pressed-sm);
}

.btn--full {
  width: 100%;
}

/* ═══════════════════════════════════════════════════
   CART PAGE
   ═══════════════════════════════════════════════════ */
.cart-section {
  padding: 60px 0 100px;
}

.cart-section h1 {
  margin-bottom: 40px;
  font-size: 2.25rem;
}

.cart-empty {
  text-align: center;
  padding: 80px 0;
}

.cart-empty p {
  font-size: 1.0625rem;
  margin-bottom: 28px;
  color: var(--text-muted);
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--neu-raised);
  background: var(--bg);
}

.cart-item__image {
  width: 80px;
  height: 106px;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--bg-dark);
  flex-shrink: 0;
  box-shadow: var(--neu-pressed-sm);
}

.cart-item__info {
  flex: 1;
}

.cart-item__name {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1rem;
  margin-bottom: 4px;
}

.cart-item__price {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.875rem;
}

.cart-item__quantity {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.cart-item__remove {
  color: var(--text-muted);
  font-size: 1.125rem;
  padding: 10px;
  border-radius: var(--radius);
  transition: all var(--transition);
}

.cart-item__remove:hover {
  color: var(--danger);
  box-shadow: var(--neu-raised-sm);
}

.cart-item__remove:active {
  box-shadow: var(--neu-pressed-sm);
}

.cart-summary {
  margin-top: 32px;
  padding: 28px 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--neu-pressed);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.cart-summary__total {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--text-primary);
}

@media (max-width: 600px) {
  .cart-item {
    flex-wrap: wrap;
  }

  .cart-summary {
    flex-direction: column;
    text-align: center;
  }
}

/* ═══════════════════════════════════════════════════
   CHECKOUT PAGE
   ═══════════════════════════════════════════════════ */
.checkout-section {
  padding: 60px 0 100px;
  max-width: 560px;
  margin: 0 auto;
}

.checkout-section h1 {
  margin-bottom: 40px;
  font-size: 2rem;
}

.checkout-summary {
  margin-bottom: 40px;
  padding: 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--neu-raised);
  background: var(--bg);
}

.checkout-summary__item {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.checkout-summary__item + .checkout-summary__item {
  border-top: 1px solid var(--bg-dark);
}

.checkout-summary__total {
  display: flex;
  justify-content: space-between;
  padding: 20px 0 0;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-primary);
  border-top: 2px solid var(--accent);
  margin-top: 8px;
}

.checkout-success {
  text-align: center;
  padding: 80px 0;
}

.checkout-success h1 {
  color: var(--success);
  margin-bottom: 16px;
}

.checkout-success p {
  font-size: 1.0625rem;
  margin-bottom: 32px;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════
   LOGIN PAGE
   ═══════════════════════════════════════════════════ */
.login-section {
  padding: 100px 0;
  display: flex;
  justify-content: center;
}

.login-form {
  width: 100%;
  max-width: 400px;
  padding: 48px 40px;
  border-radius: var(--radius-xl);
  box-shadow: var(--neu-raised-lg);
  background: var(--bg);
}

.login-form h1 {
  text-align: center;
  margin-bottom: 36px;
  font-size: 1.75rem;
}

/* ── Forms — Pressed inset inputs ──────────────── */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 18px;
  border: none;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  color: var(--text-primary);
  background: var(--bg);
  box-shadow: var(--neu-pressed-sm);
  outline: none;
  transition: box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  box-shadow: var(--neu-pressed),
              0 0 0 2px var(--accent-light);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-group input[type="file"] {
  box-shadow: none;
  padding: 8px 0;
  font-size: 0.875rem;
  background: transparent;
}

.form-error {
  color: var(--danger);
  font-size: 0.8125rem;
  margin-top: 8px;
  display: none;
}

.form-error.visible {
  display: block;
}

/* ═══════════════════════════════════════════════════
   ADMIN PANEL
   ═══════════════════════════════════════════════════ */
.admin-section {
  padding: 60px 0 100px;
}

.admin-section h1 {
  margin-bottom: 36px;
  font-size: 2rem;
}

.admin-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 40px;
  padding: 6px;
  border-radius: var(--radius);
  box-shadow: var(--neu-pressed-sm);
  background: var(--bg);
  width: fit-content;
}

.admin-tabs button {
  padding: 12px 24px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 8px;
  transition: all var(--transition);
}

.admin-tabs button.active {
  color: var(--text-primary);
  box-shadow: var(--neu-raised-sm);
  background: var(--bg);
}

.admin-tabs button:hover:not(.active) {
  color: var(--text-primary);
}

.admin-panel {
  display: none;
}

.admin-panel.active {
  display: block;
}

/* Admin product list */
.admin-product-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.admin-product-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--neu-raised);
  background: var(--bg);
}

.admin-product-item img {
  width: 56px;
  height: 74px;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--bg-dark);
  flex-shrink: 0;
  box-shadow: var(--neu-pressed-sm);
}

.admin-product-item__info {
  flex: 1;
}

.admin-product-item__name {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.9375rem;
}

.admin-product-item__price {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.8125rem;
  margin-top: 2px;
}

.admin-product-item__actions {
  display: flex;
  gap: 8px;
}

/* Admin orders */
.admin-order-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.admin-order-item {
  border-radius: var(--radius-lg);
  box-shadow: var(--neu-raised);
  background: var(--bg);
  overflow: hidden;
}

.admin-order-item__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  background: var(--bg-light);
  box-shadow: var(--neu-pressed-sm);
  flex-wrap: wrap;
  gap: 8px;
}

.admin-order-item__id {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8125rem;
  color: var(--text-primary);
  letter-spacing: 0.04em;
}

.admin-order-item__total {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1.125rem;
  color: var(--text-primary);
}

.admin-order-item__body {
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 600px) {
  .admin-order-item__body {
    grid-template-columns: 1fr;
  }
}

.order-detail-block {
  font-size: 0.875rem;
}

.order-detail-block__title {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.order-detail-block ul {
  list-style: none;
}

.order-detail-block li {
  padding: 5px 0;
  color: var(--text-primary);
  display: flex;
  justify-content: space-between;
  font-size: 0.8125rem;
}

.order-detail-block li span {
  color: var(--text-muted);
  font-size: 0.8125rem;
}

.order-detail-block p {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 0.8125rem;
}

.admin-order-item__footer {
  padding: 14px 24px;
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  background: var(--bg-light);
}

/* Admin product form (modal) */
.admin-form-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 24px;
  backdrop-filter: blur(8px);
}

.admin-form-overlay.active {
  display: flex;
}

.admin-form {
  background: var(--bg);
  padding: 40px;
  border-radius: var(--radius-xl);
  box-shadow: var(--neu-raised-lg);
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
}

.admin-form h2 {
  margin-bottom: 28px;
  font-size: 1.5rem;
}

.admin-form__actions {
  display: flex;
  gap: 12px;
  margin-top: 28px;
}

/* Extra images preview in admin form */
/* ── Drag-drop image zone ───────────────────────── */
.form-label-hint {
  font-size: 11px;
  font-weight: 400;
  color: var(--text-muted);
  margin-left: 6px;
  letter-spacing: 0.03em;
}

.img-dropzone__area {
  background: var(--bg);
  box-shadow: var(--neu-pressed-sm);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  cursor: pointer;
  transition: box-shadow 0.2s ease, color 0.2s ease;
  color: var(--text-secondary);
  font-size: 14px;
  user-select: none;
}

.img-dropzone__area:hover {
  color: var(--accent);
}

.img-dropzone__area.drag-over {
  box-shadow: var(--neu-pressed);
  color: var(--accent);
}

.img-dropzone__icon {
  display: block;
  font-size: 26px;
  margin-bottom: 6px;
  color: var(--accent);
  line-height: 1;
}

.img-dropzone__browse {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ── Image thumbnails grid ──────────────────────── */
.img-dropzone__thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

.img-thumb {
  position: relative;
  width: 76px;
  height: 76px;
  border-radius: var(--radius);
  box-shadow: var(--neu-raised-sm);
  cursor: grab;
  flex-shrink: 0;
  transition: opacity 0.15s, box-shadow 0.15s;
}

.img-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
  pointer-events: none;
}

.img-thumb--main {
  box-shadow: var(--neu-raised-sm), 0 0 0 2px var(--accent);
}

.img-thumb__badge {
  position: absolute;
  bottom: -9px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 20px;
  white-space: nowrap;
  pointer-events: none;
}

.img-thumb__remove {
  position: absolute;
  top: -7px;
  right: -7px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--danger);
  color: #fff;
  border: none;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-shadow: 0 2px 5px rgba(192, 57, 43, 0.35);
  transition: background 0.15s;
}

.img-thumb__remove:hover {
  background: var(--danger-hover);
}

.img-thumb.dragging {
  opacity: 0.35;
  cursor: grabbing;
}

.img-thumb.drop-target {
  box-shadow: var(--neu-raised-sm), 0 0 0 2px var(--accent);
  outline: 2px dashed var(--accent);
  outline-offset: 3px;
}

/* ═══════════════════════════════════════════════════
   FOOTER — Soft dark neumorphism
   ═══════════════════════════════════════════════════ */
.footer {
  background: #2d2d2d;
  color: #999;
  padding: 56px 0 40px;
  margin-top: auto;
}

.footer__top {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 32px;
}

.footer__brand {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 8px;
}

.footer__brand span {
  font-weight: 700;
}

.footer__tagline {
  font-size: 0.8125rem;
  color: #888;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
  gap: 16px;
}

.footer__links {
  display: flex;
  gap: 28px;
}

.footer__links a {
  font-size: 0.75rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color var(--transition);
}

.footer__links a:hover {
  color: #fff;
}

.footer__copy {
  font-size: 0.6875rem;
  color: #666;
  letter-spacing: 0.02em;
}

@media (max-width: 600px) {
  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ═══════════════════════════════════════════════════
   COMPONENTS
   ═══════════════════════════════════════════════════ */

/* Loading spinner — neumorphic ring */
.loader {
  display: inline-block;
  width: 22px;
  height: 22px;
  border: 2px solid var(--bg-dark);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loading-overlay {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 0;
}

/* Scroll animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.product-card.animate-on-scroll.visible {
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
}

/* Stagger delay for grid items */
.product-card:nth-child(1) { transition-delay: 0s; }
.product-card:nth-child(2) { transition-delay: 0.08s; }
.product-card:nth-child(3) { transition-delay: 0.08s; }
.product-card:nth-child(4) { transition-delay: 0.16s; }
.product-card:nth-child(5) { transition-delay: 0.16s; }
.product-card:nth-child(6) { transition-delay: 0.24s; }

/* Toast notification — raised pill */
.toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  padding: 16px 30px;
  background: var(--bg);
  color: var(--text-primary);
  border-radius: var(--radius-round);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: var(--neu-raised-lg);
  transform: translateY(100px);
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
  z-index: 3000;
}

.toast.visible {
  transform: translateY(0);
  opacity: 1;
}

.toast--success {
  background: var(--success);
  color: var(--text-white);
  box-shadow: 6px 6px 18px rgba(39, 174, 96, 0.3),
              -6px -6px 18px rgba(255, 255, 255, 0.4);
}

.toast--error {
  background: var(--danger);
  color: var(--text-white);
  box-shadow: 6px 6px 18px rgba(192, 57, 43, 0.3),
              -6px -6px 18px rgba(255, 255, 255, 0.4);
}

/* Badge */
.badge {
  display: inline-block;
  padding: 4px 12px;
  font-size: 0.625rem;
  font-weight: 600;
  border-radius: var(--radius-round);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: var(--neu-raised-sm);
}

.badge--paid {
  background: #d4edda;
  color: var(--success);
}

.badge--pending {
  background: #fff3cd;
  color: #f57c00;
}

/* ═══════════════════════════════════════════════════
   UTILITIES
   ═══════════════════════════════════════════════════ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.text-center { text-align: center; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }

.hidden {
  display: none !important;
}
