﻿@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:wght@400;500;600;700&display=swap');

:root {
  --primary-h: 24;
  --primary-s: 80%;
  --primary-l: 55%;
  --primary: hsl(var(--primary-h), var(--primary-s), var(--primary-l));
  --primary-dark: hsl(var(--primary-h), var(--primary-s), 42%);
  --primary-light: hsl(var(--primary-h), var(--primary-s), 94%);
  --primary-glow: hsla(var(--primary-h), var(--primary-s), var(--primary-l), 0.25);
  --accent: #c8a97e;
  --accent-light: #f5efe6;
  --bg: #faf9f7;
  --bg-subtle: #f3f1ed;
  --bg-elev: #ffffff;
  --text-main: #1a1a1a;
  --text-muted: #6b6b6b;
  --text-light: #999;
  --border: #e8e4de;
  --border-hover: #d4cfc6;
  --success: #0d9668;
  --error: #dc3545;
  --warning: #e8a500;
  --container-width: 1320px;
  --header-height: 72px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, .04);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, .06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, .08);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, .1);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, .12);
  --ease-out: cubic-bezier(.22, .68, 0, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --dur-fast: .2s;
  --dur-normal: .35s;
  --dur-slow: .6s;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Playfair Display', Georgia, serif;
}

[data-theme="dark"] {
  --bg: #0d0d0f;
  --bg-subtle: #151518;
  --bg-elev: #1c1c21;
  --text-main: #f0ede8;
  --text-muted: #9a9590;
  --text-light: #6b6560;
  --border: #2a2725;
  --border-hover: #3d3935;
  --accent-light: #2a2520;
  --primary-light: hsl(var(--primary-h), 40%, 18%);
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, .3);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, .4);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, .45);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, .5);
}

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

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

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text-main);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background var(--dur-normal), color var(--dur-normal);
  overflow-x: hidden
}

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

img,
video,
svg {
  display: block;
  max-width: 100%
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 .6em;
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.01em;
  color: var(--text-main)
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem)
}

h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem)
}

h3 {
  font-size: clamp(1.1rem, 2vw, 1.5rem)
}

p {
  margin: 0 0 1rem
}

.container {
  width: min(100%, var(--container-width));
  margin-inline: auto;
  padding-inline: 1.5rem
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease-out);
  border: 1.5px solid transparent;
  font-size: .9rem;
  letter-spacing: .02em;
  position: relative;
  overflow: hidden;
  background: var(--bg-elev);
  color: var(--text-main)
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, .15) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform .5s;
  pointer-events: none
}

.btn:hover::after {
  transform: translateX(100%)
}

.btn:active {
  transform: scale(.97)
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 16px var(--primary-glow)
}

.btn-primary:hover {
  box-shadow: 0 6px 24px var(--primary-glow);
  transform: translateY(-2px)
}

.btn-outline {
  border-color: var(--border);
  background: transparent;
  color: var(--text-main)
}

.btn-outline:hover {
  border-color: var(--accent);
  background: var(--accent-light);
  color: var(--text-main)
}

.btn-sm {
  padding: .5rem 1.25rem;
  font-size: .82rem
}

.btn-icon {
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--bg-elev);
  color: var(--text-main);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all var(--dur-fast)
}

.btn-icon:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light)
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px)
  }

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

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(.92)
  }

  to {
    opacity: 1;
    transform: scale(1)
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px)
  }

  to {
    opacity: 1;
    transform: translateX(0)
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1
  }

  50% {
    opacity: .5
  }
}

@keyframes shimmer {
  from {
    background-position: -200% 0
  }

  to {
    background-position: 200% 0
  }
}

@keyframes checkmark {
  0% {
    stroke-dashoffset: 50
  }

  100% {
    stroke-dashoffset: 0
  }
}

.animate-fade-in {
  animation: fadeIn var(--dur-normal) var(--ease-out) both
}

.animate-slide-up {
  animation: fadeInUp .7s var(--ease-out) both
}

.animate-scale-in {
  animation: scaleIn .5s var(--ease-out) both
}

.delay-100 {
  animation-delay: .1s
}

.delay-200 {
  animation-delay: .2s
}

.delay-300 {
  animation-delay: .3s
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out)
}

.reveal.is-visible {
  opacity: 1;
  transform: none
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--bg-elev) 80%, transparent);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid color-mix(in srgb, var(--border) 50%, transparent);
  transition: all var(--dur-normal)
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-sm)
}

.header-inner {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: height var(--dur-normal)
}

.site-header.is-scrolled .header-inner {
  height: 58px
}

.brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none
}

.brand-logo {
  height: 36px;
  width: auto;
  object-fit: contain
}

.brand-mark {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  display: grid;
  place-items: center;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 800;
  font-family: var(--font-heading);
  box-shadow: 0 3px 10px var(--primary-glow)
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2
}

