/* ============================================================
   She Rise — Custom Stylesheet
   Premium Handmade Fashion E-Commerce
   ============================================================ */

/* ---- CSS Custom Properties (Design Tokens) ---- */
:root {
    /* Colors */
    --color-primary: #8B6F4E;
    --color-primary-dark: #6D563C;
    --color-primary-light: #A68B6B;
    --color-secondary: #D4A574;
    --color-accent: #C9918A;
    --color-accent-light: #E8C4BF;

    --color-bg: #FBF8F4;
    --color-bg-alt: #F5F0EB;
    --color-surface: #FFFFFF;
    --color-surface-hover: #FAF7F3;

    --color-text: #2D2016;
    --color-text-secondary: #6B5744;
    --color-text-muted: #A89585;
    --color-text-light: #C4B5A5;

    --color-border: #E8DFD5;
    --color-border-light: #F0EBE5;

    --color-success: #5B8C5A;
    --color-error: #C95D5D;
    --color-warning: #D4A24E;
    --color-info: #5B7E9C;

    /* Typography */
    --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(45, 32, 22, 0.06);
    --shadow-md: 0 4px 12px rgba(45, 32, 22, 0.08);
    --shadow-lg: 0 8px 30px rgba(45, 32, 22, 0.1);
    --shadow-xl: 0 16px 50px rgba(45, 32, 22, 0.12);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;

    /* Container */
    --container-max: 1280px;
    --container-padding: 1rem;

    /* Navbar */
    --navbar-height: 70px;
    --announcement-height: 36px;
}

/* ---- Global Reset & Base ---- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-primary-dark);
}

button {
    cursor: pointer;
    font-family: var(--font-body);
    border: none;
    background: none;
}

input,
select,
textarea {
    font-family: var(--font-body);
    font-size: 15px;
}

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

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ---- Announcement Bar ---- */
.announcement-bar {
    background: var(--color-primary);
    color: #fff;
    font-size: 12px;
    letter-spacing: 0.5px;
    height: var(--announcement-height);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    z-index: 100;
}

.announcement-slider {
    display: flex;
    animation: announceSlide 12s infinite;
    width: 100%;
}

.announcement-item {
    flex: 0 0 100%;
    text-align: center;
    padding: 0 var(--space-md);
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@keyframes announceSlide {

    0%,
    28% {
        transform: translateX(0);
    }

    33%,
    61% {
        transform: translateX(-100%);
    }

    66%,
    94% {
        transform: translateX(-200%);
    }

    100% {
        transform: translateX(0);
    }
}

/* ---- Navbar ---- */
.navbar {
    background: var(--color-surface);
    height: var(--navbar-height);
    position: sticky;
    top: 0;
    z-index: 90;
    border-bottom: 1px solid var(--color-border-light);
    transition: box-shadow var(--transition-base);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: var(--space-md);
}

.navbar-logo a {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 1px;
    white-space: nowrap;
}

.navbar-logo a span {
    color: var(--color-accent);
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    list-style: none;
}

.navbar-menu a {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-secondary);
    letter-spacing: 0.3px;
    position: relative;
    padding: 4px 0 6px 0;
    transition: color var(--transition-fast);
    white-space: nowrap;
    display: inline-block;
}

.navbar-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width var(--transition-base);
}

.navbar-menu a:hover,
.navbar-menu a.active {
    color: var(--color-primary);
}

.navbar-menu a:hover::after,
.navbar-menu a.active::after {
    width: 100%;
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.navbar-action-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    color: var(--color-text-secondary);
    transition: all var(--transition-fast);
}

.navbar-action-btn:hover {
    background: var(--color-bg-alt);
    color: var(--color-primary);
}

.navbar-action-btn svg {
    width: 22px;
    height: 22px;
    stroke-width: 1.5;
}

.navbar-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 17px;
    height: 17px;
    border-radius: var(--radius-full);
    background: var(--color-accent);
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    line-height: 1;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 24px;
    cursor: pointer;
    padding: 8px;
    box-sizing: content-box;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: all var(--transition-base);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: calc(var(--navbar-height) + var(--announcement-height));
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-surface);
    z-index: 85;
    overflow-y: auto;
    padding: var(--space-lg);
    transform: translateY(-10px);
    opacity: 0;
    transition: all var(--transition-base);
}

.mobile-menu.active {
    display: block;
    transform: translateY(0);
    opacity: 1;
}

.mobile-menu-list {
    list-style: none;
}

.mobile-menu-list li {
    border-bottom: 1px solid var(--color-border-light);
}

