/* ==========================================================================
   HEERA FABRICS LAYYAH
   Reformatted from the original minified stylesheet. Visual design unchanged.
   ========================================================================== */

:root {
  --bg: #fbfaf7;
  --ink: #252824;
  --muted: #727a75;
  --muted-2: #68736d;

  --green-900: #19231e;
  --green-800: #203229;
  --green-700: #263e32;
  --green-600: #315844;
  --green-500: #2f5741;
  --green-400: #607d6c;
  --green-300: #61786b;
  --green-200: #718078;

  --line: #e6e1d8;
  --line-2: #e3e0d8;
  --cream: #f4f1e9;
  --sage: #dfe9e1;
  --hero-bg: #eff2ea;

  --radius: 11px;
  --radius-lg: 22px;
  --shadow: 0 14px 35px #243c3120;
  --ease: .2s;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  line-height: 1.6;
}

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

/* Visible focus for keyboard users — the original stylesheet had none. */
:focus-visible {
  outline: 2px solid var(--green-600);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--green-700);
  color: #fff;
  padding: 10px 16px;
  z-index: 60;
  font-size: 13px;
  text-decoration: none;
}
.skip:focus { left: 8px; top: 8px; }

.wrap { width: min(1180px, 92%); margin: auto; }

/* ------------------------------- top bar -------------------------------- */
.top {
  background: var(--green-800);
  color: #eef2ee;
  text-align: center;
  padding: 7px;
  font-size: 11px;
}

/* ------------------------------- header --------------------------------- */
header {
  background: #fbfaf7ee;
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
}

.nav {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  gap: 10px;
  align-items: center;
  text-decoration: none;
  color: var(--ink);
}
.logo > b {
  background: var(--green-700);
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 15px;
}
.logo span {
  font-family: "Cormorant Garamond", serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 18px;
}
.logo small {
  display: block;
  font: 9px "DM Sans";
  letter-spacing: 2px;
  color: var(--green-200);
}

.nav nav { display: flex; gap: 28px; }
.nav nav a {
  font-size: 13px;
  color: #59635d;
  text-decoration: none;
  transition: color var(--ease);
}
.nav nav a:hover { color: var(--green-700); }

.orderBtn, .btn {
  border-radius: 10px;
  padding: 12px 18px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}
