/* ============================================================
   POLKA DOTS DESIGNER STUDIO — Storefront CSS
   Brand: #CE2C82 (Pink), #1a1a1a (Black), #FFF8F3 (Cream), #D4A574 (Gold)
   Fonts: Poppins (headings), Lato (body)
   ============================================================ */

/* === CSS VARIABLES === */
:root {
    --pd-pink: #CE2C82;
    --pd-pink-light: #e84da0;
    --pd-pink-dark: #a82369;
    --pd-pink-bg: #fdf0f6;
    --pd-black: #1a1a1a;
    --pd-cream: #FFF8F3;
    --pd-gold: #D4A574;
    --pd-gold-light: #e8c9a8;
    --pd-white: #ffffff;
    --pd-gray-50: #f9fafb;
    --pd-gray-100: #f3f4f6;
    --pd-gray-200: #e5e7eb;
    --pd-gray-300: #d1d5db;
    --pd-gray-400: #9ca3af;
    --pd-gray-500: #6b7280;
    --pd-gray-600: #4b5563;
    --pd-gray-700: #374151;
    --pd-gray-800: #1f2937;
    --pd-gray-900: #111827;
    --pd-success: #10b981;
    --pd-warning: #f59e0b;
    --pd-danger: #ef4444;
    --pd-info: #3b82f6;
    --pd-radius-sm: 6px;
    --pd-radius: 10px;
    --pd-radius-lg: 16px;
    --pd-radius-xl: 24px;
    --pd-radius-full: 9999px;
    --pd-shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --pd-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --pd-shadow-md: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    --pd-shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
    --pd-transition: all 0.3s ease;
    --pd-font-heading: 'Poppins', sans-serif;
    --pd-font-body: 'Lato', sans-serif;
    /* Fluid Typography */
    --pd-text-xs: clamp(0.6875rem, 0.625rem + 0.25vw, 0.75rem);
    --pd-text-sm: clamp(0.75rem, 0.6875rem + 0.25vw, 0.875rem);
    --pd-text-base: clamp(0.875rem, 0.8125rem + 0.25vw, 1rem);
    --pd-text-lg: clamp(1rem, 0.9375rem + 0.25vw, 1.125rem);
    --pd-text-xl: clamp(1.25rem, 1.0625rem + 0.75vw, 1.5rem);
    --pd-text-2xl: clamp(1.5rem, 1.1875rem + 1.25vw, 2rem);
    --pd-text-3xl: clamp(1.75rem, 1.3125rem + 1.75vw, 2.5rem);
    --pd-text-hero: clamp(2.25rem, 1.5rem + 3vw, 3.5rem);
}

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body.storefront {
    font-family: var(--pd-font-body);
    color: var(--pd-gray-800);
    background: var(--pd-cream);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--pd-font-heading);
    font-weight: 600;
    line-height: 1.3;
    color: var(--pd-black);
}

a { color: var(--pd-pink); text-decoration: none; transition: var(--pd-transition); }
a:hover { color: var(--pd-pink-dark); }

img { max-width: 100%; height: auto; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.container-sm { max-width: 960px; margin: 0 auto; padding: 0 20px; }
.container-lg { max-width: 1440px; margin: 0 auto; padding: 0 20px; }

/* === BUTTONS === */
.btn-pd {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 28px; border-radius: var(--pd-radius-full); font-family: var(--pd-font-heading);
    font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: 0.5px;
    border: 2px solid transparent; cursor: pointer; transition: var(--pd-transition);
    text-decoration: none;
}
.btn-pd-primary {
    background: var(--pd-pink); color: var(--pd-white); border-color: var(--pd-pink);
}
.btn-pd-primary:hover {
    background: var(--pd-pink-dark); border-color: var(--pd-pink-dark); color: var(--pd-white);
    transform: translateY(-2px); box-shadow: 0 8px 25px rgba(206,44,130,0.3);
}
.btn-pd-outline {
    background: transparent; color: var(--pd-pink); border-color: var(--pd-pink);
}
.btn-pd-outline:hover {
    background: var(--pd-pink); color: var(--pd-white);
}
.btn-pd-black {
    background: var(--pd-black); color: var(--pd-white); border-color: var(--pd-black);
}
.btn-pd-black:hover {
    background: var(--pd-gray-800); transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}
.btn-pd-gold {
    background: var(--pd-gold); color: var(--pd-white); border-color: var(--pd-gold);
}
.btn-pd-gold:hover {
    background: #c4955e; transform: translateY(-2px);
}
.btn-pd-sm { padding: 8px 20px; font-size: 12px; }
.btn-pd-lg { padding: 16px 36px; font-size: 16px; }
.btn-pd-icon { width: 44px; height: 44px; padding: 0; border-radius: 50%; }

/* === HEADER / NAVIGATION === */
.sf-announcement-bar {
    background: var(--pd-black); color: var(--pd-white); text-align: center;
    padding: 8px 20px; font-size: 13px; letter-spacing: 0.5px;
}
.sf-announcement-bar a { color: var(--pd-gold); font-weight: 600; }

.sf-header {
    background: var(--pd-white); position: sticky; top: 0; z-index: 1000;
    box-shadow: var(--pd-shadow-sm);
}
.sf-header-top {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 0; border-bottom: 1px solid var(--pd-gray-100);
}
.sf-logo img { height: 120px; width: auto; object-fit: contain; }
.sf-logo span { font-family: var(--pd-font-heading); font-size: 22px; font-weight: 700; color: var(--pd-pink); }

.sf-search-bar {
    flex: 1; max-width: 500px; margin: 0 40px; position: relative;
}
.sf-search-bar input {
    width: 100%; padding: 10px 44px 10px 20px; border: 2px solid var(--pd-gray-200);
    border-radius: var(--pd-radius-full); font-size: 14px; font-family: var(--pd-font-body);
    transition: var(--pd-transition); background: var(--pd-gray-50);
}
.sf-search-bar input:focus {
    outline: none; border-color: var(--pd-pink); background: var(--pd-white);
    box-shadow: 0 0 0 3px rgba(206,44,130,0.1);
}
.sf-search-bar button {
    position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
    background: var(--pd-pink); color: white; border: none; width: 36px; height: 36px;
    border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center;
}

.sf-header-actions { display: flex; align-items: center; gap: 6px; }
.sf-header-action {
    display: flex; flex-direction: column; align-items: center; gap: 3px;
    color: var(--pd-gray-600); font-size: 11px; font-weight: 600; cursor: pointer; position: relative;
    text-decoration: none; transition: var(--pd-transition); padding: 6px 10px; border-radius: var(--pd-radius);
}
.sf-header-action:hover { color: var(--pd-pink); background: var(--pd-pink-bg); }
.sf-header-action i {
    font-size: 20px; width: 40px; height: 40px; display: flex; align-items: center;
    justify-content: center; border-radius: 50%; background: var(--pd-gray-50);
    transition: var(--pd-transition);
}
.sf-header-action:hover i { background: var(--pd-pink-bg); color: var(--pd-pink); }
.sf-header-action .badge {
    position: absolute; top: 2px; right: 4px; background: var(--pd-pink); color: white;
    font-size: 10px; width: 18px; height: 18px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-weight: 700;
}

.sf-nav {
    background: var(--pd-white); border-bottom: 1px solid var(--pd-gray-100);
}
.sf-nav-list {
    display: flex; align-items: center; justify-content: center; gap: 0; list-style: none;
    padding: 0; margin: 0;
}
.sf-nav-item { position: relative; }
.sf-nav-item > a {
    display: block; padding: 14px 20px; font-family: var(--pd-font-heading);
    font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.8px;
    color: var(--pd-gray-700); transition: var(--pd-transition);
}
.sf-nav-item > a:hover, .sf-nav-item.active > a { color: var(--pd-pink); }
.sf-nav-item > a::after {
    content: ''; position: absolute; bottom: 0; left: 50%; width: 0; height: 2px;
    background: var(--pd-pink); transition: var(--pd-transition); transform: translateX(-50%);
}
.sf-nav-item > a:hover::after, .sf-nav-item.active > a::after { width: 70%; }

/* Mega Menu */
.sf-mega-menu {
    position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
    background: var(--pd-white); min-width: 700px; padding: 30px;
    box-shadow: var(--pd-shadow-lg); border-radius: 0 0 var(--pd-radius) var(--pd-radius);
    display: none; z-index: 100; border-top: 3px solid var(--pd-pink);
}
.sf-nav-item:hover .sf-mega-menu { display: flex; }
.sf-mega-col { flex: 1; padding: 0 20px; }
.sf-mega-col h4 {
    font-size: 14px; font-weight: 700; text-transform: uppercase; color: var(--pd-pink);
    margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--pd-gray-100);
}
.sf-mega-col ul { list-style: none; padding: 0; }
.sf-mega-col li a {
    display: block; padding: 5px 0; color: var(--pd-gray-600); font-size: 14px;
}
.sf-mega-col li a:hover { color: var(--pd-pink); padding-left: 5px; }

