@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=Fraunces:wght@500;600;700&display=swap');

:root {
  /* Pink-Gray Color Palette */
  --pink-primary: #FFB6C1;
  --pink-secondary: #FFC0CB;
  --pink-dark: #FF69B4;
  --pink-light: #FFE4E9;
  --pink-accent: #FF1493;
  --gray-dark: #4A4A4A;
  --gray-medium: #8B8B8B;
  --gray-light: #D3D3D3;
  --gray-bg: #F5F5F5;
  --white: #FFFFFF;
  --cream: #FFF8F0;
  
  /* Brand colors */
  --brand-primary: var(--pink-dark);
  --brand-secondary: var(--pink-primary);
  --brand-tertiary: var(--gray-medium);
  --brand-deep: var(--gray-dark);
  --brand-muted: var(--gray-medium);
  --brand-cream: var(--cream);
  --brand-card: var(--white);
  --brand-border: rgba(139, 139, 139, 0.15);
  --brand-shadow: 0 24px 60px rgba(255, 105, 180, 0.15);
  --brand-radius-lg: 32px;
  --brand-radius-md: 20px;
  --brand-radius-sm: 12px;
  --container-width: min(1180px, 92vw);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  background: linear-gradient(180deg, var(--pink-light) 0%, var(--white) 30%, var(--white) 70%, var(--pink-light) 100%);
  color: var(--brand-deep);
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
}

/* Decorative ice cream elements */
body::before {
  content: '';
  position: fixed;
  top: -50px;
  right: -30px;
  width: 200px;
  height: 200px;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 200"><path d="M50 20 Q30 40 50 60 Q70 40 50 20" fill="%23FFB6C1"/><rect x="40" y="60" width="20" height="140" fill="%23E8D5C4" rx="10"/></svg>') no-repeat;
  background-size: contain;
  opacity: 0.3;
  z-index: 0;
  animation: float 6s ease-in-out infinite;
  pointer-events: none;
}

body::after {
  content: '';
  position: fixed;
  bottom: -40px;
  left: -20px;
  width: 150px;
  height: 150px;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 150"><path d="M50 10 Q30 30 50 50 Q70 30 50 10" fill="%23FF69B4"/><rect x="40" y="50" width="20" height="100" fill="%23DC143C" rx="10"/></svg>') no-repeat;
  background-size: contain;
  opacity: 0.25;
  z-index: 0;
  animation: float 8s ease-in-out infinite reverse;
  pointer-events: none;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes iceCreamBounce {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-15px) scale(1.05); }
}

@keyframes drip {
  0% { transform: translateY(0) scaleY(1); opacity: 1; }
  50% { transform: translateY(10px) scaleY(1.2); opacity: 0.8; }
  100% { transform: translateY(20px) scaleY(1.4); opacity: 0; }
}

.ice-cream-animation {
  position: fixed;
  pointer-events: none;
  z-index: 999;
  animation: iceCreamBounce 3s ease-in-out infinite;
}

.ice-cream-drip {
  position: absolute;
  width: 8px;
  height: 20px;
  background: var(--pink-dark);
  border-radius: 0 0 4px 4px;
  animation: drip 2s ease-in-out infinite;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover, a:focus {
  color: var(--brand-primary);
}

img {
  max-width: 100%;
  display: block;
  border-radius: var(--brand-radius-md);
}

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(14px);
  background: rgba(255, 228, 233, 0.95);
  border-bottom: 1px solid rgba(255, 105, 180, 0.1);
  box-shadow: 0 2px 20px rgba(255, 105, 180, 0.08);
}