.orderBtn, .dark { background: var(--green-700); color: #fff; }
.light { border: 1px solid #ccd6ce; color: var(--green-700); background: #fff; }

.orderBtn, .dark { transition: background var(--ease), transform var(--ease); }
.orderBtn:hover, .dark:hover { background: var(--green-600); }
.light:hover { background: #f3f6f3; }

.nav button { display: none; }

/* -------------------------------- hero ---------------------------------- */
.hero { background: var(--hero-bg); padding: 70px 0; }
.heroGrid {
  display: grid;
  grid-template-columns: 1fr .95fr;
  gap: 60px;
  align-items: center;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--green-300);
  font-weight: 700;
}
.hero h1 {
  font: 700 64px/.98 "Cormorant Garamond", serif;
  margin: 15px 0 20px;
}
.hero h1 i { color: var(--green-400); }
.hero p { color: var(--muted-2); max-width: 620px; font-size: 16px; }
.btn { display: inline-block; margin: 8px 5px 8px 0; }
.trust { margin-top: 22px; color: #647069; font-size: 11px; }

.heroPic { position: relative; }
.heroPic > img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 26px;
}
.heroCard {
  position: absolute;
  bottom: 22px;
  left: -20px;
  background: #fff;
  border-radius: 13px;
  padding: 14px 17px;
  box-shadow: var(--shadow);
}
.heroCard small {
  display: block;
  font-size: 9px;
  letter-spacing: 1px;
  color: #75867c;
}
.heroCard b { font-size: 13px; }

/* ----------------------------- collections ------------------------------ */
.section { padding: 85px 0; }
.heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 30px;
}
.heading h2, .band h2, .about h2, .how h2, .contact h2, .modal h2 {
  font: 700 43px/1 "Cormorant Garamond", serif;
  margin: 8px 0;
}
.heading p { max-width: 450px; color: var(--muted); font-size: 13px; }

.tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.tab {
  border: 1px solid #d8ddd8;
  background: #fff;
  border-radius: 30px;
  padding: 9px 14px;
  font-size: 11px;
  cursor: pointer;
  color: #59645e;
  font-family: inherit;
  transition: background var(--ease), color var(--ease), border-color var(--ease);
}
.tab:hover { border-color: var(--green-700); color: var(--green-700); }
.tab.active { background: var(--green-700); color: #fff; border-color: var(--green-700); }

.resultCount {
  margin: 22px 0 0;
  font-size: 11px;
  color: var(--green-200);
  letter-spacing: .4px;
}

.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.product {
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--ease), box-shadow var(--ease);
}
.product:hover { transform: translateY(-4px); box-shadow: 0 14px 32px #253b3013; }
.product img { width: 100%; height: 255px; object-fit: cover; }

.pbody { padding: 15px; }
.cat { font-size: 9px; letter-spacing: 1px; color: #74837a; }
.pbody h3 { font: 700 21px/1 "Cormorant Garamond", serif; margin: 6px 0; }
.pbody p {
  font-size: 11px;
  color: #747b77;
  margin: 0 0 9px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.price { font-weight: 700; color: var(--green-500); }

/* -------------------------------- band ---------------------------------- */
.band { background: var(--sage); padding: 70px 0; }
.bandGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.band p { color: #5f6d65; }
.points { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.points span {
  background: #fff;
  border-radius: var(--radius);
  padding: 17px;
  font-size: 12px;
}

/* -------------------------------- about --------------------------------- */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 65px;
  align-items: center;
}
.about img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  border-radius: 24px;
}
.about p, .muted { color: #69736e; font-size: 13px; }
.text { color: var(--green-600); font-weight: 700; text-decoration: none; font-size: 13px; }
.text:hover { text-decoration: underline; }

/* --------------------------------- how ---------------------------------- */
.how { background: var(--cream); padding: 65px 0; }
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 9px;
  margin-top: 25px;
}
.steps span {
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
  font-size: 11px;
}
.steps b { display: block; color: #6b8676; font-size: 10px; }

/* ------------------------------- contact -------------------------------- */
.contact {
  display: grid;
  grid-template-columns: 1fr .7fr;
  gap: 65px;
  align-items: center;
}
.contactCard {
  background: #f0f4ef;
  border-radius: 17px;
  padding: 20px;
  display: grid;
  gap: 10px;
  margin-top: 20px;
}
.contactCard b { font-size: 11px; }
.contactCard span, .contactCard a {
  font-size: 12px;
  color: #69736e;
  text-decoration: none;
}
.contactCard a:hover { text-decoration: underline; }

.map {
  background: var(--sage);
  border-radius: var(--radius-lg);
  min-height: 320px;
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
  padding: 20px;
}
.map div { font-size: 40px; }
.map h3 { font: 700 28px "Cormorant Garamond", serif; margin: 7px; }
.map a { color: var(--green-600); font-size: 12px; font-weight: 700; }

/* ------------------------------- policies ------------------------------- */
.policies {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
  padding: 35px 0;
}
.policy { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.policy h3 { font: 700 22px "Cormorant Garamond", serif; margin: 0; }
.policy p, .foot p { font-size: 11px; color: #727b76; }

/* -------------------------------- footer -------------------------------- */
.foot {
  background: var(--green-900);
  color: #dfe6e1;
  display: grid;
  grid-template-columns: 1.3fr .7fr 1fr;
  gap: 55px;
  padding: 50px 0;
}
.footBrand .logo { color: #fff; }
.foot h4 { font-size: 12px; }
.foot a {
  color: #a3aea8;
  text-decoration: none;
  font-size: 11px;
  display: block;
  margin: 6px 0;
}
.foot a:hover { color: #fff; }
.copy {
  background: var(--green-900);
  border-top: 1px solid #334139;
  text-align: center;
  color: #7d8a83;
  font-size: 10px;
  padding: 16px;
}

/* -------------------------------- modals -------------------------------- */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: #142019b5;
  backdrop-filter: blur(7px);
  z-index: 30;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal.open { display: flex; }

.modalBox {
  background: #fff;
  border-radius: var(--radius-lg);
  width: min(850px, 100%);
  max-height: 90vh;
  overflow: auto;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  position: relative;
}
.modalBox > img { width: 100%; height: 100%; min-height: 450px; object-fit: cover; }

.modalBody, .orderBox { padding: 38px; }
.modalBody h2, .orderBox h2 { font-size: 38px; }
.modalBody > strong { font-size: 22px; color: var(--green-600); }

.details {
  border-top: 1px solid #e7e3dc;
  border-bottom: 1px solid #e7e3dc;
  margin: 18px 0;
}
.detail {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  font-size: 12px;
}
.detail b { font-weight: 600; color: var(--muted); }
.detail span { text-align: right; }

.optGroup { margin-bottom: 16px; }
.optLabel {
  display: block;
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--muted);
  margin-bottom: 7px;
}
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  border: 1px solid #d8ddd8;
  background: #fff;
  border-radius: 30px;
  padding: 7px 13px;
  font-size: 11px;
  color: #59645e;
  cursor: pointer;
  font-family: inherit;
  transition: background var(--ease), color var(--ease), border-color var(--ease);
}
.chip:hover { border-color: var(--green-700); color: var(--green-700); }
.chip.on { background: var(--green-700); color: #fff; border-color: var(--green-700); }

.close {
  position: absolute;
  right: 12px;
  top: 10px;
  width: 35px;
  height: 35px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  font-size: 22px;
  cursor: pointer;
  z-index: 2;
  line-height: 1;
}
.close:hover { background: var(--sage); }

.orderBox {
  background: #fff;
  width: min(680px, 100%);
  border-radius: var(--radius-lg);
  max-height: 90vh;
  overflow: auto;
  position: relative;
}
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.orderBox label { font-size: 11px; font-weight: 700; display: block; margin: 12px 0; }
.orderBox input, .orderBox textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 11px;
  border: 1px solid #d7ddd8;
  border-radius: 9px;
  font: 12px "DM Sans";
  font-family: inherit;
  color: var(--ink);
  background: #fff;
}
.orderBox input[readonly] { background: #f3f6f3; color: var(--muted); }
.orderBox textarea { min-height: 75px; resize: vertical; }
.total {
  display: flex;
  justify-content: space-between;
  background: #eef3ee;
  padding: 12px;
  border-radius: 9px;
  margin: 15px 0;
  font-size: 12px;
}
.full { width: 100%; text-align: center; }
.success {
  display: none;
  background: #e0eee4;
  color: var(--green-600);
  border-radius: 9px;
  padding: 12px;
  font-size: 11px;
  margin-top: 10px;
}
.success.show { display: block; }

[hidden] { display: none !important; }

.thanks { text-align: center; padding: 10px 0 0; }
.thanks .tick {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: #e0eee4;
  color: var(--green-600);
  font-size: 34px;
  line-height: 64px;
  font-weight: 700;
}
.thanks h3 { font-size: 30px; margin: 0 0 8px; outline: none; }
.thanks p { color: var(--muted); line-height: 1.6; }
.thanks .summary {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 16px;
  text-align: left;
  background: #eef3ee;
  border-radius: 14px;
  padding: 16px 18px;
  margin: 18px 0;
  font-size: 14px;
}
.thanks .summary span { color: var(--muted); }
.thanks .summary b { text-align: right; }

/* ------------------------------ responsive ------------------------------ */
@media (max-width: 950px) {
  .heroGrid, .bandGrid, .about, .contact { grid-template-columns: 1fr; }
  .products { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .foot { grid-template-columns: 1fr 1fr; }
  .policy { grid-template-columns: 1fr; gap: 18px; }

  .nav nav { display: none; }
  .nav button {
    display: block;
    border: 0;
    background: none;
    font-size: 23px;
    cursor: pointer;
    color: var(--ink);
  }
  .nav nav.show {
    display: flex;
    position: absolute;
    top: 82px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 20px;
    flex-direction: column;
    gap: 16px;
    border-bottom: 1px solid var(--line);
  }
  .hero h1 { font-size: 52px; }
  .heroCard { left: 12px; }
}

@media (max-width: 650px) {
  .products { grid-template-columns: repeat(2, 1fr); }
  .product img { height: 210px; }
  .heading { display: block; }
  .hero h1 { font-size: 43px; }
  .heroPic img { height: 350px; }
  .steps, .policy, .foot { grid-template-columns: 1fr 1fr; }
  .modalBox { grid-template-columns: 1fr; }
  .modalBox > img { height: 250px; min-height: 0; }
  .two { grid-template-columns: 1fr; }
  .orderBtn { display: none; }
  .modalBody, .orderBox { padding: 26px; }
  .modalBody h2, .orderBox h2 { font-size: 30px; }
  .detail { flex-direction: column; gap: 2px; }
  .detail span { text-align: left; }
}

/* Respect users who have asked the OS to reduce motion. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
