/* ==========================================================================
   Soil & Skin Beyond Fashion - Modern Redesign Stylesheet
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;1,400;1,600&display=swap');

:root {
    --sns-font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --sns-font-serif: 'Playfair Display', Georgia, serif;
    --sns-bg: #ffffff;
    --sns-surface: #f9fafb;
    --sns-surface-dark: #2b2d2f;
    --sns-surface-darker: #202224;
    --sns-text: #111827;
    --sns-text-muted: #6b7280;
    --sns-text-light: #9ca3af;
    --sns-border: #e5e7eb;
    --sns-border-light: #f3f4f6;
    --sns-dark: #111111;
    --sns-primary: #111111;
    --sns-primary-hover: #262626;
    --sns-accent-teal: #0891b2;
    --sns-accent-cyan: #06b6d4;
    --sns-accent-red: #ef4444;
    --sns-accent-green: #10b981;
    --sns-accent-burgundy: #74252e;
    --sns-accent-cream: #f4efe6;
    --sns-radius-sm: 4px;
    --sns-radius-md: 6px;
    --sns-radius-lg: 10px;
    --sns-radius-full: 9999px;
    --sns-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --sns-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
    --sns-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
}

/* ========================================================================== 
   10. ACCOUNT REGISTRATION
   ========================================================================== */

.sns-auth-page {
    min-height: 72vh;
    padding: 52px 0 68px;
    background:
        radial-gradient(circle at 8% 12%, rgba(8, 145, 178, .10), transparent 31%),
        radial-gradient(circle at 92% 88%, rgba(116, 37, 46, .09), transparent 34%),
        var(--sns-page-bg, #fff);
}

.sns-auth-shell {
    display: grid;
    grid-template-columns: minmax(280px, .78fr) minmax(0, 1.35fr);
    width: min(1120px, 100%);
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid var(--sns-border);
    border-radius: 22px;
    background: var(--sns-bg);
    box-shadow: 0 26px 70px rgba(17, 24, 39, .12);
}

.sns-auth-intro {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 690px;
    padding: 58px 46px;
    overflow: hidden;
    background: linear-gradient(145deg, #16282b 0%, #204b4b 55%, #74252e 145%);
    color: #fff;
}

.sns-auth-intro::before,
.sns-auth-intro::after {
    content: "";
    position: absolute;
    z-index: -1;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .13);
}

.sns-auth-intro::before {
    width: 330px;
    height: 330px;
    right: -175px;
    top: -110px;
    box-shadow: 0 0 0 42px rgba(255, 255, 255, .025), 0 0 0 92px rgba(255, 255, 255, .018);
}

.sns-auth-intro::after {
    width: 180px;
    height: 180px;
    left: -100px;
    bottom: -75px;
}

.sns-auth-eyebrow {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 9px;
    margin-bottom: 25px;
    padding: 8px 13px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    color: #e7faf8;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.sns-auth-intro h1 {
    max-width: 430px;
    margin: 0 0 16px;
    color: #fff !important;
    font-family: var(--sns-font-serif);
    font-size: clamp(36px, 4vw, 52px);
    font-weight: 600;
    line-height: 1.04;
    letter-spacing: -.025em;
}

.sns-auth-intro > p {
    max-width: 410px;
    margin: 0;
    color: rgba(255, 255, 255, .76) !important;
    font-size: 14px;
    line-height: 1.8;
}

.sns-auth-benefits {
    display: grid;
    gap: 15px;
    margin: 37px 0 0;
    padding: 0;
    list-style: none;
}

.sns-auth-benefits li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, .9);
    font-size: 13px;
    font-weight: 600;
}

.sns-auth-benefits i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    flex: 0 0 25px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .13);
    color: #9ee5d7;
    font-size: 10px;
}

.sns-auth-security-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: auto;
    padding-top: 42px;
    color: rgba(255, 255, 255, .62);
    font-size: 11px;
    line-height: 1.65;
}

.sns-auth-security-note i { margin-top: 3px; }

.sns-auth-panel {
    min-width: 0;
    padding: 48px 52px 42px;
    background: var(--sns-bg);
}

.sns-auth-heading { margin-bottom: 24px; }
.sns-auth-step {
    display: block;
    margin-bottom: 7px;
    color: var(--sns-accent-teal);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.sns-auth-heading h2 {
    margin: 0 0 8px;
    color: var(--sns-text);
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -.025em;
}

.sns-auth-heading p {
    margin: 0;
    color: var(--sns-text-muted);
    font-size: 13px;
    line-height: 1.65;
}

.sns-auth-form { position: relative; }
.sns-auth-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px 18px;
}

.sns-auth-field { min-width: 0; }
.sns-auth-field-wide { grid-column: 1 / -1; }
.sns-auth-field label {
    display: block;
    margin: 0 0 7px;
    color: var(--sns-text);
    font-size: 11px;
    font-weight: 750;
}

.sns-auth-field .form-control {
    width: 100%;
    height: 44px;
    margin: 0;
    padding: 10px 12px;
    border: 1px solid var(--sns-border);
    border-radius: 8px;
    background: var(--sns-bg);
    color: var(--sns-text);
    box-shadow: none;
    font-family: var(--sns-font);
    font-size: 13px;
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.sns-auth-field textarea.form-control {
    height: auto;
    min-height: 82px;
    resize: vertical;
}

.sns-auth-field .form-control:focus {
    border-color: var(--sns-accent-teal);
    outline: 0;
    box-shadow: 0 0 0 3px rgba(8, 145, 178, .12);
}

.sns-auth-field .form-control:disabled { opacity: .62; cursor: not-allowed; }
.sns-password-control { position: relative; }
.sns-password-control .form-control { padding-right: 43px; }
.sns-password-toggle {
    position: absolute;
    top: 50%;
    right: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    transform: translateY(-50%);
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: var(--sns-text-muted);
    cursor: pointer;
}

.sns-password-toggle:hover,
.sns-password-toggle:focus-visible { background: var(--sns-surface); color: var(--sns-text); }
.sns-field-error { display: block; min-height: 15px; padding-top: 3px; color: #dc2626; font-size: 10px; }
.sns-auth-checkbox {
    display: flex !important;
    align-items: flex-start;
    gap: 9px;
    margin: 18px 0 0 !important;
    color: var(--sns-text-muted) !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    line-height: 1.5;
    cursor: pointer;
}

.sns-auth-checkbox input { margin: 2px 0 0; accent-color: var(--sns-accent-teal); }
.sns-auth-form-message { display: none; margin-top: 14px; padding: 10px 12px; border-radius: 8px; font-size: 12px; line-height: 1.5; }
.sns-auth-form-message.is-error { display: block; border: 1px solid #fecaca; background: #fff1f2; color: #9f1239; }
.sns-auth-form-message.is-success { display: block; border: 1px solid #a7f3d0; background: #ecfdf5; color: #047857; }
.sns-auth-submit {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 48px;
    margin: 18px 0 0 !important;
    padding: 11px 18px !important;
    border: 0 !important;
    border-radius: 9px !important;
    background: #182b2d !important;
    color: #fff !important;
    font-family: var(--sns-font);
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.sns-auth-submit:hover:not(:disabled),
.sns-auth-submit:focus-visible { background: #245054 !important; box-shadow: 0 9px 24px rgba(24, 43, 45, .22); transform: translateY(-1px); }
.sns-auth-submit:disabled { opacity: .7; cursor: wait; }
.sns-auth-legal { margin: 12px 0 0 !important; color: var(--sns-text-light) !important; font-size: 10px !important; line-height: 1.55; text-align: center; }
.sns-auth-legal a,
.sns-auth-swap a { color: var(--sns-accent-teal) !important; font-weight: 750; }
.sns-auth-swap { margin-top: 23px; padding-top: 19px; border-top: 1px solid var(--sns-border); color: var(--sns-text-muted); font-size: 12px; text-align: center; }
.sns-auth-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

html[data-sns-theme="dark"] .sns-auth-shell,
html[data-sns-theme="dark"] .sns-auth-panel,
html[data-sns-theme="dark"] .sns-auth-field .form-control {
    background: var(--sns-surface) !important;
    border-color: var(--sns-border) !important;
    color: var(--sns-text) !important;
}

html[data-sns-theme="dark"] .sns-auth-shell { box-shadow: 0 28px 80px rgba(0, 0, 0, .48); }
html[data-sns-theme="dark"] .sns-auth-form-message.is-error { border-color: #7f1d1d; background: #34191d; color: #fecdd3; }
html[data-sns-theme="dark"] .sns-auth-form-message.is-success { border-color: #065f46; background: #0c2b24; color: #a7f3d0; }

@media (max-width: 991px) {
    .sns-auth-page { padding: 30px 0 48px; }
    .sns-auth-shell { grid-template-columns: 1fr; border-radius: 17px; }
    .sns-auth-intro { min-height: auto; padding: 37px 34px; }
    .sns-auth-intro h1 { max-width: none; font-size: 38px; }
    .sns-auth-intro > p { max-width: 650px; }
    .sns-auth-benefits { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 27px; }
    .sns-auth-benefits li { align-items: flex-start; }
    .sns-auth-security-note { padding-top: 28px; }
    .sns-auth-panel { padding: 39px 34px 34px; }
}

@media (max-width: 640px) {
    .sns-auth-page { padding: 14px 0 30px; }
    .sns-auth-page > .container { padding-left: 12px; padding-right: 12px; }
    .sns-auth-shell { border-radius: 14px; }
    .sns-auth-intro { padding: 31px 23px; }
    .sns-auth-intro h1 { font-size: 34px; }
    .sns-auth-benefits { grid-template-columns: 1fr; gap: 11px; }
    .sns-auth-security-note { display: none; }
    .sns-auth-panel { padding: 30px 21px 28px; }
    .sns-auth-heading h2 { font-size: 24px; }
    .sns-auth-form-grid { grid-template-columns: 1fr; gap: 14px; }
    .sns-auth-field-wide { grid-column: auto; }
}

/* Reset overrides within redesign scope */
body {
    font-family: var(--sns-font) !important;
    color: var(--sns-text);
    background: var(--sns-page-bg, var(--mainbody, #ffffff));
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

/* Persistent light/dark controls in the navigation bar */
.sns-theme-action {
    flex-shrink: 0;
}

.sns-theme-controls {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 3px;
    border: 1px solid var(--sns-border);
    border-radius: var(--sns-radius-full);
    background: var(--sns-surface);
}

.sns-theme-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 30px;
    padding: 5px 9px;
    border: 0;
    border-radius: var(--sns-radius-full);
    background: transparent;
    color: var(--sns-text-muted);
    font-family: var(--sns-font);
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: background-color .18s ease, color .18s ease, box-shadow .18s ease;
}

.sns-theme-button i {
    font-size: 14px;
    line-height: 1;
}

.sns-theme-button:hover {
    color: var(--sns-text);
}

.sns-theme-button:focus-visible {
    outline: 2px solid var(--sns-accent-cyan);
    outline-offset: 2px;
}

html[data-sns-theme="light"] .sns-theme-button[data-sns-theme-value="light"],
html[data-sns-theme="dark"] .sns-theme-button[data-sns-theme-value="dark"] {
    background: #111827;
    color: #ffffff;
    box-shadow: var(--sns-shadow-sm);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.15s ease;
}

a:hover, a:focus {
    color: var(--sns-dark);
    text-decoration: none;
}

.sns-container {
    max-width: 1360px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* ==========================================================================
   1. GLOBAL HEADER
   ========================================================================== */

.sns-header {
    background: #ffffff;
    border-bottom: 1px solid var(--sns-border-light);
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1100;
    width: 100%;
    isolation: isolate;
    box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}

.sns-header-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
    gap: 24px;
    min-width: 0;
}

/* Brand Logo */
.sns-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.sns-logo img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.sns-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.sns-logo-text .sns-brand-name {
    font-family: var(--sns-font-serif);
    font-size: 23px;
    font-weight: 700;
    color: var(--sns-dark);
    letter-spacing: -0.5px;
}

.sns-logo-text .sns-brand-tagline {
    font-size: 9px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--sns-text-muted);
    font-weight: 600;
    margin-top: 1px;
}

/* Nav Menu */
.sns-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
    flex-shrink: 0;
}

.sns-nav > li {
    position: relative;
}

.sns-nav > li > a {
    font-size: 13px;
    font-weight: 700;
    color: var(--sns-dark);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 8px 4px;
    display: inline-block;
    transition: color 0.15s ease;
}

.sns-nav > li > a:hover {
    color: var(--sns-accent-teal);
}

/* Nav Dropdown */
.sns-nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #ffffff;
    border: 1px solid var(--sns-border);
    border-radius: var(--sns-radius-md);
    box-shadow: var(--sns-shadow-lg);
    padding: 12px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease;
    z-index: 1020;
}

.sns-nav > li:hover .sns-nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sns-nav-dropdown a {
    display: block;
    padding: 8px 18px;
    font-size: 13px;
    color: var(--sns-text);
    font-weight: 500;
}

.sns-nav-dropdown a:hover {
    background: var(--sns-surface);
    color: var(--sns-dark);
}

.sns-nav-dropdown .sns-nav-group-link {
    font-weight: 700;
}

.sns-nav-dropdown .sns-nav-category-link {
    padding-left: 28px;
}

/* Search Bar */
.sns-search-wrap {
    flex: 1;
    max-width: 440px;
    min-width: 160px;
    position: relative;
}

.sns-search-form {
    display: flex;
    align-items: center;
    background: #f4f4f5;
    border: 1px solid transparent;
    border-radius: var(--sns-radius-full);
    padding: 0 16px;
    height: 42px;
    transition: border-color 0.2s, background 0.2s;
}

.sns-search-form:focus-within {
    background: #ffffff;
    border-color: #d1d5db;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.04);
}

.sns-search-icon {
    color: var(--sns-text-muted);
    font-size: 15px;
    margin-right: 10px;
    pointer-events: none;
}

.sns-search-input {
    flex: 1;
    border: none;
    background: transparent;
    font-family: var(--sns-font);
    font-size: 13px;
    color: var(--sns-text);
    outline: none;
    padding: 0;
}

.sns-search-input::placeholder {
    color: #9ca3af;
}

.sns-search-btn {
    border: none;
    background: transparent;
    color: var(--sns-text-muted);
    cursor: pointer;
    padding: 4px;
    font-size: 14px;
    outline: none;
}

.sns-search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid var(--sns-border);
    border-radius: var(--sns-radius-md);
    box-shadow: var(--sns-shadow-lg);
    margin-top: 6px;
    z-index: 1050;
    max-height: 380px;
    overflow-y: auto;
    display: none;
}

/* Header Actions */
.sns-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
    flex: 0 0 auto;
    min-width: 0;
}

.sns-action-item {
    position: relative;
}

.sns-action-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    color: var(--sns-text);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2px;
    cursor: pointer;
    text-decoration: none;
    min-width: 32px;
    min-height: 38px;
    justify-content: center;
}

.sns-action-link:hover {
    color: var(--sns-dark);
}

.sns-action-link i, .sns-action-link svg {
    font-size: 18px;
    width: 20px;
    height: 20px;
    color: #374151;
}

.sns-action-link:hover i, .sns-action-link:hover svg {
    color: var(--sns-dark);
}

.sns-cart-badge {
    position: absolute;
    top: -4px;
    right: 6px;
    background: var(--sns-dark);
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    min-width: 17px;
    height: 17px;
    border-radius: var(--sns-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

.sns-drawer-cart-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    margin-left: 6px;
    padding: 0 6px;
    border-radius: var(--sns-radius-full);
    background: var(--sns-dark);
    color: var(--sns-bg);
    font-size: 11px;
    line-height: 1;
}

/* User dropdown */
.sns-user-menu {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 200px;
    background: #ffffff;
    border: 1px solid var(--sns-border);
    border-radius: var(--sns-radius-md);
    box-shadow: var(--sns-shadow-lg);
    padding: 10px 0;
    margin-top: 0;
    display: none;
    z-index: 1020;
}

.sns-action-item:hover .sns-user-menu,
.sns-profile-menu:focus-within .sns-user-menu,
.sns-profile-menu.is-open .sns-user-menu {
    display: block;
}

.sns-profile-menu.is-open > .sns-action-link,
.sns-profile-menu:focus-within > .sns-action-link {
    color: var(--sns-accent-teal);
}

.sns-user-menu a {
    display: block;
    padding: 8px 16px;
    font-size: 13px;
    color: var(--sns-text);
}

.sns-user-menu a:hover {
    background: var(--sns-surface);
}

/* Mobile Toggle */
.sns-mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 22px;
    color: var(--sns-dark);
    cursor: pointer;
    padding: 4px;
    min-width: 34px;
    min-height: 34px;
    flex: 0 0 auto;
}

/* Mobile Drawer */
.sns-mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: min(320px, calc(100vw - 44px));
    max-width: 100%;
    height: 100%;
    height: 100dvh;
    background: #ffffff;
    z-index: 2000;
    box-shadow: var(--sns-shadow-lg);
    transform: translate3d(-105%, 0, 0);
    visibility: hidden;
    transition: transform 0.3s ease, visibility 0s linear 0.3s;
    padding: 20px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.sns-mobile-drawer.open {
    transform: translate3d(0, 0, 0);
    visibility: visible;
    transition-delay: 0s;
}

.sns-mobile-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1999;
    display: none;
}

.sns-mobile-backdrop.open {
    display: block;
}

body.sns-mobile-menu-open {
    overflow: hidden;
}

.sns-mobile-subnav {
    display: grid;
    gap: 3px;
    margin: 7px 0 0 8px;
    padding: 4px 0 2px 12px;
    list-style: none;
    border-left: 1px solid var(--sns-border);
}

.sns-mobile-subnav a {
    display: block;
    padding: 4px 0;
    color: var(--sns-text-muted);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
}

.sns-mobile-subnav .sns-nav-group-link {
    color: var(--sns-dark);
    font-weight: 700;
}

/* ==========================================================================
   2. GLOBAL FOOTER (Dark Slate)
   ========================================================================== */

.sns-footer {
    background: var(--sns-surface-dark);
    color: #e5e7eb;
    padding-top: 60px;
    padding-bottom: 24px;
    font-size: 13px;
    line-height: 1.6;
}

.sns-footer a {
    color: #9ca3af;
    transition: color 0.15s ease;
}

.sns-footer a:hover {
    color: #ffffff;
}

/* Footer Top Row */
.sns-footer-top {
    display: grid;
    grid-template-columns: 1.2fr 1.6fr 1fr;
    gap: 40px;
    align-items: start;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.sns-footer-brand-logo {
    font-family: var(--sns-font-serif);
    font-size: 26px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
    display: inline-block;
}

.sns-footer-brand-logo img {
    height: auto;
    width: auto;
    max-width: 260px;
    background: #ffffff;
    border-radius: 4px;
    padding: 6px;
    margin-bottom: 12px;
}

.sns-footer-contact {
    margin-top: 10px;
    font-size: 13px;
    overflow-wrap: anywhere;
}

.sns-footer-tagline {
    color: #9ca3af;
    font-size: 13px;
    margin-bottom: 16px;
    max-width: 320px;
}

.sns-footer-helpline {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #d1d5db;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
}

.sns-footer-helpline a {
    color: #ffffff;
    font-weight: 800;
    font-size: 14px;
}

/* Footer Newsletter */
.sns-footer-newsletter h4 {
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 0;
    margin-bottom: 6px;
}

.sns-footer-newsletter p {
    color: #9ca3af;
    font-size: 12px;
    margin-bottom: 16px;
}

.sns-newsletter-form {
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: var(--sns-radius-sm);
    overflow: hidden;
    max-width: 480px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.sns-newsletter-form .input-icon {
    padding-left: 14px;
    color: #9ca3af;
    font-size: 15px;
}

.sns-newsletter-form input {
    flex: 1;
    border: none;
    padding: 12px 14px;
    font-family: var(--sns-font);
    font-size: 13px;
    color: #111827;
    outline: none;
}

.sns-newsletter-form .sparkle-icon {
    color: #a855f7;
    padding: 0 10px;
    font-size: 16px;
}

.sns-newsletter-form button {
    background: #1e2022;
    color: #ffffff;
    border: none;
    padding: 12px 22px;
    font-family: var(--sns-font);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.15s ease;
}

.sns-newsletter-form button:hover {
    background: #000000;
}

.sns-footer-support-link {
    display: inline-block;
    margin-top: 10px;
    font-size: 12px;
    color: #9ca3af;
}

.sns-footer-support-link a {
    color: #d1d5db;
    text-decoration: underline;
}

/* Footer Follow Us */
.sns-footer-follow h4 {
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 0;
    margin-bottom: 6px;
}

.sns-footer-follow p {
    color: #9ca3af;
    font-size: 12px;
    margin-bottom: 16px;
}

.sns-social-links {
    display: flex;
    align-items: center;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.sns-social-links a {
    width: 36px;
    height: 36px;
    border-radius: var(--sns-radius-full);
    background: #404449;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    transition: background 0.15s ease;
}

.sns-social-links a:hover {
    background: #555a61;
}

/* Footer Link Columns */
.sns-footer-links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding-top: 48px;
    padding-bottom: 40px;
}

.sns-footer-col h5 {
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-top: 0;
    margin-bottom: 18px;
}

.sns-footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sns-footer-col ul li a {
    font-size: 12.5px;
    color: #9ca3af;
}

/* Highlight Cards */
.sns-footer-feature-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.sns-feature-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--sns-radius-md);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: background 0.2s, border-color 0.2s;
    text-decoration: none;
}

.sns-feature-card:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.15);
}

.sns-feature-card-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--sns-radius-full);
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #ffffff;
    flex-shrink: 0;
}