/* Mobile menu */
.sf-mobile-toggle { display: none; background: none; border: none; font-size: 28px; cursor: pointer; color: var(--pd-black); }

/* === HERO SECTION === */
.sf-hero { position: relative; overflow: hidden; }
.sf-hero-slide {
    position: relative; height: 600px; display: flex; align-items: center;
    background-size: cover; background-position: right center;
}
.sf-hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to right, rgba(26,26,26,0.85) 0%, rgba(26,26,26,0.5) 35%, rgba(26,26,26,0.1) 60%, transparent 100%);
}
.sf-hero-content {
    position: relative; z-index: 2; max-width: 520px; padding: 40px;
}
.sf-hero-content .tagline {
    font-family: var(--pd-font-heading); font-size: 14px; text-transform: uppercase;
    letter-spacing: 3px; color: var(--pd-gold); margin-bottom: 12px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
.sf-hero-content h1 {
    font-size: var(--pd-text-hero); font-weight: 700; color: var(--pd-white); line-height: 1.1; margin-bottom: 16px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.sf-hero-content p { font-size: 18px; color: rgba(255,255,255,0.85); margin-bottom: 28px; }

/* === SECTION STYLES === */
.sf-section { padding: 60px 0; }
.sf-section-header { text-align: center; margin-bottom: 40px; }
.sf-section-header .overline {
    display: inline-block; font-size: 12px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 3px; color: var(--pd-pink); margin-bottom: 8px;
}
.sf-section-header h2 { font-size: var(--pd-text-3xl); margin-bottom: 12px; }
.sf-section-header p { font-size: 16px; color: var(--pd-gray-500); max-width: 600px; margin: 0 auto; }
.sf-section-alt { background: var(--pd-white); }

/* === CATEGORY CARDS === */
.sf-categories-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px;
}
.sf-category-card {
    position: relative; border-radius: var(--pd-radius-lg); overflow: hidden;
    aspect-ratio: 3/4; cursor: pointer; group: true;
}
.sf-category-card img {
    width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease;
}
.sf-category-card:hover img { transform: scale(1.1); }
.sf-category-card .overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
    display: flex; align-items: flex-end; padding: 24px;
}
.sf-category-card .overlay h3 { color: white; font-size: 20px; }
.sf-category-card .overlay span { color: var(--pd-gold); font-size: 13px; }

/* === PRODUCT CARDS === */
.sf-products-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px;
}
.sf-product-card {
    background: var(--pd-white); border-radius: var(--pd-radius-lg); overflow: hidden;
    transition: var(--pd-transition); position: relative;
}
.sf-product-card:hover {
    transform: translateY(-4px); box-shadow: var(--pd-shadow-lg);
}
.sf-product-card .image-wrap {
    position: relative; aspect-ratio: 3/4; overflow: hidden; background: var(--pd-gray-100);
}
.sf-product-card .image-wrap img {
    width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease;
}
.sf-product-card:hover .image-wrap img { transform: scale(1.08); }
.sf-product-card .badges {
    position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; gap: 6px;
}
.sf-product-card .badge-tag {
    padding: 4px 12px; border-radius: var(--pd-radius-full); font-size: 11px;
    font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
}
.sf-product-card .badge-sale { background: var(--pd-danger); color: white; }
.sf-product-card .badge-new { background: var(--pd-pink); color: white; }
.sf-product-card .badge-featured { background: var(--pd-gold); color: white; }

.sf-product-card .quick-actions {
    position: absolute; right: 12px; top: 12px;
    display: flex; flex-direction: column; gap: 8px;
    opacity: 0; transform: translateX(10px); transition: var(--pd-transition);
}
.sf-product-card:hover .quick-actions { opacity: 1; transform: translateX(0); }
.sf-product-card .quick-action-btn {
    width: 36px; height: 36px; border-radius: 50%; background: var(--pd-white);
    border: none; cursor: pointer; display: flex; align-items: center; justify-content: center;
    box-shadow: var(--pd-shadow); transition: var(--pd-transition); color: var(--pd-gray-600);
}
.sf-product-card .quick-action-btn:hover { background: var(--pd-pink); color: white; }
.sf-product-card .quick-action-btn.wishlisted { background: var(--pd-pink); color: white; }

