@font-face {
  font-family: 'Ranmor';
  src: url('../fonts/Ranmor.otf') format('opentype');
  font-display: swap;
}
@media (max-width: 1099px) {
  .hero-btns {
    margin-bottom: 0;
  }
}

@media (min-width: 1100px) {
  .hero {
    position: relative;
  }
}

/* Light color button for Shop Now */
.btn-brown {
  background: linear-gradient(135deg, #e8c09a 0%, #c8956c 60%, #a0704a 100%);
  color: #3f2816;
  border: 2px solid #c8956c;
  border-radius: 32px;
  box-shadow: 0 2px 8px rgba(200,149,108,0.18);
  transition: background .2s, color .2s, border-color .2s;
}

.btn-brown:hover,
  .btn-brown:focus {
  background: linear-gradient(135deg, #c8956c 0%, #e8c09a 100%);
  color: #3f2816;
  border: 2px solid #a0704a;
}

/* Our Album: round frames + horizontal scroll */
.album-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 18px;
  margin-top: 20px;
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
}

.album-empty {
  min-width: 100%;
  text-align: center;
  color: var(--mid);
}

.album-card {
  min-width: 120px;
  max-width: 140px;
  flex: 0 0 120px;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  scroll-snap-align: start;
  margin: 0;
  transition: transform .25s var(--ease);
}

.album-card:hover {
  transform: translateY(-4px);
}

.album-thumb-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  overflow: hidden;
  border-radius: 50%;
  box-shadow: 0 2px 12px rgba(200,149,108,.10);
  background: #f5e6d3;
}

.album-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

@media (max-width: 900px) {
  .album-card {
    min-width: 100px;
    max-width: 110px;
    flex-basis: 100px;
  }
}