.mobile-menu-list a {
    display: block;
    padding: var(--space-md) 0;
    font-size: 16px;
    font-weight: 500;
    color: var(--color-text);
}

.mobile-menu-list a:hover,
.mobile-menu-list a.active {
    color: var(--color-primary);
}

/* ---- Search Overlay ---- */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(45, 32, 22, 0.5);
    backdrop-filter: blur(4px);
    z-index: 200;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding-top: 100px;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.search-overlay.active {
    display: flex;
    opacity: 1;
}

.search-box {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    width: 90%;
    max-width: 600px;
    box-shadow: var(--shadow-xl);
}

.search-input-wrap {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--space-sm) var(--space-md);
    transition: border-color var(--transition-fast);
}

.search-input-wrap:focus-within {
    border-color: var(--color-primary);
}

.search-input-wrap svg {
    width: 20px;
    height: 20px;
    color: var(--color-text-muted);
    flex-shrink: 0;
}

.search-input-wrap input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    background: transparent;
    color: var(--color-text);
}

.search-input-wrap input::placeholder {
    color: var(--color-text-light);
}

.search-results {
    margin-top: var(--space-md);
    max-height: 400px;
    overflow-y: auto;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-sm);
    border-radius: var(--radius-sm);
    transition: background var(--transition-fast);
}

.search-result-item:hover {
    background: var(--color-bg-alt);
}

.search-result-item img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.search-result-item .result-info h4 {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
}

.search-result-item .result-info .result-price {
    font-size: 13px;
    color: var(--color-primary);
    font-weight: 600;
}

.search-close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: var(--color-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-fast);
}

.search-close:hover {
    transform: scale(1.1);
}

/* ---- Hero Section ---- */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero.split {
    background: linear-gradient(135deg, var(--color-bg) 0%, #F0E6D9 100%);
}

.hero.fullwidth {
    background-image: linear-gradient(to right, rgba(251, 248, 244, 1) 0%, rgba(251, 248, 244, 0.9) 35%, rgba(251, 248, 244, 0) 70%), var(--hero-bg);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    width: 100%;
}

.hero.fullwidth .hero-inner {
    grid-template-columns: 1fr;
    max-width: 650px;
    margin: 0;
}

/* ---- Hero Slider ---- */
.hero-slider-container {
    position: relative;
    min-height: 85vh;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    inset: 0;
}

.hero-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    background-image: linear-gradient(to right, rgba(251, 248, 244, 1) 0%, rgba(251, 248, 244, 0.9) 35%, rgba(251, 248, 244, 0) 70%), var(--hero-bg);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-slide .hero-inner {
    grid-template-columns: 1fr;
    max-width: 650px;
    margin: 0;
}

/* Slider Controls */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.7);
    color: var(--color-primary);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    backdrop-filter: blur(4px);
    opacity: 0;
}

.hero-slider:hover .slider-btn {
    opacity: 1;
}

.slider-btn:hover {
    background: #fff;
    box-shadow: var(--shadow-md);
}

.slider-prev {
    left: var(--space-xl);
}

.slider-next {
    right: var(--space-xl);
}

.slider-dots {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 8px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all var(--transition-fast);
    padding: 0;
}

.slider-dot:hover {
    background: rgba(0, 0, 0, 0.4);
}

.slider-dot.active {
    background: var(--color-primary);
    width: 24px;
    border-radius: 8px;
}

.hero-content {
    padding: var(--space-2xl) 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: rgba(139, 111, 78, 0.1);
    color: var(--color-primary);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-lg);
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: var(--space-lg);
    color: var(--color-text);
}

.hero-title span {
    color: var(--color-primary);
    font-style: italic;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-2xl);
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image img {
    width: 100%;
    max-width: 550px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    object-fit: cover;
}

.hero-float-card {
    position: absolute;
    background: var(--color-surface);
    border-radius: var(--radius-md);
    padding: var(--space-md) var(--space-lg);
    box-shadow: var(--shadow-lg);
    animation: float 3s ease-in-out infinite;
}

.hero-float-card.card-1 {
    bottom: 60px;
    left: -20px;
}

.hero-float-card.card-2 {
    top: 40px;
    right: -10px;
    animation-delay: 1.5s;
}

.hero-float-card .card-emoji {
    font-size: 24px;
    margin-bottom: 4px;
}

.hero-float-card .card-text {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text);
}

.hero-float-card .card-sub {
    font-size: 11px;
    color: var(--color-text-muted);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 4px;
    transition: all var(--transition-base);
    white-space: nowrap;
    min-height: 44px;
}

