/**
 * ============================================================================
 * STOREFRONT THEME (mobile-first)
 * Loaded after style.css. New components use the pb- prefix so they never
 * collide with the legacy rules that the not-yet-redesigned pages rely on.
 * ============================================================================
 */

:root {
    --pb-orange: #FE8C37;
    --pb-orange-deep: #EA6508;
    --pb-orange-soft: #FFF3E8;
    --pb-ink: #0B1220;
    --pb-sea: #1C2A44;
    --pb-text: #1F2937;
    --pb-muted: #667085;
    --pb-bg: #F3F5F9;
    --pb-card: #FFFFFF;
    --pb-line: #E3E8EF;
    --pb-green: #12A150;
    --pb-red: #E5383B;
    --pb-blue: #2563EB;
    --pb-radius: 12px;
    --pb-radius-sm: 8px;
    --pb-shadow: 0 1px 2px rgba(11, 18, 32, .05), 0 8px 24px rgba(11, 18, 32, .06);
    --pb-font: 'Inter', 'Hind Siliguri', 'Noto Sans Bengali', 'Inter', system-ui, sans-serif;
    --pb-font-display: 'Anek Bangla', 'Hind Siliguri', 'Noto Sans Bengali', sans-serif;
    --pb-header-h: 64px;
}

/* --- Base --- */
html { scroll-behavior: smooth; }
body {
    font-family: var(--pb-font);
    background-color: var(--pb-bg);
    color: var(--pb-text);
    font-size: 16px;
    line-height: 1.6;
}
body.pb-noscroll { overflow: hidden; }

.pb-wrap {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 16px;
}
.pb-page { min-height: 60vh; }
.pb-icon { flex-shrink: 0; display: inline-block; vertical-align: middle; }
.pb-sr {
    position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap;
}

