@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    /* Brand Colors - Reverted */
    --primary: #001F52;
    /* Deep Navy - Original */
    --secondary: #00458B;
    /* Royal Blue - Original */
    --accent: #FDB913;
    /* Golden Yellow */
    --alert: #ef4444;
    --success: #10b981;

    /* Backgrounds */
    --bg-body: #f8fafc;
    --bg-card: #ffffff;
    --bg-header: #001F52;
    /* Deep Navy */

    /* Text Colors */
    --text-primary: #1e293b;
    /* Slate 800 */
    --text-secondary: #64748b;
    /* Slate 500 */
    --text-white: #ffffff;

    /* Borders & Shadows */
    --border-light: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);

    /* Misc */
    --header-height: 80px;
    --max-width: 1280px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius: 8px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-body);
    font-family: 'Outfit', sans-serif;
    color: var(--text-primary);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

button,
input,
select {
    font-family: inherit;
    outline: none;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.025em;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-transform: uppercase;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, #d97706 100%);
    color: white;
    box-shadow: 0 4px 6px rgba(245, 158, 11, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(245, 158, 11, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--text-primary);
    border: 1px solid var(--border-light);
}

.btn-secondary:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.btn-buy {
    background: linear-gradient(135deg, #fb923c 0%, #ea580c 100%);
    /* Orange Gradient */
    color: white;
    width: 100%;
}

.btn-buy:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(234, 88, 12, 0.3);
}

/* --- UTILS --- */
.flex {
    display: flex;
}

.align-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.justify-center {
    justify-content: center;
}

.flex-column {
    flex-direction: column;
}

.gap-8 {
    gap: 0.5rem;
}

.gap-16 {
    gap: 1rem;
}

.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 1.25rem;
}

/* Animations */
.fade-in {
    animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mb-20 {
    margin-bottom: 1.25rem;
}

/* --- LOGIN PAGE --- */
.login-container {
    max-width: 800px;
    margin: 2rem auto;
    display: flex;
    box-shadow: var(--shadow-lg);
    background: #fff;
    overflow: hidden;
    border-radius: var(--radius);
}

.login-info-panel {
    width: 40%;
    background: var(--secondary);
    color: #fff;
    padding: 40px;
    display: flex;
    flex-direction: column;
}

.login-info-panel h1 {
    font-size: 28px;
    margin-bottom: 16px;
    font-weight: 500;
}

.login-info-panel p {
    font-size: 18px;
    color: #dbdbdb;
    line-height: 1.4;
}

.login-info-panel img {
    width: 100%;
    margin-top: auto;
    opacity: 0.5;
}

.login-form-panel {
    width: 60%;
    padding: 50px 40px;
}

.f-login-input {
    width: 100%;
    border: none;
    border-bottom: 1px solid var(--border-light);
    padding: 8px 0;
    font-size: 16px;
    transition: border-color 0.3s;
}

.f-login-input:focus {
    border-bottom-color: var(--secondary);
}

@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
    }

    .login-info-panel {
        width: 100%;
        padding: 30px;
    }

    .login-info-panel img {
        display: none;
    }

    .login-form-panel {
        width: 100%;
        padding: 30px;
    }

    .category-strip {
        gap: 20px;
        justify-content: flex-start;
    }

    .desktop-social-icons {
        display: none !important;
    }
}

.p-card .p-img-wrap {
    width: 100%;
    aspect-ratio: 1/1;
    /* Square ratio */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 12px;
}

.p-card .p-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Ensure image fits without stretching */
}

/* Cart Item Quantity Box Fix */
.cart-item-img .flex.align-center {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    min-width: 100px;
}

/* --- HEADER --- */
.main-header {
    background: var(--bg-header);
    height: auto;
    /* Changed for mobile stacking */
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-md);
    color: white;
}

@media (min-width: 769px) {
    .main-header {
        display: flex;
        align-items: center;
        height: var(--header-height);
    }
}

.notranslate {
    translate: no;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;
    gap: 2rem;
}

.brand-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-img {
    height: 70px;
    /* Big but fits in header */
    width: auto;
    object-fit: contain;
}

.mobile-toggle {
    display: none;
    font-size: 20px;
    cursor: pointer;
    margin-right: 15px;
}

