/* Home Plaza World — mobile-first stylesheet */
:root {
  --ink: #2a1f17;
  --ink-soft: #5c4d41;
  --muted: #8a7b6e;
  --wood: #8b5a2b;
  --wood-dark: #6b431d;
  --gold: #d6a868;
  --cream: #fbf8f3;
  --sand: #f3ebe0;
  --line: #e8ded1;
  --white: #fff;
  --dark: #241a13;
  --wa: #25d366;
  --wa-dark: #1da851;
  --sale: #c0392b;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(42, 31, 23, .06), 0 8px 24px rgba(42, 31, 23, .08);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.6 var(--sans); color: var(--ink); background: var(--cream); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.2; margin: 0 0 .5em; font-weight: 600; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); }
p { margin: 0 0 1em; }
.container { width: min(1240px, 100% - 32px); margin-inline: auto; }
.section { padding-block: clamp(48px, 8vw, 88px); }
.section-sm { padding-block: 24px; }
.section-alt { background: var(--sand); }
.section-dark { background: var(--dark); color: #efe6da; }
.muted { color: var(--muted); }
.center { text-align: center; justify-content: center; }
[hidden] { display: none !important; }

.eyebrow { display: inline-block; font: 600 .75rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--wood); margin-bottom: 12px; }
.eyebrow-light { color: var(--gold); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: .8em 1.4em; border-radius: 999px; font: 600 .95rem/1.2 var(--sans); border: 1.5px solid transparent; cursor: pointer; transition: .2s; white-space: nowrap; }
.btn-sm { padding: .55em 1.05em; font-size: .85rem; }
.btn-lg { padding: 1em 1.8em; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--wood); color: #fff; }
.btn-primary:hover { background: var(--wood-dark); }
.btn-outline { border-color: var(--line); background: var(--white); color: var(--ink); }
.btn-outline:hover { border-color: var(--wood); color: var(--wood); }
.btn-ghost { border-color: rgba(255, 255, 255, .6); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-dark); }
.link-arrow { color: var(--wood); font-weight: 600; font-size: .95rem; display: inline-flex; gap: .4em; align-items: center; }
.link-arrow:hover i { transform: translateX(3px); }
.link-arrow i { transition: .2s; }