.navbar {
  width: var(--container-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 0;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.brand:hover {
  transform: scale(1.05);
}

.brand-logo {
  height: 56px;
  width: auto;
  display: block;
  animation: iceCreamBounce 3s ease-in-out infinite;
  filter: drop-shadow(0 4px 8px rgba(255, 105, 180, 0.2));
}

.brand-title {
  font-family: 'Fraunces', serif;
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--pink-dark);
  line-height: 1.1;
}

nav a {
  font-weight: 600;
  color: var(--brand-deep);
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  transition: all 0.2s ease;
}

nav a:hover, nav a:focus {
  background: rgba(255, 182, 193, 0.25);
  color: var(--pink-dark);
}

.nav-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.btn, .btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn {
  background: linear-gradient(135deg, var(--pink-dark), var(--pink-primary));
  color: white;
  box-shadow: 0 18px 34px rgba(255, 105, 180, 0.3);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 42px rgba(255, 105, 180, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--pink-dark);
  border: 2px solid rgba(255, 105, 180, 0.5);
}

.btn-outline:hover {
  transform: translateY(-2px);
  border-color: var(--pink-dark);
  background: rgba(255, 182, 193, 0.1);
}

main {
  padding-bottom: 6rem;
  position: relative;
  z-index: 1;
}

.section {
  width: var(--container-width);
  margin: 0 auto;
  padding: 4.5rem 0;
  position: relative;
  z-index: 1;
}

.section > * {
  position: relative;
  z-index: 1;
}

/* Text overlay inserts */
.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: -10%;
  width: 120%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 182, 193, 0.05) 50%, transparent 100%);
  z-index: 0;
  pointer-events: none;
}

/* Text overlay backgrounds for hero sections */
.hero-copy::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -30px;
  right: -30px;
  bottom: -20px;
  background: linear-gradient(135deg, rgba(255, 228, 233, 0.4), rgba(255, 255, 255, 0.6));
  border-radius: var(--brand-radius-lg);
  z-index: -1;
  opacity: 0.7;
  pointer-events: none;
}

/* Enhanced tile hover effects with pink glow */
.tile:hover::after {
  content: '🍦';
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 1.5rem;
  opacity: 0.6;
  animation: iceCreamBounce 1s ease-in-out infinite;
}

.hero-copy {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.85);
  padding: 2rem;
  border-radius: var(--brand-radius-md);
  backdrop-filter: blur(5px);
}

.section.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 5.5rem;
  background: linear-gradient(135deg, rgba(255, 228, 233, 0.3), rgba(255, 255, 255, 0.3));
  border-radius: var(--brand-radius-lg);
  margin: 2rem auto;
  padding: 4rem 2rem;
  position: relative;
  overflow: hidden;
  min-height: 600px;
}


.section.hero > * {
  position: relative;
  z-index: 1;
}

.hero-copy .badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gray-medium);
  background: rgba(255, 182, 193, 0.2);
  padding: 0.4rem 1rem;
  border-radius: 999px;
}

.hero-copy h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.8rem, 5vw, 3.8rem);
  margin: 1rem 0 1.2rem;
  color: var(--pink-dark);
  text-shadow: 0 2px 10px rgba(255, 105, 180, 0.1);
}

.hero-copy p {
  max-width: 520px;
  color: var(--gray-medium);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-media img {
  border-radius: var(--brand-radius-lg);
  box-shadow: var(--brand-shadow);
  position: relative;
}

.hero-media {
  position: relative;
}

.hero-media::after {
  content: '🍦';
  position: absolute;
  top: -20px;
  right: -20px;
  font-size: 3rem;
  animation: iceCreamBounce 2s ease-in-out infinite;
  filter: drop-shadow(0 4px 8px rgba(255, 105, 180, 0.3));
  z-index: 10;
  pointer-events: none;
}

.tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 1rem;
}

.tile {
  background: var(--brand-card);
  border-radius: var(--brand-radius-lg);
  padding: 2rem;
  box-shadow: 0 8px 30px rgba(255, 105, 180, 0.12);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  z-index: 1;
  border: 1px solid rgba(255, 182, 193, 0.2);
}

.tile::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, var(--pink-light), var(--pink-primary));
  border-radius: var(--brand-radius-lg);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.tile:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(255, 105, 180, 0.2);
}

.tile:hover::before {
  opacity: 0.3;
}

.tile h3 {
  font-family: 'Fraunces', serif;
  margin: 0;
  font-size: 1.55rem;
  color: var(--pink-dark);
}

.muted {
  color: var(--gray-medium);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.2rem;
  margin-top: 1rem;
}

