:root {
  --cream: #f6f3ec;
  --cream-dark: #e7dccf;
  --paper: #fffcf7;
  --ink: #23372e;
  --muted: #6b736f;
  --green: #23372e;
  --green-dark: #1a2922;
  --blush: #d8b5b1;
  --blush-soft: #f3e6e4;
  --line: rgba(35, 55, 46, 0.12);
  --shadow: 0 18px 50px rgba(35, 55, 46, 0.08);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Cairo, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.7;
}

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

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

.draft-banner {
  background: var(--green);
  color: #fff;
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.04em;
  padding: 8px 16px;
}

.topbar {
  display: flex;
  align-items: center;
  gap: 18px 24px;
  padding: 12px 5%;
  background: rgba(246, 243, 236, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}

.logo {
  flex: 0 0 auto;
}

.logo img {
  height: 48px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  object-position: right center;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--green);
  border-radius: 999px;
  padding: 8px 14px;
  font-family: inherit;
  font-size: 13px;
  cursor: pointer;
}

nav {
  display: flex;
  flex: 1 1 auto;
  justify-content: center;
  gap: 8px 22px;
  font-size: 15px;
  min-width: 0;
}

nav a {
  color: var(--muted);
  padding: 4px 0 6px;
  box-shadow: inset 0 -2px 0 transparent;
}

nav a:hover,
nav a.is-active {
  color: var(--green);
  box-shadow: inset 0 -2px 0 var(--blush);
}

.actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  flex-wrap: nowrap;
  margin-inline-start: auto;
}

.branch-chip,
.icon-btn,
.btn {
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

.branch-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 12px 4px 8px;
  font-size: 13px;
  color: var(--green);
  text-decoration: none;
  appearance: none;
  box-shadow: none;
}

.branch-chip:hover {
  border-color: var(--blush);
  background: var(--blush-soft);
}

.branch-chip:focus,
.branch-chip:focus-visible {
  outline: none;
  border-color: var(--blush);
  box-shadow: 0 0 0 3px var(--blush-soft);
}

.chip-mode {
  background: var(--blush);
  color: var(--green);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
}

.chip-place {
  max-width: 160px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.branch-chip::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-right: 1.5px solid var(--muted);
  border-bottom: 1.5px solid var(--muted);
  transform: rotate(45deg);
  flex-shrink: 0;
}

.icon-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  position: relative;
  display: grid;
  place-items: center;
}

.icon-btn img {
  width: 22px;
  height: 22px;
}

.cart-count {
  position: absolute;
  top: -3px;
  left: -3px;
  background: var(--green);
  color: var(--cream);
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--green);
  color: #fff;
  border-radius: 999px;
  padding: 12px 22px;
  font-size: 15px;
}

.btn:hover {
  background: var(--green-dark);
}

.btn.ghost {
  background: transparent;
  color: var(--green);
  border: 1px solid var(--blush);
}

.btn.ghost:hover {
  background: var(--blush-soft);
}

.hero {
  margin: 24px 5% 0;
  min-height: 68vh;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  background:
    linear-gradient(to left, rgba(35, 55, 46, 0.82), rgba(35, 55, 46, 0.22) 70%),
    url("../img/c13.jpg") center/cover no-repeat;
  color: #fff;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 48px 5%;
}

.hero-copy {
  max-width: min(36rem, 100%);
}

.hero .eyebrow {
  color: var(--blush);
  text-shadow: none;
}

.eyebrow {
  font-family: Manrope, Cairo, sans-serif;
  color: var(--blush);
  letter-spacing: 0.18em;
  font-size: 12px;
  text-transform: uppercase;
}

.script {
  font-family: "Pinyon Script", cursive;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.3;
  text-transform: none;
}

.hero .script {
  color: var(--blush);
  margin: 0 0 10px;
}

h1,
h2,
h3 {
  font-family: Cairo, sans-serif;
  font-weight: 700;
  line-height: 1.3;
}

.brand-en {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
}

.hero h1 {
  font-size: clamp(1.7rem, 4.2vw, 3.25rem);
  margin: 8px 0 12px;
  overflow-wrap: anywhere;
}

.hero p:not(.script) {
  margin: 0 0 22px;
  max-width: 34em;
}

.section {
  padding: 64px 5%;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 28px;
}