.btn-primary {
    background: var(--color-primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    border: 1.5px solid var(--color-primary);
    color: var(--color-primary);
    background: transparent;
}

.btn-outline:hover {
    background: var(--color-primary);
    color: #fff;
    transform: translateY(-1px);
}

.btn-accent {
    background: var(--color-accent);
    color: #fff;
}

.btn-accent:hover {
    background: #B5807A;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 13px;
    min-height: 36px;
}

.btn-lg {
    padding: 14px 36px;
    font-size: 16px;
    min-height: 50px;
}

.btn-icon {
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: var(--radius-full);
}

.btn:disabled,
.btn.loading {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.btn.loading {
    position: relative;
    color: transparent;
}

.btn.loading::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ---- Section Styles ---- */
.section {
    padding: var(--space-4xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-subtitle {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
}

.section-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.section-description {
    font-size: 1rem;
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ---- Trust/Features Section ---- */
.trust-section {
    background: var(--color-surface);
    border-top: 1px solid var(--color-border-light);
    border-bottom: 1px solid var(--color-border-light);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-md);
    padding: var(--space-xl) var(--space-md);
    position: relative;
}

.trust-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 40px;
    background: var(--color-border-light);
}

.trust-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.trust-icon svg {
    width: 100%;
    height: 100%;
}

.trust-content {
    display: flex;
    flex-direction: column;
}

.trust-item h3 {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 2px;
}

.trust-item p {
    font-size: 13px;
    color: var(--color-text-muted);
}

/* ---- Category Grid ---- */
.category-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-lg);
}

.category-card {
    flex: 0 0 calc(20% - (var(--space-lg) * 4 / 5));
    min-width: 140px;
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 3/4;
    group: '';
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.category-card:hover img {
    transform: scale(1.05);
}

.category-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-lg);
    background: linear-gradient(to top, rgba(45, 32, 22, 0.7), transparent);
}

.category-card-overlay h3 {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
}

.category-card-overlay p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
}

/* ---- Product Grid ---- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.product-grid.centered-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.product-grid.centered-grid>.product-card {
    flex: 0 0 calc(25% - (var(--space-lg) * 3 / 4));
    max-width: calc(25% - (var(--space-lg) * 3 / 4));
}

.product-card {
    background: var(--color-surface);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--color-border-light);
    transition: all var(--transition-base);
    position: relative;
}

.product-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.product-card-image {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: var(--color-bg-alt);
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.product-card:hover .product-card-image img {
    transform: scale(1.04);
}

.product-card-badges {
    position: absolute;
    top: var(--space-sm);
    left: var(--space-sm);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.badge {
    display: inline-block;
    padding: 3px 10px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: var(--radius-full);
}

.badge-sale {
    background: var(--color-error);
    color: #fff;
}

.badge-new {
    background: var(--color-primary);
    color: #fff;
}

.badge-bestseller {
    background: var(--color-secondary);
    color: #fff;
}

.product-card-actions {
    position: absolute;
    top: var(--space-sm);
    right: var(--space-sm);
    display: flex;
    flex-direction: column;
    gap: 6px;
    opacity: 0;
    transform: translateX(10px);
    transition: all var(--transition-base);
}

.product-card:hover .product-card-actions {
    opacity: 1;
    transform: translateX(0);
}

.product-card-actions button {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    background: var(--color-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    color: var(--color-text-secondary);
    transition: all var(--transition-fast);
}

.product-card-actions button:hover {
    background: var(--color-primary);
    color: #fff;
}

.product-card-actions button.wishlisted {
    color: var(--color-accent);
}

.product-card-actions button.wishlisted svg {
    fill: var(--color-accent);
}

.product-card-info {
    padding: var(--space-md);
}

.product-card-category {
    font-size: 11px;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.product-card-title {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card-price {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.product-card-price .current-price {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-primary);
}

.product-card-price .original-price {
    font-size: 13px;
    color: var(--color-text-muted);
    text-decoration: line-through;
}

.product-card-price .discount-badge {
    font-size: 11px;
    font-weight: 600;
    color: var(--color-success);
}

/* ---- Newsletter Section ---- */
.newsletter-section {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: #fff;
}

.newsletter-section .section-subtitle {
    color: var(--color-secondary);
}

.newsletter-section .section-title {
    color: #fff;
}

.newsletter-section .section-description {
    color: rgba(255, 255, 255, 0.8);
}

.newsletter-form {
    display: flex;
    max-width: 480px;
    margin: var(--space-xl) auto 0;
    gap: var(--space-sm);
}