/* --- Buttons --- */
.pb-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 48px; padding: 0 22px;
    border: 1.5px solid transparent; border-radius: 12px;
    font-family: var(--pb-font); font-size: 16px; font-weight: 700; line-height: 1;
    text-decoration: none; cursor: pointer; white-space: nowrap;
    transition: background-color .18s, border-color .18s, color .18s, transform .12s;
}
.pb-btn:active { transform: scale(.98); }
.pb-btn:focus-visible, .pb-card a:focus-visible {
    outline: 3px solid rgba(254, 140, 55, .45); outline-offset: 2px;
}
.pb-btn--primary { background: var(--pb-orange); color: #fff; box-shadow: 0 6px 16px rgba(254, 140, 55, .28); }
.pb-btn--primary:hover { background: var(--pb-orange-deep); color: #fff; }
.pb-btn--ghost { background: #fff; border-color: var(--pb-line); color: var(--pb-ink); }
.pb-btn--ghost:hover { border-color: var(--pb-orange); color: var(--pb-orange-deep); }
.pb-btn--dark { background: var(--pb-ink); color: #fff; }
.pb-btn--dark:hover { background: var(--pb-sea); color: #fff; }
.pb-btn--wa { background: #1FAF5A; color: #fff; }
.pb-btn--wa:hover { background: #17964B; color: #fff; }
.pb-btn--sm { min-height: 40px; padding: 0 14px; font-size: 14px; border-radius: 10px; box-shadow: none; }
.pb-btn--icon { padding: 0; width: 40px; flex: 0 0 40px; }
.pb-btn--block { width: 100%; }
.pb-btn.is-disabled { background: #E9EDF3; color: #8A94A6; box-shadow: none; cursor: not-allowed; pointer-events: none; }

/* --- Announcement bar --- */
.pb-topbar { background: var(--pb-ink); color: #CBD5E6; font-size: 13px; }
.pb-topbar__in { display: flex; align-items: center; justify-content: center; gap: 16px; min-height: 36px; }
.pb-topbar__msg { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.pb-topbar__msg .pb-icon { color: var(--pb-orange); }
.pb-topbar__links { display: none; }
.pb-topbar a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.pb-topbar a:hover { color: var(--pb-orange); }

/* --- Header --- */
.pb-header {
    position: sticky; top: 0; z-index: 900;
    background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(10px);
    border-bottom: 1px solid var(--pb-line);
}
.pb-header__in {
    display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; gap: 8px 10px;
    padding-top: 8px; padding-bottom: 10px;
}
.pb-iconbtn {
    position: relative; display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border: 0; border-radius: 12px;
    background: transparent; color: var(--pb-ink); cursor: pointer; text-decoration: none;
}
.pb-iconbtn:hover { background: var(--pb-orange-soft); color: var(--pb-orange-deep); }
.pb-logo { display: flex; justify-content: center; align-items: center; text-decoration: none; }
.pb-logo img { height: 34px; width: auto; display: block; }
.pb-logo strong { font-family: var(--pb-font-display); font-size: 22px; color: var(--pb-ink); }
.pb-cartcount {
    position: absolute; top: 3px; right: 1px;
    min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px;
    background: var(--pb-orange); color: #fff; border: 2px solid #fff;
    font-size: 11px; font-weight: 700; line-height: 15px; text-align: center;
}
.pb-search { grid-column: 1 / -1; position: relative; display: flex; }
.pb-search input {
    width: 100%; height: 44px; padding: 0 50px 0 16px;
    border: 1.5px solid var(--pb-line); border-radius: 12px; background: #F7F9FC;
    font-family: var(--pb-font); font-size: 16px; color: var(--pb-ink); outline: none;
    transition: border-color .18s, box-shadow .18s;
}
.pb-search input::placeholder { color: #98A2B3; }
.pb-search input:focus { border-color: var(--pb-orange); box-shadow: 0 0 0 4px rgba(254, 140, 55, .15); background: #fff; }
.pb-search button {
    position: absolute; right: 4px; top: 4px; width: 36px; height: 36px;
    border: 0; border-radius: 9px; background: var(--pb-orange); color: #fff; cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center;
}
.pb-search button:hover { background: var(--pb-orange-deep); }
.pb-header__nav, .pb-header__call { display: none; }
.pb-header { border-bottom: 0; box-shadow: 0 1px 0 var(--pb-line), 0 6px 18px rgba(11, 18, 32, .05); }

/* --- Off-canvas menu --- */
.pb-overlay {
    position: fixed; inset: 0; z-index: 990; background: rgba(11, 18, 32, .5);
    opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
}
.pb-overlay.active { opacity: 1; visibility: visible; }
.pb-drawer {
    position: fixed; top: 0; left: 0; bottom: 0; z-index: 1000;
    width: min(86vw, 340px); background: #fff; display: flex; flex-direction: column;
    transform: translateX(-100%); transition: transform .28s ease;
}
.pb-drawer.active { transform: translateX(0); }
.pb-drawer__head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 12px 12px 18px; border-bottom: 1px solid var(--pb-line);
}
.pb-drawer__head img { height: 32px; width: auto; }
.pb-drawer__body { overflow-y: auto; padding: 10px 10px 24px; flex: 1; }
.pb-drawer__nav, .pb-drawer__cats { list-style: none; }
.pb-drawer__nav a {
    display: flex; align-items: center; gap: 12px; padding: 12px 10px; border-radius: 10px;
    color: var(--pb-ink); font-weight: 600; text-decoration: none;
}
.pb-drawer__nav a .pb-icon { color: var(--pb-orange-deep); }
.pb-drawer__nav a:hover, .pb-drawer__cats a:hover { background: var(--pb-orange-soft); }
.pb-drawer__label {
    margin: 14px 10px 6px; font-size: 12px; font-weight: 700; letter-spacing: .04em; color: var(--pb-muted);
}
.pb-drawer__cats a {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    padding: 10px; border-radius: 10px; color: var(--pb-text); font-size: 15px; text-decoration: none;
}
.pb-drawer__cats a .pb-icon { color: #A9B4C4; }

/* --- Hero --- */
.pb-hero { padding-top: 14px; }
.pb-hero__img {
    display: block; border-radius: var(--pb-radius); overflow: hidden;
    background: var(--pb-orange-soft); box-shadow: var(--pb-shadow);
}
.pb-hero__img img { display: block; width: 100%; height: auto; }
.pb-hero__text {
    border-radius: var(--pb-radius); padding: 36px 22px;
    background: linear-gradient(135deg, var(--pb-ink), var(--pb-sea)); color: #fff;
}
.pb-hero__text h1 { font-family: var(--pb-font-display); font-size: 30px; line-height: 1.25; margin-bottom: 8px; }
.pb-hero__text p { color: #B8C2D6; margin-bottom: 20px; }

/* --- Trust strip --- */
.pb-trust {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; list-style: none;
}
.pb-trust li {
    display: flex; align-items: center; gap: 10px; padding: 12px;
    background: var(--pb-card); border: 1px solid var(--pb-line); border-radius: 14px;
    font-size: 13.5px; font-weight: 600; line-height: 1.3; color: var(--pb-ink);
}
.pb-trust__ic {
    flex: 0 0 36px; height: 36px; border-radius: 10px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--pb-orange-soft); color: var(--pb-orange-deep);
}
.pb-trust small { display: block; font-size: 12px; font-weight: 400; color: var(--pb-muted); }
.pb-trust small a { color: var(--pb-orange-deep); font-weight: 600; text-decoration: none; }

/* --- Sections --- */
.pb-section { margin-top: 30px; }
.pb-section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.pb-section__title {
    font-family: var(--pb-font-display); font-size: 22px; font-weight: 700; line-height: 1.25; color: var(--pb-ink);
}
.pb-section__sub { margin-top: 2px; font-size: 14px; color: var(--pb-muted); }
.pb-more {
    flex-shrink: 0; display: inline-flex; align-items: center; gap: 2px; padding: 8px 0;
    color: var(--pb-orange-deep); font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap;
}
.pb-more:hover { text-decoration: underline; }

/* --- Product grid & card --- */
.pb-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pb-card {
    display: flex; flex-direction: column; background: var(--pb-card);
    border: 1px solid var(--pb-line); border-radius: var(--pb-radius); overflow: hidden;
    transition: box-shadow .2s, transform .2s, border-color .2s;
}
.pb-card:hover { box-shadow: var(--pb-shadow); border-color: #C9D3E3; transform: translateY(-2px); }
.pb-card__media {
    position: relative; display: block; aspect-ratio: 1 / 1; background: #FFFFFF; overflow: hidden;
}
.pb-card__media img { width: 100%; height: 100%; object-fit: contain; padding: 10px; display: block; transition: transform .35s; }
.pb-card:hover .pb-card__media img { transform: scale(1.04); }
.pb-card__noimg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #C5CEDB; }
.pb-card__badge {
    position: absolute; top: 8px; left: 8px; padding: 3px 8px; border-radius: 6px;
    background: var(--pb-red); color: #fff; font-size: 12px; font-weight: 700; line-height: 1.3;
}
.pb-card__soon {
    position: absolute; left: 8px; right: 8px; bottom: 8px;
    display: flex; align-items: center; justify-content: center; gap: 6px; padding: 7px 8px;
    border-radius: 10px; background: rgba(11, 18, 32, .86); color: #fff; font-size: 12.5px; font-weight: 600;
}
.pb-card.is-out .pb-card__media img { filter: grayscale(.55); opacity: .8; }
.pb-card__body { display: flex; flex-direction: column; flex: 1; padding: 10px 10px 12px; }
.pb-card__title { font-size: 14.5px; font-weight: 600; line-height: 1.4; margin-bottom: 6px; }
.pb-card__title a {
    color: var(--pb-ink); text-decoration: none;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    min-height: 2.8em;
}
.pb-card__title a:hover { color: var(--pb-orange-deep); }
.pb-card__stock {
    display: inline-flex; align-items: center; gap: 6px; margin-bottom: 4px;
    font-size: 12px; font-weight: 600; color: var(--pb-green);
}
.pb-card__stock::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pb-card__stock.is-out { color: #8A94A6; }
.pb-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 8px; margin-bottom: 2px; }
.pb-card__save { min-height: 19px; margin-bottom: 10px; font-size: 12.5px; font-weight: 600; color: var(--pb-orange-deep); }
.pb-price__now { font-size: 18px; font-weight: 700; letter-spacing: -.01em; color: var(--pb-ink); }
.pb-price__old { font-size: 13.5px; color: #7A8599; }
.pb-card__actions { display: flex; gap: 8px; margin-top: auto; }
.pb-card__actions .pb-btn--primary { flex: 1; min-width: 0; padding: 0 8px; }
.pb-empty {
    grid-column: 1 / -1; padding: 44px 16px; text-align: center; color: var(--pb-muted);
    background: var(--pb-card); border: 1px dashed #CBD3DF; border-radius: var(--pb-radius);
}
.pb-empty h2 { font-family: var(--pb-font-display); font-size: 20px; color: var(--pb-ink); margin-bottom: 6px; }
.pb-empty .pb-btn { margin-top: 18px; }

/* --- Listing page header & pagination --- */
.pb-pagehead { padding: 22px 0 16px; }
.pb-pagehead--flush { padding-top: 2px; }
.pb-pagehead h1 { font-family: var(--pb-font-display); font-size: 26px; font-weight: 700; line-height: 1.25; color: var(--pb-ink); }
.pb-pagehead p { margin-top: 2px; font-size: 14.5px; color: var(--pb-muted); }
.pb-pagehead a { color: var(--pb-orange-deep); font-weight: 600; text-decoration: none; }
.pb-toolbar { display: flex; align-items: flex-end; justify-content: space-between; gap: 0 12px; flex-wrap: wrap; }
.pb-toolbar .pb-pagehead { flex: 1 1 220px; }
.pb-sort { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; font-size: 14px; color: var(--pb-muted); }
.pb-sort select {
    height: 42px; padding: 0 12px; border: 1.5px solid var(--pb-line); border-radius: 10px; background: #fff;
    font-family: var(--pb-font); font-size: 14.5px; font-weight: 600; color: var(--pb-ink); cursor: pointer;
}
.pb-sort select:focus { outline: none; border-color: var(--pb-orange); }
.pb-pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 28px; }
.pb-pager a {
    display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 14px;
    background: var(--pb-card); border: 1.5px solid var(--pb-line); border-radius: 12px;
    color: var(--pb-ink); font-weight: 600; text-decoration: none;
}
.pb-pager a:hover { border-color: var(--pb-orange); color: var(--pb-orange-deep); }
.pb-pager a.is-active { background: var(--pb-ink); border-color: var(--pb-ink); color: #fff; }

/* --- Story band --- */
.pb-story {
    margin-top: 36px; padding: 26px 20px; border-radius: var(--pb-radius);
    background: linear-gradient(135deg, var(--pb-ink), var(--pb-sea)); color: #fff;
}
.pb-story h2 { font-family: var(--pb-font-display); font-size: 22px; line-height: 1.3; margin-bottom: 8px; }
.pb-story p { color: #B8C2D6; font-size: 15px; margin-bottom: 18px; max-width: 60ch; }
.pb-story__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.pb-story .pb-btn--ghost { background: transparent; border-color: rgba(255, 255, 255, .35); color: #fff; }
.pb-story .pb-btn--ghost:hover { border-color: #fff; color: #fff; }

/* --- Product page --- */
.pb-crumbs {
    display: flex; align-items: center; gap: 6px; padding: 14px 0 12px;
    font-size: 13px; color: var(--pb-muted); white-space: nowrap; overflow: hidden;
}
.pb-crumbs a { color: var(--pb-muted); text-decoration: none; flex-shrink: 0; }
.pb-crumbs a:hover { color: var(--pb-orange-deep); }
.pb-crumbs .pb-icon { color: #A9B4C4; }
.pb-crumbs span { overflow: hidden; text-overflow: ellipsis; color: var(--pb-ink); font-weight: 600; }

.pb-product { display: grid; gap: 18px; }
.pb-gallery__main {
    position: relative; aspect-ratio: 1 / 1; border-radius: var(--pb-radius); overflow: hidden;
    background: #FFFFFF; border: 1px solid var(--pb-line);
}
.pb-gallery__main img { width: 100%; height: 100%; object-fit: contain; padding: 14px; display: block; transition: opacity .2s; }
.pb-gallery__badge {
    position: absolute; top: 12px; left: 12px; z-index: 2; padding: 5px 12px; border-radius: 999px;
    background: var(--pb-red); color: #fff; font-size: 13px; font-weight: 700;
}
.pb-gallery__thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.pb-gallery__thumbs::-webkit-scrollbar { display: none; }
.sp-thumb {
    flex: 0 0 62px; height: 62px; padding: 0; border-radius: 12px; overflow: hidden; cursor: pointer;
    border: 2px solid var(--pb-line); background: #fff;
}
.sp-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sp-thumb.active { border-color: var(--pb-orange); box-shadow: 0 0 0 3px rgba(254, 140, 55, .2); }

.pb-info__title { font-family: var(--pb-font-display); font-size: 24px; font-weight: 700; line-height: 1.3; color: var(--pb-ink); }
.pb-info__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 10px; font-size: 13.5px; }
.pb-tag {
    display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px;
    background: var(--pb-orange-soft); color: var(--pb-orange-deep); font-weight: 600; text-decoration: none;
}
a.pb-tag:hover { background: #FFE4CC; }
.pb-tag--out { background: #FDE9E8; color: var(--pb-red); }
.pb-info__price {
    display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px;
    margin-top: 14px; padding: 14px 16px; border-radius: 14px; background: var(--pb-card); border: 1px solid var(--pb-line);
}
.pb-info__now { font-family: var(--pb-font-display); font-size: 32px; font-weight: 800; line-height: 1.1; color: var(--pb-orange-deep); }
.pb-info__old { font-size: 17px; color: #98A2B3; text-decoration: line-through; }
.pb-info__ship { flex-basis: 100%; font-size: 13px; color: var(--pb-muted); }

.pb-options { display: grid; gap: 16px; margin-top: 18px; }
.pb-option__label { display: block; margin-bottom: 8px; font-size: 14.5px; font-weight: 600; color: var(--pb-ink); }
.pb-option__label b { color: var(--pb-orange-deep); }
.pb-option__list { display: flex; flex-wrap: wrap; gap: 8px; }
.pb-option__list input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }
.pb-size {
    display: inline-flex; align-items: center; justify-content: center; min-width: 64px; min-height: 44px; padding: 0 16px;
    border: 1.5px solid var(--pb-line); border-radius: 12px; background: #fff;
    font-size: 15px; font-weight: 600; color: var(--pb-ink); cursor: pointer; transition: all .15s;
}
.pb-size:hover { border-color: var(--pb-orange); }
input:checked + .pb-size { background: var(--pb-ink); border-color: var(--pb-ink); color: #fff; }
input:focus-visible + .pb-size, input:focus-visible + .pb-swatch { outline: 3px solid rgba(254, 140, 55, .45); outline-offset: 2px; }
.pb-swatch {
    display: inline-block; width: 40px; height: 40px; border-radius: 50%; cursor: pointer;
    border: 2px solid #fff; box-shadow: 0 0 0 1.5px var(--pb-line); transition: box-shadow .15s;
}
input:checked + .pb-swatch { box-shadow: 0 0 0 3px var(--pb-orange); }

.pb-buy { display: grid; gap: 10px; margin-top: 20px; }
.pb-buy__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pb-buy .pb-btn { min-height: 52px; padding: 0 12px; }
.pb-assure { list-style: none; display: grid; gap: 10px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--pb-line); }
.pb-assure li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--pb-text); }
.pb-assure .pb-icon { color: var(--pb-green); }

.pb-block { margin-top: 28px; padding: 20px 16px; background: var(--pb-card); border: 1px solid var(--pb-line); border-radius: var(--pb-radius); }
.pb-block h2 { font-family: var(--pb-font-display); font-size: 20px; color: var(--pb-ink); margin-bottom: 10px; }
.pb-block__body { font-size: 15.5px; line-height: 1.85; color: var(--pb-text); overflow-wrap: anywhere; }
.pb-video { position: relative; padding-top: 56.25%; border-radius: 12px; overflow: hidden; background: #000; }
.pb-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Sticky buy bar (product page, mobile only) */
.pb-buybar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 800;
    display: flex; align-items: center; gap: 12px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: #fff; border-top: 1px solid var(--pb-line); box-shadow: 0 -6px 20px rgba(11, 18, 32, .08);
}
.pb-buybar__price { display: flex; flex-direction: column; line-height: 1.15; }
.pb-buybar__price small { font-size: 11.5px; color: var(--pb-muted); }
.pb-buybar__price b { font-family: var(--pb-font-display); font-size: 21px; color: var(--pb-ink); }
.pb-buybar .pb-btn { flex: 1; }

.pb-notfound { text-align: center; padding: 70px 16px; }
.pb-notfound h1 { font-family: var(--pb-font-display); font-size: 26px; color: var(--pb-ink); margin-bottom: 8px; }
.pb-notfound p { color: var(--pb-muted); margin-bottom: 22px; }

/* --- Footer --- */
.pb-footer { margin-top: 44px; background: var(--pb-ink); color: #A7B2C6; font-size: 15px; }
.pb-footer__grid { display: grid; gap: 28px; padding-top: 36px; padding-bottom: 28px; }
.pb-footer__logo {
    display: inline-flex; padding: 8px 12px; border-radius: 12px; background: #fff; margin-bottom: 14px;
}
.pb-footer__logo img { height: 32px; width: auto; display: block; }
.pb-footer__about { max-width: 46ch; line-height: 1.75; }
.pb-footer h3 { font-family: var(--pb-font-display); font-size: 17px; font-weight: 600; color: #fff; margin-bottom: 10px; }
.pb-footer ul { list-style: none; }
.pb-footer__links a { display: inline-block; padding: 6px 0; color: #A7B2C6; text-decoration: none; }
.pb-footer__links a:hover { color: var(--pb-orange); }
.pb-footer__contact li { display: flex; align-items: flex-start; gap: 10px; padding: 6px 0; }
.pb-footer__contact .pb-icon { color: var(--pb-orange); margin-top: 3px; }
.pb-footer__contact a { color: #fff; text-decoration: none; font-weight: 600; }
.pb-footer__social { display: flex; gap: 10px; margin-top: 16px; }
.pb-footer__social a {
    width: 42px; height: 42px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, .08); color: #fff; transition: background-color .18s;
}
.pb-footer__social a:hover { background: var(--pb-orange); }
.pb-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, .1); padding: 16px 0; font-size: 13.5px; text-align: center;
}
.pb-footer__bottom a { color: inherit; }

/* --- Mobile bottom navigation --- */
.pb-tabbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 800;
    display: grid; grid-template-columns: repeat(5, 1fr);
    padding-bottom: env(safe-area-inset-bottom);
    background: #fff; border-top: 1px solid var(--pb-line); box-shadow: 0 -6px 20px rgba(11, 18, 32, .06);
}
.pb-tabbar a {
    position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
    min-height: 58px; color: var(--pb-muted); font-size: 11.5px; font-weight: 600; text-decoration: none;
}
.pb-tabbar a.is-active, .pb-tabbar a:hover { color: var(--pb-orange-deep); }
.pb-tabbar .pb-cartcount { top: 4px; right: calc(50% - 22px); }
body { padding-bottom: calc(58px + env(safe-area-inset-bottom)); }
body.pb-has-buybar .pb-tabbar, body.pb-has-orderbar .pb-tabbar { display: none; }
body.pb-has-buybar, body.pb-has-orderbar { padding-bottom: calc(74px + env(safe-area-inset-bottom)); }

/* ============================ Tablet ============================ */
@media (min-width: 640px) {
    .pb-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
    .pb-trust { grid-template-columns: repeat(4, 1fr); }
    .pb-card__body { padding: 12px 14px 14px; }
    .pb-footer__grid { grid-template-columns: 1fr 1fr; }
    .pb-story { padding: 34px 32px; }
}

/* ============================ Desktop ============================ */
@media (min-width: 992px) {
    body, body.pb-has-buybar, body.pb-has-orderbar { padding-bottom: 0; }
    .pb-tabbar, .pb-buybar, .pb-header__menu { display: none; }
    .pb-wrap { padding: 0 24px; }

    .pb-topbar__in { justify-content: space-between; }
    .pb-topbar__links { display: flex; align-items: center; gap: 20px; }

    .pb-header__in {
        grid-template-columns: auto minmax(280px, 1fr) auto auto; gap: 28px;
        padding-top: 14px; padding-bottom: 14px;
    }
    .pb-logo { justify-content: flex-start; grid-column: 1; }
    .pb-logo img { height: 42px; }
    .pb-header__call { grid-column: 3; }
    .pb-header__cart { grid-column: 4; }
    .pb-search { grid-column: 2; grid-row: 1; max-width: 560px; width: 100%; justify-self: center; }
    .pb-search input { height: 48px; padding-right: 58px; border-radius: 14px; }
    .pb-search button { width: 40px; height: 40px; border-radius: 11px; }
    .pb-header__call {
        display: flex; align-items: center; gap: 10px; color: var(--pb-ink); text-decoration: none; line-height: 1.2;
    }
    .pb-header__call .pb-icon { color: var(--pb-orange-deep); }
    .pb-header__call small { display: block; font-size: 12px; color: var(--pb-muted); }
    .pb-header__call b { font-size: 16px; }
    .pb-header__cart {
        width: auto; padding: 0 16px 0 12px; gap: 8px; background: var(--pb-orange-soft); color: var(--pb-orange-deep);
        font-weight: 700; font-size: 15px;
    }
    .pb-header__cart .pb-cartcount { position: static; border: 0; min-width: 22px; height: 22px; line-height: 22px; }
    .pb-header__cart .pb-sr { position: static; width: auto; height: auto; clip: auto; }

    .pb-header__nav { display: block; background: var(--pb-ink); }
    .pb-header__nav > ul { display: flex; align-items: stretch; gap: 4px; list-style: none; }
    .pb-header__nav > ul > li > a {
        display: flex; align-items: center; height: 46px; padding: 0 14px;
        color: #CBD5E6; font-size: 14.5px; font-weight: 600; text-decoration: none;
    }
    .pb-header__nav > ul > li > a:hover, .pb-header__nav > ul > li > a.is-active { color: #fff; box-shadow: inset 0 -3px 0 var(--pb-orange); }
    .pb-catmenu { position: relative; margin-right: 10px; }
    .pb-catmenu__btn {
        display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 18px; min-width: 230px;
        border: 0; background: var(--pb-orange); color: #fff; cursor: pointer;
        font-family: var(--pb-font); font-size: 14.5px; font-weight: 700;
    }
    .pb-catmenu__btn .pb-icon:last-child { margin-left: auto; transform: rotate(90deg); }
    .pb-catmenu__list {
        position: absolute; top: 100%; left: 0; z-index: 20; width: 300px; max-height: 70vh; overflow-y: auto;
        list-style: none; padding: 6px; background: #fff; border: 1px solid var(--pb-line);
        border-radius: 0 0 var(--pb-radius) var(--pb-radius); box-shadow: 0 18px 40px rgba(11, 18, 32, .16);
        opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .16s, transform .16s, visibility .16s;
    }
    .pb-catmenu:hover .pb-catmenu__list, .pb-catmenu:focus-within .pb-catmenu__list { opacity: 1; visibility: visible; transform: none; }
    .pb-catmenu__list a {
        display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 12px; border-radius: 8px;
        color: var(--pb-text); font-size: 14.5px; font-weight: 500; text-decoration: none;
    }
    .pb-catmenu__list a .pb-icon { color: #A9B4C4; }
    .pb-catmenu__list a:hover { background: var(--pb-orange-soft); color: var(--pb-orange-deep); }

    .pb-hero { padding-top: 22px; }
    .pb-hero__text { padding: 64px 56px; }
    .pb-hero__text h1 { font-size: 44px; }
    .pb-trust { gap: 14px; margin-top: 18px; }
    .pb-trust li { padding: 14px 16px; font-size: 14.5px; }
    .pb-section { margin-top: 44px; }
    .pb-section__title { font-size: 28px; }
    .pb-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
    .pb-card__title { font-size: 15.5px; }
    .pb-price__now { font-size: 21px; }
    .pb-story { margin-top: 56px; padding: 44px 48px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
    .pb-story h2 { font-size: 28px; }
    .pb-story p { margin-bottom: 0; }
    .pb-story__actions { flex-shrink: 0; }

    .pb-product { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 44px; align-items: start; }
    .pb-gallery { position: sticky; top: 150px; }
    .pb-info__title { font-size: 32px; }
    .pb-info__now { font-size: 40px; }
    .sp-thumb { flex-basis: 76px; height: 76px; }
    .pb-assure { grid-template-columns: repeat(3, auto); justify-content: start; gap: 10px 24px; }
    .pb-block { margin-top: 44px; padding: 30px 32px; }
    .pb-block h2 { font-size: 24px; }

    .pb-footer { margin-top: 64px; }
    .pb-footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding-top: 56px; padding-bottom: 44px; }
}

@media (min-width: 1200px) {
    .pb-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; scroll-behavior: auto !important; }
}

/* ============================================================================
   CART, CHECKOUT & ORDER SUCCESS
   ============================================================================ */
.pb-alert { margin-bottom: 14px; padding: 12px 14px; border-radius: 10px; font-size: 14.5px; font-weight: 600; }
.pb-alert--ok { background: #E8F7EE; color: #0B7A3B; border: 1px solid #BFE8CF; }
.pb-alert--err { background: #FDECEC; color: #B4232A; border: 1px solid #F6C6C8; }

.pb-panel { background: var(--pb-card); border: 1px solid var(--pb-line); border-radius: var(--pb-radius); padding: 16px; }
.pb-panel + .pb-panel { margin-top: 14px; }
.pb-panel__title {
    display: flex; align-items: center; gap: 10px; margin-bottom: 14px; padding-bottom: 12px;
    border-bottom: 1px solid var(--pb-line);
    font-family: var(--pb-font-display); font-size: 18px; font-weight: 700; color: var(--pb-ink);
}
.pb-panel__title .pb-icon { color: var(--pb-orange-deep); }
.pb-step {
    flex: 0 0 26px; height: 26px; border-radius: 50%; background: var(--pb-ink); color: #fff;
    display: inline-flex; align-items: center; justify-content: center; font-family: var(--pb-font); font-size: 13px; font-weight: 700;
}

.pb-flow { display: grid; gap: 14px; align-items: start; }

/* Line items (cart list + checkout summary share this) */
.pb-line { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--pb-line); transition: opacity .25s, transform .25s; }
.pb-line:first-of-type { padding-top: 0; }
.pb-line:last-child { border-bottom: 0; padding-bottom: 0; }
.pb-line__img {
    width: 72px; height: 72px; border-radius: 10px; border: 1px solid var(--pb-line); background: #fff;
    object-fit: contain; padding: 4px; display: block;
}
.pb-line__title {
    font-size: 14.5px; font-weight: 600; line-height: 1.4; color: var(--pb-ink); text-decoration: none;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
a.pb-line__title:hover { color: var(--pb-orange-deep); }
.pb-line__meta { margin-top: 2px; font-size: 12.5px; color: var(--pb-muted); }
.pb-line__meta:empty { display: none; }
.pb-line__price { margin-top: 2px; font-size: 13.5px; color: var(--pb-muted); }
.pb-line__price s { margin-right: 4px; color: #98A2B3; }
.pb-line__controls { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.pb-line__total { margin-left: auto; font-size: 16px; font-weight: 700; color: var(--pb-ink); white-space: nowrap; }
.pb-line.updating { opacity: .55; pointer-events: none; }
.pb-line.removing { opacity: 0; transform: translateX(20px); }
.pb-line .update-status, .pb-line .variation-loading { display: none; font-size: 12px; color: var(--pb-green); }
.pb-line .size-select {
    height: 36px; padding: 0 8px; border: 1.5px solid var(--pb-line); border-radius: 8px; background: #fff;
    font-family: var(--pb-font); font-size: 13.5px; font-weight: 600; color: var(--pb-ink); cursor: pointer;
}

.pb-qty { display: inline-flex; align-items: center; border: 1.5px solid var(--pb-line); border-radius: 8px; background: #fff; overflow: hidden; }
.pb-qty button {
    width: 32px; height: 36px; border: 0; background: #F3F5F9; color: var(--pb-ink); cursor: pointer;
    font-size: 18px; font-weight: 700; line-height: 1; display: flex; align-items: center; justify-content: center;
}
.pb-qty button:hover { background: #E3E8EF; }
.pb-qty input {
    width: 40px !important; height: 36px !important; border: 0 !important; border-radius: 0 !important; padding: 0 !important; margin: 0 !important;
    text-align: center; font-family: var(--pb-font); font-size: 15px !important; font-weight: 700; color: var(--pb-ink);
    background: #fff; outline: none; -moz-appearance: textfield; appearance: textfield;
}
.pb-qty input::-webkit-outer-spin-button, .pb-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pb-remove {
    width: 36px; height: 36px; border: 1.5px solid var(--pb-line); border-radius: 8px; background: #fff; color: #98A2B3;
    display: inline-flex; align-items: center; justify-content: center; cursor: pointer; text-decoration: none;
}
.pb-remove:hover { border-color: var(--pb-red); color: var(--pb-red); background: #FDECEC; }

/* Totals */
.pb-sum { display: grid; gap: 10px; font-size: 15px; }
.pb-sum__row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; color: var(--pb-text); }
.pb-sum__row b { color: var(--pb-ink); }
.pb-sum__row small { color: var(--pb-muted); font-size: 13.5px; }
.pb-sum__row--total {
    margin-top: 4px; padding-top: 12px; border-top: 1px dashed #CBD3DF; font-size: 17px; font-weight: 700; color: var(--pb-ink);
}
.pb-sum__row--total b { font-size: 24px; font-weight: 800; color: var(--pb-orange-deep); letter-spacing: -.01em; }
.pb-flow .pb-btn--block { margin-top: 16px; min-height: 54px; font-size: 17px; }
.pb-secure { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 12px; font-size: 13px; color: var(--pb-muted); }
.pb-linkrow { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; }
.pb-linkrow a { color: var(--pb-orange-deep); font-size: 14.5px; font-weight: 600; text-decoration: none; }
.pb-linkrow a:hover { text-decoration: underline; }

/* Form fields */
.pb-fields { display: grid; gap: 14px; }
.pb-field label, .pb-field__label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; color: var(--pb-ink); }
.pb-field label i, .pb-field__label i { color: var(--pb-red); font-style: normal; }
.pb-input {
    width: 100%; min-height: 48px; padding: 11px 14px; border: 1.5px solid var(--pb-line); border-radius: 10px; background: #fff;
    font-family: var(--pb-font); font-size: 16px; color: var(--pb-ink); outline: none; transition: border-color .18s, box-shadow .18s;
}
textarea.pb-input { resize: vertical; line-height: 1.5; }
.pb-input::placeholder { color: #98A2B3; }
.pb-input:focus { border-color: var(--pb-orange); box-shadow: 0 0 0 4px rgba(254, 140, 55, .15); }

/* Radio cards (delivery zone, payment method) */
.pb-choices { display: grid; gap: 10px; }
.pb-choice { position: relative; display: block; cursor: pointer; }
.pb-choice input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.pb-choice__box {
    display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 10px 14px;
    border: 1.5px solid var(--pb-line); border-radius: 10px; background: #fff; transition: border-color .15s, background-color .15s;
}
.pb-choice__box::before {
    content: ""; flex: 0 0 20px; height: 20px; border-radius: 50%; border: 2px solid #C5CEDB; background: #fff;
    transition: border-color .15s, box-shadow .15s;
}
.pb-choice__name { font-weight: 600; color: var(--pb-ink); }
.pb-choice__note { margin-left: auto; font-weight: 700; color: var(--pb-text); white-space: nowrap; }
.pb-choice:hover .pb-choice__box { border-color: #C9D3E3; }
.pb-choice input:checked + .pb-choice__box { border-color: var(--pb-orange); background: var(--pb-orange-soft); }
.pb-choice input:checked + .pb-choice__box::before { border-color: var(--pb-orange); box-shadow: inset 0 0 0 4px #fff; background: var(--pb-orange); }
.pb-choice input:focus-visible + .pb-choice__box { outline: 3px solid rgba(254, 140, 55, .45); outline-offset: 2px; }
.pb-paybox { margin-top: 12px; padding: 14px; border-radius: 10px; background: #F7F9FC; border: 1px solid var(--pb-line); font-size: 14.5px; }
.pb-paybox .pb-fields { margin-top: 12px; }

/* Sticky order bar (checkout, mobile) */
.pb-orderbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 800;
    display: flex; align-items: center; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: #fff; border-top: 1px solid var(--pb-line); box-shadow: 0 -6px 20px rgba(11, 18, 32, .08);
}
.pb-orderbar__total { display: flex; flex-direction: column; line-height: 1.2; }
.pb-orderbar__total small { font-size: 11.5px; color: var(--pb-muted); }
.pb-orderbar__total b { font-size: 20px; font-weight: 800; color: var(--pb-ink); }
.pb-orderbar .pb-btn { flex: 1; }

/* Order success */
.pb-done { max-width: 520px; margin: 28px auto 0; text-align: center; overflow: hidden; padding: 0; }
.pb-done__top { padding: 32px 20px 26px; background: linear-gradient(135deg, #12A150, #0B7A3B); color: #fff; }
.pb-done__tick {
    width: 68px; height: 68px; margin: 0 auto 14px; border-radius: 50%; border: 3px solid #fff; background: rgba(255, 255, 255, .18);
    display: flex; align-items: center; justify-content: center;
}
.pb-done__top h1 { font-family: var(--pb-font-display); font-size: 24px; line-height: 1.3; }
.pb-done__body { padding: 24px 20px 28px; }
.pb-done__body p { color: var(--pb-muted); font-size: 15px; }
.pb-done__id { margin: 20px 0; padding: 14px; border-radius: 10px; background: #F7F9FC; border: 1px dashed #CBD3DF; }
.pb-done__id small { display: block; font-size: 13px; color: var(--pb-muted); }
.pb-done__id b { font-size: 26px; color: var(--pb-ink); letter-spacing: .02em; }
.pb-done__actions { display: grid; gap: 10px; }

@media (min-width: 640px) {
    .pb-panel { padding: 22px; }
    .pb-fields--2 { grid-template-columns: 1fr 1fr; }
    .pb-choices--2 { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 992px) {
    .pb-flow { grid-template-columns: minmax(0, 1fr) 400px; gap: 24px; }
    .pb-flow__side { position: sticky; top: 150px; }
    .pb-orderbar { display: none; }
    .pb-line { grid-template-columns: 84px minmax(0, 1fr); gap: 16px; }
    .pb-line__img { width: 84px; height: 84px; }
    .pb-flow__side .pb-line { grid-template-columns: 64px minmax(0, 1fr); gap: 12px; }
    .pb-flow__side .pb-line__img { width: 64px; height: 64px; }
}