.sf-product-card .card-body { padding: 16px; }
.sf-product-card .vendor-tag { font-size: 11px; color: var(--pd-gray-400); margin-bottom: 4px; }
.sf-product-card .card-body h3 {
    font-size: 15px; font-weight: 600; margin-bottom: 6px; color: var(--pd-gray-800);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.sf-product-card .card-body h3 a { color: inherit; }
.sf-product-card .card-body h3 a:hover { color: var(--pd-pink); }
.sf-product-card .price-row { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.sf-product-card .price-current { font-size: 18px; font-weight: 700; color: var(--pd-pink); }
.sf-product-card .price-original {
    font-size: 14px; color: var(--pd-gray-400); text-decoration: line-through;
}
.sf-product-card .price-discount {
    font-size: 12px; color: var(--pd-success); font-weight: 600;
}
.sf-product-card .rating {
    display: flex; align-items: center; gap: 4px; font-size: 13px; color: var(--pd-gray-500);
}
.sf-product-card .rating .stars { color: var(--pd-warning); }

.sf-product-card .add-to-cart-btn {
    display: block; width: 100%; padding: 10px; margin-top: 10px;
    background: var(--pd-black); color: white; border: none; border-radius: var(--pd-radius);
    font-family: var(--pd-font-heading); font-size: 13px; font-weight: 600;
    text-transform: uppercase; cursor: pointer; transition: var(--pd-transition);
}
.sf-product-card .add-to-cart-btn:hover { background: var(--pd-pink); }

/* === SHOP PAGE === */
.sf-shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: 30px; }
.sf-filters-sidebar {
    background: var(--pd-white); border-radius: var(--pd-radius-lg); padding: 24px;
    height: fit-content; position: sticky; top: 120px;
}
.sf-filter-group { margin-bottom: 24px; }
.sf-filter-group h4 {
    font-size: 14px; font-weight: 700; text-transform: uppercase; margin-bottom: 12px;
    padding-bottom: 8px; border-bottom: 2px solid var(--pd-gray-100);
}
.sf-filter-group label {
    display: flex; align-items: center; gap: 8px; padding: 6px 0; cursor: pointer;
    font-size: 14px; color: var(--pd-gray-600);
}
.sf-filter-group input[type="checkbox"] { accent-color: var(--pd-pink); width: 16px; height: 16px; }
.sf-filter-group .count { color: var(--pd-gray-400); font-size: 12px; margin-left: auto; }

.sf-price-range { display: flex; gap: 10px; align-items: center; }
.sf-price-range input {
    width: 80px; padding: 6px 10px; border: 1px solid var(--pd-gray-200); border-radius: var(--pd-radius-sm);
}

.sf-sort-bar {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 24px; padding: 12px 0;
}
.sf-sort-bar .result-count { font-size: 14px; color: var(--pd-gray-500); }
.sf-sort-bar select {
    padding: 8px 16px; border: 1px solid var(--pd-gray-200); border-radius: var(--pd-radius);
    font-size: 14px; background: white; cursor: pointer;
}

/* === PRODUCT DETAIL PAGE === */
.sf-product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; padding: 40px 0; }
.sf-product-gallery { position: sticky; top: 120px; }
.sf-gallery-main {
    aspect-ratio: 3/4; border-radius: var(--pd-radius-lg); overflow: hidden;
    margin-bottom: 12px; background: var(--pd-gray-100);
}
.sf-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.sf-gallery-thumbs { display: flex; gap: 8px; }
.sf-gallery-thumb {
    width: 80px; height: 80px; border-radius: var(--pd-radius-sm); overflow: hidden;
    cursor: pointer; border: 2px solid transparent; transition: var(--pd-transition);
}
.sf-gallery-thumb.active, .sf-gallery-thumb:hover { border-color: var(--pd-pink); }
.sf-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

.sf-product-info h1 { font-size: var(--pd-text-2xl); margin-bottom: 8px; }
.sf-product-info .sku { font-size: 13px; color: var(--pd-gray-400); margin-bottom: 16px; }
.sf-product-info .price-block { margin-bottom: 20px; }
.sf-product-info .price-current { font-size: 32px; font-weight: 700; color: var(--pd-pink); }
.sf-product-info .price-original {
    font-size: 20px; color: var(--pd-gray-400); text-decoration: line-through; margin-left: 12px;
}
.sf-product-info .save-badge {
    display: inline-block; background: var(--pd-success); color: white; padding: 4px 12px;
    border-radius: var(--pd-radius-full); font-size: 12px; font-weight: 700; margin-left: 12px;
}

.sf-size-selector { margin-bottom: 24px; }
.sf-size-selector h4 { font-size: 14px; font-weight: 700; margin-bottom: 10px; }
.sf-size-options { display: flex; gap: 8px; flex-wrap: wrap; }
.sf-size-option {
    min-width: 48px; height: 44px; display: flex; align-items: center; justify-content: center;
    border: 2px solid var(--pd-gray-200); border-radius: var(--pd-radius); cursor: pointer;
    font-size: 14px; font-weight: 600; padding: 0 16px; transition: var(--pd-transition);
}
.sf-size-option:hover, .sf-size-option.selected { border-color: var(--pd-pink); color: var(--pd-pink); }
.sf-size-option.out-of-stock { opacity: 0.4; cursor: not-allowed; text-decoration: line-through; }

.sf-quantity-selector { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.sf-qty-control {
    display: flex; align-items: center; border: 2px solid var(--pd-gray-200); border-radius: var(--pd-radius);
}
.sf-qty-control button {
    width: 40px; height: 40px; border: none; background: none; cursor: pointer;
    font-size: 18px; display: flex; align-items: center; justify-content: center;
}
.sf-qty-control input {
    width: 50px; text-align: center; border: none; font-size: 16px; font-weight: 600;
}

.sf-product-actions { display: flex; gap: 12px; margin-bottom: 24px; }

.sf-product-meta { border-top: 1px solid var(--pd-gray-100); padding-top: 20px; }
.sf-product-meta .meta-item {
    display: flex; gap: 8px; padding: 6px 0; font-size: 14px; color: var(--pd-gray-600);
}
.sf-product-meta .meta-label { font-weight: 600; min-width: 120px; color: var(--pd-gray-700); }

/* Size Recommendation Widget */
.sf-size-recommend {
    background: var(--pd-pink-bg); border: 1px solid rgba(206,44,130,0.15);
    border-radius: var(--pd-radius); padding: 16px; margin-bottom: 24px;
    display: flex; align-items: center; gap: 12px;
}
.sf-size-recommend i { font-size: 28px; color: var(--pd-pink); }
.sf-size-recommend .text h4 { font-size: 14px; margin-bottom: 2px; }
.sf-size-recommend .text p { font-size: 13px; color: var(--pd-gray-500); margin: 0; }
.sf-size-recommend .text a { font-weight: 600; }

/* WhatsApp Order */
.sf-whatsapp-order {
    display: flex; align-items: center; gap: 10px; padding: 12px 20px;
    background: #25d366; color: white; border-radius: var(--pd-radius); cursor: pointer;
    font-weight: 600; border: none; font-size: 14px; transition: var(--pd-transition);
}
.sf-whatsapp-order:hover { background: #128c7e; color: white; transform: translateY(-1px); }

/* === CART === */
.sf-cart-layout { display: grid; grid-template-columns: 1fr 380px; gap: 30px; padding: 40px 0; }
.sf-cart-items { background: var(--pd-white); border-radius: var(--pd-radius-lg); padding: 24px; }
.sf-cart-item {
    display: grid; grid-template-columns: 100px 1fr auto; gap: 20px; align-items: center;
    padding: 20px 0; border-bottom: 1px solid var(--pd-gray-100);
}
.sf-cart-item:last-child { border-bottom: none; }
.sf-cart-item-img { width: 100px; height: 120px; border-radius: var(--pd-radius-sm); overflow: hidden; }
.sf-cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.sf-cart-item-info h3 { font-size: 16px; margin-bottom: 4px; }
.sf-cart-item-info .size { font-size: 13px; color: var(--pd-gray-500); }
.sf-cart-item-info .price { font-size: 16px; font-weight: 700; color: var(--pd-pink); margin-top: 8px; }

.sf-cart-summary {
    background: var(--pd-white); border-radius: var(--pd-radius-lg); padding: 24px;
    height: fit-content; position: sticky; top: 120px;
}
.sf-cart-summary h3 { font-size: 20px; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 2px solid var(--pd-gray-100); }
.sf-cart-summary .summary-row {
    display: flex; justify-content: space-between; padding: 8px 0; font-size: 15px;
}
.sf-cart-summary .summary-total {
    display: flex; justify-content: space-between; padding: 16px 0;
    border-top: 2px solid var(--pd-gray-100); margin-top: 12px;
    font-size: 20px; font-weight: 700;
}
.sf-cart-summary .summary-total .amount { color: var(--pd-pink); }

.sf-coupon-input { display: flex; gap: 8px; margin-top: 16px; }
.sf-coupon-input input {
    flex: 1; padding: 10px 16px; border: 2px solid var(--pd-gray-200);
    border-radius: var(--pd-radius); font-size: 14px;
}
.sf-coupon-input input:focus { border-color: var(--pd-pink); outline: none; }

/* === CHECKOUT === */
.sf-checkout-layout { display: grid; grid-template-columns: 1fr 420px; gap: 30px; padding: 40px 0; }
.sf-checkout-form { background: var(--pd-white); border-radius: var(--pd-radius-lg); padding: 30px; }
.sf-form-section { margin-bottom: 30px; }
.sf-form-section h3 { font-size: 18px; margin-bottom: 16px; padding-bottom: 8px; border-bottom: 2px solid var(--pd-gray-100); }
.sf-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.sf-form-group { margin-bottom: 16px; }
.sf-form-group label {
    display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--pd-gray-700);
}
.sf-form-group input, .sf-form-group select, .sf-form-group textarea {
    width: 100%; padding: 10px 16px; border: 2px solid var(--pd-gray-200);
    border-radius: var(--pd-radius); font-size: 14px; font-family: var(--pd-font-body);
    transition: var(--pd-transition);
}
.sf-form-group input:focus, .sf-form-group select:focus, .sf-form-group textarea:focus {
    border-color: var(--pd-pink); outline: none; box-shadow: 0 0 0 3px rgba(206,44,130,0.1);
}

/* === ACCOUNT DASHBOARD === */
.sf-account-layout { display: grid; grid-template-columns: 260px 1fr; gap: 30px; padding: 10px 0 40px; }
main > .sf-section:first-child { padding-top: 20px; }
main > section:first-child > .sf-section:first-child { padding-top: 20px; }
main > .sf-section:has(.sf-account-layout) { padding: 0; }
.sf-account-sidebar {
    background: var(--pd-white); border-radius: var(--pd-radius-lg); padding: 24px;
    height: fit-content; position: sticky; top: 120px;
}
.sf-account-user { text-align: center; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--pd-gray-100); }
.sf-account-user .avatar {
    width: 80px; height: 80px; border-radius: 50%; background: var(--pd-pink-bg);
    display: flex; align-items: center; justify-content: center; margin: 0 auto 12px;
    font-size: 28px; font-weight: 700; color: var(--pd-pink);
}
.sf-account-user h3 { font-size: 16px; }
.sf-account-user .points { font-size: 13px; color: var(--pd-gold); font-weight: 600; }