.newsletter-form input {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 15px;
    outline: none;
    transition: border-color var(--transition-fast);
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form input:focus {
    border-color: rgba(255, 255, 255, 0.5);
}

.newsletter-form button {
    padding: 12px 28px;
    background: #fff;
    color: var(--color-primary);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 14px;
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.newsletter-form button:hover {
    background: var(--color-secondary);
    color: #fff;
}

/* ---- Footer ---- */
.footer {
    background: var(--color-text);
    color: rgba(255, 255, 255, 0.7);
    padding: var(--space-4xl) 0 var(--space-xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-3xl);
    margin-bottom: var(--space-3xl);
}

.footer-brand h3 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: var(--space-md);
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

.footer-social {
    display: flex;
    gap: var(--space-sm);
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}

.footer-column h4 {
    color: #fff;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--space-lg);
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: var(--space-sm);
}

.footer-column a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    transition: color var(--transition-fast);
}

.footer-column a:hover {
    color: var(--color-secondary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-xl);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.5);
}

.footer-payments {
    display: flex;
    gap: var(--space-sm);
    align-items: center;
}

.footer-payments span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
}

/* ---- Toast Notifications ---- */
.toast-container {
    position: fixed;
    top: calc(var(--navbar-height) + var(--announcement-height) + 10px);
    right: 16px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    pointer-events: none;
}

.toast {
    background: var(--color-surface);
    border-radius: var(--radius-md);
    padding: var(--space-md) var(--space-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 14px;
    font-weight: 500;
    min-width: 280px;
    max-width: 400px;
    pointer-events: auto;
    transform: translateX(100%);
    opacity: 0;
    animation: toastIn 0.3s ease forwards;
    border-left: 3px solid var(--color-primary);
}

.toast.toast-success {
    border-left-color: var(--color-success);
}

.toast.toast-error {
    border-left-color: var(--color-error);
}

.toast.toast-warning {
    border-left-color: var(--color-warning);
}

.toast.removing {
    animation: toastOut 0.3s ease forwards;
}

@keyframes toastIn {
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes toastOut {
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.toast-icon {
    font-size: 18px;
    flex-shrink: 0;
}

.toast-close {
    margin-left: auto;
    padding: 4px;
    color: var(--color-text-muted);
    cursor: pointer;
}

/* ---- Form Styles ---- */
.form-group {
    margin-bottom: var(--space-lg);
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-secondary);
    margin-bottom: 6px;
    letter-spacing: 0.3px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: 15px;
    color: var(--color-text);
    background: var(--color-surface);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    outline: none;
}

.form-control:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(139, 111, 78, 0.1);
}

.form-control::placeholder {
    color: var(--color-text-light);
}

.form-error {
    font-size: 12px;
    color: var(--color-error);
    margin-top: 4px;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23A89585' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* ---- Product Detail Page ---- */
.product-gallery {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: var(--space-md);
}

.gallery-thumbs {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    max-height: 500px;
    overflow-y: auto;
}

.gallery-thumb {
    width: 70px;
    height: 80px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color var(--transition-fast);
}

.gallery-thumb.active,
.gallery-thumb:hover {
    border-color: var(--color-primary);
}

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

.gallery-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: transparent;
    display: block;
    width: 100%;
}

.gallery-main img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 650px;
    object-fit: contain;
    margin: 0 auto;
}

/* Product Info */
.product-info .product-category {
    font-size: 12px;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: var(--space-sm);
}

.product-info .product-title {
    font-size: 1.8rem;
    margin-bottom: var(--space-md);
}

.product-price-wrap {
    display: flex;
    align-items: baseline;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.product-price-current {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
}

.product-price-original {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    text-decoration: line-through;
}

.product-price-discount {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-success);
    background: rgba(91, 140, 90, 0.1);
    padding: 3px 10px;
    border-radius: var(--radius-full);
}

/* Variant Selectors */
.variant-group {
    margin-bottom: var(--space-lg);
}

.variant-label {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--color-text);
}

.size-options,
.color-options {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.size-option {
    min-width: 44px;
    height: 44px;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
    padding: 0 var(--space-sm);
}

.size-option:hover,
.size-option.selected {
    border-color: var(--color-primary);
    background: var(--color-primary);
    color: #fff;
}

.size-option.out-of-stock {
    opacity: 0.4;
    cursor: not-allowed;
    text-decoration: line-through;
}

.color-option {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition-fast);
    position: relative;
}

.color-option:hover,
.color-option.selected {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px var(--color-surface), 0 0 0 4px var(--color-primary);
}

/* Quantity */
.qty-selector {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.qty-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--color-text-secondary);
    transition: background var(--transition-fast);
}

.qty-btn:hover {
    background: var(--color-bg-alt);
}

