/* Puff District storefront theme - clean white */
:root {
  --bg: #ffffff;
  --bg-2: #f6f6f7;
  --bg-3: #ececee;
  --line: #e4e4e7;
  --text: #121212;
  --muted: #6b6b73;
  --accent: #121212;
  --accent-2: #0f766e;
  --sale: #d92d20;
  --radius: 10px;
  --bs-body-bg: var(--bg);
  --bs-body-color: var(--text);
  --bs-border-color: var(--line);
  --bs-link-color: #121212;
  --bs-link-hover-color: #000;
}
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
body.age-locked { overflow: hidden; }
a { text-decoration: none; }
h1, h2, h3, h4, h5 { letter-spacing: -.01em; }
.text-muted-2 { color: var(--muted) !important; }
.text-accent, .link-accent { color: var(--sale) !important; }
.link-accent { color: var(--text) !important; text-decoration: underline; text-underline-offset: 3px; }
.link-accent:hover { color: #000 !important; }
::selection { background: #121212; color: #fff; }

/* Buttons */
.btn-accent { background: #121212; border: 1px solid #121212; color: #fff; font-weight: 600; border-radius: 8px; transition: background .15s, transform .15s; }
.btn-accent:hover, .btn-accent:focus { color: #fff; background: #2b2b2f; border-color: #2b2b2f; }
.btn-accent:active { transform: translateY(1px); }
.btn-accent:disabled, .btn-accent.disabled { opacity: .5; }
.btn-outline-light { border: 1px solid #c9c9ce; color: var(--text); background: #fff; border-radius: 8px; font-weight: 500; }
.btn-outline-light:hover, .btn-outline-light:focus { background: var(--bg-2); border-color: #121212; color: #000; }
.btn-outline-light.disabled, .btn-outline-light:disabled { color: #9a9aa2; border-color: var(--line); background: var(--bg-2); }
.form-control, .form-select { background-color: #fff; border-color: #d4d4d8; color: var(--text); border-radius: 8px; }
.form-control:focus, .form-select:focus { background-color: #fff; color: var(--text); border-color: #121212; box-shadow: 0 0 0 .2rem rgba(18,18,18,.12); }
.form-control::placeholder { color: #9a9aa2; }
.form-check-input { background-color: #fff; border-color: #a1a1aa; }
.form-check-input:checked { background-color: #121212; border-color: #121212; }
.form-label { color: #3f3f46; font-size: .9rem; }

/* Announcement + header */
.announce { background: #121212; color: #fff; font-size: .82rem; font-weight: 500; padding: .5rem 1rem; letter-spacing: .01em; }
.site-header { background: rgba(255,255,255,.95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); z-index: 1030; }
.brand { display: inline-flex; align-items: center; gap: .55rem; color: var(--text); font-weight: 800; font-size: 1.3rem; }
.brand:hover { color: #000; }
.brand-mark { width: 36px; height: 36px; border-radius: 10px; background: #121212; color: #fff; display: grid; place-items: center; font-size: 1.1rem; }
.navbar .nav-link { color: #3f3f46; font-weight: 500; padding: .6rem .85rem; }
.navbar .nav-link:hover { color: #000; }
.navbar-toggler { border-color: var(--line); }
.dropdown-menu, .dropdown-menu-dark { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: .5rem; box-shadow: 0 16px 40px -16px rgba(0,0,0,.2); --bs-dropdown-link-color: #3f3f46; --bs-dropdown-link-hover-bg: var(--bg-2); --bs-dropdown-link-hover-color: #000; --bs-dropdown-link-active-bg: var(--bg-3); --bs-dropdown-link-active-color: #000; }
.dropdown-menu .dropdown-item { border-radius: 8px; color: #3f3f46; }
.dropdown-menu .dropdown-item:hover { background: var(--bg-2); color: #000; }
.mega-brands { columns: 2; min-width: 320px; }
.search-form { position: relative; width: 280px; }
.search-form .form-control { border-radius: 999px; padding-right: 2.6rem; background: var(--bg-2); border-color: var(--line); }
.search-form .btn { position: absolute; right: 4px; top: 2px; color: var(--muted); }
.cart-btn { position: relative; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--text); font-size: 1.2rem; border: 1px solid var(--line); }
.cart-btn:hover { border-color: #121212; color: #000; }
.cart-count { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: #121212; color: #fff; font-size: .72rem; font-weight: 700; display: grid; place-items: center; }
.cart-count[hidden] { display: none; }
.mobile-links .list-group-item { background: transparent; color: var(--text); border-color: var(--line); }
.offcanvas.text-bg-dark { background: #fff !important; color: var(--text) !important; }
.offcanvas .btn-close-white { filter: none; }

/* Hero */
.hero-slide { min-height: 460px; background: linear-gradient(120deg, #f4f4f5 0%, #e9e9ec 55%, #dcdce1 100%); background-size: cover; background-position: center; display: flex; align-items: center; position: relative; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.92) 10%, rgba(255,255,255,.55) 60%, rgba(255,255,255,.1)); }
.hero-copy { max-width: 560px; padding: 3.5rem 0; }
.hero-kicker { display: inline-block; font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 700; color: var(--muted); }
.hero-title { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.05; margin-top: .5rem; color: var(--text); }
.carousel-indicators [data-bs-target] { width: 28px; height: 3px; border-radius: 2px; border: 0; background-color: #121212; }
.carousel-control-prev-icon, .carousel-control-next-icon { filter: invert(1); }

/* Trust strip */
.trust-strip { background: #fff; border-bottom: 1px solid var(--line); padding: 1.1rem 0; }
.trust { display: flex; gap: .8rem; align-items: center; }
.trust i { font-size: 1.6rem; color: var(--text); }
.trust strong { display: block; font-size: .92rem; }
.trust span { font-size: .78rem; color: var(--muted); }

/* Sections */
.section { padding-top: 3.2rem; }
.section-head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 1.2rem; gap: 1rem; }
.section-head h2 { font-size: 1.55rem; font-weight: 800; margin: 0; }
.page-hero { background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 2.2rem 0 1.6rem; margin-bottom: 2rem; }
.page-hero h1 { font-size: clamp(1.7rem, 3.5vw, 2.3rem); font-weight: 800; margin: 0 0 .3rem; }
.breadcrumb { --bs-breadcrumb-divider-color: var(--muted); --bs-breadcrumb-item-active-color: var(--muted); font-size: .85rem; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: #000; }

/* Category tiles */
.cat-tile { display: flex; flex-direction: column; justify-content: flex-end; min-height: 150px; padding: 1.1rem; border-radius: var(--radius); background: var(--bg-2); background-size: cover; background-position: center; border: 1px solid var(--line); color: var(--text); position: relative; overflow: hidden; transition: transform .2s, border-color .2s; }
.cat-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(255,255,255,.9)); }
.cat-tile > * { position: relative; z-index: 1; }
.cat-tile:hover { transform: translateY(-3px); border-color: #121212; color: #000; }
.cat-name { font-weight: 700; font-size: 1.05rem; }
.cat-count { font-size: .8rem; color: var(--muted); }

/* Product card */
.p-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, border-color .2s, box-shadow .2s; }
.p-card:hover { transform: translateY(-3px); border-color: #c9c9ce; box-shadow: 0 16px 36px -22px rgba(0,0,0,.35); }
.p-media { position: relative; display: block; aspect-ratio: 1 / 1; background: var(--bg-2); overflow: hidden; }
.p-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 10%; transition: opacity .3s, transform .4s; }
.p-media .img-hover { opacity: 0; }
.p-card:hover .p-media .img-hover { opacity: 1; }
.p-card:hover .p-media .img-main { transform: scale(1.04); }
.p-media:has(.img-hover):hover .img-main { opacity: 0; }
.p-badges { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 6px; z-index: 2; }
.pb { font-size: .7rem; font-weight: 700; padding: .22rem .55rem; border-radius: 999px; text-transform: uppercase; letter-spacing: .04em; background: #121212; color: #fff; width: fit-content; }
.pb-sale { background: var(--sale); } .pb-new { background: #121212; } .pb-hot { background: #fff; color: #121212; border: 1px solid #121212; } .pb-out { background: #8a8a93; }
.pb.lg { position: absolute; top: 14px; left: 14px; font-size: .85rem; padding: .35rem .75rem; }
.p-body { padding: .9rem 1rem 1rem; display: flex; flex-direction: column; flex: 1; }
.p-brand { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; }
.p-title { font-size: .98rem; font-weight: 600; margin: .15rem 0 .3rem; line-height: 1.3; }
.p-title a { color: var(--text); }
.p-title a:hover { text-decoration: underline; }
.p-meta { font-size: .78rem; color: var(--muted); }
.p-price { margin-top: auto; padding-top: .5rem; display: flex; align-items: baseline; gap: .55rem; flex-wrap: wrap; }
.p-price .now { font-weight: 700; font-size: 1.1rem; }
.p-price .was { color: #8a8a93; text-decoration: line-through; font-size: .9rem; }

/* Promo + spotlight */
.promo-tile { display: block; position: relative; min-height: 200px; border-radius: var(--radius); background: linear-gradient(135deg, #ececee, #d9d9de); background-size: cover; background-position: center; overflow: hidden; color: var(--text); border: 1px solid var(--line); }
.promo-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.85), rgba(255,255,255,.1)); }
.promo-copy { position: relative; padding: 1.6rem; max-width: 70%; }
.promo-copy h3 { font-weight: 800; margin: .2rem 0 .8rem; }
.spotlight { background: var(--bg-2); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.spot-img { width: 100%; max-height: 380px; object-fit: contain; padding: 1.5rem; }
.spec-pills { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0; }
.spec-pills li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .3rem .8rem; font-size: .82rem; }
.spec-pills i { color: var(--text); }

.brand-cloud { display: flex; flex-wrap: wrap; gap: .6rem; }
.brand-chip { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .5rem 1.1rem; color: var(--text); font-weight: 600; font-size: .9rem; transition: all .2s; }
.brand-chip:hover { border-color: #121212; color: #fff; background: #121212; }

/* Blog cards */
.post-card { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; height: 100%; transition: transform .2s, border-color .2s; color: var(--text); }
.post-card:hover { transform: translateY(-3px); border-color: #c9c9ce; color: var(--text); }
.post-img { aspect-ratio: 16/9; background: linear-gradient(135deg, #ececee, #d9d9de); background-size: cover; background-position: center; }
.post-body { padding: 1rem 1.1rem 1.2rem; }
.post-body h3 { font-size: 1.05rem; font-weight: 700; margin: .25rem 0 .4rem; }

/* FAQ accordion */
.faq-acc .accordion-item { background: #fff; border: 1px solid var(--line); border-radius: 10px !important; margin-bottom: .6rem; overflow: hidden; }
.faq-acc .accordion-button { background: #fff; color: var(--text); font-weight: 600; box-shadow: none; }
.faq-acc .accordion-button:not(.collapsed) { background: var(--bg-2); color: var(--text); }
.faq-acc .accordion-body { color: #3f3f46; }

/* Filters */
.filter-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem; }
.filter-box h6 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: .4rem; }
.page-link { background: #fff; border-color: var(--line); color: var(--text); }
.page-link:hover { background: var(--bg-2); color: #000; border-color: #121212; }
.page-item.active .page-link { background: #121212; border-color: #121212; color: #fff; }
.page-item.disabled .page-link { background: var(--bg-2); color: #a1a1aa; border-color: var(--line); }
.empty-state i { color: #c9c9ce; }

/* Product page */
.gallery-main { position: relative; background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; aspect-ratio: 1/1; display: grid; place-items: center; overflow: hidden; }
.gallery-main img { max-width: 88%; max-height: 88%; object-fit: contain; }
.gallery-thumbs { display: flex; gap: .6rem; margin-top: .7rem; flex-wrap: wrap; }
.thumb { width: 74px; height: 74px; border-radius: 10px; border: 2px solid var(--line); background: var(--bg-2); padding: 4px; cursor: pointer; }
.thumb img { width: 100%; height: 100%; object-fit: contain; }
.thumb.active, .thumb:hover { border-color: #121212; }
.variant-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .5rem; }
.variant { position: relative; cursor: pointer; margin: 0; }
.variant input { position: absolute; opacity: 0; inset: 0; }
.variant span { display: block; padding: .55rem .8rem; border: 1px solid #d4d4d8; background: #fff; border-radius: 8px; font-size: .88rem; text-align: center; transition: all .15s; }
.variant:hover span { border-color: #121212; }
.variant input:checked + span { border-color: #121212; background: #121212; color: #fff; }
.variant input:focus-visible + span { outline: 2px solid #121212; outline-offset: 2px; }
.variant.is-out span { opacity: .45; text-decoration: line-through; cursor: not-allowed; }
.variant em { font-style: normal; font-size: .72rem; }
.qty-box { display: inline-flex; align-items: center; border: 1px solid #d4d4d8; border-radius: 8px; background: #fff; overflow: hidden; }
.qty-box .form-control { width: 56px; text-align: center; border: 0; background: transparent; -moz-appearance: textfield; padding: .55rem 0; box-shadow: none; }
.qty-box .form-control::-webkit-outer-spin-button, .qty-box .form-control::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-btn { width: 40px; border: 0; background: transparent; color: var(--text); font-size: 1.2rem; height: 44px; }
.qty-btn:hover { background: var(--bg-2); }
.qty-box.sm .form-control { width: 64px; padding: .4rem .3rem; }
.mini-trust { display: grid; gap: .45rem; font-size: .88rem; color: #3f3f46; }
.mini-trust i { color: var(--text); margin-right: .35rem; }
.nic-warning { border: 1px solid #f1d58a; background: #fff8e6; color: #7a5200; border-radius: 8px; padding: .7rem .95rem; font-size: .82rem; }
.spec-table { --bs-table-bg: #fff; --bs-table-color: var(--text); --bs-table-border-color: var(--line); --bs-table-striped-bg: var(--bg-2); border-radius: 10px; overflow: hidden; }
.spec-table th { width: 42%; color: var(--muted); font-weight: 500; }
.rich { color: #3f3f46; line-height: 1.75; }
.rich h2, .rich h3, .rich h4 { color: var(--text); margin-top: 1.6rem; }
.rich img { max-width: 100%; height: auto; border-radius: 10px; }
.rich a { color: var(--text); text-decoration: underline; }
.rich table { width: 100%; margin: 1rem 0; } .rich td, .rich th { border: 1px solid var(--line); padding: .5rem .7rem; }

/* Cart / checkout */
.cart-line { display: flex; align-items: center; gap: 1rem; padding: 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: .7rem; flex-wrap: wrap; }
.cart-img { width: 76px; height: 76px; object-fit: contain; background: var(--bg-2); border-radius: 8px; padding: 6px; }
.cart-img.sm { width: 54px; height: 54px; }
.cart-name { color: var(--text); font-weight: 600; }
.cart-total { font-weight: 700; min-width: 80px; text-align: right; }
.summary-box, .form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; }
.form-card { margin-bottom: 1rem; }
.summary-box { position: sticky; top: 90px; background: var(--bg-2); }
.pay-option { display: flex; gap: .8rem; align-items: flex-start; padding: .9rem 1rem; border: 1px solid #d4d4d8; border-radius: 10px; margin-bottom: .6rem; cursor: pointer; background: #fff; transition: border-color .15s; }
.pay-option:hover { border-color: #121212; }
.pay-option:has(input:checked) { border-color: #121212; box-shadow: 0 0 0 1px #121212 inset; background: var(--bg-2); }
.pay-option input { margin-top: .3rem; accent-color: #121212; }
.pay-info { background: var(--bg-2); border: 1px dashed #b4b4bb; border-radius: 10px; padding: .9rem 1rem; }
.success-icon { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto; background: #121212; color: #fff; display: grid; place-items: center; font-size: 2.2rem; }
.tracker { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; justify-content: space-between; gap: .5rem; position: relative; }
.tracker li { flex: 1; text-align: center; font-size: .78rem; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: .5rem; position: relative; }
.tracker li::before { content: ""; position: absolute; top: 9px; left: -50%; width: 100%; height: 3px; background: var(--line); z-index: 0; }
.tracker li:first-child::before { display: none; }
.tracker .dot { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 3px solid var(--line); position: relative; z-index: 1; }
.tracker li.done { color: var(--text); } .tracker li.done .dot { background: #121212; border-color: #121212; } .tracker li.done::before { background: #121212; }
.tracker li.current .dot { box-shadow: 0 0 0 5px rgba(18,18,18,.15); }
.contact-list li { padding: .5rem 0; border-bottom: 1px solid var(--line); } .contact-list li:last-child { border: 0; } .contact-list i { color: var(--text); margin-right: .5rem; }

/* Footer */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--line); }
.site-footer h6 { text-transform: uppercase; font-size: .78rem; letter-spacing: .1em; color: var(--muted); margin-bottom: 1rem; }
.footer-links li { margin-bottom: .45rem; } .footer-links a { color: #3f3f46; } .footer-links a:hover { color: #000; text-decoration: underline; }
.warning-bar { background: #fff8e6; border-top: 1px solid #f1d58a; border-bottom: 1px solid #f1d58a; color: #7a5200; }

/* Floating contact */
.float-contact { position: fixed; right: 18px; bottom: 18px; display: flex; flex-direction: column; gap: .6rem; z-index: 1040; }
.fc { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 1.6rem; box-shadow: 0 10px 24px -8px rgba(0,0,0,.35); transition: transform .15s; }
.fc:hover { transform: scale(1.08); color: #fff; }
.fc-tg { background: #229ed9; } .fc-wa { background: #25d366; }

/* Age gate */
.age-gate { position: fixed; inset: 0; z-index: 3000; background: rgba(255,255,255,.96); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 1rem; }
.age-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; max-width: 460px; width: 100%; padding: 2rem 1.6rem; box-shadow: 0 30px 80px -24px rgba(0,0,0,.3); }
.age-badge { width: 84px; height: 84px; margin: 0 auto; border-radius: 50%; background: #121212; color: #fff; display: grid; place-items: center; font-size: 1.8rem; font-weight: 800; }

/* Misc */
.toast { border-radius: 10px; }
.toast.text-bg-dark { background: #121212 !important; color: #fff !important; }
.table-dark { --bs-table-bg: #fff; --bs-table-color: var(--text); --bs-table-border-color: var(--line); --bs-table-striped-bg: var(--bg-2); }
.alert { border-radius: 10px; }
@media (max-width: 991.98px) { .summary-box { position: static; } .hero-slide { min-height: 360px; } }
@media (max-width: 575.98px) { .cart-line { gap: .7rem; } .cart-total { min-width: 0; } .promo-copy { max-width: 100%; } .tracker li { font-size: .68rem; } }

/* Polish */
.navbar .nav-link { white-space: nowrap; }
.search-form { width: 240px; }
@media (max-width: 1199.98px) { .navbar .nav-link { padding: .6rem .6rem; font-size: .93rem; } .search-form { width: 190px; } }
@media (max-width: 767.98px) {
  #heroCarousel .carousel-control-prev, #heroCarousel .carousel-control-next { display: none; }
  .hero-copy { padding: 2.5rem 0 3.5rem; }
  .float-contact { right: 12px; bottom: 12px; gap: .45rem; }
  .fc { width: 44px; height: 44px; font-size: 1.3rem; }
  .trust { flex-direction: column; text-align: center; gap: .3rem; }
  .section { padding-top: 2.4rem; }
  .section-head h2 { font-size: 1.3rem; }
}
