@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Brand Colors */
    --primary-color: #003366;
    /* Deep Corporate Blue */
    --primary-dark: #002244;
    --accent-color: #E31E24;
    /* Signal Red */
    --accent-hover: #C41217;

    /* Neutral Colors */
    --tech-grey: #F4F6F9;
    --dark-grey: #2C3E50;
    --mid-grey: #95A5A6;
    --white: #FFFFFF;
    --border-light: #E1E8ED;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 6px 16px rgba(0, 0, 0, 0.08);
    /* Smoother shadow */
    --shadow-lg: 0 15px 30px rgba(0, 0, 0, 0.12);

    /* Typography */
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
    --radius: 8px;
    --container-max: 1240px;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--tech-grey);
    color: var(--dark-grey);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

ul {
    list-style: none;
}

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    outline: none;
}

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

/* --- Top Bar (Corporate Info) --- */
.top-bar {
    background-color: var(--primary-dark);
    color: rgba(255, 255, 255, 0.9);
    padding: 10px 0;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info a {
    margin-right: 25px;
    display: inline-flex;
    align-items: center;
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--white);
}

.contact-info i {
    margin-right: 8px;
    color: var(--accent-color);
}

.top-links a {
    color: rgba(255, 255, 255, 0.7);
    margin-left: 15px;
    font-size: 0.85rem;
}

.top-links a:hover {
    color: var(--white);
}

/* --- Header & Nav --- */
header {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-main {
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

/* DESKTOP: Reset the mobile wrapper so Logo behaves normally */
.header-mobile-row {
    display: block;
    width: auto;
    height: auto;
    margin: 0;
}

.mobile-menu-toggle {
    display: none;
    /* Hide toggle on desktop */
}

.logo img {
    height: 60px;
    /* Desktop logo size */
    width: auto;
    display: block;
}

/* Search Bar Polish */
.search-box {
    flex: 1;
    max-width: 550px;
    display: flex;
    background: var(--tech-grey);
    border-radius: 50px;
    /* Modern pill shape */
    padding: 5px 5px 5px 25px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    margin: 0;
    /* Reset mobile margin */
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
}

.action-buttons {
    display: flex;
    gap: 20px;
    margin-right: 20px;
}

.action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--mid-grey);
    text-decoration: none;
    font-size: 0.8rem;
    position: relative;
    transition: color 0.3s;
}

.action-btn i {
    font-size: 1.4rem;
    margin-bottom: 4px;
    color: var(--primary-dark);
}

.action-btn:hover {
    color: var(--primary-color);
}

.action-btn:hover i {
    color: var(--primary-color);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--accent-color);
    color: #fff;
    font-size: 0.7rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.search-box:focus-within {
    background: var(--white);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.search-box input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    font-size: 0.95rem;
    color: var(--dark-grey);
}