.brand-text strong {
  font-size: 1.15rem;
  font-family: var(--font-heading);
  letter-spacing: -.02em
}

.brand-text small {
  font-size: .72rem;
  color: var(--text-muted);
  letter-spacing: .02em
}

.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid color-mix(in srgb, var(--border) 82%, var(--primary) 18%);
  border-radius: 14px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--bg-elev) 92%, #fff 8%), color-mix(in srgb, var(--bg-subtle) 88%, transparent));
  color: var(--text-main);
  cursor: pointer;
  box-shadow: var(--shadow-xs);
  transition: transform var(--dur-fast), border-color var(--dur-fast), background var(--dur-fast), color var(--dur-fast), box-shadow var(--dur-fast)
}

.menu-toggle svg {
  width: 22px;
  height: 22px;
  stroke-width: 2.25;
  transition: transform var(--dur-fast)
}

.menu-toggle:hover {
  border-color: color-mix(in srgb, var(--primary) 62%, var(--border));
  background: var(--primary-light);
  color: var(--primary-dark);
  box-shadow: 0 6px 16px var(--primary-glow)
}

.menu-toggle:active {
  transform: translateY(1px) scale(.98)
}

.menu-toggle.is-active {
  border-color: color-mix(in srgb, var(--primary) 70%, var(--border));
  background: color-mix(in srgb, var(--primary-light) 78%, var(--bg-elev));
  color: var(--primary-dark)
}

.menu-toggle.is-active svg {
  transform: rotate(90deg)
}

@media(min-width:768px) {
  .menu-toggle {
    display: none
  }
}

.main-nav {
  display: none
}

@media(min-width:768px) {
  .main-nav {
    display: flex;
    gap: .25rem;
    background: var(--bg-subtle);
    padding: .3rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--border)
  }

  .main-nav a {
    padding: .5rem 1rem;
    border-radius: var(--radius-full);
    font-weight: 500;
    font-size: .85rem;
    color: var(--text-muted);
    transition: all var(--dur-fast);
    white-space: nowrap
  }

  .main-nav a:hover,
  .main-nav a.active {
    color: var(--text-main);
    background: var(--bg-elev);
    box-shadow: var(--shadow-xs)
  }
}

.header-tools {
  display: flex;
  align-items: center;
  gap: .5rem
}

.lang-switcher {
  padding: .4rem .6rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-elev);
  font-size: .82rem;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  min-width: auto;
  width: auto
}

.theme-toggle {
  padding: .45rem .8rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-elev);
  font-size: .78rem;
  cursor: pointer;
  transition: all var(--dur-fast)
}

.theme-toggle:hover {
  border-color: var(--primary);
  color: var(--primary)
}

/* Mobile Nav Overlay */
.main-nav.is-open {
  display: flex;
  flex-direction: column;
  position: fixed;
  inset: 0;
  top: 0;
  z-index: 200;
  background: var(--bg-elev);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 5rem 2rem 2rem;
  gap: .5rem;
  animation: fadeIn .3s var(--ease-out)
}

[data-theme="light"] .main-nav.is-open {
  background: color-mix(in srgb, var(--bg-elev) 96%, #fff 4%)
}

[data-theme="dark"] .main-nav.is-open {
  background: color-mix(in srgb, var(--bg) 92%, #000 8%)
}

.main-nav.is-open a {
  font-size: 1.4rem;
  font-family: var(--font-heading);
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-main);
  animation: fadeInUp .4s var(--ease-out) both
}

.main-nav.is-open a:nth-child(1) {
  animation-delay: .05s
}

.main-nav.is-open a:nth-child(2) {
  animation-delay: .1s
}

.main-nav.is-open a:nth-child(3) {
  animation-delay: .15s
}

.main-nav.is-open a:nth-child(4) {
  animation-delay: .2s
}

.main-nav.is-open a:nth-child(5) {
  animation-delay: .25s
}

.main-nav.is-open a:nth-child(6) {
  animation-delay: .3s
}

.nav-close-btn {
  display: none;
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  width: 42px;
  height: 42px;
  border: 1px solid color-mix(in srgb, var(--border) 82%, var(--primary) 18%);
  border-radius: var(--radius-sm);
  background: var(--bg-elev);
  color: var(--text-main);
  font-size: 1.4rem;
  cursor: pointer;
  box-shadow: var(--shadow-xs);
  place-items: center
}

[data-theme="dark"] .nav-close-btn {
  background: color-mix(in srgb, var(--bg-elev) 90%, #000 10%);
  border-color: color-mix(in srgb, var(--border) 70%, var(--primary) 30%)
}

.nav-close-btn:hover {
  border-color: var(--primary);
  color: var(--primary)
}

.main-nav.is-open .nav-close-btn {
  display: grid
}

/* Flash messages */
.flash {
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  font-size: .9rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  animation: fadeInUp .4s var(--ease-out) both;
  border-left: 4px solid
}

.flash-success {
  background: color-mix(in srgb, var(--success) 10%, var(--bg));
  border-color: var(--success);
  color: var(--success)
}

.flash-error {
  background: color-mix(in srgb, var(--error) 10%, var(--bg));
  border-color: var(--error);
  color: var(--error)
}

/* Section */
.section {
  padding: 4rem 0
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border)
}

.section-head h2 {
  margin: 0;
  font-family: var(--font-heading)
}

.section-head a {
  color: var(--primary);
  font-weight: 500;
  font-size: .9rem;
  transition: all var(--dur-fast);
  display: inline-flex;
  align-items: center;
  gap: .3rem
}

.section-head a:hover {
  gap: .6rem
}

.section-head a::after {
  content: '→'
}

/* Hero Full Background */
.hero-fullbg {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('') center/cover no-repeat, linear-gradient(135deg, #2a1f28 0%, #1a1115 50%, #0f0c12 100%);
  overflow: hidden;
}

.hero-fullbg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .3) 50%, rgba(0, 0, 0, .6) 100%);
  z-index: 1;
}

