/* ============================================
   RR DOODLES - Global Design System
   Mobile-First E-Commerce for Kids Essentials
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&family=Inter:wght@400;500;600&display=swap');

/* ─── CSS VARIABLES ─── */
:root {
  /* Brand Colors */
  --sun-yellow: #FFD54F;
  --soft-orange: #FF9A6C;
  --deep-orange: #FF7A2F;
  --mint-green: #4DD0B0;
  --sky-blue: #73B7FF;
  --lavender: #8B90E5;

  /* Backgrounds */
  --bg-primary: #FFF7F2;
  --bg-alt: #FDF1EA;
  --bg-white: #FFFFFF;

  /* CTA Gradient */
  --cta-gradient: linear-gradient(135deg, #FF9A6C, #FF7A2F);

  /* Gender Gradients (subtle) */
  --boys-gradient: linear-gradient(135deg, #73B7FF20, #4DD0B020);
  --girls-gradient: linear-gradient(135deg, #FF9A6C20, #FFD54F20);
  --combo-gradient: linear-gradient(135deg, #73B7FF15, #FF9A6C15);

  /* Text */
  --text-primary: #1A1A1A;
  --text-secondary: #666666;
  --text-white: #FFFFFF;

  /* Divider */
  --divider: #EAEAEA;

  /* Typography */
  --font-heading: 'Nunito', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --section-gap: 56px;
  --card-radius: 16px;
  --card-shadow: 0px 10px 20px rgba(0, 0, 0, 0.05);
  --card-padding: 16px;

  /* Transitions */
  --transition: all 0.25s ease;
}

/* ─── RESET ─── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-size: 16px;
  line-height: 1.4;
  overflow-x: hidden;
  /* Font smoothing — eliminates pixel rendering on all screens */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

button {
  border: none;
  cursor: pointer;
  font-family: inherit;
}

input,
textarea,
select {
  font-family: inherit;
  outline: none;
}

/* ─── TYPOGRAPHY ─── */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.2;
}

h1 {
  font-size: clamp(26px, 6vw, 40px);
}

h2 {
  font-size: clamp(22px, 5vw, 30px);
}

h3 {
  font-size: clamp(18px, 4vw, 24px);
}

h4 {
  font-size: 18px;
}

p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ─── UTILITIES ─── */
/* Responsive container — expands at each breakpoint */
.container {
  width: 100%;
  margin: 0 auto;
  padding: 0 16px;
  max-width: 480px;
}

@media (min-width: 640px) {
  .container {
    max-width: 640px;
    padding: 0 24px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 768px;
    padding: 0 32px;
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: 1100px;
    padding: 0 40px;
  }
}

@media (min-width: 1280px) {
  .container {
    max-width: 1280px;
    padding: 0 48px;
  }
}

.section-gap {
  margin-top: var(--section-gap);
}

.text-center {
  text-align: center;
}

.text-primary {
  color: var(--text-primary);
}

.text-secondary {
  color: var(--text-secondary);
}

.font-heading {
  font-family: var(--font-heading);
}

.fw-800 {
  font-weight: 800;
}

.fw-700 {
  font-weight: 700;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  padding: 0 28px;
  border-radius: 100px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 15px;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-cta {
  background: var(--cta-gradient);
  color: var(--text-white);
  box-shadow: 0 6px 20px rgba(255, 122, 47, 0.35);
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(255, 122, 47, 0.45);
}

.btn-cta:active {
  transform: translateY(0);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--soft-orange);
  color: var(--soft-orange);
}

.btn-outline:hover {
  background: var(--soft-orange);
  color: white;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.8);
  color: var(--text-primary);
}

.btn-full {
  width: 100%;
}

.btn-sm {
  height: 40px;
  padding: 0 18px;
  font-size: 13px;
}

.btn-lg {
  height: 58px;
  padding: 0 36px;
  font-size: 17px;
}

/* ─── PILL BADGE ─── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 100px;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
}

.badge-engraving {
  background: var(--sun-yellow);
  color: #7A5200;
}

.badge-sale {
  background: #FF4F4F;
  color: white;
}

.badge-new {
  background: var(--mint-green);
  color: white;
}

.badge-hot {
  background: var(--soft-orange);
  color: white;
}

.badge-save {
  background: #4DD0B0;
  color: white;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 100px;
}

/* ─── ANNOUNCEMENT BAR ─── */
.announcement-bar {
  background: var(--sun-yellow);
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.announcement-bar .ticker {
  display: flex;
  gap: 0;
  animation: ticker 22s linear infinite;
  white-space: nowrap;
  will-change: transform;
}

.announcement-bar span {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: #7A5200;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 28px;
  border-right: 1.5px solid rgba(122, 82, 0, 0.15);
}

@keyframes ticker {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ─── HEADER ─── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 247, 242, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  height: 64px;
  border-bottom: 1px solid var(--divider);
  transition: var(--transition);
}

@media (min-width: 1024px) {
  .site-header {
    height: 72px;
  }
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 16px;
  max-width: 480px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .header-inner {
    max-width: 640px;
    padding: 0 24px;
  }
}

@media (min-width: 768px) {
  .header-inner {
    max-width: 768px;
    padding: 0 32px;
  }
}

@media (min-width: 1024px) {
  .header-inner {
    max-width: 1100px;
    padding: 0 40px;
  }
}

@media (min-width: 1280px) {
  .header-inner {
    max-width: 1280px;
    padding: 0 48px;
  }
}

.logo {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--soft-orange), var(--lavender));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
}

.logo span {
  color: var(--sun-yellow);
  -webkit-text-fill-color: var(--sun-yellow);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: transparent;
  transition: var(--transition);
  position: relative;
  color: var(--text-primary);
}

.icon-btn:hover {
  background: var(--bg-alt);
}

.cart-count {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 18px;
  height: 18px;
  background: var(--deep-orange);
  color: white;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
}

/* ─── MOBILE MENU ─── */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 2000;
  pointer-events: none;
}