.product-card {
  background: var(--brand-card);
  border-radius: var(--brand-radius-lg);
  padding: 2rem;
  display: grid;
  gap: 1.2rem;
  box-shadow: 0 8px 30px rgba(255, 105, 180, 0.12);
  position: relative;
  z-index: 1;
  border: 1px solid rgba(255, 182, 193, 0.2);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(255, 105, 180, 0.2);
}

.product-card h2 {
  font-family: 'Fraunces', serif;
  margin: 0;
  font-size: 1.65rem;
  color: var(--pink-dark);
}

.product-card ul {
  padding-left: 1.2rem;
  margin: 0;
  color: var(--gray-medium);
}

.price-tag {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--pink-dark);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 182, 193, 0.25);
  color: var(--pink-dark);
  font-weight: 600;
  font-size: 0.85rem;
}

.article-card {
  background: var(--brand-card);
  border-radius: var(--brand-radius-lg);
  padding: 2.5rem;
  box-shadow: 0 8px 30px rgba(255, 105, 180, 0.12);
  position: relative;
  z-index: 1;
  border: 1px solid rgba(255, 182, 193, 0.2);
}

.article-card h2 {
  font-family: 'Fraunces', serif;
  margin-top: 0;
  color: var(--pink-dark);
}

.rich-text h2, .rich-text h3 {
  font-family: 'Fraunces', serif;
  color: var(--pink-dark);
}

.rich-text p {
  margin-bottom: 1.6rem;
  color: var(--gray-medium);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

input, textarea, select {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--brand-radius-sm);
  border: 1px solid rgba(255, 182, 193, 0.3);
  font-family: inherit;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.9);
  transition: border-color 0.2s ease;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--pink-dark);
  box-shadow: 0 0 0 3px rgba(255, 105, 180, 0.1);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

label {
  font-weight: 600;
  color: var(--gray-dark);
  margin-bottom: 0.35rem;
  display: block;
}

.table-scroll {
  overflow-x: auto;
  border-radius: var(--brand-radius-md);
  box-shadow: 0 8px 30px rgba(255, 105, 180, 0.12);
  background: var(--brand-card);
}

table {
  width: 100%;
  border-collapse: collapse;
}

table th, table td {
  padding: 1rem 1.2rem;
  text-align: left;
}

table th {
  background: rgba(255, 182, 193, 0.2);
  font-weight: 700;
  color: var(--pink-dark);
}

table tr + tr {
  border-top: 1px solid rgba(255, 182, 193, 0.15);
}

.notice {
  padding: 1rem 1.4rem;
  border-radius: var(--brand-radius-sm);
  background: rgba(255, 182, 193, 0.2);
  color: var(--pink-dark);
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 2.5rem;
  border: 1px solid rgba(255, 105, 180, 0.3);
  position: relative;
}

.footer {
  background: linear-gradient(135deg, var(--pink-dark) 0%, var(--pink-primary) 50%, var(--pink-light) 100%);
  color: var(--white);
  padding: 4rem 0 1.5rem;
  margin-top: 6rem;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
}

.footer::after {
  content: '🍦 🍨 🧁';
  position: absolute;
  bottom: 0;
  right: 2rem;
  font-size: 2rem;
  opacity: 0.1;
  pointer-events: none;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1fr 1fr;
  gap: 3rem;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem 2rem;
  position: relative;
  z-index: 1;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-brand .brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.footer-brand .brand-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.footer-tagline {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  font-style: italic;
  margin-top: 0.5rem;
}

.footer-social {
  margin-top: 1rem;
}

.footer-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-section h4 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--white);
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.footer-section p {
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.7;
  font-size: 0.95rem;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-block;
}