.hero-fullbg-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(circle at 50% 50%, transparent 0%, rgba(0, 0, 0, .4) 100%);
}

.hero-fullbg-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem 1.5rem;
  max-width: 900px;
}

.hero-fullbg-title {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  font-weight: 700;
  line-height: 1.08;
  color: #fff;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 30px rgba(0, 0, 0, .5);
  letter-spacing: -.02em;
}

.hero-fullbg-desc {
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  color: rgba(255, 255, 255, .85);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .3);
}

.hero-fullbg-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-fullbg-actions .btn-lg {
  padding: 1.1rem 2.8rem;
  font-size: 1.05rem
}

.hero-fullbg-actions .btn-primary {
  box-shadow: 0 6px 30px var(--primary-glow);
}

.hero-fullbg-actions .btn-outline-light {
  border: 2px solid rgba(255, 255, 255, .4);
  color: #fff;
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-fullbg-actions .btn-outline-light:hover {
  background: rgba(255, 255, 255, .18);
  border-color: #fff;
  transform: translateY(-2px);
}

.hero-fullbg-social {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.hero-social-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1.5px solid rgba(255, 255, 255, .2);
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, .8);
  transition: all .4s cubic-bezier(.34, 1.56, .64, 1);
  position: relative;
  overflow: hidden;
}

.hero-social-btn svg {
  width: 24px;
  height: 24px;
  position: relative;
  z-index: 2;
  transition: transform .3s ease
}

.hero-social-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  transform: scale(0);
  transition: transform .4s cubic-bezier(.34, 1.56, .64, 1);
  z-index: 1;
}

.hero-social-btn:hover {
  transform: translateY(-6px) scale(1.08);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 25px rgba(0, 0, 0, .3);
}

.hero-social-btn:hover svg {
  transform: scale(1.1) rotate(5deg)
}

.hero-social-btn:hover::before {
  transform: scale(1)
}

/* Platform-specific hover backgrounds */
.hero-social-btn[data-platform="instagram"]::before {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.hero-social-btn[data-platform="facebook"]::before {
  background: #1877f2
}

.hero-social-btn[data-platform="whatsapp"]::before {
  background: #25d366
}

.hero-social-btn[data-platform="tiktok"]::before {
  background: #000;
  border: 2px solid #fe2c55
}

.hero-social-btn[data-platform="tiktok"]:hover {
  box-shadow: 0 0 20px rgba(254, 44, 85, .5), 0 8px 25px rgba(0, 0, 0, .3);
}

@media(max-width:767px) {
  .hero-fullbg {
    min-height: 90vh;
    padding: 2rem 0
  }

  .hero-fullbg-title {
    font-size: 2.5rem
  }

  .hero-fullbg-desc {
    font-size: 1rem
  }

  .hero-fullbg-actions {
    flex-direction: column;
    align-items: center
  }

  .hero-fullbg-actions .btn {
    width: 100%;
    max-width: 320px
  }

  .hero-social-btn {
    width: 46px;
    height: 46px
  }

  .hero-social-btn svg {
    width: 22px;
    height: 22px
  }
}

/* Social pills */
.social-row {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin-top: 2rem
}

.social-pill {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem 1rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: var(--bg-elev);
  font-size: .82rem;
  font-weight: 500;
  transition: all var(--dur-fast)
}

.social-pill:hover {
  border-color: var(--primary);
  background: var(--primary-light)
}

.social-pill-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: .7rem;
  font-weight: 70
}

/* Services Section - Modern */
.services-section {
  background: var(--bg-subtle);
  padding: 3rem 0
}

[data-theme="dark"] .services-section {
  background: var(--bg)
}

.service-grid-modern {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1rem;
  text-align: center;
  transition: all .4s cubic-bezier(.34, 1.56, .64, 1);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s cubic-bezier(.34, 1.56, .64, 1);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .12);
}

