:root {
    --primary-orange: #fbb03b;
    --primary-orange-dark: #e89b25;
    --soft-peach: #fff2e0;
    --dark-text: #111111;
    --light-gray: #f8f8f8;
    --border-gray: #ececec;
    --white: #ffffff;
    --muted-text: #666666;
    --glass: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.4);

    /* Advanced Tokens */
    --font-main: 'Outfit', sans-serif;
    --transition-smooth: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.3s ease;

    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.12);

    --radius-sm: 8px;
    --radius-md: 15px;
    --radius-lg: 25px;

    /* Progress Colors */
    --success: #27ae60;
    --warning: #f1c40f;
    --info: #3498db;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-main);
}

body {
    background-color: var(--white);
    color: var(--dark-text);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Scroll Animation Utilities */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-smooth);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-text {
    font-weight: 900;
    font-size: 1.8rem;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #fbb03b 0%, #ff8c00 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 4px 15px rgba(251, 176, 59, 0.2);
    transition: var(--transition-smooth);
    display: inline-block;
}

/* Rotating Words Styling */
.logo-rotating {
    height: 1.8rem;
    overflow: hidden;
    position: relative;
    width: 140px;
    /* Fixed width to prevent jumping */
}

.rotating-words {
    display: flex;
    flex-direction: column;
    animation: rotate-logo 6s infinite ease-in-out;
}

.rotating-words span {
    font-weight: 800;
    font-size: 1.8rem;
    color: var(--primary-orange);
    height: 1.8rem;
    display: flex;
    align-items: center;
    letter-spacing: -0.5px;
}

@keyframes rotate-logo {

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

    50%,
    95% {
        transform: translateY(-1.8rem);
    }

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

.logo:hover .logo-text {
    transform: scale(1.05);
    filter: drop-shadow(0 0 10px rgba(251, 176, 59, 0.4));
}

/* Header - Exactly as Reference */
header {
    background: var(--white);
    padding: 1.5rem 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo img {
    height: 35px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 3rem;
}

nav ul li a {
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 500;
    font-size: 0.95rem;
}

.header-icons {
    display: flex;
    gap: 1.8rem;
    align-items: center;
}

.header-icons a {
    color: var(--dark-text);
    text-decoration: none;
    font-size: 1.3rem;
    position: relative;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: transparent;
}

.header-icons a:hover {
    color: var(--primary-orange);
    background: var(--soft-peach);
    transform: translateY(-2px);
}

/* User Auth Header Styles */
.user-auth-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    transition: var(--transition-fast);
}

.user-auth-wrapper:hover {
    background: var(--soft-peach);
}

.user-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark-text);
    white-space: nowrap;
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--white);
    min-width: 180px;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 0.8rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-smooth);
    margin-top: 0.5rem;
    z-index: 1001;
}

.user-auth-wrapper:hover .user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown a {
    display: block;
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
    color: var(--dark-text);
    text-decoration: none;
    width: 100% !important;
    height: auto !important;
    background: transparent !important;
    border-radius: 0 !important;
    justify-content: flex-start !important;
    transition: var(--transition-fast);
}

.user-dropdown a:hover {
    background: var(--soft-peach) !important;
    color: var(--primary-orange) !important;
}

#logout-btn {
    color: #ef4444 !important;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    margin-top: 0.5rem;
    padding-top: 0.8rem;
}

/* Network & Offline Styles */
.network-status-banner {
    background: #ef4444;
    color: white;
    text-align: center;
    padding: 0.8rem;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 3000;
    font-size: 0.9rem;
    font-weight: 500;
    display: none;
    animation: slideInDown 0.3s ease;
}

.network-status-banner.active {
    display: block;
}

.loading-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #f8f8f8 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: var(--radius-md);
}

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

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

.error-container {
    padding: 4rem 2rem;
    text-align: center;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-gray);
    margin: 2rem 0;
}

.error-container i {
    font-size: 3rem;
    color: #ef4444;
    margin-bottom: 1.5rem;
}

.retry-btn {
    margin-top: 1.5rem;
    padding: 0.8rem 2rem;
    background: var(--dark-text);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-fast);
}

.retry-btn:hover {
    background: var(--primary-orange);
}

.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.98);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-inner {
    width: 100%;
    max-width: 800px;
    padding: 0 2rem;
    position: relative;
    transform: translateY(20px);
    transition: var(--transition-smooth);
}

.search-overlay.active .search-inner {
    transform: translateY(0);
}

