/* =========================================================
   BLOOM & CO — Core Stylesheet
   ========================================================= */

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

:root {
  /* Brand palette */
  --primary: #8B3A62;
  --primary-dark: #6E2C4D;
  --secondary: #F5D9E4;
  --accent: #D8A24A;
  --bg: #FFF9F6;
  --surface: #FFFFFF;
  --soft-green: #7A9B76;
  --text: #2B2427;
  --text-muted: #756B70;
  --border: rgba(43, 36, 39, 0.10);

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 10px rgba(43, 36, 39, 0.06);
  --shadow-md: 0 12px 40px rgba(43, 36, 39, 0.10);
  --shadow-lg: 0 24px 60px rgba(43, 36, 39, 0.16);

  --container: 1240px;
  --header-h: 88px;
  --transition: 0.35s cubic-bezier(.4, 0, .2, 1);

  color-scheme: light;
}

.dark {
  --bg: #171316;
  --surface: #211A1F;
  --text: #FFF7FA;
  --text-muted: #D4C5CC;
  --border: rgba(255, 247, 250, 0.12);
  --secondary: #3A2530;
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.30);
  --shadow-md: 0 12px 40px rgba(0, 0, 0, 0.40);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.55);
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  transition: background var(--transition), color var(--transition);
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

button {
  font-family: inherit;
  cursor: pointer;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: 1rem;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  color: var(--text);
  line-height: 1.2;
  margin: 0;
  font-weight: 600;
}

h1 {
  font-size: clamp(2.4rem, 4.5vw, 4rem);
}

h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
}

h3 {
  font-size: clamp(1.3rem, 2vw, 1.7rem);
}

p {
  margin: 0;
  color: var(--text-muted);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: .78rem;
  color: var(--primary);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: '';
  width: 26px;
  height: 2px;
  background: var(--accent);
  display: inline-block;
}

.section {
  padding: 96px 0;
}

.section-tight {
  padding: 64px 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}

.section-head p {
  margin-top: 14px;
  font-size: 1.05rem;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

/* Focus visibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 100px;
  font-weight: 600;
  font-size: .95rem;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.btn-outline:hover {
  background: var(--text);
  color: var(--bg);
  transform: translateY(-2px);
}

.btn-light {
  background: #fff;
  color: var(--primary);
}

.btn-light:hover {
  background: var(--secondary);
  transform: translateY(-2px);
}

.btn-accent {
  background: var(--accent);
  color: #2B2427;
}

.btn-accent:hover {
  background: #c78f3d;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 11px 22px;
  font-size: .85rem;
}

.btn-block {
  width: 100%;
}

.btn[disabled] {
  opacity: .6;
  cursor: not-allowed;
}

.text-link {
  position: relative;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.text-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s ease;
}

.text-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ===================== HEADER ===================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  flex-shrink: 0;
}

.brand .brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: var(--secondary);
  border-radius: 50%;
  color: var(--primary);
  font-size: 1.1rem;
}

.brand span {
  color: var(--text);
  font-weight: 500;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
}

.main-nav a {
  padding: 10px 13px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--text);
  border-radius: 100px;
  white-space: nowrap;
  transition: background var(--transition), color var(--transition);
  position: relative;
}

.main-nav a:hover {
  background: var(--secondary);
  color: var(--primary);
}

.main-nav a.active {
  color: var(--primary);
  font-weight: 600;
}

.main-nav a.active::after {
  content: '';
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 2px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.icon-btn {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  transition: all var(--transition);
  font-size: 1rem;
}

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

.hamburger {
  display: none;
}

/* ===================== MOBILE NAV ===================== */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .4);
  z-index: 1100;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.mobile-nav-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav {
  position: fixed;
  top: 0;
  inset-inline-end: 0;
  height: 100dvh;
  width: min(420px, 88vw);
  background: var(--surface);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .4s cubic-bezier(.4, 0, .2, 1);
  box-shadow: var(--shadow-lg);
}

[dir="rtl"] .mobile-nav {
  transform: translateX(-100%);
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.mobile-nav-close {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
}

.mobile-nav-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px 32px;
}

.mobile-nav-body a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 4px;
  font-size: 1.15rem;
  font-weight: 600;
  font-family: var(--font-heading);
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.mobile-nav-body a.active {
  color: var(--primary);
}

.mobile-nav-foot {
  padding: 20px 24px 28px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

body.nav-open {
  overflow: hidden;
}

/* ===================== HERO ===================== */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 56px;
}

.hero-content .eyebrow {
  margin-bottom: 18px;
}

.hero-content p.lead {
  font-size: 1.15rem;
  margin-top: 22px;
  max-width: 480px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 52px;
  flex-wrap: wrap;
}

.hero-stats div strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.7rem;
  color: var(--primary);
}

.hero-stats div span {
  font-size: .85rem;
  color: var(--text-muted);
}

.hero-visual {
  position: relative;
}

.hero-visual .img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
}

.hero-visual .img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-float-card {
  position: absolute;
  bottom: -30px;
  inset-inline-start: -40px;
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 250px;
}

.hero-float-card .icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--secondary);
  color: var(--primary);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.hero-float-card strong {
  display: block;
  font-size: .95rem;
}

.hero-float-card span {
  font-size: .8rem;
  color: var(--text-muted);
}

.hero-badge {
  position: absolute;
  top: 24px;
  inset-inline-end: -18px;
  background: var(--accent);
  color: #2B2427;
  border-radius: 50%;
  width: 110px;
  height: 110px;
  display: grid;
  place-items: center;
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .85rem;
  line-height: 1.25;
  box-shadow: var(--shadow-md);
  transform: rotate(8deg);
}

.deco-petal {
  position: absolute;
  opacity: .5;
  pointer-events: none;
  z-index: 0;
}

/* ===================== SCROLLER / OCCASION ===================== */
.occasion-strip {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 18px;
}

.occasion-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 3/4;
  display: flex;
  align-items: flex-end;
}

.occasion-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.occasion-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 10, 15, .78), rgba(20, 10, 15, 0) 60%);
}

.occasion-item span {
  position: relative;
  z-index: 2;
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 16px;
  font-size: 1.02rem;
}

.occasion-item:hover img {
  transform: scale(1.08);
}

/* ===================== EDITORIAL SPLIT ===================== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.split.reverse .split-media {
  order: 2;
}

.split-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
}

.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1/1;
  transition: transform .7s ease;
}

.split-media:hover img {
  transform: scale(1.05);
}

.split-text .feature-list {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.split-text .feature-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  color: var(--text);
  font-weight: 500;
}

.split-text .feature-list li i {
  color: var(--soft-green);
  margin-top: 4px;
}

/* ===================== BEST SELLERS ROW ===================== */
.product-row {
  display: flex;
  gap: 26px;
  overflow-x: auto;
  padding-bottom: 14px;
  scroll-snap-type: x mandatory;
}

.product-row::-webkit-scrollbar {
  height: 6px;
}

.product-row::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 6px;
}

.product-tile {
  flex: 0 0 300px;
  scroll-snap-align: start;
}

.product-tile .thumb {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/5;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.product-tile .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.product-tile:hover .thumb img {
  transform: scale(1.07);
}

.product-tile .tag {
  position: absolute;
  top: 14px;
  inset-inline-start: 14px;
  background: var(--accent);
  color: #2B2427;
  font-size: .72rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: .05em;
  z-index: 2;
}

.product-tile .wish {
  position: absolute;
  top: 14px;
  inset-inline-end: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .9);
  display: grid;
  place-items: center;
  color: var(--primary);
  z-index: 2;
}

.product-tile .info {
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
}

.product-tile .info h4 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.product-tile .info .cat {
  font-size: .8rem;
  color: var(--text-muted);
}

.product-tile .price {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary);
  font-size: 1.1rem;
  white-space: nowrap;
}

/* ===================== DELIVERY SPLIT (accent bg) ===================== */
.delivery-band {
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.delivery-band h2,
.delivery-band p {
  color: #fff;
}

.delivery-band .eyebrow {
  color: var(--secondary);
}

.delivery-band .eyebrow::before {
  background: #fff;
}

.delivery-band p {
  color: rgba(255, 255, 255, .82);
}

.delivery-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
}

.delivery-features div {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.delivery-features i {
  font-size: 1.2rem;
  color: var(--accent);
}

.delivery-features strong {
  display: block;
  font-size: .95rem;
}

.delivery-features span {
  font-size: .83rem;
  color: rgba(255, 255, 255, .75);
}

.delivery-media {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 1/1;
}

.delivery-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===================== WHY CHOOSE US ===================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.why-item {
  background: var(--surface);
  padding: 38px 28px;
}

.why-item i {
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 18px;
  display: block;
}

.why-item h4 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.why-item p {
  font-size: .92rem;
}

/* ===================== TESTIMONIALS ===================== */
.testi-wrap {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.testi-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-md);
}

.testi-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testi-slide {
  display: none;
}

.testi-slide.active {
  display: block;
  animation: fadeUp .5s ease;
}

.testi-quote {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-style: italic;
  color: var(--text);
  line-height: 1.45;
}

.testi-quote::before {
  content: '\201C';
  color: var(--accent);
  font-size: 2.5rem;
  display: block;
  line-height: .5;
  margin-bottom: 14px;
  font-family: Georgia, serif;
}

.testi-person {
  margin-top: 26px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.testi-person strong {
  display: block;
  font-family: var(--font-heading);
}

.testi-person span {
  font-size: .85rem;
}

.testi-stars {
  color: var(--accent);
  margin-top: 10px;
  font-size: .9rem;
}

.testi-nav {
  display: flex;
  gap: 10px;
  margin-top: 30px;
}

.testi-nav button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  display: grid;
  place-items: center;
}

.testi-nav button:hover {
  background: var(--secondary);
  color: var(--primary);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

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

/* ===================== SERVICE AREA ===================== */
.area-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.area-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 26px;
}

.area-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.area-list i {
  color: var(--soft-green);
}

.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--secondary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--primary);
  border: 2px dashed var(--primary);
}

.map-frame i {
  font-size: 2.2rem;
}

.map-frame span {
  font-weight: 600;
}

.map-frame small {
  color: var(--text-muted);
  max-width: 260px;
  text-align: center;
}

/* ===================== NEWSLETTER ===================== */
.newsletter {
  background: var(--secondary);
  border-radius: var(--radius-lg);
  padding: 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.newsletter h2 {
  max-width: 560px;
  margin-inline: auto;
}

.newsletter p {
  max-width: 480px;
  margin: 16px auto 0;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 460px;
  margin: 32px auto 0;
}

.newsletter-form input {
  flex: 1;
  padding: 15px 20px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
}

.form-msg {
  margin-top: 14px;
  font-size: .88rem;
  font-weight: 600;
  min-height: 1.2em;
}

.form-msg.success {
  color: var(--soft-green);
}

.form-msg.error {
  color: #B3403A;
}

/* ===================== CONTACT CTA BAND ===================== */
.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  padding: 56px 64px;
  border-radius: var(--radius-lg);
  background: var(--text);
}

.cta-band h2,
.cta-band p {
  color: #FFF7FA;
}

.cta-band p {
  color: rgba(255, 247, 250, .75);
}

.cta-band-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ===================== FOOTER ===================== */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  margin-top: 60px;
}

.footer-top {
  padding: 72px 0 48px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1.3fr;
  gap: 40px;
}

.footer-about p {
  margin-top: 16px;
  font-size: .92rem;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.footer-col h5 {
  font-family: var(--font-heading);
  font-size: 1.02rem;
  margin-bottom: 18px;
  color: var(--text);
}

.footer-col ul li {
  margin-bottom: 11px;
}

.footer-col ul a {
  font-size: .92rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer-col ul a:hover {
  color: var(--primary);
}

.footer-contact li {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  font-size: .9rem;
  color: var(--text-muted);
  align-items: flex-start;
}

.footer-contact i {
  color: var(--primary);
  margin-top: 3px;
}

.footer-newsletter form {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.footer-newsletter input {
  flex: 1;
  min-width: 0;
  padding: 12px 16px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: .88rem;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-bottom p {
  font-size: .85rem;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  font-size: .85rem;
  color: var(--text-muted);
}

.footer-bottom-links a:hover {
  color: var(--primary);
}

/* ===================== BACK TO TOP ===================== */
.back-to-top {
  position: fixed;
  bottom: 28px;
  inset-inline-end: 28px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: all var(--transition);
  z-index: 900;
  border: none;
}

.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* ===================== PAGE HERO (inner pages) ===================== */
.page-hero {
  position: relative;
  padding: 180px 0 90px;
  overflow: hidden;
  text-align: center;
}

.breadcrumb {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 16px;
  font-size: .9rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--primary);
}

.page-hero .breadcrumb {
  margin-top: 16px;
}

.page-hero-img {
  position: relative;
  padding: 0;
}

.page-hero-img .overlay-inner {
  position: relative;
  z-index: 2;
  padding: 220px 0 100px;
}

.page-hero-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 10, 15, .55), rgba(20, 10, 15, .75));
  z-index: 1;
}