.menu-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.menu-drawer {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 280px;
  background: var(--bg-primary);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  padding: 24px 20px;
  gap: 8px;
  overflow-y: auto;
}

.mobile-menu.open {
  pointer-events: all;
}

.mobile-menu.open .menu-overlay {
  opacity: 1;
}

.mobile-menu.open .menu-drawer {
  transform: translateX(0);
}

.menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.menu-logo {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 20px;
  background: linear-gradient(135deg, var(--soft-orange), var(--lavender));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.menu-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  transition: var(--transition);
}

.menu-nav-item:hover,
.menu-nav-item.active {
  background: var(--bg-alt);
}

.menu-nav-item .nav-icon {
  font-size: 20px;
  width: 32px;
  text-align: center;
}

.menu-divider {
  height: 1px;
  background: var(--divider);
  margin: 8px 0;
}

.menu-cta {
  margin-top: auto;
}

/* ─── DESKTOP NAV ─── */
.desktop-nav {
  display: none;
}

@media (min-width: 1024px) {
  .desktop-nav {
    display: flex;
    align-items: center;
    gap: 4px;
  }

  .desktop-nav a {
    padding: 8px 14px;
    border-radius: 100px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: var(--text-secondary);
    transition: var(--transition);
    white-space: nowrap;
  }

  .desktop-nav a:hover,
  .desktop-nav a.active {
    background: var(--bg-alt);
    color: var(--deep-orange);
  }

  /* Hide hamburger on desktop */
  .hamburger-btn {
    display: none;
  }
}

/* ─── HERO SLIDER ─── */
.hero-section {
  position: relative;
  height: 72vh;
  min-height: 400px;
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero-section {
    min-height: 480px;
  }
}

@media (min-width: 1024px) {
  .hero-section {
    height: 80vh;
    min-height: 520px;
  }
}

.hero-slides {
  display: flex;
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  padding: 32px 24px;
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero-slide {
    padding: 48px 40px;
  }
}

@media (min-width: 1024px) {
  .hero-slide {
    padding: 60px 48px;
    justify-content: center;
  }
}

.hero-slide-content {
  position: relative;
  z-index: 2;
  max-width: 240px;
}

@media (min-width: 768px) {
  .hero-slide-content {
    max-width: 360px;
  }
}

