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

body {
  overflow-x: hidden;
}

.hero-content {
  width: min(1100px, calc(100% - 36px));
}

.hero h1 {
  max-width: none;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  white-space: nowrap;
  text-wrap: nowrap;
}

.collection-cta {
  width: min(360px, 100%);
  min-height: 54px;
  margin: 8px auto 0;
  padding: 0 22px;
  border: 1px solid rgba(24, 32, 23, 0.2);
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
}

.collection-cta b {
  font: 400 1rem Arial, sans-serif;
}

.cart-trigger {
  min-height: 42px;
  padding: 0 13px;
  border: 0;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #263426;
  color: #fff;
  cursor: pointer;
}

.cart-trigger b {
  min-width: 22px;
  height: 22px;
  padding: 0 5px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #fff;
  color: #263426;
  font: 600 0.65rem Arial, sans-serif;
}

.catalog-card-copy > button {
  width: 100%;
  min-height: 38px;
  padding: 0 10px;
  border: 1px solid #d9ddd4;
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #435140;
  font-size: 0.63rem;
  cursor: pointer;
}

.catalog-image-preview {
  position: relative;
  width: 100%;
  padding: 0;
  border: 0;
  color: inherit;
  text-align: inherit;
  cursor: zoom-in;
}

.catalog-image-preview > b {
  position: absolute;
  left: 9px;
  bottom: 9px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,.88);
  color: #263426;
  display: grid;
  place-items: center;
  font: 400 1rem Arial, sans-serif;
  box-shadow: 0 3px 12px rgba(15,24,16,.16);
}

.product-preview-overlay {
  position: fixed;
  z-index: 120;
  inset: 0;
  padding: 18px;
  background: rgba(12,17,12,.72);
  display: grid;
  place-items: center;
  backdrop-filter: blur(5px);
}

.product-preview-overlay[hidden] {
  display: none;
}

.product-preview {
  position: relative;
  width: min(760px,100%);
  max-height: calc(100svh - 36px);
  overflow: auto;
  background: #fffdf8;
  border-radius: 10px;
  box-shadow: 0 30px 90px rgba(0,0,0,.35);
  outline: none;
}

.product-preview-close {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.94);
  color: #263426;
  font-size: 1.35rem;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(0,0,0,.16);
}

.product-preview-image {
  height: min(72svh,760px);
  background: #efeee9;
  display: grid;
  place-items: center;
}

.product-preview-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
}

.product-preview-copy {
  padding: 15px 18px 18px;
}

.product-preview-copy small {
  color: #9b7a4b;
  font-size: .6rem;
}

.product-preview-copy h2 {
  margin: 3px 0 0;
  font-size: 1.15rem;
  font-weight: 500;
}

.product-preview-copy p {
  margin: 7px 0 0;
  color: #70776d;
  font-size: .72rem;
  line-height: 1.7;
}

@media (max-width: 760px) {
  .product-preview-overlay { padding: 10px; }
  .product-preview { max-height: calc(100svh - 20px); }
  .product-preview-image { height: min(76svh,680px); }
}

.catalog-card {
  scroll-margin-top: 18px;
}

.catalog-card:target {
  border-radius: 3px;
  outline: 3px solid rgba(31, 143, 87, 0.28);
  outline-offset: 6px;
}

.catalog-card-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px;
  gap: 6px;
}

.catalog-card-actions .add-cart {
  width: 100%;
  min-height: 38px;
  padding: 0 10px;
  border: 1px solid #d9ddd4;
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #435140;
  font-size: 0.63rem;
  cursor: pointer;
}

.catalog-card-actions .share-product {
  width: 42px;
  min-height: 38px;
  padding: 0;
  border: 1px solid #b9d8c5;
  background: #eef8f1;
  color: #147a45;
  display: grid;
  place-items: center;
}

.catalog-card-actions .share-product:hover {
  background: #1f8f57;
  border-color: #1f8f57;
  color: #fff;
}