.page-hero-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero-img h1,
.page-hero-img p,
.page-hero-img .breadcrumb,
.page-hero-img .breadcrumb a {
  color: #fff;
}

/* ===================== PRODUCTS PAGE ===================== */
.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 44px;
  padding: 20px 26px;
  background: var(--surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-tabs button {
  padding: 9px 18px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-size: .86rem;
  font-weight: 500;
  transition: all var(--transition);
}

.filter-tabs button:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.filter-tabs button.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.search-box {
  position: relative;
  min-width: 230px;
}

.search-box input {
  width: 100%;
  padding: 11px 40px 11px 16px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
}

[dir="rtl"] .search-box input {
  padding: 11px 16px 11px 40px;
}

.search-box i {
  position: absolute;
  inset-inline-end: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.results-meta {
  font-size: .88rem;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 28px;
}

.products-grid.list-fade .product-tile {
  transition: opacity .35s ease, transform .35s ease;
}

.product-tile.hide {
  display: none;
}

.no-results {
  text-align: center;
  padding: 70px 20px;
  color: var(--text-muted);
  display: none;
}

.no-results.show {
  display: block;
}

.editorial-feature {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 80px;
}

.editorial-feature .ef-media {
  position: relative;
  min-height: 420px;
}

.editorial-feature .ef-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.editorial-feature .ef-body {
  background: var(--surface);
  padding: 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.editorial-feature .ef-body .price {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--primary);
  margin: 14px 0 22px;
}

/* ===================== PRODUCT DETAILS ===================== */
.pd-wrap {
  display: grid;
  grid-template-columns: .95fr 1fr;
  gap: 64px;
}

.pd-gallery {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  align-self: start;
}

.pd-gallery .main-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1/1;
  box-shadow: var(--shadow-md);
}

.pd-gallery .main-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pd-category {
  color: var(--primary);
  font-weight: 600;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.pd-title {
  margin-top: 10px;
}

.pd-price {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--primary);
  margin-top: 16px;
}

.pd-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  color: var(--accent);
  font-size: .9rem;
}

.pd-desc {
  margin-top: 22px;
  font-size: 1.02rem;
}

.pd-block {
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
}

.pd-block h4 {
  margin-bottom: 14px;
}

.pd-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pd-chips li {
  padding: 6px 14px;
  background: var(--secondary);
  color: var(--primary);
  border-radius: 100px;
  font-size: .85rem;
  font-weight: 500;
}

.size-options {
  display: flex;
  gap: 12px;
  margin-top: 6px;
}

.size-options button {
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-weight: 600;
}

.size-options button.active {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}

.pd-meta-list li {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: .92rem;
}

.pd-meta-list i {
  color: var(--soft-green);
  width: 18px;
}

.pd-actions {
  display: flex;
  gap: 14px;
  margin-top: 32px;
}

/* ===================== EDITORIAL / ABOUT ===================== */
.stat-row {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  padding: 56px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stat-row div strong {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  color: var(--primary);
  display: block;
}

.stat-row div span {
  color: var(--text-muted);
  font-size: .9rem;
}

.team-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.team-item .thumb {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 3/4;
}

.team-item .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-item h4 {
  margin-top: 16px;
  font-size: 1.05rem;
}

.team-item span {
  font-size: .85rem;
  color: var(--primary);
  font-weight: 600;
}

/* ===================== PROCESS STEPS ===================== */
.steps-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  counter-reset: step;
}

.step-item {
  position: relative;
  padding-top: 56px;
}

.step-item::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-heading);
  font-size: 2.6rem;
  color: var(--secondary);
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  -webkit-text-stroke: 1.5px var(--primary);
}

.dark .step-item::before {
  -webkit-text-stroke: 1.5px var(--accent);
  color: transparent;
}

.step-item h4 {
  margin-bottom: 10px;
}

.step-item p {
  font-size: .92rem;
}

/* ===================== FAQ ===================== */
.faq-list {
  max-width: 800px;
  margin-inline: auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 4px;
  background: none;
  border: none;
  text-align: start;
  font-family: var(--font-heading);
  font-size: 1.08rem;
  color: var(--text);
}

.faq-q i {
  color: var(--primary);
  transition: transform var(--transition);
  flex-shrink: 0;
}

.faq-item.open .faq-q i {
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease;
}

.faq-a p {
  padding: 0 4px 22px;
  font-size: .95rem;
}

/* ===================== FORMS ===================== */
.form-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-md);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.full {
  grid-column: 1/-1;
}

.form-group label {
  font-size: .88rem;
  font-weight: 600;
  color: var(--text);
}

.form-group label .req {
  color: var(--primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: var(--bg);
  color: var(--text);
  transition: border-color var(--transition);
}

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

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.field-error {
  font-size: .8rem;
  color: #C0392B;
  min-height: 1.1em;
  font-weight: 500;
}

.form-group.invalid input,
.form-group.invalid select,
.form-group.invalid textarea {
  border-color: #C0392B;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .88rem;
  color: var(--text-muted);
}

.checkbox-row input {
  margin-top: 3px;
}

.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

.form-success.show {
  display: block;
}

.form-success i {
  font-size: 3rem;
  color: var(--soft-green);
  margin-bottom: 16px;
}

.form-success h3 {
  margin-bottom: 10px;
}

/* ===================== AUTH PAGES ===================== */
.auth-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

.auth-media {
  position: relative;
}

.auth-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.auth-media::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 10, 15, .1), rgba(20, 10, 15, .65));
  z-index: 1;
}

.auth-media-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 56px;
  color: #fff;
}

.auth-form-side {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
}

.auth-box {
  width: 100%;
  max-width: 420px;
}

.auth-box .brand {
  margin-bottom: 36px;
}

.auth-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  font-size: .88rem;
}

.auth-switch {
  text-align: center;
  margin-top: 26px;
  font-size: .92rem;
  color: var(--text-muted);
}

/* ===================== BLOG ===================== */
.blog-featured {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 70px;
}

.blog-featured .bf-media {
  position: relative;
  min-height: 380px;
}

.blog-featured .bf-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-featured .bf-body {
  background: var(--surface);
  padding: 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-meta {
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: .85rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.blog-meta .cat-pill {
  background: var(--secondary);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: 100px;
  font-weight: 600;
  font-size: .78rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
}

.blog-card .thumb {
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16/11;
}

.blog-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.blog-card:hover .thumb img {
  transform: scale(1.06);
}

.blog-card h3 {
  margin: 16px 0 10px;
  font-size: 1.2rem;
}

.blog-card {
  transition: opacity .35s ease;
}

.blog-card.hide {
  display: none;
}

.load-more-wrap {
  text-align: center;
  margin-top: 52px;
}

.blog-details-wrap {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 60px;
}

.blog-content p {
  margin-bottom: 20px;
  font-size: 1.04rem;
  color: var(--text);
  line-height: 1.8;
}

.blog-content h3 {
  margin: 36px 0 16px;
}

.blog-content blockquote {
  border-inline-start: 3px solid var(--accent);
  padding-inline-start: 22px;
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.2rem;
  margin: 30px 0;
  color: var(--text);
}

.sidebar-block {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 26px;
  margin-bottom: 26px;
  box-shadow: var(--shadow-sm);
}

.sidebar-block h5 {
  font-family: var(--font-heading);
  margin-bottom: 16px;
}

.sidebar-post {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
}

.sidebar-post img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.sidebar-post span {
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.35;
}

.sidebar-cats li {
  display: flex;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  font-size: .9rem;
}

/* ===================== DELIVERY OPTIONS PAGE ===================== */
.option-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
}

.option-row .opt-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--secondary);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.option-row h3 {
  margin-bottom: 8px;
}

.option-row .opt-price {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--primary);
  text-align: end;
  white-space: nowrap;
}

.option-row .opt-price small {
  display: block;
  font-size: .78rem;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-weight: 400;
}

/* ===================== 404 / COMING SOON ===================== */
.state-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 24px;
  position: relative;
  overflow: hidden;
}

.state-num {
  font-family: var(--font-heading);
  font-size: clamp(6rem, 16vw, 11rem);
  color: var(--secondary);
  -webkit-text-stroke: 2px var(--primary);
  line-height: 1;
}

.dark .state-num {
  color: transparent;
}

.state-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 34px;
  flex-wrap: wrap;
}

.countdown {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin: 44px 0;
  flex-wrap: wrap;
}

.countdown div {
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  min-width: 100px;
}

.countdown strong {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--primary);
  display: block;
}

.countdown span {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.social-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 30px;
}

/* ===================== SKELETON LOADER ===================== */
.skeleton {
  background: linear-gradient(90deg, var(--border) 25%, transparent 37%, var(--border) 63%);
  background-size: 400% 100%;
  animation: skeleton 1.4s ease infinite;
  border-radius: var(--radius-md);
}

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

  100% {
    background-position: 0 50%;
  }
}

/* ===================== MISC ===================== */
.divider-deco {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 16px;
}

.divider-deco::before,
.divider-deco::after {
  content: '';
  width: 50px;
  height: 1px;
  background: var(--border);
}

.skip-link {
  position: absolute;
  top: -60px;
  inset-inline-start: 12px;
  background: var(--primary);
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  z-index: 2000;
  transition: top .25s ease;
}

.skip-link:focus {
  top: 12px;
}

.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;
}

/* ========================================
   Responsive styles
   ======================================== */

/* =========================================================
   Responsive rules — mobile-first overrides
   ========================================================= */

/* ---- Large devices / small desktop (<=1280px) ---- */
@media (max-width:1280px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 44px 30px;
  }
}

/* ---- Collapsed navigation for tablets and phones ----
   Desktop keeps the full navigation. The hamburger starts below
   1200px so 1280px / 1366px / 1440px desktop layouts retain
   the complete navigation and Order Flowers CTA. ---- */
@media (max-width:1199px) {
  :root {
    --header-h: 76px;
  }

  .main-nav {
    display: none;
  }

  .hamburger {
    display: grid;
  }

  .header-actions .btn-primary {
    display: none;
  }
}

/* Keep the full desktop navigation comfortably inside 1280px. */
@media (min-width:1200px) and (max-width:1320px) {
  .header-inner {
    padding-inline: 18px;
    gap: 14px;
  }

  .main-nav a {
    padding-inline: 9px;
    font-size: .84rem;
  }

  .header-actions {
    gap: 6px;
  }

  .header-actions .icon-btn {
    width: 40px;
    height: 40px;
  }

  .header-actions .btn-primary {
    padding-inline: 16px;
  }
}

