:root {
  --rose: #c0263d;
  --rose-mid: #e07898;
  --rose-light: #fce8ef;
  --gold: #c9973b;
  --gold-light: #f5e6c8;
  --cream: #fdf8f5;
  --dark: #2a1a22;
  --mid: #6b4559;
  --text: #4a3040;
  --shadow: rgba(192, 38, 61, 0.12);
  --green: #25D366
}

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

html {
  scroll-behavior: smooth
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden
}

/* NAV */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .9rem 4%;
  background: rgba(253, 248, 245, .92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(192, 38, 61, .1);
  transition: box-shadow .3s, transform 1s cubic-bezier(0.25, 1, 0.5, 1)
}

nav.scrolled {
  box-shadow: 0 4px 24px var(--shadow)
}

nav.nav-hidden {
  transform: translateX(100%)
}

.nav-logo img {
  height: 72px;
  width: auto;
  object-fit: contain
}

@keyframes floatLogo {

  0%,
  100% {
    transform: translateY(0) rotate(-0.5deg)
  }

  50% {
    transform: translateY(-10px) rotate(0.5deg)
  }
}

.nav-links {
  display: flex;
  gap: 1.8rem;
  list-style: none
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: color .25s
}

.nav-links a:hover {
  color: var(--rose)
}

.nav-cta {
  background: var(--rose);
  color: #fff;
  border: none;
  padding: .55rem 1.3rem;
  border-radius: 50px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition: all .2s;
  box-shadow: 0 4px 14px rgba(192, 38, 61, .3)
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(192, 38, 61, .4)
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--dark)
}

/* HERO */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 0 6% 2rem;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--cream) 0%, #fff5f8 50%, var(--cream) 100%)
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0
}

.blob1 {
  width: 500px;
  height: 500px;
  background: rgba(224, 120, 152, .2);
  top: -100px;
  right: -100px
}

.blob2 {
  width: 300px;
  height: 300px;
  background: rgba(245, 230, 200, .35);
  bottom: 50px;
  left: -50px
}

.hero-text {
  position: relative;
  z-index: 1
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--gold-light);
  color: var(--gold);
  border: 1px solid rgba(201, 151, 59, .3);
  border-radius: 50px;
  padding: .35rem 1rem;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 1.2rem
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 300;
  line-height: 1.08;
  color: var(--dark);
  margin-bottom: 1.2rem
}

.hero-title em {
  font-style: italic;
  color: var(--rose)
}

.hero-sub {
  font-size: 1rem;
  color: var(--mid);
  line-height: 1.75;
  max-width: 460px;
  margin-bottom: 2rem;
  font-weight: 300
}

.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center
}

.btn-primary {
  background: #8B1A1A;
  color: #fff;
  border: 2px solid #C9A84C;
  padding: .85rem 2rem;
  border-radius: 50px;
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(139, 26, 26, 0.35);
  transition: all .25s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, rgba(201, 168, 76, 0) 0%, rgba(201, 168, 76, 0.4) 50%, rgba(201, 168, 76, 0) 100%);
  transform: skewX(-25deg);
  transition: all 0.6s ease;
}

.btn-primary:hover::after {
  left: 150%;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(139, 26, 26, 0.45);
}

.btn-outline {
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  color: #C9A84C;
  border: 2px solid #C9A84C;
  padding: .85rem 2rem;
  border-radius: 50px;
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.btn-outline:hover {
  background: rgba(201, 168, 76, 0.15);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(201, 168, 76, 0.2);
}

/* ── HERO TEXT ANIMATION ── */
.hero-title-anim {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3.2rem, 8vw, 5.5rem);
  line-height: 1.1;
  margin-bottom: 1.2rem;
  color: #fff;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
}

.anim-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  animation: wordFadeUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  animation-delay: var(--delay);
}

@keyframes wordFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2.5rem;
  justify-content: center
}

.stat-num {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--rose)
}

.stat-label {
  font-size: .72rem;
  color: var(--mid);
  letter-spacing: .08em;
  text-transform: uppercase
}

.hero-img {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center
}

.hero-img-ring {
  width: clamp(300px, 38vw, 480px);
  height: clamp(300px, 38vw, 480px);
  border-radius: 60% 40% 55% 45%/50% 60% 40% 50%;
  background: linear-gradient(145deg, var(--rose-light), var(--gold-light));
  display: flex;
  align-items: center;
  justify-content: center;
  animation: morph 8s ease-in-out infinite;
  box-shadow: 0 24px 60px var(--shadow)
}