.sf-account-menu { list-style: none; padding: 0; }
.sf-account-menu li a {
    display: flex; align-items: center; gap: 10px; padding: 10px 14px;
    border-radius: var(--pd-radius); color: var(--pd-gray-600); font-size: 14px;
    transition: var(--pd-transition);
}
.sf-account-menu li a:hover, .sf-account-menu li a.active {
    background: var(--pd-pink-bg); color: var(--pd-pink);
}
.sf-account-menu li a i { font-size: 18px; width: 20px; text-align: center; }

.sf-account-content { background: var(--pd-white); border-radius: var(--pd-radius-lg); padding: 30px; }

/* === MEASURE ME === */
.sf-measure-me {
    min-height: 100vh; background: var(--pd-cream); display: flex; align-items: center;
    justify-content: center;
}
.sf-measure-container {
    max-width: 800px; width: 100%; background: var(--pd-white); border-radius: var(--pd-radius-xl);
    overflow: hidden; box-shadow: var(--pd-shadow-lg);
}
.sf-measure-header {
    background: linear-gradient(135deg, var(--pd-pink), var(--pd-pink-dark));
    color: white; padding: 30px; text-align: center;
}
.sf-measure-header h1 { color: white; font-size: 28px; margin-bottom: 8px; }
.sf-measure-header .polka-avatar {
    width: 60px; height: 60px; border-radius: 50%; background: white;
    display: flex; align-items: center; justify-content: center; margin: 0 auto 12px;
    font-size: 28px;
}
.sf-measure-progress { display: flex; gap: 4px; padding: 0 30px; margin-top: 16px; }
.sf-measure-progress .step {
    flex: 1; height: 4px; border-radius: 2px; background: rgba(255,255,255,0.3);
}
.sf-measure-progress .step.active { background: white; }
.sf-measure-progress .step.done { background: var(--pd-gold); }

.sf-measure-body { padding: 40px; }
.sf-measure-step { display: none; }
.sf-measure-step.active { display: block; }
.sf-measure-chat {
    background: var(--pd-gray-50); border-radius: var(--pd-radius); padding: 16px;
    margin-bottom: 24px; display: flex; gap: 12px;
}
.sf-measure-chat .bot-msg {
    background: var(--pd-white); padding: 12px 16px; border-radius: 0 var(--pd-radius) var(--pd-radius);
    font-size: 15px; line-height: 1.5; box-shadow: var(--pd-shadow-sm);
}

.sf-camera-view {
    aspect-ratio: 3/4; background: var(--pd-black); border-radius: var(--pd-radius);
    overflow: hidden; position: relative; margin-bottom: 20px;
}
.sf-camera-view video { width: 100%; height: 100%; object-fit: cover; }
.sf-camera-overlay {
    position: absolute; inset: 0; pointer-events: none;
}

/* === STYLE ADVISOR === */
.sf-style-quiz {
    max-width: 700px; margin: 0 auto; padding: 40px 0;
}
.sf-quiz-step { display: none; }
.sf-quiz-step.active { display: block; }
.sf-quiz-step h2 { font-size: 28px; text-align: center; margin-bottom: 8px; }
.sf-quiz-step .subtitle { text-align: center; color: var(--pd-gray-500); margin-bottom: 30px; }
.sf-quiz-options {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px;
}
.sf-quiz-option {
    border: 2px solid var(--pd-gray-200); border-radius: var(--pd-radius-lg); padding: 20px;
    text-align: center; cursor: pointer; transition: var(--pd-transition);
}
.sf-quiz-option:hover { border-color: var(--pd-pink); transform: translateY(-2px); }
.sf-quiz-option.selected { border-color: var(--pd-pink); background: var(--pd-pink-bg); }
.sf-quiz-option .icon { font-size: 40px; margin-bottom: 8px; }
.sf-quiz-option h4 { font-size: 14px; }

/* === LIVE COMMERCE === */
.sf-live-page { display: grid; grid-template-columns: 1fr 380px; gap: 0; min-height: calc(100vh - 120px); }
.sf-live-stream { background: var(--pd-black); position: relative; }
.sf-live-stream iframe, .sf-live-stream video { width: 100%; height: 100%; }
.sf-live-badge {
    position: absolute; top: 20px; left: 20px; background: var(--pd-danger); color: white;
    padding: 4px 14px; border-radius: var(--pd-radius-full); font-size: 12px; font-weight: 700;
    animation: livePulse 2s infinite;
}
@keyframes livePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}
.sf-live-viewers {
    position: absolute; top: 20px; right: 20px; background: rgba(0,0,0,0.6); color: white;
    padding: 4px 14px; border-radius: var(--pd-radius-full); font-size: 13px;
}

