/* Onexteam storefront - same dark gray / orange system as the admin */
.shop { background: #0f1115; color: var(--onx-text); }
.text-orange { color: var(--onx-orange) !important; }
.container-xxl { max-width: 1340px; }
.panel { background: var(--onx-surface); border: 1px solid var(--onx-border); border-radius: .8rem; padding: 1.25rem; }
.narrow { max-width: 900px; }

/* Header */
.shop-header { background: #12141a; border-bottom: 1px solid var(--onx-border); }
.shop-header-inner { display: flex; align-items: center; gap: 1.5rem; padding-top: .9rem; padding-bottom: .9rem; }
.shop-brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: #fff; flex-shrink: 0; }
.shop-brand:hover { color: #fff; }
.shop-brand span { display: flex; flex-direction: column; line-height: 1.1; }
.shop-brand strong { font-size: 1.5rem; font-weight: 700; letter-spacing: -.3px; }
.shop-brand small { color: #c9ced6; font-size: .75rem; }
.shop-search { flex-grow: 1; display: flex; max-width: 620px; margin: 0 auto; }
.shop-search input { flex-grow: 1; border: 0; background: #fff; color: #222; padding: .65rem 1rem; border-radius: .45rem 0 0 .45rem; font-size: .9rem; min-width: 0; }
.shop-search input:focus { outline: 2px solid var(--onx-orange); outline-offset: -2px; }
.shop-search button { border: 0; background: var(--onx-orange); color: #fff; padding: 0 1.2rem; border-radius: 0 .45rem .45rem 0; font-size: 1.05rem; }
.shop-search button:hover { background: var(--onx-orange-dark); }
.shop-actions { display: flex; gap: 1.6rem; flex-shrink: 0; }
.shop-action { display: flex; align-items: center; gap: .6rem; color: #fff; text-decoration: none; }
.shop-action:hover { color: var(--onx-orange); }
.shop-action > i, .shop-action > span > i { font-size: 1.6rem; }
.shop-action strong { display: block; font-size: .85rem; font-weight: 500; line-height: 1.1; }
.shop-action small { display: block; font-size: .72rem; color: var(--onx-muted); }
.shop-count { position: absolute; top: -4px; right: -9px; background: var(--onx-orange); color: #fff; border-radius: 999px; font-size: .62rem; font-weight: 700; min-width: 17px; height: 17px; display: flex; align-items: center; justify-content: center; padding: 0 4px; }
.shop-icon-btn { background: none; border: 0; color: #fff; font-size: 1.6rem; padding: 0; }

/* Nav */
.shop-nav { background: #12141a; border-bottom: 1px solid var(--onx-border); }
.shop-nav-spacer, .shop-allcat { width: calc((100% - 0px) * .1667); min-width: 230px; }
.shop-allcat { background: var(--onx-orange); color: #fff; border: 0; font-weight: 600; padding: .85rem 1rem; text-align: left; display: flex; align-items: center; gap: .6rem; height: 100%; }
.shop-allcat::after { margin-left: auto; }
.shop-catmenu { min-width: 260px; }
.shop-catmenu .dropdown-item { padding: .5rem 1rem; }
.shop-catmenu .dropdown-item i { color: var(--onx-muted); margin-right: .5rem; }
.shop-links { margin-left: 1.5rem; }
.shop-links a { color: #fff; text-decoration: none; padding: 1rem 1.15rem; font-size: .92rem; font-weight: 500; border-bottom: 2px solid transparent; }
.shop-links a:hover { color: var(--onx-orange); }
.shop-links a.active { color: var(--onx-orange); border-bottom-color: var(--onx-orange); }
.shop-offcanvas { background: var(--onx-surface); color: var(--onx-text); }
.shop-offcanvas .nav-link { color: #c9ced6; padding: .55rem 0; }
.shop-offcanvas .nav-link i { width: 1.6rem; display: inline-block; color: var(--onx-orange); }
.shop-offcanvas-label { color: var(--onx-muted); font-size: .75rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: .4rem; }

/* Home: categories */
.home-cats { background: var(--onx-surface); border: 1px solid var(--onx-border); border-radius: .6rem; overflow: hidden; margin-top: -3.75rem; position: relative; z-index: 2; }
.home-cats-head { background: var(--onx-orange); color: #fff; font-weight: 600; padding: .85rem 1rem; display: flex; gap: .6rem; align-items: center; }
.home-cats nav a { display: flex; align-items: center; gap: .75rem; padding: .62rem 1rem; color: #d7dbe1; text-decoration: none; font-size: .88rem; border-bottom: 1px solid rgba(255,255,255,.04); }
.home-cats nav a:hover { background: var(--onx-surface-2); color: #fff; }
.home-cats nav a i:first-child { font-size: 1.05rem; color: #aeb4bf; width: 1.2rem; }
.home-cats nav a span { flex-grow: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.home-cats nav a .chev { font-size: .7rem; color: var(--onx-muted); }

/* Home: hero */
.hero { border-radius: .8rem; overflow: hidden; background: radial-gradient(circle at 72% 45%, rgba(var(--onx-orange-rgb),.28) 0%, rgba(var(--onx-orange-rgb),.06) 28%, transparent 48%), linear-gradient(120deg, #1a1d23 0%, #16181d 55%, #23170f 100%); border: 1px solid var(--onx-border); min-height: 360px; }
.hero-slide { display: flex; align-items: center; min-height: 360px; padding: 2rem 2.5rem 2.8rem; gap: 1rem; }
.hero-text { flex: 1 1 55%; position: relative; z-index: 1; }
.hero-tag { display: inline-block; background: var(--onx-orange); color: #fff; font-size: .72rem; font-weight: 700; text-transform: uppercase; padding: .2rem .6rem; border-radius: .3rem; letter-spacing: .5px; margin-bottom: .9rem; }
.hero h1 { font-size: 2.4rem; font-weight: 800; color: #fff; line-height: 1.12; margin-bottom: 1rem; }
.hero h1 span { display: block; color: var(--onx-orange); }
.hero p { color: #c9ced6; max-width: 420px; margin-bottom: 1.4rem; }
.hero-btn { border-radius: .5rem; padding: .65rem 1.4rem; }
.hero-visual { flex: 1 1 45%; position: relative; display: flex; align-items: center; justify-content: center; min-height: 280px; }
.hero-ring { position: absolute; width: 290px; height: 290px; border-radius: 50%; border: 3px solid rgba(var(--onx-orange-rgb),.75); box-shadow: 0 0 60px rgba(var(--onx-orange-rgb),.35), inset 0 0 40px rgba(var(--onx-orange-rgb),.2); }
.hero-visual img { position: relative; max-width: 320px; max-height: 280px; width: 100%; object-fit: contain; filter: drop-shadow(0 25px 30px rgba(0,0,0,.55)); border-radius: 1rem; }
.hero .carousel-indicators { margin-bottom: 1rem; }
.hero .carousel-indicators [data-bs-target] { width: 8px; height: 8px; border-radius: 50%; border: 0; background: #c9ced6; opacity: .6; margin: 0 4px; }
.hero .carousel-indicators .active { width: 22px; border-radius: 4px; background: var(--onx-orange); opacity: 1; }
.hero-empty { display: flex; align-items: center; padding: 2.5rem; }
.hero-perk { flex: 1; display: flex; align-items: center; gap: .9rem; background: var(--onx-surface); border: 1px solid var(--onx-border); border-radius: .7rem; padding: 1rem; }
.hero-perk i { font-size: 1.9rem; color: var(--onx-orange); }
.hero-perk strong { display: block; font-size: .84rem; color: #fff; font-weight: 600; }
.hero-perk small { color: var(--onx-muted); font-size: .72rem; line-height: 1.3; display: block; }

/* Perk strip */
.perk-strip { display: grid; grid-template-columns: repeat(5, 1fr); background: var(--onx-surface); border: 1px solid var(--onx-border); border-radius: .7rem; padding: 1rem .5rem; }
.perk { display: flex; align-items: center; gap: .8rem; padding: 0 1rem; border-right: 1px solid var(--onx-border); }
.perk:last-child { border-right: 0; }
.perk-icon { width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; border: 2px solid var(--onx-orange); color: var(--onx-orange); display: flex; align-items: center; justify-content: center; font-size: 1.15rem; }
.perk strong { display: block; font-size: .85rem; color: #fff; font-weight: 600; }
.perk small { color: var(--onx-muted); font-size: .74rem; }

/* Sections */
.section-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.section-title { font-size: 1.15rem; font-weight: 700; color: #fff; margin-bottom: 1rem; }
.filter-tabs { display: flex; gap: .3rem; flex-wrap: wrap; }
.filter-tabs button { background: none; border: 0; color: #c9ced6; font-size: .82rem; padding: .3rem .8rem; border-radius: 999px; }
.filter-tabs button:hover { color: #fff; }
.filter-tabs button.active { background: var(--onx-orange); color: #fff; font-weight: 600; }

/* Product grid and cards */
.pgrid { display: grid; gap: 1rem; }
.pgrid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pgrid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pcard { position: relative; background: var(--onx-surface); border: 1px solid var(--onx-border); border-radius: .7rem; display: flex; flex-direction: column; overflow: hidden; transition: border-color .15s, transform .15s; }
.pcard:hover { border-color: rgba(var(--onx-orange-rgb),.6); transform: translateY(-2px); }
.pcard[hidden] { display: none; }
.pcard-badge { position: absolute; top: .7rem; left: .7rem; z-index: 2; font-size: .7rem; font-weight: 700; padding: .2rem .55rem; border-radius: .3rem; color: #fff; }
.badge-orange { background: var(--onx-orange); } .badge-red { background: #ef4444; } .badge-gray { background: #4b5563; }
.pcard-wish { position: absolute; top: .55rem; right: .55rem; z-index: 2; }
.pcard-wish button { background: rgba(15,17,21,.6); border: 0; color: #fff; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.pcard-wish button:hover, .pcard-wish button.saved { color: var(--onx-orange); }
.pcard-img { display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1; background: radial-gradient(circle, #262a32 0%, #1c1f25 70%); padding: 1rem; }
.pcard-img img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: .4rem; }
.pcard-img i { font-size: 2.5rem; color: #4b5260; }
.pcard-body { padding: .85rem 1rem 1rem; display: flex; flex-direction: column; flex-grow: 1; }
.pcard-title { font-size: .92rem; font-weight: 600; margin-bottom: .2rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard-title a { color: #fff; }
.pcard-title a:hover { color: var(--onx-orange); }
.pcard-sub { color: var(--onx-muted); font-size: .78rem; margin-bottom: .5rem; min-height: 1.1em; }
.pcard-price { color: var(--onx-orange); font-size: 1.2rem; font-weight: 700; margin-bottom: .75rem; margin-top: auto; }
.pcard .btn-sm { padding: .45rem; border-radius: .4rem; }

/* Side list & promos */
.side-list { background: var(--onx-surface); border: 1px solid var(--onx-border); border-radius: .7rem; padding: 1rem; }
.side-item { display: flex; gap: .75rem; align-items: center; padding: .55rem 0; text-decoration: none; }
.side-thumb { width: 56px; height: 56px; flex-shrink: 0; border-radius: .5rem; background: var(--onx-surface-2); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.side-thumb img { width: 100%; height: 100%; object-fit: cover; }
.side-thumb i { color: #4b5260; }
.side-info { display: flex; flex-direction: column; min-width: 0; }
.side-name { color: #fff; font-size: .82rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-item:hover .side-name { color: var(--onx-orange); }
.side-price { color: #c9ced6; font-size: .85rem; font-weight: 600; }
.promo { display: flex; position: relative; overflow: hidden; border-radius: .7rem; padding: 1.1rem; text-decoration: none; min-height: 150px; border: 1px solid var(--onx-border); }
.promo-orange { background: linear-gradient(135deg, var(--onx-orange) 0%, var(--onx-orange-dark) 100%); border-color: var(--onx-orange); }
.promo-dark { background: radial-gradient(circle at 80% 70%, rgba(var(--onx-orange-rgb),.45), transparent 55%), linear-gradient(135deg, #2a1c12, #1a1d23); }
.promo-text { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; max-width: 62%; }
.promo-text strong { color: #fff; font-size: 1.1rem; line-height: 1.2; margin-bottom: .3rem; }
.promo-text small { color: rgba(255,255,255,.85); font-size: .78rem; margin-bottom: .4rem; }
.promo-text > span:not(.promo-btn) { color: #fff; font-size: .85rem; margin-bottom: .6rem; }
.promo-price { color: #fff !important; font-size: 1.25rem !important; font-weight: 700; }
.promo-btn { background: #fff; color: #c2410c; font-size: .72rem; font-weight: 700; padding: .3rem .75rem; border-radius: 999px; margin-top: auto; }
.promo-dark .promo-btn { background: var(--onx-orange); color: #fff; }
.promo img { position: absolute; right: -10px; bottom: -6px; width: 52%; max-height: 85%; object-fit: contain; border-radius: .5rem; filter: drop-shadow(0 10px 15px rgba(0,0,0,.4)); }
.promo-tall { min-height: 250px; }
.promo-tall .promo-text { max-width: 100%; }
.promo-tall img { width: 60%; }

/* Brands */
.brand-panel { background: var(--onx-surface); border: 1px solid var(--onx-border); border-radius: .7rem; padding: 1rem 1.2rem 1.2rem; }
.brand-row { display: flex; flex-wrap: wrap; justify-content: space-around; gap: .75rem 1.5rem; }
.brand-chip { color: #d7dbe1; font-weight: 800; font-size: 1.15rem; letter-spacing: .5px; text-transform: uppercase; text-decoration: none; padding: .4rem .6rem; opacity: .85; }
.brand-chip:hover { color: var(--onx-orange); opacity: 1; }
.brand-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; }
.brand-tile { background: var(--onx-surface); border: 1px solid var(--onx-border); border-radius: .7rem; padding: 1.6rem 1rem; text-align: center; text-decoration: none; display: flex; flex-direction: column; gap: .3rem; }
.brand-tile strong { color: #fff; font-size: 1.2rem; text-transform: uppercase; letter-spacing: .5px; }
.brand-tile span { color: var(--onx-muted); font-size: .85rem; }
.brand-tile:hover { border-color: var(--onx-orange); }

/* Banners */
.banner { display: flex; justify-content: space-between; align-items: center; border-radius: .7rem; padding: 1.2rem 1.4rem; min-height: 130px; text-decoration: none; overflow: hidden; position: relative; border: 1px solid var(--onx-border); }
.banner-orange { background: linear-gradient(110deg, var(--onx-orange), #b93f0a); border-color: #ff8c3a; }
.banner-dark { background: linear-gradient(110deg, #1f232a, #2a2f38); }
.banner > div { display: flex; flex-direction: column; align-items: flex-start; position: relative; z-index: 1; }
.banner strong { color: #fff; font-size: 1.25rem; }
.banner span { color: rgba(255,255,255,.85); font-size: .85rem; margin-bottom: .8rem; }
.banner-btn { background: #fff; color: #222 !important; font-size: .72rem !important; font-weight: 700; padding: .3rem .8rem; border-radius: 999px; margin-bottom: 0 !important; }
.banner img { max-height: 110px; max-width: 45%; object-fit: contain; border-radius: .5rem; filter: drop-shadow(0 10px 15px rgba(0,0,0,.4)); }

/* Shop listing */
.crumbs { display: flex; align-items: center; gap: .5rem; font-size: .82rem; color: var(--onx-muted); margin-bottom: 1rem; flex-wrap: wrap; }
.crumbs i { font-size: .65rem; }
.crumbs span { color: #c9ced6; }
.filter-panel { background: var(--onx-surface); border: 1px solid var(--onx-border); border-radius: .7rem; padding: 1.1rem; position: sticky; top: 1rem; }
.filter-title { font-size: .8rem; text-transform: uppercase; letter-spacing: .8px; color: var(--onx-muted); margin: 0 0 .5rem; font-weight: 600; }
.filter-options { max-height: 230px; overflow-y: auto; margin-bottom: 1.1rem; }
.filter-option { display: flex; align-items: center; gap: .55rem; padding: .25rem 0; font-size: .88rem; cursor: pointer; color: #d7dbe1; }
.filter-option input { accent-color: var(--onx-orange); }
.filter-option span { flex-grow: 1; }
.filter-option em { font-style: normal; color: var(--onx-muted); font-size: .75rem; }
.shop-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.shop-toolbar .form-select { width: auto; }

/* Product page */
.pd-gallery { background: var(--onx-surface); border: 1px solid var(--onx-border); border-radius: .8rem; padding: 1rem; }
.pd-main { aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; background: radial-gradient(circle, #262a32 0%, #1c1f25 70%); border-radius: .6rem; overflow: hidden; }
.pd-main img { max-width: 100%; max-height: 100%; object-fit: contain; }
.pd-main i { font-size: 4rem; color: #4b5260; }
.pd-thumbs { display: flex; gap: .6rem; margin-top: .8rem; flex-wrap: wrap; }
.pd-thumbs button { width: 72px; height: 72px; padding: 0; border: 2px solid var(--onx-border); border-radius: .5rem; overflow: hidden; background: var(--onx-surface-2); }
.pd-thumbs button.active, .pd-thumbs button:hover { border-color: var(--onx-orange); }
.pd-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pd-brand { text-transform: uppercase; font-size: .8rem; font-weight: 700; letter-spacing: 1px; }
.pd-title { font-size: 1.9rem; font-weight: 700; color: #fff; margin: .3rem 0 .4rem; }
.pd-meta { color: var(--onx-muted); font-size: .85rem; margin-bottom: 1rem; }
.pd-price { color: var(--onx-orange); font-size: 2rem; font-weight: 800; margin-bottom: .8rem; }
.pd-stock { margin-bottom: 1.4rem; }
.pd-buy { display: flex; gap: .7rem; flex-wrap: wrap; align-items: stretch; }
.pd-buy .btn { padding: .65rem 1.4rem; }
.qty { display: flex; border: 1px solid var(--onx-border); border-radius: .45rem; overflow: hidden; background: var(--onx-surface-2); }
.qty button { background: none; border: 0; color: #fff; width: 40px; }
.qty button:hover { color: var(--onx-orange); }
.qty input { width: 54px; text-align: center; background: transparent; border: 0; color: #fff; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pd-perks { list-style: none; padding: 1rem 0 0; margin: 1rem 0 0; border-top: 1px solid var(--onx-border); color: #c9ced6; font-size: .9rem; }
.pd-perks li { padding: .3rem 0; }
.pd-perks i { color: var(--onx-orange); margin-right: .5rem; }
.pd-desc { background: var(--onx-surface); border: 1px solid var(--onx-border); border-radius: .8rem; padding: 1.25rem; }
.pd-desc-body { color: #c9ced6; line-height: 1.7; }

/* Cart & checkout */
.cart-line { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem; border-bottom: 1px solid var(--onx-border); }
.cart-line:last-child { border-bottom: 0; }
.cart-thumb { width: 72px; height: 72px; flex-shrink: 0; border-radius: .5rem; background: var(--onx-surface-2); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-info { flex-grow: 1; min-width: 0; }
.cart-name { color: #fff; font-weight: 600; }
.cart-qty input { width: 76px; }
.cart-total { width: 110px; text-align: right; font-weight: 700; color: #fff; }
.summary { background: var(--onx-surface); border: 1px solid var(--onx-border); border-radius: .8rem; padding: 1.25rem; position: sticky; top: 1rem; }
.summary-line { display: flex; justify-content: space-between; gap: 1rem; padding: .35rem 0; color: #c9ced6; font-size: .92rem; }
.summary-total { border-top: 1px solid var(--onx-border); margin-top: .5rem; padding-top: .8rem; color: #fff; font-size: 1.15rem; font-weight: 700; }
.summary-total span:last-child { color: var(--onx-orange); }
.pay-option { display: flex; align-items: center; gap: .8rem; border: 1px solid var(--onx-orange); background: rgba(var(--onx-orange-rgb),.08); border-radius: .6rem; padding: .9rem 1rem; cursor: pointer; }
.pay-option input { accent-color: var(--onx-orange); }
.pay-option i { font-size: 1.5rem; color: var(--onx-orange); }
.pay-option strong { display: block; color: #fff; }
.pay-option small { color: var(--onx-muted); }
.success-icon { width: 72px; height: 72px; border-radius: 50%; background: #22c55e; color: #fff; font-size: 2.4rem; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; box-shadow: 0 0 0 10px rgba(34,197,94,.15); }
.order-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; }
.order-step { display: flex; align-items: center; gap: .5rem; font-size: .82rem; color: var(--onx-muted); }
.order-step span { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--onx-border); display: flex; align-items: center; justify-content: center; font-size: .75rem; font-weight: 700; flex-shrink: 0; }
.order-step.done { color: #fff; }
.order-step.done span { background: var(--onx-orange); border-color: var(--onx-orange); color: #fff; }
.auth-box { max-width: 440px; margin: 0 auto; padding: 2rem; }
.contact-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .3rem; background: var(--onx-surface); border: 1px solid var(--onx-border); border-radius: .8rem; padding: 1.6rem 1rem; text-decoration: none; color: #c9ced6; height: 100%; }
.contact-card i { font-size: 1.8rem; color: var(--onx-orange); }
.contact-card strong { color: #fff; }

/* Footer */
.shop-footer { background: #12141a; border-top: 1px solid var(--onx-border); margin-top: 3rem; }
.shop-footer-text { color: var(--onx-muted); font-size: .85rem; max-width: 320px; margin-top: .8rem; }
.shop-footer-title { font-size: .92rem; font-weight: 600; color: #fff; margin-bottom: .9rem; }
.shop-footer-links, .shop-footer-contact { list-style: none; padding: 0; margin: 0; font-size: .85rem; }
.shop-footer-links li, .shop-footer-contact li { padding: .25rem 0; color: var(--onx-muted); }
.shop-footer-links a, .shop-footer-contact a { color: #c9ced6; }
.shop-footer-links a:hover, .shop-footer-contact a:hover { color: var(--onx-orange); }
.shop-footer-contact i { color: var(--onx-orange); margin-right: .45rem; }
.shop-footer-bottom { border-top: 1px solid var(--onx-border); padding: 1rem 0; font-size: .8rem; color: var(--onx-muted); }
.shop .empty-state { padding: 2.5rem 1rem; }

/* Responsive */
@media (max-width: 1199.98px) {
    .pgrid-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .perk-strip { grid-template-columns: repeat(3, 1fr); row-gap: 1rem; }
    .perk:nth-child(3) { border-right: 0; }
}
@media (max-width: 991.98px) {
    .shop-header-inner { flex-wrap: wrap; gap: .9rem; }
    .shop-brand strong { font-size: 1.2rem; }
    .shop-brand small { display: none; }
    .shop-actions { margin-left: auto; gap: 1.1rem; }
    .shop-search { order: 5; max-width: none; flex-basis: 100%; }
    .shop-nav { display: none; }
    .home-cats { margin-top: 0; }
    .pgrid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .filter-panel { position: static; }
}
@media (max-width: 767.98px) {
    .pgrid-4, .pgrid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
    .hero-slide { flex-direction: column-reverse; padding: 1.5rem 1.2rem 2.6rem; text-align: center; }
    .hero p { margin-left: auto; margin-right: auto; }
    .hero h1 { font-size: 1.7rem; }
    .hero-visual { min-height: 180px; }
    .hero-ring { width: 180px; height: 180px; }
    .hero-visual img { max-width: 190px; max-height: 180px; }
    .perk-strip { grid-template-columns: 1fr 1fr; }
    .perk { border-right: 0; padding: 0 .5rem; }
    .perk:last-child { grid-column: span 2; }
    .cart-line { flex-wrap: wrap; }
    .cart-info { flex-basis: calc(100% - 90px); }
    .cart-total { width: auto; margin-left: auto; }
    .order-steps { grid-template-columns: 1fr 1fr; }
    .pcard-body { padding: .7rem; }
    .pcard-price { font-size: 1.05rem; }
    .pd-title { font-size: 1.5rem; }
}

/* v1.7: old price and saving */
.price-old { color: var(--onx-muted); font-size: .8em; font-weight: 400; margin-left: .5rem; }
.price-save { display: inline-block; margin-left: .5rem; padding: .1rem .45rem; border-radius: .35rem; font-size: .7em; font-weight: 700; background: rgba(34,197,94,.16); color: #4ade80; vertical-align: middle; }

/* Store logo uploaded in Admin › Branding & SEO */
.shop-logo-img { max-height: 52px; max-width: 240px; width: auto; height: auto; object-fit: contain; }

/* WhatsApp chat button (Admin › Branding & SEO) */
.wa-float { position: fixed; right: max(18px, env(safe-area-inset-right, 0px)); bottom: max(18px, env(safe-area-inset-bottom, 0px)); width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; box-shadow: 0 6px 20px rgba(0,0,0,.35); z-index: 1030; transition: transform .15s; }
.wa-float:hover, .wa-float:focus-visible { color: #fff; transform: scale(1.08); }
.btn-whatsapp { background: #25d366; border-color: #25d366; color: #fff; font-weight: 600; }
.btn-whatsapp:hover, .btn-whatsapp:focus-visible { background: #1ebe5a; border-color: #1ebe5a; color: #fff; }

/* Variants */
.pd-variants { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1rem; padding: 0; border: 0; }
.pd-variants legend { font-size: .9rem; color: var(--onx-muted); margin-bottom: .4rem; width: 100%; }
.variant-chip { position: relative; cursor: pointer; }
.variant-chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.variant-chip span { display: flex; flex-direction: column; border: 1px solid var(--onx-border); border-radius: .55rem; padding: .5rem .85rem; min-width: 96px; color: #fff; font-weight: 600; font-size: .9rem; }
.variant-chip small { color: var(--onx-muted); font-weight: 400; font-size: .78rem; }
.variant-chip input:checked + span { border-color: var(--onx-orange); background: rgba(var(--onx-orange-rgb), .12); }
.variant-chip input:focus-visible + span { outline: 2px solid var(--onx-orange); outline-offset: 2px; }
.variant-chip.is-out span { opacity: .45; text-decoration: line-through; cursor: not-allowed; }
.cart-variant { font-size: .8rem; color: var(--onx-muted); }

/* Ratings and reviews */
.stars { color: #fbbf24; letter-spacing: 1px; white-space: nowrap; }
.pd-rating { display: inline-flex; align-items: center; gap: .5rem; font-size: .9rem; color: var(--onx-muted); margin-bottom: .4rem; }
.card-rating { font-size: .78rem; color: var(--onx-muted); display: flex; align-items: center; gap: .3rem; }
.review-score { font-size: 2.6rem; font-weight: 800; line-height: 1; }
.review-score small { font-size: 1rem; color: var(--onx-muted); font-weight: 400; }
.review { border-bottom: 1px solid var(--onx-border); padding: 1rem 0; }
.star-input { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: .2rem; border: 0; padding: 0; margin: 0; width: 100%; }
.star-input legend { float: none; width: 100%; }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input label { font-size: 1.6rem; color: var(--onx-border); cursor: pointer; }
.star-input input:checked ~ label, .star-input label:hover, .star-input label:hover ~ label { color: #fbbf24; }
.star-input input:focus-visible + label { outline: 2px solid var(--onx-orange); border-radius: 4px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Legal and info pages */
.page-body { max-width: 760px; line-height: 1.75; }
.page-body h2 { font-size: 1.25rem; margin-top: 1.8rem; }
.shop-footer-bottom a { color: var(--onx-muted); } .shop-footer-bottom a:hover { color: var(--onx-orange); }

/* Courier tracking on the order page */
.order-courier { display: flex; gap: .75rem; align-items: center; padding: .85rem 1rem; border: 1px solid var(--onx-border); border-radius: 12px; background: var(--onx-surface); }
.order-courier > .bi { font-size: 1.5rem; color: var(--onx-orange); }
