/* Lorence Laudenio Digital — main.css
   Mobile-first, no framework. */

:root {
  --primary: #0b7a55;
  --primary-dark: #096a48;
  --primary-light: #e6f5ef;
  --accent: #f5b301;
  --ink: #1a2421;
  --muted: #5b6a64;
  --bg: #ffffff;
  --bg-soft: #f6f9f7;
  --border: #e3eae6;
  --radius: 10px;
  --shadow: 0 1px 3px rgba(20, 40, 30, .08);
  --shadow-lg: 0 10px 30px rgba(20, 40, 30, .12);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .7rem 1.4rem; border-radius: var(--radius);
  font-weight: 600; font-size: 1rem; border: 2px solid transparent;
  cursor: pointer; text-decoration: none !important; min-height: 44px;
  transition: background .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-accent { background: var(--accent); color: #3d2e00; }
.btn-ghost { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-ghost:hover { background: var(--primary-light); }
.btn-sm { padding: .45rem .9rem; min-height: 36px; font-size: .9rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; gap: 1.2rem; padding: .7rem 20px; flex-wrap: wrap; }
.logo { display: flex; align-items: center; gap: .5rem; font-size: 1.05rem; color: var(--ink); text-decoration: none !important; }
.logo-mark { background: var(--primary); color: #fff; border-radius: 8px; padding: .3rem .55rem; font-weight: 800; }
.logo-text strong { color: var(--primary); }
.main-nav { display: none; gap: 1.1rem; }
.main-nav a { color: var(--ink); font-weight: 500; text-decoration: none !important; }
.main-nav a:hover { color: var(--primary); }
.header-actions { display: flex; align-items: center; gap: .8rem; margin-left: auto; }
.header-search input { padding: .5rem .8rem; border: 1px solid var(--border); border-radius: 8px; width: 150px; }
.cart-link { position: relative; color: var(--ink); display: inline-flex; }
.cart-count { background: var(--accent); color: #3d2e00; font-size: .7rem; font-weight: 700; border-radius: 99px; padding: 0 .4rem; position: absolute; top: -6px; right: -8px; }

@media (min-width: 900px) {
  .main-nav { display: flex; }
  .header-search input { width: 200px; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none !important; }
}

/* ---------- Mobile nav (hamburger) ---------- */
.nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 42px; height: 42px; padding: 9px; background: none; border: 0; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; width: 100%; background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav { display: flex; flex-direction: column; gap: .2rem; padding: .4rem 20px 1rem; background: #fff; border-bottom: 1px solid var(--border); }
.mobile-nav[hidden] { display: none; }
.mobile-nav a { padding: .7rem .4rem; color: var(--ink); font-weight: 500; text-decoration: none !important; border-bottom: 1px solid var(--border); }
.mobile-nav a:last-child { border-bottom: 0; }
.mobile-nav a:active { color: var(--primary); }

/* desktop: hide hamburger + menu (after the base rules so it wins the cascade) */
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .mobile-nav { display: none !important; }
}

/* ---------- Header search suggestions ---------- */
.header-search { position: relative; }
.search-suggest {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0; min-width: 280px;
  background: #fff; border: 1px solid var(--border); border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,.12); z-index: 100; overflow: hidden;
}
.sug-item {
  display: flex; align-items: center; gap: .6rem; padding: .55rem .8rem;
  color: var(--ink); text-decoration: none !important; font-size: .9rem;
}
.sug-item + .sug-item { border-top: 1px solid var(--border); }
.sug-item:hover, .sug-item.active { background: var(--primary-light); }
.sug-thumb, .sug-icon { width: 36px; height: 36px; flex: 0 0 36px; border-radius: 6px; object-fit: cover; }
.sug-icon { display: inline-flex; align-items: center; justify-content: center; font-size: 1.1rem; background: var(--bg, #f5f6f8); }
.sug-name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sug-meta { color: var(--muted); font-size: .78rem; font-weight: 600; white-space: nowrap; }
.sug-all { justify-content: center; font-weight: 600; color: var(--primary); }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(135deg, var(--primary-light), #fff 70%); padding: 3.5rem 0; }
.hero .container { display: grid; gap: 1.5rem; }
.hero h1 { margin-bottom: .4em; }
.hero p.lead { font-size: 1.15rem; color: var(--muted); max-width: 34em; }
.hero-badges { display: flex; gap: .6rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.badge { background: #fff; border: 1px solid var(--border); border-radius: 99px; padding: .25rem .8rem; font-size: .85rem; font-weight: 600; color: var(--muted); }
.hero-stats { display: flex; gap: 2rem; margin-top: 1.5rem; flex-wrap: wrap; }
.stat b { font-size: 1.5rem; color: var(--primary); display: block; }
.stat span { font-size: .85rem; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: 2.5rem 0; }
.section-soft { background: var(--bg-soft); }
.section-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 1.2rem; gap: 1rem; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head a { font-weight: 600; white-space: nowrap; }

/* ---------- Product grid & cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.2rem; }
.product-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow);
  transition: box-shadow .2s, transform .2s;
}
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.product-card .card-img { aspect-ratio: 16/10; background: linear-gradient(135deg, #0b7a5522, #f5b30122); display: flex; align-items: center; justify-content: center; }
.product-card .card-img img { width: 100%; height: 100%; object-fit: cover; }

/* Floating demo button over the product page main image */
.product-media { position: relative; }
.demo-overlay {
  position: absolute; top: .6rem; right: .6rem; z-index: 5;
  display: inline-flex; align-items: center; gap: .3rem;
  background: rgba(0,0,0,.72); color: #fff; border: 1px solid rgba(255,255,255,.35);
  border-radius: 99px; padding: .3rem .7rem; font-size: .78rem; font-weight: 700;
  cursor: pointer; backdrop-filter: blur(4px);
  transition: background .15s, transform .15s;
}
.demo-overlay:hover { background: #c00; transform: scale(1.05); }
.demo-overlay svg { flex: 0 0 auto; }

/* YouTube demo modal */
.yt-modal { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.yt-modal[hidden] { display: none; } /* CSS display would otherwise override the hidden attribute */
.yt-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.78); }
.yt-dialog { position: relative; width: min(900px, 100%); }
.yt-close {
  position: absolute; top: -2.4rem; right: 0; background: none; border: none; color: #fff;
  font-size: 2rem; line-height: 1; cursor: pointer; padding: .2rem .5rem;
}
.yt-player { position: relative; width: 100%; padding-top: 56.25%; border-radius: 10px; overflow: hidden; background: #000; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.yt-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-head { display: flex; align-items: center; gap: .55rem; padding: 0 0 .65rem; color: #fff; font-size: 1.05rem; }
.yt-head img { border-radius: 8px; width: 32px; height: 32px; }
.yt-head strong { color: #6fddab; }
.yt-foot { display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; padding: .9rem 0 0; }
.yt-sub-text { margin: 0; color: rgba(255,255,255,.85); font-size: .9rem; }
.yt-sub-btn { display: inline-flex; align-items: center; gap: .5rem; }
.card-body { padding: .9rem 1rem 1rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.card-title { font-size: 1.05rem; margin: 0; }
.card-title a { color: var(--ink); text-decoration: none !important; }
.card-desc { font-size: .88rem; color: var(--muted); margin: 0; flex: 1; }
.card-footer { display: flex; justify-content: space-between; align-items: center; gap: .5rem; margin-top: .4rem; flex-wrap: wrap; }
.price { font-weight: 800; font-size: 1.1rem; color: var(--primary); }
.price .old { color: var(--muted); font-weight: 400; font-size: .85rem; text-decoration: line-through; margin-right: .3rem; }
.price .free-tag { color: var(--primary); }
.tag { display: inline-block; background: var(--primary-light); color: var(--primary); border-radius: 5px; font-size: .72rem; font-weight: 700; padding: .1rem .45rem; text-transform: uppercase; letter-spacing: .03em; }
.tag-free { background: var(--accent); color: #3d2e00; }
.tag-sale { background: #ffe3e3; color: #b00020; }

/* ---------- Category chips ---------- */
.category-chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.chip { background: #fff; border: 1px solid var(--border); padding: .5rem 1rem; border-radius: 99px; font-weight: 600; font-size: .92rem; color: var(--ink); text-decoration: none !important; }
.chip:hover, .chip.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ---------- Listing toolbar (result count + sort) ---------- */
.listing-toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: .8rem;
  flex-wrap: wrap; padding: .6rem .9rem;
  background: var(--bg-soft); border: 1px solid var(--border); border-radius: 12px;
}
.result-count { color: var(--muted); font-size: .9rem; font-weight: 600; }
.sort-form { display: flex; align-items: center; gap: .45rem; }
.sort-label {
  color: var(--muted); font-size: .85rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .04em;
}
.sort-select {
  appearance: none; -webkit-appearance: none;
  background: #fff url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230b7a55' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right .8rem center;
  border: 1px solid var(--border); border-radius: 999px;
  padding: .5rem 2.2rem .5rem 1rem; min-height: 40px;
  font: inherit; font-size: .92rem; font-weight: 600; color: var(--ink);
  cursor: pointer; transition: border-color .15s, box-shadow .15s;
}
.sort-select:hover { border-color: var(--primary); }
.sort-select:focus { border-color: var(--primary); outline: 2px solid var(--primary-light); }
.sort-select option { font-weight: 400; }

/* ---------- Forms ---------- */
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 600; margin-bottom: .3rem; font-size: .95rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: .65rem .8rem; border: 1px solid var(--border); border-radius: 8px;
  font: inherit; background: #fff; min-height: 44px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--primary); outline: 2px solid var(--primary-light); }
.field .hint { font-size: .82rem; color: var(--muted); margin-top: .2rem; }
.form-error { background: #fff2f2; border: 1px solid #f3c1c1; color: #a10000; border-radius: 8px; padding: .7rem 1rem; margin-bottom: 1rem; }
.form-success { background: var(--primary-light); border: 1px solid #b7e0cd; color: var(--primary-dark); border-radius: 8px; padding: .7rem 1rem; margin-bottom: 1rem; }

/* ---------- Cart / checkout ---------- */
.cart-layout, .checkout-layout { display: grid; gap: 1.5rem; }
@media (min-width: 860px) {
  .cart-layout, .checkout-layout { grid-template-columns: 1fr 360px; align-items: start; }
}
.cart-item { display: flex; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--border); align-items: center; }
.cart-item img { width: 80px; height: 54px; border-radius: 8px; object-fit: cover; background: var(--primary-light); }
.summary-box { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.2rem; }
.summary-box h2 { font-size: 1.15rem; }
.summary-row { display: flex; justify-content: space-between; padding: .3rem 0; }
.summary-total { font-weight: 800; font-size: 1.15rem; border-top: 1px solid var(--border); margin-top: .5rem; padding-top: .7rem; }
.payment-option { display: flex; gap: .8rem; border: 2px solid var(--border); border-radius: var(--radius); padding: 1rem; margin-bottom: .8rem; cursor: pointer; }
.payment-option.selected { border-color: var(--primary); background: var(--primary-light); }
.payment-option input { accent-color: var(--primary); }

/* ---------- Product page ---------- */
.product-layout { display: grid; gap: 2rem; padding: 2rem 0; }
@media (min-width: 860px) { .product-layout { grid-template-columns: 1fr 1fr; } }
.product-media { background: linear-gradient(135deg, #0b7a5522, #f5b30122); border-radius: var(--radius); aspect-ratio: 16/10; display: flex; align-items: center; justify-content: center; }
.breadcrumbs { font-size: .85rem; color: var(--muted); padding: 1rem 0 0; }
.breadcrumbs a { color: var(--muted); }
.feature-list { list-style: none; padding: 0; margin: 0 0 1rem; }
.feature-list li { padding-left: 1.6rem; position: relative; margin-bottom: .35rem; }
.feature-list li::before { content: "✓"; position: absolute; left: 0; color: var(--primary); font-weight: 800; }
.tabs { margin-top: 1.5rem; }
.tab-list { display: flex; gap: .3rem; border-bottom: 2px solid var(--border); flex-wrap: wrap; }
.tab-list button { background: none; border: none; padding: .6rem 1rem; font: inherit; font-weight: 600; cursor: pointer; color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -2px; }
.tab-list button[aria-selected="true"] { color: var(--primary); border-color: var(--primary); }
.tab-panel { padding: 1rem 0; }

/* ---------- Reviews ---------- */
.review { border-bottom: 1px solid var(--border); padding: 1rem 0; }
.review-head { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; flex-wrap: wrap; }
.stars { color: var(--accent); letter-spacing: 2px; }
.verified-purchase { font-size: .75rem; background: var(--primary-light); color: var(--primary); border-radius: 4px; padding: .1rem .4rem; font-weight: 700; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; }
table.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th { text-align: left; background: var(--bg-soft); padding: .6rem .7rem; border-bottom: 2px solid var(--border); white-space: nowrap; }
.table td { padding: .6rem .7rem; border-bottom: 1px solid var(--border); vertical-align: top; }

/* ---------- FAQ / benefits ---------- */
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: .7rem; overflow: hidden; }
.faq-item summary { padding: .9rem 1rem; font-weight: 600; cursor: pointer; }
.faq-item .faq-body { padding: 0 1rem 1rem; color: var(--muted); }
.benefit-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.2rem; }
.benefit { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.2rem; }
.benefit .icon { font-size: 1.6rem; }

/* ---------- Sales notification toast ---------- */
.sales-toast {
  position: fixed; bottom: 16px; left: 16px; z-index: 90;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: .7rem 2rem .7rem .7rem;
  max-width: 380px; overflow: hidden;
  display: flex; gap: .7rem; align-items: center; font-size: .9rem;
  opacity: 0; transform: translateY(12px);
  transition: opacity .35s ease, transform .35s ease;
  animation: toast-progress 5s linear forwards;
}
.sales-toast.show { opacity: 1; transform: translateY(0); }
.sales-toast::before { /* accent edge */
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(180deg, var(--primary), var(--primary-dark));
}
@keyframes toast-progress {
  from { background-size: 0% 3px; }
  to { background-size: 100% 3px; }
}
.sales-toast .toast-icon { font-size: 1.3rem; }
.sales-toast .toast-thumb {
  width: 56px; height: 56px; object-fit: cover; border-radius: 8px; flex-shrink: 0;
  box-shadow: var(--shadow);
}
.sales-toast .toast-body { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.sales-toast .toast-msg { color: var(--ink); line-height: 1.35; }
.sales-toast .toast-msg a { color: var(--primary); font-weight: 600; text-decoration: none; }
.sales-toast .toast-msg a:hover, .sales-toast .toast-msg a:focus-visible { text-decoration: underline; }
.sales-toast .toast-ago {
  color: var(--muted); font-size: .78rem; display: inline-flex; align-items: center; gap: .3rem;
}
.sales-toast .toast-ago::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); }
.sales-toast .toast-close {
  position: absolute; top: 3px; right: 5px;
  background: none; border: none; color: var(--muted); font-size: 1.1rem; line-height: 1;
  cursor: pointer; padding: .2rem .35rem; border-radius: 6px;
}
.sales-toast .toast-close:hover { color: var(--ink); background: var(--bg-soft); }
.sales-toast.clickable { cursor: pointer; }
.sales-toast.clickable:hover { border-color: var(--primary); box-shadow: 0 10px 30px rgba(11, 122, 85, .25); }
.sales-toast.clickable:hover .toast-msg { color: var(--primary-dark); }
@media (max-width: 480px) {
  .sales-toast { left: 10px; right: 10px; max-width: none; bottom: 10px; }
  .header-search input { width: 110px; }
  .header-actions { gap: .5rem; }
  .logo-text { font-size: .95rem; }
}

/* ---------- Account / admin shared ---------- */
.page-split { display: grid; gap: 1.5rem; padding: 2rem 0; }
@media (min-width: 860px) { .page-split { grid-template-columns: 220px 1fr; } }
.split-nav { background: var(--bg-soft); border-radius: var(--radius); padding: .8rem; }
.split-nav a { display: block; padding: .5rem .8rem; border-radius: 8px; color: var(--ink); font-weight: 500; }
.split-nav a.active, .split-nav a:hover { background: #fff; color: var(--primary); }

/* ---------- Utility ---------- */
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.center { text-align: center; }
.mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 1rem; }
.error-page { padding: 4rem 0; text-align: center; }
.error-page h1 { font-size: 4rem; color: var(--primary); margin-bottom: .2em; }
.pagination { display: flex; gap: .4rem; margin-top: 1.5rem; flex-wrap: wrap; }
.pagination a, .pagination span { padding: .45rem .85rem; border: 1px solid var(--border); border-radius: 8px; font-weight: 600; }
.pagination .current { background: var(--primary); color: #fff; border-color: var(--primary); }
.order-timeline { list-style: none; padding-left: 1.2rem; border-left: 2px solid var(--border); }
.order-timeline li { position: relative; padding: .3rem 0 .8rem; }
.order-timeline li::before { content: ""; position: absolute; left: -1.35rem; top: .55rem; width: 10px; height: 10px; border-radius: 50%; background: var(--primary); }
.qr-box { background: #fff; border: 2px dashed var(--border); border-radius: var(--radius); padding: 1.5rem; text-align: center; }

/* Product gallery thumbnails */
.gallery-thumbs { display: flex; gap: .5rem; margin-top: .5rem; flex-wrap: wrap; }
.gallery-thumbs .thumb { border: 2px solid transparent; border-radius: 8px; padding: 0; background: none; cursor: pointer; line-height: 0; }
.gallery-thumbs .thumb img { width: 84px; height: auto; border-radius: 6px; }
.gallery-thumbs .thumb.active { border-color: var(--accent, #0b7a55); }

/* Admin gallery grid */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .75rem; margin: .5rem 0 1rem; }

/* ---------- Site footer ---------- */
.site-footer { background: #0f2b22; color: #d8e8e1; margin-top: 3rem; padding: 2.5rem 0 1.25rem; }
.site-footer .footer-grid { display: grid; grid-template-columns: 1fr; gap: 1.75rem; padding-bottom: 1.75rem; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-logo { color: #fff; margin-bottom: .5rem; }
.footer-logo .logo-mark { background: var(--accent, #f5b301); color: #14241d; }
.site-footer p { color: #a9c5ba; font-size: .92rem; margin: .25rem 0 0; max-width: 34ch; }
.site-footer nav h3 { color: #fff; font-size: .95rem; margin: 0 0 .65rem; letter-spacing: .02em; }
.site-footer nav a { display: block; color: #cfe1d9; text-decoration: none; font-size: .92rem; padding: .22rem 0; }
.site-footer nav a:hover { color: var(--accent, #f5b301); text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: .75rem; padding-top: 1.1rem; flex-wrap: wrap; }
.footer-bottom p { margin: 0; font-size: .85rem; color: #8fb0a5; }
@media (min-width: 700px) {
  .site-footer .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.4fr; }
}

/* ---------- Floating cart (bottom-right) ---------- */
.cart-fab {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 90;
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--primary); color: #fff;
  box-shadow: 0 6px 18px rgba(11, 122, 85, .45);
  text-decoration: none !important; cursor: pointer;
  transition: transform .15s, background .15s;
}
.cart-fab:hover { background: var(--primary-dark); transform: scale(1.08); }
.cart-fab[hidden] { display: none; }
.cart-fab .cart-count { position: absolute; top: -4px; right: -6px; font-size: .75rem; }

/* ---------- Slide-in mini cart drawer ---------- */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(10, 25, 18, .5); z-index: 95; }
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 96;
  width: min(360px, 92vw); background: #fff;
  box-shadow: -10px 0 30px rgba(20, 40, 30, .25);
  display: flex; flex-direction: column;
  transform: translateX(105%); transition: transform .25s ease;
}
.cart-drawer.open { transform: translateX(0); }
.cart-drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.1rem; border-bottom: 1px solid var(--border); }
.cart-drawer-head h2 { margin: 0; font-size: 1.15rem; }
.drawer-close { background: none; border: none; font-size: 1.7rem; line-height: 1; cursor: pointer; color: var(--muted); padding: .2rem .5rem; }
.drawer-close:hover { color: var(--ink); }
.cart-drawer-items { flex: 1; overflow-y: auto; padding: .6rem 1.1rem; }
.mini-item { display: flex; gap: .7rem; align-items: center; padding: .65rem 0; border-bottom: 1px solid var(--border); }
.mini-item img, .mini-item .logo-mark { width: 64px; height: 40px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.mini-item-body { flex: 1; display: flex; flex-direction: column; gap: .1rem; min-width: 0; }
.mini-item-body a { color: var(--ink); font-weight: 600; font-size: .95rem; text-decoration: none !important; }
.mini-item-body .price { font-size: .9rem; }
.mini-remove { background: none; border: none; color: var(--muted); font-size: 1.25rem; cursor: pointer; padding: .2rem .4rem; }
.mini-remove:hover { color: #b00020; }
.cart-drawer-foot { padding: 1rem 1.1rem 1.2rem; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: .55rem; }
.cart-drawer-total { display: flex; justify-content: space-between; align-items: baseline; }
.cart-drawer-total strong { color: var(--primary); font-size: 1.2rem; }

/* Checkout QR panel (shown when GCash/Maya/bank QR selected) */
.qr-panel { display: grid; grid-template-columns: 1fr; gap: 1rem; background: var(--primary-light); border: 1px solid #b7e0cd; border-radius: var(--radius); padding: 1rem; }
.qr-panel[hidden] { display: none; }
.qr-panel-img img { margin: 0 auto; border-radius: 8px; background: #fff; padding: .4rem; box-shadow: var(--shadow); }
.qr-panel-details p { margin: 0 0 .6rem; }
@media (min-width: 700px) { .qr-panel { grid-template-columns: 200px 1fr; align-items: start; } }

/* QR panel title */
.qr-panel-title { margin: 0 0 .2rem; font-size: 1.05rem; }
.qr-panel .muted.small { margin: 0 0 .6rem; }
.qr-panel[style*="grid"] .qr-panel-title, .qr-panel > .qr-panel-title { grid-column: 1 / -1; }

/* Payment method cards (option + QR panel in one card) */
.payment-card { border: 2px solid var(--border); border-radius: var(--radius); margin-bottom: .8rem; overflow: hidden; background: #fff; }
.payment-card .payment-option { border: none; border-radius: 0; margin: 0; padding: .9rem 1rem; }
.payment-card.selected { border-color: var(--primary); background: var(--primary-light); }
.payment-card .qr-panel { background: transparent; border: none; border-top: 1px solid var(--border); border-radius: 0; padding: 1rem; }

/* Checkout coupon */
.coupon-row { display: flex; gap: .5rem; }
.coupon-row input { flex: 1; min-width: 0; }
.coupon-row .btn { flex-shrink: 0; }

/* Required-field markers */
.req { color: #b00020; }

/* Image logo */
.logo-img { width: 36px; height: 36px; object-fit: contain; border-radius: 8px; flex-shrink: 0; }
.footer-logo .logo-img { border-radius: 8px; }

/* Variant (theme) picker */
.variant-options { display: flex; flex-wrap: wrap; gap: .5rem; margin: .5rem 0; }
.variant-option { display: inline-flex; align-items: center; gap: .25rem; padding: .45rem .9rem; border: 2px solid var(--border, #d7e0da); border-radius: 999px; cursor: pointer; font-size: .95rem; background: #fff; }
.variant-option:hover { border-color: var(--primary, #217a63); }
.variant-option.selected { border-color: var(--primary, #217a63); background: rgba(33,122,99,.08); font-weight: 600; }
.variant-option input { position: absolute; opacity: 0; pointer-events: none; }
.thumb-variant img { border-radius: .25rem; }
/* ---- Product FAQ ---- */
.faq-list { display: grid; gap: .5rem; max-width: 720px; }
.faq-item { background: #fff; border: 1px solid var(--border, #d7e0da); border-radius: .6rem; padding: .75rem 1rem; }
.faq-item summary { cursor: pointer; font-weight: 600; list-style-position: outside; }
.faq-item[open] summary { color: var(--primary, #217a63); }
.faq-item p { margin: .5rem 0 0; color: var(--text-muted, #555); }
.listing-sub { line-height: 1.55; max-width: 760px; }
/* ---- Blog ---- */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.25rem; }
.blog-card { background: #fff; border: 1px solid var(--border, #d7e0da); border-radius: .8rem; overflow: hidden; display: flex; flex-direction: column; }
.blog-card-img img { width: 100%; height: 200px; object-fit: cover; display: block; }
.blog-card-body { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .4rem; }
.blog-card-body h2, .blog-card-body h3 { font-size: 1.05rem; margin: 0; }
.blog-card-body h2 a, .blog-card-body h3 a { color: inherit; text-decoration: none; }
.blog-card-body h2 a:hover, .blog-card-body h3 a:hover { color: var(--primary, #217a63); }
.article-container { max-width: 780px; }
.article-meta { margin: .25rem 0 1rem; }
.article-hero { width: 100%; height: auto; border-radius: .8rem; margin-bottom: 1.25rem; }
.article-content { line-height: 1.75; font-size: 1.02rem; }
.article-content h2 { font-size: 1.35rem; margin: 1.75rem 0 .5rem; }
.article-content h3 { font-size: 1.12rem; margin: 1.4rem 0 .4rem; }
.article-content img { max-width: 100%; height: auto; border-radius: .6rem; }
.article-content ul, .article-content ol { padding-left: 1.4rem; }
.article-content li { margin: .35rem 0; }
.article-content blockquote { border-left: 4px solid var(--primary, #217a63); margin: 1rem 0; padding: .5rem 1rem; background: rgba(33,122,99,.05); border-radius: 0 .4rem .4rem 0; }