/* ---- Tablet (<=1024px) ---- */
@media (max-width:1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
    max-width: 520px;
    margin-inline: auto;
    width: 100%;
  }

  .hero-float-card {
    inset-inline-start: 10px;
    bottom: -24px;
  }

  .hero-badge {
    inset-inline-end: 10px;
  }

  .occasion-strip {
    grid-template-columns: repeat(4, 1fr);
  }

  .split {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .split.reverse .split-media {
    order: 0;
  }

  .delivery-band {
    grid-template-columns: 1fr;
    padding: 44px 32px;
  }

  .delivery-media {
    order: -1;
  }

  .testi-wrap {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .area-wrap {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  /* Footer keeps a spacious multi-column layout at 1024px instead of
     collapsing into a tall 2-column block. */
  .footer-top {
    grid-template-columns: 1.45fr 1fr 1fr 1fr;
    gap: 34px 24px;
    padding: 58px 0 42px;
    align-items: start;
  }

  .footer-about p {
    max-width: 300px;
  }

  .footer-newsletter {
    grid-column: 2 / -1;
    max-width: 620px;
  }

  .footer-newsletter form {
    max-width: 520px;
  }

  .footer-bottom {
    padding: 22px 0;
  }

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

  .editorial-feature {
    grid-template-columns: 1fr;
  }

  .editorial-feature .ef-media {
    min-height: 300px;
  }

  .pd-wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .pd-gallery {
    position: static;
  }

  .stat-row {
    gap: 32px;
  }

  .steps-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-featured {
    grid-template-columns: 1fr;
  }

  .blog-featured .bf-media {
    min-height: 280px;
  }

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

  .blog-details-wrap {
    grid-template-columns: 1fr;
  }

  .auth-wrap {
    grid-template-columns: 1fr;
  }

  .auth-media {
    display: none;
  }

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

  .form-card {
    padding: 34px 26px;
  }

  .cta-band {
    padding: 44px 32px;
  }

  .option-row {
    grid-template-columns: auto 1fr;
  }

  .option-row .opt-price {
    grid-column: 1/-1;
    text-align: start;
    margin-top: 6px;
  }
}

/* ---- Small tablet / large phone (<=820px) ---- */
@media (max-width:820px) {
  .section {
    padding: 72px 0;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .occasion-strip {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 28px;
  }

  .footer-newsletter {
    grid-column: 1 / -1;
    max-width: none;
  }

  .footer-newsletter form {
    max-width: none;
  }
}

/* ---- Mobile (<=767px) ---- */
@media (max-width:767px) {
  .section {
    padding: 60px 0;
  }

  .section-tight {
    padding: 48px 0;
  }

  h1 {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  h2 {
    font-size: clamp(1.6rem, 6vw, 2.1rem);
  }

  .header-inner {
    padding-inline: 16px;
  }

  .brand span {
    display: none;
  }

  .header-actions [data-lang-toggle],
  .header-actions a[aria-label="Login to your account"] {
    display: none;
  }

  .hero {
    padding-top: 36px;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

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

  .hero-stats {
    gap: 22px;
  }

  .hero-float-card {
    display: none;
  }

  .hero-badge {
    width: 84px;
    height: 84px;
    font-size: .7rem;
    top: 10px;
  }

  .occasion-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .delivery-features {
    grid-template-columns: 1fr;
  }

  .delivery-band {
    padding: 32px 20px;
    border-radius: var(--radius-md);
  }

  .why-item {
    padding: 30px 22px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    padding: 52px 0 32px;
    gap: 32px;
  }

  .footer-newsletter form {
    flex-direction: column;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .filter-bar {
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
  }

  .filter-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 6px;
    width: 100%;
    min-width: 0;
    -webkit-overflow-scrolling: touch;
  }

  .search-box {
    width: 100%;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .product-tile {
    flex: 0 0 78vw;
  }

  .editorial-feature .ef-body {
    padding: 30px 22px;
  }

  .team-row {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .stat-row {
    flex-direction: column;
    gap: 24px;
    padding: 40px 0;
  }

  .steps-row {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-featured .bf-body {
    padding: 28px 22px;
  }

  .cta-band {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .form-card {
    padding: 26px 18px;
  }

  .auth-form-side {
    padding: 44px 18px;
  }

  .back-to-top {
    width: 44px;
    height: 44px;
    bottom: 18px;
    inset-inline-end: 18px;
  }

  .countdown div {
    min-width: 76px;
    padding: 16px 14px;
  }

  .countdown strong {
    font-size: 1.6rem;
  }

  .pd-actions {
    flex-direction: column;
  }

  .option-row {
    padding: 26px 0;
  }

  .newsletter {
    padding: 40px 20px;
  }

  .newsletter-form {
    flex-direction: column;
  }
}

/* ---- Very small phones ---- */
@media (max-width:374px) {
  .container {
    padding-inline: 16px;
  }

  .occasion-strip {
    grid-template-columns: 1fr 1fr;
  }

  .hero-stats {
    justify-content: space-between;
  }
}

/* =========================================================
   ADD TO CART, CART ICON, TOAST, CART PAGE
   ========================================================= */

/* ---- Product card Add to Cart button ---- */
.product-tile {
  display: flex;
  flex-direction: column;
}

.product-tile .info {
  flex: 1;
}

.add-cart-btn {
  margin-top: 14px;
  gap: 8px;
}

.add-cart-btn.added {
  background: var(--soft-green);
}

/* ---- Header cart icon + badge ---- */
.cart-icon-btn {
  position: relative;
}

.cart-badge {
  position: absolute;
  top: -4px;
  inset-inline-end: -4px;
  min-width: 19px;
  height: 19px;
  padding: 0 4px;
  border-radius: 100px;
  background: var(--accent);
  color: #2B2427;
  font-size: .68rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  line-height: 1;
  border: 2px solid var(--bg);
}

.cart-icon-btn:not(.has-items) .cart-badge {
  opacity: .55;
}

/* ---- Toast notification ---- */
.cart-toast {
  position: fixed;
  bottom: 26px;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  background: #2B2427;
  color: #FFF7FA;
  padding: 14px 26px;
  border-radius: 100px;
  box-shadow: var(--shadow-lg);
  z-index: 3000;
  display: none;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: .92rem;
  pointer-events: none;
}

.cart-toast.show {
  display: flex;
}

.cart-toast i {
  color: var(--accent);
}

[dir="rtl"] .cart-toast {
  direction: rtl;
}

/* ---- Product details: quantity stepper + add-to-cart row ---- */
.cart-add-block {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.qty-control {
  display: inline-flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 100px;
  overflow: hidden;
}

.qty-control button {
  width: 38px;
  height: 38px;
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 1.1rem;
  display: grid;
  place-items: center;
  transition: background var(--transition);
}

.qty-control button:hover {
  background: var(--secondary);
  color: var(--primary);
}

.qty-control span {
  min-width: 36px;
  text-align: center;
  font-weight: 600;
}

.qty-control input {
  width: 44px;
  border: none;
  background: transparent;
  text-align: center;
  font-weight: 600;
  color: var(--text);
}

/* ---- Cart page ---- */
.cart-wrap {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 48px;
  align-items: start;
}

.cart-items-panel {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 8px 28px;
}

.cart-row {
  display: grid;
  grid-template-columns: 84px 1fr auto auto;
  gap: 20px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}

.cart-row:last-child {
  border-bottom: none;
}

.cart-row-media {
  width: 84px;
  height: 84px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}

.cart-row-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-row-info h4 {
  font-size: 1.02rem;
  margin-bottom: 4px;
}

.cart-row-info .cat {
  font-size: .8rem;
  color: var(--text-muted);
  display: block;
  margin-bottom: 8px;
}

.cart-row-remove {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .8rem;
  color: var(--text-muted);
  background: none;
  border: none;
  padding: 0;
  transition: color var(--transition);
}

.cart-row-remove:hover {
  color: #c0392b;
}

.cart-row-price {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
  text-align: end;
  min-width: 80px;
}

.cart-summary {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 34px;
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.cart-summary h3 {
  margin-bottom: 22px;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: .95rem;
}

.cart-summary-row span:first-child {
  color: var(--text-muted);
}

.cart-summary-row.total {
  border-bottom: none;
  padding-top: 18px;
  font-size: 1.15rem;
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--text);
}

.cart-summary .btn {
  margin-top: 24px;
}

.cart-empty-state {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
  padding: 80px 24px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.cart-empty-state i {
  font-size: 3rem;
  color: var(--secondary);
}

.cart-empty-state h3 {
  margin-top: 4px;
}

/* ---- Responsive: cart + add-to-cart ---- */
@media (max-width:1024px) {
  .cart-wrap {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .cart-summary {
    position: static;
  }
}

@media (max-width:767px) {
  .cart-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
  }

  .cart-row-media {
    width: 64px;
    height: 64px;
  }

  .cart-row-info {
    flex: 1;
    min-width: 140px;
  }

  .cart-row-qty {
    order: 3;
    margin-inline-start: 80px;
  }

  .cart-row-price {
    order: 2;
    margin-inline-start: auto;
    text-align: end;
  }

  .cart-items-panel {
    padding: 6px 18px;
  }

  .cart-summary {
    padding: 26px 22px;
  }

  .cart-toast {
    width: calc(100% - 32px);
    justify-content: center;
    text-align: center;
  }
}

/* =========================================================
   FINAL HEADER + RESPONSIVE POLISH
   Desktop: full navigation (1200px+)
   Tablet: compact navigation + hamburger (768px–1199px)
   Mobile: compact navigation + hamburger (<768px)
   ========================================================= */

@media (min-width:1200px) {
  .header-inner {
    padding-inline: 20px;
    gap: 16px;
  }

  .main-nav {
    flex: 1 1 auto;
    min-width: 0;
    justify-content: center;
    gap: 0;
  }

  .main-nav a {
    padding-inline: 9px;
    font-size: .84rem;
  }

  .header-actions {
    gap: 6px;
  }

  .header-actions .icon-btn {
    width: 40px;
    height: 40px;
  }

  .header-actions .btn-primary {
    padding-inline: 16px;
  }
}

/* 1024px/tablet: keep useful actions visible, collapse only the nav links. */
@media (min-width:768px) and (max-width:1199px) {
  .header-inner {
    padding-inline: 20px;
    gap: 14px;
  }

  .brand {
    font-size: 1.35rem;
  }

  .header-actions {
    gap: 7px;
  }

  .header-actions [data-lang-toggle] {
    display: none;
  }

  .header-actions .btn-primary {
    display: inline-flex;
    padding: 11px 16px;
    font-size: .82rem;
  }

  .hamburger {
    display: grid;
  }
}

/* Mobile: no accidental desktop overflow. */
@media (max-width:767px) {
  .header-actions .btn-primary {
    display: none;
  }

  .hamburger {
    display: grid;
  }
}

/* =========================================================
   HERO — intentional desktop/tablet/mobile sizing
   ========================================================= */
@media (min-width:1200px) {
  .hero {
    padding-top: 48px;
    padding-bottom: 30px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
    gap: 52px;
    min-height: 620px;
  }

  .hero-content {
    min-width: 0;
  }

  .hero-content h1 {
    max-width: 620px;
  }

  .hero-visual {
    width: 100%;
    max-width: 570px;
    margin-inline: auto;
  }
}

@media (min-width:768px) and (max-width:1199px) {
  .hero {
    padding-top: 42px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 34px;
    align-items: center;
  }

  .hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
  }

  .hero-content p.lead {
    font-size: 1rem;
  }

  .hero-visual {
    width: 100%;
    max-width: none;
  }
}

@media (max-width:767px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .hero-content {
    text-align: left;
  }

  .hero-content h1 {
    font-size: clamp(2.35rem, 11vw, 3.2rem);
  }

  .hero-content p.lead {
    font-size: 1rem;
  }

  .hero-visual {
    width: 100%;
    max-width: 100%;
  }
}

/* =========================================================
   FINAL 1024px TABLET / SMALL-DESKTOP POLISH
   Keep 1024px as a deliberate two-column layout. The navigation
   is collapsed, but the key account/cart/order actions remain visible.
   ========================================================= */
@media (min-width: 992px) and (max-width: 1199px) {
  :root {
    --header-h: 78px;
  }

  .header-inner {
    max-width: 100%;
    padding-inline: 28px;
    gap: 18px;
  }

  .brand {
    font-size: 1.35rem;
    gap: 8px;
  }

  .brand .brand-mark {
    width: 36px;
    height: 36px;
  }

  .header-actions {
    margin-inline-start: auto;
    gap: 8px;
  }

  .header-actions .icon-btn {
    width: 40px;
    height: 40px;
  }

  .header-actions .btn-primary {
    display: inline-flex;
    min-width: 118px;
    padding: 11px 15px;
    font-size: .82rem;
  }

  .header-actions .hamburger {
    display: grid;
  }

  /* 1024 hero: balanced 50/50 composition instead of stacking. */
  .hero {
    padding: 42px 0 68px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr);
    gap: 34px;
    min-height: 570px;
    align-items: center;
  }

  .hero-content {
    min-width: 0;
  }

  .hero-content .eyebrow {
    margin-bottom: 14px;
  }

  .hero-content h1 {
    max-width: 500px;
    font-size: clamp(2.65rem, 4.6vw, 3.35rem);
    line-height: 1.1;
  }

  .hero-content p.lead {
    max-width: 470px;
    margin-top: 18px;
    font-size: 1rem;
    line-height: 1.7;
  }

  .hero-cta {
    gap: 12px;
    margin-top: 28px;
  }

  .hero-cta .btn {
    padding: 14px 24px;
  }

  .hero-stats {
    gap: 22px;
    margin-top: 38px;
  }

  .hero-stats div {
    min-width: 0;
  }

  .hero-stats div strong {
    font-size: 1.45rem;
  }

  .hero-stats div span {
    font-size: .78rem;
  }

  .hero-visual {
    order: 0;
    width: 100%;
    max-width: 480px;
    justify-self: end;
    margin: 0;
  }

  .hero-visual .img-main {
    aspect-ratio: 4 / 4.65;
    border-radius: 24px;
  }

  .hero-badge {
    width: 94px;
    height: 94px;
    top: 18px;
    inset-inline-end: -8px;
    font-size: .76rem;
  }

  .hero-float-card {
    bottom: -18px;
    inset-inline-start: -18px;
    padding: 14px 17px;
    max-width: 225px;
  }
}

/* At 991px and below, intentionally stack the hero to avoid cramped columns. */
@media (max-width: 991px) and (min-width: 768px) {
  .hero {
    padding-top: 34px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .hero-visual {
    order: -1;
    max-width: 560px;
    margin-inline: auto;
  }

  .hero-content h1 {
    max-width: 650px;
  }
}

/* Prevent the 1024/tablet header from ever causing horizontal overflow. */
@media (min-width: 768px) and (max-width: 1199px) {

  .site-header,
  .header-inner,
  .header-actions {
    max-width: 100%;
  }

  .header-inner {
    overflow: hidden;
  }

  .brand {
    min-width: 0;
  }

  .header-actions {
    flex-shrink: 0;
  }
}

/* =========================================================
   FINAL HERO COMPOSITION — 1024px MUST MATCH DESKTOP DIRECTION
   Desktop: content LEFT, image RIGHT.
   1024px: content LEFT, image RIGHT (do not stack).
   991px and below: stack for smaller tablets/phones.
   ========================================================= */
@media (min-width: 992px) and (max-width: 1199px) {
  .hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.98fr) minmax(0, 1.02fr);
    align-items: center;
    column-gap: 40px;
  }

  .hero-content {
    grid-column: 1;
    grid-row: 1;
  }

  .hero-visual {
    grid-column: 2;
    grid-row: 1;
    order: initial;
    justify-self: end;
    width: 100%;
    max-width: 500px;
    margin: 0;
  }

  .hero-visual .img-main {
    width: 100%;
    aspect-ratio: 4 / 4.8;
  }

  .hero-content h1 {
    font-size: clamp(2.55rem, 4.45vw, 3.35rem);
    line-height: 1.08;
  }

  .hero-content p.lead {
    max-width: 455px;
  }
}

/* Mirror the same composition in RTL: text right, image left. */
@media (min-width: 992px) and (max-width: 1199px) {
  [dir="rtl"] .hero-content {
    grid-column: 2;
  }

  [dir="rtl"] .hero-visual {
    grid-column: 1;
    justify-self: start;
  }
}


/* =========================================================
   FINAL 1024PX LAYOUT FIX
   Keep image/content sections side-by-side at 1024px.
   The generic <=1024 rule above stacks .split, which makes
   the image occupy the full content width. Override it here.
   ========================================================= */
@media (min-width: 992px) and (max-width: 1199px) {

  /* Shared two-column editorial sections */
  .split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 38px;
    align-items: center;
  }

  .split.reverse .split-media {
    order: 2;
  }

  .split-media {
    width: 100%;
    max-width: 100%;
  }

  .split-media img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
  }

  .split-text {
    min-width: 0;
  }

  .split-text h3 {
    font-size: clamp(1.9rem, 3.2vw, 2.5rem);
    line-height: 1.15;
  }

  .split-text p {
    max-width: 470px;
  }

  /* Keep delivery imagery beside the copy at 1024px too. */
  .delivery-band {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 38px;
    padding: 44px 40px;
  }

  .delivery-media {
    order: 0;
    width: 100%;
  }

  /* Keep testimonial image beside testimonial copy. */
  .testi-wrap {
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: 40px;
  }

  /* Keep service-area map beside service-area content. */
  .area-wrap {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 40px;
  }

  /* Don't let section images become viewport-height blocks. */
  .split-media,
  .delivery-media,
  .testi-media,
  .map-frame {
    max-height: 520px;
  }
}

/* 1024px: prevent the image column from becoming oversized. */
@media (min-width: 1000px) and (max-width: 1199px) {
  .split-media img {
    max-height: 500px;
  }
}


/* =========================================================
   FINAL RESPONSIVE POLISH — 1024PX + HERO ALIGNMENT
   Keep the 1440px composition while giving 1024px its own
   deliberate two-column layout. Do not collapse split content
   until below the tablet breakpoint.
   ========================================================= */

/* Desktop hero: stable vertical alignment and readable measure */
@media (min-width:1200px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 56px;
    align-items: center;
  }

  .hero-content {
    align-self: center;
    text-align: start;
    min-width: 0;
  }

  .hero-content h1 {
    max-width: 620px;
    text-wrap: balance;
  }

  .hero-content p.lead {
    max-width: 500px;
  }

  .hero-visual {
    min-width: 0;
  }
}

/* 1024px: same LEFT TEXT / RIGHT IMAGE composition as desktop */
@media (min-width:992px) and (max-width:1199px) {
  .hero {
    padding-top: 42px;
    padding-bottom: 28px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
    gap: 38px;
    align-items: center;
  }

  .hero-content {
    order: 0;
    align-self: center;
    min-width: 0;
    text-align: start;
  }

  .hero-content .eyebrow {
    margin-bottom: 16px;
  }

  .hero-content h1 {
    font-size: clamp(3rem, 5vw, 4.15rem);
    line-height: 1.02;
    letter-spacing: -.035em;
    max-width: 540px;
    text-wrap: balance;
  }

  .hero-content p.lead {
    font-size: 1rem;
    line-height: 1.7;
    max-width: 470px;
    margin-top: 18px;
  }

  .hero-cta {
    margin-top: 28px;
    gap: 12px;
  }

  .hero-stats {
    margin-top: 36px;
    gap: 24px;
  }

  .hero-stats div strong {
    font-size: 1.45rem;
  }

  .hero-visual {
    order: 1;
    width: 100%;
    max-width: none;
    margin: 0;
    min-width: 0;
  }

  .hero-visual .img-main {
    width: 100%;
    height: clamp(460px, 55vw, 590px);
    aspect-ratio: auto;
  }

  .hero-badge {
    width: 96px;
    height: 96px;
    top: 22px;
    inset-inline-end: -8px;
    font-size: .78rem;
  }

  .hero-float-card {
    bottom: 18px;
    inset-inline-start: -18px;
    max-width: 225px;
    padding: 14px 16px;
  }

  /* Keep editorial/image + text sections side by side at 1024 */
  .split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 42px;
    align-items: center;
  }

  .split.reverse .split-media {
    order: 2;
  }

  .split-media {
    min-width: 0;
  }

  .split-media img {
    aspect-ratio: 4/3;
  }

  .delivery-band {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 38px;
    padding: 46px;
    align-items: center;
  }

  .delivery-media {
    order: 0;
    aspect-ratio: 4/3;
    min-height: 0;
  }

  .testi-wrap,
  .area-wrap {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 42px;
  }

  .testi-media {
    aspect-ratio: 4/5;
  }

  /* 1024 footer: balanced five-column desktop/tablet layout */
  .footer-top {
    grid-template-columns: minmax(190px, 1.45fr) repeat(3, minmax(105px, 1fr)) minmax(190px, 1.3fr);
    gap: 28px;
    padding: 56px 0 40px;
  }

  .footer-newsletter {
    grid-column: auto;
    max-width: none;
  }

  .footer-newsletter form {
    max-width: none;
  }
}

/* Tablet below 992px: stack intentionally to avoid cramped columns */
@media (max-width:991px) and (min-width:768px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .hero-content {
    text-align: start;
  }

  .hero-visual {
    order: 1;
    max-width: 680px;
    margin-inline: auto;
  }

  .hero-visual .img-main {
    height: auto;
    aspect-ratio: 4/5;
  }

  .split,
  .delivery-band,
  .testi-wrap,
  .area-wrap {
    grid-template-columns: 1fr;
  }

  .split.reverse .split-media {
    order: 0;
  }

  .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 28px;
  }

  .footer-newsletter {
    grid-column: 1 / -1;
  }
}

/* Inner-page hero text: consistent readable alignment */
.page-hero .container {
  width: 100%;
}

.page-hero h1,
.page-hero p {
  text-wrap: balance;
}

/* =========================================================
   FINAL QA PATCH — 1024 FOOTER + ALL INNER HERO ALIGNMENT
   ========================================================= */

/* Inner/page heroes: one consistent text column and baseline. */
.page-hero-img .overlay-inner {
  width: min(100% - 48px, var(--container));
  margin-inline: auto;
  min-height: 500px;
  padding: 150px 0 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-hero-img .overlay-inner .eyebrow {
  margin: 0 0 14px;
  justify-content: center;
  text-align: center;
}

.page-hero-img .overlay-inner h1 {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  line-height: 1.08;
  text-wrap: balance;
}

.page-hero-img .overlay-inner>p:not(.eyebrow) {
  width: min(100%, 650px);
  margin: 16px auto 0 !important;
  text-align: center;
  line-height: 1.65;
}

.page-hero-img .overlay-inner .breadcrumb {
  width: 100%;
  margin: 18px auto 0;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* 1024px: intentionally designed footer — four useful columns,
   then a full-width newsletter/contact row. */
@media (min-width:992px) and (max-width:1199px) {
  .site-footer .container.footer-top {
    grid-template-columns: minmax(0, 1.45fr) repeat(3, minmax(0, 1fr));
    gap: 34px 30px;
    padding: 52px 0 36px;
    align-items: start;
  }

  .site-footer .footer-about {
    min-width: 0;
  }

  .site-footer .footer-about p {
    max-width: 285px;
    line-height: 1.65;
  }

  .site-footer .footer-col {
    min-width: 0;
  }

  .site-footer .footer-col h5,
  .site-footer .footer-newsletter h5 {
    margin-bottom: 12px;
  }

  .site-footer .footer-col ul {
    display: grid;
    gap: 9px;
  }

  .site-footer .footer-col a {
    white-space: normal;
    line-height: 1.45;
  }

  .site-footer .footer-newsletter {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(180px, .75fr) minmax(360px, 1.25fr);
    column-gap: 34px;
    align-items: end;
    padding-top: 6px;
    border-top: 1px solid var(--border);
  }

  .site-footer .footer-newsletter>p {
    grid-column: 1;
    margin: 0 0 12px;
  }

  .site-footer .footer-newsletter h5 {
    grid-column: 1;
    grid-row: 1;
    margin: 0 0 8px;
  }

  .site-footer .footer-newsletter form {
    grid-column: 2;
    grid-row: 1 / span 2;
    width: 100%;
    max-width: none;
    margin: 0;
  }

  .site-footer .footer-newsletter .footer-contact {
    grid-column: 1 / -1;
    margin-top: 4px;
  }

  .site-footer .footer-bottom {
    padding: 20px 0;
  }
}

/* 1024px hero: keep the same composition as 1440 — text left, visual right. */
@media (min-width:992px) and (max-width:1199px) {
  .hero {
    padding-top: 34px;
    padding-bottom: 42px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 44px;
    align-items: center;
    min-height: 560px;
  }

  .hero-content {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
    text-align: start;
  }

  .hero-content .eyebrow {
    margin-bottom: 16px;
  }

  .hero-content h1 {
    max-width: 540px;
    margin: 0;
    font-size: clamp(2.8rem, 4.5vw, 3.7rem);
    line-height: 1.03;
    letter-spacing: -.035em;
    text-wrap: balance;
  }

  .hero-content p.lead {
    max-width: 480px;
    margin: 20px 0 0;
    line-height: 1.65;
  }

  .hero-cta {
    justify-content: flex-start;
    margin-top: 28px;
  }

  .hero-stats {
    justify-content: flex-start;
    margin-top: 34px;
  }

  .hero-visual {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    justify-self: end;
    width: 100%;
    max-width: 490px;
    margin: 0;
  }

  .hero-visual .img-main {
    width: 100%;
    height: 520px;
    aspect-ratio: auto;
  }
}

/* RTL mirrors the desktop/tablet hero composition. */
@media (min-width:992px) {
  [dir="rtl"] .hero-content {
    grid-column: 2;
    text-align: end;
  }

  [dir="rtl"] .hero-visual {
    grid-column: 1;
    justify-self: start;
  }

  [dir="rtl"] .hero-content h1,
  [dir="rtl"] .hero-content p.lead {
    margin-inline-start: 0;
    margin-inline-end: auto;
  }

  [dir="rtl"] .hero-cta,
  [dir="rtl"] .hero-stats {
    justify-content: flex-end;
  }
}

@media (max-width:991px) {
  .page-hero-img .overlay-inner {
    width: min(100% - 40px, 760px);
    min-height: 430px;
    padding: 125px 0 60px;
  }

  .page-hero-img .overlay-inner h1 {
    max-width: 700px;
    font-size: clamp(2.25rem, 6vw, 3.4rem);
  }

  .page-hero-img .overlay-inner>p:not(.eyebrow) {
    max-width: 600px;
  }
}

@media (max-width:767px) {
  .page-hero-img .overlay-inner {
    width: min(100% - 32px, 620px);
    min-height: 390px;
    padding: 110px 0 48px;
  }

  .page-hero-img .overlay-inner h1 {
    font-size: clamp(2rem, 9vw, 2.8rem);
    line-height: 1.08;
  }

  .page-hero-img .overlay-inner>p:not(.eyebrow) {
    font-size: .95rem;
    line-height: 1.6;
  }
}

/* =========================================================
   FINAL REQUESTED FIX — FOOTER TABLET + STICKY HEADER ONLY
   No other layout/components are changed.
   ========================================================= */

/* =========================================================
   FINAL FIX — ALWAYS VISIBLE HEADER
   ========================================================= */

#site-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 9999 !important;
}

#site-header > .site-header {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  width: 100% !important;
}

/* Tablet footer: use a clean 2-column grid so the five footer
   sections never become cramped between 821px and 1199px. */
@media (min-width:821px) and (max-width:1199px) {
  .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 42px;
    padding: 54px 24px 40px;
  }

  .footer-about,
  .footer-col,
  .footer-newsletter {
    min-width: 0;
  }

  .footer-about p {
    max-width: 340px;
  }

  .footer-newsletter {
    grid-column: 1 / -1;
    max-width: none;
  }

  .footer-newsletter form {
    width: 100%;
    max-width: 620px;
  }

  .footer-bottom {
    padding: 20px 24px;
    gap: 12px 24px;
  }

  .footer-bottom p,
  .footer-bottom-links a {
    font-size: .82rem;
  }
}

/* Small tablets: retain the existing 2-column structure, but make
   the footer spacing and newsletter width consistent. */
@media (min-width:768px) and (max-width:820px) {
  .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 28px;
    padding: 50px 24px 34px;
  }

  .footer-newsletter {
    grid-column: 1 / -1;
    max-width: none;
  }

  .footer-newsletter form {
    width: 100%;
  }

  .footer-bottom {
    padding: 20px 24px;
  }
}

/* =========================================================
   FINAL FIX — TABLET FOOTER + REAL STICKY HEADER
   Only requested footer/header behavior is changed here.
   ========================================================= */

/* The header is injected inside #site-header. Make the mount point
   sticky (rather than the injected child) so the header remains stuck
   to the viewport while the page scrolls. */

   
/* Tablet footer: give each link group enough horizontal room and
   place the newsletter/contact area on its own full-width row. */
@media (min-width:768px) and (max-width:1199px) {
  .site-footer .container.footer-top {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 34px 42px;
    padding: 52px 24px 38px;
    align-items: start;
  }

  .site-footer .footer-about,
  .site-footer .footer-col {
    min-width: 0;
  }

  .site-footer .footer-about p {
    max-width: 330px;
    line-height: 1.6;
  }

  .site-footer .footer-col ul {
    display: grid;
    gap: 9px;
  }

  .site-footer .footer-col ul li {
    margin-bottom: 0;
  }

  .site-footer .footer-col a {
    display: inline-block;
    max-width: 100%;
    white-space: normal;
    line-height: 1.45;
  }

  .site-footer .footer-newsletter {
    grid-column: 1 / -1;
    min-width: 0;
    width: 100%;
    max-width: none;
    display: grid;
    grid-template-columns: minmax(180px, .7fr) minmax(280px, 1.3fr);
    column-gap: 32px;
    row-gap: 10px;
    align-items: end;
    padding-top: 18px;
    border-top: 1px solid var(--border);
  }

  .site-footer .footer-newsletter h5 {
    grid-column: 1;
    grid-row: 1;
    margin: 0 0 2px;
  }

  .site-footer .footer-newsletter>p {
    grid-column: 1;
    grid-row: 2;
    margin: 0;
  }

  .site-footer .footer-newsletter form {
    grid-column: 2;
    grid-row: 1 / span 2;
    width: 100%;
    max-width: none;
    margin: 0;
  }

  .site-footer .footer-newsletter .footer-contact {
    grid-column: 1 / -1;
    margin-top: 8px !important;
  }

  .site-footer .footer-bottom {
    padding: 20px 24px;
    gap: 12px 24px;
  }
}

/* Keep the footer comfortable on smaller tablets. */
@media (min-width:768px) and (max-width:820px) {
  .site-footer .container.footer-top {
    gap: 30px 28px;
    padding: 46px 24px 34px;
  }

  .site-footer .footer-newsletter {
    grid-template-columns: 1fr;
    row-gap: 10px;
  }

  .site-footer .footer-newsletter h5,
  .site-footer .footer-newsletter>p,
  .site-footer .footer-newsletter form,
  .site-footer .footer-newsletter .footer-contact {
    grid-column: 1;
    grid-row: auto;
  }

  .site-footer .footer-newsletter form {
    margin-top: 4px;
  }
}


/* =========================================================
   HOME DROPDOWN — desktop + mobile
   Additive only: keeps the existing header layout intact.
   ========================================================= */
.main-nav {
  position: relative;
  z-index: 1300;
}

.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
  z-index: 1301;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 13px;
  border: 0;
  background: transparent;
  color: var(--text);
  border-radius: 100px;
  font: 500 .9rem var(--font-body);
  white-space: nowrap;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  position: relative;
}