@keyframes morph {

  0%,
  100% {
    border-radius: 60% 40% 55% 45%/50% 60% 40% 50%
  }

  33% {
    border-radius: 40% 60% 45% 55%/60% 40% 60% 40%
  }

  66% {
    border-radius: 55% 45% 60% 40%/40% 55% 45% 60%
  }
}

.hero-img-ring img {
  width: 88%;
  height: 88%;
  object-fit: cover;
  border-radius: inherit
}

/* SHARED SECTION */
section {
  padding: 5rem 6%
}

.section-tag {
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: .5rem
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 300;
  color: var(--dark);
  line-height: 1.15;
  margin-bottom: .7rem
}

.section-title em {
  font-style: italic;
  color: var(--rose)
}

.section-sub {
  color: var(--mid);
  font-weight: 300;
  line-height: 1.7;
  max-width: 540px
}

.section-header {
  text-align: center;
  margin-bottom: 3rem
}

.section-header .section-sub {
  margin: 0 auto
}

/* CATALOG */
#catalog {
  background: #fff
}

.catalog-tabs {
  display: flex;
  justify-content: center;
  gap: .6rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem
}

.tab-btn {
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid rgba(192, 38, 61, .15);
  color: var(--rose);
  padding: .7rem 1.8rem;
  border-radius: 50px;
  font-size: .95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all .25s;
  letter-spacing: .04em;
  box-shadow: 0 4px 15px rgba(192, 38, 61, 0.1);
  position: relative;
  overflow: hidden;
}

.tab-btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: -100%;
  width: 100%;
  height: 3px;
  background: #C9A84C;
  transition: left 0.4s ease;
}

.tab-btn:hover::after {
  left: 0;
}

.tab-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(192, 38, 61, 0.2);
}

.tab-btn.active {
  background: #8B1A1A;
  color: #fff;
  border-color: #8B1A1A;
  box-shadow: 0 8px 24px rgba(192, 38, 61, 0.35);
  transform: translateY(-2px);
}

.tab-btn.active::after {
  display: none;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.4rem
}

.product-card {
  background: var(--cream);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px var(--shadow);
  transition: all .3s ease;
  cursor: pointer;
  border: 1px solid rgba(192, 38, 61, .08);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
  border-color: #C9A84C;
}

.card-img {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  background: linear-gradient(135deg, var(--rose-light), var(--gold-light));
  position: relative;
}

.card-img::after {
  content: '✦';
  position: absolute;
  inset: 0;
  background: rgba(224, 120, 152, 0.25);
  backdrop-filter: blur(2px);
  color: #fff;
  font-size: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.product-card:hover .card-img::after {
  opacity: 1;
}

.card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #C9A84C;
  color: #1a1a1a;
  font-size: .68rem;
  font-weight: 700;
  padding: .35rem .8rem;
  border-radius: 50px;
  letter-spacing: .06em;
  text-transform: uppercase;
  overflow: hidden;
}

.card-badge::before {
  content: "✦ ";
}

.card-badge::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  animation: shimmerBadge 3s infinite;
}

@keyframes shimmerBadge {
  0% {
    left: -100%;
  }

  20% {
    left: 200%;
  }

  100% {
    left: 200%;
  }
}

.card-body {
  padding: 1.2rem
}

.card-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: .3rem
}

.card-desc {
  font-size: .8rem;
  color: var(--mid);
  line-height: 1.6;
  margin-bottom: 1rem
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between
}

.card-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: #C9A84C;
}

.card-price span {
  font-size: .72rem;
  color: var(--mid);
  font-weight: 400
}

.btn-add {
  background: var(--rose);
  color: #fff;
  border: none;
  padding: .5rem 1.1rem;
  border-radius: 50px;
  font-size: .8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
  position: relative;
  overflow: hidden;
}

.btn-add::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.5), transparent);
  transition: none;
}

.btn-add:hover {
  background: #8B1A1A;
  transform: scale(1.05);
}

.btn-add:hover::after {
  animation: shimmerBtn 0.8s forwards;
}

@keyframes shimmerBtn {
  100% {
    left: 200%;
  }
}

/* SIZE SELECTOR on cards */
.size-select {
  width: 100%;
  padding: .45rem .8rem;
  border: 1.5px solid rgba(192, 38, 61, .2);
  border-radius: 10px;
  font-family: inherit;
  font-size: .82rem;
  color: var(--text);
  background: var(--cream);
  margin-bottom: .8rem;
  cursor: pointer
}

/* CONFIGURATOR */
#configurator {
  background: linear-gradient(160deg, var(--rose-light) 0%, var(--gold-light) 100%);
  position: relative
}

