/* ===== Dynamic pages: banner, categories, product grid, product detail ===== */

.center-btn { margin-top: 3rem; text-align: center; }
.center-btn .btn-ink { margin-top: 0; }
.mobile-nav a.sub { padding: .25rem 0 .25rem 1rem; font-weight: 500; font-size: .875rem; color: var(--muted-foreground); }

/* page banner */
.page-banner { background: var(--ink); color: var(--ink-foreground); padding: 3.5rem 0; border-bottom: 4px solid var(--primary);
  background-image: linear-gradient(135deg, oklch(0.2 0 0), oklch(0.26 0.02 60)); }
.page-banner h1 { margin-top: .75rem; font-size: 1.875rem; font-weight: 900; line-height: 1.15; max-width: 52rem; }
.page-banner p { margin-top: .75rem; max-width: 40rem; opacity: .75; }
.crumbs { display: flex; flex-wrap: wrap; gap: .5rem; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.crumbs a { color: var(--kraft); }
.crumbs a:hover { color: var(--primary); }
.crumbs i { font-style: normal; opacity: .4; }
.crumbs span { opacity: .8; }

/* category cards */
.cat-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
.cat-card { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius); background: var(--background); box-shadow: var(--shadow-card); transition: transform .4s; }
.cat-card:hover { transform: translateY(-6px); }
.cat-card .thumb { height: 15rem; overflow: hidden; background: var(--muted); }
.cat-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.cat-card:hover .thumb img { transform: scale(1.08); }
.cat-card .body { display: flex; flex: 1; flex-direction: column; padding: 1.5rem; }
.cat-card .count { font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .15em; color: var(--primary); }
.cat-card h3 { margin-top: .35rem; font-size: 1.2rem; font-weight: 900; color: var(--ink); }
.cat-card p { margin-top: .5rem; font-size: .875rem; color: var(--muted-foreground); flex: 1; }
.cat-card .more { margin-top: 1rem; display: inline-flex; align-items: center; gap: .35rem; font-size: .875rem; font-weight: 800; color: var(--primary); }
.cat-card:hover .more { gap: .65rem; }

/* product cards (grid) */
.pgrid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
.pgrid .product, .cat-grid + .x { width: auto; }
.product .thumb { display: block; background: var(--muted); }
.product h3 a:hover { color: var(--primary); }
.product .cat-label { font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: var(--primary); margin-bottom: .35rem; }
.product .actions a, .product .actions button { flex: 1; border-radius: var(--radius); padding: .5rem 0; font-size: .875rem; font-weight: 700; text-align: center; transition: .2s; }
.product .actions a.btn-view { border: 2px solid var(--ink); }
.product .actions a.btn-view:hover { background: var(--ink); color: var(--ink-foreground); }
.product-track .product.reveal { opacity: 1; transform: none; }
.empty { padding: 3rem 0; text-align: center; color: var(--muted-foreground); }
.empty a { color: var(--primary); font-weight: 700; }

/* filters */
.filter-bar { display: flex; gap: .75rem; max-width: 34rem; margin-bottom: 1.25rem; }
.filter-bar .search { display: flex; flex: 1; align-items: center; gap: .5rem; border: 1px solid var(--input); border-radius: 6px; padding: 0 .9rem; background: var(--background); }
.filter-bar input { width: 100%; border: 0; outline: none; padding: .75rem 0; font: inherit; background: none; }
.filter-bar .btn { padding: .75rem 1.25rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.chip { border: 1px solid var(--input); border-radius: 999px; padding: .4rem .9rem; font-size: .8rem; font-weight: 700; transition: .2s; }
.chip:hover { border-color: var(--primary); color: var(--primary); }
.chip.on { background: var(--primary); border-color: var(--primary); color: var(--primary-foreground); }

/* category intro */
.cat-intro { display: grid; gap: 2rem; align-items: center; margin-bottom: 4rem; }
.cat-intro-img img { width: 100%; max-height: 26rem; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-card); background: var(--muted); }
.cat-intro .title { font-size: 1.75rem; }
.lead { margin-top: 1rem; line-height: 1.75; }
.cat-intro .btn { margin-top: 1.5rem; }