.nav-dropdown-toggle i {
  font-size: .68rem;
  transition: transform .22s ease;
}

.nav-dropdown-toggle:hover,
.nav-dropdown.open .nav-dropdown-toggle {
  background: var(--secondary);
  color: var(--primary);
}

.nav-dropdown-toggle.active {
  color: var(--primary);
  font-weight: 600;
}

.nav-dropdown-toggle.active::after {
  content: '';
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 2px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.nav-dropdown.open .nav-dropdown-toggle i {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  inset-inline-start: 0;
  min-width: 170px;
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-7px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  z-index: 9999;
  isolation: isolate;
}

.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 11px 13px;
  border-radius: 10px;
  color: var(--text);
  font-size: .88rem;
  white-space: nowrap;
  transition: background .2s ease, color .2s ease;
}

.nav-dropdown-menu a {
  position: relative;
  z-index: 10000;
  pointer-events: auto;
  cursor: pointer;
  text-decoration: none;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a.active {
  background: var(--secondary);
  color: var(--primary);
}

.mobile-nav-dropdown {
  border-bottom: 1px solid var(--border);
}

.mobile-nav-dropdown-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 4px;
  border: 0;
  background: transparent;
  color: var(--text);
  font: 600 1.15rem var(--font-heading);
  cursor: pointer;
}