#configurator .section-title {
  color: #fff
}

#configurator .section-sub {
  color: rgba(255, 255, 255, .85)
}

.config-wrapper {
  max-width: 1100px;
  margin: 0 auto
}

.config-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  margin-top: 2rem
}

.config-steps {
  display: flex;
  flex-direction: column;
  gap: 1.2rem
}

.config-step {
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(10px);
  border: 1.5px solid rgba(192, 38, 61, .15);
  border-radius: 18px;
  padding: 1.3rem 1.5rem;
  transition: all .3s
}

.config-step.active {
  border-color: var(--rose);
  box-shadow: 0 6px 28px rgba(192, 38, 61, .15)
}

.step-hd {
  display: flex;
  align-items: center;
  gap: .8rem;
  cursor: pointer;
  user-select: none
}

.step-num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--rose-light);
  color: var(--rose);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .78rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: all .3s
}

.config-step.active .step-num,
.config-step.done .step-num {
  background: var(--rose);
  color: #fff
}

.step-label {
  font-size: .92rem;
  font-weight: 600;
  color: var(--dark)
}

.step-val {
  margin-left: auto;
  font-size: .78rem;
  color: var(--mid)
}

.step-opts {
  display: none;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 1rem
}

.config-step.active .step-opts {
  display: flex
}

.chip {
  background: var(--cream);
  border: 1.5px solid rgba(192, 38, 61, .2);
  border-radius: 50px;
  padding: .5rem 1rem;
  font-size: .82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap
}

.chip:hover {
  border-color: #C9A84C;
  background: #fff5f8;
}

.chip.sel {
  background: #8B1A1A;
  color: #fff;
  border-color: #C9A84C;
}

.color-dot {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 3px solid transparent;
  cursor: pointer;
  transition: all .2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .15)
}

.color-dot.sel {
  border-color: var(--dark);
  transform: scale(1.2)
}

/* PREVIEW PANEL */
.preview-panel {
  position: sticky;
  top: 90px;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(16px);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 20px 60px rgba(192, 38, 61, .15);
  border: 1.5px solid rgba(192, 38, 61, .12)
}

.preview-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  color: var(--mid);
  text-align: center;
  margin-bottom: 1.2rem
}

.cake-display {
  text-align: center;
  margin-bottom: 1.2rem;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #C9A84C;
  border-radius: 12px 12px 0 0;
  background:
    url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 5 L21 19 L35 20 L21 21 L20 35 L19 21 L5 20 L19 19 Z' fill='%23C9A84C' fill-opacity='0.15'/%3E%3Ccircle cx='10' cy='30' r='1' fill='%23C9A84C' fill-opacity='0.2'/%3E%3Ccircle cx='30' cy='10' r='1.5' fill='%23C9A84C' fill-opacity='0.3'/%3E%3C/svg%3E"),
    radial-gradient(circle at center, #ffffff 0%, #FDF0F0 100%);
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-8px)
  }
}

.summary-rows {
  background: var(--cream);
  border-radius: 14px;
  padding: 1rem 1.2rem;
  margin-bottom: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: .45rem
}

.sum-row {
  display: flex;
  justify-content: space-between;
  font-size: .82rem
}

.sum-k {
  color: var(--mid)
}

.sum-v {
  color: var(--dark);
  font-weight: 600
}

.sum-total {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--rose);
  border-top: 1px solid rgba(192, 38, 61, .15);
  padding-top: .6rem;
  margin-top: .2rem
}

.btn-wa {
  width: 100%;
  background: #25D366;
  color: #fff;
  border: none;
  padding: 1rem;
  border-radius: 50px;
  font-size: .95rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  transition: all .25s;
  box-shadow: 0 6px 20px rgba(37, 211, 102, .35)
}

.btn-wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(37, 211, 102, .45)
}

.btn-wa-note {
  text-align: center;
  font-size: .7rem;
  color: var(--mid);
  margin-top: .5rem
}

/* CART FLOATING (Moved to Premium Floating Buttons Section at bottom) */

#cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--gold);
  color: #fff;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: .68rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center
}

#cart-count.hidden {
  display: none
}

/* CART DRAWER */
#cart-drawer {
  position: fixed;
  right: -420px;
  top: 0;
  width: 400px;
  max-width: 95vw;
  height: 100vh;
  background: #fff;
  z-index: 1000;
  box-shadow: -8px 0 40px rgba(0, 0, 0, .15);
  transition: right .35s cubic-bezier(.4, 0, .2, 1);
  display: flex;
  flex-direction: column
}

