/* Maira Khan International
   Styled to match the previous mairakhaninternational.com (Shopify Sense theme):
   Times New Roman, sage-to-cream gradient, black bars, rounded cards. */

:root {
  --bg-top: #f0f4ec;
  --bg-bottom: #f1ebe2;
  --cream: #fdfbf7;
  --text: rgba(0, 0, 0, 0.75);
  --heading: #000;
  --button: #2e2a39;
  --button-text: #fdfbf7;
  --line: rgba(0, 0, 0, 0.1);
  --whatsapp: #25d366;

  --font: 'Times New Roman', Times, serif;
  --page: 1000px;
  --pad: 50px;
  --radius: 12px;
  --button-radius: 10px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(180deg, var(--bg-top), var(--bg-bottom)) fixed;
  color: var(--text);
  font: 400 16px/1.8 var(--font);
  letter-spacing: 0.06em;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
svg { display: block; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }

h1, h2, h3 { margin: 0; color: var(--heading); font-weight: 400; letter-spacing: 0.06em; line-height: 1.24; }

:focus-visible { outline: 2px solid rgba(0, 0, 0, 0.5); outline-offset: 3px; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: #000; color: #fff; }
.skip:focus { top: 12px; }

.page-width { max-width: var(--page); margin-inline: auto; padding-inline: var(--pad); }
@media (max-width: 749px) { :root { --pad: 15px; } }

.section { margin-block: 36px; }
.center { text-align: center; }

.title { font-size: 40px; margin-bottom: 30px; }
.title--small { font-size: 30px; }
@media (max-width: 749px) { .title { font-size: 30px; margin-bottom: 20px; } }

.count { margin-bottom: 16px; font-size: 14px; }

/* ---------- buttons ---------- */

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 45px; padding: 0 30px;
  border: 1px solid var(--button); border-radius: var(--button-radius);
  background: var(--button); color: var(--button-text);
  font: 400 15px/1.2 var(--font); letter-spacing: 0.1em;
  text-decoration: none; cursor: pointer;
  transition: box-shadow .2s;
}
.button:hover { box-shadow: 0 0 0 1px var(--button); }
.button svg { width: 18px; height: 18px; flex: none; }
.button--secondary { background: var(--cream); color: var(--button); }
.button--full { width: 100%; }

.link {
  appearance: none; border: 0; background: none; padding: 0; cursor: pointer;
  font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px;
}

/* ---------- announcement bar ---------- */

.announcement { background: #000; color: rgba(255, 255, 255, 0.75); font-size: 13px; letter-spacing: 0.1em; }
.announcement__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 38px; }
.announcement__social { display: flex; gap: 14px; }
.announcement__social svg { width: 17px; height: 17px; }
.announcement__social a { color: #fff; }
.announcement__slider { display: flex; align-items: center; gap: 12px; }
.announcement__slider button { appearance: none; border: 0; background: none; color: #fff; padding: 4px; cursor: pointer; }
.announcement__slider svg { width: 16px; height: 16px; }
.announcement__track { min-width: 330px; text-align: center; color: #fff; }
.announcement__region { justify-self: end; color: #fff; }
@media (max-width: 989px) {
  .announcement__inner { grid-template-columns: 1fr; padding-inline: 8px; }
  .announcement__social, .announcement__region { display: none; }
  .announcement__slider { justify-content: space-between; }
  .announcement__track { min-width: 0; flex: 1; }
}

/* ---------- header ---------- */

.header {
  position: sticky; top: 0; z-index: 30;
  background: var(--bg-top);
  transition: box-shadow .2s;
}
.header[data-scrolled] { box-shadow: 0 1px 0 var(--line), 0 6px 16px rgba(0, 0, 0, 0.04); }
.header__inner {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding-block: 20px 6px;
}
.header__icon {
  display: grid; place-items: center; width: 44px; height: 44px; margin-left: -10px;
  appearance: none; border: 0; background: none; color: #000; cursor: pointer; position: relative;
}
.header__icon svg { width: 22px; height: 22px; }
.header__menu { display: none; }
.header__search { grid-column: 1; grid-row: 1; }
.header__logo { grid-column: 2; display: block; width: 104px; color: #000; }
.header__logo svg { width: 100%; height: auto; }
.header__tools { grid-column: 3; grid-row: 1; justify-self: end; display: flex; align-items: center; gap: 18px; }
.header__region { font-size: 13px; color: #000; }
.header__cart { margin-left: 0; margin-right: -10px; }
.cart-count {
  position: absolute; top: 6px; right: 4px; min-width: 18px; height: 18px; padding: 0 4px;
  border-radius: 9px; background: #000; color: #fff; font-size: 11px; line-height: 18px; text-align: center; letter-spacing: 0;
}

.nav ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 0 22px; padding-block: 12px 20px; }
.nav a { font-size: 14px; text-decoration: none; padding: 6px 0; color: var(--text); }
.nav a:hover, .nav a[aria-current="page"] { color: #000; text-decoration: underline; text-underline-offset: 4px; }
.nav__close { display: none; }

@media (max-width: 989px) {
  .header__inner { padding-block: 12px; }
  .header__menu { display: grid; grid-column: 1; grid-row: 1; justify-self: start; }
  .header__search { grid-column: 3; justify-self: end; margin-right: 34px; }
  .header__region { display: none; }
  .nav {
    position: fixed; inset: 0 auto 0 0; z-index: 60; width: min(340px, 86vw);
    background: linear-gradient(180deg, var(--bg-top), var(--bg-bottom)); overflow-y: auto;
    transform: translateX(-100%); transition: transform .3s ease; padding-top: 60px;
  }
  .nav[data-open] { transform: none; box-shadow: 0 0 0 100vmax rgba(0, 0, 0, 0.35); }
  .nav__close { display: grid; position: absolute; top: 10px; left: 20px; }
  .nav ul { flex-direction: column; padding: 0 30px; }
  .nav a { display: block; font-size: 20px; padding: 10px 0; color: #000; }
}

/* ---------- homepage banner ---------- */

.banner { position: relative; }
/* Capped so the headline and buttons below stay above the fold; the crop
   keeps the bottom of the photo, where the banner's own titles sit. */
.banner img { width: 100%; max-height: max(320px, calc(100vh - 330px)); object-fit: cover; object-position: 50% 88%; }
.banner__link { position: absolute; top: 0; bottom: 0; }
.banner__link--left { left: 0; width: 69.6%; }
.banner__link--right { right: 0; width: 30.4%; }

/* ---------- product cards ---------- */

.product-grid { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 24px; }
@media (max-width: 989px) { .product-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 12px; } }

.card {
  display: flex; flex-direction: column;
  border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(180deg, var(--bg-top), var(--bg-bottom));
  border: 1px solid var(--line);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
  text-align: center;
}
.card__link { display: flex; flex-direction: column; flex: 1; text-decoration: none; }
.card__media { display: block; aspect-ratio: 3 / 4; overflow: hidden; background: #e9e6df; }
.card__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; transition: transform .5s ease; }
.card:hover .card__media img { transform: scale(1.03); }
.card__info { display: flex; flex-direction: column; gap: 4px; padding: 16px 12px 12px; flex: 1; }
.card__title { font-size: 19px; line-height: 1.3; color: #000; }
.card:hover .card__title { text-decoration: underline; text-underline-offset: 3px; }
.price { font-size: 16px; color: #000; }
.price--consult { font-style: italic; color: var(--text); }
.card__code { font-size: 13px; color: var(--text); }
.badge-sold {
  display: inline-block; margin-left: 8px; padding: 2px 10px; border-radius: 20px;
  background: #000; color: #fff; font-size: 12px; letter-spacing: 0.08em; vertical-align: middle;
}
.card .badge-sold { margin: 4px auto 0; }
.product__delivery {
  display: flex; align-items: center; gap: 10px; padding-bottom: 14px;
  border-bottom: 1px solid var(--line); color: #000; font-size: 16px;
}
.product__delivery svg { width: 22px; height: 22px; flex: none; align-self: flex-start; margin-top: 2px; }
.product__urgent { font-size: 14px; color: var(--text); text-underline-offset: 3px; }
.product__made-title { color: #000; font-weight: 700; margin-bottom: 4px; }
.product__made { font-size: 15px; }
.card__button { margin: 0 14px 16px; padding-inline: 12px; }
@media (max-width: 749px) {
  .card__title { font-size: 16px; }
  .price { font-size: 14px; }
  .card__button { margin: 0 8px 10px; min-height: 40px; font-size: 13px; letter-spacing: 0.04em; }
}

.product-grid + .center { margin-top: 30px; }

/* ---------- collection list ---------- */

.collection-list { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 989px) { .collection-list { grid-template-columns: repeat(2, 1fr); gap: 16px 12px; } }
.collection-card { display: block; text-decoration: none; text-align: center; }
.collection-card__media {
  display: block; aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--radius);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}
.collection-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; transition: transform .5s ease; }
.collection-card:hover img { transform: scale(1.03); }
.collection-card__name { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 19px; color: #000; }
.collection-card__name svg { width: 16px; height: 16px; transition: transform .2s; }
.collection-card:hover .collection-card__name svg { transform: translateX(4px); }

/* ---------- about (image with text) ---------- */

.about { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about__text h2 { font-size: 40px; margin-bottom: 20px; }
.about__text p { font-size: 15px; margin-bottom: 12px; }
.about__text strong { color: #000; font-weight: 700; }
.about__text .button { margin-top: 14px; }
.about__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08); }
@media (max-width: 749px) { .about { grid-template-columns: 1fr; gap: 26px; } .about__media { order: -1; } }

/* ---------- TikTok Live code ---------- */

.live__box {
  padding: 40px; border-radius: var(--radius); text-align: center;
  background: #000; color: rgba(255, 255, 255, 0.8);
}
.live__box h2 { color: #fff; font-size: 30px; margin-bottom: 10px; }
.live__box > p { max-width: 520px; margin-inline: auto; }
.live__form { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; }
.live__form input {
  flex: 0 1 320px; min-height: 45px; padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.5); border-radius: var(--button-radius);
  background: transparent; color: #fff; font: 16px var(--font); letter-spacing: 0.1em; text-transform: uppercase;
}
.live__form input::placeholder { color: rgba(255, 255, 255, 0.55); text-transform: none; }
.live__form .button { background: var(--cream); color: var(--button); border-color: var(--cream); }
.live__msg { min-height: 1.8em; margin-top: 12px; color: #fff; }
.live__msg a { color: #fff; }
@media (max-width: 749px) { .live__box { padding: 28px 18px; } }

/* ---------- collection page ---------- */

.collection-hero { text-align: center; }
.collection-hero .title { margin-bottom: 12px; }
.collection-hero__intro { max-width: 620px; margin: 0 auto 18px; }
.empty { text-align: center; padding: 40px 0; }
.empty p + p { margin-top: 18px; }

/* ---------- product page ---------- */

.breadcrumbs { margin-top: 18px; font-size: 13px; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }

.product { display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; align-items: start; }
@media (max-width: 749px) { .product { grid-template-columns: 1fr; gap: 24px; } }

.gallery__main figure { margin: 0; }
.gallery__main img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); }
.gallery__thumbs { list-style: none; display: flex; gap: 10px; margin-top: 10px; overflow-x: auto; }
.gallery__thumbs button { appearance: none; padding: 0; border: 1px solid transparent; border-radius: 8px; background: none; cursor: pointer; overflow: hidden; width: 72px; }
.gallery__thumbs button[aria-current="true"] { border-color: #000; }
.gallery__thumbs img { width: 72px; aspect-ratio: 3 / 4; object-fit: cover; }

.product__info { position: sticky; top: 20px; display: flex; flex-direction: column; gap: 16px; }
.product__vendor { font-size: 12px; letter-spacing: 0.13em; text-transform: uppercase; }
.product__title { font-size: 40px; }
.price--large { font-size: 20px; }
.product__tax, .product__note { font-size: 14px; }
.product__facts { margin: 0; display: grid; gap: 10px; font-size: 15px; }
.product__facts dt { color: #000; font-weight: 700; display: inline; }
.product__facts dt::after { content: ': '; }
.product__facts dd { display: inline; margin: 0; }
.product__description p + p { margin-top: 10px; }
.product__live {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px; border: 1px solid #000; border-radius: 40px; font-size: 14px;
}
.product__live strong { color: #000; font-weight: 700; letter-spacing: 0.1em; }

.buy { display: flex; flex-direction: column; gap: 14px; }
.sizes { border: 0; margin: 0; padding: 0; }
.sizes legend { display: flex; justify-content: space-between; width: 100%; margin-bottom: 8px; font-size: 14px; }
.sizes__guide { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; }
.sizes__guide svg { width: 18px; height: 18px; }
.sizes__options { display: flex; flex-wrap: wrap; gap: 8px; }
.sizes label { position: relative; }
.sizes input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.sizes span {
  display: grid; place-items: center; min-width: 52px; height: 40px; padding: 0 16px;
  border: 1px solid #000; border-radius: 40px; background: var(--cream); color: #000; font-size: 14px;
}
.sizes input:checked + span { background: #000; color: #fff; }
.sizes input:focus-visible + span { outline: 2px solid rgba(0, 0, 0, 0.5); outline-offset: 2px; }
.price__each { font-size: 15px; color: var(--text); }
.product__looks-note { font-size: 15px; color: #000; padding: 10px 14px; border-left: 2px solid #000; background: rgba(0, 0, 0, 0.03); }
.looks { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; }
.looks legend { font-size: 14px; margin-bottom: 8px; }
.look { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--button-radius); background: var(--cream); cursor: pointer; font-size: 14px; line-height: 1.45; }
.look:has(input:checked) { border-color: #000; }
.look input { margin-top: 3px; accent-color: #000; }
.look strong { display: block; color: #000; font-weight: 400; font-size: 15px; }
.final-sale { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5; }
.final-sale input { margin-top: 3px; accent-color: #000; }
.buy__msg { min-height: 1.4em; font-size: 14px; color: #000; }
.buy__msg a { color: #000; }
.buy__msg--error { color: #c00000; }
.buy__msg--error a { color: #c00000; }

.accordion { border-top: 1px solid var(--line); }
.accordion:last-child { border-bottom: 1px solid var(--line); }
.accordion summary { padding: 14px 0; cursor: pointer; color: #000; list-style: none; display: flex; justify-content: space-between; }
.accordion summary::after { content: '+'; }
.accordion[open] summary::after { content: '−'; }
.accordion p { padding-bottom: 14px; font-size: 15px; }

/* size chart dialog */
.sizechart {
  width: min(720px, 94vw); max-height: 88vh; padding: 30px; border: 0; border-radius: var(--radius);
  background: var(--cream); color: var(--text);
}
.sizechart::backdrop { background: rgba(0, 0, 0, 0.45); }
.sizechart h2 { font-size: 28px; margin-bottom: 8px; }
.sizechart__close { position: absolute; top: 10px; right: 10px; margin: 0; }
.sizechart__note { font-size: 14px; margin-bottom: 18px; }
.tabs [role="tablist"] { display: flex; justify-content: center; gap: 24px; margin-bottom: 14px; }
.tabs [role="tab"] {
  appearance: none; border: 0; background: none; padding: 6px 2px; cursor: pointer;
  font: 15px var(--font); letter-spacing: 0.1em; color: var(--text); border-bottom: 1px solid transparent;
}
.tabs [role="tab"][aria-selected="true"] { color: #000; border-bottom-color: #000; }

.table-wrap { overflow-x: auto; margin-bottom: 20px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: center; font-weight: 400; }
thead th { color: #000; background: rgba(0, 0, 0, 0.04); }
tbody th { text-align: left; color: #000; }

/* ship-to choice (Buy now dialog and cart) */
.ship-dialog {
  width: min(460px, 94vw); padding: 30px; border: 0; border-radius: var(--radius);
  background: var(--cream); color: var(--text);
}
.ship-dialog::backdrop { background: rgba(0, 0, 0, 0.45); }
.ship-dialog h2 { font-size: 26px; margin-bottom: 16px; }
.ship-dialog [data-shipto-form] { display: flex; flex-direction: column; gap: 16px; }
.ship-to { display: grid; gap: 6px; }
.ship-to label { font-size: 14px; color: #000; }
.ship-to select {
  width: 100%; min-height: 46px; padding: 0 14px; margin-bottom: 8px;
  border: 1px solid rgba(0, 0, 0, 0.55); border-radius: var(--button-radius); background: var(--cream);
  font: 16px var(--font); letter-spacing: 0.04em; color: #000;
}
.ship-to__quote { min-height: 3em; font-size: 15px; line-height: 1.5; }
.ship-to__quote strong { color: #000; font-weight: 400; }
.ship-to__quote span { font-size: 13px; }
.ship-to__note { font-size: 13px; }
.cart__summary .ship-to { margin-top: 6px; }

/* ---------- text pages ---------- */

.text-page { max-width: 760px; }
.text-page h2 { font-size: 24px; margin: 30px 0 10px; }
.text-page p, .text-page li { margin-bottom: 10px; }
.text-page ul, .text-page ol { padding-left: 20px; }
.contact-list { list-style: none; padding: 0 !important; }
.steps li { padding-left: 4px; }

/* ---------- cart and search ---------- */

.cart { max-width: 760px; }
.cart__items { list-style: none; }
.cart__item { display: grid; grid-template-columns: 90px 1fr auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart__item img { width: 90px; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 8px; }
.cart__item a { color: #000; text-decoration: none; font-size: 18px; }
.cart__meta { font-size: 14px; }
.cart__qty { display: flex; align-items: center; gap: 6px; margin-top: 6px; }
.cart__qty button { width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 6px; background: var(--cream); cursor: pointer; font: 16px var(--font); }
.cart__remove { appearance: none; border: 0; background: none; padding: 0; margin-left: 10px; font: 13px var(--font); text-decoration: underline; cursor: pointer; color: var(--text); }
.cart__summary { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; margin-left: auto; max-width: 360px; }
.cart__subtotal { display: flex; justify-content: space-between; color: #000; font-size: 18px; }
.cart__shipping, .cart__note, .cart__msg { font-size: 14px; }
.cart__empty { text-align: center; padding: 30px 0; }
.cart__empty p + p { margin-top: 16px; }

.search__form input {
  width: 100%; min-height: 50px; padding: 0 18px; margin-bottom: 20px;
  border: 1px solid rgba(0, 0, 0, 0.55); border-radius: var(--button-radius); background: var(--cream);
  font: 16px var(--font); letter-spacing: 0.06em;
}

/* ---------- footer ---------- */

.footer { margin-top: 60px; background: #000; color: rgba(255, 255, 255, 0.75); font-size: 14px; }
.footer a { color: rgba(255, 255, 255, 0.75); text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__top { padding-block: 48px 30px; text-align: center; }
.footer__top h2 { color: #fff; font-size: 24px; margin-bottom: 20px; }
.footer__social { display: flex; justify-content: center; gap: 22px; margin-top: 14px; }
.product__etransfer { font-size: 13px; margin-top: -6px; }
.etransfer { font-size: 14px; border-top: 1px solid var(--line); padding-top: 10px; }
.etransfer summary { cursor: pointer; color: #000; }
.etransfer ol { padding-left: 20px; margin-top: 8px; }
.etransfer li + li { margin-top: 4px; }
.footer__social svg { width: 20px; height: 20px; }
.footer__contact { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 26px; padding-block: 22px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.footer__bottom { padding-block: 20px 30px; border-top: 1px solid rgba(255, 255, 255, 0.12); text-align: center; font-size: 12px; }
.footer__payments { margin-bottom: 12px; }
.footer__policies { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; }


/* ---------- header: compact once scrolled ---------- */

.header__inner, .nav ul { transition: padding .25s ease; }
.header__logo { transition: width .25s ease; }
@media (min-width: 990px) {
  .header[data-scrolled] .header__inner { padding-block: 8px 0; }
  .header[data-scrolled] .header__logo { width: 84px; }
  .header[data-scrolled] .nav ul { padding-block: 4px 10px; }
}

/* ---------- homepage call to action under the banner ---------- */

.hero-cta { text-align: center; padding-block: 26px 6px; }
.hero-cta h1 { font-size: 26px; max-width: 640px; margin: 0 auto 18px; }
.hero-cta__buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.hero-cta__promise { margin-top: 12px; font-size: 14px; }
@media (max-width: 749px) {
  .hero-cta h1 { font-size: 21px; }
  .hero-cta__buttons .button { flex: 1 1 100%; }
}
.about__buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.about__text .about__buttons .button { margin-top: 0; }

/* ---------- breadcrumbs ---------- */

.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; }
.breadcrumbs li + li::before { content: '/'; margin-right: 4px; }
.breadcrumbs [aria-current] { color: #000; }

/* ---------- footer links ---------- */

.footer__links { padding-block: 0 22px; }
.footer__links ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; }

/* ---------- gallery zoom and full-screen viewer ---------- */

.gallery__zoom { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.gallery__hint {
  position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%; background: rgba(253, 251, 247, 0.9); color: #000;
  opacity: .85; transition: opacity .2s;
}
.gallery__hint svg { width: 18px; height: 18px; }
.gallery__zoom:hover .gallery__hint { opacity: 1; }

.lightbox {
  width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: #000; color: #fff; overflow: hidden;
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: #000; }
.lightbox__img {
  max-width: 100vw; max-height: 100vh; width: auto; height: auto; object-fit: contain;
  cursor: zoom-in; transition: transform .25s ease; touch-action: pan-x pan-y pinch-zoom;
}
.lightbox__img[data-zoomed] { cursor: zoom-out; transform: scale(var(--zoom, 2)); transform-origin: var(--ox, 50%) var(--oy, 50%); }
.lightbox__close, .lightbox__nav {
  position: absolute; z-index: 2; display: grid; place-items: center; width: 48px; height: 48px;
  border: 0; border-radius: 50%; background: rgba(0, 0, 0, 0.45); color: #fff; cursor: pointer;
}
.lightbox__close { top: 14px; right: 14px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: 14px; }
.lightbox__nav--next { right: 14px; }
.lightbox__close svg, .lightbox__nav svg { width: 24px; height: 24px; }
.lightbox__count { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; font-size: 14px; color: rgba(255, 255, 255, 0.8); }

/* ---------- sticky mobile call to action on product pages ---------- */

.mobile-bar { display: none; }
@media (max-width: 749px) {
  .has-mobile-bar .mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    display: flex; align-items: center; gap: 10px; padding: 10px 15px calc(10px + env(safe-area-inset-bottom));
    background: var(--cream); border-top: 1px solid var(--line); box-shadow: 0 -6px 18px rgba(0, 0, 0, 0.06);
    transform: translateY(110%); transition: transform .3s ease;
  }
  .has-mobile-bar .mobile-bar[data-show] { transform: none; }
  .mobile-bar__price { flex: 1; font-size: 15px; color: #000; }
  .mobile-bar .button { min-height: 44px; padding: 0 18px; }
  .mobile-bar__wa { width: 44px; padding: 0 !important; }
  .has-mobile-bar .wa-float { display: none; }
  .has-mobile-bar .footer { padding-bottom: 70px; }
}

/* ---------- FAQ, brides, 404, thank you ---------- */

.faq { margin-top: 10px; }
.faq .accordion summary { font-size: 18px; }
.faq .accordion p { font-size: 16px; }
.faq__more { margin-top: 24px; }
.text-page--wide { max-width: var(--page); }
.brides-grid { list-style: none; padding: 0 !important; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 20px 0 30px; }
.brides-grid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
@media (max-width: 749px) { .brides-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } }
.not-found, .thank-you { text-align: center; }
.not-found > p, .thank-you > p { max-width: 560px; margin: 0 auto 16px; }
.not-found .search__form { max-width: 420px; margin: 20px auto; }
.not-found > .not-found__buttons, .thank-you > .thank-you__buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: none; margin: 20px 0 40px; }

/* ---------- scroll reveal (only when JavaScript runs) ---------- */

.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; }
}


/* ---------- booking assistant ---------- */

.button-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: inherit; }
.collection-hero .button-row { justify-content: center; }
.hero-cta__buttons .button svg, .button-row .button svg { width: 18px; height: 18px; }

.chat-launcher {
  position: fixed; right: 18px; bottom: 86px; z-index: 50;
  display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 18px 0 14px;
  border: 0; border-radius: 40px; background: #000; color: #fff; cursor: pointer;
  font: 14px var(--font); letter-spacing: 0.06em; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}
.chat-launcher svg { width: 20px; height: 20px; }
@media (max-width: 749px) {
  .chat-launcher { padding: 0; width: 56px; height: 56px; justify-content: center; bottom: 84px; }
  .chat-launcher span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .has-mobile-bar .chat-launcher { bottom: 84px; }
}

.chat {
  position: fixed; inset: auto 18px 18px auto; z-index: 70; margin: 0;
  width: min(390px, calc(100vw - 24px)); height: min(620px, calc(100vh - 36px));
  padding: 0; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--cream); color: var(--text); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
  flex-direction: column; overflow: hidden;
}
.chat[open] { display: flex; }
@media (max-width: 749px) { .chat { inset: auto 12px 12px 12px; width: auto; height: min(640px, calc(100vh - 24px)); } }
.chat__head { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; background: #000; color: #fff; }
.chat__title { color: #fff; font-size: 17px; }
.chat__sub { font-size: 13px; color: rgba(255, 255, 255, 0.75); }
.chat__close { border: 0; background: none; color: #fff; font-size: 28px; line-height: 1; cursor: pointer; padding: 4px 8px; }
.chat__log { flex: 1; overflow-y: auto; padding: 18px 16px; display: flex; flex-direction: column; gap: 10px; }
.chat__msg { max-width: 86%; padding: 10px 14px; border-radius: 16px; font-size: 15px; line-height: 1.5; }
.chat__msg--bot { align-self: flex-start; background: linear-gradient(180deg, var(--bg-top), var(--bg-bottom)); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.chat__msg--you { align-self: flex-end; background: #000; color: #fff; border-bottom-right-radius: 4px; }
.chat__msg a { color: inherit; }
.chat__summary { display: block; margin-top: 6px; font-size: 14px; }
.chat__controls { padding: 12px 16px 16px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.chat__choices { display: flex; flex-wrap: wrap; gap: 8px; }
.chat__choice {
  padding: 8px 14px; border: 1px solid #000; border-radius: 40px; background: var(--cream); color: #000;
  font: 14px var(--font); letter-spacing: 0.04em; cursor: pointer; text-decoration: none;
}
.chat__choice:hover { background: #000; color: #fff; }
.chat__form { display: flex; gap: 8px; }
.chat__input {
  flex: 1; min-height: 44px; padding: 10px 14px; border: 1px solid rgba(0, 0, 0, 0.55); border-radius: var(--button-radius);
  background: #fff; font: 15px var(--font); letter-spacing: 0.04em; resize: none;
}
.chat__send { padding: 0 18px; }
.chat__skip { align-self: flex-start; border: 0; background: none; padding: 2px 0; font: 14px var(--font); text-decoration: underline; cursor: pointer; color: var(--text); }
.chat__final { display: grid; gap: 8px; }

/* email inquiry form */
.inquiry { display: grid; gap: 6px; max-width: 520px; }
.inquiry label { font-size: 14px; color: #000; margin-top: 6px; }
.inquiry input, .inquiry select, .inquiry textarea {
  width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid rgba(0, 0, 0, 0.55);
  border-radius: var(--button-radius); background: var(--cream); font: 16px var(--font); letter-spacing: 0.04em;
}
.inquiry .button { justify-self: start; margin-top: 12px; }
.inquiry__msg { font-size: 14px; }

/* ---------- floating WhatsApp (as on the previous site) ---------- */

.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 50;
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--whatsapp); color: #fff; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}
.wa-float svg { width: 30px; height: 30px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* ---------- phones only (laptop and tablet layouts are unchanged) ---------- */

.banner--phone { display: none; }
@media (max-width: 749px) {
  /* The wide banner is shown as its two photos, stacked and full width. */
  .banner--wide { display: none; }
  .banner--phone { display: grid; gap: 3px; }
  .banner--phone a, .banner--phone img { display: block; width: 100%; }
  .banner--phone img { height: auto; }

  /* Compact call to action under the banner */
  .hero-cta { padding-block: 18px 0; }
  .hero-cta h1 { font-size: 19px; line-height: 1.35; margin-bottom: 14px; letter-spacing: 0.03em; }
  .hero-cta__buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .hero-cta__buttons .button {
    flex: none; min-height: 42px; padding: 0 10px; font-size: 13px; letter-spacing: 0.03em; gap: 6px;
  }
  .hero-cta__buttons .button:first-child { grid-column: 1 / -1; font-size: 14px; }
  .hero-cta__buttons .button svg { width: 16px; height: 16px; }
  .hero-cta__promise { font-size: 12px; letter-spacing: 0.02em; margin-top: 10px; }

  /* Bigger photos in product grids: taller images, no card buttons (the photo opens the outfit) */
  .product-grid { gap: 14px 10px; }
  .card { border-radius: 10px; }
  .card__media { aspect-ratio: 2 / 3; }
  .card__button { display: none; }
  .card__info { padding: 10px 6px 12px; gap: 2px; }
  .card__title { font-size: 16px; letter-spacing: 0.03em; }
  .price, .card__code { font-size: 13px; letter-spacing: 0.02em; }
  .title { font-size: 26px; margin-bottom: 16px; }
  .section { margin-block: 28px; }

  /* Smaller floating buttons so they cover less of the photos */
  .wa-float { width: 50px; height: 50px; right: 14px; bottom: 14px; }
  .wa-float svg { width: 26px; height: 26px; }
  .chat-launcher { width: 50px; height: 50px; right: 14px; bottom: 74px; }
  .chat-launcher svg { width: 20px; height: 20px; }
  .has-mobile-bar .chat-launcher { bottom: 80px; }
}