.search-box button {
    background: var(--primary-color);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

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

/* Quick Quote Button */
.btn-quote {
    background: linear-gradient(135deg, var(--accent-color), #b00e13);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 4px 15px rgba(227, 30, 36, 0.3);
    white-space: nowrap;
}

.btn-quote:hover {
    box-shadow: 0 6px 20px rgba(227, 30, 36, 0.4);
    transform: translateY(-2px);
}

/* Nav Menu */
nav {
    border-top: 1px solid var(--border-light);
}

.nav-list {
    display: flex;
    gap: 40px;
    justify-content: center;
}

.nav-item {
    position: relative;
    list-style: none;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 22px 0;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--dark-grey);
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-link i {
    font-size: 0.8rem;
    transition: transform 0.3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-item:hover .nav-link {
    color: var(--primary-color);
}

.nav-item:hover .nav-link i {
    transform: rotate(180deg);
}

.nav-item:hover .nav-link::after {
    width: 100%;
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    background: #fff;
    min-width: 260px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    border-radius: 16px;
    padding: 15px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1000;
    border: 1px solid #f0f0f0;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-item {
    display: block;
    padding: 12px 18px;
    color: var(--dark-grey);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 10px;
    transition: all 0.2s;
}

.dropdown-item:hover {
    background: #f8fafc;
    color: var(--primary-color);
    padding-left: 22px;
}

/* Mobile Submenu Adjustments */
@media (max-width: 992px) {
    .nav-list {
        flex-direction: column;
        gap: 0;
        padding: 20px 0;
    }

    .nav-link {
        padding: 15px 25px;
        justify-content: space-between;
        border-bottom: 1px solid #f0f0f0;
    }

    .dropdown-menu {
        position: static;
        transform: none !important;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        border: none;
        background: #f8fafc;
        padding: 0;
        display: none;
        /* Controlled by JS */
        min-width: 100%;
    }

    .nav-item.active .dropdown-menu {
        display: block;
    }

    .dropdown-item {
        padding: 12px 40px;
        border-bottom: 1px solid #edf2f7;
    }
}

/* --- Hero Section Redesign --- */
.hero {
    height: 750px;
    /* Taller for more impact */
    position: relative;
    overflow: hidden;
    background: #001f3f;
    /* Fallback */
}

.hero-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: var(--primary-color);
    top: -150px;
    right: -100px;
    animation: floatShape 20s infinite alternate ease-in-out;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: var(--accent-color);
    bottom: -100px;
    left: 10%;
    animation: floatShape 15s infinite alternate-reverse ease-in-out;
}

.shape-3 {
    width: 350px;
    height: 350px;
    background: #4facfe;
    top: 20%;
    left: -100px;
    animation: floatShape 25s infinite alternate ease-in-out;
}

.hero-slide {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Parallax effect */
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
            rgba(0, 31, 63, 0.95) 0%,
            rgba(0, 31, 63, 0.7) 40%,
            rgba(0, 31, 63, 0.2) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 800px;
    margin: 0 auto;
    /* Center it */
    text-align: center;
    /* Center text */
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 30px;
    color: #fff;
    text-transform: uppercase;
    position: relative;
    animation: fadeInDown 1s ease, signalPulse 2s infinite ease-out;
}

.hero-title {
    font-size: 4.8rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 30px;
    letter-spacing: -2.5px;
    animation: fadeUp 1s ease 0.2s both;
}

.hero-title span {
    background: linear-gradient(135deg, #fff 0%, #4facfe 50%, #fff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shineText 5s linear infinite;
}

.hero-desc {
    font-size: 1.4rem;
    line-height: 1.6;
    margin-bottom: 50px;
    color: rgba(255, 255, 255, 0.85);
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeUp 1s ease 0.4s both;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: fadeUp 1s ease 0.6s both;
}

.btn-primary {
    background: linear-gradient(135deg, #e31e24 0%, #a30e11 100%) !important;
    color: #fff !important;
    padding: 12px 32px !important;
    /* Elegant size */
    border-radius: 50px !important;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 8px 25px rgba(227, 30, 36, 0.4) !important;
    border: none !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(227, 30, 36, 0.6) !important;
}

.btn-outline {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    padding: 12px 32px;
    /* Elegant size */
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
    transform: translateY(-4px);
}

@keyframes floatShape {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }

    100% {
        transform: translate(50px, 40px) scale(1.1) rotate(15deg);
    }
}

@keyframes signalPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(255, 255, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

@keyframes shineText {
    to {
        background-position: 200% center;
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

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

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

@keyframes fadeRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

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

/* --- Scroll Indicator --- */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    animation: fadeIn 2s ease 1s both;
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 4px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 8px;
    animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
    0% {
        transform: translate(-50%, 0);
        opacity: 0;
    }

    50% {
        transform: translate(-50%, 15px);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, 25px);
        opacity: 0;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* --- Features Strip (New Area) --- */
.features-strip {
    background: var(--white);
    padding: 40px 0;
    margin-top: -60px;
    /* Overlap effect with Hero */
    margin-bottom: 60px;
    position: relative;
    z-index: 10;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    transition: transform 0.3s;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.f-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 51, 102, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: all 0.3s;
}

.feature-item:hover .f-icon {
    background: var(--primary-color);
    color: var(--white);
}

.f-text h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 3px;
}

.f-text p {
    font-size: 0.85rem;
    color: var(--mid-grey);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
    letter-spacing: -1px;
}

.hero-desc {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
}

.btn-primary {
    background: var(--white);
    color: var(--primary-color);
    padding: 15px 40px;
    border-radius: 6px;
    font-weight: 700;
    display: inline-block;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 31, 63, 0.4);
}

/* --- Section Titles --- */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.2rem;
    color: var(--primary-dark);
    font-weight: 700;
    letter-spacing: -0.5px;
}

.section-title h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* --- Modern Category Grid --- */
.modern-cat-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    /* Force 5 columns */
    gap: 20px;
}

@media (max-width: 1200px) {
    .modern-cat-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .modern-cat-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .modern-cat-grid {
        grid-template-columns: 1fr;
    }
}

.modern-cat-card {
    position: relative;
    height: 140px;
    /* Reduced height since no image */
    border-radius: 12px;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.modern-cat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.mc-content {
    z-index: 2;
    width: 65%;
}

.mc-content h3 {
    font-size: 1rem;
    /* Slightly smaller for 5-col */
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 10px;
    line-height: 1.3;
}

.mc-link {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.2s;
}

.modern-cat-card:hover .mc-link {
    gap: 10px;
}

/* Decorative Icon Watermark */
.mc-icon {
    position: absolute;
    right: -10px;
    bottom: -15px;
    font-size: 5rem;
    color: rgba(0, 0, 0, 0.05);
    /* Subtle watermark */
    z-index: 1;
    transition: all 0.4s ease;
    transform: rotate(-15deg);
}

.modern-cat-card:hover .mc-icon {
    transform: rotate(0deg) scale(1.1);
    color: rgba(0, 0, 0, 0.1);
}

.mc-image {
    position: absolute;
    right: -20px;
    bottom: -20px;
    width: 160px;
    height: 160px;
    z-index: 2;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.mc-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.1));
}

.modern-cat-card:hover .mc-image {
    transform: scale(1.1) rotate(-5deg);
}

.mc-circle {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    z-index: 1;
    transition: transform 0.5s;
}

.modern-cat-card:hover .mc-circle {
    transform: scale(1.8);
}

/* --- Featured Products --- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.product-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
}

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

.product-img {
    height: 280px;
    /* Slightly taller */
    background: #fff;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.product-img img {
    max-height: 100%;
    transition: transform 0.5s ease;
}

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

