/* ==========================================================================
   Apsara Textiles - stylesheet
   Mobile-first (360px), then scales up. Hand-written, kept small.
   ========================================================================== */

:root {
  --maroon: #7A1015;
  --maroon-dark: #5A0B10;
  --gold: #E8A317;
  --teal: #127A6B;
  --ivory: #FFF7EE;
  --surface: #FFFFFF;
  --text: #201410;
  --muted: #6B5A52;
  --wa: #25D366;
  --wa-dark: #1da851;
  --pink: #D6336C;
  --pink-dark: #b02a59;

  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 2px 10px rgba(32, 20, 16, 0.10);
  --shadow-lg: 0 8px 28px rgba(32, 20, 16, 0.16);
  --maxw: 1140px;
  --bar-h: 64px; /* sticky bottom action bar height */
}

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

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

body {
  margin: 0;
  font-family: "Noto Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  /* leave room for the sticky mobile action bar */
  padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom, 0px));
}

h1, h2, h3, .h {
  font-family: "Poppins", "Mukta", system-ui, sans-serif;
  line-height: 1.2;
  color: var(--text);
  margin: 0 0 .5em;
  font-weight: 700;
}

p { margin: 0 0 1em; }

a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 16px;
}

.section { padding: 40px 0; }
.section--tight { padding: 28px 0; }
.section--ivory { background: var(--ivory); }
.section--white { background: var(--surface); }
.section--maroon { background: var(--maroon); color: #fff; }
.section--maroon h1, .section--maroon h2, .section--maroon h3 { color: #fff; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Skip link */
.skip-link {
  position: absolute; left: 8px; top: -48px; background: var(--maroon); color: #fff;
  padding: 10px 16px; border-radius: 8px; z-index: 200; transition: top .2s;
}
.skip-link:focus { top: 8px; }

/* --------------------------------------------------------------------------
   Section heading block (small colored label + large heading)
   -------------------------------------------------------------------------- */
.section-head { margin-bottom: 22px; }
.section-label {
  display: inline-block;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--maroon);
  background: rgba(122, 16, 21, .08);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.section--maroon .section-label { color: #fff; background: rgba(255,255,255,.18); }
.section-head h2 { font-size: 28px; }
.section-head p { color: var(--muted); margin-top: 6px; }
.section--maroon .section-head p { color: rgba(255,255,255,.85); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 20px;
  font-family: "Poppins", sans-serif; font-weight: 600; font-size: 16px;
  border-radius: 999px; border: 2px solid transparent; cursor: pointer;
  text-decoration: none; transition: transform .08s ease, background .15s ease, box-shadow .15s ease;
  line-height: 1.1;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: var(--wa-dark); }
.btn--call { background: var(--pink); color: #fff; }
.btn--call:hover { background: var(--pink-dark); }
.btn--maroon { background: var(--maroon); color: #fff; }
.btn--maroon:hover { background: var(--maroon-dark); }
.btn--gold { background: var(--gold); color: var(--maroon-dark); }
.btn--gold:hover { filter: brightness(.96); }
.btn--ghost { background: transparent; color: var(--maroon); border-color: var(--maroon); }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn--block { width: 100%; }
.btn-icon { width: 20px; height: 20px; flex: 0 0 auto; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row .btn { flex: 1 1 auto; }

.only-wholesale {
  font-family: "Poppins", sans-serif; font-weight: 600; font-size: 14px;
  letter-spacing: .04em; color: var(--maroon); margin-top: 12px;
}
.section--maroon .only-wholesale, .hero .only-wholesale { color: #fff; opacity: .92; }

/* --------------------------------------------------------------------------
   Navbar
   -------------------------------------------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--surface);
  border-bottom: 1px solid rgba(32,20,16,.08);
  box-shadow: 0 1px 6px rgba(32,20,16,.05);
}
.nav__inner {
  display: flex; align-items: center; gap: 12px;
  min-height: 60px;
}
.nav__logo { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.nav__logo img { height: 38px; width: auto; }
.nav__logo-text { font-family: "Poppins", sans-serif; font-weight: 700; color: var(--maroon); font-size: 18px; line-height: 1; }
.nav__logo-text small { display: block; font-size: 10px; letter-spacing: .12em; color: var(--muted); font-weight: 600; text-transform: uppercase; }

.nav__links { display: none; }
.nav__toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border: none; background: transparent; cursor: pointer;
  color: var(--maroon);
}
.nav__toggle svg { width: 26px; height: 26px; }
.nav__wa { display: none; }

/* mobile dropdown menu */
.nav__menu {
  display: none;
  border-top: 1px solid rgba(32,20,16,.08);
  background: var(--surface);
  padding: 8px 16px 16px;
}
.nav__menu.open { display: block; }
.nav__menu a {
  display: block; padding: 14px 6px; font-family: "Poppins", sans-serif; font-weight: 600;
  color: var(--text); border-bottom: 1px solid rgba(32,20,16,.06); min-height: 48px;
}
.nav__menu a[aria-current="page"] { color: var(--maroon); }
.nav__menu .btn { margin-top: 12px; }

@media (min-width: 860px) {
  .nav__toggle { display: none; }
  .nav__menu { display: none !important; }
  .nav__links { display: flex; align-items: center; gap: 6px; }
  .nav__links a {
    padding: 10px 14px; font-family: "Poppins", sans-serif; font-weight: 600;
    color: var(--text); border-radius: 999px;
  }
  .nav__links a:hover { background: rgba(122,16,21,.06); text-decoration: none; }
  .nav__links a[aria-current="page"] { color: var(--maroon); background: rgba(122,16,21,.08); }
  .nav__wa { display: inline-flex; margin-left: 8px; }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--maroon);
  color: #fff;
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(90,11,16,.78), rgba(90,11,16,.88));
}
.hero__inner { position: relative; z-index: 2; padding: 48px 16px 44px; max-width: var(--maxw); margin: 0 auto; }
.hero__pill {
  display: inline-flex; align-items: center; gap: 8px; background: #fff; border-radius: 999px;
  padding: 6px 12px 6px 8px; margin-bottom: 18px;
}
.hero__pill img { height: 26px; width: auto; }
.hero__pill span { font-family: "Poppins", sans-serif; font-weight: 700; color: var(--maroon); font-size: 13px; }
.hero h1 { color: #fff; font-size: 32px; line-height: 1.15; margin-bottom: 14px; }
.hero__sub { color: rgba(255,255,255,.92); font-size: 18px; max-width: 640px; }
.hero .btn-row { margin-top: 22px; max-width: 520px; }

@media (min-width: 760px) {
  .hero h1 { font-size: 44px; }
  .hero__inner { padding: 80px 16px 72px; }
}

/* --------------------------------------------------------------------------
   Trust strip (stat chips)
   -------------------------------------------------------------------------- */
.trust {
  background: var(--maroon-dark);
  color: #fff;
}
.trust__row {
  display: flex; gap: 8px; overflow-x: auto; padding: 12px 16px;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.trust__row::-webkit-scrollbar { display: none; }
.trust__chip {
  flex: 0 0 auto; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px; padding: 8px 14px; font-size: 13px; font-weight: 600;
  font-family: "Poppins", sans-serif; white-space: nowrap;
}
.trust__chip b { color: var(--gold); }

/* generic stat-chip row on ivory/white */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  background: var(--surface); border: 1px solid rgba(122,16,21,.16); color: var(--text);
  border-radius: 999px; padding: 10px 16px; font-weight: 600; font-size: 14px;
  font-family: "Poppins", sans-serif; box-shadow: var(--shadow);
}
.chip b { color: var(--maroon); }

/* --------------------------------------------------------------------------
   Generic prose blocks
   -------------------------------------------------------------------------- */
.lede { font-size: 18px; color: var(--text); max-width: 760px; }
.muted { color: var(--muted); }

/* --------------------------------------------------------------------------
   Card grids (services, proof, collection, products)
   -------------------------------------------------------------------------- */
.grid { display: grid; gap: 16px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--auto { grid-template-columns: 1fr; }

@media (min-width: 620px) {
  .grid--auto { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 920px) {
  .grid--auto { grid-template-columns: repeat(3, 1fr); }
}

.card {
  background: var(--surface); border-radius: var(--radius); padding: 20px;
  box-shadow: var(--shadow); border: 1px solid rgba(32,20,16,.05);
}
.card__icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(232,163,23,.18); color: var(--maroon); margin-bottom: 12px; font-size: 22px;
}
.card h3 { font-size: 18px; margin-bottom: 6px; }
.card p { color: var(--muted); margin: 0; font-size: 15.5px; }

/* proof quote cards */
.proof {
  background: var(--surface); border-left: 4px solid var(--gold); border-radius: var(--radius-sm);
  padding: 16px 18px; box-shadow: var(--shadow);
}
.proof p { margin: 0; font-style: italic; color: var(--text); }

/* --------------------------------------------------------------------------
   Product card + branded tile placeholder
   -------------------------------------------------------------------------- */
.products-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px) { .products-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
@media (min-width: 1000px) { .products-grid { grid-template-columns: repeat(4, 1fr); } }

.pcard {
  background: var(--surface); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid rgba(32,20,16,.05);
  display: flex; flex-direction: column;
}
.pcard__media { display: block; aspect-ratio: 4 / 3; position: relative; overflow: hidden; }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; }

/* branded tile (placeholder until real product photo) */
.tile {
  width: 100%; height: 100%; display: flex; flex-direction: column; justify-content: center;
  align-items: center; text-align: center; padding: 14px; color: #fff; position: relative;
}
.tile::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.14) 1.4px, transparent 1.4px);
  background-size: 14px 14px; opacity: .5;
}
.tile span { position: relative; z-index: 1; }
.tile .tile__name { font-family: "Poppins", sans-serif; font-weight: 700; font-size: 16px; line-height: 1.2; }
.tile .tile__tag { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; opacity: .9; margin-bottom: 6px; }
.tile--maroon { background: linear-gradient(135deg, #7A1015, #5A0B10); }
.tile--maroon-dark { background: linear-gradient(135deg, #5A0B10, #3c070a); }
.tile--gold { background: linear-gradient(135deg, #E8A317, #c8860b); color: #3c070a; }
.tile--gold .tile__tag { opacity: .8; }
.tile--teal { background: linear-gradient(135deg, #127A6B, #0d5b50); }

.pcard__body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pcard__name { font-family: "Poppins", sans-serif; font-weight: 700; font-size: 16px; margin: 0; }
.pcard__name a { color: var(--text); }
.pcard__name a:hover { color: var(--maroon); text-decoration: none; }
.pcard__price { font-weight: 700; color: var(--maroon); font-size: 17px; }
.pcard__price small { color: var(--muted); font-weight: 600; font-size: 12px; display: block; }
.pcard__variety { color: var(--muted); font-size: 13.5px; margin: 0; flex: 1; }
.pcard__badge {
  align-self: flex-start; background: rgba(18,122,107,.12); color: var(--teal);
  font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px; font-family: "Poppins", sans-serif;
}
.pcard .btn { width: 100%; min-height: 44px; padding: 10px 14px; font-size: 14px; margin-top: 4px; }

/* --------------------------------------------------------------------------
   Filter bar (Products page)
   -------------------------------------------------------------------------- */
.filterbar {
  position: sticky; top: 60px; z-index: 50; background: var(--ivory);
  border-bottom: 1px solid rgba(32,20,16,.08); padding: 10px 0;
}
.filterbar__row {
  display: flex; gap: 8px; overflow-x: auto; padding: 2px 16px;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.filterbar__row::-webkit-scrollbar { display: none; }
.filter-chip {
  flex: 0 0 auto; background: var(--surface); border: 1.5px solid rgba(122,16,21,.25);
  color: var(--maroon); border-radius: 999px; padding: 9px 16px; font-weight: 600; font-size: 14px;
  font-family: "Poppins", sans-serif; cursor: pointer; white-space: nowrap; min-height: 40px;
}
.filter-chip.active { background: var(--maroon); color: #fff; border-color: var(--maroon); }

/* --------------------------------------------------------------------------
   Horizontal scroll carousel (showcase)
   -------------------------------------------------------------------------- */
.carousel {
  display: flex; gap: 14px; overflow-x: auto; padding: 4px 16px 14px;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.carousel::-webkit-scrollbar { display: none; }
.carousel > * { flex: 0 0 78%; max-width: 280px; scroll-snap-align: start; }
@media (min-width: 720px) { .carousel > * { flex: 0 0 40%; } }
@media (min-width: 1000px) { .carousel > * { flex: 0 0 23%; } }

/* --------------------------------------------------------------------------
   Collection tiles
   -------------------------------------------------------------------------- */
.collection-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px) { .collection-grid { grid-template-columns: repeat(3, 1fr); } }
.coltile {
  position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3;
  display: flex; align-items: flex-end; box-shadow: var(--shadow); text-decoration: none;
}
.coltile .tile { position: absolute; inset: 0; }
.coltile__label {
  position: relative; z-index: 2; width: 100%; padding: 12px 14px;
  background: linear-gradient(180deg, transparent, rgba(60,7,10,.85));
  color: #fff; font-family: "Poppins", sans-serif; font-weight: 700; font-size: 16px;
}
.coltile:hover { text-decoration: none; box-shadow: var(--shadow-lg); }

/* --------------------------------------------------------------------------
   Instagram grid
   -------------------------------------------------------------------------- */
.ig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ig-grid a { aspect-ratio: 1/1; overflow: hidden; border-radius: 10px; display: block; }
.ig-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.ig-grid a:hover img { transform: scale(1.05); }

/* --------------------------------------------------------------------------
   Two-column media + text (who we are / about)
   -------------------------------------------------------------------------- */
.split { display: grid; gap: 22px; align-items: center; }
@media (min-width: 820px) { .split { grid-template-columns: 1fr 1fr; gap: 36px; } .split--rev .split__media { order: 2; } }
.split__media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 3/2; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }

/* --------------------------------------------------------------------------
   Product detail
   -------------------------------------------------------------------------- */
.detail { display: grid; gap: 24px; }
@media (min-width: 820px) { .detail { grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; } }
.detail__media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; box-shadow: var(--shadow-lg); }
.detail__media img { width: 100%; height: 100%; object-fit: cover; }
.detail h1 { font-size: 30px; }
.detail__price { font-size: 26px; font-weight: 800; color: var(--maroon); font-family: "Poppins", sans-serif; }
.detail__price small { font-size: 14px; color: var(--muted); font-weight: 600; }
.detail__specs { list-style: none; padding: 0; margin: 18px 0; }
.detail__specs li { padding: 10px 0; border-bottom: 1px solid rgba(32,20,16,.08); display: flex; gap: 12px; }
.detail__specs .k { font-weight: 700; min-width: 110px; color: var(--maroon); font-family: "Poppins", sans-serif; }
.breadcrumb { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.breadcrumb a { color: var(--muted); }

/* --------------------------------------------------------------------------
   Value banner (landing)
   -------------------------------------------------------------------------- */
.value-banner {
  background: var(--gold); color: var(--maroon-dark); border-radius: var(--radius);
  padding: 18px 20px; font-family: "Poppins", sans-serif; font-weight: 700; font-size: 18px;
  text-align: center; box-shadow: var(--shadow);
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq-item { background: var(--surface); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow); margin-bottom: 14px; }
.faq-item h3 { font-size: 17px; color: var(--maroon); margin-bottom: 6px; }
.faq-item p { margin: 0; color: var(--text); }

/* --------------------------------------------------------------------------
   Contact form
   -------------------------------------------------------------------------- */
.form { display: grid; gap: 14px; max-width: 560px; }
.form label { font-family: "Poppins", sans-serif; font-weight: 600; font-size: 14px; display: block; margin-bottom: 6px; }
.form input, .form textarea {
  width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border-radius: var(--radius-sm);
  border: 1.5px solid rgba(32,20,16,.18); background: var(--surface); color: var(--text);
}
.form input:focus, .form textarea:focus { outline: 2px solid var(--maroon); border-color: var(--maroon); }
.form textarea { min-height: 96px; resize: vertical; }

.contact-block { display: grid; gap: 10px; }
.contact-block .row { display: flex; gap: 10px; align-items: flex-start; }
.contact-block .row svg { width: 20px; height: 20px; flex: 0 0 auto; color: var(--maroon); margin-top: 3px; }
.map-embed { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin-top: 8px; }
.map-embed iframe { width: 100%; height: 320px; border: 0; display: block; }
.map-note { font-size: 13px; color: var(--muted); margin-top: 8px; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer { background: var(--maroon); color: #fff; padding: 36px 0 24px; }
.footer a { color: rgba(255,255,255,.9); }
.footer a:hover { color: #fff; }
.footer__grid { display: grid; gap: 26px; }
@media (min-width: 760px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1.4fr; } }
.footer__brand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer__brand img { height: 40px; width: auto; }
.footer__brand .pill { background: #fff; border-radius: 10px; padding: 6px 8px; display: inline-flex; }
.footer h4 { font-family: "Poppins", sans-serif; font-size: 15px; color: var(--gold); margin: 0 0 12px; letter-spacing: .04em; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer__contact .row { display: flex; gap: 8px; align-items: flex-start; margin-bottom: 8px; }
.footer__contact svg { width: 18px; height: 18px; flex: 0 0 auto; color: var(--gold); margin-top: 3px; }
.footer__social { display: flex; gap: 12px; margin-top: 14px; }
.footer__social a {
  width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.12);
  display: grid; place-items: center;
}
.footer__social a:hover { background: rgba(255,255,255,.22); }
.footer__social svg { width: 22px; height: 22px; color: #fff; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.18); margin-top: 26px; padding-top: 18px;
  font-size: 13.5px; color: rgba(255,255,255,.8); text-align: center; font-family: "Poppins", sans-serif;
}

/* --------------------------------------------------------------------------
   Sticky bottom action bar (mobile): WhatsApp + Call
   -------------------------------------------------------------------------- */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 120;
  display: flex; gap: 0; background: var(--surface);
  box-shadow: 0 -2px 14px rgba(32,20,16,.18);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.action-bar a {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: var(--bar-h); font-family: "Poppins", sans-serif; font-weight: 700; font-size: 16px;
  color: #fff; text-decoration: none;
}
.action-bar a:hover { text-decoration: none; }
.action-bar .ab-wa { background: var(--wa); }
.action-bar .ab-call { background: var(--pink); }
.action-bar svg { width: 22px; height: 22px; }

/* Hide the sticky bar on large screens (header WhatsApp button is enough) */
@media (min-width: 860px) {
  body { padding-bottom: 0; }
  .action-bar { display: none; }
}

/* --------------------------------------------------------------------------
   Utilities
   -------------------------------------------------------------------------- */
.center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.maxw-720 { max-width: 720px; }
.is-hidden { display: none !important; }