/* Search Bar */
.search-container {
    flex-grow: 1;
    max-width: 600px;
    position: relative;
    background: #fff;
    border-radius: 2px;
    height: 38px;
    display: flex;
    align-items: center;
    padding: 0 12px;
}

.search-container input {
    width: 100%;
    border: none;
    font-size: 14px;
    color: #212121;
    padding: 8px 0;
}

.search-container i {
    color: var(--primary);
    font-size: 16px;
    cursor: pointer;
    margin-left: 10px;
}

/* Nav Menu */
.header-nav {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-shrink: 0;
}

.nav-item {
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    text-decoration: none;
    transition: var(--transition);
}

.nav-item:hover {
    color: var(--accent);
}

.login-btn span {
    background: #fff;
    color: var(--primary);
    padding: 6px 30px;
    font-weight: 700;
    border-radius: 2px;
    font-size: 15px;
}

.cart-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.cart-count-badge {
    background: var(--alert);
    color: white;
    font-size: 10px;
    padding: 2px 5px;
    border-radius: 10px;
    position: absolute;
    top: -10px;
    right: -10px;
    border: 1px solid var(--primary);
}

/* Mobile Search Bar Area */
.mobile-search-bar {
    display: none;
    background: white;
    padding: 10px 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    /* Separator line if needed */
}

/* Row wrapping the search input (80%) and button (20%) */
.mobile-search-row {
    display: flex;
    gap: 10px;
    align-items: center;
    width: 100%;
}

.mobile-search-container {
    flex: 4;
    /* Approx 80% */
    position: relative;
    background: #f1f5f9;
    border-radius: 4px;
    height: 40px;
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
}

.mobile-search-container input {
    width: 100%;
    height: 100%;
    border: none;
    background: transparent;
    padding: 0 10px;
    outline: none;
    color: #333;
}

.mobile-search-container i {
    padding: 0 10px;
    color: #666;
}

/* The small modification button */
.mobile-mod-btn {
    flex: 1;
    /* Approx 20% */
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, #ff0000, #cc0000);
    color: white !important;
    border-radius: 4px;
    font-size: 18px;
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .mobile-search-bar {
        display: block;
        padding: 10px 1rem;
    }
}

/* --- BUTTONS --- */
.btn {
    padding: 12px 24px;
    border-radius: 2px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    text-transform: uppercase;
    font-size: 14px;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--primary);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    background-color: #f7b002;
}

.btn-secondary {
    background-color: var(--bg-card);
    color: var(--secondary);
    border: 1px solid var(--border-light);
}

.btn-secondary:hover {
    background-color: #f9f9f9;
}

.btn-buy {
    background-color: #fb641b;
    /* Flipkart Orange for Buy Now */
    color: white;
    padding: 18px 32px;
    font-size: 16px;
    width: 200px;
}

.btn-cart {
    background-color: var(--accent);
    color: var(--primary);
    padding: 18px 32px;
    font-size: 16px;
    width: 200px;
}

/* --- CARDS & GRID --- */
.section {
    background: var(--bg-card);
    margin-top: 10px;
    padding: 16px;
    box-shadow: var(--shadow-sm);
}

.section-title {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* --- CARDS & GRID --- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
    background: transparent;
    margin-bottom: 3rem;
}

.p-card-wrapper {
    height: 100%;
}

.p-card {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 1rem;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
}