.product-info {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-cat {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--mid-grey);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.product-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 15px;
    line-height: 1.4;
}

.product-features {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
    flex: 1;
}

.product-features li {
    margin-bottom: 6px;
    display: flex;
    align-items: center;
}

.product-features i {
    color: var(--accent-color);
    margin-right: 8px;
    font-size: 0.8rem;
}

.product-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.price {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary-color);
}

.product-btn {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--tech-grey);
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

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

/* --- Footer --- */
footer {
    background-color: #1a252f;
    /* Dark background */
    color: #ecf0f1;
    padding-top: 80px;
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1.2fr 1.8fr;
    gap: 50px;
    margin-bottom: 60px;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.footer-col h3 {
    color: var(--white);
    margin-bottom: 30px;
    font-size: 1.15rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.footer-desc {
    color: #bdc3c7;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.footer-contact li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: #bdc3c7;
}

.footer-contact a {
    color: #bdc3c7;
    text-decoration: none;
    transition: 0.3s;
}

.footer-contact a:hover {
    color: var(--white);
}

.footer-contact i {
    width: 25px;
    color: #bdc3c7;
    margin-right: 10px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #bdc3c7;
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

/* Newsletter */
.newsletter-form {
    display: flex;
    margin-bottom: 25px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 50px 0 0 50px;
    outline: none;
    font-family: inherit;
}

.newsletter-form button {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 0 25px;
    border-radius: 0 50px 50px 0;
    cursor: pointer;
    font-weight: 700;
    transition: 0.3s;
}

.newsletter-form button:hover {
    background: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: 0.3s;
}

.social-btn:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

/* Copyright Bar */
.copyright-area {
    background-color: #151e26;
    /* Darker shade */
    padding: 25px 0;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.copyright-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #7f8c8d;
    font-size: 0.9rem;
}

.scroll-top {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
}

.scroll-top:hover {
    background: var(--accent-color);
}

/* Animation */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

/* Responsive */
@media (max-width: 768px) {
    .header-main {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .nav-list {
        overflow-x: auto;
        padding-bottom: 10px;
    }

    .hero {
        height: 400px;
    }

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

    .product-detail-layout {
        grid-template-columns: 1fr !important;
    }
}

/* --- Tabbed Product Section --- */
.section-header-tabs {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    margin-top: 50px;
}

.tab-menu {
    display: flex;
    gap: 30px;
}

.tab-btn {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--mid-grey);
    cursor: pointer;
    background: none;
    text-transform: uppercase;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
}

.tab-btn.active,
.tab-btn:hover {
    color: var(--primary-dark);
    border-color: var(--accent-color);
}

.tab-nav-arrows {
    display: flex;
    gap: 10px;
}

.nav-arrow {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    cursor: pointer;
    transition: 0.2s;
    background: #fff;
}

.nav-arrow:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.product-tab-content {
    display: none;
    animation: fadeUp 0.5s ease;
}

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

/* Minimalist Product Card */
.clean-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* Force 4 columns */
    gap: 20px;
    row-gap: 40px;
}

@media (max-width: 1024px) {
    .clean-product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .clean-product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .clean-product-grid {
        grid-template-columns: 1fr;
    }
}

.clean-card {
    background: transparent;
    position: relative;
    transition: all 0.3s;
    text-align: center;
}

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

.clean-img {
    position: relative;
    height: 250px;
    background: #fff;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 8px;
    /* Slight round */
}

.clean-img img {
    width: 100%;
    height: 100%;
    max-height: 200px;
    /* Standardized height */
    max-width: 90%;
    transition: transform 0.4s ease;
    object-fit: contain;
    /* Ensures image is fully visible without distortion */
}

.badge-new,
.badge-sale {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    font-size: 0.7rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    z-index: 2;
    border-radius: 4px;
}

.badge-new {
    background: var(--primary-dark);
}

.badge-sale {
    background: #7ab51d;
}

.wishlist-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 3;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.wishlist-btn:hover {
    color: var(--accent-color);
    transform: scale(1.1);
}

.wishlist-btn.active {
    color: var(--accent-color);
}

.clean-meta {
    padding: 0 10px 25px 10px;
    /* Increased bottom padding */
}

.stars {
    color: #ffc107;
    font-size: 0.8rem;
    margin-bottom: 8px;
}

.clean-title {
    font-size: 1rem;
    color: var(--dark-grey);
    margin-bottom: 8px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.clean-title a {
    color: inherit;
    text-decoration: none;
}

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

.clean-price {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary-dark);
}

/* --- Brand Carousel --- */
.brand-section {
    padding: 60px 0;
    border-top: 1px solid #eee;
    background: #fff;
    overflow: hidden;
    /* For marquee */
}

.brand-slider {
    display: flex;
    width: 100%;
}

.brand-track {
    display: flex;
    gap: 30px;
    animation: marquee 20s linear infinite;
    width: max-content;
}

.brand-item {
    width: 200px;
    height: 100px;
    border: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #999;
    filter: grayscale(100%);
    transition: all 0.3s;
    background: #fff;
    border-radius: 4px;
}

.brand-item:hover {
    filter: grayscale(0%);
    color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.brand-item i {
    font-size: 2.5rem;
    margin-right: 10px;
}

.brand-item span {
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

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

    /* Assumes duplicated content corresponds to 50% width */
}

.brand-slider:hover .brand-track {
    animation-play-state: paused;
}

/* --- Product Widget Section (Footer Top) --- */
.widget-product-section {
    padding: 60px 0;
    background: #fff;
    border-top: 1px solid #eee;
}

.widget-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

@media (max-width: 992px) {
    .widget-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .widget-grid {
        grid-template-columns: 1fr;
    }
}

.widget-col h3 {
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary-dark);
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    letter-spacing: 0.5px;
}

.mini-product-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f5f5f5;
    transition: transform 0.2s;
}

.mini-product-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.mini-product-item:hover {
    transform: translateX(5px);
}

.mini-img {
    width: 70px;
    height: 70px;
    background: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.mini-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Standardized mini-image fit */
    padding: 5px;
}

.mini-info h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 5px;
    line-height: 1.3;
}