.sf-live-sidebar { background: var(--pd-white); display: flex; flex-direction: column; }
.sf-live-products { flex: 1; overflow-y: auto; padding: 16px; }
.sf-live-product-card {
    display: flex; gap: 12px; padding: 12px; border-radius: var(--pd-radius); margin-bottom: 8px;
    border: 1px solid var(--pd-gray-100); transition: var(--pd-transition);
}
.sf-live-product-card.spotlighted { border-color: var(--pd-pink); background: var(--pd-pink-bg); }
.sf-live-product-card img { width: 60px; height: 80px; object-fit: cover; border-radius: var(--pd-radius-sm); }
.sf-live-product-card .info h4 { font-size: 13px; margin-bottom: 4px; }
.sf-live-product-card .info .price { font-size: 15px; font-weight: 700; color: var(--pd-pink); }

.sf-live-chat { border-top: 1px solid var(--pd-gray-100); padding: 12px; max-height: 300px; }
.sf-live-chat-messages { overflow-y: auto; max-height: 220px; margin-bottom: 8px; }
.sf-live-chat-msg { padding: 4px 0; font-size: 13px; }
.sf-live-chat-msg .name { font-weight: 600; color: var(--pd-pink); }
.sf-live-chat-input { display: flex; gap: 8px; }
.sf-live-chat-input input {
    flex: 1; padding: 8px 12px; border: 1px solid var(--pd-gray-200);
    border-radius: var(--pd-radius-full); font-size: 13px;
}

/* Flash Deal Timer */
.sf-flash-deal {
    background: linear-gradient(135deg, var(--pd-danger), #dc2626);
    color: white; padding: 12px 16px; border-radius: var(--pd-radius); margin-bottom: 8px;
    display: flex; align-items: center; justify-content: space-between;
}
.sf-flash-deal .timer { font-size: 18px; font-weight: 700; font-family: monospace; }

/* === DRESSFORGE === */
.sf-dressforge-hero {
    background: linear-gradient(135deg, var(--pd-pink), var(--pd-gold));
    color: white; text-align: center; padding: 80px 20px;
}
.sf-dressforge-hero h1 { color: white; font-size: var(--pd-text-hero); margin-bottom: 16px; }

.sf-workflow-templates {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px;
}
.sf-workflow-card {
    background: var(--pd-white); border-radius: var(--pd-radius-lg); overflow: hidden;
    box-shadow: var(--pd-shadow); transition: var(--pd-transition);
}
.sf-workflow-card:hover { transform: translateY(-4px); box-shadow: var(--pd-shadow-lg); }
.sf-workflow-card img { width: 100%; height: 200px; object-fit: cover; }
.sf-workflow-card .info { padding: 20px; }
.sf-workflow-card .info h3 { font-size: 18px; margin-bottom: 8px; }
.sf-workflow-card .info .meta { display: flex; gap: 16px; font-size: 13px; color: var(--pd-gray-500); }

/* Dress Tracker - Pizza Tracker Style */
.sf-dress-tracker { padding: 40px 0; }
.sf-tracker-pipeline {
    display: flex; align-items: flex-start; justify-content: center;
    gap: 0; overflow-x: auto; padding: 20px 0;
}
.sf-tracker-stage {
    display: flex; flex-direction: column; align-items: center; min-width: 100px;
    position: relative; text-align: center;
}
.sf-tracker-stage::after {
    content: ''; position: absolute; top: 20px; left: 50%; width: 100%; height: 3px;
    background: var(--pd-gray-200); z-index: 0;
}
.sf-tracker-stage:last-child::after { display: none; }
.sf-tracker-stage.completed::after { background: var(--pd-success); }
.sf-tracker-stage.active::after {
    background: linear-gradient(to right, var(--pd-pink) 50%, var(--pd-gray-200) 50%);
}

.sf-tracker-icon {
    width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center;
    justify-content: center; font-size: 16px; z-index: 1; border: 3px solid var(--pd-gray-200);
    background: white; color: var(--pd-gray-400); margin-bottom: 8px;
}
.sf-tracker-stage.completed .sf-tracker-icon {
    border-color: var(--pd-success); background: var(--pd-success); color: white;
}
.sf-tracker-stage.active .sf-tracker-icon {
    border-color: var(--pd-pink); background: var(--pd-pink); color: white;
    animation: trackerPulse 2s infinite;
}
@keyframes trackerPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(206,44,130,0.4); }
    50% { box-shadow: 0 0 0 10px rgba(206,44,130,0); }
}
.sf-tracker-stage .label { font-size: 11px; font-weight: 600; color: var(--pd-gray-500); }
.sf-tracker-stage.completed .label { color: var(--pd-success); }
.sf-tracker-stage.active .label { color: var(--pd-pink); font-weight: 700; }

/* Partner Selection */
.sf-partner-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px;
}
.sf-partner-card {
    background: var(--pd-white); border-radius: var(--pd-radius-lg); padding: 20px;
    border: 2px solid var(--pd-gray-100); transition: var(--pd-transition); cursor: pointer;
}
.sf-partner-card:hover { border-color: var(--pd-pink); box-shadow: var(--pd-shadow-md); }
.sf-partner-card.selected { border-color: var(--pd-pink); background: var(--pd-pink-bg); }
.sf-partner-card .header { display: flex; gap: 12px; margin-bottom: 12px; }
.sf-partner-card .header img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; }
.sf-partner-card .header h4 { font-size: 15px; }
.sf-partner-card .header .rating { font-size: 13px; color: var(--pd-warning); }
.sf-partner-card .price { font-size: 18px; font-weight: 700; color: var(--pd-pink); }
.sf-partner-card .meta { font-size: 12px; color: var(--pd-gray-500); }

/* Bundle Summary */
.sf-bundle-summary {
    background: var(--pd-white); border-radius: var(--pd-radius-lg); padding: 24px;
    border: 2px solid var(--pd-pink); position: sticky; top: 120px;
}
.sf-bundle-item {
    display: flex; justify-content: space-between; align-items: center;
    padding: 10px 0; border-bottom: 1px solid var(--pd-gray-100);
}
.sf-bundle-item .stage-icon { font-size: 20px; margin-right: 8px; }
.sf-bundle-item .stage-name { font-size: 14px; font-weight: 600; }
.sf-bundle-item .partner-name { font-size: 12px; color: var(--pd-gray-500); }
.sf-bundle-item .price { font-weight: 700; color: var(--pd-pink); }
.sf-bundle-total {
    display: flex; justify-content: space-between; padding: 16px 0; margin-top: 8px;
    font-size: 20px; font-weight: 700; border-top: 2px solid var(--pd-gray-100);
}

/* === MARKETPLACE / VENDOR === */
.sf-vendor-storefront-banner {
    height: 250px; background-size: cover; background-position: center;
    position: relative; border-radius: 0 0 var(--pd-radius-xl) var(--pd-radius-xl);
}
.sf-vendor-storefront-banner .overlay {
    position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
    border-radius: inherit;
}
.sf-vendor-info-card {
    background: var(--pd-white); border-radius: var(--pd-radius-lg); padding: 24px;
    margin-top: -60px; position: relative; z-index: 2; display: flex; gap: 20px;
    align-items: center; box-shadow: var(--pd-shadow-md);
}
.sf-vendor-info-card .logo {
    width: 80px; height: 80px; border-radius: 50%; object-fit: cover;
    border: 3px solid var(--pd-pink);
}
.sf-vendor-info-card h2 { font-size: 24px; margin-bottom: 4px; }
.sf-vendor-info-card .verified { color: var(--pd-info); font-size: 13px; font-weight: 600; }