.search-inner input {
    width: 100%;
    font-size: 3rem;
    border: none;
    background: transparent;
    border-bottom: 2px solid var(--primary-orange);
    padding: 1rem 0;
    outline: none;
    font-weight: 700;
    color: var(--dark-text);
}

.search-close {
    position: absolute;
    top: 4rem;
    right: 4rem;
    font-size: 2rem;
    cursor: pointer;
    color: var(--dark-text);
    transition: var(--transition-fast);
}

.search-close:hover {
    color: var(--primary-orange);
    transform: rotate(90deg);
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--primary-orange);
    color: white;
    font-size: 0.65rem;
    font-weight: 800;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--white);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.header-icons a:hover .cart-badge {
    transform: scale(1.1);
    background: var(--dark-text);
}

/* Hero - Peach/Orange Background */
.hero {
    background-color: var(--primary-orange);
    padding: 5rem 10%;
    text-align: center;
    color: var(--white);
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    opacity: 0.9;
}

.hero-search {
    background: var(--white);
    padding: 6px;
    border-radius: 50px;
    display: flex;
    max-width: 550px;
    margin: 0 auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transition: var(--transition-smooth);
}

.hero-search:focus-within {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.hero-search input {
    flex: 1;
    border: none;
    padding: 0 1.5rem;
    border-radius: 50px;
    outline: none;
    font-size: 1rem;
}

.hero-search button {
    background: #111;
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-fast);
}

.hero-search button:hover {
    background: var(--primary-orange);
    transform: scale(1.05);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary-orange);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-orange-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-black {
    background: #111;
    color: white;
}

.btn-black:hover {
    background: #333;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* Section Common Styling */
section {
    padding: 5rem 10%;
}

.section-title {
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2rem;
    font-weight: 700;
}

/* Category Grid - New Design Based on Uploaded Image */
.cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1.5rem;
    padding: 2rem 0;
}

.cat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--dark-text);
    transition: var(--transition-fast);
    text-align: center;
    padding: 1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
}

.cat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.95);
}

.cat-card .cat-image-container {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fbb03b, #f39c12);
    box-shadow: 0 8px 20px rgba(251, 176, 59, 0.3);
    position: relative;
    transition: var(--transition-fast);
}

.cat-card:hover .cat-image-container {
    transform: scale(1.1);
    box-shadow: 0 12px 30px rgba(251, 176, 59, 0.4);
}

.cat-card .cat-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.cat-card .cat-image-container i {
    font-size: 2rem;
    color: white;
}

.cat-card h3 {
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
    color: var(--dark-text);
}

.cat-card:hover h3 {
    color: var(--primary-orange);
}

/* Large category card for featured categories */
.cat-card.big .cat-image-container {
    width: 100px;
    height: 100px;
}

.cat-card.big h3 {
    font-size: 1rem;
}

/* Product Cards - Light Gray Background for Image */
.products-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.product-item {
    text-decoration: none;
    color: var(--dark-text);
    transition: var(--transition-smooth);
}

.product-item:hover {
    transform: translateY(-10px);
}

.product-img-box {
    background: var(--light-gray);
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    padding: 2rem;
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.product-item:hover .product-img-box {
    box-shadow: var(--shadow-md);
}

/* Quick Actions Overlay */
.product-item:hover .quick-actions {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.quick-actions {
    position: absolute;
    bottom: 1.2rem;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    display: flex;
    gap: 0.8rem;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 10;
}

.action-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    color: var(--dark-text);
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.action-btn:hover {
    background: var(--primary-orange);
    color: white;
    transform: scale(1.15) rotate(5deg);
}

.action-btn.heart-icon-btn i.fa-solid {
    color: #ef4444;
}

.product-img-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.product-item:hover .product-img-box img {
    transform: scale(1.08);
}

.sale-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #ff6b6b, #ff3838);
    color: white;
    font-size: 0.65rem;
    font-weight: 900;
    padding: 6px 14px;
    border-radius: 20px;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(255, 56, 56, 0.4);
    animation: pulse 2s infinite;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(4px);
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(255, 56, 56, 0.4);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 25px rgba(255, 56, 56, 0.6);
    }
}

.offer-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: white;
    font-size: 0.6rem;
    font-weight: 900;
    padding: 5px 12px;
    border-radius: 18px;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(230, 126, 34, 0.4);
    animation: glow 2.5s ease-in-out infinite;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(3px);
}