@media (min-width: 1024px) {
  .hero-slide-content {
    max-width: 480px;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.9);
  padding: 6px 14px;
  border-radius: 100px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  color: var(--deep-orange);
  margin-bottom: 14px;
  backdrop-filter: blur(8px);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(24px, 7vw, 38px);
  font-weight: 900;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.hero-title .highlight {
  color: var(--deep-orange);
}

.hero-sub {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  font-family: var(--font-heading);
  font-weight: 600;
}

.hero-image {
  position: absolute;
  right: -10px;
  bottom: 0;
  height: 88%;
  width: 55%;
  object-fit: contain;
  z-index: 1;
}

@media (min-width: 1024px) {
  .hero-image {
    right: 5%;
    width: 45%;
    height: 92%;
  }
}

.hero-doodles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-doodle {
  position: absolute;
  font-size: 28px;
  opacity: 0.18;
  animation: floatDoodle 4s ease-in-out infinite;
}

@keyframes floatDoodle {

  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-12px) rotate(8deg);
  }
}

.hero-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transition: var(--transition);
  cursor: pointer;
}

.hero-dot.active {
  background: white;
  width: 24px;
  border-radius: 4px;
}

/* ─── TRUST ICONS ─── */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (min-width: 640px) {
  .trust-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.trust-card {
  background: var(--bg-white);
  border-radius: var(--card-radius);
  padding: 18px 14px;
  text-align: center;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
}

.trust-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.trust-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}

.trust-card h4 {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.3;
}

/* ─── SECTION HEADER ─── */
.section-header {
  margin-bottom: 20px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  color: var(--deep-orange);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 6px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(20px, 5vw, 26px);
  font-weight: 900;
  color: var(--text-primary);
}

.section-sub {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 6px;
}

/* ─── PRODUCT CARD ─── */
.product-card {
  background: var(--bg-white);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
  cursor: pointer;
  /* Fixed height flex column — keeps all cards same size */
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.1);
}

.product-image-wrap {
  position: relative;
  height: 160px;
  flex-shrink: 0;
  background: var(--bg-alt);
  overflow: hidden;
}

@media (min-width: 768px) {
  .product-image-wrap {
    height: 200px;
  }
}

@media (min-width: 1024px) {
  .product-image-wrap {
    height: 220px;
  }
}

.product-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover .product-image-wrap img {
  transform: scale(1.06);
}

.product-card-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  z-index: 2;
}

.product-wishlist {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: var(--transition);
  z-index: 2;
  backdrop-filter: blur(4px);
}

.product-wishlist.active {
  background: #FF4F4F;
}

.product-info {
  padding: var(--card-padding);
  /* Fill remaining card height — pins button to bottom */
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-name {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.35;
  margin-bottom: 8px;
  /* Always exactly 2 lines — keeps price row aligned across all cards */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(14px * 1.35 * 2);
}

.product-price-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.product-price {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 900;
  color: var(--deep-orange);
}

.product-compare-price {
  font-size: 13px;
  color: var(--text-secondary);
  text-decoration: line-through;
}

.product-add-btn {
  width: 100%;
  height: 44px;
  background: var(--cta-gradient);
  color: white;
  border-radius: 100px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 800;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-shrink: 0;
  /* Push button to bottom of card no matter how much text is above */
  margin-top: auto;
}

.product-add-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(255, 122, 47, 0.4);
}

/* Boys/Girls category gradients */
.boys-bg {
  background: var(--boys-gradient);
}

.girls-bg {
  background: var(--girls-gradient);
}

.combo-bg {
  background: var(--combo-gradient);
}

/* ─── PRODUCT GRID ─── */
/* Product grids — responsive columns */
.product-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