.sns-feature-card-info {
    flex: 1;
}

.sns-feature-card-title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 2px;
}

.sns-feature-card-desc {
    font-size: 11.5px;
    color: #9ca3af;
}

.sns-feature-card-arrow {
    color: #9ca3af;
    font-size: 14px;
}

/* Payment Badges & Notice */
.sns-footer-bottom-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 24px;
    padding-bottom: 24px;
    border-top: 1px solid rgba(255,255,255,0.08);
    flex-wrap: wrap;
    gap: 20px;
}

.sns-payment-area {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sns-payment-title {
    font-size: 10.5px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 700;
    color: #9ca3af;
}

.sns-payment-badges {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.sns-payment-badge {
    background: #393c41;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--sns-radius-sm);
    padding: 3px 8px;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #d1d5db;
    text-transform: uppercase;
}

.sns-security-notice {
    font-size: 11px;
    color: #6b7280;
    max-width: 480px;
    text-align: right;
    line-height: 1.5;
}

/* Copyright Row */
.sns-copyright-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.06);
    font-size: 11.5px;
    color: #6b7280;
    flex-wrap: wrap;
    gap: 12px;
}

/* The legacy stylesheet declares #footer with a light background. Its ID
   specificity otherwise overrides the modern dark-slate footer in light mode
   and leaves the deliberately pale footer copy unreadable. */
html[data-sns-theme="light"] #footer.sns-footer {
    background: #292d32 !important;
    color: #f3f4f6 !important;
    border-top: 1px solid #3d434b !important;
}

html[data-sns-theme="light"] #footer.sns-footer h4,
html[data-sns-theme="light"] #footer.sns-footer h5,
html[data-sns-theme="light"] #footer.sns-footer .sns-footer-brand-logo,
html[data-sns-theme="light"] #footer.sns-footer .sns-footer-helpline,
html[data-sns-theme="light"] #footer.sns-footer .sns-footer-helpline a,
html[data-sns-theme="light"] #footer.sns-footer .sns-feature-card-title {
    color: #ffffff !important;
}

html[data-sns-theme="light"] #footer.sns-footer p,
html[data-sns-theme="light"] #footer.sns-footer .sns-footer-tagline,
html[data-sns-theme="light"] #footer.sns-footer .sns-footer-follow p,
html[data-sns-theme="light"] #footer.sns-footer .sns-footer-support-link,
html[data-sns-theme="light"] #footer.sns-footer .sns-feature-card-desc,
html[data-sns-theme="light"] #footer.sns-footer .sns-feature-card-arrow,
html[data-sns-theme="light"] #footer.sns-footer .sns-payment-title,
html[data-sns-theme="light"] #footer.sns-footer .sns-security-notice,
html[data-sns-theme="light"] #footer.sns-footer .sns-copyright-row {
    color: #d1d5db !important;
}

html[data-sns-theme="light"] #footer.sns-footer a {
    color: #e5e7eb;
}

html[data-sns-theme="light"] #footer.sns-footer a:hover,
html[data-sns-theme="light"] #footer.sns-footer a:focus-visible {
    color: #ffffff;
}

/* ==========================================================================
   3. PRODUCT CARD (Used in Home, Search/Listing, Details Suggestions)
   ========================================================================== */

.sns-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.sns-product-card {
    background: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: var(--sns-radius-sm);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.sns-product-card:hover {
    border-color: #d1d5db;
    box-shadow: var(--sns-shadow-md);
}

.sns-card-media {
    position: relative;
    background: #f8f9fa;
    padding-top: 120%; /* 5:6 aspect ratio */
    overflow: hidden;
}

.sns-card-media a.img-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.sns-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.sns-product-card:hover .sns-card-media img {
    transform: scale(1.03);
}

/* Badges */
.sns-badge-new {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #0ea5e9;
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 2px;
    z-index: 2;
}

.sns-badge-discount {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--sns-accent-red);
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 7px;
    border-radius: 2px;
    z-index: 2;
}

/* Wishlist Heart */
.sns-card-wishlist {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    border-radius: var(--sns-radius-full);
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 2px 4px rgba(0,0,0,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4b5563;
    cursor: pointer;
    z-index: 3;
    transition: all 0.15s ease;
}

.sns-card-wishlist:hover {
    color: var(--sns-accent-red);
    transform: scale(1.08);
}

/* Card Thumbnail Row */
.sns-card-thumbs {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px 0 12px;
    background: #ffffff;
}

.sns-card-thumb-item {
    width: 26px;
    height: 32px;
    border: 1px solid #e5e7eb;
    border-radius: 2px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.8;
}

.sns-card-thumb-item:hover, .sns-card-thumb-item.active {
    border-color: #111111;
    opacity: 1;
}

.sns-card-thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Card Body */
.sns-card-body {
    padding: 12px 14px 14px 14px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.sns-card-title {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--sns-text);
    margin: 0 0 6px 0;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sns-card-title a:hover {
    color: var(--sns-dark);
}

.sns-card-price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 8px;
}

.sns-card-price {
    font-size: 15px;
    font-weight: 700;
    color: var(--sns-dark);
}

.sns-card-old-price {
    font-size: 12.5px;
    color: var(--sns-text-muted);
    text-decoration: line-through;
}

.sns-card-discount-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--sns-accent-red);
    text-transform: uppercase;
}

/* Swatches */
.sns-card-swatches {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
    min-height: 14px;
}

.sns-swatch-dot {
    width: 10px;
    height: 10px;
    border-radius: var(--sns-radius-full);
    border: 1px solid rgba(0,0,0,0.15);
    display: inline-block;
}