/* === LOYALTY / REWARDS === */
.sf-loyalty-dashboard { padding: 30px 0; }
.sf-points-card {
    background: linear-gradient(135deg, var(--pd-pink), var(--pd-gold));
    color: white; border-radius: var(--pd-radius-xl); padding: 30px; text-align: center;
}
.sf-points-card .points-value { font-size: 48px; font-weight: 700; }
.sf-points-card .tier { font-size: 14px; text-transform: uppercase; letter-spacing: 2px; }
.sf-tier-progress {
    display: flex; align-items: center; gap: 8px; margin-top: 16px;
}
.sf-tier-bar { flex: 1; height: 8px; background: rgba(255,255,255,0.3); border-radius: 4px; }
.sf-tier-bar .fill { height: 100%; background: white; border-radius: 4px; }

/* === CUSTOMER GALLERY === */
.sf-gallery-masonry {
    columns: 4; column-gap: 16px;
}
.sf-gallery-item {
    break-inside: avoid; margin-bottom: 16px; border-radius: var(--pd-radius);
    overflow: hidden; position: relative; cursor: pointer;
}
.sf-gallery-item img { width: 100%; display: block; }
.sf-gallery-item .overlay {
    position: absolute; inset: 0; background: rgba(0,0,0,0.4);
    display: flex; flex-direction: column; justify-content: flex-end; padding: 16px;
    opacity: 0; transition: var(--pd-transition);
}
.sf-gallery-item:hover .overlay { opacity: 1; }
.sf-gallery-item .overlay .customer { color: white; font-weight: 600; font-size: 14px; }
.sf-gallery-item .overlay .product { color: var(--pd-gold); font-size: 12px; }

/* === SOCIAL PROOF === */
.sf-social-proof-bar {
    position: fixed; bottom: 20px; left: 20px; z-index: 999;
}
.sf-proof-notification {
    background: var(--pd-white); border-radius: var(--pd-radius); padding: 12px 16px;
    box-shadow: var(--pd-shadow-lg); display: flex; gap: 12px; align-items: center;
    max-width: 340px; animation: slideIn 0.5s ease;
}
@keyframes slideIn {
    from { transform: translateX(-100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}
.sf-proof-notification img { width: 50px; height: 50px; border-radius: var(--pd-radius-sm); object-fit: cover; }
.sf-proof-notification .text { font-size: 13px; line-height: 1.4; }
.sf-proof-notification .text strong { color: var(--pd-pink); }

/* WhatsApp Float */
.sf-whatsapp-float {
    position: fixed; bottom: 24px; right: 24px; z-index: 999;
    width: 56px; height: 56px; background: #25d366; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 15px rgba(37,211,102,0.4); cursor: pointer;
    transition: var(--pd-transition); color: white; font-size: 28px;
}
.sf-whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 20px rgba(37,211,102,0.5); }

/* === BREADCRUMB === */
.sf-breadcrumb {
    padding: 16px 0; font-size: 13px; color: var(--pd-gray-500);
}
.sf-breadcrumb a { color: var(--pd-gray-400); }
.sf-breadcrumb a:hover { color: var(--pd-pink); }
.sf-breadcrumb span { margin: 0 8px; }

/* === TRUST BADGES === */
.sf-trust-bar {
    display: flex; justify-content: center; gap: 40px; padding: 40px 0;
    border-top: 1px solid var(--pd-gray-100);
}
.sf-trust-item { display: flex; align-items: center; gap: 12px; }
.sf-trust-item .icon {
    width: 48px; height: 48px; border-radius: 50%; background: var(--pd-pink-bg);
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; color: var(--pd-pink);
}
.sf-trust-item h4 { font-size: 14px; margin-bottom: 2px; }
.sf-trust-item p { font-size: 12px; color: var(--pd-gray-500); margin: 0; }

/* === TABS === */
.sf-tabs { border-bottom: 2px solid var(--pd-gray-100); margin-bottom: 24px; }
.sf-tabs .tab-list { display: flex; gap: 0; list-style: none; padding: 0; }
.sf-tabs .tab-item {
    padding: 12px 24px; cursor: pointer; font-size: 14px; font-weight: 600;
    color: var(--pd-gray-500); border-bottom: 2px solid transparent;
    margin-bottom: -2px; transition: var(--pd-transition);
}
.sf-tabs .tab-item:hover { color: var(--pd-pink); }
.sf-tabs .tab-item.active { color: var(--pd-pink); border-bottom-color: var(--pd-pink); }
.sf-tab-content { display: none; }
.sf-tab-content.active { display: block; }

/* === NEWSLETTER === */
.sf-newsletter {
    background: linear-gradient(135deg, var(--pd-pink), var(--pd-pink-dark));
    padding: 60px 20px; text-align: center; color: white;
}
.sf-newsletter h2 { color: white; font-size: var(--pd-text-2xl); margin-bottom: 8px; }
.sf-newsletter p { color: rgba(255,255,255,0.8); margin-bottom: 24px; }
.sf-newsletter-form { display: flex; max-width: 500px; margin: 0 auto; gap: 8px; }
.sf-newsletter-form input {
    flex: 1; padding: 14px 20px; border: none; border-radius: var(--pd-radius-full);
    font-size: 15px;
}
.sf-newsletter-form button {
    padding: 14px 32px; background: var(--pd-gold); color: white; border: none;
    border-radius: var(--pd-radius-full); font-weight: 700; cursor: pointer;
    font-family: var(--pd-font-heading); transition: var(--pd-transition);
}
.sf-newsletter-form button:hover { background: #c4955e; }

/* === FOOTER === */
.sf-footer { background: var(--pd-black); color: var(--pd-gray-300); padding: 60px 0 0; }
.sf-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.sf-footer-col h4 {
    color: var(--pd-white); font-size: 16px; margin-bottom: 20px;
    position: relative; padding-bottom: 10px;
}
.sf-footer-col h4::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 30px; height: 2px;
    background: var(--pd-pink);
}
.sf-footer-col ul { list-style: none; padding: 0; }
.sf-footer-col li { margin-bottom: 8px; }
.sf-footer-col li a { color: var(--pd-gray-400); font-size: 14px; }
.sf-footer-col li a:hover { color: var(--pd-pink); padding-left: 4px; }
.sf-footer-col p { font-size: 14px; line-height: 1.7; }
.sf-footer-social { display: flex; gap: 12px; margin-top: 16px; }
.sf-footer-social a {
    width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--pd-gray-600);
    display: flex; align-items: center; justify-content: center;
    color: var(--pd-gray-400); transition: var(--pd-transition);
}
.sf-footer-social a:hover { background: var(--pd-pink); border-color: var(--pd-pink); color: white; }

.sf-footer-bottom {
    border-top: 1px solid var(--pd-gray-800); margin-top: 40px; padding: 20px 0;
    display: flex; justify-content: space-between; font-size: 13px; color: var(--pd-gray-500);
}
.sf-footer-payments { display: flex; gap: 8px; align-items: center; }
.sf-footer-payments img { height: 24px; opacity: 0.6; }

/* === PAGINATION === */
.sf-pagination { display: flex; justify-content: center; gap: 4px; padding: 30px 0; }
.sf-pagination a, .sf-pagination span {
    min-width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
    border-radius: var(--pd-radius); border: 1px solid var(--pd-gray-200); font-size: 14px;
    color: var(--pd-gray-600); transition: var(--pd-transition);
}
.sf-pagination a:hover { border-color: var(--pd-pink); color: var(--pd-pink); }
.sf-pagination .current { background: var(--pd-pink); color: white; border-color: var(--pd-pink); }