.service-card:hover::before {
  transform: scaleX(1)
}

.service-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, var(--primary-light), var(--accent-light));
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: all .4s cubic-bezier(.34, 1.56, .64, 1);
  position: relative;
}

.service-icon svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
  transition: transform .4s cubic-bezier(.34, 1.56, .64, 1);
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  transform: scale(1.1) rotate(5deg);
}

.service-card:hover .service-icon svg {
  color: #fff;
  transform: scale(1.15) rotate(-5deg);
}

.service-card h3 {
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: .5rem;
  color: var(--text-main);
  font-family: var(--font-heading);
}

.service-card p {
  font-size: .8rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

@media(max-width:991px) {
  .service-grid-modern {
    grid-template-columns: repeat(5, minmax(180px, 1fr));
    overflow-x: auto;
    gap: 1rem;
    padding-bottom: 1rem;
  }

  .service-grid-modern::-webkit-scrollbar {
    height: 6px
  }

  .service-grid-modern::-webkit-scrollbar-track {
    background: var(--bg-subtle)
  }

  .service-grid-modern::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 3px
  }

  .services-section {
    padding: 2rem 0
  }

  .service-card {
    padding: 1.25rem .75rem
  }
}

@media(max-width:767px) {
  .service-grid-modern {
    grid-template-columns: repeat(5, minmax(150px, 1fr))
  }

  .service-icon {
    width: 45px;
    height: 45px
  }

  .service-icon svg {
    width: 22px;
    height: 22px
  }

  .service-card h3 {
    font-size: .85rem
  }

  .service-card p {
    font-size: .75rem
  }
}

/* Old service grid (keep for compatibility) */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem
}

.service-grid article {
  padding: 1.5rem;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all var(--dur-normal);
  text-align: center
}

.service-grid article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent)
}

.service-grid strong {
  display: block;
  margin-bottom: .4rem;
  font-size: .95rem
}

.service-grid p {
  color: var(--text-muted);
  font-size: .85rem;
  margin: 0
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem
}

.products-scroll {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem
}

@media(max-width:767px) {
  .products-scroll {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 1rem;
    padding-bottom: 1rem
  }

  .products-scroll .product-card {
    min-width: 240px;
    scroll-snap-align: start;
    flex-shrink: 0
  }
}

/* Product Card */
.product-card {
  background: var(--bg-elev);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--dur-normal) var(--ease-out);
  border: 1px solid var(--border);
  position: relative;
  display: flex;
  flex-direction: column
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: color-mix(in srgb, var(--primary) 40%, var(--border))
}

.product-card a:has(img) {
  display: block;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--bg-subtle)
}

.product-card a:has(img) img,
.product-card>a>img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease-out)
}

.product-card:hover a:has(img) img,
.product-card:hover>a>img {
  transform: scale(1.08)
}

.product-card h3 {
  padding: .75rem 1.25rem 0;
  font-size: .95rem;
  font-family: var(--font-body);
  font-weight: 600;
  line-height: 1.4
}

.product-card h3 a {
  transition: color var(--dur-fast)
}

.product-card h3 a:hover {
  color: var(--primary)
}

.product-card>p,
.product-card>div:not(.product-overlay) {
  padding: 0 1.25rem
}

.product-cat {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-light);
  padding: .75rem 1.25rem 0 !important;
  margin: 0
}

.price-row {
  padding: .5rem 1.25rem 1rem !important;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-top: auto
}

.price-row strong {
  color: var(--primary);
  font-weight: 700
}

.old-price,
.price-row del {
  color: var(--text-light);
  font-size: .85rem;
  text-decoration: line-through;
  text-decoration-color: var(--error)
}

.product-card form {
  padding: .5rem 1.25rem 1.25rem
}

.product-card .btn-primary {
  width: 100%;
  padding: .65rem;
  font-size: .85rem
}

/* Category Grid */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.5rem
}

.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--bg-elev);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: all var(--dur-normal);
  cursor: pointer;
  text-decoration: none
}

.category-card:hover {
  background: var(--primary-light);
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md)
}

.category-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), var(--accent-light));
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  transition: transform var(--dur-fast);
  font-family: var(--font-heading)
}

.category-card:hover .category-icon {
  transform: scale(1.1) rotate(5deg)
}

.category-card h3 {
  margin-bottom: .25rem;
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 600
}

.category-card small,
.category-card p {
  color: var(--text-muted);
  font-size: .8rem;
  margin: 0
}

.category-card .btn {
  margin-top: 1rem;
  font-size: .82rem
}

/* Payment & Promo */
.payment-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: center
}

.payment-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  padding: 1rem 1.5rem;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all var(--dur-fast);
  min-width: 100px
}

.payment-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px)
}

.payment-card img {
  height: 32px;
  object-fit: contain
}

.payment-card span {
  font-size: .75rem;
  color: var(--text-muted);
  font-weight: 500
}

.promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem
}

.promo-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: block;
  aspect-ratio: 16/9;
  background: var(--bg-subtle)
}

.promo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease-out)
}

.promo-card:hover img {
  transform: scale(1.06)
}

.promo-content {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .7) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  color: #fff
}

.promo-content small {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  opacity: .8;
  margin-bottom: .25rem
}

.promo-content h3 {
  font-family: var(--font-heading);
  color: #fff;
  margin-bottom: .75rem;
  font-size: 1.3rem
}

.promo-content .btn {
  background: rgba(255, 255, 255, .2);
  backdrop-filter: blur(8px);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .3);
  width: fit-content;
  font-size: .82rem
}

.promo-content .btn:hover {
  background: rgba(255, 255, 255, .35)
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem
}

.testimonial-card {
  padding: 2rem;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all var(--dur-normal);
  position: relative
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: .5rem;
  left: 1.2rem;
  font-size: 3.5rem;
  font-family: var(--font-heading);
  color: var(--primary-light);
  line-height: 1;
  pointer-events: none
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px)
}

.testimonial-rating {
  color: #f0b429;
  font-size: 1.1rem;
  margin-bottom: .75rem;
  letter-spacing: 2px
}

.testimonial-card p {
  color: var(--text-muted);
  font-size: .9rem;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1rem
}

.testimonial-card strong {
  font-size: .85rem;
  color: var(--text-main)
}

/* Cart */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem
}

@media(min-width:768px) {
  .cart-layout {
    grid-template-columns: 1fr 340px
  }
}

.cart-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1.25rem;
  padding: 1.5rem;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  transition: all var(--dur-fast)
}

.cart-item:hover {
  border-color: var(--accent)
}

.cart-item img {
  width: 80px;
  height: 100px;
  object-fit: cover;
  border-radius: var(--radius-sm)
}

.cart-item h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: .25rem
}

.cart-item h3 a:hover {
  color: var(--primary)
}

.cart-item p {
  font-size: .85rem;
  color: var(--text-muted);
  margin-bottom: .35rem
}

.cart-item strong {
  color: var(--primary);
  font-size: 1rem
}

.inline-form {
  display: inline-flex;
  gap: .5rem;
  align-items: center;
  margin-top: .5rem;
  margin-right: .75rem
}

.inline-form input[type="number"] {
  width: 60px;
  padding: .4rem;
  text-align: center;
  border-radius: var(--radius-sm)
}

.inline-form .btn {
  padding: .4rem .8rem;
  font-size: .8rem
}

.cart-summary {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem;
  position: sticky;
  top: calc(var(--header-height) + 1rem);
  height: fit-content
}

.cart-summary h2 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border)
}

.cart-summary p {
  display: flex;
  justify-content: space-between;
  margin-bottom: .75rem;
  font-size: .9rem
}

.cart-summary .btn-primary {
  width: 100%;
  margin-top: 1.5rem
}

.cart-summary hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 1rem 0
}

.muted {
  color: var(--text-muted);
  font-size: .82rem !important
}

/* Checkout */
.checkout-form {
  display: grid;
  gap: 1.5rem
}

.checkout-panel {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem
}

.checkout-panel h2 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--border)
}

.checkout-fields {
  display: grid;
  gap: 1.25rem
}

.checkout-fields label {
  display: flex;
  flex-direction: column;
  gap: .35rem
}

.checkout-fields label span {
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .04em
}

.payment-methods {
  display: grid;
  gap: .75rem
}

.payment-option {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--dur-fast)
}

.payment-option:hover,
.payment-option:has(input:checked) {
  border-color: var(--primary);
  background: var(--primary-light)
}

.payment-option input[type="radio"] {
  accent-color: var(--primary)
}

.field-error {
  color: var(--error);
  font-size: .78rem;
  font-weight: 500
}

/* Form Elements */
input,
select,
textarea {
  width: 100%;
  padding: .75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: var(--bg-elev);
  transition: all var(--dur-fast);
  font-size: .9rem
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow)
}

.form {
  display: grid;
  gap: 1.25rem;
  max-width: 600px
}

.form label {
  display: flex;
  flex-direction: column;
  gap: .35rem
}

.form label span {
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-muted)
}

.form .btn-primary {
  justify-self: start
}

/* Product Page */
.product-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  padding-top: 2rem
}

@media(min-width:992px) {
  .product-layout {
    grid-template-columns: 1fr 1fr
  }
}

.product-gallery {
  display: flex;
  flex-direction: column;
  gap: .75rem
}

.product-main-media {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-subtle);
  cursor: zoom-in;
  padding: 0;
  width: 100%;
  transition: border-color var(--dur-fast)
}

.product-main-media:hover {
  border-color: var(--accent)
}

.product-main-media img {
  width: 100%;
  height: auto;
  object-fit: contain
}

.thumb-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: .5rem
}