@media (max-width: 640px) {
  .album-grid {
    gap: 12px;
    max-width: calc(6 * 100px + 5 * 12px + 24px);
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .album-grid::-webkit-scrollbar {
    display: none;
  }

  .album-card {
    min-width: 100px;
    max-width: 100px;
    flex-basis: 100px;
  }
  .btn-brown, .btn-primary {
    font-size: 1.05rem;
    padding: 13px 0;
    min-width: 120px;
    border-radius: 28px;
    background: linear-gradient(135deg, #e8c09a 0%, #c8956c 60%, #a0704a 100%);
    color: #3f2816;
    border: 2px solid #c8956c;
  }
  .btn-brown:focus, .btn-brown:hover, .btn-primary:focus, .btn-primary:hover {
    background: linear-gradient(135deg, #c8956c 0%, #e8c09a 100%);
    color: #3f2816;
    border: 2px solid #a0704a;
  }
  .icon-btn {
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
    border-radius: 12px;
    color: #fff;
    border: 2px solid #c8956c;
    background: rgba(10,15,31,0.92);
  }
  .icon-btn:hover {
    background: #c8956c;
    color: #0a0f1f;
    border-color: #c8956c;
  }
  .hamburger span {
    width: 20px;
    height: 3px;
    background: #fff;
  }
}

.btn-link {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #fff !important;
  border-radius: 8px;
  padding: 10px 22px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: background .2s, color .2s;
  box-shadow: 0 2px 12px rgba(200,149,108,.10);
}

.btn-link:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #fff !important;
}
/* ════════════════════════════════════════════════════════════════════
  Asian3DFrames — Premium Style Sheet
  Font stack: Elika Gorica (headings), Bodoni Moda (body)
   ════════════════════════════════════════════════════════════════════ */

@import url('https://fonts.cdnfonts.com/css/elika-gorica');
@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:wght@400;500;600;700;800&display=swap');

@font-face {
  font-family: 'Sirelia';
  src: url('../fonts/Sirelia.otf') format('opentype');
  font-display: swap;
}

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

:root {
  /* Brand palette */
  --gold:        #c8956c;
  --gold-light:  #e8c09a;
  --gold-dark:   #a0704a;
  --beige:       #f3e8d8;
  --pista:       #a8c68a;
  --dark:        #1a1510;
  --dark-2:      #2e2620;
  --mid:         #6b5c4e;
  --light:       #faf7f4;
  --white:       #ffffff;
  --silver:      #9eafc2;
  --accent-blue: #7090d4;
  --accent-rose: #e07090;
  --accent-purple: #9c7cd4;

  /* Typography */
  --font-heading: 'Ranmor';
  --font-body:    'Bodoni Moda', Georgia, serif;

  /* Spacing */
  --section-py:  84px;
  --radius:      16px;
  --radius-sm:   8px;
  --radius-lg:   24px;

  /* Shadows */
  --shadow-sm:  0 2px 12px rgba(0,0,0,.06);
  --shadow-md:  0 8px 32px rgba(0,0,0,.10);
  --shadow-lg:  0 20px 60px rgba(0,0,0,.14);
  --shadow-xl:  0 32px 80px rgba(0,0,0,.18);
  --glow-gold:  0 0 40px rgba(200,149,108,.25);

  /* Transitions */
  --ease:        cubic-bezier(.4,0,.2,1);
  --trans:       .3s var(--ease);
}

html { scroll-behavior: smooth; font-size: 15px; }

body {
  font-family: var(--font-body);
  background: #fff;
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

h1, h2, h3, h4, h5, h6,
  .title, .headline, .section-title, .page-title,
  .topbar-title, .card-title, .modal-title {
  font-family: 'Ranmor' !important;
  font-weight: normal;
}

.container {
  width: 92%;
  max-width: 1120px;
  margin: 0 auto;
}

.hidden { display: none !important; }

/* ── SCROLL ANIMATIONS ─────────────────────────────────────────────── */
[data-aos].aos-init {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
[data-aos][data-aos-delay="100"].aos-init { transition-delay: .1s; }
[data-aos][data-aos-delay="150"].aos-init { transition-delay: .15s; }
[data-aos][data-aos-delay="200"].aos-init { transition-delay: .2s; }
[data-aos][data-aos-delay="300"].aos-init { transition-delay: .3s; }
[data-aos].aos-init.visible { opacity: 1; transform: translateY(0); }

/* ── BUTTONS ───────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .02em;
  transition: all var(--trans);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, #e8c09a 0%, #c8956c 60%, #a0704a 100%);
  color: #3f2816;
  border: 2px solid #c8956c;
  border-radius: 32px;
  box-shadow: 0 6px 24px rgba(200,149,108,.28);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(200,149,108,.38);
  background: linear-gradient(135deg, #c8956c 0%, #e8c09a 100%);
  border: 2px solid #a0704a;
}

.btn-ghost {
  background: rgba(255,255,255,.12);
  color: var(--white);
  border-color: rgba(255,255,255,.4);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.22);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--dark);
  border-color: var(--dark);
}
.btn-outline-dark:hover {
  background: var(--dark);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-full { width: 100%; justify-content: center; }
.btn-lg   { padding: 18px 44px; font-size: 1.05rem; }

/* ── NAVBAR ────────────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;
  padding: 12px 0;
  transition: all var(--trans);
  background:
    radial-gradient(140% 110% at 0% 0%, rgba(164, 184, 242, .13) 0%, rgba(164, 184, 242, 0) 45%),
    linear-gradient(120deg, #0a146f 0%, #07124f 36%, #030925 68%, #000000 100%);
  border-bottom: 1px solid rgba(196, 206, 233, .42);
  box-shadow: 0 10px 30px rgba(0,0,0,.55), inset 0 1px 0 rgba(146, 171, 255, .2);
  overflow: hidden;
}
.navbar.scrolled {
  background:
    radial-gradient(140% 110% at 0% 0%, rgba(152, 173, 232, .11) 0%, rgba(152, 173, 232, 0) 45%),
    linear-gradient(120deg, #09105e 0%, #060f42 38%, #02071b 70%, #000000 100%);
  padding: 8px 0;
  box-shadow: 0 14px 34px rgba(0,0,0,.62), inset 0 1px 0 rgba(130, 157, 255, .14);
  border-bottom: 1px solid rgba(201, 210, 235, .34);
}
.navbar::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(35deg, rgba(228, 236, 255, .045) 0 1px, rgba(0, 0, 0, 0) 1px 4px),
    repeating-linear-gradient(-35deg, rgba(5, 11, 36, .05) 0 1px, rgba(0, 0, 0, 0) 1px 5px),
    linear-gradient(180deg, rgba(193, 209, 255, .12) 0%, rgba(193, 209, 255, .03) 35%, rgba(136, 164, 255, 0) 62%);
  opacity: .88;
  pointer-events: none;
  z-index: 0;
}
.navbar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 50% 110%, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .22) 62%, rgba(0, 0, 0, .35) 100%);
  opacity: .75;
  pointer-events: none;
  z-index: 0;
}
.navbar .nav-logo,
.navbar .nav-link,
.navbar .icon-btn,
.navbar.scrolled .nav-logo,
.navbar.scrolled .nav-link,
.navbar.scrolled .icon-btn {
  color: #f7f9ff;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1240px, 94%);
  max-width: 1240px;
  margin: 0 auto;
  gap: 18px;
  position: relative;
  z-index: 1;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color var(--trans);
}

.nav-logo-bg {
  background: linear-gradient(140deg, #1f3ea0 0%, #142a76 58%, #0d1d56 100%);
  border-radius: 50%;
  aspect-ratio: 1/1;
  width: 64px;
  height: 64px;
  box-shadow: 0 5px 18px rgba(8,16,52,.4), inset 0 1px 0 rgba(255,255,255,.28);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0;
  transition: background 0.3s, box-shadow 0.3s;
}

.nav-logo-bg .brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 50%;
  margin: 0;
  padding: 0;
}

@media (max-width: 700px) {
  .btn-lg {
    padding: 10px 22px;
    font-size: 0.92rem;
  }
  .hero-btns {
    margin-top: 18px !important;
    gap: 10px;
  }
}
.logo-icon { font-size: 1.4rem; }
.logo-accent { color: var(--gold-light); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px;
  background: linear-gradient(180deg, rgba(255,255,255,.2) 0%, rgba(255,255,255,.08) 100%);
  border: 1px solid rgba(255,255,255,.26);
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.24), 0 8px 24px rgba(6,10,38,.25);
  backdrop-filter: blur(6px);
}

.nav-link {
  font-size: .88rem;
  font-weight: 600;
  color: #f4f7ff;
  position: relative;
  transition: color var(--trans), background var(--trans), transform var(--trans);
  padding: 9px 14px;
  border-radius: 999px;
}
.nav-link::after {
  display: none;
}
.nav-link:hover {
  color: #ffffff;
  background: rgba(173,201,255,.2);
  transform: translateY(-1px);
}
.nav-link.active {
  color: #ffffff;
  background: linear-gradient(135deg, #3c67d8, #2a4cb1);
  box-shadow: 0 6px 18px rgba(33,65,165,.4), inset 0 1px 0 rgba(255,255,255,.24);
}

.nav-actions { display: flex; align-items: center; gap: 14px; }

.icon-btn {
  position: relative;
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  color: #fff;
  font-size: 1.18rem;
  transition: all var(--trans);
  border: none;
  background: transparent;
  box-shadow: none;
}
.icon-btn:hover {
  background: transparent;
  color: #fff;
  border: none;
  transform: none;
}

.cart-badge {
  position: absolute;
  top: 2px; right: 2px;
  background: var(--gold);
  color: var(--white);
  font-size: .65rem;
  font-weight: 700;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transform: scale(0);
  transition: all var(--trans);
}
.cart-badge.visible { opacity: 1; transform: scale(1); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid rgba(26,21,16,.14);
  background: #f6f1ea;
}
.hamburger span {
  display: block;
  width: 22px; height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: all var(--trans);
  transform-origin: center;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@keyframes navBrandFloat {
  0%, 100% { transform: translate(-50%, -50%); }
  50% { transform: translate(-50%, -54%); }
}

@keyframes navBrandShimmer {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* ── HERO ──────────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background-image: url('../../uploads/image.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero-sparkle-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* Noise texture overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.04'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: .6;
}

/* Radial gold glow */
.hero::after {
  content: '';
  position: absolute;
  top: 30%; left: 50%;
  transform: translate(-50%,-50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(200,149,108,.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-deco {
  position: absolute;
  border: 2px solid rgba(200,149,108,.15);
  border-radius: var(--radius);
  pointer-events: none;
}
.deco-1 {
  width: 200px; height: 260px;
  top: 10%; left: -30px;
  transform: rotate(-15deg);
  animation: floatY 6s ease-in-out infinite;
}
.deco-2 {
  width: 120px; height: 150px;
  bottom: 20%; left: 8%;
  transform: rotate(10deg);
  animation: floatY 8s ease-in-out infinite reverse;
}
.deco-3 {
  width: 80px; height: 100px;
  top: 20%; right: 5%;
  transform: rotate(-8deg);
  animation: floatY 7s ease-in-out infinite 1s;
}

@keyframes floatY {
  0%, 100% { transform: translateY(0) rotate(var(--r, -15deg)); }
  50%       { transform: translateY(-18px) rotate(var(--r, -15deg)); }
}

.hero > .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  width: 90%;
  max-width: 1240px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Hack: manually use width 90% layout inside hero */
.hero {
  display: block;
}
.hero .hero-content {
  position: relative;
  z-index: 1;
}

/* Reset hero to use a proper inner grid */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto;
  align-items: center;
  gap: 60px;
  padding: 140px 5% 80px;
}
.hero-deco, .hero-scroll-hint { grid-column: 1 / -1; }
.hero-deco { grid-row: 1; }
.hero-content { grid-column: 1; grid-row: 1; }
.hero-scroll-hint { grid-row: 2; }

/* Undo that bad override */
.hero {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  padding: 140px 5% 80px;
  gap: 60px;
}
.hero-content { flex: 1 1 460px; }
.hero-deco, .hero-scroll-hint { position: absolute; }

.hero-badge {
  display: inline-block;
  background: rgba(200,149,108,.18);
  border: 1px solid rgba(200,149,108,.35);
  color: var(--gold-dark);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 24px;
  backdrop-filter: blur(4px);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3vw, 2.4rem);
  line-height: 1.1;
  color: var(--dark);
  margin-bottom: 20px;
  animation: fadeInUp 0.8s var(--ease) forwards;
}

.gradient-text {
  font-size: 0.7em;
  background: none;
  color: var(--gold-light);
  -webkit-background-clip: initial;
  -webkit-text-fill-color: initial;
  background-clip: initial;
}

.gradient-text {
  background: linear-gradient(90deg, var(--gold-light), var(--gold), #f0c080);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: rgba(26,21,16,.78);
  max-width: 480px;
  margin-bottom: 36px;
  line-height: 1.8;
}

.hero .btn-ghost {
  background: rgba(255,255,255,.72);
  color: var(--dark);
  border-color: rgba(26,21,16,.2);
}

.hero .btn-ghost:hover {
  background: rgba(255,255,255,.92);
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}

.hero-collage {
  position: relative;
  width: min(380px, 34vw);
  min-width: 290px;
  height: 300px;
  margin-left: auto;
  flex: 0 0 auto;
  z-index: 1;
}

.hero-frame {
  position: absolute;
  display: block;
  overflow: hidden;
  background: #181818;
  border: 8px solid #111;
  border-radius: 4px;
  box-shadow: 0 10px 24px rgba(0,0,0,.28);
}

.hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

@media (min-width: 901px) {
  .hero-frame-a { width: 128px; height: 88px; left: 90px; top:0px; z-index: 4; }
  .hero-frame-b { width: 168px; height: 128px; right: 110px; top: 95px; z-index: 5; }
  .hero-frame-c { width: 168px; height: 128px; left: 37px; top: -135px; z-index: 3; }
  .hero-frame-d { width: 128px; height: 168px; left: -45px; top: 10px; z-index: 6; }
  .hero-frame-e { width: 128px; height: 168px; right: 28px; top: -90px; z-index: 4; }
}
/* ── HERO ALBUM PICKER ────────────────────────────────────────────── */
.hero-album-overlay {
  position: fixed;
  inset: 0;
  background: transparent;
  backdrop-filter: none;
  z-index: 2000;
}

.hero-album-panel {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(560px, calc(100vw - 32px));
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.55);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(16px);
  padding: 16px;
  z-index: 2001;
}

.hero-album-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.hero-album-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--dark);
}

.hero-album-close {
  width: 22px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: all var(--trans);
  transform-origin: center;
  box-shadow: none !important;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.hero-album-close:hover { background: rgba(255,255,255,.95); }

.hero-album-controls {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}
.hero-album-label {
  font-size: .86rem;
  font-weight: 700;
  color: var(--mid);
}
.hero-album-select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.85);
  font-family: var(--font-body);
}

.hero-album-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.hero-album-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-width: 0;
  padding: 8px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.88);
  color: var(--dark);
}