.qty-input {
    width: 50px;
    height: 40px;
    text-align: center;
    border: none;
    border-left: 1px solid var(--color-border);
    border-right: 1px solid var(--color-border);
    font-size: 15px;
    font-weight: 500;
    outline: none;
}

/* Action buttons */
.product-actions {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

/* Tabs */
.product-tabs {
    margin-top: var(--space-3xl);
}

.tab-headers {
    display: flex;
    border-bottom: 1px solid var(--color-border);
    gap: var(--space-xl);
    overflow-x: auto;
}

.tab-header {
    padding: var(--space-md) 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-muted);
    border-bottom: 2px solid transparent;
    transition: all var(--transition-fast);
    white-space: nowrap;
    cursor: pointer;
}

.tab-header.active {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
}

.tab-content {
    display: none;
    padding: var(--space-xl) 0;
}

.tab-content.active {
    display: block;
}

/* ---- Cart Page ---- */
.cart-table {
    width: 100%;
}

.cart-item {
    display: grid;
    grid-template-columns: auto 1fr auto auto auto;
    gap: var(--space-lg);
    align-items: center;
    padding: var(--space-lg) 0;
    border-bottom: 1px solid var(--color-border-light);
}

.cart-item-image {
    width: 80px;
    height: 100px;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-info h3 {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 4px;
}

.cart-item-info .cart-variant {
    font-size: 13px;
    color: var(--color-text-muted);
}

.cart-item-remove {
    font-size: 13px;
    color: var(--color-text-muted);
    margin-top: var(--space-sm);
    cursor: pointer;
    transition: color var(--transition-fast);
}

.cart-item-remove:hover {
    color: var(--color-error);
}

.cart-summary {
    background: var(--color-surface);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    padding: var(--space-sm) 0;
    font-size: 14px;
}

.cart-summary-total {
    border-top: 2px solid var(--color-border);
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    font-size: 18px;
    font-weight: 700;
}

/* ---- Checkout ---- */
.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: var(--space-3xl);
}

.checkout-step {
    margin-bottom: var(--space-2xl);
}

.checkout-step-title {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--color-border-light);
}

/* Two-column rows that collapse on mobile */
.checkout-name-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Pincode field — limited width on desktop, full on mobile */
.checkout-pincode {
    max-width: 200px;
}

/* Product image in order summary */
.checkout-item-img {
    width: 56px;
    height: 64px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

/* Product name — wraps on mobile, clipped on desktop summary */
.checkout-item-name {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    word-break: break-word;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Mobile sticky bottom action bar */
.mobile-checkout-sticky {
    display: none;
}

/* ---- Account Pages ---- */
.account-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: var(--space-3xl);
    min-height: 60vh;
}

.account-sidebar {
    background: var(--color-surface);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    height: fit-content;
}

.account-nav {
    list-style: none;
}

.account-nav li {
    margin-bottom: 4px;
}

.account-nav a {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--color-text-secondary);
    transition: all var(--transition-fast);
}

.account-nav a:hover,
.account-nav a.active {
    background: var(--color-bg);
    color: var(--color-primary);
}

/* ---- Order Tracking ---- */
.tracking-timeline {
    position: relative;
    padding-left: 40px;
}

.tracking-timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--color-border);
}

.tracking-step {
    position: relative;
    padding-bottom: var(--space-xl);
}

.tracking-step::before {
    content: '';
    position: absolute;
    left: -33px;
    top: 3px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid var(--color-border);
    background: var(--color-surface);
}

.tracking-step.completed::before {
    background: var(--color-success);
    border-color: var(--color-success);
}

.tracking-step.current::before {
    background: var(--color-primary);
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(139, 111, 78, 0.2);
}

.tracking-step h4 {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
}

.tracking-step p {
    font-size: 13px;
    color: var(--color-text-muted);
}

/* ---- Empty States ---- */
.empty-state {
    text-align: center;
    padding: var(--space-4xl) var(--space-xl);
}

.empty-state-icon {
    font-size: 48px;
    margin-bottom: var(--space-lg);
    opacity: 0.6;
}

.empty-state h2 {
    font-size: 1.3rem;
    margin-bottom: var(--space-sm);
}

.empty-state p {
    color: var(--color-text-muted);
    margin-bottom: var(--space-xl);
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* ---- Breadcrumbs ---- */
.breadcrumbs {
    padding: var(--space-md) 0;
    font-size: 13px;
}

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

.breadcrumbs a:hover {
    color: var(--color-primary);
}

.breadcrumbs span {
    color: var(--color-text-muted);
    margin: 0 var(--space-sm);
}

.breadcrumbs .current {
    color: var(--color-text);
    font-weight: 500;
}

/* ---- Page Header ---- */
.page-header {
    background: var(--color-bg-alt);
    padding: var(--space-3xl) 0;
    text-align: center;
    border-bottom: 1px solid var(--color-border-light);
}

.page-header h1 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: var(--space-sm);
}