@keyframes glow {

    0%,
    100% {
        box-shadow: 0 4px 12px rgba(230, 126, 34, 0.4), 0 0 20px rgba(230, 126, 34, 0.2);
    }

    50% {
        box-shadow: 0 6px 20px rgba(230, 126, 34, 0.6), 0 0 30px rgba(230, 126, 34, 0.4);
    }
}

.new-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, #00b894, #00a085);
    color: white;
    font-size: 0.6rem;
    font-weight: 900;
    padding: 5px 12px;
    border-radius: 18px;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0, 184, 148, 0.4);
    animation: float 3s ease-in-out infinite;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(3px);
}

@keyframes float {

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

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

.product-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    transition: var(--transition-fast);
}

.product-item:hover h4 {
    color: var(--primary-orange);
}

.price-box {
    display: flex;
    gap: 10px;
    align-items: center;
}

.old-price {
    color: var(--muted-text);
    text-decoration: line-through;
    font-size: 0.9rem;
}

.new-price {
    font-weight: 700;
    font-size: 1.1rem;
}

/* Newsletter Section - EXACT */
.newsletter-orange {
    background-color: var(--primary-orange);
    padding: 3rem 10%;
    text-align: center;
    color: white;
}

.newsletter-orange h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.newsletter-box {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px;
    border-radius: 50px;
}

.newsletter-box input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 0 1.5rem;
    color: white;
    outline: none;
}

.newsletter-box input::placeholder {
    color: rgba(255, 255, 255, 0.8);
}

.newsletter-box button {
    background: #111;
    color: white;
    width: 45px;
    height: 45px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
}

/* Brands Area */
.brands-row {
    background-color: #fbf1e1;
    padding: 2rem 5%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    gap: 1.5rem;
}

/* Footer - EXACT Colors */
footer {
    background-color: #fbf1e1;
    padding: 5rem 10% 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-logo {
    height: 40px;
    margin-bottom: 2rem;
}

.footer-col h4 {
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    color: #999;
    letter-spacing: 1px;
}

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

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    text-decoration: none;
    color: var(--dark-text);
    font-size: 0.9rem;
}

/* Shop Layout */
.shop-main {
    display: flex;
    gap: 4rem;
    padding: 5rem 10%;
}

.shop-sidebar-container {
    width: 300px;
    flex-shrink: 0;
}

.shop-content {
    flex: 1;
    padding: 0;
}

.shop-sidebar {
    border: 1px solid var(--border-gray);
    padding: 2rem;
}

.sidebar-title {
    font-weight: 700;
    font-size: 1.1rem;
    border-left: 4px solid var(--primary-orange);
    padding-left: 1rem;
    margin-bottom: 2rem;
}

/* Cart Table Items */
.cart-table th {
    background: #f4f4f4;
    padding: 1rem;
    font-weight: 600;
}

.cart-table td {
    padding: 0.5rem 0.5rem;
}

/* Hide mobile bottom navigation on auth pages */
body.login-page .mobile-bottom-nav,
body.signup-page .mobile-bottom-nav,
body.verify-page .mobile-bottom-nav,
body.admin-login .mobile-bottom-nav,
body.admin-signup .mobile-bottom-nav {
    display: none !important;
}

/* Remove bottom padding on auth pages */
body.login-page,
body.signup-page,
body.verify-page,
body.admin-login,
body.admin-signup {
    padding-bottom: 0 !important;
}