.thumb-row img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: all var(--dur-fast)
}

.thumb-row img.is-active,
.thumb-row img:hover {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px var(--primary-glow)
}

.product-info h1 {
  margin-bottom: .5rem
}

.product-info .product-cat {
  padding: 0 !important;
  margin-bottom: .5rem
}

.product-rating-line {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1.5rem
}

.product-rating-stars {
  position: relative;
  display: inline-block;
  color: #f0b429;
  font-size: 1.1rem
}

.product-rating-stars-back {
  color: var(--border)
}

.product-rating-stars-front {
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  color: #f0b429
}

.product-rating-count {
  font-size: .85rem;
  color: var(--text-muted)
}

.product-meta-stack {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin: 1.5rem 0
}

.product-meta-pill {
  padding: .75rem 1rem;
  background: var(--bg-subtle);
  border-radius: var(--radius-sm);
  font-size: .88rem;
  border-left: 3px solid var(--accent);
  margin: 0
}

.product-config {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
  border-top: 1px solid var(--border);
  padding-top: 2rem
}

.product-config label {
  display: flex;
  flex-direction: column;
  gap: .35rem
}

.product-config label span {
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .03em
}

.product-bulk-note {
  color: var(--success);
  font-weight: 600;
  font-size: .9rem
}

.bulk-rules-box {
  background: var(--bg-subtle);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border)
}

.bulk-rules-title {
  font-weight: 700;
  margin-bottom: .75rem;
  font-size: .9rem
}

.bulk-rules-list {
  list-style: none;
  padding: 0;
  margin: 0
}

.bulk-rule-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .5rem 0;
  border-bottom: 1px solid var(--border)
}

.bulk-rule-item:last-child {
  border: none
}

.bulk-rule-copy {
  font-size: .88rem
}

.bulk-rule-action {
  display: flex;
  align-items: center;
  gap: .5rem
}

.bulk-add-btn {
  padding: .35rem .8rem;
  font-size: .78rem;
  border-radius: var(--radius-full)
}

.bulk-rule-total {
  font-size: .78rem;
  color: var(--text-muted)
}

.product-share-box {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border)
}

.product-share-title {
  font-weight: 600;
  font-size: .88rem;
  margin-bottom: .75rem
}

.product-share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem
}

.share-btn {
  padding: .45rem 1rem;
  font-size: .8rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border)
}

.share-whatsapp:hover {
  background: #25d366;
  color: #fff;
  border-color: #25d366
}

.share-facebook:hover {
  background: #1877f2;
  color: #fff;
  border-color: #1877f2
}

.share-instagram:hover {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: #fff;
  border-color: transparent
}

.share-email:hover {
  background: var(--text-main);
  color: var(--bg);
  border-color: var(--text-main)
}

.share-feedback {
  font-size: .82rem;
  margin-top: .5rem;
  padding: .5rem;
  border-radius: var(--radius-sm)
}

.stock-table {
  margin-top: 2rem
}

.stock-table h2 {
  font-size: 1.1rem;
  margin-bottom: 1rem
}

.stock-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: .85rem
}

.stock-table th {
  padding: .75rem;
  border-bottom: 2px solid var(--border);
  text-align: left;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--text-muted)
}

.stock-table td {
  padding: .75rem;
  border-bottom: 1px solid var(--border)
}

.stock-table tr:hover td {
  background: var(--bg-subtle)
}

.stock-table tr.is-active td {
  background: var(--primary-light);
  font-weight: 600
}

/* Lightbox */
.product-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .92);
  z-index: 200;
  display: grid;
  place-items: center;
  backdrop-filter: blur(4px)
}

.product-lightbox[hidden] {
  display: none
}

.product-lightbox-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 90vw;
  max-height: 90vh
}

.product-lightbox-media img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: var(--radius-sm)
}

.product-lightbox-nav,
.product-lightbox-close {
  background: rgba(255, 255, 255, .12);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  transition: all var(--dur-fast)
}

.product-lightbox-nav:hover,
.product-lightbox-close:hover {
  background: rgba(255, 255, 255, .25)
}

.product-lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem
}

/* Reviews */
.review-section {
  max-width: 860px;
  margin: 0 auto
}

.review-title-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap
}

.review-title-row h2 {
  margin: 0
}

.review-title-divider {
  flex: 1;
  height: 1px;
  background: var(--border)
}

.review-title-action {
  white-space: nowrap
}

.review-summary-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem
}

@media(min-width:768px) {
  .review-summary-row {
    grid-template-columns: 1fr 1fr auto
  }
}

.review-score-panel {
  background: var(--bg-subtle);
  padding: 2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border)
}

.review-score-line {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap
}

.review-score-value {
  font-size: 2.5rem;
  font-family: var(--font-heading);
  color: var(--text-main);
  line-height: 1
}

.review-stars {
  font-size: 1.1rem
}