.page-header p {
    color: var(--color-text-secondary);
    font-size: 15px;
}

/* ---- Shop Filters ---- */
.shop-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: var(--space-2xl);
}

.shop-sidebar {
    position: sticky;
    top: calc(var(--navbar-height) + var(--space-lg));
    height: fit-content;
}

.filter-group {
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid var(--color-border-light);
}

.filter-group:last-child {
    border-bottom: none;
}

.filter-group h3 {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: var(--space-md);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 6px 0;
    cursor: pointer;
    font-size: 14px;
    color: var(--color-text-secondary);
}

.filter-option:hover {
    color: var(--color-primary);
}

.shop-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--color-border-light);
}

.filter-close {
    display: none;
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
}

.shop-result-count {
    font-size: 14px;
    color: var(--color-text-muted);
}

.shop-sort select {
    padding: 8px 36px 8px 12px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    background-color: var(--color-surface);
    cursor: pointer;
}

/* Mobile filter toggle */
.mobile-filter-toggle {
    display: none;
    align-items: center;
    gap: var(--space-sm);
    padding: 10px 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    background: var(--color-surface);
}

/* ---- Auth Pages ---- */
.auth-page {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-2xl) var(--space-md);
}

.auth-card {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    padding: var(--space-3xl);
    width: 100%;
    max-width: 440px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border-light);
}

.auth-card h1 {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: var(--space-xs);
}

.auth-card .auth-subtitle {
    text-align: center;
    color: var(--color-text-muted);
    font-size: 14px;
    margin-bottom: var(--space-2xl);
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin: var(--space-xl) 0;
    color: var(--color-text-muted);
    font-size: 13px;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--color-border);
}

/* ---- Pagination ---- */
.pagination-wrap {
    display: flex;
    justify-content: center;
    margin-top: var(--space-3xl);
}

.pagination {
    display: flex;
    list-style: none;
    gap: 4px;
}

.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 var(--space-sm);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-secondary);
    transition: all var(--transition-fast);
}

.page-link:hover {
    background: var(--color-bg-alt);
    color: var(--color-primary);
}

.page-link.active {
    background: var(--color-primary);
    color: #fff;
}

.page-dots {
    display: flex;
    align-items: center;
    padding: 0 var(--space-sm);
    color: var(--color-text-muted);
}

/* ---- Sticky Mobile Cart ---- */
.mobile-sticky-cart {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    padding: var(--space-md);
    z-index: 80;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
}

.mobile-checkout-sticky {
    display: none;
}


.mobile-sticky-cart .sticky-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 4px;
}

.mobile-sticky-cart .sticky-buttons {
    display: flex;
    gap: var(--space-sm);
}

.mobile-sticky-cart .sticky-buttons .btn {
    flex: 1;
}

/* ---- Responsive ---- */

/* Tablet */
@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        order: 1;
    }

    .hero-image {
        order: 0;
    }

    .hero-description {
        margin: 0 auto var(--space-2xl);
    }

    .hero-buttons {
        justify-content: center;
    }

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

    .product-grid.centered-grid>.product-card {
        flex: 0 0 calc(33.333% - (var(--space-lg) * 2 / 3));
        max-width: calc(33.333% - (var(--space-lg) * 2 / 3));
    }

    .category-card {
        flex: 0 0 calc(33.333% - (var(--space-lg) * 2 / 3));
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-xl);
    }

    .trust-item:nth-child(2)::after {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-2xl);
    }

    .shop-layout {
        grid-template-columns: 1fr;
    }

    .shop-sidebar {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        height: 100%;
        background: var(--color-surface);
        z-index: 200;
        padding: var(--space-xl);
        overflow-y: auto;
    }

    .shop-sidebar.active {
        display: block;
    }

    .filter-close {
        display: block !important;
    }

    .mobile-filter-toggle {
        display: flex;
    }

    .checkout-grid {
        grid-template-columns: 1fr;
    }

    .account-layout {
        grid-template-columns: 1fr;
    }

    /* Collapse side-by-side rows */
    .checkout-name-row {
        grid-template-columns: 1fr;
    }

    /* Pincode: full width on tablet */
    .checkout-pincode {
        max-width: 100%;
    }

    /* Compact spacing for checkout steps */
    .checkout-step {
        margin-bottom: 1.25rem;
    }

    /* Order summary: remove sticky on tablet, natural flow */
    .cart-summary {
        position: static !important;
    }
}