@media (min-width: 768px) {
  .product-grid-2 {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
}

@media (min-width: 1024px) {
  .product-grid-2 {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}

.product-grid-1 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 768px) {
  .product-grid-1 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .product-grid-1 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ─── HORIZONTAL SCROLL AREA ─── */
.scroll-area {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 12px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  /* Align cards to top so they all start at same point */
  align-items: stretch;
}

.scroll-area::-webkit-scrollbar {
  display: none;
}

/* Fixed card widths in carousel — prevents size inconsistency */
.scroll-area .product-card {
  min-width: 160px;
  width: 160px;
  flex-shrink: 0;
}

@media (min-width: 480px) {
  .scroll-area .product-card {
    min-width: 180px;
    width: 180px;
  }
}

@media (min-width: 768px) {
  .scroll-area .product-card {
    min-width: 220px;
    width: 220px;
  }
}

@media (min-width: 1024px) {
  .scroll-area .product-card {
    min-width: 260px;
    width: 260px;
  }
}


/* ─── CATEGORY CARDS ─── */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

@media (min-width: 640px) {
  .category-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
}

@media (min-width: 768px) {
  .category-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
  }
}

.category-card {
  border-radius: var(--card-radius);
  height: 110px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: var(--transition);
  overflow: hidden;
  position: relative;
}

.category-card:hover {
  transform: translateY(-3px) scale(1.02);
}

.category-icon {
  font-size: 32px;
}

.category-name {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 800;
  color: var(--text-primary);
  text-align: center;
}

/* ─── ENGRAVING SECTION ─── */
.engraving-section {
  background: linear-gradient(135deg, #FFF1E6, #FFF7F2);
  border-radius: 24px;
  padding: 32px 20px;
  text-align: center;
  overflow: hidden;
  position: relative;
}

.engraving-illustration {
  font-size: 80px;
  margin-bottom: 20px;
  animation: floatDoodle 3s ease-in-out infinite;
  display: inline-block;
}

.engraving-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 24px 0;
  text-align: left;
}

.engraving-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(255, 255, 255, 0.7);
  padding: 14px 16px;
  border-radius: 14px;
  backdrop-filter: blur(4px);
}

.step-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--cta-gradient);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 15px;
  flex-shrink: 0;
}

.step-text h5 {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 800;
  color: var(--text-primary);
}

.step-text p {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 2px;
}

/* ─── COMBO CARDS GRID ─── */
.combo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 768px) {
  .combo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .combo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ─── COMBO CARD ─── */
.combo-card {
  background: var(--bg-white);
  border-radius: 20px;
  box-shadow: var(--card-shadow);
  overflow: hidden;
  transition: var(--transition);
}

.combo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.1);
}

.combo-image-row {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 20px 16px 0;
  background: var(--combo-gradient);
}

.combo-image-row img {
  width: 30%;
  height: 100px;
  object-fit: contain;
}

.combo-info {
  padding: 16px;
}

.combo-name {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.combo-pricing {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.combo-price {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 900;
  color: var(--deep-orange);
}

.combo-original {
  font-size: 14px;
  color: var(--text-secondary);
  text-decoration: line-through;
}

/* ─── REVIEWS ─── */
.review-card {
  background: var(--bg-white);
  border-radius: 20px;
  padding: 18px;
  box-shadow: var(--card-shadow);
  min-width: 270px;
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  .review-card {
    min-width: 320px;
    padding: 22px;
  }
}

.review-stars {
  color: var(--sun-yellow);
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.review-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 14px;
}

.reviewer {
  display: flex;
  align-items: center;
  gap: 10px;
}

.reviewer-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--girls-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.reviewer-name {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 800;
  color: var(--text-primary);
}

.reviewer-sub {
  font-size: 12px;
  color: var(--text-secondary);
}

/* ─── FAQ ACCORDION ─── */
.faq-item {
  border-bottom: 1px solid var(--divider);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  cursor: pointer;
  gap: 12px;
}

.faq-icon {
  font-size: 20px;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  color: var(--soft-orange);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding-bottom: 16px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* ─── FOOTER ─── */
.site-footer {
  background: #1A1A1A;
  padding: 40px 16px 100px;
  margin-top: var(--section-gap);
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--soft-orange), var(--lavender));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
}

.footer-tagline {
  font-size: 13px;
  color: #888;
  margin-bottom: 28px;
  line-height: 1.5;
}

.footer-section-title {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.footer-links a {
  font-size: 14px;
  color: #aaa;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--soft-orange);
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
}

.social-btn {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: var(--transition);
}

.social-btn:hover {
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 20px;
  text-align: center;
}

.footer-bottom p {
  font-size: 12px;
  color: #666;
}

/* ─── STICKY BOTTOM BAR ─── */
.sticky-bottom {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 247, 242, 0.95);
  backdrop-filter: blur(12px);
  padding: 10px 16px 20px;
  border-top: 1px solid var(--divider);
  display: flex;
  gap: 10px;
  z-index: 500;
}

.sticky-bottom .btn {
  flex: 1;
}

/* ─── CART PAGE ─── */
.cart-item {
  display: flex;
  gap: 14px;
  background: var(--bg-white);
  border-radius: 16px;
  padding: 14px;
  box-shadow: var(--card-shadow);
  margin-bottom: 12px;
  align-items: flex-start;
}

.cart-item-image {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--bg-alt);
}