#cart-drawer.open {
  right: 0
}

.cart-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 1.5rem 1rem;
  border-bottom: 1px solid var(--rose-light)
}

.cart-hd h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  color: var(--dark)
}

.cart-close {
  background: rgba(139, 26, 26, 0.08);
  border: 2px solid #8B1A1A;
  color: #8B1A1A;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  line-height: 1;
  flex-shrink: 0;
}

.cart-close:hover {
  background: #8B1A1A;
  color: #fff;
  transform: scale(1.1) rotate(90deg);
}

.cart-close:active {
  transform: scale(0.9) rotate(90deg);
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.5rem
}

.cart-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: .9rem 0;
  border-bottom: 1px solid var(--rose-light)
}

.cart-item-icon {
  font-size: 2rem;
  flex-shrink: 0
}

.cart-item-info {
  flex: 1
}

.cart-item-name {
  font-weight: 600;
  font-size: .9rem;
  color: var(--dark)
}

.cart-item-detail {
  font-size: .75rem;
  color: var(--mid);
  margin-top: .15rem
}

.cart-item-price {
  font-weight: 700;
  color: var(--rose);
  font-size: .95rem
}

.cart-item-del {
  background: none;
  border: none;
  color: var(--mid);
  cursor: pointer;
  font-size: 1rem;
  padding: .2rem
}

.cart-item-del:hover {
  color: var(--rose)
}

.cart-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--mid)
}

.cart-empty span {
  font-size: 3rem;
  display: block;
  margin-bottom: .8rem
}

.cart-footer {
  padding: 1.2rem 1.5rem;
  border-top: 1px solid var(--rose-light)
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem
}

.cart-total-row span:first-child {
  font-size: .9rem;
  color: var(--mid)
}

.cart-total-amt {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--rose)
}

.btn-checkout {
  width: 100%;
  background: #25D366;
  color: #fff;
  border: none;
  padding: .95rem;
  border-radius: 50px;
  font-size: .95rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  box-shadow: 0 4px 16px rgba(37, 211, 102, .35);
  transition: all .25s
}

.btn-checkout:hover {
  transform: translateY(-2px)
}

.btn-clear {
  width: 100%;
  background: none;
  border: 1px solid rgba(192, 38, 61, .2);
  color: var(--mid);
  padding: .6rem;
  border-radius: 50px;
  font-size: .78rem;
  cursor: pointer;
  margin-top: .6rem;
  transition: all .2s
}

.btn-clear:hover {
  border-color: var(--rose);
  color: var(--rose)
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .35);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s
}

.overlay.show {
  opacity: 1;
  pointer-events: all
}

/* ABOUT */
#about {
  background: var(--cream);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center
}

.about-feats {
  display: flex;
  flex-direction: column;
  gap: .9rem;
  margin-top: 1.8rem
}

.feat {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: #fff;
  border-radius: 14px;
  padding: 1rem 1.2rem;
  border-left: 3px solid var(--rose);
  transition: transform .2s
}

.feat:hover {
  transform: translateX(4px)
}

.feat-icon {
  font-size: 1.4rem;
  flex-shrink: 0
}

.feat-title {
  font-weight: 600;
  font-size: .88rem;
  color: var(--dark);
  margin-bottom: .15rem
}

.feat-desc {
  font-size: .78rem;
  color: var(--mid);
  line-height: 1.6
}

.about-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem
}

.about-visual .av-card {
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--rose-light), var(--gold-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  aspect-ratio: 3/4;
  box-shadow: 0 8px 28px var(--shadow);
  transition: transform .3s
}

.about-visual .av-card:hover {
  transform: scale(1.02)
}

.about-visual .av-card:first-child {
  margin-top: 2rem
}

/* TESTIMONIALS */
#testimonials {
  background: #fff
}

.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.4rem;
  margin-top: 2.5rem
}

.testi-card {
  background: var(--cream);
  border-radius: 20px;
  padding: 1.6rem;
  border: 1px solid rgba(192, 38, 61, .1);
  box-shadow: 0 4px 16px var(--shadow);
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease;
}

.testi-card.show {
  opacity: 1;
  transform: translateY(0);
}

.testi-card.show:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
  transition-delay: 0s !important;
}

.stars {
  color: var(--gold);
  font-size: .95rem;
  margin-bottom: .7rem
}

.testi-text {
  font-size: .88rem;
  line-height: 1.7;
  color: var(--text);
  font-style: italic;
  margin-bottom: 1rem
}

