/* Online Store storefront. Look and layout follow the acnoo wholesale shop (customer side). */
:root {
    --sf-accent: #fc630a;
    --sf-accent-hover: #e05508;
    --sf-accent-ink: #fff;
    --sf-tint: #ffede0;
    --sf-navy: #141b34;
    --sf-ink: #141b34;
    --sf-ink-soft: #555c78;
    --sf-ink-faint: #8e94a8;
    --sf-line: #ece8e4;
    --sf-bg: #fff;
    --sf-surface: #fff;
    --sf-surface-2: #fff5ec;
    --sf-radius: 16px;
    --sf-green: #188038;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

.sf-body {
    margin: 0;
    font-family: Inter, "Noto Sans Bengali", "Segoe UI", system-ui, sans-serif;
    font-size: 15px;
    line-height: 1.5;
    color: var(--sf-ink);
    background: var(--sf-bg);
    -webkit-font-smoothing: antialiased;
}

/* Zero specificity, so every component (buttons, banners) can set its own link colour. */
:where(.sf-body) a {
    color: inherit;
    text-decoration: none;
}

.sf-body img {
    max-width: 100%;
}

.sf-body button {
    font: inherit;
    cursor: pointer;
}

.sf-body input,
.sf-body select,
.sf-body textarea {
    font: inherit;
    color: var(--sf-ink);
}

.store-hidden {
    display: none !important;
}

.sf-wrap {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 32px;
}

.store-main {
    min-height: 50vh;
    padding-bottom: 32px;
}

.sf-muted,
.store-muted {
    color: var(--sf-ink-soft);
    font-size: 14px;
}

.sf-body .store-muted a {
    font-weight: 700;
    color: var(--sf-accent);
}

/* ---------- top bar & header ---------- */
.sf-topbar {
    font-size: 13px;
    color: #d3d7e6;
    background: var(--sf-navy);
}

.sf-topbar-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    padding-top: 8px;
    padding-bottom: 8px;
}

.sf-topbar b {
    color: #fff;
}

.sf-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--sf-surface);
    border-bottom: 1px solid var(--sf-line);
}

.sf-header-inner {
    display: flex;
    align-items: center;
    gap: 28px;
    padding-top: 14px;
    padding-bottom: 14px;
}

.sf-logo {
    flex: none;
    display: flex;
    align-items: center;
    max-width: 260px;
}

.sf-logo img {
    width: auto;
    height: 48px;
    max-width: 220px;
    object-fit: contain;
}

.sf-logo-word {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.05;
    color: var(--sf-ink);
}

.sf-logo-word i {
    font-style: normal;
    color: var(--sf-accent);
}

.sf-search {
    flex: 1;
    display: flex;
    max-width: 640px;
    overflow: hidden;
    border: 1.5px solid var(--sf-line);
    border-radius: 14px;
    background: var(--sf-surface-2);
}

.sf-search input {
    flex: 1;
    min-width: 0;
    padding: 13px 18px;
    border: 0;
    outline: 0;
    background: transparent;
}

.sf-search button {
    display: grid;
    place-items: center;
    width: 60px;
    border: 0;
    color: #fff;
    background: var(--sf-accent);
}

.sf-search button svg {
    width: 20px;
    height: 20px;
}

.sf-actions {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-left: auto;
}

.sf-count {
    position: absolute;
    top: -7px;
    right: -7px;
    display: grid;
    place-items: center;
    min-width: 21px;
    height: 21px;
    padding: 0 5px;
    border: 2px solid var(--sf-surface);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    background: var(--sf-accent);
}

.sf-nav {
    border-top: 1px solid var(--sf-line);
}

.sf-nav-inner {
    display: flex;
    align-items: center;
    gap: 6px;
    overflow-x: auto;
    padding-top: 8px;
    padding-bottom: 8px;
    scrollbar-width: none;
}

.sf-nav-inner::-webkit-scrollbar {
    display: none;
}

.sf-nav-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 12px;
    border-radius: 10px;
    font-weight: 600;
    white-space: nowrap;
    color: var(--sf-ink-soft);
}

.sf-nav-item svg {
    width: 17px;
    height: 17px;
}

.sf-nav-item:hover,
.sf-nav-item.on {
    color: var(--sf-accent);
}

.sf-body .sf-nav-all {
    padding: 10px 14px;
    color: #fff;
    background: var(--sf-accent);
}

.sf-body .sf-nav-all:hover {
    color: #fff;
    background: var(--sf-accent-hover);
}

/* ---------- buttons ---------- */
.sf-btn,
.store-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border: 1.5px solid transparent;
    border-radius: 12px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    color: #fff;
    background: var(--sf-accent);
    transition: background 0.18s, color 0.18s, border-color 0.18s;
}

.sf-btn:hover,
.store-btn:hover {
    color: #fff;
    background: var(--sf-accent-hover);
}

.sf-btn svg {
    width: 18px;
    height: 18px;
    flex: none;
}

.sf-btn-block,
.store-btn-block {
    display: flex;
    width: 100%;
}

.sf-btn-lg {
    padding: 15px;
    font-size: 16px;
}

.sf-body .sf-btn-light {
    color: var(--sf-navy);
    background: #fff;
}

.sf-body .sf-btn-light:hover {
    color: var(--sf-navy);
    background: #f1f1f4;
}

.sf-body .sf-btn-outline,
.sf-body .store-btn-outline {
    color: var(--sf-accent);
    border-color: var(--sf-accent);
    background: transparent;
}

.sf-body .sf-btn-outline:hover,
.sf-body .store-btn-outline:hover {
    color: #fff;
    background: var(--sf-accent);
}

.sf-body .sf-btn-dark {
    color: #fff;
    background: var(--sf-navy);
}

.sf-body .sf-btn-muted {
    color: var(--sf-ink-faint);
    background: var(--sf-surface-2);
    cursor: default;
}

.sf-body .store-btn-danger {
    color: #fff;
    background: #d93025;
}

.store-link-btn {
    padding: 0;
    border: 0;
    font-size: 20px;
    color: var(--sf-ink-faint);
    background: none;
}

.store-link-btn:hover {
    color: #d93025;
}

/* ---------- feature strip ---------- */
.sf-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    margin-top: 28px;
    overflow: hidden;
    border: 1px solid var(--sf-line);
    border-radius: 16px;
}

.sf-feature {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
}

.sf-feature i {
    display: grid;
    flex: none;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    color: #fff;
}

.sf-feature svg {
    width: 22px;
    height: 22px;
}

.sf-feature b {
    display: block;
    font-size: 15px;
}

.sf-feature small {
    font-size: 13px;
    color: var(--sf-ink-soft);
}