/* Card Action Buttons */
.sns-card-actions {
    margin-top: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.sns-btn-add-cart {
    background: var(--sns-dark);
    color: #ffffff;
    border: 1px solid var(--sns-dark);
    border-radius: var(--sns-radius-sm);
    padding: 8px 6px;
    font-size: 11.5px;
    font-weight: 700;
    text-align: center;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sns-btn-add-cart:hover {
    background: #333333;
    border-color: #333333;
    color: #ffffff;
}

.sns-btn-buy-now {
    background: #ffffff;
    color: var(--sns-dark);
    border: 1px solid #111111;
    border-radius: var(--sns-radius-sm);
    padding: 8px 6px;
    font-size: 11.5px;
    font-weight: 700;
    text-align: center;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sns-btn-buy-now:hover {
    background: #111111;
    color: #ffffff;
}

/* ==========================================================================
   4. HOMEPAGE SPECIFIC STYLES
   ========================================================================== */

/* Hero Banner */
.sns-hero-section {
    position: relative;
    background: #f5f2eb;
    overflow: hidden;
}

.sns-hero-slide {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: center;
}

.sns-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.sns-hero-content {
    position: relative;
    z-index: 2;
    max-width: 540px;
    padding: 60px 40px;
}

.sns-hero-tag {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
    color: #4b5563;
    margin-bottom: 12px;
}

.sns-hero-title {
    font-family: var(--sns-font-serif);
    font-size: 46px;
    font-weight: 700;
    line-height: 1.15;
    color: var(--sns-dark);
    margin-bottom: 24px;
}

.sns-hero-btn {
    display: inline-block;
    background: var(--sns-dark);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 13px 30px;
    border-radius: var(--sns-radius-sm);
    transition: background 0.15s ease;
}

.sns-hero-btn:hover {
    background: #333333;
    color: #ffffff;
}

/* Category Avatars Strip */
.sns-cat-strip {
    background: #ffffff;
    padding: 28px 0;
    border-bottom: 1px solid var(--sns-border-light);
}

.sns-cat-avatars-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    overflow-x: auto;
    padding-bottom: 6px;
}

.sns-cat-avatar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.sns-cat-avatar-circle {
    width: 74px;
    height: 74px;
    border-radius: var(--sns-radius-full);
    border: 1px solid #e5e7eb;
    overflow: hidden;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, border-color 0.2s;
}

.sns-cat-avatar-item:hover .sns-cat-avatar-circle {
    transform: scale(1.06);
    border-color: #111111;
}

.sns-cat-avatar-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sns-cat-avatar-title {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--sns-text);
    text-align: center;
}

/* Curated Editorial Story Blocks */
.sns-curated-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 40px 0;
}

.sns-curated-card {
    position: relative;
    border-radius: var(--sns-radius-sm);
    overflow: hidden;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    color: #ffffff;
}

.sns-curated-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.7) 100%);
    z-index: 1;
}

.sns-curated-content {
    position: relative;
    z-index: 2;
}

.sns-curated-tag {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 8px;
    opacity: 0.9;
}

.sns-curated-title {
    font-family: var(--sns-font-serif);
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
}

/* Two-Tone Editorial Banner */
.sns-split-banner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 60px 0;
    border-radius: var(--sns-radius-sm);
    overflow: hidden;
}

.sns-split-left {
    background: var(--sns-accent-cream);
    padding: 60px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sns-split-left h3 {
    font-family: var(--sns-font-serif);
    font-size: 38px;
    font-weight: 700;
    color: var(--sns-dark);
    margin: 0 0 10px 0;
}

.sns-split-left h3 em {
    font-family: var(--sns-font-serif);
    font-style: italic;
    font-weight: 400;
    color: #1e3a8a;
    display: block;
}

.sns-split-right {
    background: var(--sns-accent-burgundy);
    color: #ffffff;
    padding: 60px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sns-split-right h3 {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 14px 0;
    line-height: 1.25;
}

.sns-split-right p {
    color: rgba(255,255,255,0.85);
    font-size: 14px;
    margin-bottom: 24px;
    max-width: 420px;
}

/* Section Titles */
.sns-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--sns-border-light);
}

.sns-section-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--sns-dark);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin: 0;
}

.sns-section-more-link {
    font-size: 13px;
    font-weight: 700;
    color: var(--sns-dark);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 6px;
}

.sns-section-more-link:hover {
    color: var(--sns-accent-teal);
}

/* Trending Now: responsive, touch-friendly auto/manual carousel */
.sns-trending-section {
    padding: 48px 0;
    background: var(--sns-surface);
}

.sns-trending-header-actions,
.sns-trending-controls {
    display: inline-flex;
    align-items: center;
}

.sns-trending-header-actions {
    gap: 16px;
}

.sns-trending-controls {
    gap: 6px;
}

.sns-trending-arrow {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--sns-border);
    border-radius: var(--sns-radius-full);
    background: var(--sns-bg);
    color: var(--sns-text);
    cursor: pointer;
    transition: color .18s ease, border-color .18s ease, background-color .18s ease, transform .18s ease;
}

.sns-trending-arrow:hover {
    color: #ffffff;
    border-color: var(--sns-accent-teal);
    background: var(--sns-accent-teal);
    transform: translateY(-1px);
}

.sns-trending-arrow:focus-visible,
.sns-trending-viewport:focus-visible {
    outline: 2px solid var(--sns-accent-cyan);
    outline-offset: 3px;
}

.sns-trending-arrow:disabled {
    opacity: .42;
    cursor: default;
    transform: none;
}

.sns-trending-viewport {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.sns-trending-viewport::-webkit-scrollbar {
    display: none;
}

.sns-trending-track {
    display: flex;
    align-items: stretch;
    gap: 20px;
}

.sns-trending-card {
    flex: 0 0 calc((100% - 60px) / 4);
    min-width: 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.sns-visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Checkout payment methods */
.sns-checkout-payment-panel {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    padding: 26px;
    border: 1px solid var(--sns-border);
    border-radius: var(--sns-radius-lg);
    background: var(--sns-bg);
    box-shadow: var(--sns-shadow-sm);
}

.sns-checkout-payment-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 20px;
}

.sns-checkout-payment-heading h3 {
    margin: 0 0 5px;
    color: var(--sns-text);
    font-size: 22px;
    font-weight: 800;
}

.sns-checkout-payment-heading p,
.sns-checkout-payment-heading > i {
    margin: 0;
    color: var(--sns-text-muted);
}

.sns-checkout-payment-heading > i {
    font-size: 24px;
}

.sns-payment-method-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.sns-payment-method-card {
    width: 100%;
    min-height: 92px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border: 1px solid var(--sns-border);
    border-radius: var(--sns-radius-md);
    background: var(--sns-bg);
    color: var(--sns-text);
    text-align: left;
    cursor: pointer;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease, background-color .18s ease;
}

.sns-payment-method-card:hover,
.sns-payment-method-card.selected {
    border-color: var(--sns-accent-teal);
    box-shadow: 0 0 0 3px rgba(8, 145, 178, .12);
    transform: translateY(-1px);
}

.sns-payment-method-card:focus-visible {
    outline: 2px solid var(--sns-accent-cyan);
    outline-offset: 3px;
}

.sns-payment-method-icon {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--sns-radius-full);
    background: var(--sns-surface);
    color: var(--sns-accent-teal);
    font-size: 19px;
}

.sns-payment-method-copy {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.sns-payment-method-copy strong {
    color: var(--sns-text);
    font-size: 15px;
    font-weight: 800;
}

.sns-payment-method-copy small {
    color: var(--sns-text-muted);
    font-size: 12px;
}

.sns-payment-merchant {
    overflow-wrap: anywhere;
}

.sns-payment-method-arrow {
    color: var(--sns-text-muted);
}

.sns-payment-selection-status {
    min-height: 20px;
    margin: 14px 0 0;
    color: var(--sns-accent-teal);
    font-size: 12px;
    font-weight: 700;
}

.sns-payment-empty {
    padding: 18px;
    border: 1px solid #f59e0b;
    border-radius: var(--sns-radius-md);
    background: #fffbeb;
    color: #92400e;
}

.sns-confirm-payment-dialog {
    color: var(--sns-text);
}

.sns-confirm-payment-title {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 18px;
}

.sns-confirm-payment-title h4 {
    margin: 0 0 3px;
    color: var(--sns-text);
    font-weight: 800;
}

.sns-confirm-payment-title small {
    color: var(--sns-text-muted);
}

.sns-merchant-number,
.sns-payment-instructions {
    margin: 12px 0;
    padding: 12px 14px;
    border: 1px solid var(--sns-border);
    border-radius: var(--sns-radius-sm);
    background: var(--sns-surface);
    color: var(--sns-text);
    overflow-wrap: anywhere;
}

.sns-merchant-payment-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 4px 0 14px;
    padding: 10px 14px;
    border-radius: var(--sns-radius-sm);
    background: var(--sns-accent-teal);
    color: #ffffff !important;
    font-weight: 700;
}

@media (max-width: 768px) {
    .sns-checkout-payment-panel {
        padding: 18px 14px;
    }

    .sns-payment-method-grid {
        grid-template-columns: 1fr;
    }

    .sns-payment-method-card {
        min-height: 82px;
        padding: 13px;
    }
}

@media (max-width: 1024px) {
    .sns-trending-card {
        flex-basis: calc((100% - 40px) / 3);
    }
}

@media (max-width: 768px) {
    .sns-trending-section {
        padding: 36px 0;
    }

    .sns-trending-header-actions {
        gap: 9px;
    }

    .sns-trending-controls {
        gap: 4px;
    }

    .sns-trending-arrow {
        width: 32px;
        height: 32px;
    }

    .sns-trending-track {
        gap: 12px;
    }

    .sns-trending-card {
        flex-basis: calc((100% - 12px) / 2);
    }
}

@media (max-width: 480px) {
    .sns-trending-section .sns-section-header {
        align-items: flex-start;
        gap: 12px;
    }

    .sns-trending-section .sns-section-more-link {
        font-size: 11px;
    }

    .sns-trending-card {
        flex-basis: 100%;
    }
}

/* Trust Badges Strip */
.sns-trust-strip {
    background: #ffffff;
    border-top: 1px solid var(--sns-border-light);
    border-bottom: 1px solid var(--sns-border-light);
    padding: 36px 0;
    margin: 50px 0 0 0;
}

.sns-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.sns-trust-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.sns-trust-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--sns-radius-full);
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--sns-dark);
    flex-shrink: 0;
}

.sns-trust-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--sns-dark);
    margin-bottom: 3px;
}

.sns-trust-desc {
    font-size: 12px;
    color: var(--sns-text-muted);
    line-height: 1.4;
}

/* ==========================================================================
   5. PRODUCT LISTING & SEARCH RESULTS PAGE
   ========================================================================== */

.sns-plp-wrap {
    padding: 24px 0 60px 0;
}

/* Breadcrumbs */
.sns-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--sns-text-muted);
    margin-bottom: 20px;
}

.sns-breadcrumb a {
    color: var(--sns-text-muted);
}

.sns-breadcrumb a:hover {
    color: var(--sns-dark);
}

.sns-breadcrumb span.sep {
    color: #d1d5db;
}

.sns-breadcrumb span.current {
    color: var(--sns-dark);
    font-weight: 600;
}

/* Title & Sorter Bar */
.sns-plp-topbar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 28px;
    border-bottom: 1px solid var(--sns-border-light);
    padding-bottom: 16px;
    flex-wrap: wrap;
    gap: 16px;
}

.sns-plp-heading h1 {
    font-family: var(--sns-font);
    font-size: 28px;
    font-weight: 800;
    color: var(--sns-dark);
    margin: 0 0 4px 0;
}

.sns-plp-count {
    font-size: 13px;
    color: var(--sns-text-muted);
}

.sns-plp-sort {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sns-plp-sort label {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--sns-text-muted);
    margin: 0;
}

.sns-sort-select {
    padding: 8px 30px 8px 12px;
    font-family: var(--sns-font);
    font-size: 13px;
    font-weight: 500;
    color: var(--sns-dark);
    border: 1px solid var(--sns-border);
    border-radius: var(--sns-radius-sm);
    background: #ffffff url("data:image/svg+xml;utf8,<svg fill='black' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>") no-repeat right 8px center;
    background-size: 16px;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    outline: none;
}

/* PLP 2-Column Layout */
.sns-plp-content {
    display: flex;
    align-items: flex-start;
    gap: 36px;
}

/* Filter Sidebar */
.sns-filter-sidebar {
    width: 250px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.sns-filter-block {
    border-bottom: 1px solid var(--sns-border-light);
    padding-bottom: 22px;
}

.sns-filter-title {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--sns-dark);
    margin-bottom: 14px;
}

/* Checkbox & Radio lists */
.sns-filter-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sns-filter-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #4b5563;
    cursor: pointer;
    margin: 0;
    user-select: none;
}

.sns-filter-label input[type="checkbox"],
.sns-filter-label input[type="radio"] {
    accent-color: #111111;
    width: 15px;
    height: 15px;
    cursor: pointer;
    margin: 0;
}

.sns-filter-label:hover {
    color: var(--sns-dark);
}

/* Price Inputs & Slider */
.sns-price-inputs {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

.sns-price-box {
    display: flex;
    align-items: center;
    border: 1px solid var(--sns-border);
    border-radius: var(--sns-radius-sm);
    padding: 6px 10px;
    width: 85px;
    background: #ffffff;
}

.sns-price-box span {
    font-size: 12px;
    color: var(--sns-text-muted);
    margin-right: 4px;
}

.sns-price-box input {
    width: 100%;
    border: none;
    font-family: var(--sns-font);
    font-size: 12.5px;
    font-weight: 600;
    color: var(--sns-dark);
    outline: none;
    padding: 0;
}

.sns-price-slider-track {
    width: 100%;
    height: 4px;
    background: #e5e7eb;
    border-radius: 2px;
    position: relative;
    margin: 16px 0;
}

.sns-price-slider-fill {
    position: absolute;
    height: 100%;
    background: var(--sns-dark);
    left: 0%;
    width: 80%;
    border-radius: 2px;
}

.sns-price-slider-knob {
    position: absolute;
    top: -6px;
    right: 20%;
    width: 16px;
    height: 16px;
    background: #111111;
    border: 2px solid #ffffff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
    border-radius: var(--sns-radius-full);
    cursor: pointer;
}

.sns-price-presets {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 14px;
}

.sns-price-preset-btn {
    background: none;
    border: none;
    padding: 0;
    text-align: left;
    font-size: 13px;
    color: #4b5563;
    cursor: pointer;
    font-family: var(--sns-font);
    transition: color 0.15s;
}

.sns-price-preset-btn:hover {
    color: var(--sns-dark);
    font-weight: 600;
}

/* Color filter dots */
.sns-color-filter-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sns-color-filter-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #4b5563;
    cursor: pointer;
}