.testi-author {
  display: flex;
  align-items: center;
  gap: .8rem
}

.testi-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .95rem;
  color: #fff
}

.testi-name {
  font-weight: 600;
  font-size: .85rem;
  color: var(--dark)
}

.testi-loc {
  font-size: .72rem;
  color: var(--mid)
}

/* CONTACT */
#contact {
  background: var(--dark);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center
}

#contact .section-tag {
  color: var(--gold)
}

#contact .section-title {
  color: #fff
}

#contact .section-sub {
  color: rgba(255, 255, 255, .6)
}

.contact-items {
  margin-top: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: .9rem
}

.c-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: rgba(255, 255, 255, .8);
  font-size: .88rem
}

.c-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(192, 38, 61, .15);
  border: 1px solid rgba(192, 38, 61, .25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0
}

.c-item a {
  color: rgba(255, 255, 255, .8);
  text-decoration: none;
  transition: color .2s
}

.c-item a:hover {
  color: var(--rose-mid)
}

.contact-form {
  background: #311f28;
  border: 1px solid rgba(192, 38, 61, .3);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25)
}

.form-group {
  margin-bottom: 1.1rem
}

.form-group label {
  display: block;
  font-size: .75rem;
  color: rgba(255, 255, 255, .7);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: .4rem;
  font-weight: 500
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: #23151c;
  border: 1px solid rgba(192, 38, 61, .35);
  border-radius: 10px;
  padding: .7rem 1rem;
  color: #fff;
  font-family: inherit;
  font-size: .88rem;
  transition: border-color .2s;
  appearance: none;
  -webkit-appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23c9973b' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-group select option {
  background: #23151c;
  color: #fff;
}

.form-group input[type="date"] {
  color-scheme: dark;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--rose-mid)
}

.form-group textarea {
  min-height: 85px;
  resize: none
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, .25)
}

.btn-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--rose), var(--rose-mid));
  color: #fff;
  border: none;
  padding: .9rem;
  border-radius: 50px;
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .25s;
  box-shadow: 0 6px 20px rgba(192, 38, 61, .35)
}

.btn-submit:hover {
  transform: translateY(-2px)
}

/* FOOTER */
footer {
  background: #1a0f16;
  color: rgba(255, 255, 255, .45);
  text-align: center;
  padding: 1.8rem;
  font-size: .78rem;
  letter-spacing: .04em
}

footer span {
  color: var(--rose-mid)
}

/* ── PREMIUM FLOATING BUTTONS ── */
.floating-btn {
  position: fixed;
  right: 20px;
  width: 56px;
  height: 56px;
  min-width: 56px;
  min-height: 56px;
  border-radius: 50%;
  border: 2px solid #C9A84C;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  animation:
    bounceInBottom 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards,
    premiumPulse 3s infinite 1s;
  transform-origin: center;
}

#wa-float {
  bottom: 100px;
  z-index: 997;
  width: 84px;
  height: 84px;
  min-width: 84px;
  min-height: 84px;
  background: #ffffff;
  border: 2px solid #C9A84C;
  box-shadow: 0 8px 24px rgba(201, 168, 76, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  animation:
    bounceInBottom 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards,
    waPulse 3s infinite 1s;
}

#wa-float:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 30px rgba(201, 168, 76, 0.35);
}

.wa-text-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  animation: rotateTextRing 20s linear infinite;
  transform-origin: center;
  pointer-events: none;
}

.wa-icon-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
  z-index: 2;
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

#wa-float:hover .wa-icon-center {
  transform: translate(-50%, -50%) scale(1.1);
}

@keyframes rotateTextRing {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes waPulse {
  0% {
    box-shadow:
      0 8px 24px rgba(201, 168, 76, 0.2),
      0 0 0 0 rgba(201, 168, 76, 0.4);
  }
  50% {
    box-shadow:
      0 12px 30px rgba(201, 168, 76, 0.3),
      0 0 0 10px rgba(201, 168, 76, 0);
  }
  100% {
    box-shadow:
      0 8px 24px rgba(201, 168, 76, 0.2),
      0 0 0 0 rgba(201, 168, 76, 0);
  }
}

/* ── INSTAGRAM FEED ── */
#instagram-feed {
  background: var(--cream);
  padding: 5rem 6%;
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.2rem;
  margin-top: 2.5rem;
}

.instagram-item {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #C9A84C;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(201, 168, 76, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.instagram-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(201, 168, 76, 0.3);
}

.instagram-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.3s ease, transform 0.3s ease;
}

.instagram-item:hover img {
  filter: brightness(0.85);
  transform: scale(1.05);
}