.review-stars .is-on {
  color: #f0b429
}

.review-stars .is-off {
  color: var(--border)
}

.review-score-count {
  font-size: .85rem;
  color: var(--text-muted)
}

.review-distribution {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: .4rem
}

.review-distribution li {
  display: grid;
  grid-template-columns: 40px 1fr 30px;
  gap: .5rem;
  align-items: center;
  font-size: .82rem
}

.review-distribution-star {
  text-align: right;
  color: var(--text-muted)
}

.review-distribution-track {
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden
}

.review-distribution-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 3px;
  transition: width .6s var(--ease-out)
}

.review-distribution-count {
  color: var(--text-muted)
}

.review-summary-media {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .5rem
}

.review-summary-media img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border)
}

.review-summary-action {
  display: flex;
  align-items: flex-end
}

.review-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  font-size: .85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: .5rem
}

.review-sort {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .82rem
}

.review-sort select {
  width: auto;
  padding: .35rem .6rem;
  font-size: .82rem
}

.review-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem
}

.review-card,
.review-item {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-elev);
  transition: all var(--dur-fast);
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 1rem
}

@media(min-width:768px) {

  .review-card,
  .review-item {
    grid-template-columns: 40px 1fr auto
  }
}

.review-card:hover {
  border-color: var(--accent)
}

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), var(--accent-light));
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: .85rem;
  color: var(--primary)
}

.review-card-main {
  min-width: 0
}

.review-card-stars {
  color: #f0b429;
  font-size: .95rem;
  margin-bottom: .25rem;
  letter-spacing: 1px
}

.review-card-stars .is-on {
  color: #f0b429
}

.review-card-stars .is-off {
  color: var(--border)
}

.review-card-head {
  font-size: .85rem;
  margin-bottom: .5rem
}

.review-card-head span {
  color: var(--text-muted)
}

.review-card-main>p:last-of-type {
  color: var(--text-muted);
  font-size: .9rem;
  line-height: 1.6;
  margin: 0
}

.review-card-side {
  display: flex;
  flex-direction: column;
  gap: .75rem
}

.review-card-media {
  display: flex;
  gap: .35rem
}

.review-card-media img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border)
}

.review-helpful-wrap {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .8rem
}

.review-helpful-label {
  color: var(--text-muted)
}

.review-vote-form {
  display: flex;
  gap: .35rem
}

.review-vote-btn {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  padding: .3rem .6rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  background: var(--bg-elev);
  cursor: pointer;
  font-size: .78rem;
  transition: all var(--dur-fast)
}

.review-vote-btn:hover {
  border-color: var(--primary);
  background: var(--primary-light)
}

.review-vote-btn.is-active {
  border-color: var(--primary);
  background: var(--primary-light);
  font-weight: 600
}

/* Review Modal */
.review-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 1rem
}

.review-modal[hidden] {
  display: none
}

.review-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .6);
  backdrop-filter: blur(4px)
}

.review-modal-card {
  position: relative;
  z-index: 1;
  background: var(--bg-elev);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  animation: scaleIn .3s var(--ease-out)
}

.review-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border: none;
  background: var(--bg-subtle);
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  display: grid;
  place-items: center;
  transition: all var(--dur-fast)
}

.review-modal-close:hover {
  background: var(--error);
  color: #fff
}

.review-form-dialog {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.5rem
}

.review-form-dialog label {
  display: flex;
  flex-direction: column;
  gap: .35rem
}

.review-form-dialog label span {
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-muted)
}

/* Footer */
.site-footer {
  background: linear-gradient(180deg, #141414 0%, #0a0a0a 100%);
  color: #e0ddd8;
  padding: 4rem 0 0;
  margin-top: 5rem
}

[data-theme="dark"] .site-footer {
  background: linear-gradient(180deg, #0a0a0c 0%, #050506 100%)
}

.footer-shell {
  display: flex;
  flex-direction: column;
  gap: 3rem
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, .08)
}

.footer-brand {
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.3rem
}

.footer-brand strong {
  font-weight: 600
}

.footer-social {
  display: flex;
  gap: .75rem
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .15);
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, .6);
  font-size: .85rem;
  font-weight: 700;
  transition: all var(--dur-fast)
}

.footer-social a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-2px)
}

.footer-subscribe-form {
  display: flex;
  gap: .5rem;
  max-width: 380px;
  width: 100%
}

.footer-subscribe-form input {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  color: #fff;
  border-radius: var(--radius-full);
  padding: .65rem 1.25rem;
  font-size: .88rem;
  flex: 1
}

.footer-subscribe-form input::placeholder {
  color: rgba(255, 255, 255, .35)
}

.footer-subscribe-form input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px var(--primary-glow)
}

.footer-subscribe-form .btn-primary {
  white-space: nowrap;
  padding: .65rem 1.5rem;
  font-size: .85rem
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, .08)
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: .6rem
}