.section-head-stack {
  flex-direction: column;
  align-items: flex-start;
}

.section-head p,
.muted {
  color: var(--muted);
}

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

.menu-tags a,
.menu-tags span {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  color: var(--green);
}

.menu-tags a:hover {
  border-color: var(--blush);
  background: var(--blush-soft);
}

.menu-tags span {
  color: var(--muted);
  background: transparent;
}

.cats,
.grid,
.checkout-grid,
.cart-layout,
.branch-list {
  display: grid;
  gap: 18px;
}

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

.cat,
.card,
.panel {
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.cat {
  padding: 0;
  overflow: hidden;
  min-height: 0;
  border: 1px solid var(--line);
  box-shadow: none;
}

.cat img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.cat-body {
  padding: 16px 18px 18px;
}

.cat h3 {
  margin: 0;
}

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

.card .thumb {
  height: 220px;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--cream-dark);
}

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

.thumb-brand {
  background: var(--blush-soft);
  display: grid;
  place-items: center;
  padding: 28px;
}

.thumb-brand img {
  width: auto;
  height: 85%;
  max-height: 170px;
  object-fit: contain;
}

.card .meta,
.product-info,
.line,
.pay-box {
  padding: 16px 18px 20px;
}

.price {
  color: var(--green);
  font-weight: 700;
}

.story {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.story-card {
  background: var(--paper);
  color: var(--green);
  border-radius: 28px;
  padding: 36px 32px;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1px solid var(--line);
}

.story-card img {
  width: min(220px, 70%);
  height: auto;
  margin-bottom: 18px;
}

.story-card .script {
  color: var(--green);
  margin: 0;
}

.story-card .muted {
  margin: 8px 0 0;
}

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

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

.branch-card {
  padding: 24px;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-top: 3px solid var(--blush);
}

.branch-card .script {
  color: var(--blush);
  font-size: 26px;
  margin: 0;
}

.branch-card h3 {
  margin: 8px 0 10px;
}

.note {
  margin-top: 18px;
}

.footer {
  padding: 42px 5% 24px;
  background: var(--green);
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(180px, 240px) 1fr;
  gap: 40px;
  align-items: start;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand {
  text-align: center;
  overflow: visible;
}

.footer img {
  height: 42px;
  width: auto;
  max-width: 100%;
  margin: 0 auto 12px;
  object-fit: contain;
}

.footer-brand span {
  display: block;
  margin-top: 4px;
  font-size: 13px;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px 24px;
}

.footer-cols a {
  color: #fff;
  display: block;
}

.footer-cols span {
  display: block;
  font-size: 12px;
  color: var(--blush);
  margin-bottom: 4px;
}

.footer-cols b {
  font-weight: 700;
  letter-spacing: 0.02em;
}

.footer-cols .footer-nav {
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-tag {
  margin: 18px 0 0;
  text-align: center;
  font-family: "Pinyon Script", cursive;
  font-size: 22px;
  color: var(--blush);
}

.card {
  position: relative;
}

.sale-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  background: var(--blush);
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

.sale-badge.is-inline {
  position: static;
  display: inline-flex;
  margin-bottom: 10px;
}

.price-wrap {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 4px;
}

.price-old {
  color: var(--muted);
  text-decoration: line-through;
  font-weight: 400;
}

.wa-float {
  position: fixed;
  bottom: 22px;
  left: 22px;
  z-index: 35;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--green);
  border: 2px solid var(--blush);
  display: grid;
  place-items: center;
}

.wa-float svg {
  width: 28px;
  height: 28px;
  fill: var(--cream);
}

.product-wrap,
.cart-layout,
.checkout-grid {
  padding: 36px 5% 72px;
}

.product-wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
}

.product-visual {
  background: var(--paper);
  border-radius: 28px;
  overflow: hidden;
  min-height: 520px;
}

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

.sizes,
.qty {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 16px 0 24px;
}

.size,
.qty button {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
  font-family: inherit;
}

.size.is-on {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}

.qty span {
  min-width: 1.5em;
  text-align: center;
  font-weight: 700;
}

.cart-layout {
  grid-template-columns: 1.4fr 0.7fr;
}

.cart-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 18px;
}

.cart-head h1 {
  margin: 0;
}