/* === BLOG === */
.sf-blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 24px; }
.sf-blog-card { background: var(--pd-white); border-radius: var(--pd-radius-lg); overflow: hidden; transition: var(--pd-transition); }
.sf-blog-card:hover { transform: translateY(-4px); box-shadow: var(--pd-shadow-lg); }
.sf-blog-card img { width: 100%; height: 220px; object-fit: cover; }
.sf-blog-card .body { padding: 20px; }
.sf-blog-card .category-tag { display: inline-block; background: var(--pd-pink-bg); color: var(--pd-pink); padding: 4px 12px; border-radius: var(--pd-radius-full); font-size: 11px; font-weight: 700; text-transform: uppercase; margin-bottom: 8px; }
.sf-blog-card h3 { font-size: 18px; margin-bottom: 8px; }
.sf-blog-card p { font-size: 14px; color: var(--pd-gray-500); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* === ORDER TRACKING === */
.sf-order-timeline { padding: 20px 0; }
.sf-timeline-item {
    display: flex; gap: 16px; padding-bottom: 24px; position: relative;
}
.sf-timeline-item::before {
    content: ''; position: absolute; left: 15px; top: 32px; bottom: 0; width: 2px;
    background: var(--pd-gray-200);
}
.sf-timeline-item:last-child::before { display: none; }
.sf-timeline-dot {
    width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: var(--pd-gray-200); color: var(--pd-gray-500); font-size: 14px;
}
.sf-timeline-item.active .sf-timeline-dot { background: var(--pd-pink); color: white; }
.sf-timeline-item.done .sf-timeline-dot { background: var(--pd-success); color: white; }

/* ============================================================
   MOBILE NAVIGATION DRAWER
   ============================================================ */
.sf-nav-list.mobile-open {
    display: flex !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 85%;
    max-width: 360px;
    height: 100dvh;
    background: var(--pd-white);
    z-index: 10001;
    overflow-y: auto;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    box-shadow: 8px 0 30px rgba(0,0,0,0.2);
    padding: 0;
    transform: translateX(0);
    transition: transform 0.3s ease;
}

.sf-nav-list.mobile-open .sf-nav-item {
    width: 100%;
}
.sf-nav-list.mobile-open .sf-nav-item > a {
    padding: 16px 20px;
    border-bottom: 1px solid var(--pd-gray-100);
    font-size: 14px;
}
.sf-nav-list.mobile-open .sf-nav-item > a::after {
    display: none;
}

/* Mobile Nav Backdrop */
.sf-nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.sf-nav-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

/* Mobile Nav Close Button — hidden on desktop */
.sf-nav-list > .sf-nav-close-btn {
    display: none !important;
    width: 44px;
    height: 44px;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 20px;
    color: var(--pd-gray-600);
    align-items: center;
    justify-content: center;
    margin: 8px 8px 0 auto;
    border-radius: 50%;
    transition: var(--pd-transition);
}
.sf-nav-close-btn:hover { background: var(--pd-gray-100); }
.sf-nav-list.mobile-open > .sf-nav-close-btn { display: flex !important; }

/* ============================================================
   MOBILE MEGA MENU ACCORDION
   ============================================================ */
.sf-nav-list.mobile-open .sf-mega-menu {
    position: static;
    min-width: unset !important;
    width: 100%;
    display: none;
    flex-direction: column;
    box-shadow: none;
    border-radius: 0;
    border-top: none;
    padding: 0 20px 16px;
    background: var(--pd-gray-50);
}
.sf-nav-list.mobile-open .sf-mega-menu.accordion-open {
    display: flex;
}
.sf-nav-list.mobile-open .sf-mega-col {
    padding: 12px 0;
    border-bottom: 1px solid var(--pd-gray-100);
}
.sf-nav-list.mobile-open .sf-mega-col:last-child {
    border-bottom: none;
}

/* Chevron indicator for mega menu parent */
.sf-nav-list.mobile-open .has-mega > a {
    position: relative;
    padding-right: 40px;
}
.sf-nav-list.mobile-open .has-mega > a::before {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: var(--pd-gray-400);
    transition: transform 0.3s ease;
}
.sf-nav-list.mobile-open .has-mega.accordion-expanded > a::before {
    transform: translateY(-50%) rotate(180deg);
}

/* ============================================================
   NEW UTILITY CLASSES (replacing inline styles)
   ============================================================ */

/* USP Feature Bar */
.sf-usp-bar {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}
.sf-usp-bar > a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--pd-gray-700);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    padding: 12px 20px;
    background: var(--pd-gray-50);
    border-radius: var(--pd-radius-full);
    border: 1px solid var(--pd-gray-100);
    transition: var(--pd-transition);
}
.sf-usp-bar > a:hover {
    background: var(--pd-pink-bg);
    border-color: var(--pd-pink);
    color: var(--pd-pink);
    transform: translateY(-2px);
    box-shadow: var(--pd-shadow-sm);
}
.sf-usp-bar > a > i {
    font-size: 20px;
    color: var(--pd-pink);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--pd-pink-bg);
    border-radius: 50%;
    flex-shrink: 0;
}

/* Style Advisor Boxes */
.sf-style-advisor-boxes {
    flex: 1;
    min-width: 300px;
    display: flex;
    gap: 12px;
    justify-content: center;
}
.sf-style-advisor-box {
    background: white;
    border-radius: var(--pd-radius-lg);
    padding: 20px;
    text-align: center;
    box-shadow: var(--pd-shadow);
    width: 150px;
}
.sf-style-advisor-box:nth-child(2) {
    margin-top: 30px;
}

/* Rating Breakdown Grid */
.sf-rating-breakdown {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 40px;
    margin-bottom: 40px;
    align-items: start;
}

/* Blog Layout Grid */
.sf-blog-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 40px;
}

/* Blog Featured Post Grid */
.sf-blog-featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
    text-decoration: none;
    color: inherit;
    background: white;
    border-radius: var(--pd-radius-lg);
    overflow: hidden;
    box-shadow: var(--pd-shadow);
}

/* Cart Header */
.sf-cart-header {
    display: grid;
    grid-template-columns: 100px 1fr auto;
    gap: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--pd-gray-100);
    margin-bottom: 4px;
}
.sf-cart-header > span {
    font-size: 13px;
    font-weight: 600;
    color: var(--pd-gray-400);
    text-transform: uppercase;
}

/* Share Buttons */
.sf-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--pd-gray-100);
    color: var(--pd-gray-500);
    border: none;
    cursor: pointer;
    transition: var(--pd-transition);
    margin-right: 4px;
}
.sf-share-btn:hover {
    background: var(--pd-pink);
    color: white;
}

/* CTA Decorative Icon */
.sf-cta-decorative-icon {
    font-size: 120px;
    opacity: 0.15;
}

/* Mobile Filter Button — hidden by default, shown via media query */
#mobileFilterBtn {
    display: none;
}

/* ============================================================
   RESPONSIVE — 1024px
   ============================================================ */
