/* ================================================================
   Sombhavo Storefront — Release 22 redesign
   An original marketplace-grade presentation layer on the shared
   design tokens (public/css/sombhavo.css): Plus Jakarta Sans,
   primary #24997C, gradient #0F766E -> #059669, accent #E8830F,
   ink #0F172A. Every rule below is written for this project; the
   layout patterns (sticky header stack, hero + category menu,
   flash-deal band with countdown, trust strip, dense product
   cards) are common e-commerce conventions re-imagined here.

   Responsive contract:
     >= 1200px : 1320px container, 6-col product grid (5 in rails),
                 category menu beside the hero, full header.
     768–1199px: 3–4 col grid, hero single column, nav scrolls.
     < 768px   : 2-col grid, compact header, bottom nav, and a
                 sticky buy-bar on the product page only.
   ================================================================ */

.sf-body { background: #F3F6F4; color: #0F172A; font-size: 14.5px; }
.sf-wrap { max-width: 1280px; margin: 0 auto; padding-left: 14px; padding-right: 14px; }
@media (min-width: 768px) { .sf-wrap { padding-left: 20px; padding-right: 20px; } }
@media (min-width: 1200px) { .sf-wrap { max-width: 1320px; } }

/* ---------- top utility bar ---------- */
.sf-topbar { background: #0B352C; color: #C9E8DD; font-size: 12.5px; }
.sf-topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 6px; padding-bottom: 6px; }
.sf-topbar-left { display: flex; gap: 18px; align-items: center; min-width: 0; }
.sf-topbar-left i { color: #7ED3B2; margin-right: 5px; }
.sf-topbar-links { display: flex; gap: 16px; align-items: center; white-space: nowrap; }
.sf-topbar-links a { color: #C9E8DD; text-decoration: none; font-weight: 600; }
.sf-topbar-links a:hover { color: #fff; text-decoration: underline; }
.sf-topbar-links i { margin-right: 4px; }
@media (max-width: 640px) { .sf-topbar-mail { display: none; } }

/* ---------- sticky header stack ---------- */
.sf-sticky { position: sticky; top: 0; z-index: 60; background: #fff; }
.sf-sticky.scrolled .sf-header { box-shadow: 0 10px 24px rgba(10, 31, 27, .10); }
.sf-header { border-bottom: 1px solid #E5ECE9; transition: box-shadow .25s ease; }
.sf-header-in { display: flex; align-items: center; gap: 14px; padding-top: 11px; padding-bottom: 11px; flex-wrap: wrap; }

/* Brand = the logo image ONLY (Release 22 owner rule). With no
   uploaded logo the fallback is a gradient icon tile — never the
   site name rendered as text. */
.sf-brand { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.sf-brand-logo { height: 42px; width: auto; max-width: 170px; object-fit: contain; }
.sf-brand-tile { width: 42px; height: 42px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #0F766E, #059669); color: #fff; font-size: 19px;
    box-shadow: 0 6px 14px rgba(15, 118, 110, .25); }
.sf-brand-footer .sf-brand-logo { height: 44px; }
.sf-brand-footer { margin-bottom: 10px; }

.sf-search { flex: 1 1 240px; display: flex; order: 3; width: 100%; border: 2px solid #24997C; border-radius: 999px;
    overflow: hidden; background: #fff; }
@media (min-width: 768px) { .sf-search { order: 0; width: auto; } }
.sf-search input { flex: 1; border: none; padding: 10px 18px; font-size: 14px; background: transparent; outline: none; min-width: 0; }
.sf-search button { border: none; padding: 0 20px; cursor: pointer; color: #fff; display: inline-flex; align-items: center; gap: 7px;
    background: linear-gradient(135deg, #0F766E, #059669); font-size: 14px; font-weight: 700; }
.sf-search button span { display: none; }
@media (min-width: 768px) { .sf-search button span { display: inline; } }

.sf-actions { display: flex; align-items: flex-start; gap: 4px; margin-left: auto; }
.sf-action { position: relative; display: inline-flex; flex-direction: column; align-items: center; gap: 2px;
    padding: 5px 10px; border-radius: 12px; color: #0F172A; font-weight: 700; font-size: 11.5px; text-decoration: none; min-width: 56px; }
.sf-action i { font-size: 19px; color: #0F766E; }
.sf-action:hover { background: #EFF6F3; }
.sf-action-avatar { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }
.sf-cart-badge { position: absolute; top: -1px; right: 6px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 999px;
    background: #E8830F; color: #fff; font-size: 11px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center;
    border: 2px solid #fff; }
.sf-cart-badge-nav { top: -2px; right: calc(50% - 21px); }

/* ---------- category nav row + All Categories dropdown ---------- */
.sf-catnav { border-bottom: 1px solid #E5ECE9; position: relative; }
.sf-catnav-in { display: flex; gap: 4px; align-items: center; overflow-x: auto; padding-top: 7px; padding-bottom: 7px; scrollbar-width: none; }
.sf-catnav-in::-webkit-scrollbar { display: none; }
.sf-catnav a { white-space: nowrap; padding: 6px 13px; border-radius: 999px; font-weight: 600; font-size: 13.5px; color: #334155; text-decoration: none; }
.sf-catnav a:hover { background: #EFF6F3; color: #0F766E; }
.sf-catnav a.active { background: linear-gradient(135deg, #0F766E, #059669); color: #fff; }
.sf-allcats-btn { flex: none; display: none; align-items: center; gap: 8px; border: none; cursor: pointer; margin-right: 6px;
    padding: 8px 16px; border-radius: 999px; color: #fff; font-weight: 800; font-size: 13.5px;
    background: linear-gradient(135deg, #0F766E, #059669); }
@media (min-width: 900px) { .sf-allcats-btn { display: inline-flex; } }
.sf-catdrop { display: none; position: absolute; left: 0; right: 0; top: 100%; z-index: 55; padding: 6px 0 14px; }
.sf-catdrop.open { display: block; }
.sf-catdrop-panel { background: #fff; border: 1px solid #E5ECE9; border-radius: 16px; box-shadow: 0 24px 48px rgba(10, 31, 27, .14);
    padding: 18px 20px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px 26px; }
.sf-catdrop h5 { margin: 0 0 7px; font-size: 13.5px; font-weight: 800; }
.sf-catdrop h5 a { color: #0F172A; text-decoration: none; padding: 0; }
.sf-catdrop h5 a:hover { color: #0F766E; }
.sf-catdrop ul { list-style: none; margin: 0; padding: 0; }
.sf-catdrop li a { display: block; padding: 3px 0; font-size: 13px; font-weight: 500; color: #64748B; text-decoration: none; }
.sf-catdrop li a:hover { color: #0F766E; }
.sf-catdrop-count { color: #94A3B8; font-size: 11.5px; font-weight: 600; }

/* ---------- main / flashes ---------- */
.sf-main { padding: 16px 0 44px; }
.sf-flash { display: flex; gap: 9px; align-items: center; border-radius: 12px; padding: 11px 14px; margin-bottom: 16px; font-weight: 600; font-size: 13.5px; }
.sf-flash-ok { background: #ECFDF5; color: #065F46; border: 1px solid #A7F3D0; }
.sf-flash-err { background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; }

/* ---------- buttons / forms / shared atoms ---------- */
.sf-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: none; cursor: pointer;
    background: linear-gradient(135deg, #0F766E, #059669); color: #fff; font-weight: 700; font-size: 14px;
    padding: 10px 18px; border-radius: 11px; text-decoration: none; transition: filter .15s ease, transform .15s ease; }
.sf-btn:hover { filter: brightness(1.07); color: #fff; }
.sf-btn:active { transform: translateY(1px); }
.sf-btn-sm { padding: 8px 12px; font-size: 13px; border-radius: 9px; }
.sf-btn-block { width: 100%; }
.sf-btn-ghost { background: #fff; color: #0F766E; border: 1.5px solid #BFE3D8; }
.sf-btn-ghost:hover { color: #0F766E; background: #EFF6F3; }
.sf-btn-accent { background: linear-gradient(135deg, #E8830F, #F59E0B); }
.sf-btn-disabled { background: #E2E8F0 !important; color: #64748B !important; cursor: not-allowed; }
.sf-btn-danger { background: #fff; color: #B91C1C; border: 1.5px solid #FECACA; }
.sf-input, .sf-select, .sf-textarea { width: 100%; border: 1.5px solid #D9E4DF; border-radius: 11px; padding: 9px 12px;
    font-size: 14px; background: #fff; outline: none; }
.sf-input:focus, .sf-select:focus, .sf-textarea:focus { border-color: #24997C; box-shadow: 0 0 0 3px rgba(36, 153, 124, .12); }
.sf-label { display: block; font-weight: 700; font-size: 13px; margin-bottom: 5px; color: #334155; }
.sf-field { margin-bottom: 13px; }
.sf-help { font-size: 12px; color: #64748B; margin-top: 4px; }
.sf-panel { background: #fff; border: 1px solid #E5ECE9; border-radius: 16px; padding: 18px;
    box-shadow: 0 1px 3px rgba(10, 31, 27, .04); }
.sf-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.sf-table th { text-align: left; font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; color: #64748B; padding: 8px 6px; border-bottom: 1px solid #E5ECE9; }
.sf-table td { padding: 10px 6px; border-bottom: 1px solid #F1F5F3; vertical-align: middle; }
.sf-empty { background: #fff; border: 1px dashed #CBD8D2; border-radius: 16px; padding: 34px 20px; text-align: center; color: #64748B; }
.sf-empty i { font-size: 30px; color: #BFE3D8; display: block; margin-bottom: 10px; }
.sf-empty strong { display: block; color: #334155; font-size: 15.5px; margin-bottom: 4px; }
.sf-chip { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 700; }
.sf-chip-green { background: #ECFDF5; color: #065F46; }
.sf-chip-amber { background: #FFFBEB; color: #92400E; }
.sf-chip-red { background: #FEF2F2; color: #991B1B; }
.sf-chip-slate { background: #F1F5F9; color: #475569; }
.sf-chip-orange { background: #FFF7ED; color: #9A3412; }

/* ---------- hero zone: menu | slider | promo rail ---------- */
.sf-herozone { display: grid; gap: 14px; margin-bottom: 18px; }
@media (min-width: 1200px) { .sf-herozone { grid-template-columns: 252px minmax(0, 1fr) 284px; align-items: stretch; } }

.sf-catmenu { display: none; background: #fff; border: 1px solid #E5ECE9; border-radius: 16px; overflow: hidden; }
@media (min-width: 1200px) { .sf-catmenu { display: flex; flex-direction: column; } }
.sf-catmenu-head { padding: 13px 16px; color: #fff; font-weight: 800; font-size: 14px;
    background: linear-gradient(120deg, #0F766E, #059669); display: flex; align-items: center; gap: 8px; }
.sf-catmenu-list { list-style: none; margin: 0; padding: 7px; overflow-y: auto; }
.sf-catmenu-list a { display: flex; align-items: center; gap: 10px; padding: 8px 9px; border-radius: 10px;
    color: #0F172A; text-decoration: none; font-weight: 600; font-size: 13.5px; }
.sf-catmenu-list a:hover { background: #EFF6F3; color: #0F766E; }
.sf-catmenu-list a i { width: 26px; height: 26px; flex: none; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center;
    background: #EFF6F3; color: #0F766E; font-size: 12.5px; }
.sf-catmenu-list a:hover i { background: #fff; }
.sf-catmenu-list .n { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sf-catmenu-list .c { color: #94A3B8; font-size: 11.5px; font-weight: 700; }
.sf-catmenu-foot { margin-top: auto; padding: 10px 16px; border-top: 1px solid #F1F5F3; }
.sf-catmenu-foot a { color: #0F766E; font-weight: 700; font-size: 13px; text-decoration: none; }

.sf-hero { border-radius: 18px; overflow: hidden; display: grid; position: relative; min-height: 200px;
    box-shadow: 0 12px 28px rgba(10, 31, 27, .10); }
@media (min-width: 768px) { .sf-hero { min-height: 320px; } }
@media (min-width: 1200px) { .sf-hero { min-height: 100%; } }
.sf-hero-slide { grid-area: 1 / 1; position: relative; display: block; opacity: 0; pointer-events: none; transition: opacity .5s ease; }
.sf-hero-slide.active { opacity: 1; pointer-events: auto; }
.sf-hero-slide img { width: 100%; height: 100%; min-height: 200px; object-fit: cover; display: block; }
@media (min-width: 768px) { .sf-hero-slide img { min-height: 320px; } }
.sf-hero-dots { position: absolute; right: 14px; bottom: 12px; display: flex; gap: 6px; z-index: 3; }
.sf-hero-dots button { width: 9px; height: 9px; border-radius: 999px; border: none; padding: 0; cursor: pointer; background: rgba(255,255,255,.55); transition: width .2s ease; }
.sf-hero-dots button.active { background: #fff; width: 22px; }
.sf-hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 38px; height: 38px; border-radius: 50%;
    border: none; cursor: pointer; background: rgba(255,255,255,.92); color: #0F766E; font-size: 14px;
    display: none; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(10,31,27,.18); }
@media (min-width: 768px) { .sf-hero-arrow { display: inline-flex; } }
.sf-hero-arrow.prev { left: 12px; } .sf-hero-arrow.next { right: 12px; }
.sf-hero-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 18px 14px; color: #fff; font-weight: 700; font-size: 17px;
    background: linear-gradient(transparent, rgba(4, 32, 26, .72)); }
.sf-hero-fallback { border-radius: 18px; padding: 30px 22px; color: #fff; position: relative; overflow: hidden;
    background: linear-gradient(120deg, #0A1F1B 0%, #0F766E 58%, #059669 100%); display: flex; flex-direction: column; justify-content: center; }
.sf-hero-fallback::after { content: ""; position: absolute; right: -60px; top: -60px; width: 210px; height: 210px; border-radius: 50%;
    background: rgba(255,255,255,.07); }
.sf-hero-fallback h1 { font-size: 25px; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 8px; line-height: 1.25; position: relative; z-index: 1; }
@media (min-width: 768px) { .sf-hero-fallback h1 { font-size: 33px; } }
.sf-hero-fallback p { color: #D1FAE5; margin: 0 0 18px; max-width: 520px; position: relative; z-index: 1; }
.sf-hero-fallback .row { display: flex; gap: 10px; flex-wrap: wrap; position: relative; z-index: 1; }
.sf-btn-white { background: #fff; color: #0F766E; }
.sf-btn-white:hover { color: #0F766E; }
.sf-btn-outline-w { background: rgba(255,255,255,.12); color: #fff; border: 1.5px solid rgba(255,255,255,.45); }
.sf-btn-outline-w:hover { color: #fff; }

.sf-promos { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 2px; }
.sf-promos::-webkit-scrollbar { display: none; }
@media (min-width: 1200px) { .sf-promos { flex-direction: column; overflow: visible; } }
.sf-promo { flex: 0 0 78%; scroll-snap-align: start; border-radius: 16px; padding: 16px; text-decoration: none; display: flex; flex-direction: column; gap: 4px; }
@media (min-width: 768px) { .sf-promo { flex-basis: 46%; } }
@media (min-width: 1200px) { .sf-promo { flex: 1; } }
.sf-promo i.big { font-size: 21px; margin-bottom: 4px; }
.sf-promo strong { font-size: 15px; font-weight: 800; line-height: 1.3; }
.sf-promo span { font-size: 12.5px; line-height: 1.5; opacity: .92; }
.sf-promo .go { margin-top: auto; padding-top: 6px; font-size: 12.5px; font-weight: 800; }
.sf-promo-accent { background: linear-gradient(130deg, #B45309, #E8830F); color: #fff; }
.sf-promo-dark { background: linear-gradient(130deg, #0A1F1B, #115E51); color: #fff; }
.sf-promo-dark i.big { color: #FBBF24; }
.sf-promo-light { background: #fff; border: 1px solid #E5ECE9; color: #0F172A; }
.sf-promo-light i.big { color: #0F766E; }
.sf-promo-light span { color: #64748B; }

/* ---------- trust strip ---------- */
.sf-trust { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 26px; }
@media (min-width: 900px) { .sf-trust { grid-template-columns: repeat(4, 1fr); gap: 12px; } }
.sf-trust-item { background: #fff; border: 1px solid #E5ECE9; border-radius: 14px; padding: 13px 14px; display: flex; gap: 11px; align-items: center; }
.sf-trust-item i { width: 40px; height: 40px; flex: none; border-radius: 12px; display: flex; align-items: center; justify-content: center;
    background: #EFF6F3; color: #0F766E; font-size: 17px; }
.sf-trust-item strong { display: block; font-size: 13.5px; line-height: 1.3; }
.sf-trust-item span { font-size: 11.5px; color: #64748B; line-height: 1.35; display: block; }

/* ---------- sections ---------- */
.sf-section { margin-bottom: 30px; }
.sf-section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 13px; }
.sf-section-head h2 { font-size: 19px; font-weight: 800; letter-spacing: -0.01em; margin: 0; display: flex; align-items: center; gap: 9px; }
.sf-section-head h2 .tick { width: 5px; height: 20px; border-radius: 99px; background: linear-gradient(180deg, #0F766E, #059669); flex: none; }
.sf-section-head a { font-weight: 700; font-size: 13.5px; color: #0F766E; text-decoration: none; white-space: nowrap; }
.sf-section-head a:hover { text-decoration: underline; }

/* ---------- category tiles ---------- */
.sf-cat-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (min-width: 768px) { .sf-cat-tiles { grid-template-columns: repeat(4, 1fr); gap: 12px; } }
@media (min-width: 1200px) { .sf-cat-tiles { grid-template-columns: repeat(6, 1fr); } }
.sf-cat-tile { background: #fff; border: 1px solid #E5ECE9; border-radius: 16px; overflow: hidden; text-decoration: none; color: #0F172A;
    display: flex; flex-direction: column; transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.sf-cat-tile:hover { border-color: #24997C; box-shadow: 0 10px 22px rgba(15, 118, 110, .10); transform: translateY(-2px); }
.sf-cat-tile-media { aspect-ratio: 4/3; background: #EFF6F3; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.sf-cat-tile-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sf-cat-tile-media i { font-size: 30px; color: #0F766E; }
.sf-cat-tile-body { padding: 10px 8px 12px; text-align: center; }
.sf-cat-tile-body strong { display: block; font-size: 13px; font-weight: 700; line-height: 1.3; }
.sf-cat-tile-body span { font-size: 11.5px; color: #64748B; }

/* ---------- product grid / rails / card v2 ---------- */
.sf-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 768px) { .sf-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; } }
@media (min-width: 1024px) { .sf-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1200px) { .sf-grid { grid-template-columns: repeat(6, 1fr); } }
.sf-rail { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.sf-rail::-webkit-scrollbar { display: none; }
.sf-rail > * { flex: 0 0 46%; scroll-snap-align: start; }
@media (min-width: 640px) { .sf-rail > * { flex-basis: 31%; } }
@media (min-width: 1200px) { .sf-rail { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; overflow: visible; } }

.sf-card { background: #fff; border: 1px solid #E5ECE9; border-radius: 16px; overflow: hidden; display: flex; flex-direction: column;
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.sf-card:hover { border-color: #BFE3D8; box-shadow: 0 12px 26px rgba(15, 118, 110, .11); transform: translateY(-2px); }
.sf-card-img { position: relative; display: block; aspect-ratio: 1/1; background: #F1F5F3; overflow: hidden; }
.sf-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .45s ease; }
.sf-card:hover .sf-card-img img { transform: scale(1.06); }
.sf-card-noimg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #94A3B8; font-size: 34px; }
.sf-badge-off { position: absolute; top: 8px; left: 8px; z-index: 2; background: linear-gradient(135deg, #E8830F, #F59E0B); color: #fff;
    font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 999px; box-shadow: 0 3px 8px rgba(232, 131, 15, .35); }
.sf-badge-new { position: absolute; top: 8px; right: 8px; z-index: 2; background: #0F766E; color: #fff; font-size: 10.5px; font-weight: 800;
    padding: 3px 8px; border-radius: 999px; letter-spacing: .04em; }
.sf-badge-out { position: absolute; left: 8px; bottom: 8px; z-index: 2; background: rgba(15, 23, 42, .82); color: #fff; font-size: 11px;
    font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.sf-card-body { padding: 11px 12px 13px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.sf-card-cat { font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: #24997C; margin: 0; }
.sf-card-name { font-weight: 700; font-size: 13.5px; line-height: 1.35; color: #0F172A; text-decoration: none;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.sf-card-name:hover { color: #0F766E; }
.sf-card-rating { display: flex; align-items: center; gap: 5px; font-size: 11.5px; color: #64748B; font-weight: 600; }
.sf-stars { color: #F59E0B; font-size: 11px; letter-spacing: 1.5px; white-space: nowrap; }
.sf-card-price { margin: auto 0 6px; padding-top: 4px; display: flex; gap: 7px; align-items: baseline; flex-wrap: wrap; }
.sf-card-price strong { color: #0F766E; font-size: 16.5px; font-weight: 800; }
.sf-card-price s { color: #94A3B8; font-size: 12.5px; }
.sf-card-stock { font-size: 11.5px; font-weight: 700; }
.sf-card-stock.in { color: #059669; } .sf-card-stock.out { color: #DC2626; }

/* ---------- flash deals band + countdown ---------- */
.sf-flash-band { background: linear-gradient(120deg, #FFF4E5, #FFF9F0 55%, #FFF4E5); border: 1px solid #FDEBD3;
    border-radius: 20px; padding: 18px 16px 8px; margin-bottom: 30px; }
@media (min-width: 768px) { .sf-flash-band { padding: 22px 22px 10px; } }
.sf-flash-band .sf-section-head h2 { color: #9A3412; }
.sf-countdown { display: inline-flex; align-items: center; gap: 5px; }
.sf-countdown .cd-label { font-size: 12px; font-weight: 700; color: #9A3412; margin-right: 3px; }
.sf-countdown .cd-box { background: #0F172A; color: #fff; border-radius: 8px; min-width: 34px; text-align: center; padding: 4px 3px; }
.sf-countdown .cd-box b { display: block; font-size: 14px; line-height: 1.1; font-weight: 800; }
.sf-countdown .cd-box small { display: block; font-size: 8.5px; letter-spacing: .08em; opacity: .75; font-weight: 700; }
.sf-countdown .cd-sep { font-weight: 800; color: #9A3412; }
.sf-flash-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 640px) { .sf-flash-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; } }
@media (min-width: 1200px) { .sf-flash-grid { grid-template-columns: repeat(3, 1fr); } }
.sf-offer-card { background: #fff; border: 1px solid #FDEBD3; border-radius: 16px; overflow: hidden; display: flex; flex-direction: column;
    text-decoration: none; color: #0F172A; transition: box-shadow .15s ease, transform .15s ease; }
.sf-offer-card:hover { box-shadow: 0 12px 24px rgba(232, 131, 15, .14); transform: translateY(-2px); }
.sf-offer-media { display: block; position: relative; aspect-ratio: 16/8; background: linear-gradient(130deg, #B45309, #E8830F); overflow: hidden; }
.sf-offer-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sf-offer-media .big-off { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff;
    font-size: 30px; font-weight: 800; letter-spacing: -0.02em; text-shadow: 0 2px 10px rgba(0,0,0,.18); }
.sf-offer-body { padding: 12px 13px 14px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.sf-offer-body h3 { margin: 0; font-size: 14.5px; font-weight: 800; line-height: 1.3; }
.sf-offer-body .prod { font-size: 12px; color: #64748B; margin: 0; }
.sf-offer-ends { font-size: 11.5px; color: #9A3412; font-weight: 700; margin: 0; }
.sf-progress { display: block; height: 8px; background: #FDEBD3; border-radius: 999px; overflow: hidden; margin-top: 4px; }
.sf-progress > span { display: block; height: 100%; background: linear-gradient(90deg, #E8830F, #F59E0B); border-radius: 999px; }
.sf-offer-claims { font-size: 11.5px; color: #64748B; font-weight: 600; margin: 2px 0 0; }
.sf-offer-cta { margin-top: auto; padding-top: 8px; }

/* ---------- services + app CTA ---------- */
.sf-services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 1024px) { .sf-services { grid-template-columns: repeat(4, 1fr); gap: 12px; } }
.sf-service { background: #fff; border: 1px solid #E5ECE9; border-radius: 16px; padding: 17px 16px; }
.sf-service i { width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
    background: #EFF6F3; color: #0F766E; font-size: 18px; margin-bottom: 10px; }
.sf-service strong { display: block; font-size: 14.5px; margin-bottom: 3px; }
.sf-service p { margin: 0; font-size: 12.5px; color: #64748B; line-height: 1.55; }
.sf-appcta { border-radius: 20px; padding: 26px 22px; color: #fff; display: flex; gap: 18px; align-items: center; flex-wrap: wrap;
    background: linear-gradient(120deg, #0A1F1B 0%, #0F766E 60%, #059669 100%); margin-bottom: 30px; position: relative; overflow: hidden; }
.sf-appcta::after { content: ""; position: absolute; right: -70px; bottom: -90px; width: 240px; height: 240px; border-radius: 50%; background: rgba(255,255,255,.06); }
.sf-appcta .ic { width: 58px; height: 58px; flex: none; border-radius: 16px; background: rgba(255,255,255,.12);
    display: flex; align-items: center; justify-content: center; font-size: 26px; }
.sf-appcta h2 { margin: 0 0 5px; font-size: 20px; font-weight: 800; }
.sf-appcta p { margin: 0; color: #D1FAE5; font-size: 13.5px; line-height: 1.6; max-width: 640px; }
.sf-appcta .txt { flex: 1; min-width: 240px; position: relative; z-index: 1; }

/* ---------- catalog layout / toolbar ---------- */
.sf-catalog { display: grid; gap: 16px; align-items: start; }
@media (min-width: 900px) { .sf-catalog { grid-template-columns: 236px minmax(0, 1fr); } }
.sf-filter-toggle { display: inline-flex; margin-bottom: 12px; }
@media (min-width: 900px) { .sf-filter-toggle { display: none; } }
.sf-filter { background: #fff; border: 1px solid #E5ECE9; border-radius: 16px; padding: 17px; display: none; }
.sf-filter.open { display: block; }
@media (min-width: 900px) { .sf-filter { display: block; position: sticky; top: 132px; } }
.sf-filter h3 { font-size: 14px; font-weight: 800; margin: 0 0 10px; }
.sf-filter-cat a { display: flex; justify-content: space-between; gap: 8px; padding: 7px 9px; border-radius: 9px; color: #334155; text-decoration: none; font-size: 13.5px; font-weight: 600; }
.sf-filter-cat a:hover { background: #EFF6F3; color: #0F766E; }
.sf-filter-cat a.active { background: #EFF6F3; color: #0F766E; }
.sf-filter-cat a .cnt { color: #94A3B8; font-size: 12px; }
.sf-toolbar { display: flex; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 13px; flex-wrap: wrap;
    background: #fff; border: 1px solid #E5ECE9; border-radius: 13px; padding: 9px 13px; }
.sf-toolbar .sf-count { color: #475569; font-size: 13px; font-weight: 600; }
.sf-toolbar .sf-count strong { color: #0F172A; }
.sf-toolbar form { display: flex; align-items: center; gap: 8px; }
.sf-toolbar label { font-size: 12.5px; font-weight: 700; color: #64748B; }
.sf-toolbar .sf-select { width: auto; padding: 7px 10px; border-radius: 9px; font-size: 13px; }
.sf-pagination { margin-top: 20px; display: flex; justify-content: center; }
.sf-pagination nav { display: flex; gap: 4px; flex-wrap: wrap; }
.sf-pagination a, .sf-pagination span { padding: 7px 12px; border-radius: 9px; background: #fff; border: 1px solid #E5ECE9; font-weight: 700; font-size: 13px; color: #334155; text-decoration: none; }
.sf-pagination .active span, .sf-pagination span[aria-current="page"] { background: linear-gradient(135deg, #0F766E, #059669); color: #fff; border-color: transparent; }
.sf-pagination .disabled span { opacity: .45; }

/* ---------- product page ---------- */
.sf-crumbs { margin: 0 0 14px; font-size: 12.5px; color: #94A3B8; display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.sf-crumbs a { color: #0F766E; font-weight: 600; text-decoration: none; }
.sf-crumbs a:hover { text-decoration: underline; }
.sf-product { display: grid; gap: 20px; }
@media (min-width: 900px) { .sf-product { grid-template-columns: 1fr 1fr; } }
.sf-gallery-main { border-radius: 18px; overflow: hidden; background: #F1F5F3; border: 1px solid #E5ECE9; aspect-ratio: 1/1; position: relative; }
.sf-gallery-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sf-gallery-main .sf-badge-off { font-size: 13px; padding: 5px 11px; top: 12px; left: 12px; }
.sf-gallery-thumbs { display: flex; gap: 8px; margin-top: 9px; flex-wrap: wrap; }
.sf-gallery-thumbs button { width: 62px; height: 62px; border-radius: 11px; overflow: hidden; border: 2px solid #E5ECE9; padding: 0; cursor: pointer; background: #F1F5F3; }
.sf-gallery-thumbs button.active { border-color: #24997C; }
.sf-gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sf-p-title { font-size: 23px; font-weight: 800; margin: 3px 0 9px; line-height: 1.28; letter-spacing: -0.01em; }
.sf-price-now { font-size: 27px; font-weight: 800; color: #0F766E; }
.sf-price-was { color: #94A3B8; font-size: 16px; }
.sf-save-note { font-size: 12.5px; font-weight: 800; color: #E8830F; }
.sf-variant-row { display: flex; gap: 8px; flex-wrap: wrap; }
.sf-variant { border: 1.5px solid #D9E4DF; background: #fff; border-radius: 10px; padding: 8px 13px; font-weight: 700; font-size: 13.5px; cursor: pointer; }
.sf-variant.active { border-color: #24997C; background: #EFF6F3; color: #0F766E; }
.sf-variant:disabled { opacity: .45; cursor: not-allowed; }
.sf-qty { display: inline-flex; align-items: center; border: 1.5px solid #D9E4DF; border-radius: 11px; overflow: hidden; background: #fff; }
.sf-qty button { width: 36px; height: 40px; border: none; background: #F8FAF9; cursor: pointer; font-size: 14px; color: #0F766E; }
.sf-qty input { width: 52px; height: 40px; border: none; text-align: center; font-weight: 700; outline: none; }
.sf-meta-lines { margin-top: 18px; font-size: 13.5px; color: #475569; line-height: 2; }
.sf-meta-lines i { color: #24997C; width: 18px; }
.sf-rating-summary { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.sf-rating-big { font-size: 40px; font-weight: 800; line-height: 1; color: #0F172A; }
.sf-rating-bars { flex: 1; min-width: 180px; display: grid; gap: 4px; }
.sf-rating-bar { display: flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 700; color: #64748B; }
.sf-rating-bar .track { flex: 1; height: 7px; background: #F1F5F3; border-radius: 99px; overflow: hidden; }
.sf-rating-bar .track span { display: block; height: 100%; background: #F59E0B; border-radius: 99px; }
.sf-review { border-top: 1px solid #F1F5F3; padding: 13px 0; }
.sf-accordion { display: grid; gap: 9px; margin-top: 18px; }
.sf-accordion details { border: 1px solid #E5ECE9; border-radius: 13px; background: #fff; overflow: hidden; }
.sf-accordion summary { cursor: pointer; padding: 12px 15px; font-weight: 800; font-size: 13.5px; list-style: none;
    display: flex; align-items: center; gap: 9px; color: #0F172A; }
.sf-accordion summary::-webkit-details-marker { display: none; }
.sf-accordion summary i { color: #0F766E; }
.sf-accordion summary .chev { margin-left: auto; color: #94A3B8; font-size: 12px; transition: transform .2s ease; }
.sf-accordion details[open ] summary .chev { transform: rotate(180deg); }
.sf-accordion .acc-body { padding: 0 15px 13px 40px; font-size: 13px; color: #64748B; line-height: 1.65; }

/* sticky mobile buy-bar (product page only, sits above the bottom nav) */
.sf-buybar { display: none; }
@media (max-width: 767px) {
    .sf-buybar { display: flex; position: fixed; left: 0; right: 0; bottom: 57px; z-index: 45; gap: 9px; align-items: center;
        background: rgba(255,255,255,.97); border-top: 1px solid #E5ECE9; padding: 9px 12px calc(9px + env(safe-area-inset-bottom, 0px));
        box-shadow: 0 -8px 20px rgba(10, 31, 27, .08); }
    .sf-buybar .price { flex: none; }
    .sf-buybar .price small { display: block; font-size: 10.5px; color: #64748B; font-weight: 700; }
    .sf-buybar .price strong { font-size: 17px; color: #0F766E; font-weight: 800; }
    .sf-buybar .sf-btn { flex: 1; padding: 10px 8px; font-size: 13px; }
    .sf-buybar-spacer { height: 62px; }
}

/* ---------- cart / checkout ---------- */
@media (min-width: 900px) { .sf-cart-layout { grid-template-columns: minmax(0, 1fr) 350px; align-items: start; } }
.sf-cart-line { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid #F1F5F3; align-items: center; }
.sf-cart-line:last-child { border-bottom: none; }
.sf-cart-line img { width: 66px; height: 66px; border-radius: 12px; object-fit: cover; background: #F1F5F3; }
.sf-cart-line .sf-qty button { height: 34px; } .sf-cart-line .sf-qty input { height: 34px; width: 44px; }
.sf-line-total { font-weight: 800; color: #0F766E; white-space: nowrap; }
.sf-summary-row { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; font-size: 14px; }
.sf-summary-row.total { border-top: 1px solid #E5ECE9; margin-top: 8px; padding-top: 12px; font-size: 16px; font-weight: 800; }
.sf-radio-card { display: flex; gap: 10px; align-items: flex-start; border: 1.5px solid #D9E4DF; border-radius: 13px; padding: 12px 14px; cursor: pointer; margin-bottom: 9px; background: #fff; }
.sf-radio-card:has(input:checked) { border-color: #24997C; background: #EFF6F3; }
.sf-radio-card strong { display: block; font-size: 14px; }
.sf-radio-card span { font-size: 12.5px; color: #64748B; }
.sf-summary-sticky { align-self: start; }
@media (min-width: 900px) { .sf-summary-sticky { position: sticky; top: 132px; } }

/* ---------- account ---------- */
.sf-account { display: grid; gap: 16px; align-items: start; }
@media (min-width: 900px) { .sf-account { grid-template-columns: 224px minmax(0, 1fr); } }
.sf-account-nav { background: #fff; border: 1px solid #E5ECE9; border-radius: 16px; padding: 10px; }
@media (min-width: 900px) { .sf-account-nav { position: sticky; top: 132px; } }
.sf-account-nav a { display: flex; gap: 9px; align-items: center; padding: 9px 11px; border-radius: 10px; color: #334155; font-weight: 600; font-size: 13.5px; text-decoration: none; }
.sf-account-nav a:hover { background: #EFF6F3; }
.sf-account-nav a.active { background: linear-gradient(135deg, #0F766E, #059669); color: #fff; }
.sf-wallet-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 768px) { .sf-wallet-grid { grid-template-columns: repeat(4, 1fr); gap: 12px; } }
.sf-wallet { background: #fff; border: 1px solid #E5ECE9; border-radius: 16px; padding: 15px; }
.sf-wallet span { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #64748B; display: block; }
.sf-wallet strong { font-size: 18px; font-weight: 800; color: #0F766E; }

/* ---------- auth ---------- */
.sf-auth-wrap { max-width: 470px; margin: 10px auto 0; }
.sf-auth-head { text-align: center; margin-bottom: 16px; }
.sf-auth-head .sf-brand-tile { width: 54px; height: 54px; border-radius: 16px; font-size: 24px; }
.sf-auth-head .sf-brand-logo { height: 54px; }
.sf-type-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sf-type-card { position: relative; border: 1.5px solid #D9E4DF; border-radius: 13px; padding: 12px 8px; text-align: center; cursor: pointer; background: #fff; }
.sf-type-card i { display: block; font-size: 19px; color: #24997C; margin-bottom: 5px; }
.sf-type-card strong { display: block; font-size: 13.5px; }
.sf-type-card span { font-size: 11px; color: #64748B; line-height: 1.35; display: block; }
.sf-type-card:has(input:checked) { border-color: #24997C; background: #EFF6F3; }
.sf-type-card input { position: absolute; opacity: 0; pointer-events: none; }

/* ---------- watch ---------- */
.sf-watch-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 640px) { .sf-watch-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; } }
@media (min-width: 1024px) { .sf-watch-grid { grid-template-columns: repeat(6, 1fr); } }
.sf-watch-card { background: #fff; border: 1px solid #E5ECE9; border-radius: 16px; overflow: hidden; }
.sf-watch-card .sf-watch-poster { position: relative; aspect-ratio: 2/3; background: #0A1F1B; }
.sf-watch-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sf-watch-card .sf-watch-noimg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #24997C; font-size: 30px; }
.sf-watch-body { padding: 10px 12px; }
.sf-watch-body strong { display: block; font-size: 13.5px; line-height: 1.35; }
.sf-watch-body span { font-size: 11.5px; color: #64748B; }
.sf-access { position: absolute; top: 8px; left: 8px; }

/* ---------- footer ---------- */
.sf-footer { background: #0A1F1B; color: #CBD8D2; margin-top: 12px; }
.sf-footer-grid { display: grid; gap: 24px; padding-top: 34px; padding-bottom: 26px; }
@media (min-width: 768px) { .sf-footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; } }
.sf-footer h4 { color: #fff; font-size: 14px; font-weight: 800; margin: 0 0 11px; }
.sf-footer a { display: block; color: #CBD8D2; text-decoration: none; font-size: 13.5px; padding: 3.5px 0; }
.sf-footer a:hover { color: #fff; }
.sf-footer-text { font-size: 13px; color: #9DB8AE; margin: 5px 0; line-height: 1.6; }
.sf-footer-text i { color: #7ED3B2; width: 17px; }
.sf-footer-bar { border-top: 1px solid rgba(255,255,255,.08); padding: 14px 0; font-size: 12.5px; }
.sf-footer-bar-in { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: center; }
.sf-footer-pay { display: inline-flex; align-items: center; gap: 7px; color: #C9E8DD; font-weight: 600; }

/* ---------- mobile bottom nav ---------- */
.sf-bottomnav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: #fff; border-top: 1px solid #E5ECE9;
    display: grid; grid-template-columns: repeat(4, 1fr); padding-bottom: env(safe-area-inset-bottom);
    box-shadow: 0 -6px 18px rgba(10, 31, 27, .06); }
.sf-bottomnav a { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 0 7px;
    color: #64748B; font-size: 11px; font-weight: 700; text-decoration: none; }
.sf-bottomnav a i { font-size: 18px; }
.sf-bottomnav a.active { color: #0F766E; }
@media (max-width: 767px) { .sf-body { padding-bottom: 58px; } }
@media (min-width: 768px) { .sf-bottomnav { display: none; } }

/* ---------- CMS / prose ---------- */
.sf-prose { background: #fff; border: 1px solid #E5ECE9; border-radius: 16px; padding: 22px; line-height: 1.75; font-size: 15px; }
.sf-prose h1, .sf-prose h2, .sf-prose h3 { font-weight: 800; margin: 18px 0 8px; }
.sf-prose p { margin: 0 0 12px; }
.sf-prose ul, .sf-prose ol { margin: 0 0 12px 18px; }