/* Mobile */
@media (max-width: 768px) {
    :root {
        --container-padding: 16px;
        --navbar-height: 60px;
    }

    /* ---- Checkout Mobile ---- */
    .mobile-checkout-sticky {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: #fff;
        border-top: 1px solid var(--color-border-light);
        padding: 12px 16px;
        z-index: 200;
        box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.08);
    }

    /* Hide in-summary Place Order on mobile — sticky bar takes over */
    .checkout-place-order-btn {
        display: none !important;
    }

    /* Enough space for content to scroll above the sticky bar */
    .checkout-grid {
        padding-bottom: 80px;
    }

    /* Compact checkout steps on mobile */
    .checkout-step {
        margin-bottom: 1rem;
        padding-bottom: 0;
    }

    .checkout-step-title {
        font-size: 14px;
        margin-bottom: 0.75rem;
    }

    /* Pincode: full width on mobile */
    .checkout-pincode {
        max-width: 100%;
    }

    /* Product image: slightly bigger for readability */
    .checkout-item-img {
        width: 60px;
        height: 68px;
    }

    /* WhatsApp button: raise above sticky checkout bar on checkout pages */
    body.checkout-page .whatsapp-floating-container {
        bottom: calc(72px + 12px);
        /* sticky bar height + gap */
    }

    .navbar-menu {
        display: none;
    }

    .navbar-inner {
        gap: var(--space-sm);
    }

    .hero.fullwidth,
    .hero-slide {
        background-image: linear-gradient(to right, rgba(251, 248, 244, 1) 0%, rgba(251, 248, 244, 0.95) 50%, rgba(251, 248, 244, 0.4) 100%), var(--hero-bg);
        background-position: 70% center;
    }

    .hero-slider-container {
        min-height: 60vh;
    }

    .slider-btn {
        display: none;
        /* Hide arrows on mobile, rely on swipe/dots */
    }

    .slider-dots {
        bottom: 16px;
        /* Move dots down to increase space from buttons */
    }

    .navbar-logo a {
        font-size: 1.3rem;
    }

    .navbar-actions {
        gap: 4px;
    }

    .navbar-action-btn {
        width: 34px;
        height: 34px;
    }

    .navbar-action-btn svg {
        width: 20px;
        height: 20px;
    }

    .hamburger {
        display: flex;
        padding: 4px 8px 4px 0;
    }

    .hero {
        min-height: auto;
        padding: var(--space-md) 0 var(--space-xl);
    }

    .hero-content {
        padding: 0 var(--space-xl);
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-title {
        font-size: 1.85rem;
        line-height: 1.25;
        font-weight: 600;
        text-wrap: balance;
        margin-bottom: var(--space-md);
    }

    .hero-title span {
        font-style: italic;
        font-weight: 400;
    }

    .hero-description {
        text-align: center;
        text-wrap: balance;
        margin-bottom: var(--space-xl);
    }

    .hero-buttons {
        justify-content: center;
        margin-bottom: var(--space-xl);
    }

    .hero.fullwidth,
    .hero-slide {
        background-image: linear-gradient(to bottom, rgba(251, 248, 244, 0) 0%, rgba(251, 248, 244, 0.8) 40%, rgba(251, 248, 244, 1) 100%), var(--hero-bg);
        background-position: center top;
        align-items: flex-end;
        padding-bottom: var(--space-xl);
    }

    .hero-slide .hero-inner {
        margin-top: auto;
        width: 100%;
    }

    .hero-float-card {
        display: none;
    }

    .hero-image img {
        max-width: 100%;
        width: 100%;
        height: auto;
        max-height: none;
    }

    .shop-toolbar {
        flex-wrap: wrap;
        gap: var(--space-md);
    }

    .mobile-filter-toggle {
        order: 1;
        flex: 1;
        min-width: 0;
        justify-content: center;
        width: 100%;
    }

    .shop-sort {
        order: 2;
        flex: 1;
        min-width: 0;
    }

    .shop-sort select {
        width: 100%;
        max-width: 100%;
        text-overflow: ellipsis;
    }

    .shop-result-count {
        order: 3;
        width: 100%;
        text-align: center;
        margin-top: var(--space-xs);
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }

    .product-grid.centered-grid>.product-card {
        flex: 0 0 calc(50% - (var(--space-md) / 2));
        max-width: calc(50% - (var(--space-md) / 2));
    }

    .category-grid {
        gap: var(--space-md);
    }

    .category-card {
        flex: 0 0 calc(50% - (var(--space-md) / 2));
    }

    .trust-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 0;
        padding-bottom: var(--space-md);
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        margin-left: -16px;
        margin-right: -16px;
        padding-left: 16px;
        padding-right: 16px;
    }

    .trust-grid::-webkit-scrollbar {
        display: none;
    }

    .trust-item {
        flex: 0 0 100%;
        scroll-snap-align: center;
        padding: var(--space-lg) var(--space-md);
    }

    .trust-item:not(:last-child)::after {
        display: none;
    }

    .section {
        padding: var(--space-3xl) 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }

    .newsletter-form {
        flex-direction: column;
    }

    /* Product detail mobile */
    .product-gallery {
        grid-template-columns: 1fr;
    }

    .gallery-thumbs {
        flex-direction: row;
        order: 1;
        overflow-x: auto;
    }

    .gallery-thumb {
        min-width: 60px;
        width: 60px;
    }

    .product-info .product-title {
        font-size: 1.4rem;
    }

    .product-actions {
        flex-direction: column;
    }

    .mobile-sticky-cart {
        display: block;
    }

    /* Cart mobile */
    .cart-item {
        grid-template-columns: 70px 1fr;
        gap: var(--space-md);
    }

    /* Auth */
    .auth-card {
        padding: var(--space-xl);
    }

    .product-card-actions {
        opacity: 1;
        transform: translateX(0);
    }

    .toast-container {
        right: 8px;
        left: 8px;
    }

    .toast {
        min-width: auto;
    }
}