.hero-album-option:hover {
  border-color: rgba(200,149,108,.55);
}

.hero-album-option.is-selected {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(200,149,108,.18);
  background: rgba(255,255,255,.96);
}

.hero-album-option.is-hidden {
  display: none;
}

.hero-album-option img {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid rgba(0,0,0,.08);
  background: #f7f2ec;
}

.hero-album-option span {
  font-size: .9rem;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-album-photos {
  min-height: 110px;
  max-height: 280px;
  overflow: auto;
  padding: 10px;
  border-radius: 16px;
  border: 1px dashed rgba(200,149,108,.35);
  background: rgba(250,247,244,.9);
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

@media (max-width: 520px) {
  .hero-album-panel { padding: 14px; }
  .hero-album-photos { max-height: 240px; }
}

.hero-album-empty {
  grid-column: 1 / -1;
  color: var(--mid);
  font-size: .92rem;
  padding: 6px 2px;
}

.hero-album-thumb {
  border: 2px solid rgba(0,0,0,.08);
  background: rgba(255,255,255,.9);
  border-radius: 14px;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1 / 1;
}
.hero-album-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-album-thumb.is-selected {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200,149,108,.18);
}

.hero-album-panel .btn[disabled] {
  opacity: .55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.hero-album-hint {
  margin-top: 10px;
  color: var(--mid);
  font-size: .86rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}
.stat { text-align: center; }
.stat-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.stat-label {
  display: block;
  font-size: .75rem;
  color: rgba(255,255,255,.5);
  margin-top: 4px;
  letter-spacing: .04em;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,.15);
}

/* Hero visual */
.frame-showcase {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 420px;
}

.frame-card { position: absolute; }

.frame-border {
  padding: 3px;
  border-radius: 3px;
  box-shadow: 0 2px 6px rgba(0,0,0,.06);
  border: 1px solid rgba(200,149,108,.10) !important;
}

@media (max-width: 1099px) {
  .frame-border {
    padding: 1px;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0,0,0,.04);
    border: 0.5px solid rgba(200,149,108,.10) !important;
  }
}
.frame-border.golden {
  background: linear-gradient(135deg, #f0d060, #c8956c, #a0704a, #e0b070);
}
.frame-border.silver {
  background: linear-gradient(135deg, #d0d8e0, #9eafc2, #7080a0);
}
.frame-border.dark {
  background: linear-gradient(135deg, #e8c29c, #cf9462);
}

.frame-inner {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 4px;
  overflow: hidden;
}

.frame-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.main-frame {
  z-index: 3;
  width: 220px;
  animation: floatMain 5s ease-in-out infinite;
}

.top-frame {
  z-index: 2;
  top: 0; right: 0;
  width: 120px;
  animation: floatSide1 6s ease-in-out infinite 0.5s;
}

.bottom-frame {
  z-index: 2;
  bottom: 0; right: 20px;
  width: 120px;
  animation: floatSide2 7s ease-in-out infinite 1s;
}

.frame-label {
  text-align: center;
  margin-top: 12px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--gold-light);
  letter-spacing: .06em;
}

@keyframes floatMain {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50%       { transform: translateY(-16px) rotate(-3deg); }
}
@keyframes floatSide1 {
  0%, 100% { transform: translateY(0) rotate(6deg); }
  50%       { transform: translateY(-12px) rotate(6deg); }
}
@keyframes floatSide2 {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50%       { transform: translateY(-10px) rotate(-5deg); }
}

.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(26,21,16,.45);
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  animation: bounce 2s ease-in-out infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── MARQUEE STRIP ─────────────────────────────────────────────────── */
.marquee-strip {
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-dark));
  overflow: hidden;
  padding: 14px 0;
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex;
  gap: 60px;
  animation: marquee 28s linear infinite;
}
.marquee-track span {
  font-size: .85rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: .06em;
  text-transform: uppercase;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── SECTION COMMONS ───────────────────────────────────────────────── */
.section { padding: var(--section-py) 0; }

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-tag {
  display: inline-block;
  background: linear-gradient(90deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--dark);
  line-height: 1.15;
  margin-bottom: 14px;
}

.section-sub {
  color: var(--mid);
  font-size: 1rem;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.7;
}

.section-cta { text-align: center; margin-top: 48px; }

/* ── CATEGORIES ────────────────────────────────────────────────────── */
.categories-section { background: var(--light); }



.categories-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 24px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 2px 10px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.categories-grid::-webkit-scrollbar { display: none; }

.cat-card {
  transition: transform var(--trans);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 0 0 190px;
  scroll-snap-align: start;
}
.cat-card:hover { transform: translateY(-6px); }

.cat-img-wrap {
  position: relative;
  width: min(100%, 158px);
  aspect-ratio: 1/1;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(0,0,0,.14);
  padding: 4px; /* for border effect */
  background: conic-gradient(
    #feda75 0%, #fa7e1e 20%, #d62976 40%, #962fbf 60%, #4f5bd5 80%, #feda75 100%
  );
}
.cat-card.is-floating .cat-img-wrap {
  animation: catFloat 4.8s ease-in-out infinite;
}
.cat-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  background: #fff;
  transition: transform .5s var(--ease);
}
/* Instagram-style border for products.html category images */
.cat-circle-img {
  position: relative;
  width: 140px;
  aspect-ratio: 1/1;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  padding: 4px;
  background: conic-gradient(
    #feda75 0%, #fa7e1e 20%, #d62976 40%, #962fbf 60%, #4f5bd5 80%, #feda75 100%
  );
  border: none;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.cat-circle-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  background: #fff;
}
.cat-card:hover .cat-img-wrap img { transform: scale(1.06); }