.mobile-nav-dropdown-toggle i {
  font-size: .78rem;
  transition: transform .22s ease;
}

.mobile-nav-dropdown.open .mobile-nav-dropdown-toggle i {
  transform: rotate(180deg);
}

.mobile-nav-dropdown.active .mobile-nav-dropdown-toggle {
  color: var(--primary);
}

.mobile-nav-submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height .28s ease;
}

.mobile-nav-submenu a {
  padding: 12px 10px 12px 18px;
  border-top: 1px solid var(--border);
  font-size: 1rem;
  background: color-mix(in srgb, var(--secondary) 35%, transparent);
}

.mobile-nav-submenu a.active {
  color: var(--primary);
  font-weight: 700;
}

/* =========================================================
   THANK-YOU ORDER ANIMATION
   ========================================================= */
.checkout-success {
  position: relative;
  overflow: hidden;
  background: var(--surface);
}

.checkout-success .cs-icon {
  position: relative;
  z-index: 2;
  background: #F3A237;
  color: #fff;
  box-shadow: 0 12px 26px rgba(243, 162, 55, .24);
}

.checkout-success .cs-icon i {
  display: block;
}

.cs-confetti {
  position: absolute;
  top: 76px;
  left: 50%;
  width: 1px;
  height: 1px;
  pointer-events: none;
  z-index: 1;
}

.cs-confetti-piece {
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  opacity: 0;
  background: var(--accent);
  transform: translate(0, 0);
}

.cs-confetti-piece:nth-child(3n) {
  width: 3px;
  height: 6px;
  border-radius: 2px;
  background: #F3A237;
}

.cs-confetti-piece:nth-child(4n) {
  width: 5px;
  height: 3px;
  border-radius: 2px;
  background: #B93A55;
}

.cs-confetti-piece:nth-child(5n) {
  width: 3px;
  height: 3px;
  background: #5B3A7A;
}

.cs-confetti-piece:nth-child(7n) {
  width: 4px;
  height: 4px;
  background: #C96F7B;
}

@media (max-width:1199px) {
  .nav-dropdown-menu {
    inset-inline-start: auto;
    inset-inline-end: 0;
  }
}

@media (max-width:767px) {
  .mobile-nav-submenu a {
    padding-inline-start: 22px;
  }

  .cs-confetti {
    top: 68px;
  }
}

/* =========================================================
   AUTH PAGES — DARK MODE + RTL
   Login / Register only
   ========================================================= */

.auth-wrap {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bg);
  color: var(--text);
}

/* Left image panel */
.auth-media {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: var(--surface);
}

.auth-media img {
  width: 100%;
  height: 100%;
  min-height: 100vh;
  object-fit: cover;
  display: block;
}

.auth-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(23, 19, 22, 0.08) 0%,
      rgba(23, 19, 22, 0.72) 100%);
  pointer-events: none;
}

.auth-media-content {
  position: absolute;
  z-index: 2;
  left: 8%;
  right: 8%;
  bottom: 8%;
}

.auth-media-content h2 {
  max-width: 520px;
  margin: 8px 0 0;
  color: #fff;
}

/* Right form panel */
.auth-form-side {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px clamp(24px, 6vw, 90px);
  background: var(--bg);
}

.auth-box {
  width: 100%;
  max-width: 500px;
  color: var(--text);
}

/* Brand */
.auth-box .brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 42px;
  color: var(--text);
  text-decoration: none;
}

.auth-box .brand span:last-child {
  color: var(--text);
}

/* Headings */
.auth-box h1,
.auth-box h2,
.auth-box h3 {
  color: var(--text);
}

.auth-box>p {
  color: var(--muted);
}

/* Form */
.auth-box .form-group {
  margin-bottom: 20px;
}

.auth-box label {
  color: var(--text);
}

.auth-box input:not([type="checkbox"]):not([type="radio"]),
.auth-box select,
.auth-box textarea {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
}

.auth-box input::placeholder,
.auth-box textarea::placeholder {
  color: var(--muted);
  opacity: 0.8;
}

.auth-box input:focus,
.auth-box select:focus,
.auth-box textarea:focus {
  background: var(--surface);
  color: var(--text);
  border-color: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in srgb,
      var(--primary) 15%,
      transparent);
}

/* Password toggle */
.auth-box .icon-btn {
  color: var(--muted);
  background: transparent;
  border: 0;
      margin-bottom: 40px;
}