.mini-info h4 a {
    color: inherit;
    text-decoration: none;
}

.mini-info h4 a:hover {
    color: var(--primary-color);
}

.mini-price {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-color);
}

.mini-stars {
    font-size: 0.7rem;
    color: #ffc107;
    margin-bottom: 5px;
}

/* --- Footer Logo Styling --- */
.footer-logo-wrapper {
    margin-bottom: 25px;
    display: flex;
    /* Helps with alignment */
}

.footer-logo-img {
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.footer-logo-img:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

/* --- CTA Section --- */
.cta-section {
    background: #001f3f;
    /* Deep navy base */
    padding: 100px 0;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.cta-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.15;
}

.cta-shape-1 {
    width: 300px;
    height: 300px;
    background: var(--accent-color);
    top: -100px;
    left: -50px;
}

.cta-shape-2 {
    width: 250px;
    height: 250px;
    background: #4facfe;
    bottom: -80px;
    right: -20px;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    /* Increased to fit text in one line */
    margin: 0 auto;
}

.cta-title {
    font-size: 2.8rem;
    font-weight: 900;
    margin-bottom: 20px;
    letter-spacing: -1.5px;
    line-height: 1.2;
}

.cta-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    font-weight: 300;
}

.cta-btn {
    display: inline-block;
    background: var(--accent-color);
    color: #fff;
    padding: 16px 45px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 25px rgba(227, 30, 36, 0.3);
}

.cta-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(227, 30, 36, 0.5);
    background: #c41217;
}

/* --- Product Detail Redesign --- */
.product-detail-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    /* Better balance */
    gap: 60px;
    margin-bottom: 80px;
}

.product-detail-title {
    font-size: 2.6rem;
    color: var(--primary-dark);
    margin-bottom: 15px;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -1px;
}

.main-image-container {
    background: #fff;
    padding: 60px;
    /* More white space for premium feel */
    border-radius: 24px;
    border: 1px solid #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    transition: all 0.4s ease;
}

.main-image-container:hover {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
    border-color: #e0e0e0;
}

.main-image-container img {
    width: 100%;
    height: 100%;
    max-height: 450px;
    /* Standardized detail image height */
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.badge-new-detail {
    position: absolute;
    top: 30px;
    left: 30px;
    background: linear-gradient(135deg, var(--accent-color) 0%, #ff5252 100%);
    color: #fff;
    padding: 6px 14px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.75rem;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(211, 47, 47, 0.3);
    text-transform: uppercase;
}

.thumb-list {
    display: flex;
    gap: 15px;
    justify-content: center;
    /* Center thumbs */
}

.thumb-item {
    width: 90px;
    height: 90px;
    border: 2px solid transparent;
    border-radius: 14px;
    padding: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.thumb-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.05);
}

.thumb-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    /* Standardized thumbnail fit */
}

.thumb-item.active {
    border-color: var(--primary-color);
    background: #f4f7fa;
    box-shadow: 0 8px 20px rgba(0, 31, 63, 0.1);
}

/* Buying Info Area */
.price-area {
    margin-bottom: 30px;
    padding: 30px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 20px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.02);
}

.price-old {
    font-size: 1rem;
    text-decoration: line-through;
    color: #b0bec5;
    margin-bottom: 8px;
    font-weight: 500;
}

.price-current {
    font-size: 2.8rem;
    color: var(--primary-color);
    font-weight: 900;
    line-height: 1;
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.kdv-text {
    font-size: 1.1rem;
    color: #78909c;
    font-weight: 500;
}

.stock-status {
    font-size: 0.9rem;
    color: #43a047;
    margin-top: 15px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}

/* Add to Cart Area */
.action-area {
    background: #fff;
    padding: 10px;
    border-radius: 16px;
    border: 1px solid #eee;
    margin-bottom: 35px;
}

.qty-selector {
    background: #f5f5f5;
    border-radius: 12px;
    padding: 5px;
}

.qty-selector button {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.2s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.qty-selector button:hover {
    background: var(--primary-color);
    color: #fff;
}

.btn-add-cart {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%) !important;
    height: 55px;
    border-radius: 12px !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-add-cart:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 31, 63, 0.4) !important;
}