.footer-col-title {
  font-weight: 700;
  font-size: .9rem;
  color: #fff;
  margin-bottom: .5rem;
  text-transform: uppercase;
  letter-spacing: .05em
}

.footer-contact p,
.footer-contact a {
  color: rgba(255, 255, 255, .5);
  font-size: .88rem;
  line-height: 1.7;
  margin: 0;
  transition: color var(--dur-fast)
}

.footer-contact a:hover {
  color: var(--primary)
}

.footer-links a {
  display: block;
  color: rgba(255, 255, 255, .5);
  font-size: .88rem;
  transition: all var(--dur-fast)
}

.footer-links a:hover {
  color: #fff;
  padding-left: .5rem
}

.footer-hours p {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: rgba(255, 255, 255, .5);
  font-size: .85rem;
  margin: 0;
  padding: .25rem 0
}

.footer-hours strong {
  color: rgba(255, 255, 255, .8)
}

.footer-payments {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1rem
}

.footer-payments img {
  height: 26px;
  opacity: .6;
  transition: opacity var(--dur-fast);
  filter: brightness(0) invert(1)
}

.footer-payments img:hover {
  opacity: 1
}

.footer-payment-fallback {
  padding: .25rem .6rem;
  background: rgba(255, 255, 255, .08);
  border-radius: 4px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .05em;
  color: rgba(255, 255, 255, .5)
}

.footer-copy {
  text-align: center;
  padding: 2rem 0;
  color: rgba(255, 255, 255, .3);
  font-size: .8rem;
  margin: 0
}

/* Responsive */
@media(max-width:767px) {
  .header-inner {
    height: auto;
    min-height: var(--header-height);
    padding: .6rem 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: .5rem
  }

  .brand {
    min-width: 0;
    gap: .55rem
  }

  .brand-logo {
    height: 30px
  }

  .brand-text {
    min-width: 0
  }

  .brand-text strong {
    display: block;
    font-size: .96rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
  }

  .brand-text small {
    display: none
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
    border-radius: 14px
  }

  .header-tools {
    justify-self: end;
    gap: .4rem
  }

  .lang-switcher,
  .theme-toggle {
    height: 40px;
    min-width: 0
  }

  .lang-switcher {
    max-width: 122px;
    padding: .4rem .65rem;
    font-size: .84rem
  }

  .theme-toggle {
    padding: .4rem .65rem;
    font-size: .82rem
  }

  .main-nav.is-open {
    padding: 4.7rem 1.1rem 1.2rem
  }

  .main-nav.is-open a {
    font-size: 1.15rem;
    padding: .82rem 0
  }

  .section {
    padding: 2.5rem 0
  }

  .hero {
    padding: 2rem 0 3rem
  }

  .hero-title {
    font-size: clamp(2rem, 7vw, 3rem)
  }

  .category-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1rem
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem
  }

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start
  }

  .review-card,
  .review-item {
    grid-template-columns: 1fr
  }

  .review-avatar {
    display: none
  }

  .cart-item {
    grid-template-columns: 60px 1fr
  }

  .cart-item img {
    width: 60px;
    height: 80px
  }
}

@media(max-width:480px) {
  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand menu"
      "tools tools";
    row-gap: .5rem
  }

  .brand {
    grid-area: brand
  }

  .menu-toggle {
    grid-area: menu;
    justify-self: end
  }

  .header-tools {
    grid-area: tools;
    width: 100%
  }

  .lang-switcher {
    flex: 1 1 auto;
    max-width: none
  }

  .theme-toggle {
    flex: 0 0 auto
  }

  .brand-text strong {
    font-size: .9rem
  }

  .container {
    padding-inline: 1rem
  }

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

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

  .hero-actions {
    flex-direction: column
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center
  }
}

/* RTL */
[dir="rtl"] .hero-eyebrow::before {
  order: 1
}

[dir="rtl"] .section-head a::after {
  content: '←'
}

[dir="rtl"] .footer-links a:hover {
  padding-left: 0;
  padding-right: .5rem
}

[dir="rtl"] .product-meta-pill {
  border-left: none;
  border-right: 3px solid var(--accent)
}

/* Badge */
.badge {
  display: inline-flex;
  padding: .3rem .65rem;
  border-radius: var(--radius-full);
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em
}

.badge-new {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff
}

.badge-sale {
  background: var(--error);
  color: #fff
}

/* Filter Grid (Shop) */
.filter-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
  padding: 1.5rem;
  background: var(--bg-subtle);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  align-items: center
}

.filter-grid input[type="text"] {
  flex: 1;
  min-width: 200px
}

.filter-grid select {
  width: auto;
  min-width: 180px
}

.filter-grid .btn {
  white-space: nowrap
}

/* Page loader shimmer (optional) */
.skeleton {
  background: linear-gradient(90deg, var(--bg-subtle) 25%, var(--bg-elev) 50%, var(--bg-subtle) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite
}