.cat-overlay { display: none; }

.cat-info {
  padding: 14px 6px 0;
}
.cat-info h3 {
  font-family: var(--font-body);
  font-size: 1.18rem;
  font-weight: 600;
  margin-bottom: 0;
  line-height: 1.2;
  color: var(--dark);
}

@keyframes catFloat {
  0% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0); }
}

/* ── FEATURED PRODUCTS ─────────────────────────────────────────────── */
.featured-section { background: var(--white); }

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.product-card {
  width: 100%;
  max-width: 240px;
  margin: 0 auto;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  border: 2.5px solid #111;
  transition: transform var(--trans), box-shadow var(--trans);
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }

.product-img-wrap {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--light);
}
.product-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.product-card:hover .product-img-wrap img { transform: scale(1.06); }

.product-badge {
  position: absolute;
  top: 12px; left: 12px;
  font-size: .7rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  letter-spacing: .04em;
  text-transform: uppercase;
  z-index: 1;
}
.product-badge.bestseller { background: var(--gold); color: var(--white); }
.product-badge.new        { background: #10b981;     color: var(--white); }
.product-badge.sale       { background: #ef4444;     color: var(--white); }

.product-actions-overlay {
  position: absolute;
  top: 12px; right: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  transform: translateX(10px);
  transition: all var(--trans);
}
.product-card:hover .product-actions-overlay { opacity: 1; transform: translateX(0); }

.overlay-btn {
  width: 36px; height: 36px;
  background: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--dark);
  font-size: .85rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--trans);
}
.overlay-btn:hover { background: var(--gold); color: var(--white); }