/* Tabs Redesign */
.product-tabs-wrapper {
    margin-top: 80px;
    background: #fff;
    border-radius: 24px;
    border: 1px solid #f0f0f0;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
}

.p-tab-btn {
    padding: 25px 35px !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: #90a4ae !important;
    border-bottom: 4px solid transparent !important;
    background: #fafbfc;
}

.p-tab-btn.active {
    background: #fff;
    color: var(--primary-dark) !important;
    border-bottom-color: var(--primary-color) !important;
}

.p-tab-content {
    padding: 50px !important;
    border: none !important;
}

.tab-inner {
    max-width: 900px;
    margin: 0;
    line-height: 1.8;
}

.specs-table tr {
    transition: all 0.2s;
}

.specs-table tr:hover {
    background: #fcfdfe;
}

.specs-table td {
    padding: 20px !important;
}

/* ========================================================================= */
/* RESPONSIVE FIXES (USER REQUESTED 100% MOBILE COMPATIBILITY)               */
/* ========================================================================= */

@media (max-width: 768px) {

    /* 1. Top Bar */
    .top-bar-content {
        flex-direction: column !important;
        gap: 5px;
        text-align: center;
        padding: 10px 0;
    }

    .contact-info {
        flex-direction: column;
        gap: 5px;
        font-size: 0.85rem;
    }

    /* 2. Header & Nav - NEW SIMPLIFIED STRUCTURE */

    /* Main Container */
    .header-main {
        display: flex !important;
        flex-direction: column !important;
        gap: 15px;
        position: relative;
        padding: 10px 0;
    }

    /* Top Row: Logo + Hamburger */
    .header-mobile-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        /* Logo left, actions right */
        width: 100%;
        height: 60px;
        position: relative;
    }

    /* Logo - Left aligned */
    .logo {
        position: relative;
        z-index: 5;
        margin: 0;
        padding: 0;
        width: auto;
    }

    .logo img {
        height: 55px !important;
        width: auto;
        display: block;
    }

    /* Actions - Grouped on the right */
    .mobile-header-right {
        display: flex !important;
        align-items: center;
        gap: 12px;
        position: relative;
        z-index: 10;
    }

    .mobile-action-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        color: var(--primary-dark);
        font-size: 1.4rem;
        position: relative;
        text-decoration: none;
        transition: all 0.2s ease;
    }

    .mobile-action-btn:active,
    .mobile-action-btn:hover {
        color: var(--primary-color);
        transform: scale(1.1);
    }

    .mobile-cart-btn .cart-count {
        position: absolute;
        top: 0;
        right: 0;
        background: var(--accent-color);
        color: #fff;
        font-size: 0.65rem;
        width: 18px;
        height: 18px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 700;
        border: 2px solid #fff;
    }

    .mobile-menu-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: transparent;
        border: none;
        font-size: 1.6rem;
        color: var(--primary-dark);
        cursor: pointer;
        padding: 0;
    }

    /* Search Box - Flex Item below the row */
    .search-box {
        width: 100%;
        display: flex;
        align-items: center;
        position: relative;
        margin: 0;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
        border-radius: 50px;
        border: 1px solid #f0f0f0;
        height: 55px;
        background: #f4f7f9;
        padding-right: 6px;
    }

    .search-box input {
        flex: 1;
        height: 100%;
        border: none;
        padding: 0 25px;
        font-size: 1rem;
        background: transparent;
        color: #666;
    }

    .search-box button {
        width: 44px;
        height: 44px;
        background: var(--primary-color);
        color: #fff;
        border: none;
        border-radius: 50%;
        font-size: 1.1rem;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: transform 0.2s;
        flex-shrink: 0;
    }

    /* Hide Actions */
    .header-actions {
        display: none !important;
    }



    /* Mobile Menu Styles */
    nav {
        display: none;
        /* Hidden by default */
        background: #fff;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        border-top: 1px solid #eee;
        overflow-y: auto;
        /* Allow scroll if menu is long */
        max-height: 80vh;
    }

    nav.active {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        padding: 0;
        gap: 0;
    }

    .nav-list li {
        width: 100%;
        border-bottom: 1px solid #f5f5f5;
    }

    .nav-link {
        display: block;
        padding: 15px 20px;
        width: 100%;
    }

    .mobile-only {
        display: block !important;
    }

    /* 3. Hero & Features */
    .hero {
        height: auto;
        min-height: 400px;
    }

    .hero-content {
        padding: 40px 20px;
        text-align: center;
        max-width: 100%;
    }

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

    .features-strip {
        margin-top: 0;
        padding: 30px 0;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .feature-item {
        justify-content: center;
        text-align: center;
        flex-direction: column;
        padding: 10px;
        align-items: center;
    }

    .f-text h4 {
        min-height: 2.4em;
        /* Ensure title height consistency */
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .f-text p {
        min-height: 3.2em;
        /* Ensure description height consistency for 2 lines */
        display: flex;
        align-items: flex-start;
        justify-content: center;
    }

    /* 4. Category Grid (Single column compact on mobile) */
    .modern-cat-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .modern-cat-card {
        height: 100px !important;
        /* Even more compact */
        padding: 15px 25px !important;
        justify-content: flex-start !important;
    }

    .mc-image {
        width: 120px !important;
        /* Smaller image to fit compact card */
        height: 120px !important;
        right: -10px !important;
        bottom: -15px !important;
    }

    .mc-content {
        width: 70% !important;
    }

    /* 5. Product Detail Page */
    .product-detail-layout {
        grid-template-columns: 1fr !important;
        gap: 30px;
    }

    .product-detail-title {
        font-size: 1.6rem !important;
        /* Smaller on mobile as requested */
        margin-top: 10px;
    }

    .detail-gallery {
        margin-bottom: 30px;
    }

    .main-image-container {
        padding: 30px;
        border-radius: 20px;
    }

    .main-image-container img {
        max-height: 300px;
    }

    .price-area {
        padding: 20px;
        border-radius: 16px;
    }

    .price-current {
        font-size: 2.2rem;
    }

    /* Accordion style tabs on mobile */
    .product-tabs-wrapper {
        flex-direction: column !important;
        gap: 0 !important;
        border-bottom: none !important;
    }

    .tab-item {
        display: block !important;
        width: 100%;
    }

    /* Premium Tabs for Mobile */
    .product-tabs-wrapper {
        margin-top: 40px;
        border-radius: 16px;
    }

    .p-tab-btn {
        padding: 18px 20px !important;
        font-size: 0.95rem !important;
    }

    .p-tab-content {
        padding: 25px 20px !important;
    }

    .tab-inner {
        padding: 0;
    }

    /* 6. Cart & Checkout & Account Layouts */
    .cart-layout,
    .checkout-layout,
    .account-layout {
        grid-template-columns: 1fr !important;
        gap: 30px;
    }

    .cart-header {
        display: none !important;
        /* Hide table header on mobile */
    }

    .cart-item {
        grid-template-columns: 1fr !important;
        /* Stack cart item content */
        text-align: center;
        gap: 15px;
        position: relative;
        padding-bottom: 30px;
    }

    .cart-item>div:first-child {
        flex-direction: column;
        justify-content: center;
    }

    .cart-item>div:last-child {
        text-align: center !important;
        font-size: 1.2rem;
    }

    .account-sidebar {
        margin-bottom: 30px;
    }

    /* 7. Contact Page */
    .contact-grid {
        grid-template-columns: 1fr !important;
    }

    /* 8. Success Page & General */
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

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

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

    .brand-item {
        width: 140px;
        height: 70px;
        font-size: 1rem;
    }

    /* Footer Mobile Polishing */
    .footer-grid {
        grid-template-columns: 1fr !important;
        text-align: center;
        gap: 40px;
    }

    .footer-logo-wrapper {
        justify-content: center;
        margin-bottom: 30px;
    }

    .footer-logo-img {
        height: 70px;
        /* Bigger logo in footer mobile */
    }

    .footer-col h3 {
        display: inline-block;
        border-bottom: 2px solid var(--primary-color);
        padding-bottom: 5px;
    }

    .footer-contact li {
        justify-content: center;
    }

    .newsletter-form {
        max-width: 300px;
        margin: 0 auto 20px;
    }

    .social-links {
        justify-content: center;
    }

    .copyright-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    /* Widget Product Polishing */
    .widget-col h3 {
        text-align: center;
        margin-bottom: 20px;
        padding-bottom: 10px;
        position: relative;
    }

    .widget-col h3::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 50px;
        height: 2px;
        background: var(--primary-color);
    }

    .mini-product-item {
        justify-content: center;
        border-bottom: 1px solid #f0f0f0;
        padding: 15px 0;
    }

    .mini-img {
        background: #fff;
        border: 1px solid #eee;
    }
}

