@import url("https://fonts.googleapis.com/css2?family=Alexandria:wght@400;500;700;800;900&family=Manrope:wght@400;500;700;800&display=swap");

/* =========================================================
   Bloomette Maison Boutique UI
   Visual direction: clean luxury boutique, warm ivory, blush,
   chocolate typography, editorial product photography.
========================================================= */

:root {
  --bg: #fbf5ec;
  --bg-soft: #fffaf3;
  --paper: #fffdf8;
  --cream: #f6eadb;
  --sand: #e8d2b8;
  --blush: #eac7c2;
  --rose: #b8636f;
  --rose-deep: #7f3140;
  --cocoa: #2f2018;
  --cocoa-soft: #6e594e;
  --muted: #8a766c;
  --line: rgba(47, 32, 24, 0.12);
  --line-strong: rgba(47, 32, 24, 0.2);
  --white: #ffffff;
  --shadow: 0 24px 80px rgba(47, 32, 24, 0.11);
  --shadow-soft: 0 18px 46px rgba(47, 32, 24, 0.08);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --container: 1180px;
  --transition: 220ms ease;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Manrope", "Segoe UI", "Arial", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(234, 199, 194, 0.38), transparent 34rem),
    radial-gradient(circle at 90% 15%, rgba(232, 210, 184, 0.42), transparent 32rem),
    linear-gradient(180deg, var(--bg) 0%, #fffaf4 42%, #f8efe4 100%);
  color: var(--cocoa);
  line-height: 1.75;
  min-height: 100vh;
  overflow-x: hidden;
}

body[data-lang="ar"] {
  font-family: "Alexandria", "Tahoma", "Arial", sans-serif;
}

body[data-lang="ar"] .hero-copy h1,
body[data-lang="ar"] .section-title h2,
body[data-lang="ar"] .about-text h2,
body[data-lang="ar"] .contact-copy h2,
body[data-lang="ar"] .lookbook-copy h2,
body[data-lang="ar"] .detail-info h1,
body[data-lang="ar"] .brand-name {
  font-family: "Alexandria", "Tahoma", "Arial", sans-serif;
  font-weight: 800;
}

body[data-lang="ar"] .hero-copy h1 {
  letter-spacing: -0.05em;
}

body[data-lang="ar"] .logo-text small,
body[data-lang="ar"] .eyebrow,
body[data-lang="ar"] .section-label,
body[data-lang="ar"] .product-category,
body[data-lang="ar"] .detail-category {
  letter-spacing: 0;
}

.phone-number,
.numeric-ltr,
.contact-phone-row bdi,
input[type="tel"] {
  direction: ltr;
  unicode-bidi: isolate;
}

html[dir="rtl"] input[type="tel"],
html[dir="rtl"] .phone-number,
html[dir="rtl"] .contact-phone-row bdi {
  text-align: left;
}


body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.45;
  background-image:
    linear-gradient(rgba(47, 32, 24, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 32, 24, 0.025) 1px, transparent 1px);
  background-size: 42px 42px;
  z-index: -1;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin-inline: auto;
}

/* =========================
   Shared Components
========================= */

.primary-link,
.secondary-link,
.text-link,
.add-to-cart-btn,
.view-product-btn,
.checkout-btn,
.send-order-btn,
.detail-add-cart,
.detail-whatsapp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  border-radius: 999px;
  min-height: 48px;
  padding: 0 24px;
  font-weight: 800;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
}

.primary-link,
.checkout-btn,
.send-order-btn,
.detail-add-cart,
.add-to-cart-btn {
  background: var(--cocoa);
  color: var(--white);
  box-shadow: 0 16px 36px rgba(47, 32, 24, 0.18);
}

.primary-link:hover,
.checkout-btn:hover,
.send-order-btn:hover,
.detail-add-cart:hover,
.add-to-cart-btn:hover {
  transform: translateY(-2px);
  background: var(--rose-deep);
  box-shadow: 0 20px 46px rgba(127, 49, 64, 0.22);
}

.secondary-link,
.view-product-btn,
.detail-whatsapp-btn {
  border: 1px solid var(--line-strong);
  background: rgba(255, 253, 248, 0.72);
  color: var(--cocoa);
  backdrop-filter: blur(12px);
}

.secondary-link:hover,
.view-product-btn:hover,
.detail-whatsapp-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(127, 49, 64, 0.35);
  background: #fff7ef;
}

.text-link {
  min-height: auto;
  padding: 0;
  border-radius: 0;
  color: var(--rose-deep);
  font-weight: 900;
  position: relative;
}

.text-link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform-origin: right;
  transition: transform var(--transition);
}

.text-link:hover::after {
  transform: scaleX(0.58);
}

.eyebrow,
.section-label,
.section-title span,
.product-category,
.detail-category {
  display: inline-flex;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rose-deep);
  font-size: 0.78rem;
  font-weight: 900;
}

.section-title {
  margin-bottom: 28px;
}

.section-title h2,
.about-text h2,
.contact-copy h2,
.lookbook-copy h2,
.hero-copy h1,
.detail-info h1 {
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.section-title h2 {
  font-size: clamp(1.22rem, 2.45vw, 2.15rem);
  max-width: 840px;
  margin-top: 6px;
}

.section-title p,
.lookbook-copy p,
.about-text > p,
.contact-copy p,
.hero-copy p {
  color: var(--cocoa-soft);
  font-size: 1.04rem;
}

.split-title {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 30px;
  align-items: end;
}

.split-title p,
.product-title-row p {
  align-self: end;
}

/* =========================
   Top Bar + Header
========================= */

.top-bar {
  background: var(--cocoa);
  color: #fff8ef;
  font-size: 0.79rem;
  font-weight: 700;
}

.top-bar-inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  white-space: nowrap;
  overflow: hidden;
}

.top-bar-inner p {
  position: relative;
}

.top-bar-inner p:not(:last-child)::after {
  content: "•";
  position: absolute;
  left: -17px;
  color: var(--blush);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 245, 236, 0.76);
  backdrop-filter: blur(22px);
  border-bottom: 1px solid var(--line);
}