.cart-item-info {
  flex: 1;
  min-width: 0;
}

.cart-item-name {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 800;
  color: var(--text-primary);
}

.cart-item-variant {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 3px;
}

.cart-item-engraving {
  font-size: 12px;
  color: var(--deep-orange);
  font-weight: 600;
  margin-top: 3px;
}

.cart-item-price {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 900;
  color: var(--deep-orange);
  margin-top: 8px;
}

.qty-control {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.qty-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  font-weight: 700;
  transition: var(--transition);
  border: none;
}

.qty-btn:hover {
  background: var(--soft-orange);
  color: white;
}

.qty-value {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;
  min-width: 24px;
  text-align: center;
}

.cart-remove {
  font-size: 18px;
  color: #ccc;
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 2px;
  transition: var(--transition);
}

.cart-remove:hover {
  color: #FF4F4F;
}

/* ─── ORDER SUMMARY ─── */
.order-summary {
  background: var(--bg-white);
  border-radius: 20px;
  padding: 20px;
  box-shadow: var(--card-shadow);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--divider);
  font-size: 14px;
}

.summary-row:last-of-type {
  border-bottom: none;
}

.summary-label {
  color: var(--text-secondary);
  font-weight: 500;
}

.summary-value {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-primary);
}

.summary-total .summary-label {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;
  color: var(--text-primary);
}

.summary-total .summary-value {
  font-size: 20px;
  color: var(--deep-orange);
}

/* ─── CHECKOUT FORM ─── */
.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border: 2px solid var(--divider);
  border-radius: 14px;
  background: var(--bg-white);
  font-size: 15px;
  color: var(--text-primary);
  transition: var(--transition);
}

.form-input:focus {
  border-color: var(--soft-orange);
  box-shadow: 0 0 0 4px rgba(255, 154, 108, 0.12);
}

.form-input::placeholder {
  color: #bbb;
}

.form-textarea {
  height: auto;
  padding: 14px 16px;
  resize: none;
  min-height: 90px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* ─── UPI PAYMENT ─── */
.upi-card {
  background: var(--bg-white);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--card-shadow);
  text-align: center;
}