/* Mobile and small screen styles (always active on screens <= 1024px) */
@media (max-width: 1024px) {
    header {
        padding: 1rem 1rem;
        gap: 0.75rem;
    }

    nav ul {
        display: none !important;
    }

    .header-icons {
        gap: 0.75rem;
        display: none !important;
    }

    .header-icons a {
        width: 38px;
        height: 38px;
        font-size: 1.2rem;
    }

    .logo-text {
        font-size: 1.55rem;
    }

    .rotating-words span {
        font-size: 1.55rem;
    }

    /* Native app bottom navigation */
    body {
        padding-bottom: calc(76px + env(safe-area-inset-bottom)) !important;
    }

    .mobile-bottom-nav {
        position: fixed !important;
        left: 12px !important;
        right: 12px !important;
        bottom: calc(10px + env(safe-area-inset-bottom)) !important;
        height: 64px !important;
        border-radius: 22px !important;
        background: rgba(255, 255, 255, 0.92) !important;
        border: 1px solid rgba(0, 0, 0, 0.06) !important;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.14) !important;
        backdrop-filter: blur(14px) !important;
        z-index: 1500 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 0 10px !important;
    }

    .mobile-bottom-nav a {
        flex: 1;
        min-width: 0;
        text-decoration: none;
        color: var(--muted-text);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        padding: 10px 6px;
        border-radius: 16px;
        transition: var(--transition-fast);
        position: relative;
    }

    .mobile-bottom-nav a i {
        font-size: 1.25rem;
        line-height: 1;
    }

    .mobile-bottom-nav a span {
        font-size: 0.68rem;
        font-weight: 700;
        letter-spacing: 0.2px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }

    .mobile-bottom-nav a.active {
        color: var(--dark-text);
        background: rgba(251, 176, 59, 0.18);
    }

    .mobile-bottom-nav a.active i {
        color: var(--primary-orange-dark);
    }

    .mobile-bottom-nav .nav-cart-badge {
        position: absolute;
        top: 6px;
        right: 14px;
        background: var(--primary-orange);
        color: white;
        font-size: 0.62rem;
        font-weight: 900;
        min-width: 18px;
        height: 18px;
        padding: 0 6px;
        border-radius: 999px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 2px solid rgba(255, 255, 255, 0.95);
        box-shadow: var(--shadow-sm);
    }

    /* Hide footer on mobile */
    footer {
        display: none !important;
    }

    /* Responsive hero */
    .hero {
        padding: 2.5rem 5% 2rem;
        min-height: 40vh;
    }

    .hero h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-search {
        max-width: 100%;
        margin: 0 1rem;
    }

    .hero-search input {
        font-size: 0.95rem;
        padding: 0 1rem;
    }

    .hero-search button {
        width: 40px;
        height: 40px;
    }

    /* Responsive sections */
    section {
        padding: 3rem 5%;
    }

    .section-title h2 {
        font-size: 1.5rem;
    }

    /* Category grid responsive */
    .cat-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .cat-card {
        padding: 0.8rem;
    }

    .cat-card .cat-image-container {
        width: 60px;
        height: 60px;
    }

    .cat-card h3 {
        font-size: 0.8rem;
    }

    .cat-card.big .cat-image-container {
        width: 80px;
        height: 80px;
    }

    .cat-card.big h3 {
        font-size: 0.9rem;
    }

    /* Product grid responsive */
    .products-container {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 1rem;
    }

    .product-img-box {
        padding: 1rem;
        margin-bottom: 1rem;
    }

    .product-item h4 {
        font-size: 1rem;
    }

    .price-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    /* Newsletter responsive */
    .newsletter-orange {
        padding: 2.5rem 5%;
    }

    .newsletter-orange h2 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }

    .newsletter-box {
        max-width: 100%;
        margin: 0 1rem;
    }

    .newsletter-box input {
        padding: 0 1rem;
        font-size: 0.95rem;
    }

    .newsletter-box button {
        width: 40px;
        height: 40px;
    }

    /* Brands responsive */
    .brands-row {
        padding: 1.5rem 5%;
        gap: 1rem;
    }

    .brands-row img {
        max-height: 30px;
        object-fit: contain;
    }

    /* Cart table responsive */
    .cart-table {
        font-size: 0.9rem;
    }

    .cart-table th,
    .cart-table td {
        padding: 0.75rem 0.5rem;
    }

    .cart-table img {
        width: 50px;
        height: 50px;
    }

    /* Offer badges responsive */
    .sale-tag,
    .offer-badge,
    .new-badge {
        font-size: 0.55rem;
        padding: 4px 8px;
        top: 8px;
    }

    .sale-tag {
        left: 8px;
    }

    .offer-badge {
        right: 8px;
    }

    .new-badge {
        left: 8px;
    }

    /* Shop sidebar responsive */
    .shop-sidebar {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    /* Profile page responsive */
    .account-hero {
        padding: 2rem 5%;
        min-height: 30vh;
    }

    .account-hero-inner {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .account-hero h1 {
        font-size: 1.8rem;
    }

    .account-hero p {
        font-size: 0.95rem;
    }

    .account-layout {
        padding: 2rem 5%;
        flex-direction: column;
        gap: 1.5rem;
    }

    .account-sidebar {
        width: 100%;
        display: flex;
        gap: 0.5rem;
        padding: 1rem;
        overflow-x: auto;
    }

    .account-tab {
        min-width: 120px;
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
        white-space: nowrap;
    }

    .account-content {
        width: 100%;
    }

    .panel-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .panel-card {
        padding: 1.5rem;
    }

    .card-head h2 {
        font-size: 1.2rem;
    }

    .profile-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }

    .profile-avatar {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .mini-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .quick-actions {
        flex-direction: column;
        gap: 0.75rem;
    }

    .quick-link {
        padding: 1rem;
        font-size: 0.9rem;
    }

    /* Account table responsive */
    .account-table {
        font-size: 0.85rem;
    }

    .account-table th,
    .account-table td {
        padding: 0.75rem 0.25rem;
    }

    .settings-grid {
        gap: 1rem;
    }

    .settings-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        padding: 1rem;
    }

    .settings-item button {
        width: 100%;
        justify-content: center;
    }

    /* Contact page responsive */
    .contact-section {
        padding: 3rem 5%;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-info h2 {
        font-size: 1.5rem;
    }

    .contact-item {
        padding: 1rem;
    }

    .contact-item i {
        font-size: 1.2rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .form-group {
        margin-bottom: 1.5rem;
    }

    .form-group label {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.75rem;
        font-size: 0.95rem;
    }

    /* Blog page responsive */
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .blog-card {
        padding: 1.5rem;
    }

    .blog-card h3 {
        font-size: 1.2rem;
    }

    .blog-meta {
        font-size: 0.85rem;
    }

    /* Login/Signup pages responsive */
    .auth-container {
        padding: 2rem 5%;
        min-height: 60vh;
    }

    .auth-card {
        padding: 2rem;
        max-width: 100%;
    }

    .auth-card h2 {
        font-size: 1.8rem;
    }

    .auth-form .form-group {
        margin-bottom: 1.5rem;
    }

    .auth-form input {
        padding: 0.75rem;
        font-size: 0.95rem;
    }

    .auth-btn {
        padding: 0.75rem 2rem;
        font-size: 1rem;
    }

    /* Product page responsive */
    .product-single {
        padding: 3rem 5%;
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .product-images {
        gap: 1rem;
    }

    .main-image {
        height: 300px;
    }

    .thumbnail {
        width: 60px;
        height: 60px;
    }

    .product-info h1 {
        font-size: 1.8rem;
    }

    .product-price {
        font-size: 1.5rem;
    }

    .product-actions {
        flex-direction: column;
        gap: 1rem;
    }

    .quantity-selector {
        width: 100%;
        justify-content: center;
    }

    .add-to-cart {
        width: 100%;
        padding: 1rem;
    }

    /* Checkout page responsive */
    .checkout-container {
        padding: 3rem 5%;
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .checkout-section {
        padding: 1.5rem;
    }

    .checkout-section h3 {
        font-size: 1.3rem;
    }

    .payment-methods {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .order-summary {
        position: static;
        margin-top: 2rem;
    }

    /* Legal page responsive */
    .legal-container {
        padding: 3rem 5%;
    }

    .legal-section h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .legal-section h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .legal-section p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    /* Shop sidebar responsive */
    .shop-sidebar {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    @media (max-width: 360px) {
        header {
            padding: 0.9rem 0.8rem;
        }

        .logo-text {
            font-size: 1.35rem;
        }

        .rotating-words span {
            font-size: 1.35rem;
        }

        .mobile-bottom-nav {
            left: 8px;
            right: 8px;
        }
    }

    @media (max-width: 320px) {
        .mobile-bottom-nav a span {
            font-size: 0.62rem;
        }
    }
}

/* Shipping Progress Bar */
.shipping-progress-container {
    background: #f4f4f4;
    border-radius: 50px;
    height: 8px;
    width: 100%;
    margin: 1.5rem 0;
    overflow: hidden;
    position: relative;
}

.shipping-progress-bar {
    height: 100%;
    background: var(--primary-orange);
    width: 0%;
    transition: width 1s ease-in-out;
    border-radius: 50px;
    position: relative;
}

.shipping-progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.3) 50%,
            rgba(255, 255, 255, 0) 100%);
    animation: shipping-shimmer 2s infinite;
}

@keyframes shipping-shimmer {
    0% {
        transform: translateX(-100%);
    }

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

.shipping-nudge {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--dark-text);
    margin-bottom: 0.5rem;
}

.shipping-nudge strong {
    color: var(--primary-orange-dark);
}

/* Shipping Method Cards */
.shipping-methods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 2rem 0;
}

.shipping-card {
    border: 2px solid #eee;
    border-radius: var(--radius-md);
    padding: 1.5rem;
    cursor: pointer;
    transition: var(--transition-fast);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.shipping-card:hover {
    border-color: var(--primary-orange);
    background: var(--soft-peach);
}

.shipping-card.active {
    border-color: var(--primary-orange);
    background: var(--soft-peach);
    box-shadow: var(--shadow-sm);
}

.shipping-card input {
    position: absolute;
    opacity: 0;
}

.shipping-card .method-name {
    font-weight: 700;
    font-size: 1rem;
}

.shipping-card .method-desc {
    font-size: 0.8rem;
    color: var(--muted-text);
}

.shipping-card .method-price {
    font-weight: 800;
    font-size: 1.1rem;
    margin-top: auto;
}

.shipping-card .check-icon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: var(--primary-orange);
    opacity: 0;
    transform: scale(0.5);
    transition: var(--transition-fast);
}

.shipping-card.active .check-icon {
    opacity: 1;
    transform: scale(1);
}

/* Shipping Progress Bar */
.shipping-progress-container {
    background: #f4f4f4;
    border-radius: 50px;
    height: 8px;
    width: 100%;
    margin: 1.5rem 0;
    overflow: hidden;
    position: relative;
}

.shipping-progress-bar {
    height: 100%;
    background: var(--primary-orange);
    width: 0%;
    transition: width 1s ease-in-out;
    border-radius: 50px;
    position: relative;
}

.shipping-progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.3) 50%,
            rgba(255, 255, 255, 0) 100%);
    animation: shipping-shimmer 2s infinite;
}