.header-content {
  min-height: 82px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: max-content;
}

.logo-mark {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  padding: 4px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #fff, #f2dfcf);
  box-shadow: 0 10px 28px rgba(47, 32, 24, 0.12);
}

.site-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

.logo-text {
  display: grid;
  line-height: 1.15;
}

.brand-name {
  font-size: 1.2rem;
  font-weight: 950;
}

.logo-text small {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-menu {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.58);
}

.nav-menu a {
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--cocoa-soft);
  font-weight: 800;
  font-size: 0.92rem;
  transition: background var(--transition), color var(--transition);
}

.nav-menu a:hover {
  color: var(--cocoa);
  background: var(--cream);
}

.cart-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--paper);
  padding: 9px 10px 9px 18px;
  color: var(--cocoa);
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(47, 32, 24, 0.07);
  transition: transform var(--transition), box-shadow var(--transition);
}

.cart-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(47, 32, 24, 0.11);
}

.cart-button strong {
  min-width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--rose-deep);
  color: var(--white);
}

.menu-btn {
  display: none;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--cocoa);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 1.4rem;
}

/* =========================
   Hero
========================= */

.hero-banner-section {
  padding: clamp(56px, 8vw, 110px) 0 60px;
  position: relative;
}

.hero-banner-section::before {
  content: "Bloomette";
  position: absolute;
  left: 2vw;
  top: 28px;
  font-size: clamp(4.5rem, 14vw, 13rem);
  line-height: 1;
  font-weight: 900;
  color: rgba(47, 32, 24, 0.035);
  pointer-events: none;
  direction: ltr;
}

.hero-banner-container {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(440px, 1.04fr);
  gap: clamp(36px, 6vw, 78px);
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero-copy h1 {
  margin: 14px 0 18px;
  font-size: clamp(1.45rem, 3.2vw, 2.85rem);
  max-width: 780px;
}

.hero-copy h1 span {
  display: block;
}

.hero-copy h1 em {
  display: block;
  font-style: normal;
  color: var(--rose-deep);
  font-size: clamp(0.78rem, 1.25vw, 1.08rem);
  margin-top: 10px;
}

.hero-copy p {
  max-width: 560px;
  font-size: 0.92rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 32px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 650px;
}

.hero-stats div {
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.64);
  border-radius: 22px;
  padding: 16px;
  min-height: 116px;
}

.hero-stats strong {
  display: block;
  font-size: 0.84rem;
  color: var(--rose-deep);
  margin-bottom: 6px;
}

.hero-stats span {
  color: var(--cocoa-soft);
  font-size: 0.9rem;
}

.hero-visual {
  min-height: 640px;
  position: relative;
  direction: ltr;
}

.hero-frame {
  position: absolute;
  overflow: hidden;
  background: var(--paper);
  border: 10px solid rgba(255, 253, 248, 0.9);
  box-shadow: var(--shadow);
  isolation: isolate;
  transition: transform 360ms ease, box-shadow 360ms ease;
}

.hero-frame:hover {
  transform: translateY(-8px) rotate(0deg);
  box-shadow: 0 30px 90px rgba(47, 32, 24, 0.18);
}

.hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease;
}

.hero-frame:hover img {
  transform: scale(1.05);
}

.hero-frame-main {
  inset: 34px 64px 34px 80px;
  border-radius: 45% 45% 34px 34px;
}

.hero-frame-main span {
  position: absolute;
  right: 22px;
  bottom: 22px;
  z-index: 2;
  background: rgba(47, 32, 24, 0.84);
  color: var(--white);
  padding: 9px 16px;
  border-radius: 999px;
  font-weight: 900;
  direction: ltr;
}

.hero-frame-side {
  width: 185px;
  height: 240px;
  border-radius: 34px;
}

.hero-mini-one {
  right: 0;
  top: 0;
  transform: rotate(5deg);
}

.hero-mini-two {
  left: 0;
  bottom: 4px;
  transform: rotate(-6deg);
}

.hero-note {
  position: absolute;
  right: 6px;
  bottom: 34px;
  width: 220px;
  background: var(--cocoa);
  color: var(--white);
  border-radius: 26px;
  padding: 20px;
  box-shadow: 0 20px 54px rgba(47, 32, 24, 0.2);
  direction: rtl;
}

.hero-note span {
  color: var(--blush);
  font-size: 0.78rem;
  font-weight: 900;
}

.hero-note strong {
  display: block;
  margin-top: 8px;
  line-height: 1.5;
}

/* =========================
   Marquee
========================= */

.brand-marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.56);
  overflow: hidden;
}

.brand-marquee-inner {
  display: flex;
  gap: 44px;
  width: max-content;
  padding: 16px 0;
  animation: marquee 22s linear infinite;
}

.brand-marquee-inner span {
  font-size: clamp(1.3rem, 3.4vw, 3.1rem);
  font-weight: 900;
  color: rgba(47, 32, 24, 0.16);
  letter-spacing: -0.05em;
  white-space: nowrap;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(50%); }
}

/* =========================
   Collections
========================= */

.collections-section,
.lookbook-section,
.products-section,
.about-section,
.how-order-section,
.contact-section {
  padding: clamp(70px, 10vw, 120px) 0;
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.collection-card {
  position: relative;
  min-height: 360px;
  border: 0;
  border-radius: 36px;
  overflow: hidden;
  background: var(--cocoa);
  color: var(--white);
  text-align: right;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  box-shadow: var(--shadow-soft);
  isolation: isolate;
  transition: transform 340ms ease, box-shadow 340ms ease;
}

.collection-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(47,32,24,0.08) 0%, rgba(47,32,24,0.78) 100%);
}

.collection-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 700ms ease;
}

.collection-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 70px rgba(47, 32, 24, 0.18);
}

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

.collection-card span {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255,255,255,0.32);
  color: var(--white);
  font-weight: 900;
  margin-bottom: auto;
}