.sns-color-filter-swatch {
    width: 14px;
    height: 14px;
    border-radius: var(--sns-radius-full);
    border: 1px solid rgba(0,0,0,0.15);
    flex-shrink: 0;
}

/* Active Filter Tags */
.sns-active-filters {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.sns-filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: var(--sns-radius-full);
    padding: 4px 12px;
    font-size: 12px;
    color: var(--sns-dark);
    font-weight: 500;
}

.sns-filter-tag-remove {
    cursor: pointer;
    color: #9ca3af;
    font-weight: 700;
}

.sns-filter-tag-remove:hover {
    color: var(--sns-dark);
}

/* View More Pagination */
.sns-plp-pagination {
    display: flex;
    justify-content: center;
    margin-top: 48px;
}

.sns-view-more-btn {
    background: #ffffff;
    color: var(--sns-dark);
    border: 1px solid var(--sns-dark);
    border-radius: var(--sns-radius-sm);
    padding: 12px 32px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.sns-view-more-btn:hover {
    background: var(--sns-dark);
    color: #ffffff;
}

/* ==========================================================================
   6. PRODUCT DETAILS PAGE (PDP)
   ========================================================================== */

.sns-pdp-wrap {
    padding: 24px 0 60px 0;
}

.sns-pdp-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-bottom: 60px;
}

/* PDP Gallery */
.sns-pdp-gallery {
    display: flex;
    gap: 16px;
    position: sticky;
    top: 96px;
}

.sns-pdp-thumbs-strip {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 74px;
    flex-shrink: 0;
}

.sns-pdp-thumb {
    width: 74px;
    height: 92px;
    border: 1px solid #e5e7eb;
    border-radius: var(--sns-radius-sm);
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.15s;
}

.sns-pdp-thumb.active, .sns-pdp-thumb:hover {
    border-color: #111111;
}

.sns-pdp-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sns-pdp-main-image-wrap {
    flex: 1;
    position: relative;
    border: 1px solid #f0f0f0;
    border-radius: var(--sns-radius-sm);
    background: #f9fafb;
    overflow: hidden;
}

.sns-pdp-main-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.sns-pdp-expand-btn {
    position: absolute;
    bottom: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: var(--sns-radius-full);
    background: #ffffff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4b5563;
    cursor: pointer;
    z-index: 5;
}

/* PDP Information */
.sns-pdp-info {
    display: flex;
    flex-direction: column;
}

.sns-pdp-category-tag {
    font-size: 12px;
    color: var(--sns-text-muted);
    margin-bottom: 8px;
    text-transform: capitalize;
}

.sns-pdp-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.sns-pdp-title {
    font-size: 26px;
    font-weight: 800;
    color: var(--sns-dark);
    margin: 0;
    line-height: 1.25;
}

.sns-pdp-wishlist-btn {
    width: 38px;
    height: 38px;
    border-radius: var(--sns-radius-full);
    border: 1px solid #e5e7eb;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4b5563;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.15s;
    flex-shrink: 0;
}

.sns-pdp-wishlist-btn:hover {
    border-color: var(--sns-accent-red);
    color: var(--sns-accent-red);
}

.sns-pdp-price-wrap {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 10px;
}

.sns-pdp-price {
    font-size: 26px;
    font-weight: 800;
    color: var(--sns-dark);
}

.sns-pdp-old-price {
    font-size: 16px;
    color: var(--sns-text-muted);
    text-decoration: line-through;
}

.sns-pdp-stock-notice {
    font-size: 12.5px;
    color: var(--sns-accent-green);
    font-weight: 600;
    margin-bottom: 24px;
}

/* PDP Selectors */
.sns-pdp-selector-block {
    margin-bottom: 22px;
}

.sns-pdp-selector-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.sns-pdp-selector-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--sns-dark);
}

.sns-size-chart-link {
    font-size: 12px;
    color: var(--sns-accent-teal);
    text-decoration: underline;
    cursor: pointer;
    font-weight: 600;
}

/* Color & Size Buttons */
.sns-color-options {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.sns-color-btn {
    border: 1px solid var(--sns-border);
    border-radius: var(--sns-radius-sm);
    padding: 7px 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    background: #ffffff;
    color: var(--sns-text);
    transition: all 0.15s;
}

.sns-color-btn.active, .sns-color-btn:hover {
    border-color: #111111;
    background: #111111;
    color: #ffffff;
}

.sns-size-options {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.sns-size-btn {
    min-width: 44px;
    height: 40px;
    border: 1px solid var(--sns-border);
    border-radius: var(--sns-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--sns-text);
    background: #ffffff;
    cursor: pointer;
    transition: all 0.15s;
    padding: 0 10px;
}

.sns-size-btn.active, .sns-size-btn:hover {
    border-color: #111111;
    background: #111111;
    color: #ffffff;
}

/* Quantity and Action Buttons */
.sns-pdp-actions-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
}

.sns-qty-counter {
    display: flex;
    align-items: center;
    border: 1px solid var(--sns-border);
    border-radius: var(--sns-radius-sm);
    height: 46px;
    background: #ffffff;
}

.sns-qty-btn {
    width: 38px;
    height: 100%;
    background: none;
    border: none;
    font-size: 18px;
    color: var(--sns-text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sns-qty-btn:hover {
    background: #f3f4f6;
}

.sns-qty-input {
    width: 40px;
    border: none;
    text-align: center;
    font-family: var(--sns-font);
    font-size: 14px;
    font-weight: 700;
    color: var(--sns-dark);
    outline: none;
    padding: 0;
}

.sns-btn-pdp-cart {
    flex: 1.2;
    height: 46px;
    background: var(--sns-dark);
    color: #ffffff;
    border: 1px solid var(--sns-dark);
    border-radius: var(--sns-radius-sm);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sns-btn-pdp-cart:hover {
    background: #333333;
    border-color: #333333;
}

.sns-btn-pdp-buy {
    flex: 1;
    height: 46px;
    background: #ffffff;
    color: var(--sns-dark);
    border: 1px solid #111111;
    border-radius: var(--sns-radius-sm);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sns-btn-pdp-buy:hover {
    background: #111111;
    color: #ffffff;
}

/* Accordions */
.sns-accordion-wrap {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
}

.sns-accordion-item {
    border: 1px solid var(--sns-border);
    border-radius: var(--sns-radius-sm);
    overflow: hidden;
}

.sns-accordion-item.accent-green {
    border-color: #a7f3d0;
    background: #f0fdf4;
}

.sns-accordion-item.accent-green .sns-accordion-header {
    color: #065f46;
}

.sns-accordion-header {
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--sns-dark);
    cursor: pointer;
    user-select: none;
    background: #ffffff;
}

.sns-accordion-item.accent-green .sns-accordion-header {
    background: #f0fdf4;
}

.sns-accordion-arrow {
    font-size: 12px;
    color: #6b7280;
    transition: transform 0.2s ease;
}

.sns-accordion-item.open .sns-accordion-arrow {
    transform: rotate(180deg);
}

.sns-accordion-body {
    padding: 16px 18px;
    font-size: 13px;
    color: #4b5563;
    line-height: 1.6;
    border-top: 1px solid var(--sns-border-light);
    display: none;
    background: #ffffff;
}

.sns-accordion-item.open .sns-accordion-body {
    display: block;
}

/* Specifications Table */
.sns-specs-table {
    width: 100%;
    margin-top: 12px;
    border-collapse: collapse;
}

.sns-specs-table td {
    padding: 8px 12px;
    font-size: 12.5px;
    border-bottom: 1px solid #f3f4f6;
}

.sns-specs-table td.label {
    width: 35%;
    font-weight: 600;
    color: #6b7280;
}

.sns-specs-table td.val {
    color: var(--sns-dark);
    font-weight: 500;
}

/* 3 Guarantee Badges */
.sns-pdp-guarantee-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    border: 1px solid var(--sns-border);
    border-radius: var(--sns-radius-sm);
    padding: 14px 16px;
    background: #ffffff;
}

.sns-guarantee-col {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sns-guarantee-icon {
    font-size: 16px;
    color: var(--sns-dark);
}

.sns-guarantee-text {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--sns-dark);
}

/* 4 Value Proposition Cards (PDP) */
.sns-pdp-value-props {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 40px 0 60px 0;
}

.sns-value-card {
    background: #ffffff;
    border: 1px solid var(--sns-border);
    border-radius: var(--sns-radius-sm);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sns-value-card-icon {
    font-size: 20px;
    color: var(--sns-dark);
    margin-bottom: 4px;
}

.sns-value-card-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--sns-dark);
}

.sns-value-card-desc {
    font-size: 12px;
    color: var(--sns-text-muted);
    line-height: 1.45;
}

/* Modal Overlay (Size Chart) */
.sns-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 2100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.sns-modal-backdrop.open {
    display: flex;
}

.sns-modal-box {
    background: #ffffff;
    border-radius: var(--sns-radius-md);
    max-width: 600px;
    width: 100%;
    box-shadow: var(--sns-shadow-lg);
    overflow: hidden;
}

.sns-modal-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--sns-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sns-modal-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--sns-dark);
    margin: 0;
}

.sns-modal-close {
    background: none;
    border: none;
    font-size: 20px;
    color: #6b7280;
    cursor: pointer;
}

.sns-modal-body {
    padding: 20px;
}

/* ==========================================================================
   7. RESPONSIVE MEDIA QUERIES
   ========================================================================== */

