/* ZOYA & ZARA storefront blush theme */
:root {
  --zz-blush: #f3b6b6;
  --zz-blush-hover: #e89ea3;
  --zz-blush-soft: #fff4f4;
  --zz-blush-ink: #3f0018;
  --zz-blush-accent-ink: #7a4350;
  --zz-rose: #f3b6b6;
}

body {
  background-color: #fffafa;
}

/* Keep the homepage photography unfiltered. */
.hero-clean-image::before {
  content: none !important;
  background: none !important;
}

@media (max-width: 768px) {
  /* Keep every storefront document vertically scrollable on touch devices.
     Only an intentionally open drawer may lock the page behind it. */
  html {
    height: auto !important;
    min-height: 100%;
    width: auto !important;
    max-width: 100%;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior-y: auto !important;
  }

  body:not(.zz-scroll-locked) {
    height: auto !important;
    min-height: 100%;
    width: auto !important;
    max-width: 100%;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior-y: auto !important;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
  }

  body.zz-scroll-locked {
    overflow: hidden !important;
  }

  main {
    max-width: 100%;
  }

  /* The generated pages use desktop headline tokens without responsive
     variants. Scale those shared tokens down consistently on phones. */
  .text-headline-xl {
    font-size: clamp(1.9rem, 8vw, 2.25rem) !important;
    line-height: 1.16 !important;
  }

  .text-headline-lg {
    font-size: clamp(1.55rem, 6.8vw, 1.9rem) !important;
    line-height: 1.22 !important;
  }

  .text-headline-md {
    font-size: clamp(1.2rem, 5.4vw, 1.4rem) !important;
    line-height: 1.3 !important;
  }

  .text-headline-sm {
    font-size: clamp(1rem, 4.5vw, 1.125rem) !important;
    line-height: 1.38 !important;
  }

  .brand-section-title.text-5xl {
    font-size: clamp(2.1rem, 10vw, 2.65rem) !important;
    line-height: 1.02 !important;
  }

  /* Art-direct the wide hero for a portrait screen: copy stays in the quiet
     upper area and the flowers become the lower half of the composition. */
  .hero-clean-image {
    min-height: calc(100svh - 108px) !important;
    align-items: flex-start !important;
    background-color: #d2cfcd !important;
    background-size: auto 56% !important;
    background-position: 68% bottom !important;
    background-repeat: no-repeat !important;
  }

  .hero-clean-image::before {
    content: '' !important;
    position: absolute;
    z-index: 0;
    top: 0;
    right: 0;
    bottom: auto;
    left: 0;
    height: 48px;
    pointer-events: none;
    background: linear-gradient(
      to bottom,
      rgba(255, 250, 250, 1) 0%,
      rgba(255, 250, 250, 0.2) 52%,
      rgba(255, 250, 250, 0) 100%
    ) !important;
  }

  .hero-clean-image::after {
    content: '';
    position: absolute;
    z-index: 0;
    top: calc(44% - 150px);
    right: 0;
    left: 0;
    height: 330px;
    pointer-events: none;
    background: linear-gradient(
      to bottom,
      #d2cfcd 0%,
      #d2cfcd 46%,
      rgba(210, 207, 205, 0.96) 54%,
      rgba(210, 207, 205, 0.78) 66%,
      rgba(210, 207, 205, 0.42) 82%,
      rgba(210, 207, 205, 0) 100%
    );
  }

  .hero-clean-image > div {
    width: 100% !important;
    margin-top: 0 !important;
    padding: clamp(1.75rem, 6vh, 3.5rem) 1.25rem 18rem !important;
    justify-content: flex-start !important;
    text-align: center !important;
  }

  .hero-clean-image > div > div {
    width: 100% !important;
    max-width: 22rem !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .hero-clean-image h1 {
    margin-bottom: 0.8rem !important;
    font-size: clamp(2.15rem, 10vw, 3.2rem) !important;
    line-height: 1.02 !important;
  }

  .hero-clean-image p {
    max-width: 21rem !important;
    margin: 0 auto 1.25rem !important;
    font-size: 0.78rem !important;
    line-height: 1.6 !important;
  }

  .hero-clean-image h1 + p {
    color: #4f3941 !important;
  }

  .hero-clean-image > div > div > .inline-flex.rounded-full {
    margin-bottom: 0.75rem !important;
  }

  .hero-clean-image h1 ~ div {
    justify-content: center !important;
    gap: 0.65rem !important;
  }

  .hero-clean-image h1 ~ div a {
    min-height: 44px;
    padding: 0.75rem 1.15rem !important;
    font-size: 0.65rem !important;
  }
}

/* Mobile navigation is a genuine menu instead of five compressed links. */
.zz-mobile-menu-toggle {
  display: none;
}

@media (max-width: 768px) {
  header > div:first-child {
    gap: 0.5rem !important;
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }

  .zz-mobile-menu-toggle {
    display: flex;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(122, 67, 80, 0.22);
    border-radius: 9999px;
    background: #fff;
    color: var(--zz-blush-ink);
    flex: 0 0 44px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    box-shadow: 0 5px 18px rgba(63, 0, 24, 0.08);
    transition: background-color 0.2s ease, border-color 0.2s ease;
  }

  .zz-header-actions {
    flex: 0 0 auto !important;
    margin-left: auto !important;
  }

  .zz-mobile-menu-toggle span {
    display: block;
    width: 18px;
    height: 1.5px;
    border-radius: 9999px;
    background: currentColor;
    transition: transform 0.22s ease, opacity 0.18s ease;
  }

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

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

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

  body header nav {
    display: block !important;
    width: 100% !important;
    max-height: 0 !important;
    overflow: hidden !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    border-top-color: transparent !important;
    transform: translateY(-4px);
    transition: max-height 0.3s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease, transform 0.3s ease, visibility 0s linear 0.3s !important;
  }

  body header nav.zz-mobile-menu-open {
    max-height: 25rem !important;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    border-top-color: rgba(243, 182, 182, 0.38) !important;
    transform: translateY(0);
    transition-delay: 0s !important;
  }

  body header nav > div {
    width: 100% !important;
    max-width: none !important;
    padding: 0.4rem 0.75rem 0.75rem !important;
  }

  body header nav ul {
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 0.15rem !important;
    overflow: visible !important;
    white-space: normal !important;
  }

  body header nav ul > li {
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    text-align: left !important;
  }

  body header nav ul li a {
    display: flex !important;
    align-items: center;
    width: 100% !important;
    min-height: 44px;
    padding: 0.7rem 0.9rem !important;
    border-bottom-width: 0 !important;
    border-radius: 0.65rem;
    font-size: 0.78rem !important;
    line-height: 1.35 !important;
    letter-spacing: 0.01em !important;
    text-align: left !important;
  }

  body header nav ul li a[aria-current="page"] {
    background: rgba(243, 182, 182, 0.25);
  }
}

@media (max-width: 380px) {
  header img[src$="logo-horizontal.svg"] {
    width: 145px !important;
    height: 44px !important;
  }

  header span:has(> img[src$="logo-horizontal.svg"]) {
    width: 145px !important;
    height: 44px !important;
    flex-basis: 145px !important;
  }
}

/* Fade between states without the previous whole-page downward motion. */
body.zz-body-loading .zz-page-reveal {
  opacity: 0 !important;
  filter: none !important;
  transform: none !important;
}

.zz-page-reveal,
body.zz-revealed .zz-page-reveal {
  filter: none !important;
  transform: none !important;
  transition: opacity 0.38s ease !important;
  will-change: opacity !important;
}

.reveal-on-scroll,
.zz-reveal {
  transform: translateY(7px) !important;
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.reveal-on-scroll.is-revealed,
.zz-reveal.zz-revealed {
  transform: translateY(0) !important;
}

.zz-delay-1,
.zz-delay-2,
.zz-delay-3,
.zz-delay-4 {
  transition-delay: 0s !important;
}

@keyframes cinematicFadeUp {
  from { opacity: 0; transform: translateY(7px); }
  to { opacity: 1; transform: translateY(0); }
}

::selection {
  background: var(--zz-blush);
  color: var(--zz-blush-ink);
}

/* Primary actions use the requested blush with dark text for readability. */
.bg-primary,
.bg-brand-magenta,
.btn-primary,
.btn-brand-pink,
.zz-btn-luxury,
.bg-\[\#f3b6b6\] {
  background: var(--zz-blush) !important;
  color: var(--zz-blush-ink) !important;
}

.hover\:bg-primary:hover,
.hover\:bg-brand-magenta:hover,
.btn-primary:hover,
.btn-brand-pink:hover,
.zz-btn-luxury:hover,
.hover\:bg-\[\#e89ea3\]:hover {
  background: var(--zz-blush-hover) !important;
  color: var(--zz-blush-ink) !important;
}

.text-on-primary,
.hover\:text-on-primary:hover,
.bg-primary.text-white,
.bg-brand-magenta.text-white,
.bg-\[\#f3b6b6\].text-white {
  color: var(--zz-blush-ink) !important;
}

/* Text accents remain darker than the button fill for accessible contrast. */
.text-primary,
.text-brand-magenta,
.hover\:text-primary:hover,
.hover\:text-brand-magenta:hover,
.group:hover .group-hover\:text-brand-magenta {
  color: var(--zz-blush-accent-ink) !important;
}

.border-primary,
.border-brand-magenta,
.hover\:border-primary:hover,
.hover\:border-brand-magenta:hover,
.focus\:border-primary:focus,
.focus\:border-brand-magenta:focus,
.border-\[\#f3b6b6\] {
  border-color: var(--zz-blush) !important;
}

.ring-primary,
.focus\:ring-primary:focus,
.focus\:ring-brand-magenta:focus {
  --tw-ring-color: rgba(243, 182, 182, 0.72) !important;
}

button:hover {
  box-shadow: 0 10px 24px -12px rgba(122, 67, 80, 0.38);
}

header {
  border-bottom-color: rgba(243, 182, 182, 0.38) !important;
}

/* Give the storefront brand more presence without crowding small screens. */
@media (min-width: 640px) {
  header > div[class] {
    height: auto !important;
    min-height: 106px !important;
  }

  header a[href="index.html"] > span {
    width: 300px !important;
    height: 90px !important;
    flex-basis: 300px !important;
  }

  header a[href="index.html"] > span > img[src*="logo-horizontal.svg"],
  header a[href="index.html"] > img[src*="logo-horizontal.svg"] {
    width: 300px !important;
    height: 90px !important;
    max-width: none !important;
    object-fit: contain !important;
  }

  footer img[src*="logo-horizontal.svg"] {
    width: 300px !important;
    height: 90px !important;
    max-width: none !important;
    object-fit: contain !important;
    object-position: left center !important;
    display: block !important;
  }

  footer a[href="index.html"]:has(> img[src*="logo-horizontal.svg"]) {
    width: 300px;
    align-self: flex-start;
  }
}

.product-card:hover {
  border-color: rgba(243, 182, 182, 0.72);
  box-shadow: 0 18px 42px rgba(122, 67, 80, 0.13);
}

.badge-dubai-express {
  background: var(--zz-blush) !important;
  color: var(--zz-blush-ink) !important;
  box-shadow: 0 4px 14px rgba(122, 67, 80, 0.18) !important;
}

.text-gradient {
  background: linear-gradient(135deg, var(--zz-blush-accent-ink), var(--zz-blush));
  -webkit-background-clip: text;
  background-clip: text;
}

::-webkit-scrollbar-thumb {
  background: var(--zz-blush);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--zz-blush-hover);
}

/* Cross-page navigation without the unstable cross-document View Transition API. */
body {
  animation: zz-page-flow-in 0.24s ease-out both;
}

html.zz-page-flow-out body {
  opacity: 0;
  transition: opacity 0.11s ease-in;
}

@keyframes zz-page-flow-out {
  from { opacity: 1; }
  to { opacity: 0; }
}

@keyframes zz-page-flow-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  body {
    animation-duration: 0.01ms;
  }

  html.zz-page-flow-out body {
    opacity: 1;
    transition: none;
  }
}