/* Base styles for new specific elements - DESKTOP DEFAULTS */
.mobile-menu-toggle {
    display: none;
}

.header-main-top {
    display: contents;
    /* Desktop behavior: act as if div doesn't exist */
}

.mobile-only,
.mobile-header-right {
    display: none;
}

/* --- NEW PREMIUM UTILITIES --- */

/* 1. Toast Notifications */
.toast-container {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.toast {
    background: #fff;
    min-width: 320px;
    padding: 18px 25px;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    gap: 15px;
    border-left: 5px solid var(--accent-color);
    animation: toastIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    position: relative;
    overflow: hidden;
}

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

.toast-icon {
    width: 40px;
    height: 40px;
    background: rgba(227, 30, 36, 0.1);
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.toast-content h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 2px;
}

.toast-content p {
    font-size: 0.85rem;
    color: #666;
}

.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: var(--accent-color);
    width: 100%;
    animation: toastProgress 4s linear forwards;
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateX(100px);
    }

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

@keyframes toastOut {
    from {
        opacity: 1;
        transform: translateX(0);
    }

    to {
        opacity: 0;
        transform: translateX(100px);
    }
}

@keyframes toastProgress {
    from {
        width: 100%;
    }

    to {
        width: 0%;
    }
}

/* 2. Floating WhatsApp */
.wa-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    /* Changed to right for standard placement */
    width: 60px;
    height: 60px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    z-index: 999;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
}