/* Announcement + header */
.announce { background: var(--dark); color: #e9dccb; font-size: .8rem; text-align: center; padding: 8px 0; letter-spacing: .02em; }
.header { position: sticky; top: 0; z-index: 50; background: rgba(251, 248, 243, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 16px; min-height: 70px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark { width: 40px; height: 40px; border-radius: 10px; background: var(--dark); color: var(--gold); display: grid; place-items: center; font: 700 1.3rem var(--serif); flex: none; }
.logo-text { font: 700 1.15rem/1.1 var(--serif); }
.logo-text small { display: block; font: 500 .68rem var(--sans); letter-spacing: .08em; color: var(--muted); text-transform: uppercase; margin-top: 3px; }
.logo-light .logo-text { color: #fff; }
.logo-light .logo-mark { background: var(--wood); color: #fff; }
.nav { display: none; }
.nav a { font-size: .92rem; font-weight: 500; color: var(--ink-soft); padding: 6px 0; position: relative; }
.nav a:hover, .nav a.active { color: var(--ink); }
.nav a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--wood); border-radius: 2px; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: var(--ink-soft); }
.icon-btn:hover { background: var(--sand); }
.header-actions .btn span { display: none; }
.nav-toggle { order: 3; background: none; border: 0; font-size: 1.3rem; color: var(--ink); width: 40px; height: 40px; cursor: pointer; }
.nav.is-open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--cream); padding: 12px 16px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
.nav.is-open a { padding: 12px 0; border-bottom: 1px solid var(--line); }
.nav.is-open a.active::after { display: none; }

@media (min-width: 560px) { .header-actions .btn span { display: inline; } }
@media (min-width: 1080px) {
  .nav { display: flex; gap: 26px; margin-left: 32px; }
  .nav-toggle { display: none; }
}

/* Hero */
.hero { position: relative; color: #fff; background: linear-gradient(100deg, rgba(25, 17, 11, .88) 0%, rgba(25, 17, 11, .6) 45%, rgba(25, 17, 11, .15) 100%), var(--bg) center/cover; }
.hero-inner { padding-block: clamp(80px, 14vw, 160px); max-width: 1240px; }
.hero h1 { font-size: clamp(2.3rem, 6vw, 4.2rem); max-width: 14ch; font-weight: 600; margin-bottom: 20px; }
.hero-text { font-size: clamp(1rem, 1.6vw, 1.15rem); max-width: 52ch; color: #eadfd2; margin-bottom: 32px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-stats { list-style: none; padding: 0; margin: 48px 0 0; display: flex; gap: clamp(24px, 5vw, 56px); }
.hero-stats strong { display: block; font: 600 1.8rem var(--serif); color: var(--gold); }
.hero-stats span { font-size: .82rem; color: #d8cbbb; }

/* Highlights */
.highlights { background: var(--white); border-bottom: 1px solid var(--line); }
.highlights-grid { display: grid; grid-template-columns: 1fr; gap: 0; }
.highlight { display: flex; gap: 14px; align-items: flex-start; padding: 22px 4px; border-bottom: 1px solid var(--line); }
.highlight:last-child { border-bottom: 0; }
.highlight i { font-size: 1.25rem; color: var(--wood); background: var(--sand); width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.highlight h3 { font: 600 1rem var(--sans); margin: 2px 0 4px; }
.highlight p { font-size: .87rem; color: var(--muted); margin: 0; }
@media (min-width: 700px) { .highlights-grid { grid-template-columns: repeat(2, 1fr); } .highlight { padding: 26px 16px; } }
@media (min-width: 1080px) { .highlights-grid { grid-template-columns: repeat(4, 1fr); } .highlight { border-bottom: 0; border-right: 1px solid var(--line); } .highlight:last-child { border-right: 0; } }

/* Section head */
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin-bottom: 32px; }
.section-head h2 { margin: 0; }
.section-head.center { flex-direction: column; align-items: center; }

/* Category tiles */
.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.cat-tile { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4; background: var(--sand); }
.cat-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.cat-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20, 13, 8, .78), transparent 55%); }
.cat-tile:hover img { transform: scale(1.06); }
.cat-tile-body { position: absolute; left: 18px; right: 18px; bottom: 18px; z-index: 1; color: #fff; }
.cat-tile-body strong { display: block; font: 600 clamp(1.1rem, 2.2vw, 1.5rem) var(--serif); }
.cat-tile-body small { font-size: .82rem; color: #e8dccc; display: inline-flex; gap: 6px; align-items: center; }
@media (min-width: 900px) { .cat-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; } }

/* Product grid & cards */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 900px) { .grid { grid-template-columns: repeat(4, 1fr); gap: 22px; } .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: box-shadow .25s, transform .25s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card-media { position: relative; aspect-ratio: 1; background: var(--sand); overflow: hidden; }
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .4s, transform .6s; }
.card-alt { opacity: 0; }
.card:hover .card-alt { opacity: 1; }
.card:hover .card-media img:first-child { transform: scale(1.04); }
.badges { position: absolute; top: 10px; left: 10px; display: flex; flex-wrap: wrap; gap: 6px; z-index: 1; }
.badge { display: inline-block; background: var(--white); color: var(--ink); font: 600 .68rem/1 var(--sans); letter-spacing: .04em; text-transform: uppercase; padding: 6px 8px; border-radius: 6px; box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.badge-sale { background: var(--sale); color: #fff; }
.badge-out { background: var(--ink); color: #fff; }
.badge-lg { position: absolute; top: 14px; left: 14px; font-size: .8rem; padding: 8px 10px; }
.card-body { padding: 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-cat { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 0; }
.card-title { font: 600 .98rem/1.35 var(--sans); margin: 0; }
.card-title a:hover { color: var(--wood); }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; margin: 2px 0 10px; }
.price-now { font-weight: 700; font-size: 1.05rem; }
.price s { color: var(--muted); font-size: .85rem; }
.card .btn { margin-top: auto; }
@media (max-width: 480px) { .card .btn { font-size: .78rem; padding: .6em .5em; } .card-body { padding: 12px; } }

/* Offer banner */
.offer { display: grid; border-radius: calc(var(--radius) + 6px); overflow: hidden; background: var(--dark); color: #efe6da; }
.offer img { width: 100%; height: 100%; min-height: 240px; object-fit: cover; }
.offer-body { padding: clamp(28px, 5vw, 64px); align-self: center; }
.offer-body h2 { color: #fff; }
.offer-body p:not(.eyebrow) { color: #d6c8b7; max-width: 46ch; }
.offer .eyebrow { color: var(--gold); }
@media (min-width: 860px) { .offer { grid-template-columns: 1.1fr 1fr; } }

/* How to order */
.how h2 { color: #fff; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.steps li { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); border-radius: var(--radius); padding: 24px; }
.steps span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--wood); color: #fff; font-weight: 700; margin-bottom: 14px; }
.steps h3 { font: 600 1.05rem var(--sans); color: #fff; }
.steps p { color: #c9bba9; font-size: .9rem; margin: 0; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .steps { grid-template-columns: repeat(4, 1fr); } }

/* Testimonials */
.testimonials { display: grid; gap: 18px; }
@media (min-width: 860px) { .testimonials { grid-template-columns: repeat(3, 1fr); } }
.testimonial { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.testimonial p { font: italic 1.05rem/1.6 var(--serif); }
.testimonial footer { font-size: .88rem; color: var(--muted); }

/* Visit + map */
.visit { display: grid; gap: 28px; background: var(--white); border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px); padding: clamp(20px, 4vw, 40px); align-items: center; }
.visit-body p i { color: var(--wood); width: 20px; }
.map { border-radius: var(--radius); overflow: hidden; background: var(--sand); min-height: 320px; }
.map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }
@media (min-width: 900px) { .visit { grid-template-columns: 1fr 1.2fr; } }

/* Page hero / crumbs */
.page-hero { background: var(--sand); padding: clamp(40px, 7vw, 72px) 0; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); margin: 0; }
.page-hero p { color: var(--ink-soft); margin: 8px 0 0; }
.cat-hero { color: #fff; background: linear-gradient(90deg, rgba(25, 17, 11, .85), rgba(25, 17, 11, .35)), var(--bg) center/cover; padding: clamp(56px, 10vw, 110px) 0; }
.cat-hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); margin: 0 0 8px; }
.cat-hero p { color: #e6d9c8; max-width: 52ch; margin: 0; }
.crumbs { font-size: .82rem; color: rgba(255, 255, 255, .75); margin-bottom: 14px; }
.crumbs a:hover { text-decoration: underline; }
.crumbs-dark { color: var(--muted); margin: 20px 0; }
.crumbs-dark span { color: var(--ink); }
.cat-intro { margin-bottom: 24px; }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.toolbar p { margin: 0; }

/* Shop filters */
.shop { display: grid; gap: 24px; align-items: start; }
.filters details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 18px; }
.filters summary { cursor: pointer; font-weight: 600; padding: 14px 0; list-style: none; display: flex; gap: 8px; align-items: center; }
.filters summary::-webkit-details-marker { display: none; }
.filter-group { padding: 14px 0; border-top: 1px solid var(--line); }
.filter-group h4 { font: 600 .78rem var(--sans); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 10px; }
.filters .btn { margin: 4px 0 18px; }
.chk { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: .92rem; cursor: pointer; }
.chk input { accent-color: var(--wood); width: 16px; height: 16px; }
select, input[type="search"], input[type="number"] { font: inherit; color: inherit; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; background: var(--white); width: 100%; }
select:focus, input:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.search { position: relative; display: block; }
.search i { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: .9rem; }
.search input { padding-left: 38px; }
.sort { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--muted); }
.sort select { width: auto; }
.empty { text-align: center; padding: 60px 16px; }
.empty i { font-size: 2.4rem; color: var(--muted); margin-bottom: 12px; }
@media (min-width: 900px) {
  .shop { grid-template-columns: 260px 1fr; }
  .filters { position: sticky; top: 90px; }
}

/* Product detail */
.pdp { display: grid; gap: 28px; padding-bottom: 32px; }
.gallery-main { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--sand); aspect-ratio: 1; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; }
.thumb { flex: 0 0 76px; height: 76px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer; background: none; opacity: .7; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.is-active, .thumb:hover { border-color: var(--wood); opacity: 1; }
.pdp-info h1 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); margin-bottom: 10px; }
.badges-inline { display: flex; gap: 6px; margin-bottom: 14px; }
.badges-inline .badge { background: var(--sand); box-shadow: none; }
.price-lg .price-now { font-size: 1.8rem; font-family: var(--serif); }
.price-lg s { font-size: 1.05rem; }
.save { background: #fdecea; color: var(--sale); font-weight: 600; font-size: .82rem; padding: 4px 10px; border-radius: 999px; }
.tax-note { font-size: .8rem; margin-top: -6px; }
.lead { font-size: 1.05rem; color: var(--ink-soft); }
.specs { margin: 20px 0; border-top: 1px solid var(--line); }
.specs div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .93rem; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; font-weight: 500; }
.in { color: #1e8e4b; }
.out { color: var(--sale); }
.order { display: grid; gap: 14px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.field { display: grid; gap: 6px; font-size: .85rem; font-weight: 600; color: var(--ink-soft); }
.qty { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; width: max-content; }
.qty button { width: 42px; border: 0; background: var(--sand); font-size: 1.2rem; cursor: pointer; color: var(--ink); }
.qty input { width: 56px; border: 0; border-radius: 0; text-align: center; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.assure { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .87rem; color: var(--ink-soft); }
.assure i { color: var(--wood); margin-right: 6px; }
.desc { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 4vw, 36px); }
.desc h2 { font-size: 1.4rem; }
@media (min-width: 900px) {
  .pdp { grid-template-columns: 1.1fr 1fr; gap: 56px; }
  .gallery { position: sticky; top: 90px; align-self: start; }
}

/* Prose / pages */
.prose { max-width: 72ch; color: var(--ink-soft); }
.prose h2, .prose h3 { color: var(--ink); margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .35em; }
.prose strong { color: var(--ink); }
.page-body { display: grid; gap: 32px; }
.page-image { border-radius: var(--radius); width: 100%; max-height: 420px; object-fit: cover; }

/* Contact */
.contact { display: grid; gap: 28px; }
.contact-cards { display: grid; gap: 16px; }
.info-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.info-card > i { font-size: 1.3rem; color: var(--wood); background: var(--sand); width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; margin-bottom: 14px; }
.info-card h3 { font: 600 1.05rem var(--sans); }
.info-card p { color: var(--ink-soft); margin-bottom: .5em; }
.info-card a:not(.btn) { color: var(--wood); font-weight: 600; }
@media (min-width: 760px) { .contact-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .contact-cards { grid-template-columns: repeat(4, 1fr); } }

/* Footer */
.footer { background: var(--dark); color: #d9ccbc; padding-top: 64px; margin-top: 0; }
.footer-grid { display: grid; gap: 32px; padding-bottom: 40px; }
.footer h4 { font: 600 .8rem var(--sans); text-transform: uppercase; letter-spacing: .12em; color: #fff; margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: .92rem; }
.footer a:hover { color: var(--gold); }
.footer .muted { color: #a8998a; font-size: .92rem; margin-top: 16px; }
.footer .muted i, .footer ul i { color: var(--gold); width: 18px; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .07); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 20px 0; font-size: .8rem; color: #8f8172; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr 1fr; } }

/* WhatsApp floating button */
.wa-fab { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; font-size: 1.9rem; box-shadow: 0 6px 20px rgba(37, 211, 102, .45); transition: transform .2s; }
.wa-fab:hover { transform: scale(1.08); }

@media (max-width: 480px) {
  .logo-text { font-size: 1rem; white-space: nowrap; }
  .logo-text small { display: none; }
  .logo-mark { width: 36px; height: 36px; }
}