.sf-f1 { background: #fff1e8; }
.sf-f1 i { background: linear-gradient(135deg, #ff8a3d, #fc630a); }
.sf-f2 { background: #e9f8f1; }
.sf-f2 i { background: linear-gradient(135deg, #3ccf91, #18a06a); }
.sf-f3 { background: #eaf1ff; }
.sf-f3 i { background: linear-gradient(135deg, #5b9bff, #2f6fe0); }
.sf-f4 { background: #f2ecff; }
.sf-f4 i { background: linear-gradient(135deg, #a77bff, #7a4ce0); }

/* ---------- sections ---------- */
.sf-section {
    margin-top: 36px;
}

.sf-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.sf-section-head h2 {
    margin: 0;
    font-size: 22px;
    letter-spacing: -0.3px;
}

.sf-see-all {
    padding: 9px 16px;
    border: 1.5px solid var(--sf-line);
    border-radius: 999px;
    font-weight: 700;
    font-size: 14px;
    white-space: nowrap;
    color: var(--sf-accent) !important;
    background: var(--sf-surface);
}

.sf-deal-box {
    padding: 22px 24px 26px;
    border: 1px solid #fbe3d3;
    border-radius: 22px;
    background: var(--sf-surface-2);
}

.sf-bolt {
    color: #f5a400;
}

.sf-empty {
    grid-column: 1 / -1;
    padding: 40px 0;
    text-align: center;
    color: var(--sf-ink-soft);
}

/* categories */
.sf-cat-row {
    display: grid;
    grid-auto-columns: 168px;
    grid-auto-flow: column;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: thin;
}

.sf-cat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 18px 10px;
    border: 1px solid var(--sf-line);
    border-radius: 16px;
    font-weight: 700;
    font-size: 14px;
    text-align: center;
    background: var(--sf-surface);
    transition: border-color 0.2s, transform 0.2s;
}

.sf-cat-card:hover {
    border-color: var(--sf-accent);
    transform: translateY(-2px);
}

.sf-cat-icon {
    display: grid;
    place-items: center;
    width: 84px;
    height: 84px;
    overflow: hidden;
    border-radius: 50%;
    font-size: 30px;
    font-weight: 800;
    color: var(--sf-navy);
}

.sf-cat-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sf-tone-0 { background: #ffe8dc; }
.sf-tone-1 { background: #fff3cd; }
.sf-tone-2 { background: #e5e8fb; }
.sf-tone-3 { background: #e3f5ec; }
.sf-tone-4 { background: #fbe4ef; }
.sf-tone-5 { background: #ece6fb; }

/* product grid & card */
.sf-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
}

.sf-grid-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.sf-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--sf-line);
    border-radius: var(--sf-radius);
    background: var(--sf-surface);
    transition: box-shadow 0.2s, transform 0.2s;
}

.sf-card:hover {
    box-shadow: 0 10px 28px rgba(20, 27, 52, 0.08);
    transform: translateY(-2px);
}

.sf-tile {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #fff;
}

.sf-tile img {
    display: block;
    width: 100%;
    height: 100%;
    padding: 14px;
    object-fit: contain;
    transition: transform 0.3s;
}

.sf-card:hover .sf-tile img {
    transform: scale(1.04);
}

.sf-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    background: var(--sf-navy);
}

.sf-badge-out {
    background: #d93025;
}

.sf-badge-static {
    position: static;
    display: inline-block;
    margin-bottom: 8px;
}

.sf-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 4px;
    padding: 12px 14px 14px;
}

.sf-card-name {
    display: -webkit-box;
    min-height: 2.6em;
    overflow: hidden;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.3;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.sf-card-cat {
    font-size: 12.5px;
    color: var(--sf-ink-faint);
}

.sf-price-row {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-top: auto;
}

.sf-price {
    font-size: 19px;
    font-weight: 700;
    color: var(--sf-accent);
}

.sf-price-row small {
    font-size: 12px;
    color: var(--sf-ink-faint);
}

.sf-card .sf-btn {
    margin-top: 8px;
    padding: 10px;
    border-radius: 10px;
    font-size: 14px;
}

/* promo banners */
.sf-body .sf-promo {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 28px;
    margin-top: 36px;
    padding: 30px 44px;
    overflow: hidden;
    border-radius: 22px;
    color: #fff;
}

.sf-promo::after {
    content: "";
    position: absolute;
    right: 200px;
    top: -120px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.sf-promo > * {
    position: relative;
    z-index: 1;
}

.sf-promo-0 { background: linear-gradient(110deg, #fc630a, #ffa268); }
.sf-promo-1 { background: linear-gradient(110deg, #141b34, #3a4a8f); }
.sf-promo-2 { background: linear-gradient(110deg, #13876a, #2bc196); }
.sf-promo-3 { background: linear-gradient(110deg, #6d36d9, #b56cf0); }

.sf-promo-tag {
    display: inline-block;
    margin-bottom: 8px;
    padding: 3px 12px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.sf-promo h3 {
    margin: 0;
    font-size: 22px;
}

.sf-promo p {
    margin: 4px 0 0;
    opacity: 0.9;
}

.sf-promo-imgs {
    display: flex;
    gap: 12px;
}

.sf-promo-imgs img {
    width: 84px;
    height: 84px;
    padding: 6px;
    object-fit: contain;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.92);
}

/* ---------- breadcrumb & page ---------- */
.sf-crumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 16px 0;
    font-size: 14px;
    color: var(--sf-ink-soft);
}

.sf-crumb a:hover {
    color: var(--sf-accent);
}

.sf-page {
    padding-top: 24px;
}

.store-page-title {
    margin: 0 0 18px;
    font-size: 26px;
    letter-spacing: -0.4px;
}

.store-section-title {
    margin: 26px 0 14px;
    font-size: 20px;
}

.store-narrow {
    max-width: 760px;
}

/* ---------- product page ---------- */
.sf-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 26px;
    margin-bottom: 20px;
    padding: 12px 18px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 14px;
    background: var(--sf-surface-2);
}

.sf-trust i {
    display: inline-grid;
    place-items: center;
    width: 20px;
    height: 20px;
    margin-right: 6px;
    border-radius: 50%;
    font-style: normal;
    font-size: 12px;
    color: #fff;
    background: var(--sf-accent);
}

.sf-pdp {
    display: grid;
    grid-template-columns: 1fr 1.15fr 0.85fr;
    align-items: start;
    gap: 24px;
}

.sf-pdp-gallery {
    padding: 16px;
    border: 1px solid var(--sf-line);
    border-radius: 18px;
    background: var(--sf-surface);
}

.sf-pdp-photo {
    display: grid;
    place-items: center;
    aspect-ratio: 1 / 1;
    padding: 20px;
    border: 1px solid var(--sf-line);
    border-radius: 14px;
    background: #fff;
}

.sf-pdp-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.sf-pdp-info {
    padding: 22px;
    border: 1px solid var(--sf-line);
    border-radius: 18px;
    background: var(--sf-surface);
}

.sf-pdp-info h1 {
    margin: 0 0 4px;
    font-size: 24px;
    line-height: 1.25;
}

.sf-pdp-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin: 16px 0;
    padding: 14px 18px;
    border: 1px solid #fbd9c2;
    border-radius: 14px;
    background: var(--sf-surface-2);
}

.sf-pdp-price b {
    font-size: 28px;
    color: var(--sf-accent);
}

.sf-pdp-price small {
    color: var(--sf-ink-faint);
}

.sf-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    font-size: 14px;
}

.sf-variants {
    margin-bottom: 16px;
}

.sf-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sf-chip input {
    position: absolute;
    opacity: 0;
}

.sf-chip span {
    display: inline-block;
    padding: 8px 14px;
    border: 1.5px solid var(--sf-line);
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
}

.sf-chip input:checked + span {
    border-color: var(--sf-accent);
    color: var(--sf-accent);
    background: var(--sf-tint);
}

.sf-chip input:focus-visible + span {
    outline: 2px solid var(--sf-accent);
}

.sf-qty-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.sf-qty {
    display: inline-flex;
    align-items: center;
    overflow: hidden;
    border: 1.5px solid var(--sf-line);
    border-radius: 12px;
}

.sf-qty-btn {
    width: 44px;
    height: 44px;
    border: 0;
    font-size: 20px;
    font-weight: 700;
    color: var(--sf-ink);
    background: var(--sf-surface-2);
}

.sf-qty input {
    width: 64px;
    height: 44px;
    border: 0;
    font-weight: 700;
    text-align: center;
    background: var(--sf-surface);
    -moz-appearance: textfield;
}

.sf-qty input::-webkit-outer-spin-button,
.sf-qty input::-webkit-inner-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

.sf-buy-btns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.sf-buy-btns .sf-btn {
    padding: 14px;
}

.sf-out {
    padding: 12px 16px;
    border-radius: 12px;
    font-weight: 600;
    color: #b3261e;
    background: #fde8e7;
}

.sf-pdp-side {
    display: grid;
    gap: 16px;
}

.sf-panel {
    padding: 18px 20px;
    border: 1px solid var(--sf-line);
    border-radius: 18px;
    background: var(--sf-surface);
}

.sf-panel h3 {
    margin: 0 0 12px;
    font-size: 16px;
}

.sf-panel-tint {
    background: var(--sf-surface-2);
}

.sf-why {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.sf-why:last-child {
    margin-bottom: 0;
}

.sf-why i {
    display: grid;
    flex: none;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    font-style: normal;
    color: var(--sf-accent);
    background: var(--sf-tint);
}

.sf-why b {
    display: block;
    font-size: 14px;
}

.sf-why small {
    font-size: 13px;
    color: var(--sf-ink-soft);
}

.sf-kv {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px dashed var(--sf-line);
    font-size: 14px;
}

.sf-kv:last-child {
    border-bottom: 0;
}

.sf-kv span {
    color: var(--sf-ink-soft);
}

.sf-sticky-buy {
    display: none;
}

/* ---------- product list ---------- */
.sf-list {
    display: grid;
    grid-template-columns: 260px 1fr;
    align-items: start;
    gap: 24px;
}

.sf-filters {
    position: sticky;
    top: 150px;
    display: grid;
    gap: 16px;
}

.sf-filter-link {
    display: block;
    padding: 8px 10px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    color: var(--sf-ink-soft);
}

.sf-filter-link:hover,
.sf-filter-link.on {
    color: var(--sf-accent);
    background: var(--sf-tint);
}

.sf-list-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.sf-list-head h1 {
    margin: 0;
    font-size: 22px;
}

.sf-list-head h1 small {
    font-size: 14px;
    font-weight: 500;
    color: var(--sf-ink-faint);
}

.sf-sort {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
}

.sf-sort select {
    padding: 9px 12px;
    border: 1.5px solid var(--sf-line);
    border-radius: 10px;
    background: var(--sf-surface);
}

/* ---------- forms, cards, cart, checkout ---------- */
.store-card {
    margin-bottom: 18px;
    padding: 22px;
    border: 1px solid var(--sf-line);
    border-radius: 18px;
    background: var(--sf-surface);
}

.store-card h3 {
    margin: 0 0 14px;
    font-size: 17px;
}

.store-card h3 + h3,
.store-card .store-form-grid + h3,
.store-card .store-choice-list + h3 {
    margin-top: 22px;
}

.store-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.store-form-full {
    grid-column: 1 / -1;
}

.sf-body .store-card label,
.sf-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-weight: 700;
    font-size: 14px;
}

.sf-field i {
    font-style: normal;
    color: var(--sf-accent);
}

.sf-body .store-card input[type="text"],
.sf-body .store-card input[type="tel"],
.sf-body .store-card input[type="email"],
.sf-body .store-card input[type="password"],
.sf-body .store-card input[type="number"],
.sf-body .store-card textarea,
.sf-body .store-card select,
.sf-field input,
.sf-field textarea,
.store-coupon-form input,
.store-cart-qty {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--sf-line);
    border-radius: 12px;
    outline: 0;
    font-weight: 400;
    background: var(--sf-surface);
}

.sf-body .store-card input:focus,
.sf-body .store-card textarea:focus,
.sf-field input:focus,
.sf-field textarea:focus,
.store-coupon-form input:focus {
    border-color: var(--sf-accent);
}

.store-choice-list {
    display: grid;
    gap: 10px;
}

.sf-body .store-card label.store-choice {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 13px 14px;
    border: 1.5px solid var(--sf-line);
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
}

.sf-body .store-card label.store-choice:has(input:checked) {
    border-color: var(--sf-accent);
    background: var(--sf-tint);
}

.store-choice input {
    accent-color: var(--sf-accent);
}

.store-gateway-instructions {
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 14px;
    background: var(--sf-surface-2);
}

.store-cart-layout,
.store-checkout-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    align-items: start;
    gap: 24px;
}

.store-cart-items {
    overflow: hidden;
    border: 1px solid var(--sf-line);
    border-radius: 18px;
    background: var(--sf-surface);
}

.store-cart-item {
    display: grid;
    grid-template-columns: 84px 1fr 96px 120px 32px;
    align-items: center;
    gap: 16px;
    padding: 16px 18px;
    border-bottom: 1px solid var(--sf-line);
}

.store-cart-item:last-child {
    border-bottom: 0;
}

.store-cart-item img {
    width: 84px;
    height: 84px;
    padding: 6px;
    object-fit: contain;
    border: 1px solid var(--sf-line);
    border-radius: 14px;
    background: #fff;
}

.store-cart-item-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.store-cart-item-info a {
    font-weight: 700;
}

.store-cart-item-info small {
    color: var(--sf-ink-faint);
}

.store-cart-item-info span {
    font-weight: 600;
    color: var(--sf-accent);
}

.store-cart-item strong {
    text-align: right;
}

.store-cart-qty {
    padding: 9px;
    text-align: center;
}

.store-summary {
    position: sticky;
    top: 150px;
    padding: 22px;
    border: 1px solid var(--sf-line);
    border-radius: 18px;
    background: var(--sf-surface);
}

.store-summary h3 {
    margin: 0 0 14px;
    font-size: 17px;
}

.store-coupon-form {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.store-coupon-form .store-btn {
    padding: 10px 16px;
}

.store-summary-items {
    margin: 0 0 12px;
    padding: 0;
    list-style: none;
}

.store-summary-items li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px dashed var(--sf-line);
    font-size: 14px;
}

.store-totals {
    margin-bottom: 16px;
}

.store-totals > div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 7px 0;
    font-size: 15px;
}

.store-totals-grand {
    margin-top: 6px;
    padding-top: 12px !important;
    border-top: 1px solid var(--sf-line);
    font-weight: 800;
    font-size: 18px !important;
}

.store-totals-grand span:last-child {
    color: var(--sf-accent);
}

.store-empty-box,
.store-success-box {
    padding: 48px 24px;
    border: 1px dashed var(--sf-line);
    border-radius: 18px;
    text-align: center;
    background: var(--sf-surface-2);
}

.store-success-box {
    margin-bottom: 18px;
    border-style: solid;
    border-color: #bfe6cd;
    background: #ecfdf3;
}

.store-success-box h1 {
    margin: 0 0 6px;
    font-size: 24px;
    color: var(--sf-green);
}

.store-alert {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    padding: 12px 16px;
    border-radius: 12px;
    font-weight: 600;
}

.store-alert-error {
    color: #b3261e;
    background: #fde8e7;
}

.store-inline-form {
    display: inline;
}

.store-pay-buttons,
.store-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.store-order-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.store-order-head h3 {
    margin: 0;
}

.store-status {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 13px;
    color: #344054;
    background: #f2f4f7;
}

.store-status-pending,
.store-payment-pending,
.store-payment-unpaid {
    color: #b54708;
    background: #fffaeb;
}

.store-status-confirmed,
.store-status-processing,
.store-status-shipped {
    color: #175cd3;
    background: #eff8ff;
}

.store-status-delivered,
.store-payment-paid {
    color: #067647;
    background: #ecfdf3;
}

.store-status-cancelled,
.store-status-returned,
.store-payment-failed {
    color: #b42318;
    background: #fef3f2;
}

.store-timeline {
    margin: 10px 0 0;
    padding: 0 0 0 18px;
    border-left: 2px solid var(--sf-line);
    list-style: none;
}

.store-timeline li {
    position: relative;
    padding: 0 0 14px 6px;
}

.store-timeline li::before {
    content: "";
    position: absolute;
    left: -25px;
    top: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--sf-accent);
}

.store-timeline span {
    display: block;
    font-size: 13px;
    color: var(--sf-ink-faint);
}

.store-timeline p {
    margin: 4px 0 0;
    font-size: 14px;
}

/* ---------- auth ---------- */
.sf-auth-shell {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 32px;
    margin-bottom: 20px;
}

.sf-auth-art {
    position: relative;
    overflow: hidden;
    padding: 40px;
    border-radius: 24px;
    color: #fff;
    background: linear-gradient(140deg, #141b34, #2b3770);
}

.sf-auth-art::after {
    content: "";
    position: absolute;
    right: -90px;
    bottom: -110px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--sf-accent) 18%, transparent);
}

.sf-auth-art > * {
    position: relative;
    z-index: 1;
}

.sf-logo-light {
    display: block;
    margin-bottom: 26px;
    color: #fff;
}

.sf-auth-art h2 {
    margin: 0;
    font-size: 30px;
    line-height: 1.15;
    letter-spacing: -1px;
}

.sf-auth-art p {
    margin: 8px 0 22px;
    color: #c5cae0;
}

.sf-auth-points {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sf-auth-points li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.sf-auth-points i {
    display: grid;
    flex: none;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--sf-accent);
}

.sf-auth-points svg {
    width: 12px;
    height: 12px;
}

.sf-auth-card {
    display: grid;
    gap: 14px;
    align-self: start;
    padding: 32px;
    border: 1px solid var(--sf-line);
    border-radius: 24px;
    background: var(--sf-surface);
}

.sf-auth-head {
    text-align: center;
}

.sf-auth-head h1 {
    margin: 0;
    font-size: 26px;
    letter-spacing: -0.5px;
}

.sf-auth-head p {
    margin: 4px 0 0;
    font-size: 14px;
    color: var(--sf-ink-soft);
}

.sf-auth-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 4px;
    border-radius: 12px;
    background: var(--sf-surface-2);
}

.sf-auth-tabs a,
.sf-auth-tabs span {
    padding: 10px;
    border-radius: 9px;
    font-weight: 700;
    text-align: center;
    color: var(--sf-ink-soft);
}

.sf-auth-tabs .on {
    color: var(--sf-accent);
    background: var(--sf-surface);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.sf-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.sf-check {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.sf-check input {
    accent-color: var(--sf-accent);
}

.sf-auth-sw {
    margin: 0;
    font-size: 14px;
    text-align: center;
    color: var(--sf-ink-soft);
}

.sf-auth-sw a {
    font-weight: 700;
    color: var(--sf-accent) !important;
}

/* ---------- account ---------- */
.store-account-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    align-items: start;
    gap: 24px;
}

.store-account-menu {
    display: grid;
    gap: 4px;
    padding: 16px;
    border: 1px solid var(--sf-line);
    border-radius: 18px;
    background: var(--sf-surface);
}

.store-account-name {
    margin: 0 0 8px;
    padding: 0 10px 12px;
    border-bottom: 1px solid var(--sf-line);
    font-weight: 800;
}

.store-account-menu a,
.store-account-menu .store-link-btn {
    display: block;
    padding: 10px 12px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    text-align: left;
    color: var(--sf-ink-soft);
}

.store-account-menu a.active,
.store-account-menu a:hover {
    color: var(--sf-accent);
    background: var(--sf-tint);
}

.store-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.store-stat-grid .store-card {
    display: grid;
    gap: 4px;
    margin: 0;
}

.store-stat-grid span {
    color: var(--sf-ink-soft);
    font-size: 14px;
}

.store-stat-grid strong {
    font-size: 26px;
}

.store-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--sf-line);
    border-radius: 18px;
    background: var(--sf-surface);
}

.store-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.store-table th,
.store-table td {
    padding: 13px 16px;
    border-bottom: 1px solid var(--sf-line);
    text-align: left;
    white-space: nowrap;
}

.store-table th {
    font-size: 12.5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--sf-ink-faint);
    background: var(--sf-surface-2);
}

.store-table tr:last-child td {
    border-bottom: 0;
}

.store-table a {
    font-weight: 700;
    color: var(--sf-accent) !important;
}

/* ---------- pagination ---------- */
.store-pagination {
    margin-top: 24px;
}

.store-pagination nav > div:first-child {
    display: none;
}

.store-pagination .pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.store-pagination .page-link {
    display: block;
    min-width: 40px;
    padding: 8px 12px;
    border: 1.5px solid var(--sf-line);
    border-radius: 10px;
    font-weight: 600;
    text-align: center;
    background: var(--sf-surface);
}

.store-pagination .active .page-link {
    border-color: var(--sf-accent);
    color: #fff;
    background: var(--sf-accent);
}

/* ---------- footer ---------- */
.sf-footer {
    margin-top: 48px;
    padding: 48px 0 24px;
    color: #c5cae0;
    background: var(--sf-navy);
}

.sf-foot-grid {
    display: grid;
    grid-template-columns: 1.4fr;
    grid-auto-columns: 1fr;
    grid-auto-flow: column;
    gap: 36px;
}

.sf-foot-grid h4 {
    margin: 0 0 14px;
    font-size: 15px;
    color: #fff;
}

.sf-foot-grid a,
.sf-foot-grid p {
    display: block;
    margin: 0 0 9px;
    font-size: 14px;
}

.sf-foot-grid a:hover {
    color: #fff;
}

.sf-foot-brand .sf-logo-word {
    display: block;
    margin-bottom: 14px;
    color: #fff;
}

.sf-foot-logo {
    width: auto;
    height: 48px;
    max-width: 220px;
    margin-bottom: 14px;
    object-fit: contain;
}

.sf-social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.sf-social a {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    margin: 0;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
}

.sf-social svg {
    width: 18px;
    height: 18px;
}

.sf-foot-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    margin-top: 32px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 13px;
}

.sf-chat {
    position: fixed;
    right: 24px;
    bottom: 28px;
    z-index: 60;
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    color: #fff !important;
    background: var(--sf-accent);
    box-shadow: 0 10px 24px rgba(252, 99, 10, 0.35);
}

.sf-chat svg {
    width: 26px;
    height: 26px;
}

.sf-bottom-nav {
    display: none;
}

/* ---------- unavailable ---------- */
.store-unavailable {
    display: grid;
    place-items: center;
    min-height: 100vh;
    padding: 24px;
    text-align: center;
}

.store-unavailable h1 {
    margin: 0 0 8px;
}

/* ---------- RTL ---------- */
[dir="rtl"] .sf-actions {
    margin-right: auto;
    margin-left: 0;
}

[dir="rtl"] .sf-count {
    right: auto;
    left: -7px;
}

[dir="rtl"] .sf-badge {
    left: auto;
    right: 10px;
}

[dir="rtl"] .sf-chat {
    right: auto;
    left: 24px;
}

[dir="rtl"] .store-table th,
[dir="rtl"] .store-table td,
[dir="rtl"] .store-account-menu a {
    text-align: right;
}

/* ---------- responsive ---------- */
@media (max-width: 1280px) {
    .sf-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .sf-grid-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .sf-pdp {
        grid-template-columns: 1fr 1.2fr;
    }

    .sf-pdp-side {
        grid-column: 1 / -1;
        grid-template-columns: 1fr 1fr;
    }

    .sf-foot-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        grid-auto-flow: row;
    }
}

@media (max-width: 1024px) {
    .sf-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .sf-features {
        grid-template-columns: 1fr 1fr;
    }

    .sf-promo {
        grid-template-columns: 1fr auto;
    }

    .sf-promo-imgs {
        display: none;
    }

    .sf-list,
    .store-account-layout {
        grid-template-columns: 1fr;
    }

    .sf-filters {
        position: static;
        display: flex;
        gap: 10px;
        overflow-x: auto;
    }

    .sf-filters .sf-panel {
        display: flex;
        flex: none;
        align-items: center;
        gap: 4px;
        padding: 8px 10px;
    }

    .sf-filters .sf-panel h3 {
        margin: 0 6px 0 0;
        font-size: 14px;
        white-space: nowrap;
    }

    .sf-filter-link {
        white-space: nowrap;
    }

    .store-cart-layout,
    .store-checkout-layout,
    .sf-auth-shell {
        grid-template-columns: 1fr;
    }

    .sf-auth-card {
        order: -1;
    }

    .store-summary {
        position: static;
    }
}

@media (max-width: 767px) {
    .sf-wrap {
        padding: 0 16px;
    }

    .sf-topbar-inner {
        justify-content: center;
        font-size: 12px;
        text-align: center;
    }

    .sf-topbar-hotline {
        display: none;
    }

    .sf-header-inner {
        flex-wrap: wrap;
        gap: 12px;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .sf-logo-word {
        font-size: 24px;
    }

    .sf-logo img {
        height: 38px;
        max-width: 160px;
    }

    .sf-search {
        order: 3;
        flex-basis: 100%;
        max-width: none;
    }

    .sf-search input {
        padding: 11px 14px;
    }

    .sf-search button {
        width: 50px;
    }

    .sf-nav-inner {
        padding-top: 6px;
        padding-bottom: 6px;
    }

    .sf-features {
        gap: 2px;
        margin-top: 16px;
    }

    .sf-feature {
        gap: 10px;
        padding: 12px;
    }

    .sf-feature i {
        width: 36px;
        height: 36px;
    }

    .sf-feature small {
        display: none;
    }

    .sf-feature b {
        font-size: 13px;
    }

    .sf-section {
        margin-top: 26px;
    }

    .sf-section-head h2 {
        font-size: 19px;
    }

    .sf-deal-box {
        margin-left: -8px;
        margin-right: -8px;
        padding: 16px 12px 18px;
    }

    .sf-cat-row {
        grid-auto-columns: 108px;
        gap: 10px;
    }

    .sf-cat-icon {
        width: 64px;
        height: 64px;
        font-size: 24px;
    }

    .sf-grid,
    .sf-grid-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .sf-card-body {
        padding: 10px 10px 12px;
    }

    .sf-price {
        font-size: 17px;
    }

    .sf-card .sf-btn {
        padding: 9px 6px;
        font-size: 13px;
    }

    .sf-promo {
        margin-top: 26px;
        padding: 20px;
        border-radius: 18px;
        gap: 14px;
    }

    .sf-promo h3 {
        font-size: 18px;
    }

    .sf-promo .sf-btn {
        padding: 10px 14px;
    }

    .sf-trust {
        flex-direction: column;
        gap: 6px;
    }

    .sf-pdp {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .sf-pdp-side {
        grid-template-columns: 1fr;
    }

    .sf-pdp-info {
        padding: 16px;
    }

    .sf-pdp-info h1 {
        font-size: 20px;
    }

    .sf-buy-btns {
        display: none;
    }

    .sf-sticky-buy {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 64px;
        z-index: 55;
        display: grid;
        grid-template-columns: 1fr auto auto;
        align-items: center;
        gap: 8px;
        padding: 10px 12px;
        border-top: 1px solid var(--sf-line);
        background: var(--sf-surface);
        box-shadow: 0 -6px 18px rgba(20, 27, 52, 0.08);
    }

    .sf-sticky-info {
        display: flex;
        align-items: center;
        gap: 8px;
        min-width: 0;
        font-size: 13px;
    }

    .sf-sticky-info > span {
        display: flex;
        flex-direction: column;
        min-width: 0;
    }

    .sf-pdp-more {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .sf-pdp-cards b {
        font-size: 12px;
    }

    .sf-sticky-info b {
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    .sf-sticky-info > span > span {
        font-weight: 700;
        color: var(--sf-accent);
    }

    .sf-sticky-buy .sf-btn {
        padding: 10px 12px;
        font-size: 13px;
    }

    .store-page-title {
        font-size: 22px;
    }

    .store-form-grid,
    .sf-field-row,
    .store-stat-grid {
        grid-template-columns: 1fr;
    }

    .store-cart-item {
        grid-template-columns: 64px 1fr 72px;
        gap: 10px;
        padding: 12px;
    }

    .store-cart-item img {
        width: 64px;
        height: 64px;
    }

    .store-cart-item strong {
        grid-column: 2;
        text-align: left;
    }

    .store-cart-item > form:last-child {
        grid-column: 3;
        grid-row: 2;
        justify-self: end;
    }

    .sf-auth-art,
    .sf-auth-card {
        padding: 22px 18px;
        border-radius: 18px;
    }

    .sf-auth-art h2 {
        font-size: 24px;
        letter-spacing: 0;
    }

    .sf-foot-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .sf-footer {
        padding-bottom: 90px;
    }

    .sf-chat {
        right: 16px;
        bottom: 80px;
        width: 50px;
        height: 50px;
    }

    .sf-body {
        padding-bottom: 64px;
    }

    .sf-bottom-nav {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 60;
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        height: 64px;
        padding-bottom: env(safe-area-inset-bottom, 0);
        border-top: 1px solid var(--sf-line);
        background: var(--sf-surface);
    }

    .sf-bottom-nav a {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        font-weight: 600;
        font-size: 12px;
        color: var(--sf-ink-soft);
    }

    .sf-bottom-nav a.on {
        color: var(--sf-accent);
    }

    .sf-bottom-nav svg {
        width: 22px;
        height: 22px;
    }

    .sf-bottom-nav .sf-count {
        top: 6px;
        right: calc(50% - 22px);
    }
}

/* ---------- v3: header actions (icon over label) ---------- */
.sf-hidden {
    display: none !important;
}

.sf-act {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    min-width: 56px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    white-space: nowrap;
    color: var(--sf-ink);
}

.sf-act > svg,
.sf-act i svg {
    width: 28px;
    height: 28px;
}

.sf-act i {
    position: relative;
    display: block;
    font-style: normal;
    line-height: 0;
}

.sf-act svg {
    display: block;
}

.sf-act .sf-count {
    top: -6px;
    right: -10px;
}

.sf-act:hover,
.sf-act.on {
    color: var(--sf-accent);
}

/* language picker */
.sf-lang {
    position: relative;
}

.sf-lang summary {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: 1.5px solid var(--sf-line);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    list-style: none;
    cursor: pointer;
}

.sf-lang summary::-webkit-details-marker {
    display: none;
}

.sf-lang summary::after {
    content: "";
    width: 7px;
    height: 7px;
    margin-top: -4px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
}

.sf-lang img {
    width: 22px;
    height: 16px;
    border-radius: 3px;
    object-fit: cover;
}

.sf-lang-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 80;
    display: grid;
    min-width: 200px;
    max-height: 340px;
    overflow-y: auto;
    padding: 6px;
    border: 1px solid var(--sf-line);
    border-radius: 14px;
    background: var(--sf-surface);
    box-shadow: 0 14px 34px rgba(20, 27, 52, 0.14);
}

.sf-lang-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border-radius: 9px;
    font-size: 14px;
}

.sf-lang-menu a:hover,
.sf-lang-menu a.on {
    color: var(--sf-accent);
    background: var(--sf-surface-2);
}

/* ---------- v3: home banner ---------- */
.sf-banner {
    display: block;
    margin-top: 20px;
    overflow: hidden;
    border-radius: 24px;
    background: var(--sf-surface-2);
}

.sf-banner-empty {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
    min-height: 300px;
    padding: 48px 80px;
    color: #fff;
    background: linear-gradient(140deg, #141b34, #2b3770);
}

.sf-banner-title {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
}

.sf-banner-tagline {
    font-size: 24px;
    font-weight: 700;
    color: #ff9a5a;
}

.sf-banner-empty .sf-btn {
    margin-top: 12px;
}

/* banner slider: fixed 1600 × 500 ratio, the owner's image fills it */
.sf-slider {
    position: relative;
    margin-top: 20px;
    overflow: hidden;
    border-radius: 24px;
    background: var(--sf-surface-2);
}

.sf-slides {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.sf-slides::-webkit-scrollbar {
    display: none;
}

.sf-slide {
    flex: 0 0 100%;
    aspect-ratio: 16 / 5;
    scroll-snap-align: start;
}

.sf-slide img,
.sf-section-banner img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sf-slide-nav {
    position: absolute;
    top: 50%;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    font-size: 26px;
    line-height: 1;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 4px 14px rgba(20, 27, 52, 0.15);
    transform: translateY(-50%);
    cursor: pointer;
}

.sf-slide-prev {
    left: 16px;
}

.sf-slide-next {
    right: 16px;
}

.sf-slide-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 14px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.sf-slide-dots button {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: width 0.2s;
}

.sf-slide-dots button.on {
    width: 26px;
    background: var(--sf-accent);
}

/* banner above each home category section: fixed 1600 × 240 ratio */
.sf-section-banner {
    display: block;
    aspect-ratio: 20 / 3;
    margin-top: 36px;
    overflow: hidden;
    border-radius: 20px;
    background: var(--sf-surface-2);
}

/* ---------- v3: wishlist ---------- */
.sf-card {
    position: relative;
}

.sf-wish-form {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    margin: 0;
}

.sf-wish {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid var(--sf-line);
    border-radius: 50%;
    color: var(--sf-ink-soft);
    background: var(--sf-surface);
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s;
}

.sf-wish svg {
    width: 18px;
    height: 18px;
    fill: none;
}

.sf-wish:hover,
.sf-wish.on {
    border-color: var(--sf-accent);
    color: var(--sf-accent);
}

.sf-wish.on svg {
    fill: currentColor;
}

.sf-page-h {
    margin: 0;
    font-size: 26px;
}

.sf-empty-box {
    display: grid;
    justify-items: center;
    gap: 8px;
    padding: 60px 20px;
    border: 1.5px dashed var(--sf-line);
    border-radius: 20px;
    text-align: center;
}

.sf-empty-box svg {
    width: 56px;
    height: 56px;
    color: var(--sf-accent);
}

.sf-empty-box h2 {
    margin: 6px 0 0;
    font-size: 22px;
}

.sf-empty-box p {
    margin: 0 0 10px;
    color: var(--sf-ink-soft);
}

/* hot deals */
.sf-badge-hot {
    background: linear-gradient(135deg, #ff3d00, var(--sf-accent));
}

.sf-hot-box {
    border-color: #ffd2bf;
    background: linear-gradient(180deg, #fff1e8, var(--sf-surface) 70%);
}


.sf-countdown {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: 12px;
    font-size: 14px;
    vertical-align: middle;
}

.sf-countdown small {
    font-weight: 600;
    color: var(--sf-ink-soft);
}

.sf-countdown b {
    padding: 4px 10px;
    border-radius: 8px;
    font-variant-numeric: tabular-nums;
    color: #fff;
    background: var(--sf-navy);
}

/* ---------- v3: product page ---------- */
.sf-crumb-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.sf-back {
    font-size: 14px;
    font-weight: 600;
    color: var(--sf-accent);
}

.sf-pdp-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 38px;
    margin-bottom: 8px;
}

.sf-pdp-tag {
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    background: var(--sf-navy);
}

.sf-pdp-tools {
    display: flex;
    gap: 8px;
    margin-left: auto;
}

.sf-wish-inline {
    position: static;
}

.sf-wish-inline .sf-wish,
.sf-share {
    border-radius: 12px;
}

.sf-total {
    font-size: 15px;
    color: var(--sf-ink-soft);
}

.sf-total b {
    font-size: 22px;
    color: var(--sf-ink);
}

.sf-pdp-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 16px;
}

.sf-pdp-cards > div {
    display: grid;
    justify-items: center;
    gap: 2px;
    padding: 12px 8px;
    border: 1px solid var(--sf-line);
    border-radius: 12px;
    text-align: center;
    background: var(--sf-surface-2);
}

.sf-pdp-cards i {
    font-size: 20px;
    font-style: normal;
}

.sf-pdp-cards b {
    font-size: 13px;
}

.sf-pdp-cards small {
    font-size: 12px;
    color: var(--sf-ink-soft);
}

.sf-pdp-more {
    display: grid;
    grid-template-columns: 1.45fr 1fr;
    align-items: start;
    gap: 24px;
    margin-top: 28px;
}

.sf-tabs-panel {
    padding: 0;
    overflow: hidden;
}

.sf-tabs {
    display: flex;
    gap: 4px;
    padding: 0 12px;
    border-bottom: 1px solid var(--sf-line);
}

.sf-tabs button {
    margin-bottom: -1px;
    padding: 14px 16px;
    border: 0;
    border-bottom: 2px solid transparent;
    font-weight: 600;
    color: var(--sf-ink-soft);
    background: none;
    cursor: pointer;
}

.sf-tabs button.on {
    border-bottom-color: var(--sf-accent);
    color: var(--sf-accent);
}

.sf-tab-pane {
    padding: 16px 20px;
}

.sf-tab-pane p {
    margin: 0 0 8px;
}

.sf-faq details {
    padding: 12px 0;
    border-bottom: 1px solid var(--sf-line);
}

.sf-faq details:last-child {
    border-bottom: 0;
}

.sf-faq summary {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 14px;
    font-weight: 600;
    list-style: none;
    cursor: pointer;
}

.sf-faq summary::-webkit-details-marker {
    display: none;
}

.sf-faq summary::after {
    content: "+";
    font-size: 18px;
    line-height: 1;
    color: var(--sf-accent);
}

.sf-faq details[open] summary::after {
    content: "−";
}

.sf-faq p {
    margin: 8px 0 0;
    font-size: 14px;
    color: var(--sf-ink-soft);
}

.sf-sticky-info img {
    flex: none;
    width: 40px;
    height: 40px;
    border: 1px solid var(--sf-line);
    border-radius: 8px;
    object-fit: contain;
}

[dir="rtl"] .sf-pdp-tools {
    margin-left: 0;
    margin-right: auto;
}

/* ---------- v3: service strip above the footer ---------- */
.sf-service {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 56px;
    overflow: hidden;
    border-radius: 22px;
    background: var(--sf-navy);
}

.sf-service-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 26px 28px;
    color: #fff;
}

.sf-service-item + .sf-service-item {
    border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.sf-service-item i {
    display: grid;
    flex: none;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    color: #f7d9a6;
    background: rgba(255, 255, 255, 0.07);
}

.sf-service-item svg {
    width: 26px;
    height: 26px;
}

.sf-service-item b {
    display: block;
    font-size: 17px;
}

.sf-service-item small {
    display: block;
    margin-top: 2px;
    font-size: 14px;
    color: #9aa1b8;
}

a.sf-service-item:hover b {
    color: #f7d9a6;
}

/* ---------- v3: testimonials ---------- */
.sf-reviews {
    margin-top: 56px;
}

.sf-review-track {
    display: grid;
    grid-auto-columns: calc((100% - 48px) / 3);
    grid-auto-flow: column;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.sf-review-track::-webkit-scrollbar {
    display: none;
}

.sf-review {
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin: 0;
    padding: 32px;
    border: 1px solid #d9d6d2;
    border-radius: 22px;
    background: var(--sf-surface);
    scroll-snap-align: start;
}

.sf-review blockquote {
    flex: 1;
    margin: 0;
    font-size: 17px;
    line-height: 1.75;
    color: var(--sf-ink-soft);
}

.sf-stars {
    display: flex;
    gap: 4px;
}

.sf-stars svg {
    width: 22px;
    height: 22px;
    fill: #e3e1de;
}

.sf-stars svg.on {
    fill: #f5a400;
}

.sf-review figcaption {
    display: flex;
    align-items: center;
    gap: 14px;
}

.sf-review figcaption img,
.sf-review-avatar {
    flex: none;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    object-fit: cover;
}

.sf-review-avatar {
    display: grid;
    place-items: center;
    font-size: 26px;
    font-weight: 700;
    color: var(--sf-accent);
    background: var(--sf-surface-2);
}

.sf-review figcaption b {
    display: block;
    font-size: 18px;
}

.sf-review figcaption small {
    display: block;
    font-size: 15px;
    color: var(--sf-ink-soft);
}

.sf-review-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.sf-review-dots button {
    width: 13px;
    height: 13px;
    padding: 0;
    border: 1.5px solid var(--sf-accent);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
}

.sf-review-dots button.on {
    background: var(--sf-accent);
}

/* ---------- v3: policy pages ---------- */
.sf-policy {
    max-width: 860px;
    margin: 10px auto 0;
    padding: 36px;
    border: 1px solid var(--sf-line);
    border-radius: 20px;
    background: var(--sf-surface);
}

.sf-policy h1 {
    margin: 0 0 16px;
    font-size: 28px;
}

.sf-policy-body {
    line-height: 1.8;
    color: var(--sf-ink-soft);
}

/* ---------- v3: sign in / sign up side panel ---------- */
.sf-auth-art .sf-logo-light {
    margin-bottom: 6px;
    font-size: 40px;
}

.sf-auth-kicker {
    display: block;
    margin-bottom: 30px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--sf-accent);
}

.sf-auth-art h2 {
    font-size: 36px;
}

.sf-auth-note {
    display: grid;
    gap: 10px;
    max-width: 460px;
    margin: 0 0 30px;
    padding: 22px 24px;
    border-radius: 20px;
    color: var(--sf-ink);
    background: #fff;
}

.sf-auth-note small {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--sf-ink-faint);
}

.sf-auth-note-link {
    padding: 10px 14px;
    border: 1.5px dashed var(--sf-accent);
    border-radius: 12px;
    font-weight: 700;
    word-break: break-all;
    color: var(--sf-accent);
}

.sf-auth-note span {
    font-size: 15px;
    font-weight: 600;
}

.sf-auth-note span + span {
    padding-top: 10px;
    border-top: 1px dashed var(--sf-line);
}

.sf-auth-points {
    gap: 16px;
}

.sf-auth-points li {
    font-size: 16px;
}

.sf-auth-points i {
    width: 26px;
    height: 26px;
    color: #fff;
}

.sf-pass {
    position: relative;
    display: block;
}

.sf-pass input {
    width: 100%;
    padding-right: 48px;
}

.sf-eye {
    position: absolute;
    top: 50%;
    right: 10px;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    color: var(--sf-ink-faint);
    background: none;
    transform: translateY(-50%);
    cursor: pointer;
}

.sf-eye svg {
    width: 20px;
    height: 20px;
}

[dir="rtl"] .sf-lang-menu {
    right: auto;
    left: 0;
}

[dir="rtl"] .sf-act .sf-count {
    right: auto;
    left: -10px;
}

[dir="rtl"] .sf-wish-form {
    right: auto;
    left: 10px;
}

[dir="rtl"] .sf-pass input {
    padding-right: 14px;
    padding-left: 48px;
}

[dir="rtl"] .sf-eye {
    right: auto;
    left: 10px;
}

[dir="rtl"] .sf-service-item + .sf-service-item {
    border-left: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 1280px) {
    .sf-actions {
        gap: 12px;
    }

    .sf-lang summary span {
        display: none;
    }
}

@media (max-width: 1024px) {
    .sf-service {
        grid-template-columns: 1fr 1fr;
    }

    .sf-service-item:nth-child(3) {
        border-left: 0;
    }

    .sf-service-item:nth-child(n + 3) {
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .sf-review-track {
        grid-auto-columns: calc((100% - 24px) / 2);
    }

    .sf-banner-empty {
        padding: 40px;
    }
}

@media (max-width: 767px) {
    .sf-actions {
        gap: 6px;
    }

    .sf-act {
        min-width: 40px;
    }

    .sf-act span,
    .sf-act-cart,
    .sf-act-user {
        display: none;
    }

    .sf-act > svg,
    .sf-act i svg {
        width: 25px;
        height: 25px;
    }

    .sf-lang summary {
        padding: 7px 9px;
    }

    .sf-banner,
    .sf-slider {
        margin-top: 14px;
        border-radius: 16px;
    }

    .sf-slide-nav {
        display: none;
    }

    .sf-section-banner {
        margin-top: 24px;
        border-radius: 14px;
    }

    .sf-banner-empty {
        min-height: 180px;
        padding: 26px 20px;
    }

    .sf-banner-title {
        font-size: 26px;
    }

    .sf-banner-tagline {
        font-size: 17px;
    }

    .sf-service {
        margin-top: 36px;
        border-radius: 18px;
    }

    .sf-service-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 18px 16px;
    }

    .sf-service-item i {
        width: 44px;
        height: 44px;
    }

    .sf-service-item b {
        font-size: 15px;
    }

    .sf-service-item small {
        font-size: 13px;
    }

    .sf-reviews {
        margin-top: 36px;
    }

    .sf-review-track {
        grid-auto-columns: 88%;
        gap: 14px;
    }

    .sf-review {
        padding: 22px;
    }

    .sf-review blockquote {
        font-size: 15px;
    }

    .sf-policy {
        padding: 22px 18px;
    }

    .sf-auth-art .sf-logo-light {
        font-size: 30px;
    }

    .sf-auth-art h2 {
        font-size: 24px;
    }

    .sf-auth-kicker {
        margin-bottom: 20px;
        letter-spacing: 2px;
    }
}

[dir="rtl"] .sf-slide-prev {
    left: auto;
    right: 16px;
}

[dir="rtl"] .sf-slide-next {
    right: auto;
    left: 16px;
}