.wa-float:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.5);
}

.wa-float-badge {
    position: absolute;
    top: -5px;
    left: -5px;
    background: var(--accent-color);
    color: #fff;
    font-size: 0.65rem;
    padding: 3px 6px;
    border-radius: 10px;
    font-weight: 700;
    animation: wa-pulse 2s infinite;
}

@keyframes wa-pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

/* --- AUTH PAGE STYLES --- */
.auth-split-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 700px;
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
    margin: 40px auto;
}

.auth-image-side {
    background: linear-gradient(rgba(0, 31, 63, 0.7), rgba(0, 31, 63, 0.7)), url('../img/hero-bg.png');
    background-size: cover;
    background-position: center;
    padding: 60px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.auth-form-side {
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-title {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--primary-dark);
    margin-bottom: 10px;
    letter-spacing: -1px;
}

.auth-subtitle {
    color: #777;
    margin-bottom: 40px;
}

.form-floating {
    margin-bottom: 25px;
    position: relative;
}

.form-floating label {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--primary-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 10px;
}

.form-floating input {
    width: 100%;
    height: 60px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 0 20px;
    color: var(--primary-dark);
    font-size: 1rem;
    transition: all 0.3s;
}

.form-floating input:focus {
    background: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 10px 20px rgba(0, 51, 102, 0.05);
    outline: none;
}

@media (max-width: 992px) {
    .auth-split-container {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .auth-image-side {
        display: none;
    }

    .auth-form-side {
        padding: 40px 20px;
    }
}

/* --- SIDEBAR FILTER STYLES --- */
.filter-group {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.filter-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.filter-list {
    list-style: none;
    padding: 0;
}

.filter-item {
    margin-bottom: 12px;
}

.filter-item label {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
}

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

.filter-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    accent-color: var(--primary-color);
}

.filter-count {
    margin-left: auto;
    font-size: 0.75rem;
    color: #aaa;
    background: #f8f9fa;
    padding: 2px 8px;
    border-radius: 10px;
}

.price-range-inputs {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.price-input {
    flex: 1;
    height: 40px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0 10px;
    font-size: 0.85rem;
    color: var(--primary-dark);
}

@media (max-width: 992px) {
    .col-filter {
        display: none !important;
        /* Hide sidebar on mobile by default */
    }

    .col-products {
        width: 100% !important;
    }
}

/* --- CART PAGE STYLES --- */
.cart-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-top: 30px;
}

.cart-items {
    background: #fff;
    border-radius: 20px;
    border: 1px solid #f0f0f0;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.cart-header {
    background: #f8fafc;
    padding: 20px;
    display: grid;
    grid-template-columns: 3fr 1fr 1fr 1fr;
    font-weight: 700;
    color: var(--primary-dark);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid #efefef;
}

.cart-item {
    padding: 25px 20px;
    border-bottom: 1px solid #f5f5f5;
    display: grid;
    grid-template-columns: 3fr 1fr 1fr 1fr;
    align-items: center;
    transition: background 0.3s;
}

.cart-item:hover {
    background: #fdfdfe;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-info {
    display: flex;
    gap: 20px;
    align-items: center;
}

.cart-item-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    background: #f9f9f9;
    padding: 10px;
    border-radius: 12px;
    border: 1px solid #eee;
}

.cart-item-title {
    font-size: 1.05rem;
    color: var(--primary-dark);
    margin-bottom: 4px;
    font-weight: 700;
}

.cart-item-cat {
    font-size: 0.8rem;
    color: #999;
    display: block;
}

.cart-item-price,
.cart-item-subtotal {
    text-align: center;
    font-weight: 700;
    color: var(--primary-dark);
}

.cart-item-subtotal {
    text-align: right;
    color: var(--primary-color);
}

.qty-input-group {
    display: inline-flex;
    align-items: center;
    background: #f4f6f9;
    padding: 5px;
    border-radius: 8px;
    margin: 0 auto;
}

.qty-input-group button {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: #fff;
    border: 1px solid #e2e8f0;
    color: var(--primary-dark);
    font-weight: 700;
    transition: all 0.2s;
}

.qty-input-group button:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.qty-input-group input {
    width: 45px;
    text-align: center;
    border: none;
    background: transparent;
    font-weight: 700;
    color: var(--primary-dark);
}

/* --- CHECKOUT PAGE STYLES --- */
.step-card {
    background: #fff;
    border-radius: 20px;
    border: 1px solid #f0f0f0;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.step-title {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--primary-dark);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    letter-spacing: -0.5px;
}

.step-number {
    width: 36px;
    height: 36px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(0, 51, 102, 0.2);
}

.checkout-form-group {
    margin-bottom: 25px;
}

.checkout-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--primary-dark);
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.checkout-input,
.checkout-select,
.checkout-textarea {
    width: 100%;
    padding: 15px 18px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.checkout-input:focus {
    border-color: var(--primary-color);
    background: #fff;
    box-shadow: 0 10px 20px rgba(0, 51, 102, 0.05);
    outline: none;
}

.payment-method-card {
    border: 2px solid #f0f0f0;
    border-radius: 16px;
    padding: 25px;
    cursor: pointer;
    transition: all 0.3s;
    background: #fff;
}

.payment-method-card.active {
    border-color: var(--primary-color);
    background: #f0f4f8;
}

/* --- SUMMARY CARD STYLES --- */
.summary-card {
    background: #fff;
    border-radius: 20px;
    border: 1px solid #f0f0f0;
    padding: 35px;
    position: sticky;
    top: 110px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
}

.summary-title {
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--primary-dark);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f8fafc;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 0.95rem;
    color: #666;
}