.product-info { padding: 2px 10px 2px 10px !important; min-height: 0 !important; }

.product-cat {
  font-size: .7rem;
  font-weight: 600;
  color: var(--gold-dark);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.product-name {
  display: none !important;
  margin-bottom: 0 !important;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-bottom: 0 !important;
}
.product-rating i { color: #f59e0b; font-size: .8rem; }
.product-rating span { font-size: .78rem; color: var(--mid); margin-left: 4px; }

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 !important;
  padding: 0 !important;
}

.product-price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
}
.product-old-price {
  font-size: .78rem;
  color: var(--mid);
  text-decoration: line-through;
  margin-left: 8px;
}

.add-to-cart-btn {
  width: 34px; height: 34px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .82rem;
  transition: all var(--trans);
  box-shadow: 0 4px 14px rgba(200,149,108,.35);
}
.add-to-cart-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 20px rgba(200,149,108,.5);
}

/* ── HOW IT WORKS ──────────────────────────────────────────────────── */
.how-section {
  background: linear-gradient(135deg, #f8ead9 0%, #f3ddc4 52%, #ebc79f 100%);
  position: relative;
  overflow: hidden;
}
.how-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(180,120,68,.12) 0%, transparent 72%);
  pointer-events: none;
}

.how-section .section-tag {
  background: linear-gradient(90deg, #d39a66, #b8773f);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.how-section .section-title { color: #3f2816; }
.how-section .section-sub    { color: rgba(63,40,22,.75); }

.steps-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  position: relative;
}

.step-card {
  background: rgba(255,255,255,.42);
  border: 1px solid rgba(184,120,63,.24);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  text-align: center;
  backdrop-filter: blur(6px);
  transition: all var(--trans);
}
.step-card:hover {
  background: rgba(255,255,255,.6);
  border-color: rgba(184,120,63,.45);
  transform: translateY(-6px);
  box-shadow: 0 14px 38px rgba(160,102,53,.18);
}

.step-num {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(184,120,63,.48), rgba(152,92,44,.22));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.step-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  color: var(--white);
  margin: 0 auto 20px;
  box-shadow: 0 8px 24px rgba(200,149,108,.3);
}

.step-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: #4a2e18;
  margin-bottom: 12px;
}
.step-card p { font-size: .9rem; color: rgba(74,46,24,.78); line-height: 1.7; }

.step-connector {
  color: #ad6e3b;
  font-size: 1.4rem;
  opacity: .75;
}

/* ── UPLOAD SECTION ─────────────────────────────────────────────────── */
.upload-section { background: var(--light); }

.upload-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.upload-text .section-title { text-align: left; }
.upload-text .section-sub  { text-align: left; margin: 0 0 28px; max-width: 100%; }