.auth-box .icon-btn:hover {
  color: var(--primary);
}

/* Links */
.auth-box .text-link {
  color: var(--primary);
}

.auth-box .text-link:hover {
  color: var(--accent);
}

/* Checkbox */
.auth-box .checkbox-row {
  color: var(--text);
}

.auth-box .checkbox-row input {
  accent-color: var(--primary);
}

/* Validation */
.auth-box .field-error {
  color: #c62828;
}

.auth-box .form-group.has-error input,
.auth-box .form-group.has-error select,
.auth-box .form-group.has-error textarea {
  border-color: #c62828;
}

/* Success message */
.auth-box .form-success {
  color: var(--text);
  background: var(--surface);
  border-color: var(--border);
}

.auth-box .form-success h3 {
  color: var(--text);
}

.auth-box .form-success p {
  color: var(--muted);
}

.auth-box .form-success>i {
  color: var(--green);
}

/* Login options */
.auth-options {
  color: var(--text);
}

.auth-options .checkbox-row {
  color: var(--text);
}

/* Bottom switch */
.auth-switch {
  color: var(--muted);
  text-align: center;
}

.auth-switch .text-link {
  font-weight: 600;
}


/* =========================================================
   DARK MODE
   ========================================================= */

.dark .auth-wrap,
[data-theme="dark"] .auth-wrap {
  background: var(--dark-bg, #171316);
  color: var(--dark-text, #fff7fa);
}

.dark .auth-form-side,
[data-theme="dark"] .auth-form-side {
  background: var(--dark-bg, #171316);
}

.dark .auth-box,
[data-theme="dark"] .auth-box {
  color: var(--dark-text, #fff7fa);
}

.dark .auth-box h1,
.dark .auth-box h2,
.dark .auth-box h3,
[data-theme="dark"] .auth-box h1,
[data-theme="dark"] .auth-box h2,
[data-theme="dark"] .auth-box h3 {
  color: var(--dark-text, #fff7fa);
}

.dark .auth-box>p,
[data-theme="dark"] .auth-box>p {
  color: var(--dark-muted, #d4c5cc);
}

.dark .auth-box .brand,
[data-theme="dark"] .auth-box .brand {
  color: var(--dark-text, #fff7fa);
}

.dark .auth-box .brand span:last-child,
[data-theme="dark"] .auth-box .brand span:last-child {
  color: var(--dark-text, #fff7fa);
}

.dark .auth-box label,
[data-theme="dark"] .auth-box label {
  color: var(--dark-text, #fff7fa);
}

.dark .auth-box input:not([type="checkbox"]):not([type="radio"]),
.dark .auth-box select,
.dark .auth-box textarea,
[data-theme="dark"] .auth-box input:not([type="checkbox"]):not([type="radio"]),
[data-theme="dark"] .auth-box select,
[data-theme="dark"] .auth-box textarea {
  background: var(--dark-surface, #211a1f);
  color: var(--dark-text, #fff7fa);
  border-color: rgba(255, 247, 250, 0.16);
}

.dark .auth-box input::placeholder,
.dark .auth-box textarea::placeholder,
[data-theme="dark"] .auth-box input::placeholder,
[data-theme="dark"] .auth-box textarea::placeholder {
  color: var(--dark-muted, #d4c5cc);
}

.dark .auth-box input:focus,
.dark .auth-box select:focus,
.dark .auth-box textarea:focus,
[data-theme="dark"] .auth-box input:focus,
[data-theme="dark"] .auth-box select:focus,
[data-theme="dark"] .auth-box textarea:focus {
  border-color: var(--secondary, #f5d9e4);
  box-shadow: 0 0 0 3px rgba(245, 217, 228, 0.12);
}

.dark .auth-box .icon-btn,
[data-theme="dark"] .auth-box .icon-btn {
  color: var(--dark-muted, #d4c5cc);
}

.dark .auth-box .icon-btn:hover,
[data-theme="dark"] .auth-box .icon-btn:hover {
  color: var(--secondary, #f5d9e4);
}

.dark .auth-box .checkbox-row,
[data-theme="dark"] .auth-box .checkbox-row {
  color: var(--dark-text, #fff7fa);
}

.dark .auth-box .form-success,
[data-theme="dark"] .auth-box .form-success {
  background: var(--dark-surface, #211a1f);
  border-color: rgba(255, 247, 250, 0.14);
  color: var(--dark-text, #fff7fa);
}

.dark .auth-box .form-success h3,
[data-theme="dark"] .auth-box .form-success h3 {
  color: var(--dark-text, #fff7fa);
}

.dark .auth-box .form-success p,
[data-theme="dark"] .auth-box .form-success p {
  color: var(--dark-muted, #d4c5cc);
}

.dark .auth-switch,
[data-theme="dark"] .auth-switch {
  color: var(--dark-muted, #d4c5cc);
}

.dark .auth-box .text-link,
[data-theme="dark"] .auth-box .text-link {
  color: var(--secondary, #f5d9e4);
}

.dark .auth-box .text-link:hover,
[data-theme="dark"] .auth-box .text-link:hover {
  color: var(--accent, #d8a24a);
}


/* =========================================================
   RTL
   ========================================================= */

[dir="rtl"] .auth-wrap {
  direction: rtl;
}

[dir="rtl"] .auth-media-content {
  left: auto;
  right: 8%;
  text-align: right;
}

[dir="rtl"] .auth-form-side {
  text-align: right;
}

[dir="rtl"] .auth-box {
  direction: rtl;
}

[dir="rtl"] .auth-box .brand {
  flex-direction: row;
}

[dir="rtl"] .auth-box .checkbox-row {
  direction: rtl;
}

[dir="rtl"] .auth-options {
  direction: rtl;
}

[dir="rtl"] .auth-box input,
[dir="rtl"] .auth-box select,
[dir="rtl"] .auth-box textarea {
  text-align: right;
}

[dir="rtl"] .auth-box input[type="email"],
[dir="rtl"] .auth-box input[type="tel"],
[dir="rtl"] .auth-box input[type="password"] {
  direction: rtl;
  text-align: right;
}

[dir="rtl"] .auth-box .field-error {
  text-align: right;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1024px) {
  .auth-wrap {
    grid-template-columns: 42% 58%;
  }

  .auth-form-side {
    padding: 40px 42px;
  }

  .auth-box {
    max-width: 460px;
  }

  .auth-media-content {
    left: 7%;
    right: 7%;
    bottom: 7%;
  }

  [dir="rtl"] .auth-media-content {
    left: 7%;
    right: 7%;
  }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {
  .auth-wrap {
    display: block;
    min-height: 100vh;
  }

  .auth-media {
    min-height: 280px;
    height: 280px;
  }

  .auth-media img {
    min-height: 280px;
    height: 280px;
  }

  .auth-media-content {
    left: 24px;
    right: 24px;
    bottom: 24px;
  }

  [dir="rtl"] .auth-media-content {
    left: 24px;
    right: 24px;
    text-align: right;
  }

  .auth-media-content h2 {
    font-size: 1.55rem;
  }

  .auth-form-side {
    min-height: auto;
    padding: 36px 22px 42px;
    align-items: flex-start;
  }

  .auth-box {
    max-width: none;
  }

  .auth-box .brand {
    margin-bottom: 30px;
  }

  .auth-box h1 {
    font-size: 2rem;
  }

  .auth-options {
    gap: 14px;
    flex-wrap: wrap;
  }
}


/* Small phones */
@media (max-width: 480px) {
  .auth-media {
    min-height: 240px;
    height: 240px;
  }

  .auth-media img {
    min-height: 240px;
    height: 240px;
  }

  .auth-form-side {
    padding: 30px 18px 36px;
  }

  .auth-media-content h2 {
    font-size: 1.35rem;
  }

  .auth-box h1 {
    font-size: 1.8rem;
  }
}


/* Reduced motion */
@media (prefers-reduced-motion: reduce) {

  .auth-wrap *,
  .auth-wrap *::before,
  .auth-wrap *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* =========================================================
   BLOOM & CO — Home 2 ("Editorial Floral Experience")
   Additive stylesheet: only styles classes unique to Home 2.
   Uses the same tokens/variables defined in style.css — no new
   palette, no new fonts, no new radii/shadow scale.
   ========================================================= */

/* ===================== H2 HERO ===================== */
.h2-hero {
  position: relative;
  padding-top: 56px;
  overflow: hidden;
}

.h2-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 70px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.h2-hero-content .eyebrow {
  margin-bottom: 20px;
}

.h2-hero-content h1 {
  font-style: italic;
}

.h2-hero-content h1 span {
  font-style: normal;
  color: var(--primary);
}

.h2-hero-content .lead {
  margin-top: 22px;
  max-width: 480px;
}

.h2-hero-cta {
  display: flex;
  gap: 16px;
  margin-top: 38px;
  flex-wrap: wrap;
}

.h2-hero-visual {
  position: relative;
}

.h2-collage {
  position: relative;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 20px;
  align-items: end;
}

.h2-collage .cell-a {
  aspect-ratio: 3/4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.h2-collage .cell-b {
  aspect-ratio: 1/1.15;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transform: translateY(-30px);
}

.h2-collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.h2-quote-chip {
  position: absolute;
  inset-block-start: -26px;
  inset-inline-start: -26px;
  background: var(--surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 20px 22px;
  max-width: 220px;
  z-index: 2;
}

.h2-quote-chip p {
  font-family: var(--font-heading);
  font-style: italic;
  color: var(--text);
  font-size: .95rem;
  line-height: 1.4;
}

.h2-quote-chip .stars {
  color: var(--accent);
  font-size: .78rem;
  margin-top: 10px;
}

.h2-ring-deco {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  opacity: .35;
  inset-block-start: -40px;
  inset-inline-end: -60px;
  width: 260px;
  height: 260px;
  z-index: 0;
  pointer-events: none;
}

.h2-dot-deco {
  position: absolute;
  inset-block-end: 10px;
  inset-inline-start: -30px;
  width: 120px;
  height: 120px;
  background-image: radial-gradient(var(--soft-green) 2px, transparent 2.5px);
  background-size: 16px 16px;
  opacity: .4;
  z-index: 0;
  pointer-events: none;
}

/* ===================== FEATURED COLLECTIONS ===================== */
.collection-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.collection-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}

.collection-card:hover {
  box-shadow: var(--shadow-lg);
}

.collection-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

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

.collection-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 10, 15, .82) 0%, rgba(20, 10, 15, .15) 55%, rgba(20, 10, 15, 0) 75%);
}

.collection-card .cc-info {
  position: relative;
  z-index: 2;
  padding: 26px;
  color: #fff;
}

.collection-card .cc-info .cc-eyebrow {
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--secondary);
}

.collection-card .cc-info h3 {
  color: #fff;
  margin-top: 6px;
}

.collection-card .cc-info p {
  color: rgba(255, 255, 255, .82);
  font-size: .88rem;
  margin-top: 8px;
}

.collection-card .cc-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: #fff;
  font-weight: 600;
  font-size: .88rem;
}

.collection-card .cc-link i {
  transition: transform var(--transition);
}

.collection-card:hover .cc-link i {
  transform: translateX(4px);
}

[dir="rtl"] .collection-card:hover .cc-link i {
  transform: translateX(-4px);
}

/* ===================== EDITORIAL SPREAD ===================== */
.editorial-spread {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 0;
  align-items: stretch;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.es-media {
  position: relative;
  min-height: 420px;
}

.es-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.es-content {
  background: var(--surface);
  padding: 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.es-content .es-quote {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  color: var(--text);
  line-height: 1.5;
  margin-top: 16px;
}

.es-content .es-quote::before {
  content: '\201C';
  color: var(--accent);
  font-size: 2.6rem;
  display: block;
  line-height: .4;
  margin-bottom: 12px;
  font-family: Georgia, serif;
  font-style: normal;
}

.es-content .es-byline {
  margin-top: 26px;
  font-size: .88rem;
  color: var(--text-muted);
  font-weight: 600;
}

.es-content .btn {
  margin-top: 32px;
  align-self: flex-start;
}

/* ===================== OCCASION RING GRID ===================== */
.occasion-ring-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 26px;
}

.occasion-ring-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
}

.occasion-ring-item .ring {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  border: 3px solid var(--secondary);
  padding: 4px;
  transition: border-color var(--transition), transform var(--transition);
}

.occasion-ring-item:hover .ring {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.occasion-ring-item .ring img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.occasion-ring-item span {
  font-weight: 600;
  font-size: .92rem;
}

/* ===================== DELIVERY CTA STRIP ===================== */
.delivery-cta-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  background: linear-gradient(120deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 48px 56px;
  position: relative;
  overflow: hidden;
}

.delivery-cta-strip .dcs-text h2,
.delivery-cta-strip .dcs-text p {
  color: #fff;
}

.delivery-cta-strip .dcs-text p {
  color: rgba(255, 255, 255, .82);
  margin-top: 10px;
  max-width: 440px;
}

.delivery-cta-strip .dcs-text .eyebrow {
  color: var(--secondary);
}

.delivery-cta-strip .dcs-text .eyebrow::before {
  background: #fff;
}

.delivery-cta-strip .dcs-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.delivery-cta-strip .dcs-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, .14);
  border-radius: 100px;
  padding: 10px 18px;
  font-size: .85rem;
  font-weight: 600;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width:1280px) {
  .collection-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
  }

  .occasion-ring-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 18px;
  }
}

@media (max-width:1024px) {
  .h2-hero-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .h2-hero-visual {
    order: -1;
    max-width: 480px;
    margin-inline: auto;
    width: 100%;
  }

  .h2-quote-chip {
    inset-inline-start: 10px;
    inset-block-start: -20px;
    max-width: 180px;
    padding: 16px;
  }

  .h2-ring-deco {
    display: none;
  }

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

  .editorial-spread {
    grid-template-columns: 1fr;
  }

  .es-media {
    min-height: 300px;
  }

  .es-content {
    padding: 44px 34px;
  }

  .occasion-ring-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px 18px;
  }

  .delivery-cta-strip {
    padding: 40px 34px;
  }
}

@media (max-width:820px) {
  .collection-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}

@media (max-width:767px) {
  .h2-hero {
    padding-top: 20px;
  }

  .h2-collage {
    grid-template-columns: 1.2fr 1fr;
    gap: 12px;
  }

  .h2-collage .cell-b {
    transform: translateY(-16px);
  }

  .h2-quote-chip {
    display: none;
  }

  .h2-hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

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

  .collection-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .es-content {
    padding: 32px 22px;
  }

  .occasion-ring-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px 14px;
  }

  .occasion-ring-item .ring {
    width: 76px;
    height: 76px;
  }

  .delivery-cta-strip {
    flex-direction: column;
    align-items: flex-start;
    text-align: start;
    padding: 32px 22px;
  }

  .delivery-cta-strip .dcs-actions {
    width: 100%;
  }
}

@media (max-width:374px) {
  .occasion-ring-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* Final responsive hero alignment */
@media (min-width:992px) and (max-width:1199px) {
  .h2-hero {
    padding-top: 42px;
    padding-bottom: 28px;
  }

  .h2-hero-grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
    gap: 38px;
    align-items: center;
  }

  .h2-hero-content {
    text-align: start;
    min-width: 0;
  }

  .h2-hero-content h1 {
    font-size: clamp(3rem, 5vw, 4.1rem);
    line-height: 1.04;
    max-width: 540px;
    text-wrap: balance;
  }

  .h2-hero-content .lead {
    max-width: 470px;
    font-size: 1rem;
    line-height: 1.7;
  }

  .h2-hero-cta {
    margin-top: 28px;
  }

  .h2-hero-visual {
    min-width: 0;
  }

  .h2-collage {
    gap: 14px;
  }

  .h2-collage .cell-a {
    aspect-ratio: 4/5;
  }

  .h2-collage .cell-b {
    aspect-ratio: 1/1.12;
    transform: translateY(-18px);
  }

  .h2-quote-chip {
    inset-block-start: -16px;
    inset-inline-start: -14px;
    max-width: 200px;
    padding: 16px 18px;
  }
}
/* =========================================================
   PREMIUM ANIMATION SYSTEM
   Added on top of the existing design system — reuses the same
   tokens (--primary, --accent, --bg, --surface, --shadow-*, etc.)
   so it automatically adapts to dark mode. Works alongside the
   existing AOS / anime.js reveals rather than replacing them;
   this section only adds: preloader, image reveal masks, hero
   parallax hooks, nav/mobile stagger, footer reveal, back-to-top
   progress ring, and the page-transition overlay.
   ========================================================= */

/* ---- Preloader ---- */
.bloom-preloader {
  position: fixed;
  inset: 0;
  z-index: 20000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity .55s cubic-bezier(.4,0,.2,1), visibility .55s;
}

.bloom-preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.bp-inner {
  text-align: center;
}

.bp-word {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  color: var(--primary);
  letter-spacing: .01em;
  opacity: 0;
  transform: scale(.94) translateY(6px);
  animation: bpWord .8s cubic-bezier(.4,0,.2,1) forwards;
}

.bp-word em {
  font-style: normal;
  color: var(--accent);
  margin: 0 3px;
}

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

.bp-line {
  width: 120px;
  height: 2px;
  margin: 18px auto 0;
  border-radius: 2px;
  overflow: hidden;
  background: var(--border);
}

.bp-line span {
  display: block;
  width: 40%;
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  animation: bpLine 1.15s ease-in-out infinite;
}

@keyframes bpLine {
  0%   { transform: translateX(-120%); }
  100% { transform: translateX(360%); }
}

/* ---- Image reveal masks (clip-path) ----
   Applied to media wrappers via JS (bloomInitImageReveals). The
   inline style set by GSAP does the actual clipping; this just
   ensures a sane fallback if JS/GSAP never runs. */
.split-media,
.testi-media,
.delivery-media,
.ef-media {
  will-change: clip-path;
}

/* ---- Sticky header: slightly richer scrolled state ---- */
.site-header.is-scrolled {
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

/* ---- Nav dropdown: staggered item reveal ---- */
.nav-dropdown-menu a {
  transition: background .2s ease, color .2s ease, opacity .3s ease, transform .3s ease;
  opacity: 0;
  transform: translateY(-6px);
}

.nav-dropdown.open .nav-dropdown-menu a {
  opacity: 1;
  transform: translateY(0);
}

.nav-dropdown.open .nav-dropdown-menu a:nth-child(1) { transition-delay: .04s; }
.nav-dropdown.open .nav-dropdown-menu a:nth-child(2) { transition-delay: .09s; }
.nav-dropdown.open .nav-dropdown-menu a:nth-child(3) { transition-delay: .14s; }
.nav-dropdown.open .nav-dropdown-menu a:nth-child(4) { transition-delay: .19s; }

/* ---- Mobile nav: staggered link reveal (opacity-only so it stays
   correct in both LTR and RTL without extra direction logic) ---- */
.mobile-nav-body > * {
  opacity: 0;
  transition: opacity .35s ease;
}

.mobile-nav.open .mobile-nav-body > * { opacity: 1; }

.mobile-nav.open .mobile-nav-body > *:nth-child(1) { transition-delay: .06s; }
.mobile-nav.open .mobile-nav-body > *:nth-child(2) { transition-delay: .10s; }
.mobile-nav.open .mobile-nav-body > *:nth-child(3) { transition-delay: .14s; }
.mobile-nav.open .mobile-nav-body > *:nth-child(4) { transition-delay: .18s; }
.mobile-nav.open .mobile-nav-body > *:nth-child(5) { transition-delay: .22s; }
.mobile-nav.open .mobile-nav-body > *:nth-child(n+6) { transition-delay: .26s; }

/* ---- Product card: smoother hover polish (image scale already
   existed; this adds shadow lift + wishlist reveal) ---- */
.product-tile .thumb {
  transition: box-shadow .4s ease;
}

.product-tile:hover .thumb {
  box-shadow: var(--shadow-lg);
}

@media (hover: hover) and (pointer: fine) {
  .product-tile .wish {
    opacity: 0;
    transform: scale(.8);
    transition: opacity .3s ease, transform .3s ease;
  }
  .product-tile:hover .wish,
  .product-tile:focus-within .wish {
    opacity: 1;
    transform: scale(1);
  }
}

/* ---- Footer: reveal-in state set by JS before animating ---- */
.site-footer .footer-about,
.site-footer .footer-col {
  will-change: opacity, transform;
}

/* ---- Back-to-top: scroll-progress ring ---- */
.back-to-top {
  position: fixed;
}

.back-to-top::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: conic-gradient(var(--accent) var(--progress, 0%), transparent 0%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 3px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 3px));
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s ease;
}

.back-to-top.show::before {
  opacity: 1;
}

/* ---- Reduced motion: belt-and-braces for the new pieces above.
   The site already has a blanket rule near the top of this file
   that neutralizes CSS animation/transition durations; this adds
   the same intent for elements whose *final* state must be shown
   immediately (the preloader itself is also force-hidden via JS). ---- */
@media (prefers-reduced-motion: reduce) {
  .bloom-preloader { display: none !important; }
  .nav-dropdown-menu a,
  .mobile-nav-body > * {
    opacity: 1 !important;
    transform: none !important;
  }
  .product-tile .wish {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ---- RTL: mirror the back-to-top ring position (button itself
   already uses inset-inline-end elsewhere in this file) ---- */
[dir="rtl"] .back-to-top::before {
  background: conic-gradient(var(--accent) var(--progress, 0%), transparent 0%);
}
/* =========================================================
   LARGE DESKTOP
   1200px+
   ========================================================= */

@media (min-width: 1200px) {

    .auth-wrap {
        grid-template-columns: minmax(0, 1.05fr) minmax(500px, .95fr);
    }

    .auth-form-side {
        padding: 56px 64px;
    }

    .auth-box {
        max-width: 540px;
    }
}

/* =========================================================
   LAPTOP
   992px - 1199px
   ========================================================= */

@media (min-width: 992px) and (max-width: 1199px) {

    .auth-wrap {
        grid-template-columns: minmax(0, 44%) minmax(0, 56%);
    }

    .auth-form-side {
        padding: 36px 42px;
    }

    .auth-box {
        max-width: 500px;
    }

    .auth-topbar {
        margin-bottom: 28px;
    }
}

/* =========================================================
   TABLET
   768px - 991px
   ========================================================= */

@media (min-width: 768px) and (max-width: 991px) {

    .auth-wrap {
        grid-template-columns: 38% 62%;
        min-height: 100vh;
    }

    .auth-media {
        min-height: 100vh;
    }

    .auth-form-side {
        min-height: 100vh;
        padding: 30px;
        align-items: center;
    }

    .auth-box {
        width: 100%;
        max-width: 460px;
    }

    .auth-topbar {
        margin-bottom: 26px;
    }

    .auth-box h1 {
        font-size: clamp(2rem, 4vw, 2.7rem);
    }

    .auth-intro {
        margin-bottom: 24px;
    }

    .auth-box .form-group {
        margin-bottom: 18px;
    }

    .auth-media-content {
        bottom: 6%;
        inset-inline-start: 7%;
        inset-inline-end: 7%;
    }
}

/* =========================================================
   MOBILE
   480px - 767px
   ========================================================= */

@media (max-width: 767px) {

    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .auth-wrap {
        display: block;
        width: 100%;
        min-height: 100vh;
        min-height: 100dvh;
        overflow-x: hidden;
    }

    /* Hide large image on mobile */
    .auth-media {
        display: none;
    }

    .auth-form-side {
        width: 100%;
        min-height: 100vh;
        min-height: 100dvh;
        padding: 0;
        display: flex;
        align-items: flex-start;
        justify-content: center;
        box-sizing: border-box;
        overflow: visible;
    }

    .auth-box {
        width: 100%;
        max-width: 100%;
        min-height: 100vh;
        min-height: 100dvh;
        margin: 0;
        padding: 28px 22px 34px;
        border-radius: 0;
        box-sizing: border-box;
    }

    .auth-topbar {
        margin-bottom: 34px;
        gap: 12px;
    }

    .auth-brand {
        font-size: 1rem;
    }

    .auth-actions {
        gap: 5px;
    }

    .auth-actions .icon-btn {
        width: 38px;
        height: 38px;
        min-width: 38px;
    }

    .auth-box h1 {
        font-size: clamp(2rem, 9vw, 2.45rem);
        line-height: 1.1;
        margin-bottom: 10px;
    }

    .auth-intro {
        font-size: .95rem;
        line-height: 1.65;
        margin-bottom: 28px;
    }

    .auth-box .form-group {
        margin-bottom: 20px;
    }

    .auth-box .form-group label {
        margin-bottom: 8px;
    }

    .auth-box .form-group input {
        width: 100%;
        min-height: 48px;
    }

    .auth-terms {
        font-size: .86rem;
        line-height: 1.55;
        margin-bottom: 20px;
    }

    .auth-box .btn-block {
        min-height: 50px;
    }

    .auth-switch {
        font-size: .9rem;
        line-height: 1.6;
    }
}

/* =========================================================
   SMALL MOBILE
   320px - 479px
   ========================================================= */

@media (max-width: 479px) {

    .auth-box {
        padding: 24px 18px 30px;
    }

    .auth-topbar {
        margin-bottom: 30px;
    }

    .auth-brand .brand-mark {
        width: 36px;
        height: 36px;
    }

    .auth-actions .icon-btn {
        width: 36px;
        height: 36px;
        min-width: 36px;
    }

    .auth-box h1 {
        font-size: 2rem;
    }

    .auth-intro {
        font-size: .9rem;
        margin-bottom: 25px;
    }

    .auth-box .form-group {
        margin-bottom: 18px;
    }

    .auth-box .form-group input {
        min-height: 46px;
        font-size: .95rem;
    }

    .auth-terms {
        font-size: .8rem;
        gap: 7px;
    }

    .auth-box .btn-block {
        min-height: 48px;
    }
}

/* =========================================================
   EXTRA SMALL 320px
   ========================================================= */

@media (max-width: 359px) {

    .auth-box {
        padding-inline: 15px;
    }

    .auth-topbar {
        gap: 8px;
    }

    .auth-brand {
        font-size: .92rem;
    }

    .auth-actions {
        gap: 3px;
    }

    .auth-actions .icon-btn {
        width: 34px;
        height: 34px;
        min-width: 34px;
    }

    .auth-box h1 {
        font-size: 1.85rem;
    }

    .auth-intro {
        font-size: .87rem;
    }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */

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

.auth-wrap {
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 1fr);
    overflow-x: hidden;
}

/* IMAGE SIDE
--------------------------------------------------------- */

.auth-media {
    position: relative;
    min-width: 0;
    min-height: 100vh;
    overflow: hidden;
}

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

.auth-media-content {
    position: absolute;
    inset-inline-start: 8%;
    inset-inline-end: 8%;
    bottom: 8%;
    z-index: 2;
}

.auth-media-content h2 {
    max-width: 560px;
    margin: 8px 0 0;
    color: #fff;
}

/* FORM SIDE
--------------------------------------------------------- */

.auth-form-side {
    min-width: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    overflow: visible;
}

.auth-box {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    box-sizing: border-box;
}

/* TOP BRAND / ACTIONS
--------------------------------------------------------- */

.auth-topbar {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 34px;
}

.auth-brand {
    min-width: 0;
    flex: 1 1 auto;
}

.auth-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex: 0 0 auto;
}

.auth-actions .icon-btn {
    flex: 0 0 auto;
}

/* HEADINGS
--------------------------------------------------------- */

.auth-box h1 {
    margin-top: 0;
    margin-bottom: 8px;
}

.auth-intro {
    margin: 0 0 30px;
    max-width: 560px;
}

/* FORM
--------------------------------------------------------- */

.auth-box form {
    width: 100%;
}

.auth-box .form-group {
    width: 100%;
    margin-bottom: 22px;
}

.auth-box .form-group label {
    display: block;
    width: 100%;
    margin-bottom: 8px;
}

.auth-box .form-group input {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.password-field {
    position: relative;
    width: 100%;
}

.password-field input {
    padding-inline-end: 48px !important;
}

.password-toggle {
    position: absolute !important;
    top: 50%;
    inset-inline-end: 6px;
    transform: translateY(-50%);
    width: 34px !important;
    height: 34px !important;
    min-width: 34px;
    padding: 0 !important;
    z-index: 3;
}

/* TERMS
--------------------------------------------------------- */

.auth-terms {
    width: 100%;
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-bottom: 22px;
    line-height: 1.6;
}

.auth-terms input {
    flex: 0 0 auto;
    margin-top: 5px;
}

.auth-terms-text {
    min-width: 0;
}

/* BUTTON
--------------------------------------------------------- */

.auth-box .btn-block {
    width: 100%;
    min-height: 48px;
}

/* SUCCESS
--------------------------------------------------------- */

.auth-box .form-success {
    width: 100%;
    box-sizing: border-box;
}

/* BOTTOM LINK
--------------------------------------------------------- */

.auth-switch {
    width: 100%;
    margin: 20px 0 0;
    text-align: center;
}

html,
body {
    min-height: 100%;
    overflow-x: hidden;
}

body {
    margin: 0;
}

.auth-wrap {
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
}


/* ---------------------------------------------------------
   Desktop - 1200px and above
   --------------------------------------------------------- */

@media (min-width: 1200px) {

    .auth-wrap {
        display: grid !important;
        grid-template-columns: 50% 50% !important;

        min-height: 100vh;
        min-height: 100dvh;
    }

    .auth-media {
        display: block !important;
        position: relative;

        min-width: 0;
        min-height: 100vh;
        min-height: 100dvh;

        overflow: hidden;
    }

    .auth-media img {
        display: block;

        width: 100%;
        height: 100%;

        min-height: 100vh;
        min-height: 100dvh;

        object-fit: cover;
    }

    .auth-form-side {
        width: 100%;
        min-width: 0;

        min-height: 100vh;
        min-height: 100dvh;

        display: flex;
        align-items: center;
        justify-content: center;

        padding: 48px 64px;
        box-sizing: border-box;

        overflow-y: auto;
    }

    .auth-box {
        width: 100%;
        max-width: 500px;

        margin: 0 auto;

        box-sizing: border-box;
    }

    .auth-box form {
        width: 100%;
    }

    .auth-box .form-group {
        width: 100%;
    }

    .auth-box .form-group input,
    .auth-box .form-group select,
    .auth-box .form-group textarea {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
}


/* ---------------------------------------------------------
   Laptop / Tablet landscape - 992px to 1199px
   --------------------------------------------------------- */

@media (min-width: 992px) and (max-width: 1199px) {

    .auth-wrap {
        display: grid !important;

        grid-template-columns: 42% 58% !important;

        width: 100%;

        min-height: 100vh;
        min-height: 100dvh;
    }

    .auth-media {
        display: block !important;
        position: relative;

        width: 100%;
        min-width: 0;

        min-height: 100vh;
        min-height: 100dvh;

        overflow: hidden;
    }

    .auth-media img {
        position: absolute;
        inset: 0;

        display: block;

        width: 100%;
        height: 100%;

        object-fit: cover;
        object-position: center;
    }

    .auth-media-content {
        position: absolute;

        left: 8%;
        right: 8%;
        bottom: 8%;

        z-index: 2;
    }

    .auth-form-side {
        width: 100%;
        min-width: 0;

        min-height: 100vh;
        min-height: 100dvh;

        display: flex;
        align-items: flex-start;
        justify-content: center;

        padding: 36px 42px 50px;
        box-sizing: border-box;

        overflow-y: auto;
    }

    .auth-box {
        width: 100%;
        max-width: 460px;

        margin: auto;

        box-sizing: border-box;
    }

    .auth-box form {
        width: 100%;
    }

    .auth-box .form-group {
        width: 100%;
    }

    .auth-box .form-group input,
    .auth-box .form-group select,
    .auth-box .form-group textarea {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .auth-box h1 {
        font-size: clamp(2.2rem, 4vw, 3rem);
        line-height: 1.15;
    }

    .auth-box > p {
        max-width: 460px;
        line-height: 1.6;
    }
}


/* ---------------------------------------------------------
   Tablet portrait - 768px to 991px
   --------------------------------------------------------- */

@media (min-width: 768px) and (max-width: 991px) {

    .auth-wrap {
        display: block !important;

        width: 100%;

        min-height: 100vh;
        min-height: 100dvh;
    }

    .auth-media {
        display: none !important;
    }

    .auth-form-side {
        width: 100%;

        min-height: 100vh;
        min-height: 100dvh;

        display: flex;
        align-items: flex-start;
        justify-content: center;

        padding: 48px 32px 60px;
        box-sizing: border-box;

        overflow-y: auto;
    }

    .auth-box {
        width: 100%;
        max-width: 540px;

        margin: 0 auto;

        box-sizing: border-box;
    }

    .auth-box form {
        width: 100%;
    }

    .auth-box .form-group {
        width: 100%;
    }

    .auth-box .form-group input,
    .auth-box .form-group select,
    .auth-box .form-group textarea {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .auth-box h1 {
        font-size: clamp(2.2rem, 5vw, 2.8rem);
        line-height: 1.15;
    }
}


/* ---------------------------------------------------------
   Mobile - 767px and below
   --------------------------------------------------------- */

@media (max-width: 767px) {

    .auth-wrap {
        display: block !important;

        width: 100%;

        min-height: 100vh;
        min-height: 100dvh;
    }

    .auth-media {
        display: none !important;
    }

    .auth-form-side {
        width: 100%;

        min-height: 100vh;
        min-height: 100dvh;

        display: flex;
        align-items: flex-start;
        justify-content: center;

        padding: 24px 16px 40px;
        box-sizing: border-box;

        overflow-x: hidden;
        overflow-y: visible;
    }

    .auth-box {
        width: 100%;
        max-width: 520px;

        margin: 0 auto;

        box-sizing: border-box;
    }

    .auth-box > div:first-child {
        width: 100%;
        margin-bottom: 28px !important;
    }

    .auth-box form {
        width: 100%;
    }

    .auth-box .form-group {
        width: 100%;
        margin-bottom: 20px;
    }

    .auth-box .form-group input,
    .auth-box .form-group select,
    .auth-box .form-group textarea {
        display: block;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0;

        box-sizing: border-box;
    }

    .auth-box h1 {
        font-size: clamp(2rem, 9vw, 2.5rem);
        line-height: 1.15;
    }

    .auth-box > p {
        font-size: 0.94rem;
        line-height: 1.6;
    }

    /* Password field */
    .auth-box .form-group > div[style*="position:relative"] {
        position: relative !important;

        width: 100%;
        box-sizing: border-box;
    }

    .auth-box .form-group > div[style*="position:relative"] input {
        width: 100% !important;

        padding-inline-end: 48px;

        box-sizing: border-box;
    }

    /* Password eye */
    .auth-box .form-group > div[style*="position:relative"] .icon-btn {
        width: 34px !important;
        height: 34px !important;

        flex-shrink: 0;
    }

    /* Login options */
    .auth-options {
        width: 100%;

        display: flex;
        align-items: center;
        justify-content: space-between;

        gap: 12px;
        flex-wrap: wrap;

        margin-bottom: 22px;
    }

    .auth-box .checkbox-row {
        display: flex;
        align-items: flex-start;

        gap: 8px;
        line-height: 1.5;
    }

    .auth-box .checkbox-row input {
        flex: 0 0 auto;
        margin-top: 3px;
    }

    .auth-box .btn-block {
        width: 100%;
    }

    .auth-switch {
        font-size: 0.9rem;
        line-height: 1.6;
    }
}


/* ---------------------------------------------------------
   Very small mobile - 374px and below
   --------------------------------------------------------- */

@media (max-width: 374px) {

    .auth-form-side {
        padding: 20px 14px 34px;
    }

    .auth-box h1 {
        font-size: 1.9rem;
    }

    .auth-box > p {
        font-size: 0.9rem;
    }

    .auth-box .brand {
        font-size: 1.35rem;
    }

    .auth-box .brand .brand-mark {
        width: 36px;
        height: 36px;
    }

    .auth-box .header-actions {
        gap: 4px;
    }

    .auth-options {
        font-size: 0.84rem;
    }

    .auth-switch {
        font-size: 0.84rem;
    }
}




/* ---------------------------------------------------------
   Reduced motion
   --------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {

    .auth-wrap *,
    .auth-wrap *::before,
    .auth-wrap *::after {
        animation: none !important;
        transition: none !important;
    }
}