@keyframes shipping-shimmer {
    0% {
        transform: translateX(-100%);
    }

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

.shipping-nudge {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--dark-text);
    margin-bottom: 0.5rem;
}

.shipping-nudge strong {
    color: var(--primary-orange-dark);
}

/* Shipping Method Cards */
.shipping-methods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 2rem 0;
}

.shipping-card {
    border: 2px solid #eee;
    border-radius: var(--radius-md);
    padding: 1.5rem;
    cursor: pointer;
    transition: var(--transition-fast);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.shipping-card:hover {
    border-color: var(--primary-orange);
    background: var(--soft-peach);
}

.shipping-card.active {
    border-color: var(--primary-orange);
    background: var(--soft-peach);
    box-shadow: var(--shadow-sm);
}

.shipping-card input {
    position: absolute;
    opacity: 0;
}

.shipping-card .method-name {
    font-weight: 700;
    font-size: 1rem;
}

.shipping-card .method-desc {
    font-size: 0.8rem;
    color: var(--muted-text);
}

.shipping-card .method-price {
    font-weight: 800;
    font-size: 1.1rem;
    margin-top: auto;
}

.shipping-card .check-icon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: var(--primary-orange);
    opacity: 0;
    transform: scale(0.5);
    transition: var(--transition-fast);
}