.p-card:hover {
    border-color: var(--secondary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.p-img-wrap {
    width: 100%;
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    background: #f8fafc;
    border-radius: 4px;
    padding: 0.5rem;
}

.p-img-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.p-meta {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.p-name {
    font-size: 14px;
    font-weight: 400;
    color: #212121;
    margin-bottom: 8px;
    line-height: 1.4;
    height: 40px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.p-rating-badge {
    background: var(--success);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    margin-bottom: 8px;
    width: fit-content;
}

.p-price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 12px;
}

.p-price {
    font-size: 16px;
    font-weight: 700;
    color: #212121;
}

.p-price-old {
    font-size: 13px;
    color: #878787;
    text-decoration: line-through;
}

.p-discount {
    font-size: 13px;
    color: var(--success);
    font-weight: 500;
}

.p-add-btn {
    margin-top: auto;
    width: 100%;
    background: #fff;
    color: var(--secondary);
    border: 1px solid var(--border-light);
    padding: 10px;
    font-weight: 700;
    font-size: 12px;
    border-radius: 2px;
    cursor: pointer;
    transition: 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.p-add-btn:hover {
    background: var(--secondary);
    color: #fff;
    border-color: var(--secondary);
}

/* --- HERO SLIDER --- */
.hero-slider {
    margin-top: 10px;
    position: relative;
    height: 340px;
    overflow: hidden;
    background: #000;
}

.slider-container {
    height: 100%;
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
    z-index: 1;
    mask-image: linear-gradient(to right, black 50%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, black 50%, transparent 100%);
}

.slide-content {
    position: relative;
    z-index: 5;
    width: 50%;
    padding: 0 60px;
}

.slide-content h1 {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.2;
}

.slide-content p {
    font-size: 18px;
    color: #dbdbdb;
    margin-bottom: 24px;
}

.slide-prod-img {
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    width: 40%;
    height: 80%;
    object-fit: contain;
    z-index: 3;
}

/* Slider Controls */
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 8px;
    height: 8px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--secondary);
    width: 20px;
    border-radius: 4px;
}

@media (max-width: 768px) {
    .hero-slider {
        height: 200px;
    }

    .slide-content {
        width: 100%;
        padding: 0 20px;
        text-align: left;
    }

    .slide-content h1 {
        font-size: 18px;
        margin-bottom: 8px;
    }

    .slide-content p {
        font-size: 12px;
        margin-bottom: 16px;
    }

    .slide-prod-img {
        width: 40%;
        right: 10px;
        height: 70%;
    }

    .slide-bg {
        width: 100%;
    }

    .btn-primary.slider-btn {
        padding: 8px 16px;
        font-size: 11px;
    }
}

/* --- CATEGORY STRIP --- */
/* --- CATEGORY STRIP --- */
.category-strip {
    background: var(--bg-card);
    padding: 10px 15px;
    display: flex;
    justify-content: flex-start;
    /* Changed from center for scrollability */
    gap: 20px;
    box-shadow: var(--shadow-sm);
    margin-top: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    scrollbar-width: none;
    /* Hide scrollbar Firefox */
}

.category-strip::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar Chrome/Safari */
}

.cat-item {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    flex-shrink: 0;
    width: 80px;
    /* Fixed width for consistency */
}

.cat-item img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    transition: transform 0.2s;
}

.cat-item span {
    font-size: 13px;
    font-weight: 500;
    text-align: center;
    white-space: normal;
    /* Allow text wrapping if needed */
    line-height: 1.2;
}

.cat-item:hover img {
    transform: scale(1.1);
}

@media (min-width: 768px) {
    .category-strip {
        justify-content: center;
        gap: 40px;
    }

    .cat-item {
        width: auto;
        min-width: 80px;
    }

    .cat-item img {
        width: 64px;
        height: 64px;
    }

    .cat-item span {
        font-size: 14px;
    }
}

/* --- FOOTER --- */
footer {
    background-color: var(--primary);
    color: var(--text-white);
    padding: 40px 0;
    margin-top: 40px;
    font-size: 12px;
}

.footer-cols {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
    padding-bottom: 40px;
}

.footer-heading {
    color: #878787;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    font-size: 13px;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-address-col p {
    color: #fff;
    font-size: 12px;
    line-height: 1.6;
    margin-bottom: 5px;
}

/* Trust Badges */
.footer-trust-badges {
    margin-top: 40px;
    padding: 30px 0;
    border-top: 1px solid #454d5e;
    border-bottom: 1px solid #454d5e;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
}

.badge-item i {
    font-size: 28px;
    color: var(--accent);
}

.badge-item span {
    color: #fff;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.4;
}

.badge-item small {
    color: #878787;
    font-size: 11px;
    font-weight: 400;
}

.footer-bottom {
    padding: 25px 0;
    text-align: center;
    color: #878787;
    font-size: 12px;
}


/* --- BLOG & CMS --- */
.blog-hero {
    background: var(--primary);
    color: #fff;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.blog-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(40, 116, 240, 0.1) 0%, transparent 70%);
}