.btn-instagram {
  display: inline-block;
  background: #2a1a22;
  color: #fff;
  padding: 0.8rem 2.2rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid #C9A84C;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(42, 26, 34, 0.15);
}

.btn-instagram:hover {
  background: var(--rose);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(192, 38, 61, 0.25);
}

@media (max-width: 900px) {
  .instagram-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 480px) {
  .instagram-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
  }
}

/* ── DISCOUNT POPUP MODAL ── */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 5, 8, 0.7);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.modal-backdrop.show {
  opacity: 1;
  pointer-events: all;
}

.modal-content {
  background: var(--cream);
  border: 2px solid #C9A84C;
  border-radius: 24px;
  width: 90%;
  max-width: 450px;
  padding: 3rem 2.2rem 2.2rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  position: relative;
  text-align: center;
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-backdrop.show .modal-content {
  transform: scale(1);
}

.modal-close-x {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.2rem;
  color: var(--text);
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.modal-close-x:hover {
  opacity: 1;
}

.modal-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  color: #C9A84C;
  font-weight: 600;
  margin-bottom: 0.8rem;
  line-height: 1.25;
}

.modal-sub {
  font-size: 0.92rem;
  color: var(--text);
  opacity: 0.85;
  margin-bottom: 1.8rem;
  line-height: 1.5;
}

.modal-form-group {
  margin-bottom: 1.2rem;
}

.modal-form-group input {
  width: 100%;
  padding: 0.9rem 1.2rem;
  border-radius: 50px;
  border: 1px solid rgba(201, 168, 76, 0.4);
  background: #fff;
  color: var(--text);
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.modal-form-group input:focus {
  border-color: #8B1A1A;
  box-shadow: 0 0 0 3px rgba(139, 26, 26, 0.1);
}

.btn-claim-discount {
  width: 100%;
  background: #8B1A1A;
  color: #fff;
  border: none;
  padding: 0.95rem;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s;
  box-shadow: 0 6px 20px rgba(139, 26, 26, 0.3);
  margin-bottom: 1.2rem;
}

.btn-claim-discount:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(139, 26, 26, 0.4);
  background: #a32222;
}

.link-no-thanks {
  background: none;
  border: none;
  font-size: 0.8rem;
  color: var(--text);
  opacity: 0.6;
  text-decoration: underline;
  cursor: pointer;
  transition: opacity 0.2s;
  display: inline-block;
}

.link-no-thanks:hover {
  opacity: 1;
  color: #8B1A1A;
}

@media (max-width: 480px) {
  #wa-float {
    bottom: 85px;
    right: 16px;
    width: 72px;
    height: 72px;
    min-width: 72px;
    min-height: 72px;
  }
  .wa-icon-center {
    width: 38px;
    height: 38px;
  }
  .wa-icon-center svg {
    width: 20px;
    height: 20px;
  }
}

.floating-btn:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow:
    8px 8px 20px rgba(139, 26, 26, 0.55),
    -3px -3px 12px rgba(255, 255, 255, 0.15);
}

.floating-btn:active {
  transform: scale(0.92) !important;
  transition: transform 0.1s !important;
}

/* Tooltips */
.floating-btn::before {
  content: attr(data-tooltip);
  position: absolute;
  right: 100%;
  margin-right: 16px;
  background: #8B1A1A;
  color: #fff;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: all 0.3s ease;
  border: 1px solid #C9A84C;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  pointer-events: none;
  font-family: 'Inter', sans-serif;
}

/* Tooltip Arrow */
.floating-btn::after {
  content: '';
  position: absolute;
  right: 100%;
  margin-right: 10px;
  border-width: 6px;
  border-style: solid;
  border-color: transparent transparent transparent #8B1A1A;
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: all 0.3s ease;
  pointer-events: none;
}