/* product detail */
.pd-grid { display: grid; gap: 2.5rem; }
.pd-main { overflow: hidden; border-radius: var(--radius); background: var(--muted); box-shadow: var(--shadow-card); }
.pd-main img { width: 100%; max-height: 34rem; object-fit: contain; margin: 0 auto; }
.pd-thumbs { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .9rem; }
.pd-thumbs button { width: 4.5rem; height: 4.5rem; overflow: hidden; border: 2px solid transparent; border-radius: 6px; background: var(--muted); }
.pd-thumbs button.on, .pd-thumbs button:hover { border-color: var(--primary); }
.pd-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pd-cat { display: inline-block; border-radius: 4px; background: var(--muted); padding: .25rem .7rem; font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--primary); }
.pd-cat:hover { background: var(--primary); color: var(--primary-foreground); }
.pd-info .title { margin-top: .9rem; font-size: 1.75rem; }
.pd-short { margin-top: .9rem; font-size: 1.1rem; font-weight: 700; color: var(--ink); }
.pd-info .cl { margin-top: 1.75rem; font-size: .875rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--primary); }
.checks { margin-top: .6rem; display: grid; gap: .4rem; }
.checks li { display: flex; align-items: center; gap: .5rem; font-size: .95rem; }
.checks .icon { color: var(--primary); stroke-width: 3; }
.pd-info .note { margin-top: 1.25rem; font-size: .8rem; color: var(--muted-foreground); }
.pd-actions { margin-top: 1.75rem; display: flex; flex-wrap: wrap; gap: .75rem; }
.pd-actions .btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .9rem 1.4rem; }
.pd-actions .icon { width: 1.1rem; height: 1.1rem; }
.btn-wa { background: #1fa855; color: #fff; }
.btn-wa:hover { background: var(--ink); }
.btn-outline-dark { border: 2px solid var(--ink); }
.btn-outline-dark:hover { background: var(--ink); color: var(--ink-foreground); }
.pd-actions button.btn-primary { cursor: pointer; }

/* floating whatsapp */
.wa-float { position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 40; display: inline-flex; align-items: center; gap: .6rem; height: 3.4rem; padding: 0 1.15rem 0 .9rem; border-radius: 999px; background: #25d366; color: #fff; font-weight: 700; font-size: .95rem; line-height: 1; text-decoration: none; box-shadow: 0 10px 25px -8px rgba(0,0,0,.5); transition: transform .2s, box-shadow .2s; }
.wa-float:hover { transform: translateY(-2px) scale(1.04); box-shadow: 0 14px 28px -8px rgba(0,0,0,.55); }
.wa-float .wa-logo { width: 1.9rem; height: 1.9rem; flex: 0 0 auto; }
.wa-float .wa-text { white-space: nowrap; }
@media (max-width: 380px) { .wa-float { height: 3.1rem; padding: 0 .9rem 0 .7rem; font-size: .88rem; } .wa-float .wa-logo { width: 1.7rem; height: 1.7rem; } }

/* form feedback */
.sent-msg.show { color: #14803c; font-weight: 700; }
.sent-msg.err { color: var(--primary); font-weight: 700; }
.sent-msg a { text-decoration: underline; }

/* footer with 4 columns */
.footer-grid { grid-template-columns: 1fr; }
@media (min-width: 640px) { .cat-grid, .pgrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) {
  .page-banner h1 { font-size: 3rem; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid .span2 { grid-column: 1 / -1; }
  .cat-intro { grid-template-columns: 5fr 7fr; gap: 3rem; }
}
@media (min-width: 1024px) {
  .cat-grid, .pgrid { grid-template-columns: repeat(3, 1fr); }
  .pd-grid { grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: start; }
  .pd-gallery { position: sticky; top: 7rem; }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1.4fr 1.4fr; }
  .footer-grid .span2 { grid-column: auto; }
}
@media (min-width: 1280px) { .cat-grid.four { grid-template-columns: repeat(4, 1fr); } }

/* static-site extras */
.submit.alt { background: var(--ink); } .submit.alt:hover { background: var(--primary); }
.submit { cursor: pointer; }

/* ===== v3: logo, nav, topbar, mobile menu, testimonials ===== */
.brand img { width: 4.5rem; height: 4.5rem; }
.site-header.scrolled .brand img { width: 3.6rem; height: 3.6rem; }
@media (min-width: 768px) { .brand img { width: 5.25rem; height: 5.25rem; } .site-header.scrolled .brand img { width: 4rem; height: 4rem; } }
.desktop-nav { font-size: 1rem; gap: 1.6rem; }
@media (min-width: 1024px) and (max-width: 1199px) { .desktop-nav { font-size: .95rem; gap: 1.1rem; } }
.dropdown-menu a { font-size: .95rem; }
.header-cta { font-size: 1rem; white-space: nowrap; }
@media (max-width: 767px) { .topbar { display: none; } }

.mobile-nav { max-height: calc(100vh - 5.5rem); max-height: calc(100dvh - 5.5rem); overflow-y: auto; -webkit-overflow-scrolling: touch; padding: .5rem 1rem 1.25rem; }
.mobile-nav a, .mobile-nav .m-row a { display: flex; align-items: center; gap: .85rem; padding: .7rem 0; font-size: 1.05rem; font-weight: 700; border-bottom: 1px solid var(--border); }
.mobile-nav a.btn { justify-content: center; border-bottom: 0; margin-top: 1rem; }
.mobile-nav .mi { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 2.25rem; height: 2.25rem; border-radius: .6rem; background: color-mix(in srgb, var(--primary) 10%, transparent); color: var(--primary); }
.mobile-nav .mi svg { width: 1.2rem; height: 1.2rem; }
.m-row { display: flex; align-items: stretch; border-bottom: 1px solid var(--border); }
.m-row a { flex: 1; border-bottom: 0 !important; }
.m-tog { flex: 0 0 3rem; display: flex; align-items: center; justify-content: center; background: none; border: 0; border-left: 1px solid var(--border); color: var(--ink); cursor: pointer; }
.m-tog .icon { width: 1.3rem; height: 1.3rem; transition: transform .2s; }
.m-tog.on .icon { transform: rotate(180deg); }
.m-sub { background: var(--muted, #f5f5f5); border-radius: .75rem; margin: .35rem 0 .5rem; padding: .25rem .75rem; }
.m-sub[hidden] { display: none; }
.mobile-nav .m-sub a.sub { font-size: .95rem; font-weight: 600; padding: .6rem 0; }
.mobile-nav .m-sub a.sub:last-child { border-bottom: 0; }
.mobile-nav .m-sub .mi { width: 2rem; height: 2rem; background: #fff; }

/* testimonials slider */
.testi-slider { position: relative; }
.ts-viewport { overflow: hidden; border: 1px solid oklch(0.98 0 0 / .12); border-radius: var(--radius); }
.ts-track { display: flex; transition: transform .55s cubic-bezier(.4, 0, .2, 1); }
.ts-slide { flex: 0 0 100%; margin: 0; padding: 2.25rem 1.5rem 2rem; text-align: center; }
.ts-slide > .icon { width: 2.75rem; height: 2.75rem; margin: 0 auto; color: var(--primary); }
.ts-stars { margin-top: 1rem; font-size: 1.25rem; letter-spacing: .15rem; color: oklch(0.98 0 0 / .25); }
.ts-stars .on { color: #f5b301; }
.ts-slide blockquote { margin: 1rem auto 0; max-width: 40rem; font-size: 1.1rem; line-height: 1.7; opacity: .92; }
.ts-slide figcaption { margin-top: 1.5rem; display: flex; flex-direction: column; gap: .15rem; }
.ts-slide figcaption b { font-size: 1.05rem; }
.ts-slide figcaption span { font-size: .85rem; opacity: .65; }
.ts-nav { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.25rem; }
.ts-btn { width: 2.6rem; height: 2.6rem; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid oklch(0.98 0 0 / .3); background: transparent; color: inherit; cursor: pointer; transition: background .2s, border-color .2s; }
.ts-btn:hover { background: var(--primary); border-color: var(--primary); }
.ts-dots { display: flex; gap: .5rem; }
.ts-dots button { width: .65rem; height: .65rem; border-radius: 999px; border: 0; padding: 0; background: oklch(0.98 0 0 / .3); cursor: pointer; transition: all .25s; }
.ts-dots button.on { width: 1.8rem; background: var(--primary); }
.testi-cta { margin-top: 1.5rem; }
@media (min-width: 768px) { .ts-slide { padding: 3rem 4rem 2.5rem; } .ts-slide blockquote { font-size: 1.25rem; } }
.testi-cta .btn { padding: .8rem 1.6rem; }

/* ===== inner pages ===== */
.cta-band { text-align: center; }
.cta-band h2 { font-size: 1.75rem; font-weight: 900; color: var(--ink-foreground); }
.cta-band p { margin: .75rem auto 0; max-width: 36rem; opacity: .75; }
.cta-btns { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-top: 1.75rem; }
@media (min-width: 768px) { .cta-band h2 { font-size: 2.25rem; } }
.ind-intro { max-width: 46rem; margin: -1rem auto 3rem; text-align: center; color: var(--muted-foreground, #666); line-height: 1.7; }
.ind-row { display: grid; gap: 1.5rem; align-items: center; margin-bottom: 3rem; }
.ind-pic img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-card); }
.ind-info h3 { font-size: 1.6rem; font-weight: 900; color: var(--ink); }
.ind-info > p { margin-top: .75rem; color: var(--muted-foreground, #666); line-height: 1.7; }
.ind-info .ind-lbl { margin-top: 1.25rem; font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--primary); }
.ind-info .chips { margin-top: .6rem; }
.ind-info .btn { margin-top: 1.5rem; }
@media (min-width: 900px) { .ind-row { grid-template-columns: 1fr 1fr; gap: 3.5rem; } .ind-row.rev .ind-pic { order: 2; } }
.feat-grid { display: grid; gap: 1.25rem; }
.feat { background: #fff; border: 1px solid var(--border); border-left: 4px solid var(--primary); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow-card); }
.feat h3 { font-size: 1.15rem; font-weight: 900; color: var(--ink); }
.feat p { margin-top: .6rem; color: var(--muted-foreground, #666); line-height: 1.65; }
@media (min-width: 768px) { .feat-grid { grid-template-columns: repeat(3, 1fr); } }

@media (max-width: 767px) { .wa-float { width: 3.2rem; height: 3.2rem; padding: 0; justify-content: center; } .wa-float .wa-text { display: none; } .wa-float .wa-logo { width: 1.8rem; height: 1.8rem; } }