.blog-hero h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    position: relative;
}

.blog-hero p {
    font-size: 20px;
    color: #dbdbdb;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Featured Card */
.blog-featured-section {
    margin-bottom: 60px;
}

.featured-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

.featured-img-box {
    position: relative;
    height: 480px;
}

.featured-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-tag {
    position: absolute;
    top: 24px;
    left: 24px;
    background: var(--secondary);
    color: #fff;
    padding: 6px 16px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 1px;
}

.featured-info {
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog-meta {
    margin-bottom: 20px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    display: flex;
    gap: 20px;
}

.blog-meta .cat {
    color: var(--secondary);
}

.blog-meta .date {
    color: #878787;
}

.featured-info h2 {
    font-size: 36px;
    margin-bottom: 20px;
    line-height: 1.3;
    color: #1a1a1a;
}

.featured-info p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
}

.read-more-btn {
    font-weight: 800;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: gap 0.3s;
}

.featured-card:hover .read-more-btn {
    gap: 15px;
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.blog-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.blog-card-img {
    height: 220px;
    position: relative;
    overflow: hidden;
}

.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.blog-card:hover .blog-card-img img {
    transform: scale(1.08);
}

.blog-card-body {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-body h3 {
    font-size: 20px;
    margin-bottom: 12px;
    line-height: 1.4;
    color: #1a1a1a;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-body p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-link {
    margin-top: auto;
    font-weight: 700;
    font-size: 13px;
    color: var(--secondary);
}

.cms-article {
    max-width: 800px;
    margin: 40px auto;
    background: #fff;
    padding: 60px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    border: 1px solid #f0f0f0;
}

.cms-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 24px;
    color: #1a1a1a;
    line-height: 1.2;
}

.cms-meta {
    font-size: 14px;
    color: #878787;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.cms-content {
    font-size: 17px;
    line-height: 1.8;
    color: #333;
}

.cms-content p {
    margin-bottom: 25px;
}

.cms-content h2,
.cms-content h3 {
    margin: 45px 0 20px;
    color: #1a1a1a;
    font-weight: 800;
}

.cms-content h2 {
    font-size: 28px;
}

.cms-content ul,
.cms-content ol {
    margin-bottom: 25px;
    padding-left: 24px;
}

.cms-content li {
    margin-bottom: 12px;
}

.cms-content blockquote {
    border-left: 5px solid var(--secondary);
    padding: 30px 40px;
    margin: 40px 0;
    background: #f8faff;
    font-style: italic;
    font-size: 1.2rem;
    color: #334155;
    border-radius: 0 12px 12px 0;
}

.cms-featured-img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 45px;
}

@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .featured-card {
        grid-template-columns: 1fr;
    }

    .featured-img-box {
        height: 350px;
    }

    .featured-info {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .blog-hero {
        padding: 50px 0;
    }

    .blog-hero h1 {
        font-size: 32px;
    }

    .blog-hero p {
        font-size: 16px;
        padding: 0 15px;
    }

    .blog-archive-layout {
        padding: 30px 15px !important;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .featured-img-box {
        height: 250px;
    }

    .featured-info {
        padding: 30px 20px;
    }

    .featured-info h2 {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .featured-info p {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .blog-card-body {
        padding: 20px;
    }

    .blog-card-body h3 {
        font-size: 18px;
    }

    .cms-article {
        padding: 40px 20px;
        margin: 0;
        border-radius: 0;
        box-shadow: none;
        border: none;
    }

    .cms-title {
        font-size: 26px;
        line-height: 1.3;
    }

    .cms-featured-img {
        height: 240px;
        margin-bottom: 30px;
        border-radius: 8px;
    }

    .cms-content {
        font-size: 16px;
        line-height: 1.8;
    }
}

@media (max-width: 480px) {
    .blog-hero h1 {
        font-size: 28px;
    }

    .featured-info h2 {
        font-size: 20px;
    }

    .blog-meta {
        gap: 10px;
        font-size: 11px;
    }
}

.cms-breadcrumb a:hover {
    color: var(--secondary);
}

@media (max-width: 768px) {
    .cms-article {
        padding: 32px 20px;
        margin: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .cms-title {
        font-size: 26px;
        line-height: 1.3;
    }

    .cms-featured-img {
        height: 220px;
        margin-bottom: 24px;
        border-radius: 4px;
    }

    .cms-content {
        font-size: 16px;
        line-height: 1.7;
    }
}

/* --- CART PAGE --- */
.cart-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 16px;
    margin-top: 10px;
}

.cart-items-box {
    background: var(--bg-card);
    box-shadow: var(--shadow-sm);
}

.cart-header {
    padding: 16px;
    border-bottom: 1px solid var(--border-light);
    font-weight: 500;
    font-size: 18px;
}

.cart-item {
    display: flex;
    padding: 24px;
    border-bottom: 1px solid var(--border-light);
    gap: 24px;
}

.cart-item-img {
    width: 112px;
    height: 112px;
}

.cart-item-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cart-item-info {
    flex-grow: 1;
}

.cart-item-title {
    font-size: 16px;
    margin-bottom: 8px;
}

.cart-item-price {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}

.price-summary-box {
    background: var(--bg-card);
    box-shadow: var(--shadow-sm);
    padding: 16px;
    height: fit-content;
}

.summary-title {
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 16px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
    font-size: 16px;
}

.total-row {
    font-weight: 700;
    font-size: 18px;
    border-top: 1px dashed var(--border-light);
    padding-top: 16px;
    margin-top: 16px;
}

/* SIDE MENU MOBILE */
.mobile-side-menu {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100%;
    background: #fff;
    z-index: 2000;
    transition: 0.3s ease;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
}

.mobile-side-menu.active {
    left: 0;
}

.side-menu-header {
    background: var(--primary);
    color: #fff;
    padding: 20px 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 500;
}

.close-menu {
    margin-left: auto;
    cursor: pointer;
    font-size: 20px;
}

.side-menu-body {
    padding: 15px 0;
}

.side-menu-body a {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 20px;
    color: #212121;
    font-size: 14px;
    text-decoration: none;
}

.side-menu-body a i {
    width: 20px;
    color: #878787;
}

.divider {
    height: 1px;
    background: #f0f0f0;
    margin: 8px 0;
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1900;
    display: none;
}

.menu-overlay.active {
    display: block;
}


/* --- SHOP PAGE LAYOUT --- */
.shop-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 16px;
}

.shop-sidebar {
    background: #fff;
    padding: 0;
    border-radius: 2px;
    height: fit-content;
}

.sidebar-header {
    background: #fff;
    padding: 12px 16px;
    font-size: 16px;
    font-weight: 600;
    border-bottom: 1px solid var(--border-light);
}

.sidebar-group {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-light);
}

.sidebar-group:last-child {
    border-bottom: none;
}

.sidebar-group p {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
    color: #212121;
}

.sidebar-group ul li a {
    font-size: 14px;
    color: #212121;
    display: block;
    margin-bottom: 8px;
    transition: 0.2s;
}

.sidebar-group ul li a:hover,
.sidebar-group ul li a.active {
    color: var(--secondary);
    font-weight: 500;
}

.price-input-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
}

.price-input-row input {
    width: 100%;
    padding: 6px 8px;
    border: 1px solid var(--border-light);
    font-size: 13px;
}

.shop-header {
    padding: 16px;
    border-bottom: 1px solid var(--border-light);
    background: #fff;
}

.shop-header h1 {
    font-size: 16px;
    font-weight: 500;
}

.shop-header h1 span {
    font-size: 12px;
    color: var(--text-secondary);
    margin-left: 8px;
}

.shop-sort {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 12px;
    font-size: 14px;
}

.sort-label {
    font-weight: 700;
}

.shop-sort a.active {
    color: var(--secondary);
    border-bottom: 2px solid var(--secondary);
    font-weight: 700;
    padding-bottom: 2px;
}

/* --- PRODUCT PAGE LAYOUT --- */
.p-layout {
    display: grid;
    grid-template-columns: 460px 1fr;
    gap: 32px;
    margin-top: 10px;
    background: #fff;
    padding: 24px;
    border-radius: 4px;
    box-shadow: var(--shadow-sm);
    align-items: start;
}

.p-left {
    position: sticky;
    top: calc(var(--header-height) + 12px);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.p-gallery {
    display: flex;
    gap: 12px;
}

.p-thumb-strip {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-shrink: 0;
}

.p-thumb {
    width: 64px;
    height: 64px;
    border: 1px solid var(--border-light);
    border-radius: 2px;
    padding: 4px;
    cursor: pointer;
    background: #fff;
    transition: var(--transition);
}

.p-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.p-thumb:hover,
.p-thumb.active {
    border-color: var(--secondary);
    box-shadow: 0 0 0 1px var(--secondary);
}

.p-main-img-box {
    flex-grow: 1;
    height: 460px;
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 2px;
    cursor: pointer;
}

.p-main-img-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.p-actions {
    display: flex;
    gap: 12px;
}

.p-actions .btn {
    flex: 1;
    height: 56px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 2px;
}

.btn-cart {
    background: #ff9f00;
    color: #fff;
}

.btn-buy {
    background: #fb641b;
    color: #fff;
}

/* Right Details */
.p-right {
    display: flex;
    flex-direction: column;
}

.p-breadcrumb {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.p-breadcrumb a {
    color: var(--text-secondary);
}

.p-breadcrumb i {
    font-size: 10px;
    margin: 0 4px;
}

.p-breadcrumb span {
    color: var(--text-primary);
}

.p-detail-title {
    font-size: 20px;
    font-weight: 400;
    line-height: 1.4;
    color: #212121;
    margin-bottom: 8px;
}

.p-rating-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.p-rating-badge {
    background-color: var(--success);
    color: white;
    font-size: 12px;
    padding: 1px 6px;
    border-radius: 3px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 3px;
}

.p-rating-text {
    font-size: 14px;
    color: #878787;
    font-weight: 500;
}

.p-detail-price-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 16px 0;
}

.p-detail-price {
    font-size: 28px;
    font-weight: 600;
    color: #212121;
}

.p-detail-price-old {
    font-size: 16px;
    color: #878787;
    text-decoration: line-through;
}

.p-detail-discount {
    font-size: 16px;
    color: var(--success);
    font-weight: 600;
}

.p-offers {
    margin: 24px 0;
}

.p-offers p {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

.offer-item {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.5;
}

.offer-item i {
    color: var(--success);
    font-size: 16px;
    margin-top: 2px;
}

.p-highlights,
.p-description,
.p-services {
    margin-top: 24px;
    border-top: 1px solid var(--border-light);
    padding-top: 20px;
}

.p-highlights p,
.p-description p,
.p-services p {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
}

.p-highlights ul {
    padding-left: 20px;
}

.p-highlights li {
    list-style: disc;
    margin-bottom: 8px;
    font-size: 14px;
}

.p-desc-content {
    font-size: 14px;
    line-height: 1.6;
    color: #212121;
}

.service-row {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 500;
}

.service-item i {
    color: var(--secondary);
    font-size: 20px;
}

/* Promo Banners */
.promo-banners {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 24px;
}

.promo-card {
    border-radius: 12px;
    padding: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
    min-height: 220px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.promo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.promo-card.orange {
    background: linear-gradient(135deg, #ff9c2b 0%, #ff7e1d 100%);
    color: #fff;
}

.promo-card.blue {
    background: #e3f2ff;
    color: #1a1a1a;
}

.promo-card.red {
    background: linear-gradient(135deg, #a80000 0%, #7d0000 100%);
    color: #fff;
}

.promo-content {
    flex: 1;
    z-index: 2;
}

.promo-content h3 {
    font-size: 26px;
    font-weight: 900;
    margin-bottom: 5px;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.promo-content p {
    font-size: 15px;
    margin-bottom: 25px;
    opacity: 0.95;
    font-weight: 500;
}

.promo-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: #000;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 800;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.promo-btn:hover {
    background: #f8f9fa;
    gap: 15px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.promo-card img {
    max-width: 50%;
    max-height: 180px;
    height: auto;
    object-fit: contain;
    z-index: 1;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.15));
    transition: transform 0.5s ease;
}

.promo-card:hover img {
    transform: scale(1.08) rotate(2deg);
}

@media (max-width: 992px) {
    .promo-banners {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .promo-banners {
        grid-template-columns: 1fr;
    }

    .promo-card {
        padding: 24px;
        min-height: 180px;
    }

    .promo-content h3 {
        font-size: 22px;
    }
}

/* --- CART & CHECKOUT LAYOUT --- */
.cart-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 16px;
    margin-top: 20px;
}

.cart-items-box {
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.cart-header {
    padding: 16px 24px;
    font-size: 18px;
    font-weight: 500;
    border-bottom: 1px solid var(--border-light);
}

.cart-item {
    display: flex;
    padding: 24px;
    border-bottom: 1px solid var(--border-light);
}

.cart-item-img {
    width: 112px;
    margin-right: 24px;
}

.cart-item-img img {
    width: 100%;
    height: 112px;
    object-fit: contain;
}

.cart-item-info {
    flex: 1;
}

.cart-item-title {
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 8px;
}

.price-summary-box {
    background: #fff;
    padding: 16px 24px;
    box-shadow: var(--shadow-sm);
    height: fit-content;
    position: sticky;
    top: calc(var(--header-height) + 20px);
}

.summary-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
    font-size: 15px;
}

.total-row {
    border-top: 1px dashed var(--border-light);
    margin-top: 20px;
    padding-top: 20px;
    font-size: 18px;
    font-weight: 600;
}

/* Coupon Input */
.coupon-box {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}

.coupon-input-row {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.coupon-input-row input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid var(--border-light);
}

.coupon-btn {
    background: var(--secondary);
    color: #fff;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
    font-weight: 600;
}

/* --- LOGIN & ACCOUNT --- */
.login-container {
    max-width: 850px;
    margin: 0 auto;
    background: #fff;
    display: flex;
    min-height: 520px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.login-info-panel {
    flex: 2;
    background: var(--secondary);
    color: #fff;
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
}

.login-info-panel h1 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 16px;
}

.login-info-panel p {
    font-size: 18px;
    color: #dbdbdb;
    line-height: 1.5;
}

.login-info-panel img {
    margin-top: auto;
    align-self: center;
    max-width: 100%;
}

.login-form-panel {
    flex: 3;
    padding: 56px 40px;
}

@media (max-width: 1200px) {
    .product-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .p-layout {
        grid-template-columns: 400px 1fr !important;
        gap: 24px;
    }
}

@media (max-width: 1024px) {
    .p-layout {
        grid-template-columns: 350px 1fr !important;
    }

    .p-main-img-box {
        height: 350px;
    }
}

@media (max-width: 768px) {

    /* Header */
    .header-content {
        height: 50px;
        padding: 0 12px;
    }

    .logo-img {
        height: 38px;
    }

    .desktop-search,
    .nav-label {
        display: none;
    }

    .mobile-toggle,
    .mobile-search-bar {
        display: block;
    }

    .header-nav {
        gap: 12px;
    }

    .login-btn span {
        padding: 4px 10px;
        font-size: 12px;
    }

    /* Layouts */
    .shop-layout {
        grid-template-columns: 1fr !important;
        width: 100%;
        overflow-x: hidden;
    }

    .shop-sidebar {
        display: none;
    }

    /* Account & Login Mobile */
    .login-container {
        flex-direction: column !important;
        height: auto !important;
        min-height: 0 !important;
    }

    .login-info-panel {
        padding: 32px 24px !important;
        text-align: center;
    }

    .login-info-panel h1 {
        font-size: 20px !important;
    }

    .login-info-panel img {
        display: none;
    }

    .login-form-panel {
        padding: 32px 24px !important;
    }

    /* Show sidebar on account page on mobile but stack it */
    body.is-account-page .shop-sidebar {
        display: block !important;
        width: 100% !important;
        margin-bottom: 12px;
    }

    body.is-account-page .shop-layout {
        display: flex !important;
        flex-direction: column !important;
    }

    .order-link-row {
        padding: 16px !important;
        flex-direction: column !important;
        gap: 12px !important;
        align-items: flex-start !important;
    }

    .order-link-row .p-status-box {
        margin-top: 8px;
    }

    .order-link-row>div {
        width: 100% !important;
        display: block !important;
    }

    .order-link-row img {
        width: 60px !important;
        height: 60px !important;
    }

    /* Order View Specific */
    body.is-account-page .shop-main .section {
        padding: 16px !important;
    }

    body.is-account-page h4 {
        font-size: 14px !important;
    }

    body.is-account-page .summary-row {
        font-size: 13px !important;
    }

    .cart-layout {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .cart-item {
        padding: 12px !important;
    }

    .cart-item-img {
        width: 80px !important;
        margin-right: 12px !important;
    }

    .cart-item-img img {
        height: 80px !important;
    }

    .checkout-step .step-content {
        padding: 12px !important;
    }

    .checkout-step .step-content div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }

    .p-layout {
        grid-template-columns: 1fr !important;
        padding: 16px !important;
        gap: 16px !important;
        width: 100% !important;
        overflow-x: hidden;
        margin-top: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .p-left {
        position: static;
    }

    .p-right {
        padding: 0 !important;
    }

    .p-detail-title {
        font-size: 16px !important;
        line-height: 1.4;
    }

    /* Product Page UI */
    .p-gallery {
        flex-direction: column-reverse !important;
        gap: 10px !important;
    }

    .p-thumb-strip {
        flex-direction: row !important;
        overflow-x: auto !important;
        padding-bottom: 8px !important;
    }

    .p-thumb {
        width: 48px !important;
        height: 48px !important;
        flex-shrink: 0 !important;
    }

    .p-main-img-box {
        height: auto !important;
        min-height: 250px !important;
        max-height: 380px !important;
        padding: 12px !important;
        width: 100%;
        border: none;
    }

    .p-actions {
        display: flex !important;
        gap: 8px !important;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: #fff;
        padding: 8px 12px;
        box-shadow: 0 -3px 12px rgba(0, 0, 0, 0.15);
        z-index: 1000;
        margin: 0 !important;
    }

    .p-actions button {
        flex: 1;
        height: 48px !important;
        font-size: 12px !important;
        font-weight: 700 !important;
        white-space: nowrap;
        padding: 0 8px !important;
        border-radius: 4px !important;
    }

    body.is-product-page {
        padding-bottom: 70px !important;
    }

    /* Home UI */
    .hero-slider {
        height: 480px;
    }

    .slide {
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 50px;
    }

    .slide-content {
        width: 100%;
        text-align: center;
        order: 1;
        padding: 0 20px;
    }

    .slide-content h1 {
        font-size: 28px;
        margin-bottom: 15px;
        line-height: 1.2;
    }

    .slide-content p {
        font-size: 14px;
        margin-bottom: 25px;
    }

    .slide-prod-img {
        position: absolute;
        padding-bottom: 110px;
        left: 50%;
        transform: translateX(-50%);
        width: 50%;
        max-width: 280px;
        right: auto;
    }

    .category-strip {
        gap: 12px;
        overflow-x: auto;
        justify-content: flex-start;
        padding: 10px 8px;
    }

    .cat-item img {
        width: 40px;
        height: 40px;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
        padding: 8px;
    }

    .p-card {
        padding: 8px;
    }

    .p-name {
        font-size: 13px;
        height: 36px;
    }

    .p-price {
        font-size: 14px;
    }

    .p-add-btn {
        height: 36px;
        font-size: 11px;
        padding: 4px;
    }

    .promo-card {
        padding: 25px;
        min-height: 180px;
        margin-bottom: 10px;
    }

    .promo-content h3 {
        font-size: 22px;
        margin-bottom: 8px;
    }

    .promo-content p {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .promo-btn {
        padding: 10px 20px;
        font-size: 13px;
    }

    .promo-card img {
        max-height: 140px;
        max-width: 45%;
    }

    .section-title {
        padding: 12px 16px;
        font-size: 16px;
    }

    /* Footer Responsive Fix */
    .footer-cols {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 30px !important;
    }

    .footer-trust-badges {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
        padding: 20px 0 !important;
    }

    .footer-address-col {
        grid-column: span 2;
    }
}

@media (max-width: 480px) {
    .p-main-img-box {
        max-height: 300px !important;
    }

    .p-detail-price {
        font-size: 24px;
    }
}