.floating-btn:hover::before,
.floating-btn:hover::after {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

@keyframes bounceInBottom {
  0% {
    transform: translateY(100px);
    opacity: 0;
  }

  60% {
    transform: translateY(-10px);
    opacity: 1;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes premiumPulse {
  0% {
    box-shadow:
      4px 4px 12px rgba(139, 26, 26, 0.45),
      -2px -2px 8px rgba(255, 255, 255, 0.1),
      0 0 0 0 rgba(201, 168, 76, 0.6);
  }

  50% {
    box-shadow:
      6px 6px 16px rgba(139, 26, 26, 0.55),
      -2px -2px 8px rgba(255, 255, 255, 0.1),
      0 0 0 12px rgba(201, 168, 76, 0);
  }

  100% {
    box-shadow:
      4px 4px 12px rgba(139, 26, 26, 0.45),
      -2px -2px 8px rgba(255, 255, 255, 0.1),
      0 0 0 0 rgba(201, 168, 76, 0);
  }
}

/* RESPONSIVE */
@media(max-width:900px) {

  #hero,
  #catalog,
  #configurator {
    background-attachment: scroll !important;
    background-position: center !important;
  }

  nav {
    padding: .8rem 5%;
    top: 0;
  }

  /* Smaller logo in nav on mobile so it doesn't crowd */
  .nav-logo img {
    height: 56px;
  }

  .nav-links {
    display: none
  }

  .menu-toggle {
    display: block
  }

  /* Hero: keep single-column centered, same as desktop — only fix top padding */
  #hero {
    grid-template-columns: 1fr;
    padding-top: 6rem;
    padding-bottom: 3rem;
    text-align: center;
  }

  /* Keep hero subtitle centered on mobile */
  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-btns {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
    gap: 1.5rem;
  }



  #about,
  #contact {
    grid-template-columns: 1fr
  }

  .hero-img {
    order: -1
  }

  .hero-img-ring {
    width: 260px;
    height: 260px
  }

  .config-layout {
    grid-template-columns: 1fr
  }

  .preview-panel {
    position: static;
    margin-top: 2rem
  }

  .about-visual {
    display: none
  }

  .testi-grid {
    grid-template-columns: 1fr
  }

  #cart-drawer {
    width: 100%;
    max-width: 100%;
    right: -100%
  }

  #cart-drawer.open {
    right: 0
  }
}



/* ── PROMO STRIP ── */
.promo-banner {
  background: var(--dark);
  padding: 1.1rem 6%;
  border-top: 2px solid var(--rose);
  border-bottom: 2px solid var(--rose);
}

.promo-inner {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.promo-item {
  color: var(--cream);
  font-size: .85rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: .5rem;
  letter-spacing: .03em;
}

.promo-item span {
  font-size: 1.1rem;
}

/* ── CEO CARD ── */
.ceo-card {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 520px;
  box-shadow: 0 20px 60px rgba(192, 38, 61, 0.25);
}

.ceo-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(224, 120, 152, 0.6) 0%, transparent 55%),
    radial-gradient(circle at 80% 80%, rgba(201, 151, 59, 0.5) 0%, transparent 50%),
    radial-gradient(circle at 60% 50%, rgba(192, 38, 61, 0.3) 0%, transparent 60%),
    linear-gradient(160deg, #2a1a22 0%, #1a0f18 100%);
  z-index: 0;
}

.ceo-bg::before {
  content: '🌸';
  position: absolute;
  font-size: 8rem;
  top: -20px;
  right: -20px;
  opacity: .08;
  filter: blur(2px);
}

.ceo-bg::after {
  content: '✨';
  position: absolute;
  font-size: 6rem;
  bottom: 20px;
  left: 10px;
  opacity: .1;
}

.ceo-photo-wrap {
  position: relative;
  z-index: 1;
  width: 85%;
  margin-top: 1.5rem;
  border-radius: 20px;
  overflow: hidden;
  border: 3px solid rgba(224, 120, 152, 0.4);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .4), 0 0 0 6px rgba(201, 151, 59, 0.12);
  aspect-ratio: 4/5;
}

.ceo-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.ceo-info {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 1.2rem 1rem 1.5rem;
}

.ceo-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: .04em;
}

.ceo-title {
  font-size: .78rem;
  color: var(--rose-mid);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-top: .2rem;
}

.ceo-badge {
  display: inline-block;
  background: rgba(201, 151, 59, 0.2);
  border: 1px solid rgba(201, 151, 59, 0.4);
  color: var(--gold-light);
  font-size: .72rem;
  padding: .3rem .9rem;
  border-radius: 50px;
  margin-top: .6rem;
  letter-spacing: .08em;
}

/* ── LIGHTBOX ── */
#lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 5, 8, 0.92);
  backdrop-filter: blur(14px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
  padding: 1.5rem;
  cursor: zoom-out;
}

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

#lightbox-img-wrap {
  position: relative;
  max-width: 90vw;
  max-height: 88vh;
  transform: scale(0.88);
  transition: transform .38s cubic-bezier(.34, 1.56, .64, 1);
  cursor: default;
}

#lightbox.active #lightbox-img-wrap {
  transform: scale(1);
}

#lightbox-img {
  display: block;
  max-width: 90vw;
  max-height: 82vh;
  width: auto;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, .75), 0 0 0 1px rgba(255, 255, 255, .08);
  object-fit: contain;
}