.summary-row.total {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #f8fafc;
    color: var(--primary-dark);
    font-weight: 900;
    font-size: 1.4rem;
}

/* --- ACCOUNT PAGE STYLES --- */
.account-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 50px;
    align-items: flex-start;
}

@media (max-width: 992px) {
    .account-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.account-sidebar {
    background: #fff;
    border-radius: 20px;
    border: 1px solid #f0f0f0;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.account-user-info {
    padding: 30px;
    text-align: center;
    background: #f8fafc;
    border-bottom: 1px solid #efefef;
}

.account-avatar {
    width: 90px;
    height: 90px;
    background: var(--white);
    border-radius: 50%;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: var(--primary-color);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.account-nav-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 25px;
    color: #666;
    font-weight: 600;
    border-left: 4px solid transparent;
    transition: all 0.3s;
}

.account-nav-link:hover {
    background: #fdfdfe;
    color: var(--primary-color);
}

.account-nav-link.active {
    background: #f1f5f9;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.account-nav-link.logout {
    color: var(--accent-color);
}

@media (max-width: 992px) {
    .account-sidebar {
        background: #fff;
        border-radius: 20px;
        border: 1px solid #f0f0f0;
        overflow: visible;
        /* Allow nav overlay to be visible */
        margin-bottom: 30px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
        position: relative;
    }

    .account-user-info {
        display: block;
        padding: 30px 25px;
        background: #f8fafc;
        border-bottom: 1px solid #f0f0f0;
    }

    .mobile-account-selector {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 18px 25px;
        background: #fff;
        cursor: pointer;
        font-weight: 800;
        color: var(--primary-dark);
        z-index: 101;
        position: relative;
    }

    .mobile-account-selector .arrow {
        transition: transform 0.3s;
        color: #ccc;
    }

    .mobile-account-selector.active .arrow {
        transform: rotate(180deg);
        color: var(--primary-color);
    }

    .account-nav {
        display: none;
        flex-direction: column;
        background: #fff;
        border: 1px solid #eee;
        border-radius: 12px;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 1000;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
        margin: 5px 10px;
    }

    .account-nav.show {
        display: flex;
    }

    .account-nav-link {
        padding: 15px 25px;
        border-bottom: 1px solid #f8fafc;
        background: #fff;
        border-left: 4px solid transparent;
        transition: all 0.2s;
    }

    .account-nav-link:last-child {
        border-radius: 0 0 12px 12px;
        border-bottom: none;
    }

    .account-nav-link.active {
        background: #f1f5f9;
        color: var(--primary-color);
        border-left-color: var(--primary-color);
    }

    /* Form responsiveness for mobile */
    .account-main form div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
}

.order-premium-card {
    background: #fff;
    border-radius: 20px;
    border: 1px solid #f0f0f0;
    margin-bottom: 25px;
    overflow: hidden;
    transition: transform 0.3s;
}

.order-premium-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.order-card-header {
    background: #f8fafc;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: 700;
    color: #888;
}

.order-status-badge {
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
}

.status-success {
    background: #e8f5e9;
    color: #2e7d32;
}

.account-view-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 45px;
}

.order-card-body {
    padding: 25px 30px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 30px;
    align-items: center;
}

.order-card-img {
    background: #f8fafc;
    padding: 10px;
    border-radius: 12px;
    border: 1px solid #efefef;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.order-card-img img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.order-card-info h4 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 4px;
}

.order-card-info p {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 0;
}

.order-card-price {
    text-align: right;
}

.order-card-price .price {
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .account-view-header {
        flex-direction: column;
        align-items: center;
        /* Centered as requested */
        text-align: center;
        gap: 15px;
        margin-bottom: 30px;
    }

    .account-main {
        padding-left: 15px !important;
        /* Added horizontal breathing room */
        padding-right: 15px !important;
    }

    .order-card-body {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 30px 20px;
        gap: 20px;
    }

    .order-card-img {
        margin: 0 auto;
    }

    .order-card-price {
        text-align: center;
        border-top: 1px solid #f0f0f0;
        padding-top: 15px;
        width: 100%;
    }

    .order-card-header {
        flex-direction: column;
        gap: 5px;
        padding: 15px 20px;
    }
}

/* Responsiveness for Cart/Checkout Flow */
@media (max-width: 992px) {

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

    .cart-header {
        display: none;
    }

    .cart-item {
        grid-template-columns: 1fr;
        padding: 30px;
        text-align: center;
        gap: 20px;
    }

    .cart-item-info {
        flex-direction: column;
    }

    .cart-item-subtotal {
        text-align: center;
        font-size: 1.2rem;
    }

    .summary-card {
        position: static;
    }
}