@media (max-width: 1024px) {
    .sns-header-wrap {
        gap: 14px;
    }

    .sns-nav {
        display: none;
    }
    
    .sns-mobile-toggle {
        display: block;
    }

    .sns-logo img {
        max-width: 150px;
    }

    .sns-search-wrap {
        max-width: none;
        min-width: 120px;
    }

    .sns-actions {
        gap: 12px;
    }

    .sns-footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .sns-footer-follow {
        grid-column: span 2;
    }

    .sns-footer-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sns-footer-feature-cards {
        grid-template-columns: 1fr;
    }

    .sns-product-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .sns-pdp-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .sns-pdp-gallery {
        position: static;
    }

    .sns-pdp-value-props {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 769px) and (max-width: 900px) {
    .sns-theme-label,
    .sns-action-link span:not(.sns-cart-badge) {
        display: none;
    }

    .sns-actions {
        gap: 10px;
    }

    .sns-search-form {
        padding-left: 12px;
        padding-right: 12px;
    }
}

@media (max-width: 768px) {
    .sns-header-wrap {
        height: 64px;
        gap: 12px;
    }

    .sns-search-wrap {
        display: none; /* Can be opened with mobile search icon */
    }

    .sns-action-link span {
        display: none;
    }

    .sns-action-link .sns-cart-badge {
        display: flex;
    }

    .sns-footer-top {
        grid-template-columns: 1fr;
        gap: 24px;
        padding-bottom: 28px;
    }

    .sns-footer-follow {
        grid-column: span 1;
    }

    .sns-footer-links-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px 24px;
        padding-top: 30px;
        padding-bottom: 28px;
    }

    .sns-footer {
        padding-top: 36px;
        padding-bottom: 18px;
    }

    .sns-footer-feature-cards {
        gap: 8px;
        margin-bottom: 24px;
    }

    .sns-feature-card {
        gap: 10px;
        min-height: 58px;
        padding: 10px 12px;
    }

    .sns-feature-card-icon {
        width: 34px;
        height: 34px;
        font-size: 14px;
    }

    .sns-feature-card-info {
        min-width: 0;
    }

    .sns-feature-card-title {
        line-height: 1.35;
    }

    .sns-feature-card-desc {
        line-height: 1.4;
    }

    .sns-feature-card-arrow {
        flex: 0 0 auto;
        margin-left: 2px;
    }

    .sns-footer-bottom-info {
        flex-direction: column;
        align-items: flex-start;
    }

    .sns-security-notice {
        text-align: left;
    }

    .sns-plp-content {
        flex-direction: column;
    }

    .sns-filter-sidebar {
        width: 100%;
    }

    .sns-product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .sns-split-banner {
        grid-template-columns: 1fr;
    }

    .sns-trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .sns-pdp-value-props {
        grid-template-columns: 1fr;
    }

    .sns-pdp-actions-row {
        flex-wrap: wrap;
    }

    .sns-qty-counter {
        width: 100%;
        justify-content: center;
    }

    .sns-pdp-guarantee-row {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   8. ACCESSIBLE LIGHT / DARK APPEARANCE
   ========================================================================== */

html[data-sns-theme="dark"] {
    color-scheme: dark;
    --sns-page-bg: #0f1217;
    --sns-bg: #0f1217;
    --sns-surface: #181c23;
    --sns-surface-dark: #11141a;
    --sns-surface-darker: #090b0f;
    --sns-text: #f3f4f6;
    --sns-text-muted: #b6beca;
    --sns-text-light: #9ca3af;
    --sns-border: #38404c;
    --sns-border-light: #292f39;
    --sns-dark: #f9fafb;
    --sns-primary: #f9fafb;
    --sns-primary-hover: #d1d5db;
    --sns-accent-cream: #29241d;
    --sns-shadow-sm: 0 1px 2px rgba(0, 0, 0, .35);
    --sns-shadow-md: 0 5px 14px rgba(0, 0, 0, .32);
    --sns-shadow-lg: 0 14px 30px rgba(0, 0, 0, .42);
}

html[data-sns-theme="dark"] body {
    background-color: var(--sns-page-bg) !important;
    color: var(--sns-text);
}

html[data-sns-theme="dark"] .sns-header,
html[data-sns-theme="dark"] .sns-nav-dropdown,
html[data-sns-theme="dark"] .sns-search-suggestions,
html[data-sns-theme="dark"] .sns-user-menu,
html[data-sns-theme="dark"] .sns-mobile-drawer,
html[data-sns-theme="dark"] .sns-product-card,
html[data-sns-theme="dark"] .sns-card-thumbs,
html[data-sns-theme="dark"] .sns-cat-strip,
html[data-sns-theme="dark"] .sns-trust-strip,
html[data-sns-theme="dark"] .sns-price-box,
html[data-sns-theme="dark"] .sns-qty-counter,
html[data-sns-theme="dark"] .sns-color-btn,
html[data-sns-theme="dark"] .sns-size-btn,
html[data-sns-theme="dark"] .sns-accordion-header,
html[data-sns-theme="dark"] .sns-accordion-body,
html[data-sns-theme="dark"] .sns-pdp-guarantee-row,
html[data-sns-theme="dark"] .sns-value-card,
html[data-sns-theme="dark"] .sns-modal-box {
    background-color: var(--sns-surface);
    color: var(--sns-text);
    border-color: var(--sns-border);
}

html[data-sns-theme="dark"] .sns-search-form,
html[data-sns-theme="dark"] .sns-filter-tag,
html[data-sns-theme="dark"] .sns-trust-icon,
html[data-sns-theme="dark"] .sns-pdp-expand-btn,
html[data-sns-theme="dark"] .sns-pdp-wishlist-btn {
    background-color: #222833;
    color: var(--sns-text);
    border-color: var(--sns-border);
}

html[data-sns-theme="dark"] .sns-search-form:focus-within {
    background-color: #11151b;
    border-color: #596273;
    box-shadow: 0 0 0 3px rgba(6, 182, 212, .16);
}

html[data-sns-theme="dark"] .sns-search-input,
html[data-sns-theme="dark"] .sns-price-box input,
html[data-sns-theme="dark"] .sns-qty-input {
    background: transparent;
    color: var(--sns-text);
}

html[data-sns-theme="dark"] .sns-search-input::placeholder,
html[data-sns-theme="dark"] input::placeholder,
html[data-sns-theme="dark"] textarea::placeholder {
    color: #9ca3af;
    opacity: 1;
}

html[data-sns-theme="dark"] .sns-action-link i,
html[data-sns-theme="dark"] .sns-action-link svg,
html[data-sns-theme="dark"] .sns-filter-label,
html[data-sns-theme="dark"] .sns-price-preset-btn,
html[data-sns-theme="dark"] .sns-color-filter-item,
html[data-sns-theme="dark"] .sns-accordion-body,
html[data-sns-theme="dark"] .sns-value-card-desc {
    color: var(--sns-text-muted);
}

html[data-sns-theme="dark"] .sns-sort-select {
    color: var(--sns-text);
    border-color: var(--sns-border);
    background-color: var(--sns-surface);
    background-image: url("data:image/svg+xml;utf8,<svg fill='white' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
}

html[data-sns-theme="dark"] .sns-card-media,
html[data-sns-theme="dark"] .sns-pdp-main-image-wrap,
html[data-sns-theme="dark"] .sns-cat-avatar-circle {
    background-color: #e5e7eb;
}

html[data-sns-theme="dark"] .sns-card-wishlist {
    background: #111827;
    border-color: #4b5563;
    color: #f9fafb;
}

html[data-sns-theme="dark"] .sns-cart-badge,
html[data-sns-theme="dark"] .sns-btn-add-cart,
html[data-sns-theme="dark"] .sns-btn-pdp-cart,
html[data-sns-theme="dark"] .sns-hero-btn {
    background: #f9fafb !important;
    border-color: #f9fafb !important;
    color: #111827 !important;
}

html[data-sns-theme="dark"] .sns-btn-add-cart:hover,
html[data-sns-theme="dark"] .sns-btn-pdp-cart:hover,
html[data-sns-theme="dark"] .sns-hero-btn:hover {
    background: #dbe1e8 !important;
    border-color: #dbe1e8 !important;
    color: #0f1217 !important;
}

html[data-sns-theme="dark"] .sns-btn-buy-now,
html[data-sns-theme="dark"] .sns-btn-pdp-buy,
html[data-sns-theme="dark"] .sns-view-more-btn {
    background: transparent;
    border-color: #e5e7eb;
    color: #f9fafb;
}

html[data-sns-theme="dark"] .sns-btn-buy-now:hover,
html[data-sns-theme="dark"] .sns-btn-pdp-buy:hover,
html[data-sns-theme="dark"] .sns-view-more-btn:hover,
html[data-sns-theme="dark"] .sns-color-btn.active,
html[data-sns-theme="dark"] .sns-color-btn:hover,
html[data-sns-theme="dark"] .sns-size-btn.active,
html[data-sns-theme="dark"] .sns-size-btn:hover {
    background: #f9fafb;
    border-color: #f9fafb;
    color: #111827;
}

html[data-sns-theme="dark"] .sns-hero-content {
    background: linear-gradient(90deg, rgba(15, 18, 23, .88), rgba(15, 18, 23, .38), transparent);
    border-radius: var(--sns-radius-md);
}

html[data-sns-theme="dark"] .sns-hero-tag,
html[data-sns-theme="dark"] .sns-hero-title {
    color: #f9fafb;
    text-shadow: 0 1px 3px rgba(0, 0, 0, .65);
}

html[data-sns-theme="dark"] .sns-split-left {
    background: #29241d;
    color: var(--sns-text);
}

html[data-sns-theme="dark"] .sns-split-left p {
    color: var(--sns-text-muted) !important;
}

html[data-sns-theme="dark"] .sns-accordion-item.accent-green,
html[data-sns-theme="dark"] .sns-accordion-item.accent-green .sns-accordion-header {
    background: #102820;
    border-color: #226b52;
    color: #a7f3d0;
}

html[data-sns-theme="dark"] .sns-theme-controls {
    background: #11151b;
    border-color: #3a424f;
}

html[data-sns-theme="dark"] .sns-theme-button[data-sns-theme-value="dark"] {
    background: #f9fafb;
    color: #111827;
}

html[data-sns-theme="dark"] .sns-mobile-drawer > div:first-child {
    border-bottom-color: var(--sns-border) !important;
}

html[data-sns-theme="dark"] .sns-mobile-drawer form > div {
    background: #222833 !important;
}

html[data-sns-theme="dark"] .sns-mobile-drawer input,
html[data-sns-theme="dark"] .sns-mobile-drawer button,
html[data-sns-theme="dark"] .sns-mobile-drawer a {
    color: var(--sns-text) !important;
}

html[data-sns-theme="dark"] .sns-mobile-drawer li {
    border-color: var(--sns-border) !important;
}

/* Legacy storefront pages share the same header. These overrides keep their
   cart, checkout, login, account, tables and modal controls readable too. */
html[data-sns-theme="dark"] .section-mb,
html[data-sns-theme="dark"] .panel,
html[data-sns-theme="dark"] .panel-default,
html[data-sns-theme="dark"] .modal-content,
html[data-sns-theme="dark"] .dropdown-menu,
html[data-sns-theme="dark"] .list-group-item,
html[data-sns-theme="dark"] .cart-single,
html[data-sns-theme="dark"] .coupon-area,
html[data-sns-theme="dark"] .card.hovercard,
html[data-sns-theme="dark"] .main-interface,
html[data-sns-theme="dark"] .hover-drop-panel,
html[data-sns-theme="dark"] .mb-psort-nav ul,
html[data-sns-theme="dark"] .pr-buy-navs,
html[data-sns-theme="dark"] .sp-nav,
html[data-sns-theme="dark"] .fsc-content,
html[data-sns-theme="dark"] .sinlge-fc-item,
html[data-sns-theme="dark"] .login_registration_widget {
    background-color: var(--sns-surface) !important;
    color: var(--sns-text) !important;
    border-color: var(--sns-border) !important;
}

html[data-sns-theme="dark"] .main-body h1,
html[data-sns-theme="dark"] .main-body h2,
html[data-sns-theme="dark"] .main-body h3,
html[data-sns-theme="dark"] .main-body h4,
html[data-sns-theme="dark"] .main-body h5,
html[data-sns-theme="dark"] .main-body h6,
html[data-sns-theme="dark"] .main-body label,
html[data-sns-theme="dark"] .fi-name,
html[data-sns-theme="dark"] .fi-cart-data,
html[data-sns-theme="dark"] .st-area,
html[data-sns-theme="dark"] .logged-in table,
html[data-sns-theme="dark"] .order-summery,
html[data-sns-theme="dark"] .steps ul li:first-child,
html[data-sns-theme="dark"] #checkout .limlog-form label {
    color: var(--sns-text) !important;
}

html[data-sns-theme="dark"] .main-body p,
html[data-sns-theme="dark"] .text-muted,
html[data-sns-theme="dark"] .pnormelad,
html[data-sns-theme="dark"] .rat-title {
    color: var(--sns-text-muted) !important;
}

html[data-sns-theme="dark"] input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),
html[data-sns-theme="dark"] select,
html[data-sns-theme="dark"] textarea,
html[data-sns-theme="dark"] .form-control {
    background-color: #11151b !important;
    color: var(--sns-text) !important;
    border-color: #4b5563 !important;
}

html[data-sns-theme="dark"] select option {
    background: #11151b;
    color: #f9fafb;
}

html[data-sns-theme="dark"] .table,
html[data-sns-theme="dark"] .table > thead > tr > th,
html[data-sns-theme="dark"] .table > tbody > tr > td,
html[data-sns-theme="dark"] table > thead > tr > th,
html[data-sns-theme="dark"] table > tbody > tr > td {
    color: var(--sns-text) !important;
    border-color: var(--sns-border) !important;
}

html[data-sns-theme="dark"] .sns-logo {
    background: #ffffff;
    border-radius: var(--sns-radius-sm);
    padding: 3px 5px;
}

html[data-sns-theme="dark"] .sns-logo .sns-brand-name {
    color: #111827;
}

html[data-sns-theme="dark"] .sns-logo .sns-brand-tagline {
    color: #4b5563;
}

@media (max-width: 768px) {
    .sns-container {
        padding-left: 10px;
        padding-right: 10px;
    }

    .sns-header-wrap {
        gap: 6px;
    }

    .sns-logo img {
        height: 32px;
        max-width: 78px;
    }

    .sns-actions {
        gap: 7px;
        margin-left: auto;
    }

    .sns-action-item {
        flex: 0 0 auto;
    }

    .sns-action-link {
        min-width: 30px;
        min-height: 36px;
    }

    .sns-action-link i,
    .sns-action-link svg {
        width: 18px;
        height: 18px;
        font-size: 17px;
    }

    .sns-theme-button {
        min-width: 27px;
        min-height: 27px;
        padding: 4px 6px;
    }

    .sns-theme-label {
        display: none;
    }

    .sns-cart-badge {
        right: -5px;
    }
}

@media (max-width: 480px) {
    .sns-container {
        padding-left: 8px;
        padding-right: 8px;
    }

    .sns-header-wrap,
    .sns-actions {
        gap: 5px;
    }

    .sns-mobile-toggle {
        min-width: 30px;
        min-height: 32px;
        padding: 2px;
    }

    .sns-action-link {
        min-width: 28px;
    }
}

@media (max-width: 380px) {
    .sns-container {
        padding-left: 6px;
        padding-right: 6px;
    }

    .sns-header-wrap {
        gap: 3px;
    }

    .sns-logo img {
        height: 29px;
        max-width: 62px;
    }

    .sns-actions {
        gap: 3px;
    }

    .sns-theme-controls {
        padding: 2px;
    }

    .sns-theme-button {
        min-width: 24px;
        min-height: 25px;
        padding: 3px 4px;
    }

    .sns-action-link {
        min-width: 26px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sns-theme-button,
    .sns-header,
    body {
        transition: none !important;
    }
}

/* ==========================================================================
   9. COMPLETE STOREFRONT DARK THEME

   Some storefront routes still use the original Bootstrap-era components.
   Every rule below is deliberately scoped to the selected dark appearance so
   the existing light theme and its admin-managed colours remain unchanged.
   ========================================================================== */

html[data-sns-theme="dark"] {
    --mainbody: #0f1217;
    --innerpage: #0f1217;
    --header: #181c23;
    --menubar: #181c23;
    background-color: #0f1217;
    scrollbar-color: #596273 #0f1217;
}

html[data-sns-theme="dark"] body,
html[data-sns-theme="dark"] #skmbcontent,
html[data-sns-theme="dark"] .main-body,
html[data-sns-theme="dark"] .inner-page,
html[data-sns-theme="dark"] .main-body.bg-white,
html[data-sns-theme="dark"] section.bg-white,
html[data-sns-theme="dark"] .support-center,
html[data-sns-theme="dark"] .sns-home-page,
html[data-sns-theme="dark"] .sns-plp-wrap,
html[data-sns-theme="dark"] .sns-pdp-wrap {
    background: var(--sns-page-bg) !important;
    color: var(--sns-text) !important;
}

html[data-sns-theme="dark"] ::selection {
    background: #155e75;
    color: #ecfeff;
}

html[data-sns-theme="dark"] * {
    scrollbar-color: #596273 #151a21;
}

html[data-sns-theme="dark"] *::-webkit-scrollbar-track {
    background-color: #151a21;
}

html[data-sns-theme="dark"] *::-webkit-scrollbar-thumb {
    background-color: #596273;
}

/* Header, search results and mobile navigation */
html[data-sns-theme="dark"] .sns-nav-dropdown a:hover,
html[data-sns-theme="dark"] .sns-user-menu a:hover,
html[data-sns-theme="dark"] .sns-search-suggestions a:hover,
html[data-sns-theme="dark"] .srch-datalist a:hover {
    background-color: #242b35 !important;
    color: #f9fafb !important;
}

html[data-sns-theme="dark"] .sns-search-suggestions,
html[data-sns-theme="dark"] .sns-search-suggestions a,
html[data-sns-theme="dark"] .srch-datalist,
html[data-sns-theme="dark"] .srch-datalist a {
    color: var(--sns-text) !important;
    border-color: var(--sns-border) !important;
}

html[data-sns-theme="dark"] .sns-search-suggestions span,
html[data-sns-theme="dark"] .srch-datalist span {
    color: var(--sns-text-muted) !important;
}

html[data-sns-theme="dark"] #skmbcategories,
html[data-sns-theme="dark"] .search-area,
html[data-sns-theme="dark"] .m-ht-search,
html[data-sns-theme="dark"] .floating-sc .sc-body,
html[data-sns-theme="dark"] .scb-footer {
    background-color: var(--sns-surface) !important;
    color: var(--sns-text) !important;
    border-color: var(--sns-border) !important;
}

html[data-sns-theme="dark"] .sc-body-top,
html[data-sns-theme="dark"] .floating-sc .sc-btn {
    background-color: #11151b !important;
    color: #f9fafb !important;
}

html[data-sns-theme="dark"] .floating-sc-close {
    background-color: #f9fafb !important;
    color: #111827 !important;
}

html[data-sns-theme="dark"] .fc-tamount,
html[data-sns-theme="dark"] .scbf-link {
    background-color: #242b35 !important;
    color: var(--sns-text) !important;
}

html[data-sns-theme="dark"] .scbf-link:last-child {
    background-color: #0e7490 !important;
    color: #ffffff !important;
}

/* Footer: #footer from the legacy stylesheet has ID specificity, therefore
   the ID and the modern class are intentionally combined here. */
html[data-sns-theme="dark"] #footer.sns-footer,
html[data-sns-theme="dark"] .sns-footer {
    background: var(--sns-surface-darker) !important;
    color: #e5e7eb !important;
    border-top: 1px solid #202733 !important;
}

html[data-sns-theme="dark"] .sns-footer h4,
html[data-sns-theme="dark"] .sns-footer h5,
html[data-sns-theme="dark"] .sns-footer-brand-logo,
html[data-sns-theme="dark"] .sns-footer-helpline,
html[data-sns-theme="dark"] .sns-footer-helpline a,
html[data-sns-theme="dark"] .sns-feature-card-title {
    color: #f9fafb !important;
}

html[data-sns-theme="dark"] .sns-footer p,
html[data-sns-theme="dark"] .sns-footer-tagline,
html[data-sns-theme="dark"] .sns-footer-follow p,
html[data-sns-theme="dark"] .sns-footer-support-link,
html[data-sns-theme="dark"] .sns-feature-card-desc,
html[data-sns-theme="dark"] .sns-feature-card-arrow,
html[data-sns-theme="dark"] .sns-payment-title,
html[data-sns-theme="dark"] .sns-security-notice {
    color: #b6beca !important;
}

html[data-sns-theme="dark"] .sns-footer a {
    color: #cbd5e1;
}

html[data-sns-theme="dark"] .sns-footer a:hover,
html[data-sns-theme="dark"] .sns-footer a:focus-visible {
    color: #ffffff;
}

html[data-sns-theme="dark"] .sns-newsletter-form {
    background: #151a21 !important;
    border: 1px solid #46505e;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .32);
}

html[data-sns-theme="dark"] .sns-newsletter-form input {
    background: transparent !important;
    color: #f3f4f6 !important;
    border: 0 !important;
    box-shadow: none !important;
    -webkit-text-fill-color: #f3f4f6;
}

html[data-sns-theme="dark"] .sns-newsletter-form input::placeholder {
    color: #9ca3af !important;
    -webkit-text-fill-color: #9ca3af;
}

html[data-sns-theme="dark"] .sns-newsletter-form button {
    background: #f9fafb;
    color: #111827;
}

html[data-sns-theme="dark"] .sns-newsletter-form button:hover,
html[data-sns-theme="dark"] .sns-newsletter-form button:focus-visible {
    background: #cffafe;
    color: #164e63;
}

html[data-sns-theme="dark"] .sns-feature-card {
    background: #121720;
    border-color: #303846;
    color: var(--sns-text);
}

html[data-sns-theme="dark"] .sns-feature-card:hover,
html[data-sns-theme="dark"] .sns-feature-card:focus-visible {
    background: #1b222c;
    border-color: #596273;
}

html[data-sns-theme="dark"] .sns-feature-card-icon,
html[data-sns-theme="dark"] .sns-social-links a {
    background: #242b35;
    color: #f9fafb;
}

html[data-sns-theme="dark"] .sns-social-links i {
    background: transparent !important;
    color: inherit !important;
}

html[data-sns-theme="dark"] .sns-social-links a:hover,
html[data-sns-theme="dark"] .sns-social-links a:focus-visible {
    background: #0e7490;
}

html[data-sns-theme="dark"] .sns-payment-badge {
    background: #171d26;
    border-color: #46505e;
    color: #e5e7eb;
}

html[data-sns-theme="dark"] .sns-copyright-row {
    color: #aab3c0;
    border-top-color: #29313d;
}

html[data-sns-theme="dark"] .sns-footer-top,
html[data-sns-theme="dark"] .sns-footer-bottom-info {
    border-color: #29313d;
}

/* Native controls, generated delivery selectors and keyboard focus */
html[data-sns-theme="dark"] input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),
html[data-sns-theme="dark"] select,
html[data-sns-theme="dark"] textarea,
html[data-sns-theme="dark"] .form-control,
html[data-sns-theme="dark"] .dd-select,
html[data-sns-theme="dark"] .dd-options,
html[data-sns-theme="dark"] .dd-option {
    background-color: #11151b !important;
    color: var(--sns-text) !important;
    border-color: #4b5563 !important;
    caret-color: #67e8f9;
}

html[data-sns-theme="dark"] .sns-search-input,
html[data-sns-theme="dark"] .sns-price-box input,
html[data-sns-theme="dark"] .sns-qty-input,
html[data-sns-theme="dark"] .sns-mobile-drawer input,
html[data-sns-theme="dark"] .sns-newsletter-form input {
    background-color: transparent !important;
}

html[data-sns-theme="dark"] .dd-option:hover,
html[data-sns-theme="dark"] .dd-option-selected {
    background-color: #242b35 !important;
    color: #ffffff !important;
}

html[data-sns-theme="dark"] input:disabled,
html[data-sns-theme="dark"] input[readonly],
html[data-sns-theme="dark"] textarea:disabled,
html[data-sns-theme="dark"] textarea[readonly],
html[data-sns-theme="dark"] select:disabled,
html[data-sns-theme="dark"] #checkout .login-success .limlog-form input[disabled],
html[data-sns-theme="dark"] #checkout .login-success .limlog-form textarea[disabled],
html[data-sns-theme="dark"] #checkout .login-success .limlog-form input[readonly],
html[data-sns-theme="dark"] #checkout .login-success .limlog-form textarea[readonly] {
    background-color: #1c222b !important;
    color: #d1d5db !important;
    -webkit-text-fill-color: #d1d5db;
    opacity: 1;
}