.upload-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.upload-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .95rem;
  color: var(--dark-2);
}
.upload-features li i { color: #10b981; font-size: 1rem; }

.upload-box-wrap { position: relative; }

.upload-box {
  border: 2px dashed rgba(200,149,108,.4);
  border-radius: var(--radius-lg);
  background: var(--white);
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: border-color var(--trans), background var(--trans);
  cursor: pointer;
}
.upload-box:hover, .upload-box.drag-over {
  border-color: var(--gold);
  background: rgba(200,149,108,.04);
}

.upload-placeholder { text-align: center; padding: 40px; }

.upload-icon-ring {
  width: 88px; height: 88px;
  border: 2px solid rgba(200,149,108,.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
  color: var(--gold);
  transition: all var(--trans);
}
.upload-box:hover .upload-icon-ring {
  border-color: var(--gold);
  box-shadow: var(--glow-gold);
}

.upload-placeholder h3 { font-family: var(--font-heading); font-size: 1.3rem; color: var(--dark); margin-bottom: 8px; }
.upload-placeholder p  { color: var(--mid); font-size: .95rem; }
.upload-placeholder small { display: block; margin-top: 12px; color: var(--mid); font-size: .78rem; }

.upload-link {
  color: var(--gold-dark);
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
  font-size: inherit;
}

.upload-preview {
  width: 100%; height: 100%;
  position: relative;
}
.upload-preview img {
  width: 100%; height: 320px;
  object-fit: cover;
  display: block;
}
.preview-overlay {
  position: absolute;
  bottom: 16px; right: 16px;
}
.preview-change-btn {
  background: rgba(26,21,16,.7);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: .83rem;
  font-weight: 600;
  display: flex; align-items: center; gap: 6px;
  backdrop-filter: blur(8px);
  transition: background var(--trans);
}
.preview-change-btn:hover { background: rgba(26,21,16,.9); }

.upload-action { margin-top: 16px; }

/* ── TESTIMONIALS ───────────────────────────────────────────────────── */
.testimonials-section { background: var(--white); }

.testimonials-marquee {
  overflow: hidden;
  position: relative;
}

.testimonials-grid.testimonials-track {
  display: flex;
  gap: 28px;
  align-items: stretch;
  width: max-content;
}

.testimonials-track.is-animated {
  animation: testimonialsMarquee 28s linear infinite;
}

.testimonials-marquee:hover .testimonials-track.is-animated {
  animation-play-state: paused;
}

@keyframes testimonialsMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.testimonial-card {
  background: var(--light);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  border: 1px solid rgba(0,0,0,.06);
  transition: transform var(--trans), box-shadow var(--trans);
  flex: 0 0 min(360px, calc(100vw - 64px));
}
.testimonial-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.featured-testimonial {
  background: linear-gradient(135deg, #f6e3cf, #e7c19a);
  border-color: rgba(200,149,108,.25);
  transform: scale(1.04);
}
.featured-testimonial p { color: rgba(63,40,22,.82); }
.featured-testimonial .testimonial-author strong { color: #3f2816; }
.featured-testimonial .testimonial-author span   { color: rgba(63,40,22,.68); }
.featured-testimonial:hover { transform: scale(1.04) translateY(-6px); }

.testimonial-stars { display: flex; gap: 3px; margin-bottom: 18px; }
.testimonial-stars i { color: #f59e0b; font-size: .9rem; }

.testimonial-card p {
  font-size: .95rem;
  line-height: 1.75;
  color: var(--mid);
  margin-bottom: 24px;
  font-style: italic;
}
.testimonial-card p::before { content: '\201C'; }
.testimonial-card p::after  { content: '\201D'; }

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
}
.testimonial-author strong { display: block; font-size: .95rem; color: var(--dark); margin-bottom: 2px; }
.testimonial-author span   { font-size: .8rem; color: var(--mid); }

/* ── CTA BANNER ─────────────────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, #f6e3cf 0%, #e8c29c 52%, #d39b69 100%);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner-deco {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(200,149,108,.15) 0%, transparent 65%);
}
.cta-content { position: relative; z-index: 1; }
.cta-banner h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: #3f2816;
  margin-bottom: 16px;
}
.cta-banner p { color: rgba(63,40,22,.8); font-size: 1.05rem; margin-bottom: 36px; }

.custom-form {
  max-width: 860px;
  margin: 0 auto;
  text-align: left;
}

.custom-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}

.custom-input {
  width: 100%;
  border: 1px solid rgba(122,79,47,.22);
  background: rgba(255,255,255,.72);
  color: #3f2816;
  border-radius: 12px;
  padding: 12px 14px;
  font: 500 .92rem/1.35 var(--font-body);
  outline: none;
  transition: border-color var(--trans), background var(--trans);
}

.custom-input::placeholder { color: rgba(63,40,22,.58); }

.custom-input:focus {
  border-color: #b8773f;
  background: rgba(255,255,255,.9);
}

.custom-input option {
  color: #111827;
  background: #fff;
}

.custom-textarea {
  resize: vertical;
  min-height: 96px;
  margin-bottom: 14px;
}

.custom-submit-btn {
  width: 100%;
  justify-content: center;
}

/* ── FOOTER ─────────────────────────────────────────────────────────── */
.footer {
  background: linear-gradient(135deg, #0a0f1f 0%, #0f131f 50%, #08090f 100%);
  padding: 80px 0 0;
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 56px;
  margin-bottom: 60px;
}

.footer-brand p {
  color: rgba(255,255,255,.7);
  font-size: .9rem;
  margin: 16px 0 24px;
  line-height: 1.7;
  max-width: 280px;
}

.social-links { display: flex; gap: 12px; }
.social-btn {
  width: 40px; height: 40px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 50%;
  color: rgba(255,255,255,.7);
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem;
  transition: all var(--trans);
}
.social-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-col h4 {
  color: var(--white);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a {
  color: rgba(255,255,255,.5);
  font-size: .88rem;
  transition: color var(--trans);
}
.footer-col ul li a:hover { color: var(--gold-light); }

.contact-list li {
  color: rgba(255,255,255,.5);
  font-size: .88rem;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px !important;
}
.contact-list li i { color: var(--gold); width: 16px; }

.footer .nav-logo { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
.footer-bottom p { color: rgba(255,255,255,.35); font-size: .83rem; }
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a {
  color: rgba(255,255,255,.35);
  font-size: .83rem;
  transition: color var(--trans);
}
.footer-bottom-links a:hover { color: var(--gold-light); }

/* ── TOAST ──────────────────────────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--dark);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 50px;
  font-size: .9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  opacity: 0;
  transition: all .4s var(--ease);
  pointer-events: none;
  border: 1px solid rgba(200,149,108,.3);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast i { color: #10b981; font-size: 1rem; }

/* ── RESPONSIVE ─────────────────────────────────────────────────────── */
@media (min-width: 901px) {
  .hero {
    flex-wrap: nowrap;
    min-height: 94vh;
    padding: 136px 5% 72px;
    gap: 42px;
  }

  .hero-btns {
    margin-top: 48px;
  }

  .hero-collage {
    transform: scale(0.8);
    transform-origin: right center;
  }
}

@media (max-width: 1100px) {
  .categories-grid { gap: 20px; }
  .cat-card { flex-basis: 180px; }
  .products-grid   { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .product-card    { max-width: 100%; border: 2.5px solid #111; }
  .footer-grid     { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 900px) {
  :root { --section-py: 72px; }

  .hero {
    flex-direction: column;
    padding: 4px 0 2px !important;
    min-height: 6vh !important;
    text-align: center;
    background-image: url('/uploads/WhatsApp Image 2026-04-12 at 12.40.47 PM.jpeg');
    background-size: cover;
    background-position: 48% center;
    background-repeat: no-repeat;
  }
  .hero-content { align-items: center; }
  .hero-subtitle { margin: 0 auto 36px; }
  .hero-collage {
    order: -1;
    width: min(360px, 88vw);
    min-width: 0;
    height: 280px;
    margin: 144px auto -124px auto;
    transform: scale(0.56);
    transform-origin: right center;
  }
  .hero-frame-a { width: 128px; height: 88px; left: 90px; top:0px; z-index: 4; }
  .hero-frame-b { width: 168px; height: 128px; right: 95px; top: 95px; z-index: 5; }
  .hero-frame-c { width: 168px; height: 128px; left: 45px; top: -135px; z-index: 3; }
  .hero-frame-d { width: 128px; height: 168px; left: -45px; top: 10px; z-index: 6; }
  .hero-frame-e { width: 128px; height: 168px; right: 5px; top: -90px; z-index: 4; }
  .hero-btns     { justify-content: center; }
  .hero-stats    { justify-content: center; }

  .upload-layout { grid-template-columns: 1fr; gap: 48px; }

  .testimonials-track.is-animated { animation-duration: 22s; }
  .featured-testimonial { transform: scale(1); }
  .featured-testimonial:hover { transform: translateY(-6px); }
}

@media (max-width: 768px) {
  .navbar { padding: 10px 0; }
  .nav-container {
    width: 94%;
    position: relative;
  }

  .nav-container::after {
    content: 'Asian 3D Frames';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-heading);
    font-size: clamp(.84rem, 4vw, 1.1rem);
    font-weight: 700;
    letter-spacing: .04em;
    white-space: nowrap;
    pointer-events: none;
    background: linear-gradient(90deg, #cfdcff 0%, #ffffff 45%, #9fb8ff 100%);
    background-size: 220% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 1px 10px rgba(170,196,255,.35);
    animation: navBrandFloat 3.6s ease-in-out infinite, navBrandShimmer 2.8s linear infinite;
    z-index: 1000;
  }

  body.nav-open {
    overflow: hidden;
  }

  body.nav-open::after {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(14, 10, 7, .35);
    backdrop-filter: blur(1px);
    z-index: 998;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    transform: translateX(-108%);
    width: min(320px, 86vw);
    height: 100vh;
    max-height: 100vh;
    overflow-y: auto;
    background: linear-gradient(160deg, #112566 0%, #0d1b4f 100%);
    border-right: 1px solid rgba(255,255,255,.18);
    border-radius: 0 18px 18px 0;
    box-shadow: 16px 0 42px rgba(7,13,44,.42);
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 8px;
    padding: 92px 12px 18px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .28s var(--ease), transform .34s var(--ease);
    z-index: 999;
  }
  .nav-links.open,
  .nav-links.active {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
    box-shadow: 16px 0 42px rgba(7,13,44,.5);
    border-right: 1.5px solid rgba(255,255,255,.22);
  }
  .nav-link {
    display: block;
    font-size: 1rem;
    color: #eef3ff;
    padding: 13px 14px;
    border-radius: 12px;
  }
  .nav-link.active {
    color: #ffffff;
    background: linear-gradient(135deg, #3a63d3, #2748a8);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.22), 0 6px 14px rgba(16,32,90,.42);
  }

  .hamburger { display: flex; z-index: 1001; }
  .hamburger span,
  .navbar.scrolled .hamburger span { background: #ffffff; }

  .categories-grid { gap: 16px; }
  .cat-card { flex-basis: 150px; }
  .cat-img-wrap { width: min(100%, 136px); }
  .cat-info h3 { font-size: 1rem; }
  .products-grid   { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-card    { max-width: 100%; }

  .how-section { padding: 40px 0; }
  .how-section .section-header { margin-bottom: 16px; }
  .how-section .section-title { font-size: clamp(1.7rem, 6vw, 2.1rem); }
  .how-section .section-sub { font-size: 0.92rem; margin-top: 4px; }
  .steps-grid {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
  }
  .steps-grid::-webkit-scrollbar { height: 0; }
  .step-card {
    padding: 14px 10px;
    border-radius: 16px;
    min-width: 210px;
    flex: 0 0 210px;
    scroll-snap-align: start;
  }
  .step-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    flex: 0 0 18px;
    font-size: 1rem;
  }
  .step-num { font-size: 1.9rem; margin-bottom: 6px; }
  .step-icon { width: 40px; height: 40px; font-size: 0.95rem; margin-bottom: 9px; }
  .step-card h3 { font-size: 1.02rem; margin-bottom: 5px; }
  .step-card p { font-size: 0.82rem; line-height: 1.35; }

  .footer-grid     { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom   { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 480px) {
  .categories-grid { gap: 12px; }
  .products-grid   { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .product-card    { max-width: 100%; }
  .product-info    { padding: 6px 8px; min-height: 0; }
  .product-name    { display: none !important; margin-bottom: 0 !important; }
  .product-price   { font-size: .92rem; }
  .how-section { padding: 34px 0; }
  .how-section .section-header { margin-bottom: 14px; }
  .how-section .section-sub { font-size: 0.85rem; }
  .step-card { padding: 12px 9px; border-radius: 14px; min-width: 180px; flex-basis: 180px; }
  .step-num { font-size: 1.65rem; margin-bottom: 5px; }
  .step-icon { width: 34px; height: 34px; font-size: 0.85rem; margin-bottom: 8px; }
  .step-card h3 { font-size: 0.92rem; margin-bottom: 4px; }
  .step-card p { font-size: 0.75rem; line-height: 1.3; }
  .step-card p { display: none; }
  .hero-btns       { flex-direction: column; align-items: center; }
  .hero-title      { font-size: 2.6rem; }
}

/* ── PRODUCT MOCKUP CUSTOMIZER ─────────────────────────────────────── */
.mockup-customizer {
  margin-top: 34px;
  padding: 24px;
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,.08);
  background:
    radial-gradient(1200px 340px at 120% -40%, rgba(200,149,108,.16), transparent 58%),
    linear-gradient(180deg, #ffffff 0%, #f8f6f2 100%);
  box-shadow: var(--shadow-sm);
}

.mockup-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.mockup-kicker {
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #896343;
  font-weight: 700;
}

.mockup-title {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  margin: 4px 0 6px;
  color: var(--dark);
}

.mockup-subtitle {
  color: #5f554a;
  font-size: .92rem;
}

.mockup-frame-meta {
  display: grid;
  gap: 6px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(0,0,0,.08);
  min-width: 180px;
}

.mockup-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.mockup-file-label {
  font-size: .86rem;
  color: #5f554a;
}

.mockup-scenes {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  margin-bottom: 14px;
}

.mockup-scene-tab {
  border: 1px solid rgba(0,0,0,.14);
  border-radius: 999px;
  padding: 9px 14px;
  background: #fff;
  color: #32281f;
  white-space: nowrap;
  font: 600 .82rem/1 var(--font-body);
  transition: all var(--trans);
}

.mockup-scene-tab:hover {
  border-color: #111;
  transform: translateY(-1px);
}

.mockup-scene-tab.is-active {
  background: #c48754;
  color: #fff;
  border-color: #c48754;
}

.mockup-canvas-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,.1);
  background: #f2eee8;
  max-width: 760px;
  margin: 0 auto;
}

.mockup-canvas-wrap canvas {
  width: auto;
  max-width: 100%;
  max-height: 560px;
  height: auto;
  display: block;
  margin: 0 auto;
  transform-origin: center;
  transition: transform .42s cubic-bezier(.2,.7,.2,1), filter .3s var(--ease), opacity .25s var(--ease);
}

.mockup-canvas-wrap:hover canvas {
  transform: scale(1.08);
  filter: saturate(1.05) contrast(1.02);
}

.mockup-canvas-wrap.is-rendering canvas {
  opacity: .72;
}

.mockup-skeleton {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s var(--ease);
  background: linear-gradient(110deg, rgba(255,255,255,.35) 8%, rgba(255,255,255,.76) 18%, rgba(255,255,255,.35) 33%);
  background-size: 200% 100%;
  animation: mockupShimmer 1.1s linear infinite;
}

.mockup-canvas-wrap.is-rendering .mockup-skeleton {
  opacity: 1;
}

@keyframes mockupShimmer {
  to { background-position-x: -200%; }
}

@media (max-width: 900px) {
  .mockup-header-row {
    flex-direction: column;
  }

  .mockup-frame-meta {
    width: 100%;
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .mockup-customizer {
    padding: 18px;
    margin-top: 24px;
  }

  .mockup-canvas-wrap {
    max-width: 100%;
  }

  .mockup-canvas-wrap canvas {
    max-height: 420px;
  }

  .mockup-toolbar .btn {
    width: 100%;
    justify-content: center;
  }
}