@media (max-width: 1024px) {
    .sf-shop-layout { grid-template-columns: 1fr; }
    .sf-filters-sidebar { display: none; }
    .sf-product-detail { grid-template-columns: 1fr; gap: 30px; }
    .sf-product-gallery { position: static; }
    .sf-cart-layout { grid-template-columns: 1fr; }
    .sf-checkout-layout { grid-template-columns: 1fr; }
    .sf-account-layout { grid-template-columns: 1fr; }
    .sf-account-sidebar { position: static; }
    .sf-live-page { grid-template-columns: 1fr; }
    .sf-footer-grid { grid-template-columns: 1fr 1fr; }
    .sf-cart-summary { position: static; }

    /* Mobile Filter Button visible */
    #mobileFilterBtn { display: inline-flex !important; }

    /* Filter Sidebar as fullscreen overlay */
    #filtersSidebar.mobile-open {
        display: block !important;
        position: fixed;
        inset: 0;
        z-index: 10000;
        overflow-y: auto;
        border-radius: 0;
        padding: 20px;
        padding-top: 60px;
        background: var(--pd-white);
    }
    #filtersSidebar.mobile-open .sf-filter-close {
        display: block !important;
    }
}

/* ============================================================
   RESPONSIVE — 768px
   ============================================================ */
@media (max-width: 768px) {
    .sf-header-top { flex-wrap: wrap; }
    .sf-search-bar { order: 3; max-width: 100%; margin: 10px 0 0; flex-basis: 100%; }
    /* Search input 16px font to prevent iOS zoom */
    .sf-search-bar input { font-size: 16px; }
    .sf-nav-list { display: none; }
    .sf-mobile-toggle { display: block; }
    .sf-hero-slide { height: 450px; align-items: flex-end; background-position: center top; }
    .sf-hero-overlay {
        background: linear-gradient(to top, rgba(26,26,26,0.85) 0%, rgba(26,26,26,0.35) 50%, transparent 100%);
    }
    .sf-hero-content { max-width: 100%; padding: 20px 20px 32px; }
    .sf-hero-content .tagline { font-size: 12px; letter-spacing: 2px; margin-bottom: 8px; }
    .sf-hero-content h1 { font-size: clamp(1.75rem, 1.25rem + 2.5vw, 2.5rem); margin-bottom: 12px; }
    /* Fluid typography handles h1/h2 sizing now — no fixed overrides needed */
    .sf-products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .sf-trust-bar { flex-direction: column; gap: 16px; align-items: center; }
    .sf-footer-grid { grid-template-columns: 1fr; }
    .sf-footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
    .sf-gallery-masonry { columns: 2; }
    .sf-tracker-pipeline { flex-wrap: nowrap; overflow-x: auto; }
    .sf-newsletter-form { flex-direction: column; }

    /* Logo smaller on tablet */
    .sf-logo img { height: 56px; }

    /* Header actions compact on tablet */
    .sf-header-action span:not(.badge) { display: none; }
    .sf-header-actions { gap: 2px; }
    .sf-header-action { padding: 4px 6px; }
    .sf-header-action i { width: 36px; height: 36px; font-size: 18px; }

    /* Announcement bar truncation */
    .sf-announcement-bar {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 12px;
    }

    /* Checkout/Cart form rows stack */
    .sf-form-row { grid-template-columns: 1fr; }

    /* Tabs horizontal scroll */
    .sf-tabs .tab-list {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        white-space: nowrap;
    }
    .sf-tabs .tab-list::-webkit-scrollbar { display: none; }
    .sf-tabs .tab-item { flex-shrink: 0; }

    /* Cart header hidden */
    .sf-cart-header { display: none; }

    /* Blog layout stacks */
    .sf-blog-layout { grid-template-columns: 1fr; }

    /* Blog featured post stacks */
    .sf-blog-featured { grid-template-columns: 1fr; }

    /* Rating breakdown stacks */
    .sf-rating-breakdown { grid-template-columns: 1fr; gap: 20px; }

    /* USP bar wraps */
    .sf-usp-bar {
        gap: 8px;
        justify-content: center;
    }
    .sf-usp-bar > a { padding: 10px 16px; font-size: 13px; }
    .sf-usp-bar > a > i { width: 32px; height: 32px; font-size: 16px; }

    /* Style advisor boxes shrink */
    .sf-style-advisor-box { width: 120px; padding: 16px; }
    .sf-style-advisor-boxes { min-width: 0; }

    /* Hide decorative CTA icon */
    .sf-cta-decorative-icon { display: none; }

    /* Checkout sidebar unstick */
    .sf-cart-summary { position: static; }
}

/* ============================================================
   RESPONSIVE — 480px
   ============================================================ */
@media (max-width: 480px) {
    /* Section spacing tightened */
    .sf-section { padding: 40px 0; }
    .container { padding: 0 16px; }

    .sf-hero-slide { height: 420px; background-position: center top; }
    .sf-hero-content { padding: 16px 16px 28px; }
    .sf-hero-content .tagline { display: none; }
    .sf-hero-content h1 { font-size: 1.5rem; line-height: 1.2; margin-bottom: 10px; text-shadow: 0 1px 6px rgba(0,0,0,0.5); }
    .sf-hero-content p { font-size: 14px; margin-bottom: 16px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

    .sf-products-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .sf-product-card .card-body { padding: 10px; }
    .sf-product-card .card-body h3 { font-size: 13px; }
    .sf-product-card .price-current { font-size: 15px; }
    .sf-gallery-masonry { columns: 1; }
    .sf-product-actions { flex-direction: column; }

    /* Smaller buttons */
    .btn-pd-lg { padding: 14px 28px; font-size: 14px; }

    /* USP bar stacks on small screens */
    .sf-usp-bar { gap: 6px; }
    .sf-usp-bar > a { font-size: 12px; gap: 6px; padding: 8px 14px; }
    .sf-usp-bar > a > i { width: 28px; height: 28px; font-size: 14px; }

    /* Style advisor boxes smallest */
    .sf-style-advisor-box { width: 100px; padding: 12px; }
    .sf-style-advisor-box:nth-child(2) { margin-top: 20px; }

    /* Rating breakdown single column */
    .sf-rating-breakdown { grid-template-columns: 1fr; }
}

/* ============================================================
   TOUCH TARGET FIXES
   ============================================================ */
@media (pointer: coarse) {
    .sf-product-card .quick-action-btn {
        width: 44px;
        height: 44px;
    }
    .sf-pagination a, .sf-pagination span {
        min-width: 44px;
        height: 44px;
    }
    .sf-filter-group input[type="checkbox"],
    .sf-filter-group input[type="radio"] {
        width: 20px;
        height: 20px;
    }
    .sf-share-btn {
        width: 44px;
        height: 44px;
    }
    .sf-footer-social a {
        width: 44px;
        height: 44px;
    }
    .sf-qty-control button {
        width: 44px;
        height: 44px;
    }
    .sf-mobile-toggle {
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .sf-tabs .tab-item {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
}

/* ============================================================
   PRODUCT CARD TOUCH VISIBILITY
   ============================================================ */
@media (hover: none) and (pointer: coarse) {
    .sf-product-card .quick-actions {
        opacity: 1;
        transform: translateX(0);
    }
    .sf-gallery-item .overlay {
        opacity: 1;
    }
}

/* === UTILITY CLASSES === */
.text-pink { color: var(--pd-pink); }
.text-gold { color: var(--pd-gold); }
.text-success { color: var(--pd-success); }
.bg-pink { background: var(--pd-pink); }
.bg-cream { background: var(--pd-cream); }
.bg-white { background: var(--pd-white); }
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.p-3 { padding: 24px; }
.gap-2 { gap: 16px; }
.d-flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.w-full { width: 100%; }
.rounded { border-radius: var(--pd-radius); }
.shadow { box-shadow: var(--pd-shadow); }
.hidden { display: none; }