.collection-card strong {
  font-size: 1.35rem;
  margin-bottom: 4px;
}

.collection-card small {
  color: rgba(255,255,255,0.82);
  font-size: 0.92rem;
}

/* =========================
   Lookbook
========================= */

.lookbook-section {
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.76), rgba(246, 234, 219, 0.55));
  border-block: 1px solid var(--line);
}

.lookbook-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.76fr) minmax(270px, 0.62fr);
  gap: 20px;
  align-items: stretch;
}

.lookbook-copy,
.lookbook-card {
  border-radius: 36px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.lookbook-copy {
  padding: clamp(28px, 5vw, 58px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.lookbook-copy h2 {
  font-size: clamp(1.55rem, 3vw, 2.65rem);
  margin: 8px 0 16px;
}

.lookbook-card {
  position: relative;
  overflow: hidden;
  min-height: 330px;
}

.lookbook-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lookbook-card span {
  position: absolute;
  right: 18px;
  bottom: 18px;
  background: rgba(255, 253, 248, 0.86);
  color: var(--cocoa);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 900;
}

.lookbook-card-tall {
  min-height: 510px;
}

.lookbook-stack {
  display: grid;
  gap: 20px;
}

.lookbook-card-light {
  min-height: auto;
  padding: 28px;
  background: var(--cocoa);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.lookbook-card-light strong {
  font-size: 1.6rem;
  line-height: 1.2;
}

.lookbook-card-light p {
  color: rgba(255,255,255,0.72);
  margin-top: 10px;
}

/* =========================
   Feature Strip
========================= */

.feature-strip {
  padding: 28px 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.feature-grid > div {
  background: rgba(255, 253, 248, 0.68);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 22px;
}

.feature-grid span {
  display: inline-flex;
  color: var(--rose-deep);
  font-weight: 900;
  margin-bottom: 8px;
}

.feature-grid strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.feature-grid p {
  color: var(--muted);
  font-size: 0.93rem;
}

/* =========================
   Products
========================= */

.product-title-row {
  display: grid;
  grid-template-columns: 1fr minmax(250px, 420px);
  gap: 24px;
  align-items: end;
}

.shop-tools {
  display: grid;
  grid-template-columns: minmax(240px, 360px) 1fr;
  gap: 18px;
  align-items: start;
  margin-bottom: 26px;
  position: sticky;
  top: 92px;
  z-index: 20;
  padding: 12px;
  border-radius: 28px;
  background: rgba(251, 245, 236, 0.72);
  backdrop-filter: blur(18px);
  border: 1px solid var(--line);
}

.search-box input,
.checkout-form input,
.checkout-form textarea,
.detail-size-select,
.detail-quantity-box input {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--paper);
  color: var(--cocoa);
  padding: 14px 18px;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.checkout-form textarea {
  border-radius: 22px;
  resize: vertical;
}

.search-box input:focus,
.checkout-form input:focus,
.checkout-form textarea:focus,
.detail-size-select:focus,
.detail-quantity-box input:focus {
  border-color: rgba(127, 49, 64, 0.36);
  box-shadow: 0 0 0 4px rgba(184, 99, 111, 0.12);
  background: #fff;
}

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

.filter-btn {
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--cocoa-soft);
  padding: 11px 16px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform var(--transition), color var(--transition), background var(--transition), border-color var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  color: var(--white);
  background: var(--cocoa);
  border-color: var(--cocoa);
  transform: translateY(-1px);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.product-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 34px;
  overflow: hidden;
  box-shadow: 0 16px 45px rgba(47, 32, 24, 0.07);
  transition: transform 320ms ease, box-shadow 320ms ease, border-color 320ms ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.product-card:hover,
.product-card:focus-visible {
  transform: translateY(-8px);
  box-shadow: 0 28px 70px rgba(47, 32, 24, 0.13);
  border-color: rgba(127, 49, 64, 0.22);
  outline: none;
}

.product-image-wrap {
  position: relative;
  background: var(--cream);
  aspect-ratio: 0.82;
  overflow: hidden;
  border-radius: 30px;
  margin: 10px;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}

.product-card:hover .product-image {
  transform: scale(1.055);
}

.product-badge {
  position: absolute;
  z-index: 3;
  right: 14px;
  top: 14px;
  background: var(--rose-deep);
  color: var(--white);
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(127, 49, 64, 0.25);
}

.product-content {
  padding: 8px 18px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.product-rating,
.detail-stars {
  color: #b87400;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.product-title {
  font-size: 1.12rem;
  line-height: 1.35;
  margin-bottom: 8px;
}

.product-title-link {
  color: var(--cocoa);
}

.product-excerpt {
  color: var(--muted);
  font-size: 0.91rem;
  line-height: 1.58;
  min-height: 58px;
}

.product-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 12px 0 4px;
}

.product-price,
.detail-price-row strong {
  font-size: 1.25rem;
  color: var(--rose-deep);
  font-weight: 950;
}

.old-price,
.detail-price-row span {
  color: var(--muted);
  text-decoration: line-through;
  font-size: 0.92rem;
}

.product-review-count {
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 12px;
}

.size-select-wrapper {
  margin-top: auto;
  margin-bottom: 12px;
}

.size-select-wrapper label {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  margin-bottom: 6px;
  font-weight: 800;
}

.product-size-select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fffaf4;
  padding: 11px 14px;
  color: var(--cocoa);
  outline: none;
}

.product-actions-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: auto;
}

.view-product-btn,
.add-to-cart-btn {
  min-height: 42px;
  padding: 0 12px;
  font-size: 0.83rem;
}

.empty-message,
.product-not-found,
.empty-cart {
  grid-column: 1 / -1;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 34px;
  text-align: center;
  color: var(--muted);
}

/* =========================
   About + Order + Contact
========================= */

.about-content,
.contact-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.74fr);
  gap: 28px;
  align-items: center;
}

.about-text,
.contact-copy,
.contact-card {
  background: rgba(255, 253, 248, 0.74);
  border: 1px solid var(--line);
  border-radius: 38px;
  padding: clamp(28px, 5vw, 56px);
  box-shadow: var(--shadow-soft);
}

.about-text h2,
.contact-copy h2 {
  font-size: clamp(2rem, 4.7vw, 4.5rem);
  margin: 8px 0 16px;
}

.about-boxes {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.about-box {
  background: #fff7ef;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 18px;
}

.about-box h3 {
  margin-bottom: 4px;
}

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

.about-visual {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 14px;
  align-items: end;
  min-height: 520px;
}

.about-visual img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  border-radius: 42px 42px 24px 24px;
  box-shadow: var(--shadow);
  border: 8px solid var(--paper);
}

.about-visual img:nth-child(2) {
  min-height: 310px;
  border-radius: 28px;
  transform: translateY(-36px);
}

.order-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.order-step {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 26px;
  box-shadow: var(--shadow-soft);
}

.order-step span {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--cocoa);
  color: var(--white);
  font-weight: 900;
  margin-bottom: 18px;
}