.footer-section a:hover {
  color: var(--white);
  transform: translateX(3px);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-nav a {
  padding: 0.25rem 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 1.5rem;
  margin-top: 2rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.legal-meta {
  margin-top: 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  margin: 0.5rem 0;
}

.footer-bottom .legal-meta a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-bottom .legal-meta a:hover {
  color: var(--white);
}

@media (max-width: 980px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer {
    padding: 3rem 0 1rem;
  }
  
  .footer::after {
    display: none;
  }
}

.breadcrumbs {
  width: var(--container-width);
  margin: 1.5rem auto 0;
  font-size: 0.9rem;
  color: var(--gray-medium);
}

.breadcrumbs a {
  color: inherit;
  transition: color 0.2s ease;
}

.breadcrumbs a:hover {
  color: var(--pink-dark);
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.8rem;
  background: rgba(255, 182, 193, 0.25);
  border-radius: 999px;
  font-weight: 600;
  color: var(--pink-dark);
}

.cart-summary {
  display: grid;
  gap: 1.2rem;
  background: var(--brand-card);
  padding: 2rem;
  border-radius: var(--brand-radius-lg);
  box-shadow: 0 8px 30px rgba(255, 105, 180, 0.12);
  border: 1px solid rgba(255, 182, 193, 0.2);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--pink-dark);
}

.flex-split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.policy article {
  background: var(--brand-card);
  border-radius: var(--brand-radius-lg);
  box-shadow: 0 8px 30px rgba(255, 105, 180, 0.12);
  padding: 2.8rem;
  border: 1px solid rgba(255, 182, 193, 0.2);
}

.policy article h1 {
  margin-top: 0;
  font-family: 'Fraunces', serif;
  color: var(--pink-dark);
}

.policy article h2 {
  font-family: 'Fraunces', serif;
  margin-top: 2rem;
  color: var(--pink-dark);
}

.legal-list {
  padding-left: 1.4rem;
  color: var(--gray-medium);
}

.account-card {
  background: var(--brand-card);
  border-radius: var(--brand-radius-lg);
  box-shadow: 0 8px 30px rgba(255, 105, 180, 0.12);
  padding: 2.3rem;
  display: grid;
  gap: 1.4rem;
  border: 1px solid rgba(255, 182, 193, 0.2);
}

.account-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.order-history {
  display: grid;
  gap: 1.2rem;
}

.order-card {
  border: 1px solid rgba(255, 182, 193, 0.3);
  border-radius: var(--brand-radius-md);
  padding: 1.3rem;
  background: rgba(255, 255, 255, 0.9);
}

.cookie-overlay {
  display: none;
}

.cookie-overlay.show {
  display: none;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: linear-gradient(135deg, var(--pink-dark), var(--pink-primary));
  padding: 0.75rem 1rem;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  display: none;
  z-index: 2000;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.cookie-banner.show {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-banner p {
  margin: 0;
  color: var(--white);
  font-size: 0.85rem;
  line-height: 1.4;
  flex: 1;
  min-width: 200px;
}

.cookie-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.cookie-actions .btn,
.cookie-actions .btn-outline {
  padding: 0.4rem 0.8rem;
  font-size: 0.8rem;
  white-space: nowrap;
}

.cookie-actions .btn-outline {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
}

.cookie-actions .btn-outline:hover {
  background: rgba(255, 255, 255, 0.3);
}

.cookie-link {
  color: var(--white);
  font-size: 0.75rem;
  text-decoration: underline;
  opacity: 0.9;
}

.cookie-link:hover {
  opacity: 1;
}

body.cookie-lock {
  overflow: auto;
}

body.menu-open {
  overflow: hidden;
}

/* Mobile menu overlay */
.main-nav.active::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 999;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Decorative popsicle elements */
.decorative-popsicle {
  position: absolute;
  width: 60px;
  height: 120px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.2;
}

.decorative-popsicle-1 {
  top: 10%;
  right: 5%;
  transform: rotate(15deg);
  animation: float 5s ease-in-out infinite;
}

.decorative-popsicle-2 {
  bottom: 15%;
  left: 3%;
  transform: rotate(-20deg);
  animation: float 7s ease-in-out infinite reverse;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 30px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  position: relative;
}

.mobile-menu-toggle span {
  width: 100%;
  height: 3px;
  background: var(--pink-dark);
  border-radius: 3px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

/* Mobile Menu */
.main-nav {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

@media (max-width: 980px) {
  .mobile-menu-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: linear-gradient(135deg, var(--pink-light), var(--white));
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 2rem 2rem;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 1000;
    gap: 0;
    overflow-y: auto;
  }

  .main-nav.active {
    right: 0;
  }

  .main-nav a {
    width: 100%;
    padding: 1rem;
    border-radius: var(--brand-radius-md);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
  }

  .nav-actions {
    margin-left: auto;
    gap: 0.5rem;
  }

  .nav-actions .btn-outline,
  .nav-actions .btn {
    padding: 0.5rem 0.8rem;
    font-size: 0.85rem;
  }

  .brand-title {
    font-size: 1.3rem;
  }

  .brand-logo {
    height: 45px;
  }

  .section.hero {
    min-height: 500px;
    padding: 2rem 1rem;
  }

  .section.hero > div {
    grid-template-columns: 1fr !important;
    gap: 2rem;
  }

  .hero-copy {
    text-align: center;
  }

  .tile-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
    gap: 1.5rem;
  }

  .product-grid {
    grid-template-columns: 1fr !important;
  }

  .flex-split {
    flex-direction: column;
    gap: 2rem;
  }

  .table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  table {
    min-width: 600px;
    font-size: 0.9rem;
  }

  iframe {
    height: 300px !important;
  }
}

@media (max-width: 720px) {
  header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: var(--white);
  }

  .navbar {
    padding: 0.8rem 1rem;
    gap: 1rem;
  }

  .brand-title {
    font-size: 1.1rem;
  }

  .brand-logo {
    height: 40px;
  }

  .section {
    padding: 2.5rem 0;
  }

  .section.hero {
    min-height: 400px;
    padding: 1.5rem 1rem;
  }

  .hero-copy h1 {
    font-size: 1.8rem;
    line-height: 1.3;
  }

  .hero-copy p {
    font-size: 0.95rem;
  }

  .tile, .product-card, .article-card, .account-card, .cart-summary {
    padding: 1.2rem;
  }

  .tile-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem;
  }

  .btn, .btn-outline {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }

  .nav-actions {
    gap: 0.4rem;
  }

  .nav-actions .btn-outline {
    display: none;
  }

  .nav-actions .btn {
    padding: 0.5rem 0.7rem;
    font-size: 0.8rem;
  }

  .hero-cta {
    flex-direction: column;
    gap: 0.8rem;
    width: 100%;
  }

  .hero-cta .btn,
  .hero-cta .btn-outline {
    width: 100%;
  }

  body::before,
  body::after {
    display: none;
  }

  .ice-cream-animation {
    display: none;
  }

  .footer {
    padding: 2.5rem 0 1rem;
  }

  .footer-inner {
    padding: 0 1rem 1.5rem;
  }

  .cookie-banner {
    padding: 0.6rem 0.8rem;
  }

  .cookie-banner p {
    font-size: 0.75rem;
  }

  .cookie-actions {
    gap: 0.3rem;
  }

  .cookie-actions .btn,
  .cookie-actions .btn-outline {
    padding: 0.3rem 0.6rem;
    font-size: 0.7rem;
  }
}

@media (max-width: 480px) {
  .brand-title {
    font-size: 0.95rem;
  }

  .hero-copy h1 {
    font-size: 1.5rem;
  }

  .section.hero {
    min-height: 350px;
  }

  .tile img,
  .product-card img {
    height: 150px !important;
  }

  .table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  table {
    font-size: 0.85rem;
  }

  .form-grid {
    grid-template-columns: 1fr !important;
  }

  .hero-media img {
    width: 100%;
    height: auto;
  }

  .table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  table {
    min-width: 500px;
    font-size: 0.8rem;
  }

  .cart-summary {
    position: relative;
    top: 0;
    margin-top: 2rem;
  }

  iframe {
    height: 250px !important;
  }

  .breadcrumbs {
    padding: 0 1rem;
    font-size: 0.85rem;
  }
}

/* Tablet styles */
@media (min-width: 481px) and (max-width: 980px) {
  .tile-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .section.hero > div {
    grid-template-columns: 1fr !important;
  }

  .hero-media {
    order: -1;
    margin-bottom: 2rem;
  }

  .table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  table {
    min-width: 600px;
  }

  .cart-summary {
    position: sticky;
    top: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
}