html[data-sns-theme="dark"] input[type="checkbox"],
html[data-sns-theme="dark"] input[type="radio"] {
    accent-color: var(--sns-accent-cyan);
    color-scheme: dark;
}

html[data-sns-theme="dark"] input:-webkit-autofill,
html[data-sns-theme="dark"] input:-webkit-autofill:hover,
html[data-sns-theme="dark"] input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px #11151b inset !important;
    -webkit-text-fill-color: #f3f4f6 !important;
    caret-color: #67e8f9;
}

html[data-sns-theme="dark"] input:focus,
html[data-sns-theme="dark"] select:focus,
html[data-sns-theme="dark"] textarea:focus,
html[data-sns-theme="dark"] .form-control:focus {
    border-color: #22d3ee !important;
    box-shadow: 0 0 0 3px rgba(34, 211, 238, .15) !important;
    outline: 0;
}

html[data-sns-theme="dark"] .form-group.is-filled .image-select-label,
html[data-sns-theme="dark"] legend {
    background-color: var(--sns-surface) !important;
    color: var(--sns-text) !important;
    border-color: var(--sns-border) !important;
}

/* Shared content surfaces and typography */
html[data-sns-theme="dark"] .page_contents,
html[data-sns-theme="dark"] .blog-article,
html[data-sns-theme="dark"] .card,
html[data-sns-theme="dark"] .card-body,
html[data-sns-theme="dark"] .card-footer,
html[data-sns-theme="dark"] .well,
html[data-sns-theme="dark"] .panel-heading,
html[data-sns-theme="dark"] .panel-footer,
html[data-sns-theme="dark"] .tab-content,
html[data-sns-theme="dark"] .wrapper_main,
html[data-sns-theme="dark"] .limon-login .wrapper,
html[data-sns-theme="dark"] .limon-login .wrapper.my-account,
html[data-sns-theme="dark"] .question-top .qstn-reply-section,
html[data-sns-theme="dark"] .support-quick-options,
html[data-sns-theme="dark"] .support-more {
    background-color: var(--sns-surface) !important;
    color: var(--sns-text) !important;
    border-color: var(--sns-border) !important;
}

html[data-sns-theme="dark"] .page_contents,
html[data-sns-theme="dark"] .blog-content,
html[data-sns-theme="dark"] .blog-article,
html[data-sns-theme="dark"] .sidebar,
html[data-sns-theme="dark"] .lead,
html[data-sns-theme="dark"] .card-text,
html[data-sns-theme="dark"] .card-info,
html[data-sns-theme="dark"] .well,
html[data-sns-theme="dark"] dl,
html[data-sns-theme="dark"] dt,
html[data-sns-theme="dark"] dd {
    color: var(--sns-text) !important;
}

html[data-sns-theme="dark"] .main-body h1,
html[data-sns-theme="dark"] .main-body h2,
html[data-sns-theme="dark"] .main-body h3,
html[data-sns-theme="dark"] .main-body h4,
html[data-sns-theme="dark"] .main-body h5,
html[data-sns-theme="dark"] .main-body h6,
html[data-sns-theme="dark"] .blog-content h2,
html[data-sns-theme="dark"] .blog-content h3,
html[data-sns-theme="dark"] .inner-page .sub-heading,
html[data-sns-theme="dark"] .card.hovercard .card-info .card-title {
    color: var(--sns-text) !important;
}

html[data-sns-theme="dark"] .page_contents a,
html[data-sns-theme="dark"] .blog-content a,
html[data-sns-theme="dark"] .blog-meta a,
html[data-sns-theme="dark"] .support-center a:not(.btn),
html[data-sns-theme="dark"] .shippingChangeBtn,
html[data-sns-theme="dark"] .newacc {
    color: #67e8f9 !important;
}

html[data-sns-theme="dark"] .page_contents a:hover,
html[data-sns-theme="dark"] .blog-content a:hover,
html[data-sns-theme="dark"] .blog-meta a:hover,
html[data-sns-theme="dark"] .support-center a:not(.btn):hover,
html[data-sns-theme="dark"] .shippingChangeBtn:hover,
html[data-sns-theme="dark"] .newacc:hover {
    color: #a5f3fc !important;
}

html[data-sns-theme="dark"] .page_contents [style*="color"],
html[data-sns-theme="dark"] .blog-content [style*="color"] {
    color: inherit !important;
}

html[data-sns-theme="dark"] .page_contents [style*="background"],
html[data-sns-theme="dark"] .blog-content [style*="background"] {
    background-color: transparent !important;
}

html[data-sns-theme="dark"] hr,
html[data-sns-theme="dark"] .border-top,
html[data-sns-theme="dark"] .border-bottom {
    border-color: var(--sns-border) !important;
}

html[data-sns-theme="dark"] blockquote,
html[data-sns-theme="dark"] pre,
html[data-sns-theme="dark"] code {
    background-color: #11151b;
    color: #dbeafe;
    border-color: var(--sns-border);
}

html[data-sns-theme="dark"] .bg-white,
html[data-sns-theme="dark"] .background-white {
    background-color: var(--sns-surface) !important;
}

html[data-sns-theme="dark"] .bg-primary,
html[data-sns-theme="dark"] .card-header.bg-primary {
    background-color: #155e75 !important;
    color: #ffffff !important;
}

html[data-sns-theme="dark"] .text-white,
html[data-sns-theme="dark"] .bg-primary h1,
html[data-sns-theme="dark"] .bg-primary h2,
html[data-sns-theme="dark"] .bg-primary h3,
html[data-sns-theme="dark"] .bg-primary h4,
html[data-sns-theme="dark"] .bg-primary h5,
html[data-sns-theme="dark"] .bg-primary h6 {
    color: #ffffff !important;
}

html[data-sns-theme="dark"] .btn-default,
html[data-sns-theme="dark"] .btn-outline-primary,
html[data-sns-theme="dark"] .btn-pref .btn,
html[data-sns-theme="dark"] .tlist-fullinfo .fi-nav li a {
    background-color: #242b35 !important;
    border-color: #596273 !important;
    color: #f3f4f6 !important;
}