.shipping-card.active .check-icon {
    opacity: 1;
    transform: scale(1);
}

/* Cart and Checkout Layouts */
.cart-main {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 4rem;
    padding: 5rem 10%;
}

.checkout-main {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 5rem;
    padding: 5rem 10%;
}

/* Custom Checkbox Styling */
.custom-checkbox-container {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 0.95rem;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    transition: var(--transition-fast);
}

.custom-checkbox-container:hover {
    color: var(--primary-orange);
}

.custom-checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 22px;
    width: 22px;
    background-color: #fff;
    border: 2px solid #ddd;
    border-radius: 6px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.custom-checkbox-container:hover input~.checkmark {
    border-color: var(--primary-orange);
}

.custom-checkbox-container input:checked~.checkmark {
    background-color: var(--primary-orange);
    border-color: var(--primary-orange);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.custom-checkbox-container input:checked~.checkmark:after {
    display: block;
}

.custom-checkbox-container .checkmark:after {
    left: 7px;
    top: 3px;
    width: 6px;
    height: 11px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.label-text {
    line-height: 1.2;
    font-weight: 500;
}
/* Horizontal Scroll for Products */
.product-scroll-wrapper {
    position: relative;
    padding: 0 1rem;
}

.product-scroll-container {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 1.5rem;
    padding: 1rem 0 2rem; 
    -ms-overflow-style: none; 
    scrollbar-width: none; 
}

.product-scroll-container::-webkit-scrollbar {
    display: none; 
}

/* Override Grid behavior for Scroll Mode */
.product-scroll-container .product-item {
    flex: 0 0 280px; 
    min-width: 280px;
    width: 280px;
}

@media (max-width: 768px) {
    .product-scroll-container .product-item {
        flex: 0 0 240px;
        min-width: 240px;
        width: 240px;
    }
}