.cart-item {
  display: grid;
  grid-template-columns: 112px 1fr auto;
  gap: 16px;
  align-items: center;
  margin-bottom: 14px;
  padding: 14px;
}

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

.cart-item h3 {
  margin: 0 0 4px;
  font-size: 22px;
}

.cart-item .qty {
  margin: 10px 0 0;
}

.qty.compact button {
  width: 36px;
  height: 36px;
  padding: 0;
  display: grid;
  place-items: center;
}

.cart-item-side {
  text-align: left;
}

.link-btn {
  display: inline-block;
  margin-top: 8px;
  background: none;
  border: 0;
  padding: 0;
  color: var(--muted);
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
}

.summary .btn {
  width: 100%;
  margin-top: 8px;
}

.line {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 14px;
  align-items: center;
  margin-bottom: 12px;
}

.line img {
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 14px;
}

.summary,
.pay-box {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 22px;
  height: fit-content;
}

.form-panel {
  padding: 24px;
}

.row {
  display: flex;
  justify-content: space-between;
  margin: 10px 0;
}

hr {
  border: 0;
  border-top: 1px solid var(--line);
}

.checkout-grid {
  grid-template-columns: 1.2fr 0.8fr;
}

form {
  display: grid;
  gap: 14px;
}

.field {
  display: grid;
  gap: 6px;
}

.field span {
  font-size: 13px;
  color: var(--muted);
}

input,
select,
textarea {
  display: block;
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  font-family: inherit;
  font-size: 15px;
}

.pay-option {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  background: #fff;
  cursor: pointer;
  font-family: inherit;
  text-align: right;
}

.pay-option strong {
  font-size: 15px;
  font-weight: 700;
}

.pay-option span {
  color: var(--muted);
  font-size: 13px;
}

.pay-option.is-on {
  border-color: var(--blush);
  background: var(--blush-soft);
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(35, 55, 46, 0.5);
  display: none;
  place-items: center;
  z-index: 40;
  padding: 20px;
}

.overlay.is-open {
  display: grid;
}

.modal {
  width: min(520px, 100%);
  background: var(--paper);
  border-radius: 24px;
  padding: 28px;
}

.modal h2 {
  margin-top: 0;
}

#delivery-fields,
#pickup-list {
  display: grid;
  gap: 10px;
}

#delivery-fields[hidden],
#pickup-list[hidden] {
  display: none;
}

#delivery-fields label {
  display: block;
  font-size: 14px;
}

.modal #confirm-branch {
  margin-top: 28px;
}

.choice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 18px 0;
}

.choice button {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 16px;
  padding: 22px 12px;
  cursor: pointer;
  font-family: inherit;
}

.choice button.is-on {
  border-color: var(--blush);
  background: var(--blush-soft);
}

.branches {
  display: grid;
  gap: 8px;
  margin: 12px 0 18px;
}

.branches button {
  text-align: right;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  cursor: pointer;
  font-family: inherit;
}

.branches button.is-on {
  border-color: var(--blush);
  background: var(--blush-soft);
}

@media (max-width: 1100px) {
  .logo img {
    height: 36px;
    max-width: 158px;
  }

  nav {
    display: none;
    width: 100%;
    flex-basis: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding-top: 8px;
  }

  nav.is-open {
    display: flex;
    order: 5;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .topbar {
    flex-wrap: wrap;
  }

  .chip-place {
    max-width: 92px;
  }
}

@media (max-width: 900px) {
  .hero,
  .section,
  .product-wrap,
  .cart-layout,
  .checkout-grid {
    margin-left: 16px;
    margin-right: 16px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .cats,
  .grid,
  .story,
  .product-wrap,
  .cart-layout,
  .checkout-grid,
  .cart-item,
  .occasions-grid,
  .branch-list,
  .footer-grid,
  .footer-cols {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    text-align: right;
  }

  .footer img {
    margin: 0 0 12px;
  }

  .hero {
    min-height: 62vh;
    padding: 28px 20px;
  }

  .product-visual {
    min-height: 280px;
  }

  .cart-item img {
    width: 100%;
    height: 200px;
  }

  .cart-item-side {
    text-align: right;
  }

  .footer {
    padding: 32px 16px 96px;
  }

  .chip-place {
    display: none;
  }

  .topbar {
    flex-wrap: wrap;
  }
}