.upi-amount {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 900;
  background: var(--cta-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 12px 0;
}

.qr-container {
  background: white;
  padding: 16px;
  border-radius: 20px;
  display: inline-flex;
  margin: 16px 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.qr-placeholder {
  width: 180px;
  height: 180px;
  background: repeating-conic-gradient(#000 0% 25%, transparent 0% 50%) 0 0 / 10px 10px;
  border-radius: 4px;
}

.upi-id-box {
  background: var(--bg-alt);
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.upi-id-text {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
}

.upi-steps {
  text-align: left;
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.upi-step {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.upi-step-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--boys-gradient);
  border: 2px solid var(--sky-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
  color: var(--text-primary);
}

.upi-step p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
  padding-top: 2px;
}

/* ─── PRODUCT PAGE ─── */
.product-gallery {
  position: relative;
  background: var(--bg-alt);
  border-radius: 0 0 24px 24px;
  overflow: hidden;
}

.gallery-slides {
  display: flex;
}

.gallery-slide {
  min-width: 100%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gallery-thumbs {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  overflow-x: auto;
  scrollbar-width: none;
}

.gallery-thumb {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  background: var(--bg-white);
  border: 2px solid transparent;
  overflow: hidden;
  cursor: pointer;
  flex-shrink: 0;
  transition: var(--transition);
}

.gallery-thumb.active {
  border-color: var(--soft-orange);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rating-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0;
}

.rating-stars {
  color: var(--sun-yellow);
  font-size: 16px;
}

.rating-count {
  font-size: 13px;
  color: var(--text-secondary);
}

.engraving-checkbox-wrapper {
  background: linear-gradient(135deg, #FFF1E6, #FFF7F2);
  border-radius: 16px;
  padding: 18px;
  border: 2px solid transparent;
  transition: var(--transition);
  cursor: pointer;
}

.engraving-checkbox-wrapper.active {
  border-color: var(--soft-orange);
}

.engraving-check-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.custom-checkbox {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  border: 2px solid var(--divider);
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}

.custom-checkbox.checked {
  background: var(--cta-gradient);
  border-color: transparent;
  color: white;
}

.engraving-name-input {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border: 2px solid var(--soft-orange);
  border-radius: 14px;
  background: white;
  font-size: 16px;
  font-family: var(--font-heading);
  font-weight: 700;
  margin-top: 14px;
  transition: var(--transition);
}

.engraving-name-input:focus {
  box-shadow: 0 0 0 4px rgba(255, 154, 108, 0.12);
}

/* ─── PAGE HERO ─── */
.page-hero {
  padding: 32px 16px 24px;
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-alt) 100%);
}

.page-hero h1 {
  font-size: clamp(24px, 6vw, 32px);
  margin-bottom: 6px;
}

/* ─── FILTER BAR ─── */
.filter-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 4px;
}

.filter-bar::-webkit-scrollbar {
  display: none;
}

.filter-chip {
  padding: 8px 16px;
  border-radius: 100px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  background: var(--bg-white);
  color: var(--text-secondary);
  border: 2px solid var(--divider);
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
  flex-shrink: 0;
  height: 40px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.filter-chip.active {
  background: var(--cta-gradient);
  color: white;
  border-color: transparent;
}

.filter-chip:hover:not(.active) {
  border-color: var(--soft-orange);
  color: var(--soft-orange);
}

/* ─── BACK BUTTON ─── */
.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  padding: 10px 0;
  cursor: pointer;
  transition: var(--transition);
}

.back-btn:hover {
  color: var(--soft-orange);
}

/* ─── NOTIFICATION TOAST ─── */
.toast {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #1A1A1A;
  color: white;
  padding: 12px 24px;
  border-radius: 100px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 9999;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ─── LOADING SKELETON ─── */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 8px;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

/* ─── SCROLL REVEAL ─── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── ACCORDION ─── */
.accordion-item {
  border-bottom: 1px solid var(--divider);
}

.accordion-btn {
  width: 100%;
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  cursor: pointer;
  text-align: left;
  gap: 12px;
}

.accordion-icon {
  flex-shrink: 0;
  font-size: 18px;
  color: var(--soft-orange);
  transition: transform 0.3s ease;
}

.accordion-item.open .accordion-icon {
  transform: rotate(45deg);
}

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.accordion-item.open .accordion-panel {
  max-height: 400px;
}

.accordion-panel>* {
  padding-bottom: 16px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ─── UPLOAD BOX ─── */
.upload-box {
  border: 2px dashed var(--divider);
  border-radius: 16px;
  padding: 28px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  background: var(--bg-white);
}

.upload-box:hover {
  border-color: var(--soft-orange);
  background: #FFF1E6;
}

.upload-icon {
  font-size: 40px;
  margin-bottom: 10px;
}

.upload-text {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}

.upload-sub {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* ─── ADDITIONAL DESKTOP POLISH ─── */
@media (min-width: 480px) {
  .scroll-area .product-card {
    min-width: 180px;
  }

  .hero-slide {
    padding: 40px 32px;
  }
}

@media (min-width: 1024px) {

  /* Section gap larger on desktop */
  :root {
    --section-gap: 80px;
  }

  /* Bigger cards */
  .product-card {
    border-radius: 20px;
  }

  .product-name {
    font-size: 15px;
  }

  .product-price {
    font-size: 18px;
  }

  .product-add-btn {
    height: 48px;
    font-size: 14px;
  }

  /* Category card taller */
  .category-card {
    height: 140px;
  }

  .category-icon {
    font-size: 40px;
  }

  .category-name {
    font-size: 13px;
  }

  /* Form max width on desktop */
  .form-input {
    font-size: 16px;
  }

  /* Announcement bar bigger text */
  .announcement-bar span {
    font-size: 14px;
  }

  /* Trust icons */
  .trust-icon {
    width: 60px;
    height: 60px;
    font-size: 30px;
    border-radius: 18px;
  }

  .trust-card h4 {
    font-size: 14px;
  }

  /* Engraving section wider */
  .engraving-section {
    padding: 48px 40px;
  }

  .engraving-steps {
    flex-direction: row;
    gap: 16px;
  }

  .engraving-step {
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
  }

  /* Hero title bigger */
  .hero-title {
    font-size: clamp(32px, 4vw, 52px);
  }

  /* Sticky bottom hidden on desktop */
  .sticky-bottom {
    max-width: 480px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 24px 24px 0 0;
  }
}