html[data-sns-theme="dark"] .btn-default:hover,
html[data-sns-theme="dark"] .btn-outline-primary:hover,
html[data-sns-theme="dark"] .btn-pref .btn:hover {
    background-color: #303846 !important;
    border-color: #718096 !important;
    color: #ffffff !important;
}

/* Home, product listing and product details */
html[data-sns-theme="dark"] .sns-flash-deals-section {
    background: var(--sns-page-bg) !important;
}

html[data-sns-theme="dark"] .sns-product-card,
html[data-sns-theme="dark"] .single-product,
html[data-sns-theme="dark"] .single-slider-product .single-product,
html[data-sns-theme="dark"] .bc-products .single-product,
html[data-sns-theme="dark"] .product-page-products .single-product,
html[data-sns-theme="dark"] .sp-pr,
html[data-sns-theme="dark"] .single-product:hover .sp-pr,
html[data-sns-theme="dark"] .single-product:hover .sp-pr.fixed,
html[data-sns-theme="dark"] .filter-form,
html[data-sns-theme="dark"] .product-filter-sidebar,
html[data-sns-theme="dark"] .sns-filter-sidebar {
    background-color: var(--sns-surface) !important;
    color: var(--sns-text) !important;
    border-color: var(--sns-border) !important;
}

html[data-sns-theme="dark"] .sns-card-media,
html[data-sns-theme="dark"] .sns-pdp-main-image-wrap,
html[data-sns-theme="dark"] .sns-cat-avatar-circle,
html[data-sns-theme="dark"] .sns-pdp-thumb,
html[data-sns-theme="dark"] .sp-image {
    background-color: #222833;
    border-color: var(--sns-border);
}

html[data-sns-theme="dark"] .sns-card-thumbs,
html[data-sns-theme="dark"] .sns-accordion-header,
html[data-sns-theme="dark"] .sns-accordion-body,
html[data-sns-theme="dark"] .sns-pdp-guarantee-row,
html[data-sns-theme="dark"] .sns-value-card {
    background-color: var(--sns-surface) !important;
    color: var(--sns-text) !important;
    border-color: var(--sns-border) !important;
}

html[data-sns-theme="dark"] .sns-card-title,
html[data-sns-theme="dark"] .sns-card-title a,
html[data-sns-theme="dark"] .sns-card-price,
html[data-sns-theme="dark"] .sns-pdp-title,
html[data-sns-theme="dark"] .sns-pdp-price,
html[data-sns-theme="dark"] .sns-filter-title,
html[data-sns-theme="dark"] .sns-plp-heading h1,
html[data-sns-theme="dark"] .sns-section-title,
html[data-sns-theme="dark"] .sns-trust-title,
html[data-sns-theme="dark"] .sns-specs-table td.val,
html[data-sns-theme="dark"] .sns-guarantee-text,
html[data-sns-theme="dark"] .sns-value-card-title,
html[data-sns-theme="dark"] .sp-pr-info h5,
html[data-sns-theme="dark"] .sp-pr-info p .price {
    color: var(--sns-text) !important;
}

html[data-sns-theme="dark"] .sns-card-old-price,
html[data-sns-theme="dark"] .sns-pdp-old-price,
html[data-sns-theme="dark"] .sns-pdp-category-tag,
html[data-sns-theme="dark"] .sns-plp-count,
html[data-sns-theme="dark"] .sns-breadcrumb,
html[data-sns-theme="dark"] .sns-breadcrumb a,
html[data-sns-theme="dark"] .sns-filter-label,
html[data-sns-theme="dark"] .sns-color-filter-item,
html[data-sns-theme="dark"] .sns-price-preset-btn,
html[data-sns-theme="dark"] .sns-trust-desc,
html[data-sns-theme="dark"] .sp-pr-info p {
    color: var(--sns-text-muted) !important;
}

html[data-sns-theme="dark"] .sns-breadcrumb a:hover,
html[data-sns-theme="dark"] .sns-breadcrumb .current,
html[data-sns-theme="dark"] .sns-section-more-link,
html[data-sns-theme="dark"] .sns-price-preset-btn:hover,
html[data-sns-theme="dark"] .sns-filter-label:hover {
    color: #f9fafb !important;
}

html[data-sns-theme="dark"] .sns-price-slider-track,
html[data-sns-theme="dark"] .row-rat .rating-progress {
    background-color: #343d4a;
}

html[data-sns-theme="dark"] .sns-price-slider-knob {
    background-color: #67e8f9;
    border-color: #164e63;
}

html[data-sns-theme="dark"] .sns-filter-tag,
html[data-sns-theme="dark"] .sns-qty-btn:hover {
    background-color: #242b35;
    color: var(--sns-text);
    border-color: var(--sns-border);
}

html[data-sns-theme="dark"] .sns-card-thumb-item:hover,
html[data-sns-theme="dark"] .sns-card-thumb-item.active,
html[data-sns-theme="dark"] .sns-pdp-thumb:hover,
html[data-sns-theme="dark"] .sns-pdp-thumb.active {
    border-color: #67e8f9 !important;
}

html[data-sns-theme="dark"] .sns-specs-table td,
html[data-sns-theme="dark"] .sns-plp-topbar,
html[data-sns-theme="dark"] .sns-section-header,
html[data-sns-theme="dark"] .sns-filter-block {
    border-color: var(--sns-border) !important;
}

html[data-sns-theme="dark"] .sns-empty-state {
    background: var(--sns-surface) !important;
    color: var(--sns-text) !important;
    border: 1px solid var(--sns-border);
}

html[data-sns-theme="dark"] .sns-empty-state h3 {
    color: var(--sns-text) !important;
}

html[data-sns-theme="dark"] .sns-empty-state p {
    color: var(--sns-text-muted) !important;
}

html[data-sns-theme="dark"] .sns-payment-empty {
    background-color: #2b2110;
    border-color: #b45309;
    color: #fde68a;
}

/* Cart, checkout and payment steps */
html[data-sns-theme="dark"] .empty-product-page,
html[data-sns-theme="dark"] .cart-area,
html[data-sns-theme="dark"] .st-area,
html[data-sns-theme="dark"] .order-summery,
html[data-sns-theme="dark"] .checkout-login,
html[data-sns-theme="dark"] .logged-in,
html[data-sns-theme="dark"] .ck-area {
    color: var(--sns-text) !important;
    border-color: var(--sns-border) !important;
}

html[data-sns-theme="dark"] .cart-single,
html[data-sns-theme="dark"] .coupon-area,
html[data-sns-theme="dark"] .tlist-single,
html[data-sns-theme="dark"] .order-summery .order-total,
html[data-sns-theme="dark"] .mthd-single {
    background-color: #1b2028 !important;
    color: var(--sns-text) !important;
    border-color: var(--sns-border) !important;
}

html[data-sns-theme="dark"] .fi-cart-data,
html[data-sns-theme="dark"] .tlist-fullinfo .tl-area .tl-data,
html[data-sns-theme="dark"] .st-area .ft-total,
html[data-sns-theme="dark"] .order-summery .order-summery-tab-1 p {
    color: var(--sns-text-muted) !important;
    border-color: var(--sns-border) !important;
}

html[data-sns-theme="dark"] .steps,
html[data-sns-theme="dark"] .steps ul,
html[data-sns-theme="dark"] .steps ul li {
    background-color: var(--sns-surface) !important;
    color: var(--sns-text-muted) !important;
    border-color: var(--sns-border) !important;
}

html[data-sns-theme="dark"] .steps ul li:first-child,
html[data-sns-theme="dark"] .steps ul li.active,
html[data-sns-theme="dark"] .steps ul li.active a {
    background-color: #242b35 !important;
    color: #f9fafb !important;
}

html[data-sns-theme="dark"] .steps .chevron,
html[data-sns-theme="dark"] .steps .chevron::before {
    border-color: transparent transparent transparent var(--sns-border) !important;
}

html[data-sns-theme="dark"] .steps .chevron::before {
    border-left-color: var(--sns-surface) !important;
}

html[data-sns-theme="dark"] .steps .active .chevron::before {
    border-left-color: #242b35 !important;
}

html[data-sns-theme="dark"] .sns-checkout-payment-panel,
html[data-sns-theme="dark"] .sns-payment-method-card {
    background-color: #181c23 !important;
    color: var(--sns-text) !important;
    border-color: var(--sns-border) !important;
}

html[data-sns-theme="dark"] .sns-payment-method-card:hover,
html[data-sns-theme="dark"] .sns-payment-method-card.selected {
    background-color: #202936 !important;
    border-color: #22d3ee !important;
}

html[data-sns-theme="dark"] .sns-payment-method-icon,
html[data-sns-theme="dark"] .sns-payment-instructions,
html[data-sns-theme="dark"] .sns-confirm-payment-dialog {
    background-color: #11151b !important;
    color: var(--sns-text) !important;
    border-color: var(--sns-border) !important;
}

html[data-sns-theme="dark"] .ft-go-to-checkout:hover,
html[data-sns-theme="dark"] .ft-go-to-checkout:focus-visible {
    background-color: #164e63 !important;
    border-color: #22d3ee !important;
    color: #ecfeff !important;
}

/* Account, contact, tracking and editorial pages */
html[data-sns-theme="dark"] .card.hovercard .card-info .card-title,
html[data-sns-theme="dark"] .well.my-accwell .userinfo-address,
html[data-sns-theme="dark"] .reset-account .vcodelbl span {
    background-color: #242b35 !important;
    color: var(--sns-text) !important;
    border-color: var(--sns-border) !important;
}

html[data-sns-theme="dark"] .sqo-cat ul li,
html[data-sns-theme="dark"] .support-more .supm-box {
    background-color: #1b2028 !important;
    color: var(--sns-text) !important;
    border-color: var(--sns-border) !important;
}

html[data-sns-theme="dark"] .supm-box {
    background-color: #1b2028 !important;
    color: var(--sns-text) !important;
    border-color: var(--sns-border) !important;
}

html[data-sns-theme="dark"] .support-bg {
    background-color: #111827;
    background-blend-mode: multiply;
}

html[data-sns-theme="dark"] .order-track {
    background-color: var(--sns-surface) !important;
    color: var(--sns-text) !important;
    background-blend-mode: multiply;
}

html[data-sns-theme="dark"] .order-track .track-timeline {
    background-color: rgba(17, 21, 27, .92) !important;
    color: var(--sns-text) !important;
    border-color: var(--sns-border) !important;
}

html[data-sns-theme="dark"] .blog-card,
html[data-sns-theme="dark"] .sidebar .card {
    background-color: var(--sns-surface) !important;
    color: var(--sns-text) !important;
    border-color: var(--sns-border) !important;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .25);
}

html[data-sns-theme="dark"] .blog-card:hover {
    box-shadow: 0 12px 28px rgba(0, 0, 0, .42);
}

html[data-sns-theme="dark"] .blog-card > div[style*="background-color"] {
    background-color: #252c36 !important;
}

/* Tables, dropdowns, dialogs, popovers and application feedback */
html[data-sns-theme="dark"] .table,
html[data-sns-theme="dark"] table {
    background-color: transparent;
    color: var(--sns-text) !important;
}

html[data-sns-theme="dark"] .table-striped > tbody > tr:nth-of-type(odd),
html[data-sns-theme="dark"] .table-hover > tbody > tr:hover,
html[data-sns-theme="dark"] .table > thead > tr,
html[data-sns-theme="dark"] .table > tbody > tr.info,
html[data-sns-theme="dark"] table > thead > tr {
    background-color: #202630 !important;
}

html[data-sns-theme="dark"] .table > tbody > tr,
html[data-sns-theme="dark"] table > tbody > tr {
    background-color: transparent;
}

html[data-sns-theme="dark"] .modal-content,
html[data-sns-theme="dark"] .modal-header,
html[data-sns-theme="dark"] .modal-body,
html[data-sns-theme="dark"] .modal-footer,
html[data-sns-theme="dark"] .dropdown-menu,
html[data-sns-theme="dark"] .list-group-item,
html[data-sns-theme="dark"] .popover,
html[data-sns-theme="dark"] .popover-title {
    background-color: var(--sns-surface) !important;
    color: var(--sns-text) !important;
    border-color: var(--sns-border) !important;
}

html[data-sns-theme="dark"] .dropdown-menu > li > a,
html[data-sns-theme="dark"] .list-group-item a,
html[data-sns-theme="dark"] .modal-content .close {
    color: var(--sns-text) !important;
}

html[data-sns-theme="dark"] .dropdown-menu > li > a:hover,
html[data-sns-theme="dark"] .dropdown-menu > li > a:focus {
    background-color: #242b35 !important;
    color: #ffffff !important;
}

html[data-sns-theme="dark"] .alert,
html[data-sns-theme="dark"] body .page-alert .alert-text,
html[data-sns-theme="dark"] body .page-alert .alert-text-header {
    background-color: #1b2028 !important;
    color: var(--sns-text) !important;
    border-color: var(--sns-border) !important;
}

html[data-sns-theme="dark"] .page-alert .alert-text,
html[data-sns-theme="dark"] .page-alert .alert-text-header {
    background-color: #1b2028 !important;
    color: var(--sns-text) !important;
    border-color: var(--sns-border) !important;
}

html[data-sns-theme="dark"] .alert-info {
    background-color: #102b36 !important;
    border-color: #155e75 !important;
    color: #cffafe !important;
}

html[data-sns-theme="dark"] .alert-success {
    background-color: #102820 !important;
    border-color: #226b52 !important;
    color: #a7f3d0 !important;
}

html[data-sns-theme="dark"] .alert-warning {
    background-color: #2b2110 !important;
    border-color: #b45309 !important;
    color: #fde68a !important;
}

html[data-sns-theme="dark"] .alert-danger,
html[data-sns-theme="dark"] .no-products {
    background-color: #35171b !important;
    border-color: #b91c1c !important;
    color: #fecaca !important;
}