#lightbox-caption {
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-style: italic;
  color: rgba(255, 255, 255, .75);
  margin-top: .9rem;
  letter-spacing: .04em;
}

#lightbox-close {
  position: fixed;
  top: 1.4rem;
  right: 1.6rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  border: 1.5px solid rgba(255, 255, 255, .22);
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .22s;
  backdrop-filter: blur(8px);
  z-index: 10000;
}

#lightbox-close:hover {
  background: var(--rose);
  border-color: var(--rose);
  transform: scale(1.12) rotate(90deg);
}

/* Prev / Next arrows */
#lb-prev,
#lb-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  border: 1.5px solid rgba(255, 255, 255, .25);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
  backdrop-filter: blur(8px);
  z-index: 10000;
  user-select: none;
}

#lb-prev {
  left: 1rem;
}

#lb-next {
  right: 1rem;
}

#lb-prev:hover,
#lb-next:hover {
  background: var(--rose);
  border-color: var(--rose);
  transform: translateY(-50%) scale(1.1);
}

/* Counter + footer */
#lightbox-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: .7rem;
}

#lightbox-counter {
  color: rgba(255, 255, 255, .5);
  font-size: .8rem;
  font-family: 'Inter', sans-serif;
  letter-spacing: .1em;
}

/* Fade transition on image swap */
#lightbox-img {
  transition: opacity .15s ease;
}

/* zoom cursor on catalog card images */
.card-img img {
  cursor: zoom-in;
  transition: transform .4s ease;
}

.card-img img:hover {
  transform: scale(1.04);
}

/* zoom cursor on gallery images */
#galeria img {
  cursor: zoom-in;
  transition: transform .5s ease;
}

#galeria div:hover img {
  transform: scale(1.07);
}

/* ── LIGHTBOX MOBILE ── */
@media (max-width: 768px) {
  #lightbox {
    padding: 0;
    align-items: center;
    justify-content: center;
    /* Faster, simpler fade on mobile — no stacking animations */
    transition: opacity .22s ease;
  }

  /* Remove the bouncy scale effect on mobile — feels jarring on small screens */
  #lightbox-img-wrap {
    max-width: 100vw;
    max-height: 90vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: none !important;
    transition: none !important;
  }

  #lightbox-img {
    max-width: 95vw;
    max-height: 75vh;
    border-radius: 12px;
    width: auto;
    height: auto;
  }

  #lightbox-close {
    /* Larger tap target on mobile */
    width: 52px;
    height: 52px;
    font-size: 1.5rem;
    top: 1rem;
    right: 1rem;
    /* Make sure it's always easy to tap */
    background: rgba(192, 38, 61, 0.85);
    border-color: rgba(255, 255, 255, .3);
  }

  #lightbox-caption {
    font-size: 1rem;
    padding: 0 1rem;
    margin-top: .7rem;
  }

  /* On mobile, no hover effects needed */
  .card-img img:hover {
    transform: none;
  }

  #galeria div:hover img {
    transform: none;
  }
}

/* HERO PHOTO */
.hero-photo {
  width: 100vw;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  margin: 0;
  padding: 0;
  display: block;
  border-radius: 0;
}

@media (min-width: 769px) {
  .hero-photo {
    width: 100%;
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
  }
}

@keyframes scrollParticles {
  from {
    background-position: 0 0, 30px 40px, 70px 90px;
  }
  to {
    background-position: 0 150px, 30px 190px, 70px 240px;
  }
}

@keyframes logoEntrance {
  0% { opacity: 0; transform: scale(0.9); }
  100% { opacity: 1; transform: scale(1); }
}

.shimmer-gold-badge::before {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.6), transparent);
  animation: shimmerBadge 4s infinite;
}

@media (max-width: 768px) {
  .descriptive-text {
    font-size: 16px !important;
  }
  
  .compact-stats {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow: visible !important;
    width: 100% !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    box-sizing: border-box !important;
    gap: 0 !important;
  }
  
  .compact-stats .stat-item {
    flex: 1 !important;
    min-width: 0 !important;
    text-align: center !important;
    padding: 0 4px !important;
  }
  
  .compact-stats .stat-num {
    font-size: 1.8rem !important;
  }
  
  .compact-stats .stat-label {
    font-size: 10px !important;
    word-wrap: break-word;
  }
  
  .compact-stats .stat-divider {
    margin: 0 0.2rem !important;
  }

  .promo-banner {
    padding-right: 80px !important;
  }
}