.order-step h3 {
  font-size: 1.18rem;
  margin-bottom: 6px;
}

.order-step p {
  color: var(--muted);
}

.contact-section {
  padding-bottom: 90px;
}

.contact-copy {
  background: var(--cocoa);
  color: var(--white);
}

.contact-copy .section-label,
.contact-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.contact-copy .primary-link {
  background: var(--white);
  color: var(--cocoa);
  margin-top: 20px;
}

.contact-card {
  display: grid;
  gap: 14px;
}

.contact-card p {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}

.contact-card p:last-child {
  border-bottom: 0;
}

.contact-card strong {
  color: var(--cocoa);
}

.contact-socials {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

/* =========================
   Cart Panel
========================= */

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(47, 32, 24, 0.34);
  backdrop-filter: blur(5px);
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

.cart-panel {
  position: fixed;
  top: 0;
  left: 0;
  width: min(440px, 100%);
  height: 100vh;
  background: var(--paper);
  z-index: 100;
  transform: translateX(-104%);
  transition: transform 300ms ease;
  box-shadow: 32px 0 80px rgba(47, 32, 24, 0.2);
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
}

.cart-panel.active {
  transform: translateX(0);
}

.cart-header,
.cart-footer {
  padding: 22px;
  border-bottom: 1px solid var(--line);
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-header h2 {
  font-size: 1.35rem;
}

.close-cart,
.remove-cart-btn {
  border: 0;
  background: #f4e5d6;
  color: var(--cocoa);
  border-radius: 999px;
  font-weight: 900;
}

.close-cart {
  width: 42px;
  height: 42px;
  font-size: 1.4rem;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 18px;
  display: grid;
  gap: 12px;
  align-content: start;
}

.cart-item {
  display: grid;
  grid-template-columns: 78px 1fr auto;
  gap: 12px;
  background: #fff7ef;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 10px;
}

.cart-item img {
  width: 78px;
  height: 92px;
  border-radius: 16px;
  object-fit: cover;
}

.cart-item h4 {
  font-size: 0.96rem;
  line-height: 1.35;
}

.cart-item-info p,
.cart-item-size {
  color: var(--muted);
  font-size: 0.85rem;
}

.quantity-controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  background: var(--paper);
}

.quantity-controls button {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: var(--cream);
  color: var(--cocoa);
  font-weight: 900;
}

.remove-cart-btn {
  align-self: start;
  padding: 7px 10px;
  font-size: 0.78rem;
}

.cart-footer {
  border-top: 1px solid var(--line);
  border-bottom: 0;
}

.cart-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  font-size: 1.05rem;
}

.checkout-btn,
.send-order-btn {
  width: 100%;
}

.checkout-form {
  display: none;
  gap: 10px;
  margin-top: 12px;
}

.checkout-form.active {
  display: grid;
}

/* =========================
   Product Detail Page
========================= */

.product-detail-page {
  padding: 54px 0 100px;
}

.back-products-link {
  display: inline-flex;
  color: var(--rose-deep);
  font-weight: 900;
  margin-bottom: 24px;
}

.product-detail-layout {
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 60px);
  align-items: start;
}

.detail-gallery,
.detail-info {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 38px;
  box-shadow: var(--shadow-soft);
}

.detail-gallery {
  padding: 14px;
  position: sticky;
  top: 110px;
}

.detail-main-image-wrap {
  position: relative;
  aspect-ratio: 0.82;
  overflow: hidden;
  border-radius: 30px;
  background: var(--cream);
}

.detail-main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-thumbnails {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.detail-thumb {
  border: 2px solid transparent;
  border-radius: 18px;
  overflow: hidden;
  background: transparent;
  aspect-ratio: 1;
  opacity: 0.72;
  transition: opacity var(--transition), border-color var(--transition), transform var(--transition);
}

.detail-thumb.active,
.detail-thumb:hover {
  opacity: 1;
  border-color: var(--rose-deep);
  transform: translateY(-2px);
}

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

.detail-info {
  padding: clamp(24px, 5vw, 54px);
}

.detail-info h1 {
  font-size: clamp(2rem, 5vw, 4.6rem);
  margin: 8px 0 14px;
}

.detail-rating-row,
.detail-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.detail-short-desc {
  white-space: pre-line;
  color: var(--cocoa-soft);
  background: #fff7ef;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 20px;
  margin: 20px 0;
}

.detail-description-box {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 20px;
}

.detail-description-box h2 {
  font-size: 1.12rem;
  margin-bottom: 8px;
}

.detail-description-box p,
.detail-description-box ul {
  color: var(--muted);
  white-space: pre-line;
}

.detail-description-box ul {
  list-style: none;
  display: grid;
  gap: 8px;
}

.detail-description-box li::before {
  content: "✓";
  color: var(--rose-deep);
  font-weight: 900;
  margin-left: 8px;
}

.detail-field {
  margin-top: 18px;
}

.detail-field label {
  display: block;
  font-weight: 900;
  margin-bottom: 8px;
}

.detail-quantity-box {
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  gap: 8px;
  max-width: 240px;
}

.detail-quantity-box button {
  border: 0;
  border-radius: 50%;
  background: var(--cream);
  color: var(--cocoa);
  font-size: 1.25rem;
  font-weight: 900;
}

.detail-quantity-box input {
  text-align: center;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.detail-actions > * {
  flex: 1;
  min-width: 220px;
}

/* =========================
   Footer + Floating + Lightbox
========================= */

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #1f8f57;
  color: var(--white);
  border-radius: 999px;
  padding: 12px 16px;
  font-weight: 900;
  box-shadow: 0 16px 36px rgba(31, 143, 87, 0.28);
}

.whatsapp-float-icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--cocoa);
  color: rgba(255,255,255,0.82);
  padding: 26px 0;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-copy,