.whatsapp-logo { width:22px; height:22px; display:block; background:url("whatsapp.svg") center/contain no-repeat; }
.whatsapp-link { width:42px; height:42px; border-radius:12px; background:#eef8f1; display:grid; place-items:center; transition:transform .2s ease,filter .2s ease; }
.whatsapp-link:hover { transform:translateY(-2px); filter:brightness(1.04); }
.floating-whatsapp { display:inline-flex; align-items:center; gap:8px; }
.floating-whatsapp .whatsapp-logo { filter:brightness(0) invert(1); }

.catalog-card-copy > p {
  min-height: 2.6em;
  margin: -3px 0 8px;
  color: #7f857b;
  font-size: .58rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.catalog-page :is(button, a):focus-visible {
  outline: 3px solid rgba(184, 138, 75, 0.46);
  outline-offset: 3px;
}

.cart-overlay {
  position: fixed;
  z-index: 100;
  inset: 0;
  background: rgba(15, 20, 15, 0.48);
  display: flex;
  justify-content: flex-end;
  backdrop-filter: blur(3px);
}

.cart-overlay[hidden] {
  display: none;
}

.cart-sheet {
  width: min(430px, 100%);
  height: 100%;
  background: #fffdf8;
  box-shadow: -24px 0 70px rgba(13, 20, 13, 0.22);
  display: flex;
  flex-direction: column;
  outline: none;
}

.cart-sheet > header {
  min-height: 88px;
  padding: 18px 20px;
  border-bottom: 1px solid #e2e3dd;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-sheet > header small { color: #a47c45; font: 600 0.58rem Arial, sans-serif; }
.cart-sheet > header h2 { margin: 3px 0 0; font-size: 1.35rem; font-weight: 500; }
.cart-sheet > header > button { width: 40px; height: 40px; border: 1px solid #d9ddd4; border-radius: 50%; background: #fff; font-size: 1.2rem; cursor: pointer; }
.cart-lines { flex: 1; min-height: 0; overflow-y: auto; padding: 10px 20px; }
.cart-lines article { display: grid; grid-template-columns: 82px minmax(0, 1fr) 34px; gap: 11px; align-items: center; padding: 12px 0; border-bottom: 1px solid #e8e8e2; }
.cart-lines article > img { width: 82px; aspect-ratio: 3/2; object-fit: cover; }
.cart-lines article > div { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.cart-lines article strong { max-width: 100%; font-size: 0.76rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-lines article small { margin-top: 2px; color: #949990; font-size: 0.58rem; }
.quantity-control { margin-top: 9px; display: grid; grid-template-columns: 30px 32px 30px; align-items: center; border: 1px solid #dcded7; }
.quantity-control button { width: 30px; height: 30px; border: 0; background: #f6f5f0; cursor: pointer; }
.quantity-control b { display: grid; place-items: center; font: 600 0.68rem Arial, sans-serif; }
.remove-line { width: 32px; height: 32px; border: 0; border-radius: 50%; background: #fbefed; color: #934d44; cursor: pointer; }
.cart-empty { min-height: 260px; display: grid; place-items: center; align-content: center; gap: 8px; color: #858b81; text-align: center; }
.cart-empty > b { color: #b88a4b; font-size: 2rem; }
.cart-empty p { margin: 0; font-size: 0.72rem; }
.cart-sheet > footer { margin: 0; padding: 18px 20px max(18px, env(safe-area-inset-bottom)); background: #f7f5ef; color: #1d261d; display: block; }
.cart-sheet > footer > div { margin-bottom: 13px; display: flex; justify-content: space-between; font-size: 0.72rem; }
.whatsapp-checkout { width: 100%; min-height: 52px; padding: 0 17px; border: 0; border-radius: 4px; background: #1f8f57; color: #fff; display: flex; align-items: center; justify-content: space-between; cursor: pointer; }
.whatsapp-checkout:disabled { opacity: 0.45; cursor: not-allowed; }
.whatsapp-checkout .whatsapp-logo { filter:brightness(0) invert(1); }
.whatsapp-checkout b { font: 400 1rem Arial, sans-serif; }

button,
a,
input,
select,
textarea {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 7px;
}

.top-action {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  border-radius: 999px;
  font-size: 0.76rem;
  white-space: nowrap;
}

.top-collection {
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: rgba(17, 22, 16, 0.16);
  backdrop-filter: blur(8px);
}

.top-contact {
  padding: 0 15px;
  border: 1px solid #f8f3e9;
  border-radius: 999px;
  background: #f8f3e9;
  color: #182017;
}

@media (max-width: 719px) {
  input,
  select,
  textarea {
    font-size: 16px;
  }

  .hero {
    min-height: 100svh;
  }

  .topbar {
    padding: 18px 0;
  }

  .wordmark {
    font-size: 0.92rem;
  }

  .top-actions {
    gap: 5px;
  }

  .top-action,
  .top-contact {
    min-height: 38px;
    padding: 0 11px;
    font-size: 0.67rem;
  }

  .hero-content {
    margin-bottom: max(50px, calc(30px + env(safe-area-inset-bottom)));
  }

  .hero h1 {
    font-size: clamp(1.4rem, 6.7vw, 2.25rem);
    line-height: 1.13;
    letter-spacing: -0.02em;
  }

  .hero-copy {
    font-size: 0.86rem;
    line-height: 1.75;
  }

  .primary-button,
  .light-button {
    min-height: 48px;
    padding: 0 19px;
    font-size: 0.78rem;
  }

  .collection-section {
    padding: 58px 16px 74px;
  }

  .section-heading h2,
  .service-banner h2 {
    font-size: clamp(1.65rem, 7vw, 2.2rem);
  }

  .category-circle {
    width: 82px;
    height: 82px;
  }

  .category-button {
    flex-basis: 92px;
  }

  .gallery-grid {
    gap: 7px;
  }

  .service-banner {
    min-height: 340px;
    padding: 58px 22px;
  }

  footer {
    padding: 60px 22px max(28px, env(safe-area-inset-bottom));
  }

  .footer-brand h2 {
    font-size: 1.65rem;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .floating-whatsapp {
    bottom: max(14px, env(safe-area-inset-bottom));
  }

  .booking-topbar {
    height: 64px;
    padding-inline: 16px;
  }

  .booking-layout {
    width: min(100% - 28px, 1120px);
    padding: 32px 0;
    gap: 25px;
  }

  .booking-intro h1 {
    font-size: clamp(2rem, 9vw, 2.65rem);
  }

  .booking-intro > p {
    font-size: 0.82rem;
    line-height: 1.75;
  }

  .booking-form {
    padding: 16px;
  }

  .booking-choice button {
    min-height: 108px;
    padding: 12px;
  }

  .booking-fields {
    gap: 14px;
  }

  .booking-submit {
    min-height: 52px;
    font-size: 0.76rem;
  }

  .setup-card {
    padding: 24px;
  }

  .setup-card h1,
  .admin-wrap h1 {
    font-size: 1.55rem;
  }

  .admin-top {
    padding: 15px;
  }

  .admin-top > div span {
    display: none;
  }

  .admin-wrap {
    width: auto;
    padding: 20px 13px 70px;
  }

  .section-title h2 {
    font-size: 1.2rem;
  }

  .panel-form,
  .request-card {
    padding: 16px;
  }

  .status-form button {
    min-height: 44px;
  }
}

@media (max-width: 420px) {
  .topbar {
    width: calc(100% - 24px);
  }

  .wordmark > span:last-child {
    display: none;
  }

  .top-action,
  .top-contact {
    padding-inline: 10px;
  }
}

@media (max-width: 760px) {
  .catalog-header nav > a:first-child { display: none; }
  .cart-trigger { padding: 0 10px; font-size: 0.65rem; }
  .cart-overlay { align-items: flex-end; }
  .cart-sheet { width: 100%; height: min(82svh, 680px); border-radius: 18px 18px 0 0; }
}

.location-section {
  padding: 72px max(18px, calc((100vw - 1240px) / 2));
  background: #f3eee4;
  display: grid;
  gap: 32px;
  align-items: center;
}

.location-copy {
  max-width: 560px;
}

.location-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.18;
  font-weight: 500;
}

.location-copy > p:not(.eyebrow) {
  max-width: 520px;
  margin: 18px 0 26px;
  color: #697065;
  line-height: 1.9;
}

.map-direction-button {
  width: min(320px, 100%);
  min-height: 52px;
  padding: 0 20px;
  border-radius: 999px;
  background: #263426;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.map-frame {
  min-height: 360px;
  overflow: hidden;
  border-radius: 22px;
  background: #ddd8cf;
  box-shadow: 0 20px 55px rgba(29, 37, 28, 0.13);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  display: block;
  border: 0;
}

@media (min-width: 720px) {
  .location-section {
    grid-template-columns: minmax(280px, 0.75fr) minmax(420px, 1.25fr);
    gap: 54px;
  }

  .map-frame,
  .map-frame iframe {
    min-height: 460px;
  }
}

@media (max-width: 719px) {
  .location-section {
    padding: 54px 16px;
    gap: 26px;
  }

  .location-copy h2 {
    font-size: clamp(1.75rem, 8vw, 2.45rem);
  }

  .location-copy > p:not(.eyebrow) {
    font-size: 0.82rem;
  }

  .map-frame,
  .map-frame iframe {
    min-height: 340px;
    border-radius: 16px;
  }
}

.site-footer {
  background: #151a14;
  color: #fff;
  padding: 82px max(22px, calc((100vw - 1240px) / 2)) 28px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

.site-footer .footer-brand h2 {
  margin: 18px 0 8px;
}

.footer-map-link {
  display: inline-block;
  margin-top: 12px;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  font-size: 0.72rem;
}

.site-footer .footer-bottom {
  grid-column: 1 / -1;
  margin-top: 24px;
}

.pearl-credit {
  grid-column: 1 / -1;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.035);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.pearl-credit-brand,
.pearl-credit-action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.pearl-credit-brand {
  direction: ltr;
  gap: 4px;
}

.pearl-credit-brand small {
  direction: rtl;
  color: #c7a979;
  font-size: 0.68rem;
  line-height: 1.6;
}

.pearl-credit-brand a {
  color: #fff;
  font: 600 1.05rem Georgia, "Times New Roman", serif;
}

.pearl-credit-action {
  gap: 3px;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
}

.pearl-credit-action span {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.62);
}

.pearl-credit-action strong {
  font-size: 0.74rem;
  font-weight: 500;
}

@media (min-width: 720px) {
  .site-footer {
    grid-template-columns: 1.5fr 1fr 0.8fr;
  }

  .pearl-credit {
    padding: 22px 24px;
    flex-direction: row;
    align-items: center;
  }
}

@media (max-width: 719px) {
  .site-footer {
    padding: 60px 22px max(28px, env(safe-area-inset-bottom));
    gap: 36px;
  }

  .site-footer .footer-bottom {
    flex-direction: column;
  }
}