/* The confirmation invoice remains a white, print-safe document preview. */
html[data-sns-theme="dark"] #thank-you .invoice {
    background-color: #ffffff !important;
    color: #111827 !important;
    box-shadow: 0 12px 36px rgba(0, 0, 0, .5);
}

html[data-sns-theme="dark"] #thank-you .invoice h1,
html[data-sns-theme="dark"] #thank-you .invoice h2,
html[data-sns-theme="dark"] #thank-you .invoice h3,
html[data-sns-theme="dark"] #thank-you .invoice h4,
html[data-sns-theme="dark"] #thank-you .invoice h5,
html[data-sns-theme="dark"] #thank-you .invoice h6,
html[data-sns-theme="dark"] #thank-you .invoice p,
html[data-sns-theme="dark"] #thank-you .invoice span,
html[data-sns-theme="dark"] #thank-you .invoice td,
html[data-sns-theme="dark"] #thank-you .invoice th {
    color: #111827 !important;
}

html[data-sns-theme="dark"] #thank-you .invoice table,
html[data-sns-theme="dark"] #thank-you .invoice table > thead > tr,
html[data-sns-theme="dark"] #thank-you .invoice table > tbody > tr,
html[data-sns-theme="dark"] #thank-you .invoice table > thead > tr > th,
html[data-sns-theme="dark"] #thank-you .invoice table > tbody > tr > td {
    background-color: transparent !important;
    color: #111827 !important;
    border-color: #cbd5e1 !important;
}

html[data-sns-theme="dark"] #thank-you .invoice-table .itemTotal tr.subtotal,
html[data-sns-theme="dark"] #thank-you .invoice-middle .invoice-id h1 {
    color: #396e00 !important;
}

html[data-sns-theme="dark"] #thank-you .your-bill .invoice-print,
html[data-sns-theme="dark"] #thank-you h2.successfull {
    color: var(--sns-text) !important;
    text-shadow: none;
}

@media print {
    html[data-sns-theme="dark"],
    html[data-sns-theme="dark"] body,
    html[data-sns-theme="dark"] #thank-you .invoice {
        background: #ffffff !important;
        color: #111827 !important;
    }
}

/* ========================================================================== 
   11. VIEWPORT RESILIENCE

   These final overrides cover legacy storefront components that are shared
   with the modern layout. They deliberately preserve desktop appearance.
   ========================================================================== */

.sns-newsletter-form input,
.sns-plp-content > *,
.sns-pdp-grid > * {
    min-width: 0;
}

.blog-card > img,
.blog-article > div > img,
.blog-content img,
.page_contents img {
    display: block;
    max-width: 100% !important;
    height: auto !important;
}

.blog-card > img {
    width: 100%;
    object-fit: cover;
}

.blog-content iframe,
.blog-content video,
.blog-content embed,
.blog-content object,
.page_contents iframe,
.page_contents video,
.page_contents embed,
.page_contents object {
    display: block;
    width: 100%;
    max-width: 100%;
}

.blog-content table,
.page_contents table {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.sns-empty-cart-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 96px;
    height: 96px;
    margin-bottom: 18px;
    border-radius: 50%;
    background: var(--sns-surface);
    color: var(--sns-text-muted);
    font-size: 42px;
}

.sns-mobile-filter-trigger-wrap {
    display: none;
}

@media (max-width: 768px) {
    .sns-cat-avatars-row {
        justify-content: flex-start;
        padding-inline: 2px;
        scroll-padding-inline: 2px;
    }

    .sns-curated-grid {
        grid-template-columns: 1fr;
    }

    .sns-curated-card {
        min-height: 320px;
        padding: 24px;
    }

    .sns-filter-sidebar {
        display: none;
        scroll-margin-top: 76px;
    }

    .sns-filter-sidebar.is-open {
        display: flex;
    }

    .sns-mobile-filter-trigger-wrap {
        position: fixed;
        z-index: 1080;
        right: 12px;
        bottom: max(14px, env(safe-area-inset-bottom));
        display: block;
    }

    .sns-mobile-filter-trigger {
        border: 0;
        border-radius: var(--sns-radius-full);
        padding: 10px 20px;
        box-shadow: 0 7px 22px rgba(0, 0, 0, .22);
    }

    .sns-pdp-gallery {
        display: flex;
        flex-direction: column-reverse;
        gap: 12px;
    }

    .sns-pdp-thumbs-strip {
        width: 100%;
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 4px;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
    }

    .sns-pdp-thumb {
        flex: 0 0 64px;
        width: 64px;
        height: 78px;
        scroll-snap-align: start;
    }

    .sns-pdp-main-image-wrap {
        width: 100%;
    }

    .sns-pdp-actions-row.pr-buy-navs {
        position: static !important;
        inset: auto !important;
        width: 100% !important;
        margin: 0 0 30px !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
    }

    .order-summery > .flex {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .sns-section-header {
        flex-wrap: wrap;
        gap: 10px 14px;
    }

    .sns-trending-section .sns-section-header {
        align-items: center;
    }

    .sns-trending-header-actions {
        margin-left: auto;
    }

    .sns-curated-title {
        font-size: 24px;
    }

    .sns-curated-card {
        min-height: 290px;
        padding: 22px 18px;
    }

    .sns-newsletter-form {
        flex-wrap: wrap;
    }

    .sns-newsletter-form .input-icon {
        padding-left: 10px;
    }

    .sns-newsletter-form .sparkle-icon {
        display: none;
    }

    .sns-newsletter-form button {
        padding-right: 12px;
        padding-left: 12px;
    }

    .order-track {
        padding-right: 14px !important;
        padding-left: 14px !important;
    }

    .order-track .inline-form {
        display: flex;
        flex-direction: column;
        gap: 9px;
    }

    .order-track .inline-form input,
    .order-track .inline-form button {
        position: static;
        width: 100%;
        min-height: 42px;
    }

    .order-track .inline-form button {
        box-shadow: none;
    }

    .page_contents,
    .blog-content,
    .blog-article {
        overflow-wrap: anywhere;
    }
}

/* Cosmetics catalogue and product-specific WhatsApp ordering. */
.sns-cosmetics-hero {
    background: linear-gradient(115deg, #f9f4eb 0%, #eef3ed 100%);
}
.sns-cosmetics-hero .sns-hero-slide { min-height: 470px; }
.sns-cosmetics-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 36px;
    padding-top: 42px;
    padding-bottom: 42px;
}
.sns-cosmetics-hero .sns-hero-content { padding: 24px 0; }
.sns-cosmetics-hero .sns-hero-title { font-size: clamp(32px, 3.5vw, 48px); }
.sns-cosmetics-hero-description {
    max-width: 420px;
    margin: -6px 0 26px;
    color: #526153;
    font-size: 15px;
    line-height: 1.75;
}
.sns-cosmetics-hero-photos {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
    gap: 14px;
    padding: 20px 0;
}
.sns-hero-product-photo {
    background: #fff;
    padding: 7px;
    border-radius: 48% 48% 12px 12px;
    overflow: hidden;
    box-shadow: 0 14px 30px rgba(47, 62, 44, .12);
}
.sns-hero-product-photo:nth-child(2) { transform: translateY(24px); }
.sns-hero-product-photo img {
    display: block;
    width: 100%;
    height: 270px;
    object-fit: cover;
    border-radius: 48% 48% 7px 7px;
}
.sns-hero-product-photo span {
    display: block;
    padding: 12px 2px 6px;
    text-align: center;
    color: #294332;
    font-size: 12px;
    font-weight: 700;
}
.sns-btn-whatsapp,
.sp-nav a.sns-btn-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    min-height: 42px;
    padding: 10px 8px;
    border: 1px solid #146b3b;
    border-radius: 5px;
    background: #146b3b;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
    white-space: normal;
    box-sizing: border-box;
}
.sns-btn-whatsapp:hover,
.sp-nav a.sns-btn-whatsapp:hover { background: #0e512c; border-color: #0e512c; color: #fff; }
.sns-btn-whatsapp:focus-visible { outline: 3px solid #a3d9b7; outline-offset: 3px; }
.sns-btn-whatsapp .fa { font-size: 17px; flex-shrink: 0; }
.sns-card-price.sns-enquiry-price,
.sp-pr-info p .price.sns-enquiry-price {
    display: block;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.7;
    color: #326343;
    white-space: normal;
}
.sns-pdp-price.sns-enquiry-price { font-size: 21px; line-height: 1.6; color: #146b3b; }
.sns-pdp-whatsapp { min-height: 50px; font-size: 15px; }
.sns-whatsapp-order-panel { margin: 6px 0 24px; }
.sns-whatsapp-order-panel p { margin: 12px 0 0; color: #647067; font-size: 13px; line-height: 1.75; }
.sns-catalogue-categories { display: flex; flex-direction: column; gap: 12px; }
.sns-catalogue-categories a { color: #33443a; font-size: 13px; }
.sns-catalogue-categories a:hover { color: #146b3b; text-decoration: underline; }
.sns-catalogue-order-note p { color: #647067; font-size: 12.5px; line-height: 1.75; margin: 0; }
.sns-product-card .sns-card-title { white-space: normal; min-height: 37px; }
.sns-product-grid .sp-pr-info h5 { white-space: normal; height: auto; min-height: 36px; line-height: 1.4; }
.sns-product-grid .sp-nav { height: auto; }
.sns-product-grid .sp-nav em { display: none; }
.sns-product-grid .single-product .sp-image img { object-fit: contain; }
.sns-pdp-wrap[data-enquiry-only="true"] .sns-pdp-main-image { object-fit: contain; }
html[data-sns-theme="dark"] .sns-cosmetics-hero { background: linear-gradient(115deg, #1a241e, #253128); }
html[data-sns-theme="dark"] .sns-cosmetics-hero-description,
html[data-sns-theme="dark"] .sns-whatsapp-order-panel p,
html[data-sns-theme="dark"] .sns-catalogue-order-note p,
html[data-sns-theme="dark"] .sns-catalogue-categories a { color: #c5d7c9; }
html[data-sns-theme="dark"] .sns-enquiry-price { color: #a5d9b5; }
@media (max-width: 767px) {
    .sns-cosmetics-hero-grid { grid-template-columns: 1fr; gap: 8px; padding-top: 22px; padding-bottom: 32px; }
    .sns-cosmetics-hero .sns-hero-content { padding: 12px 0 0; max-width: 100%; }
    .sns-cosmetics-hero .sns-hero-title { margin-bottom: 18px; }
    .sns-cosmetics-hero-description { font-size: 14px; margin-bottom: 20px; }
    .sns-cosmetics-hero-photos { max-width: 480px; width: 100%; margin: 0 auto; gap: 10px; padding-top: 12px; }
    .sns-hero-product-photo { padding: 5px; }
    .sns-hero-product-photo img { height: 185px; }
    .sns-hero-product-photo:nth-child(2) { transform: translateY(14px); }
    .sns-hero-product-photo span { font-size: 11px; }
    .sns-btn-whatsapp, .sp-nav a.sns-btn-whatsapp { font-size: 11px; gap: 4px; padding: 9px 5px; }
    .sns-pdp-whatsapp { font-size: 15px; }
    .sns-card-price.sns-enquiry-price, .sp-pr-info p .price.sns-enquiry-price { font-size: 11px; }
}
.sns-product-grid .single-product {
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid var(--sns-border-light);
    border-radius: 7px;
    background: #fff;
}
.sns-product-grid .single-product .sp-image { height: auto; aspect-ratio: 3 / 4; background: #f7f7f4; }
.sns-product-grid .single-product .sp-image > a { display: block; width: 100%; height: 100%; }
.sns-product-grid .single-product .sp-image img { width: 100%; height: 100%; }
.sns-product-grid .single-product .has-sp-nav { display: flex; flex-direction: column; flex: 1; }
.sns-product-grid .single-product .sp-pr,
.sns-product-grid .single-product:hover .has-sp-nav .sp-pr,
.sns-product-grid .single-product.fixed-nav .has-sp-nav .sp-pr { top: 0; padding: 12px 10px 4px; }
.sns-product-grid .single-product .sp-pr-info h5 { font-size: 13px; font-weight: 600; max-height: none; }
.sns-product-grid .single-product .has-sp-nav .sp-nav { position: static; opacity: 1; height: auto; margin-top: auto; padding: 9px 10px 12px; overflow: visible; }

/* Preserve the original two product actions, with WhatsApp in the cart position. */
.sns-card-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sns-card-actions > em { display: none; }
.sns-product-grid .single-product .has-sp-nav .sp-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}
.sns-product-grid .sp-nav .buy-now {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 42px;
    margin: 0;
    padding: 9px 5px;
    border: 1px solid #111;
    border-radius: 5px;
    background: #fff;
    color: #111;
    font-size: 11.5px;
    font-weight: 700;
}
.sns-card-actions .sns-btn-whatsapp,
.sns-product-grid .sp-nav .sns-btn-whatsapp { padding: 8px 5px; font-size: 11px; gap: 4px; }
.sns-pdp-order-buttons { display: grid; flex: 1; grid-template-columns: 1.2fr 1fr; gap: 12px; min-width: 0; }
.sns-pdp-order-buttons > em { display: none; }
.sns-pdp-order-buttons .sns-pdp-whatsapp { height: 46px; min-height: 46px; font-size: 12px; padding: 8px 5px; }
html[data-sns-theme="dark"] .sns-product-grid .sp-nav .buy-now { background: transparent; color: #f3f4f6; border-color: #64748b; }
@media (max-width: 767px) {
    .sns-pdp-order-buttons { width: 100%; flex-basis: 100%; }
    .sns-card-actions .sns-btn-whatsapp,
    .sns-product-grid .sp-nav .sns-btn-whatsapp { font-size: 10px; }
}