.footer-location {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-copy .brand-name {
  color: var(--white);
}

.image-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(20, 12, 8, 0.9);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.image-lightbox.active {
  display: flex;
}

.image-lightbox img {
  max-width: 92vw;
  max-height: 86vh;
  object-fit: contain;
  cursor: grab;
  transition: transform 120ms ease;
}

.image-lightbox img.dragging {
  cursor: grabbing;
}

.lightbox-close,
.lightbox-tools button {
  border: 0;
  background: var(--paper);
  color: var(--cocoa);
  border-radius: 50%;
  font-weight: 900;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 46px;
  height: 46px;
  font-size: 1.5rem;
}

.lightbox-tools {
  position: absolute;
  top: 18px;
  left: 18px;
  display: flex;
  gap: 8px;
}

.lightbox-tools button {
  width: 42px;
  height: 42px;
  font-size: 1.1rem;
}

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

@media (max-width: 1100px) {
  .hero-banner-container,
  .lookbook-grid,
  .about-content,
  .contact-content,
  .product-detail-layout {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 580px;
  }

  .collection-grid,
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-gallery {
    position: static;
  }
}

@media (max-width: 860px) {
  .top-bar-inner {
    justify-content: flex-start;
    overflow-x: auto;
    gap: 24px;
    scrollbar-width: none;
  }

  .header-content {
    grid-template-columns: auto auto auto;
  }

  .menu-btn {
    display: grid;
    place-items: center;
    justify-self: center;
  }

  .nav-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 16px;
    left: 16px;
    display: none;
    border-radius: 26px;
    padding: 12px;
    background: var(--paper);
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu a {
    text-align: center;
  }

  .logo-text small {
    display: none;
  }

  .split-title,
  .product-title-row,
  .shop-tools,
  .feature-grid,
  .order-steps {
    grid-template-columns: 1fr;
  }

  .shop-tools {
    position: static;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 500px;
  }

  .hero-frame-main {
    inset: 20px 42px 40px 42px;
  }

  .hero-frame-side {
    width: 140px;
    height: 190px;
  }

  .hero-note {
    width: 190px;
    bottom: 18px;
  }

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

@media (max-width: 620px) {
  .container {
    width: min(100% - 22px, var(--container));
  }

  .site-header .brand-name {
    font-size: 1rem;
  }

  .logo-mark {
    width: 44px;
    height: 44px;
  }

  .cart-button span {
    display: none;
  }

  .hero-banner-section {
    padding-top: 42px;
  }

  .hero-copy h1 {
    font-size: clamp(1.35rem, 7vw, 2.15rem);
  }

  .hero-copy h1 em {
    font-size: clamp(0.75rem, 3.4vw, 1rem);
  }

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

  .hero-actions a {
    width: 100%;
  }

  .hero-visual {
    min-height: 430px;
  }

  .hero-frame-main {
    inset: 30px 20px 54px 20px;
    border-radius: 42% 42% 26px 26px;
  }

  .hero-mini-one {
    top: 0;
    right: -4px;
  }

  .hero-mini-two {
    bottom: 0;
    left: -4px;
  }

  .hero-note {
    display: none;
  }

  .collection-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .collection-card {
    min-height: 300px;
  }

  .lookbook-grid {
    gap: 14px;
  }

  .about-visual {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .about-visual img,
  .about-visual img:nth-child(2) {
    min-height: 320px;
    transform: none;
  }

  .product-actions-row {
    grid-template-columns: 1fr;
  }

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

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

  .remove-cart-btn {
    grid-column: 1 / -1;
    width: 100%;
  }

  .whatsapp-float-text {
    display: none;
  }
}

/* =========================
   Language Switcher
========================= */
.header-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: max-content;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.72);
  box-shadow: 0 10px 24px rgba(47, 32, 24, 0.06);
}

.lang-btn {
  border: 0;
  min-width: 36px;
  height: 32px;
  border-radius: 999px;
  background: transparent;
  color: var(--cocoa-soft);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.05em;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

.lang-btn:hover,
.lang-btn.active {
  background: var(--cocoa);
  color: var(--white);
  transform: translateY(-1px);
}

html[dir="ltr"] body {
  text-align: left;
}

html[dir="ltr"] .text-link::after {
  right: auto;
  left: 0;
  transform-origin: left;
}

@media (max-width: 860px) {
  .header-actions {
    gap: 6px;
  }

  .language-switcher {
    padding: 4px;
  }

  .lang-btn {
    min-width: 31px;
    height: 30px;
    font-size: 0.68rem;
  }

  .cart-button {
    padding: 8px 8px 8px 12px;
  }
}

@media (max-width: 520px) {
  .header-content {
    gap: 8px;
  }

  .logo-mark {
    width: 44px;
    height: 44px;
  }

  .brand-name {
    font-size: 1rem;
  }

  .header-actions {
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
  }

  .language-switcher {
    order: 2;
  }

  .cart-button {
    min-height: 38px;
    padding: 6px 7px;
  }

  .cart-button strong {
    min-width: 28px;
    height: 28px;
  }
}


/* =========================
   Text Size Refinement
   Smaller premium typography
========================= */
.hero-copy h1 {
  font-size: clamp(1.45rem, 3.2vw, 2.85rem);
  max-width: 680px;
}

.hero-copy h1 em {
  font-size: clamp(0.78rem, 1.25vw, 1.08rem);
}

.hero-copy p {
  font-size: 0.92rem;
  max-width: 500px;
}

.section-title h2,
.about-text h2,
.contact-copy h2,
.lookbook-copy h2,
.detail-info h1 {
  font-size: clamp(1.22rem, 2.45vw, 2.15rem);
}

.section-title p,
.lookbook-copy p,
.about-text > p,
.contact-copy p {
  font-size: 0.95rem;
}

@media (max-width: 620px) {
  .hero-copy h1 {
    font-size: clamp(1.35rem, 7vw, 2.15rem);
  }

  .hero-copy h1 em {
    font-size: clamp(0.75rem, 3.4vw, 1rem);
  }

  .section-title h2,
  .about-text h2,
  .contact-copy h2,
  .lookbook-copy h2,
  .detail-info h1 {
    font-size: clamp(1.15rem, 6vw, 1.85rem);
  }
}

/* =========================================================
   Mobile Shop System Redesign
   Direction: clean catalog, fast mobile browsing, compact cards.
   This block intentionally overrides the previous boutique look
   while keeping the same HTML, product data, images and cart logic.
========================================================= */
:root {
  --bg: #f6f2ea;
  --bg-soft: #fbf8f2;
  --paper: #ffffff;
  --cream: #ede7dc;
  --sand: #d8c9b6;
  --blush: #c9d6c5;
  --rose: #55715f;
  --rose-deep: #22372a;
  --cocoa: #1c221d;
  --cocoa-soft: #566255;
  --muted: #7a8177;
  --line: rgba(28, 34, 29, 0.1);
  --line-strong: rgba(28, 34, 29, 0.18);
  --white: #ffffff;
  --shadow: 0 18px 60px rgba(31, 39, 31, 0.12);
  --shadow-soft: 0 12px 34px rgba(31, 39, 31, 0.08);
}

html {
  scroll-padding-top: 108px;
}

body {
  background:
    radial-gradient(circle at 8% 0%, rgba(201, 214, 197, 0.45), transparent 34rem),
    radial-gradient(circle at 95% 12%, rgba(216, 201, 182, 0.38), transparent 30rem),
    linear-gradient(180deg, #f7f4ee 0%, #fbf8f2 48%, #f3ede3 100%);
  color: var(--cocoa);
}

body::before {
  opacity: 0.16;
  background-size: 26px 26px;
}

.top-bar {
  background: var(--cocoa);
  color: #fff;
  border: 0;
}

.top-bar-inner {
  min-height: 36px;
  justify-content: center;
  gap: 34px;
  font-size: 0.78rem;
  letter-spacing: 0;
}

.site-header {
  top: 0;
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(28, 34, 29, 0.08);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 30px rgba(28, 34, 29, 0.06);
}

.header-content {
  min-height: 76px;
}

.logo-mark {
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 26px rgba(28, 34, 29, 0.08);
}

.brand-name {
  color: var(--cocoa);
  letter-spacing: -0.02em;
}

.logo-text small,
.nav-menu a,
.lang-btn {
  color: var(--cocoa-soft);
}

.nav-menu a {
  border-radius: 999px;
  padding: 9px 13px;
}

.nav-menu a:hover {
  background: #f0eadf;
  color: var(--cocoa);
}

.cart-button,
.lang-btn.active {
  background: var(--cocoa);
  color: var(--white);
  border-color: var(--cocoa);
}

.hero-banner-section {
  padding: 48px 0 28px;
}

.hero-banner-container {
  grid-template-columns: minmax(0, 0.94fr) minmax(360px, 0.72fr);
  align-items: center;
  gap: clamp(22px, 4vw, 58px);
}

.hero-copy {
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--line);
  border-radius: 36px;
  padding: clamp(24px, 4.5vw, 48px);
  box-shadow: var(--shadow-soft);
}

.eyebrow,
.section-label,
.section-title span {
  color: var(--rose-deep);
  font-weight: 900;
}

.hero-copy h1 {
  line-height: 1.15;
  max-width: 760px;
}

.hero-copy h1 em {
  color: var(--cocoa-soft);
  margin-top: 12px;
}

.primary-link,
.checkout-btn,
.send-order-btn,
.detail-add-cart,
.add-to-cart-btn {
  background: var(--cocoa);
  box-shadow: 0 12px 28px rgba(28, 34, 29, 0.16);
}

.primary-link:hover,
.checkout-btn:hover,
.send-order-btn:hover,
.detail-add-cart:hover,
.add-to-cart-btn:hover {
  background: var(--rose-deep);
}

.secondary-link,
.view-product-btn,
.detail-whatsapp-btn {
  background: #f1eadf;
  color: var(--cocoa);
  border: 1px solid var(--line);
}

.hero-stats div,
.feature-grid div,
.order-step,
.about-text,
.contact-card,
.lookbook-card,
.lookbook-card-light {
  background: rgba(255, 255, 255, 0.82);
  border-color: var(--line);
  box-shadow: var(--shadow-soft);
}

.hero-visual {
  min-height: 520px;
}

.hero-frame {
  border-color: #fff;
  box-shadow: 0 24px 70px rgba(28, 34, 29, 0.16);
}

.hero-frame-main {
  border-radius: 42px;
  inset: 20px 42px 28px 28px;
}

.hero-frame-main span {
  background: var(--cocoa);
  color: #fff;
}

.hero-frame-side {
  border-radius: 26px;
}

.hero-note {
  background: #fff;
  color: var(--cocoa);
  border-color: var(--line);
  box-shadow: var(--shadow-soft);
}

.brand-marquee {
  background: var(--cocoa);
  color: #fff;
  border: 0;
}

.collection-card {
  min-height: 350px;
  border-radius: 30px;
  box-shadow: var(--shadow-soft);
}

.collection-card::after {
  background: linear-gradient(180deg, transparent 20%, rgba(12, 20, 14, 0.72) 100%);
}

.products-section {
  padding-top: 54px;
}

.product-title-row {
  margin-bottom: 18px;
}

.shop-tools {
  display: grid;
  grid-template-columns: minmax(250px, 380px) 1fr;
  gap: 14px;
  align-items: center;
  margin-bottom: 12px;
  position: sticky;
  top: 86px;
  z-index: 28;
  padding: 10px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 44px rgba(28, 34, 29, 0.09);
}

.search-box input,
.checkout-form input,
.checkout-form textarea,
.detail-size-select,
.detail-quantity-box input {
  border-radius: 16px;
  background: #fff;
  border-color: var(--line-strong);
  min-height: 48px;
}

.filters {
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.filters::-webkit-scrollbar,
.top-bar-inner::-webkit-scrollbar {
  display: none;
}

.filter-btn {
  flex: 0 0 auto;
  background: #f3ede3;
  border-color: transparent;
  color: var(--cocoa-soft);
  padding: 10px 15px;
  min-height: 42px;
  white-space: nowrap;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--cocoa);
  border-color: var(--cocoa);
  color: #fff;
}

.product-results-count {
  margin: 0 0 14px;
  color: var(--muted);
  font-weight: 900;
  font-size: 0.92rem;
}

.product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.product-card {
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(28, 34, 29, 0.08);
  box-shadow: 0 10px 28px rgba(31, 39, 31, 0.07);
  overflow: hidden;
  isolation: isolate;
}

.product-card:hover,
.product-card:focus-visible {
  transform: translateY(-5px);
  box-shadow: 0 18px 44px rgba(31, 39, 31, 0.13);
  border-color: rgba(34, 55, 42, 0.18);
}

.product-image-wrap {
  margin: 8px;
  aspect-ratio: 1 / 1.05;
  border-radius: 18px;
  background: #f0eadf;
}

.product-image {
  object-fit: cover;
}

.product-badge {
  right: 10px;
  top: 10px;
  background: #fff;
  color: var(--cocoa);
  border: 1px solid var(--line);
  padding: 6px 10px;
  box-shadow: 0 10px 22px rgba(28, 34, 29, 0.12);
}

.product-content {
  padding: 8px 12px 13px;
}

.product-meta-row {
  margin-bottom: 5px;
}

.product-category {
  background: #eef2ea;
  color: var(--rose-deep);
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 0.72rem;
  font-weight: 900;
}

.product-rating {
  color: #bf8b2e;
  font-size: 0.8rem;
}

.product-title {
  font-size: 0.98rem;
  line-height: 1.45;
  margin-bottom: 7px;
}

.product-title-link {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-excerpt {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.55;
  min-height: auto;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 7px;
}

.product-price-row {
  margin: 8px 0 5px;
  gap: 7px;
  flex-wrap: wrap;
}

.product-price,
.detail-price-row strong {
  font-size: 1.12rem;
  color: var(--rose-deep);
}

.old-price,
.detail-price-row span {
  font-size: 0.82rem;
}

.product-delivery-chip {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  border-radius: 999px;
  background: #f7f3ec;
  color: var(--cocoa-soft);
  padding: 4px 9px;
  font-size: 0.74rem;
  font-weight: 900;
}

.product-review-count {
  display: none;
}

.product-size-box {
  margin-top: 9px;
}

.product-size-box label {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  margin-bottom: 5px;
  font-weight: 900;
}

.product-size-select {
  min-height: 40px;
  border-radius: 14px;
  background: #fff;
}

.product-actions-row {
  grid-template-columns: 0.9fr 1fr;
  gap: 7px;
  margin-top: 10px;
}

.view-product-btn,
.add-to-cart-btn {
  min-height: 40px;
  padding: 0 10px;
  border-radius: 14px;
  font-size: 0.8rem;
}

.about-content,
.contact-content,
.product-detail-layout {
  gap: 20px;
}

.contact-copy {
  background: var(--cocoa);
}

.cart-panel {
  border-radius: 28px 0 0 28px;
  background: #fff;
}

.cart-item {
  border-radius: 18px;
  background: #f8f5ef;
  border: 1px solid var(--line);
}

.whatsapp-float {
  bottom: 18px;
  background: #1f7a4f;
  box-shadow: 0 16px 36px rgba(31, 122, 79, 0.25);
}

.mobile-shop-nav {
  display: none;
}

@media (max-width: 1100px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  html {
    scroll-padding-top: 86px;
  }

  body {
    padding-bottom: 78px;
  }

  .top-bar-inner {
    justify-content: flex-start;
    gap: 28px;
  }

  .header-content {
    grid-template-columns: 1fr auto auto;
    min-height: 66px;
  }

  .logo-with-image {
    min-width: 0;
  }

  .nav-menu {
    background: #fff;
    box-shadow: 0 18px 46px rgba(28, 34, 29, 0.14);
  }

  .language-switcher {
    display: none;
  }

  .hero-banner-section {
    padding-top: 24px;
  }

  .hero-banner-container {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    border-radius: 28px;
    padding: 24px;
  }

  .hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .hero-stats div {
    padding: 12px;
    border-radius: 18px;
  }

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

  .hero-visual {
    min-height: 390px;
  }

  .hero-frame-main {
    inset: 12px 20px 26px 20px;
    border-radius: 30px;
  }

  .hero-frame-side,
  .hero-note {
    display: none;
  }

  .collection-grid {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    scroll-snap-type: x mandatory;
    padding-bottom: 4px;
  }

  .collection-card {
    min-width: 74vw;
    min-height: 270px;
    scroll-snap-align: start;
  }

  .shop-tools {
    grid-template-columns: 1fr;
    position: sticky;
    top: 66px;
    border-radius: 0 0 22px 22px;
    margin-inline: -11px;
    margin-bottom: 12px;
    padding-inline: 11px;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
  }

  .whatsapp-float {
    display: none;
  }

  .mobile-shop-nav {
    position: fixed;
    right: 10px;
    left: 10px;
    bottom: 10px;
    z-index: 80;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    padding: 8px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--line);
    box-shadow: 0 18px 50px rgba(28, 34, 29, 0.18);
    backdrop-filter: blur(18px);
  }

  .mobile-shop-nav a,
  .mobile-shop-nav button {
    min-height: 44px;
    border: 0;
    border-radius: 16px;
    background: #f4eee5;
    color: var(--cocoa);
    font-weight: 900;
    font-size: 0.78rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
  }

  .mobile-shop-nav a:last-child,
  .mobile-shop-nav button {
    background: var(--cocoa);
    color: #fff;
  }

  .mobile-shop-nav strong {
    min-width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
  }

  .cart-panel {
    width: min(100%, 420px);
    border-radius: 24px 0 0 24px;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 22px, var(--container));
  }

  .top-bar-inner {
    font-size: 0.72rem;
    min-height: 32px;
  }

  .site-header .brand-name {
    font-size: 0.95rem;
  }

  .logo-mark {
    width: 42px;
    height: 42px;
    border-radius: 15px;
  }

  .cart-button {
    min-width: 42px;
  }

  .menu-btn {
    width: 42px;
    height: 42px;
  }

  .hero-copy h1 {
    font-size: clamp(1.55rem, 8.2vw, 2.25rem);
  }

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

  .hero-actions {
    gap: 8px;
  }

  .hero-actions a {
    min-height: 46px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 315px;
  }

  .hero-frame-main {
    inset: 0;
  }

  .brand-marquee {
    padding: 10px 0;
  }

  .section-title {
    margin-bottom: 18px;
  }

  .section-title h2,
  .about-text h2,
  .contact-copy h2,
  .lookbook-copy h2,
  .detail-info h1 {
    font-size: clamp(1.2rem, 6.2vw, 1.72rem);
  }

  .product-title-row p {
    font-size: 0.88rem;
  }

  .search-box input {
    min-height: 44px;
    padding: 12px 14px;
  }

  .filter-btn {
    min-height: 38px;
    padding: 8px 13px;
    font-size: 0.8rem;
  }

  .product-card {
    border-radius: 18px;
  }

  .product-image-wrap {
    margin: 6px;
    border-radius: 14px;
    aspect-ratio: 1 / 1.08;
  }

  .product-content {
    padding: 6px 8px 9px;
  }

  .product-meta-row {
    align-items: flex-start;
  }

  .product-category {
    font-size: 0.65rem;
    padding: 3px 7px;
  }

  .product-rating {
    display: none;
  }

  .product-title {
    font-size: 0.84rem;
    line-height: 1.45;
    margin-bottom: 5px;
  }

  .product-price-row {
    margin: 6px 0 4px;
  }

  .product-price {
    font-size: 0.96rem;
  }

  .old-price {
    font-size: 0.72rem;
  }

  .product-delivery-chip {
    font-size: 0.66rem;
    padding: 3px 7px;
  }

  .product-excerpt {
    display: none;
  }

  .product-size-box {
    margin-top: 7px;
  }

  .product-size-box label {
    font-size: 0.68rem;
  }

  .product-size-select {
    min-height: 36px;
    font-size: 0.75rem;
    padding: 7px 8px;
  }

  .product-actions-row {
    grid-template-columns: 1fr;
    gap: 6px;
    margin-top: 7px;
  }

  .view-product-btn,
  .add-to-cart-btn {
    min-height: 36px;
    border-radius: 12px;
    font-size: 0.74rem;
  }

  .about-text,
  .contact-copy,
  .contact-card {
    border-radius: 26px;
    padding: 22px;
  }

  .cart-panel {
    inset-inline: 0 0;
    width: 100%;
    border-radius: 24px 24px 0 0;
    top: auto;
    height: min(86vh, 720px);
    transform: translateY(110%);
  }

  .cart-panel.active {
    transform: translateY(0);
  }
}

@media (max-width: 370px) {
  .product-grid {
    gap: 8px;
  }

  .product-content {
    padding-inline: 7px;
  }

  .product-title {
    font-size: 0.79rem;
  }

  .view-product-btn,
  .add-to-cart-btn {
    font-size: 0.7rem;
  }
}

/* =========================================================
   Mobile cart checkout visibility fix
   Keeps checkout/send-order buttons reachable on small phones.
========================================================= */
.cart-panel {
  max-height: 100dvh;
}

.cart-items {
  min-height: 0;
}

.cart-footer {
  flex: 0 0 auto;
}

.checkout-form.active {
  min-height: 0;
}

@media (max-width: 620px) {
  .cart-panel {
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    height: calc(100dvh - 10px);
    max-height: calc(100dvh - 10px);
    border-radius: 24px 24px 0 0;
    overflow: hidden;
  }

  .cart-header {
    padding: 13px 16px;
  }

  .cart-items {
    flex: 1 1 auto;
    min-height: 92px;
    padding: 12px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .cart-footer {
    flex: 0 0 auto;
    max-height: 58dvh;
    padding: 13px 14px calc(16px + env(safe-area-inset-bottom));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: #fff;
    box-shadow: 0 -12px 30px rgba(28, 34, 29, 0.08);
  }

  .cart-total-row {
    margin-bottom: 9px;
  }

  .checkout-form {
    gap: 8px;
    margin-top: 10px;
  }

  .checkout-form input,
  .checkout-form textarea {
    min-height: 42px;
    font-size: 16px;
  }

  .checkout-form textarea {
    min-height: 74px;
  }

  .checkout-btn,
  .send-order-btn {
    min-height: 48px;
  }

  .send-order-btn {
    position: sticky;
    bottom: 0;
    z-index: 2;
    box-shadow: 0 10px 26px rgba(47, 32, 24, 0.18);
  }
}

@supports (height: 100svh) {
  @media (max-width: 620px) {
    .cart-panel {
      height: calc(100svh - 10px);
      max-height: calc(100svh - 10px);
    }

    .cart-footer {
      max-height: 58svh;
    }
  }
}