/* Small Mobile */
@media (max-width: 430px) {
    :root {
        --container-padding: 12px;
    }

    .navbar-actions {
        gap: 0;
    }

    .navbar-logo a {
        font-size: 1.15rem;
    }

    .navbar-action-btn {
        width: 30px;
        height: 30px;
    }

    .navbar-action-btn svg {
        width: 18px;
        height: 18px;
    }

    .hamburger {
        width: 20px;
        padding-left: 4px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-buttons .btn {
        padding: 10px 20px;
        font-size: 13px;
    }

    .product-card-info {
        padding: var(--space-sm);
    }

    .product-card-title {
        font-size: 13px;
    }
}

/* ---- Utility Classes ---- */
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-primary {
    color: var(--color-primary);
}

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

.text-success {
    color: var(--color-success);
}

.text-error {
    color: var(--color-error);
}

.fw-500 {
    font-weight: 500;
}

.fw-600 {
    font-weight: 600;
}

.fw-700 {
    font-weight: 700;
}

.mt-1 {
    margin-top: var(--space-md);
}

.mt-2 {
    margin-top: var(--space-xl);
}

.mt-3 {
    margin-top: var(--space-2xl);
}

.mb-1 {
    margin-bottom: var(--space-md);
}

.mb-2 {
    margin-bottom: var(--space-xl);
}

.mb-3 {
    margin-bottom: var(--space-2xl);
}

.hidden {
    display: none !important;
}

.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.gap-1 {
    gap: var(--space-md);
}

.gap-2 {
    gap: var(--space-xl);
}

.w-full {
    width: 100%;
}

/* ---- Loading Skeleton ---- */
.skeleton {
    background: linear-gradient(90deg, var(--color-bg-alt) 25%, var(--color-border-light) 50%, var(--color-bg-alt) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: var(--radius-sm);
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* ---- Flash Messages ---- */
.flash-message {
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-lg);
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.flash-success {
    background: rgba(91, 140, 90, 0.1);
    color: var(--color-success);
    border: 1px solid rgba(91, 140, 90, 0.2);
}

.flash-error {
    background: rgba(201, 93, 93, 0.1);
    color: var(--color-error);
    border: 1px solid rgba(201, 93, 93, 0.2);
}

.flash-warning {
    background: rgba(212, 162, 78, 0.1);
    color: var(--color-warning);
    border: 1px solid rgba(212, 162, 78, 0.2);
}

.flash-info {
    background: rgba(91, 126, 156, 0.1);
    color: var(--color-info);
    border: 1px solid rgba(91, 126, 156, 0.2);
}

/* ---- WhatsApp Floating Button ---- */
.whatsapp-floating-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 16px;
}

.whatsapp-tooltip {
    background-color: white;
    color: var(--color-text);
    padding: 10px 16px;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    font-size: 14px;
    font-weight: 500;
    position: relative;
    white-space: nowrap;
    animation: fadeIn 0.5s ease;
}

.whatsapp-tooltip-tail {
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 6px solid white;
}

.whatsapp-floating-btn {
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.whatsapp-floating-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}