/* General Styles */
body {
    font-family: 'Google Sans', sans-serif;
    margin: 0;
    background-color: #fff; /* White background */
    color: #000; /* Black text */
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* Header Base */
.sticky-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #000; /* header background changed to black */
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.12);
}

/* NAVBAR */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 1.5rem;
}

/* SECTION CONTROL */
.navbar-left,
.navbar-right {
    flex: 1; /* both sides take equal width */
    display: flex;
    align-items: center;
}

.navbar-center {
    flex: 0 0 auto; /* keeps the logo true center */
    display: flex;
    justify-content: center;
}

/* LOGO STYLING */
.logo img {
    height: 60px;
    width: auto;
}

/* HEADER ICONS */
.header-icons {
    display: flex;
    gap: 18px;
    align-items: center;
}

.header-icons i {
    font-size: 1.1rem;
}

/* MOBILE SEARCH DEFAULT */
.mobile-search {
    display: none;
}

/* LOGO VISIBILITY */
.logo-desktop {
    display: flex;
}

.logo-mobile {
    display: none;
}

/* HAMBURGER */
.hamburger-menu {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px; /* touch target */
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.hamburger-menu.active {
    background: transparent;
}

.hamburger-menu .hamburger-icon {
    width: 24px; /* visual size */
    height: 24px;
    display: block;
}

/* Hamburger Icon (3×3 dot grid) */
.hamburger {
    width: 22px;
    height: 22px;
    display: grid;
    grid-template-rows: repeat(3, 1fr);
    grid-template-columns: repeat(3, 1fr);
    gap: 3px;
    padding: 0;
}

.hamburger .dot {
    width: 4px;
    height: 4px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.35s ease;
    justify-self: center;
    align-self: center;
}

/* Middle column dots (2nd, 5th, 8th) slide down on active */
.hamburger.active .dot:nth-child(2),
.hamburger.active .dot:nth-child(5),
.hamburger.active .dot:nth-child(8) {
    transform: translateY(8px);
}

/* ---------------- MOBILE ---------------- */
@media (max-width: 600px) {
    /* SECTION CONTROL */ .navbar-left, .navbar-right { flex: 0 0 auto; } .navbar-center { flex: 1; display: flex; justify-content: center; }

    .navbar {
        padding: 0.6rem 1rem;
        gap: 10px;
    }

    /* ORDER CONTROL */
    .navbar-left { order: 1; }
    .navbar-center { order: 2; flex: 1; }
    .navbar-right { order: 3; }

    /* Search center */
    .mobile-search {
        display: block !important;
        width: 100%;
        max-width: 230px;
    }

    .mobile-search input {
        width: 100%;
        padding: 0.6rem 0.9rem;
        border-radius: 25px;
        border: 1px solid #ddd;
        font-size: 0.9rem;
    }

    /* Logo switching */
    .logo-desktop {
        display: none !important;
    }

    .logo-mobile {
        display: flex !important;
        justify-content: flex-end;
    }

    .logo img {
        height: 38px;
    }

    /* Hide desktop icons */
    .header-icons {
        display: none !important;
    }
}

/* Bottom sticky nav for mobile */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: 58px;
    background: #fff;
    border-top: 1px solid #eee;
    box-shadow: 0 -4px 14px rgba(0,0,0,0.06);
    z-index: 1200;
}

.mobile-bottom-nav .nav-row {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 100%;
}

.mobile-bottom-nav a {
    color: #111;
    font-size: 0.9rem;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.mobile-bottom-nav i { font-size: 1.2rem; }

@media (max-width: 600px) {
    .mobile-bottom-nav { display: block; }
    /* give footer margin so it's not hidden under the nav */
    .site-footer { margin-bottom: 58px; }
}

/* Search suggestions dropdown */
.search-suggestions {
    position: absolute;
    background: #fff;
    border: 1px solid #e3e3e3;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    z-index: 1200;
    border-radius: 6px;
    max-height: 320px;
    overflow: auto;
    font-family: inherit;
    font-size: 14px;
    color: #222;
    padding: 6px 6px;
}
.search-suggestions .item {
    padding: 8px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.search-suggestions .item + .item { border-top: 1px solid #f0f0f0; }
.search-suggestions .item .title { font-weight: 600; }
.search-suggestions .item .meta { color: #666; font-size: 12px; margin-left: 8px; }
.search-suggestions .item .price { color: #0a7a0a; font-weight: 700; }
.search-suggestions .item.active { background: #f5f7ff; }

.navbar-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.header-icons a {
    margin-left: 1.5rem;
    font-size: 1.2rem;
    position: relative;
    color: #fff; /* right icons white on dark header */
}

.cart-icon-container .cart-count {
    position: absolute;
    top: -10px;
    right: -15px;
    background-color: #ffd700;
    color: #000;
    border-radius: 50%;
    padding: 0.2rem 0.5rem;
    font-size: 0.8rem;
    font-weight: bold;
}


.hamburger-menu {
    display: block;
    cursor: pointer;
    font-size: 1.5rem;
    color: #fff; /* hamburger color white on dark header */
}

/* Search Bar */
.search-bar {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background-color: #f8f8f8;
    display: flex;
    align-items: center;
    padding: 0 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.search-bar.open {
    max-height: 100px;
    padding: 1rem 2rem;
}

#search-input {
    flex-grow: 1;
    padding: 0.8rem;
    font-size: 1.1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #fff;
    color: #000;
}

#close-search {
    background: none;
    border: none;
    color: #000;
    font-size: 1.5rem;
    margin-left: 1rem;
    cursor: pointer;
}

/* Slide-out Mobile Nav */
.mobile-nav {
    position: fixed;
    /* start below the header so nav doesn't cover the header */
    top: var(--header-height, 72px);
    left: 0;
    width: 300px;
    height: calc(100vh - var(--header-height, 72px));
    background-color: #1a1a1a;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    z-index: 1100;
    overflow: hidden; /* Hide overflowing submenus */
    box-shadow: 2px 0 10px rgba(0,0,0,0.3);
}

.mobile-nav.open {
    transform: translateX(0);
}

.mobile-nav-header {
    display: flex;
    justify-content: flex-end;
    padding: 1.5rem;
}

.close-btn {
    cursor: pointer;
    font-size: 1.5rem;
    color: #fff;
}

.mobile-nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative; /* For submenu positioning */
}

.mobile-nav-links li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    color: #fff;
    transition: background-color 0.3s ease;
    border-bottom: 1px solid #333; /* Add a separator */
}

.mobile-nav-links li a:hover {
    background-color: #333;
}

/* Submenu Panel inside sidebar - hidden, we use desktop panel instead */
.submenu-panel {
    display: none !important; /* Always hidden - using external panel instead */
}

/* Desktop Submenu Panel - Lives outside sidebar to avoid transform issues */
.submenu-overlay {
    display: block;
}

.submenu-panel-desktop {
    position: fixed;
    top: var(--header-height, 72px);
    left: 300px;
    width: calc(100% - 300px);
    height: calc(100vh - var(--header-height, 72px));
    background: rgba(0, 0, 0, 0.85);
    padding: 40px 50px;
    box-sizing: border-box;
    display: none;
    z-index: 1150;
    overflow-y: auto;
}

.submenu-panel-desktop.open {
    display: block;
}

.submenu-panel-desktop .submenu-grid {
    list-style: none;
    padding: 0;
    margin: 30px 0 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 40px;
    width: 100%;
}

.submenu-panel-desktop .submenu-grid li {
    display: block;
    text-align: center;
    width: auto;
    margin-bottom: 30px;
    list-style: none;
}

.submenu-panel-desktop .submenu-grid li a {
    padding: 10px;
    color: #666;
    font-size: 13px;
    text-align: center;
    letter-spacing: 1px;
    line-height: 34px;
    border: 1px solid transparent;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
    position: relative;
    text-transform: uppercase;
    z-index: 1;
    transition: 0.2s;
    text-decoration: none;
    background: transparent;
    border-radius: 8px;
}

.submenu-panel-desktop .submenu-grid li a:hover {
    background: rgba(255,255,255,0.1);
}

.submenu-panel-desktop .submenu-grid li a .img-placeholder {
    width: 180px;
    height: 180px;
    margin: 0 auto;
    border-radius: 12px;
    background: #333;
    border: 2px dashed #555;
    display: flex;
    align-items: center;
    justify-content: center;
}

.submenu-panel-desktop .submenu-grid li a .submenu-img {
    width: 180px;
    height: 180px;
    margin: 0 auto;
    border-radius: 12px;
    object-fit: contain;
}

.submenu-panel-desktop .submenu-grid li a span {
    color: #fff;
    font-size: 16px;
    line-height: 24px;
    text-transform: capitalize;
    margin-top: 12px;
    text-align: center;
    font-family: 'Poppins', sans-serif;
}

.submenu-grid {
    list-style: none;
    padding: 0;
    margin: 30px 0 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 20px;
    width: 100%;
    min-height: 415px;
}

.submenu-grid li {
    display: block;
    text-align: center;
    width: calc(50% - 10px);
    margin-bottom: 30px;
    list-style: none;
}

.submenu-grid li a {
    padding: 10px;
    color: #666;
    font-size: 13px;
    text-align: center;
    letter-spacing: 1px;
    line-height: 34px;
    border: 1px solid transparent;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
    position: relative;
    text-transform: uppercase;
    z-index: 1;
    transition: 0.2s;
    text-decoration: none;
    background: transparent;
    border-radius: 8px;
}

.submenu-grid li a:hover {
    background: rgba(255,255,255,0.1);
}

.submenu-grid li a img {
    width: 120px;
    height: auto;
    margin: 0 auto;
    max-width: 100%;
    vertical-align: middle;
    border: none;
}

.submenu-grid li a .img-placeholder {
    width: 100px;
    height: 100px;
    margin: 0 auto;
    border-radius: 8px;
    background: #333;
    border: 2px dashed #555;
    display: flex;
    align-items: center;
    justify-content: center;
}

.submenu-grid li a span {
    color: #fff;
    font-size: 12px;
    line-height: 20px;
    text-transform: capitalize;
    margin-top: 8px;
    text-align: center;
    font-family: 'Poppins', sans-serif;
}

/* Has submenu indicator */
.has-submenu {
    position: static;
}

.has-submenu > a i {
    transition: transform 0.2s ease;
}

.has-submenu:hover > a i {
    transform: translateX(3px);
}

.has-submenu.submenu-open > a i {
    transform: rotate(90deg);
}

/* Old submenu styles - keep for backward compatibility */
.submenu {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #1a1a1a;
    backdrop-filter: blur(5px);
    list-style: none;
    padding: 0;
    margin: 0;
    transform: translateX(100%);
    transition: transform 0.25s ease-in-out, visibility 0s linear 0.25s;
    visibility: hidden;
    z-index: 5;
}

.submenu.open {
    transform: translateX(0);
    visibility: visible;
    transition-delay: 0s;
}

.submenu li a {
    display: block;
    padding: 1rem 1.5rem;
    margin: 0.5rem;
    background-color: #2a2a2a;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    color: #fff;
}

.submenu-back a {
    font-weight: bold;
    color: #aaa;
    border-bottom: none;
}

/* Mobile: submenu covers full screen */
@media (max-width: 768px) {
    .submenu-panel-desktop {
        left: 0;
        width: 100%;
        top: var(--header-height, 72px);
        height: calc(100vh - var(--header-height, 72px));
        padding: 20px;
    }
    
    .submenu-panel-desktop .submenu-grid {
        gap: 15px;
    }
    
    .submenu-panel-desktop .submenu-grid li {
        width: calc(50% - 8px);
        margin-bottom: 20px;
    }
    
    .submenu-panel-desktop .submenu-grid li a .img-placeholder {
        width: 70px;
        height: 70px;
    }
    
    .submenu-panel-desktop .submenu-grid li a span {
        font-size: 11px;
    }
}


/* Main Content */
main {
    padding: 0;
}

.about-page-wrapper {
    display: flex;
}

.section {
    padding: 4rem 2rem;
    text-align: center;
    flex-grow: 1;
}

.hero-section
.logo-slider,
.categories-showcase,
.youtube-video-section,
.featured-products,
.best-sellers,
.why-choose-us,
.customer-reviews,
.brand-story,
.newsletter-signup {
    padding: 20px;
}

.about-company-content {
    text-align: justify;
    padding: 1.5rem 2rem;
    margin-left: 2%;
    margin-right: 2%;
    font-family: Georgia, serif;
    font-size: 14.4px;
    line-height: 1.6;
    color: #666;
}

.legal-content {
    text-align: justify;
    padding: 0rem 2rem;
    padding: 20px;
    margin-left: 20%;
    margin-right: 20%;
}


h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #000;
}

h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #000;
    font-weight: bold;
}

/* Sidebar Navigation */
.sidebar-nav {
    width: 25%; /* 1/4 of the page */
    padding: 4rem 2rem;
    max-width: 420px; /* keep a sensible max on very large screens */
    background-color: #f8f8f8;
    border-right: 1px solid #eee;
    position: sticky;
    top: var(--header-height, 72px); /* Stay below header */
    height: calc(100vh - var(--header-height, 72px)); 
    overflow-y: auto; 
    text-align: left;
}

.sidebar-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-nav li a {
    display: block;
    padding: 0.8rem 0;
    color: #000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.sidebar-nav li a:hover {
    color: #555;
}


/* About Company Content */
.content-with-image {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    gap: 2rem;
    text-align: left;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.image-side {
    width: 40%;
    flex-shrink: 0;
    text-align: center;
}

.image-side img {
    width: 90%;
    max-width: 300px;
}

.image-side .image-caption {
    text-align: center;
    font-family: Georgia, serif;
    font-size: 13px;
    margin-top: 10px;
    color: #666;
}

.content-image-left {
    width: 40%;
    max-width: 300px;
    flex-shrink: 0;
    border-radius: 0;
}

.content-image-left + .text-content {
    width: 60%;
}

.text-content {
    flex-grow: 1;
    font-family: Georgia, serif;
    font-size: 14.4px;
}

.text-content h3 {
    font-family: Georgia, serif;
    font-size: 18px;
    font-weight: bold;
    color: #666;
    text-align: center;
    margin-bottom: 1.5rem;
}

.about-company-content > h2 {
    font-family: Georgia, serif;
    font-size: 18px;
    font-weight: bold;
    color: #666;
    text-align: left;
    margin-bottom: 1rem;
}

.about-company-content > h3 {
    font-family: Georgia, serif;
    font-size: 18px;
    font-weight: bold;
    color: #666;
    text-align: left;
    margin-bottom: 1rem;
}

.documents-intro {
    width: 80%;
    margin: 2rem auto;
    font-family: Georgia, serif;
    font-size: 14.4px;
    color: #666;
}

.section-divider {
    width: 80%;
    margin: 3rem auto;
    border: none;
    border-top: 1px solid #ccc;
}

.full-width-content {
    width: 80%;
    margin: 2rem auto;
    font-family: Georgia, serif;
    font-size: 14.4px;
    color: #666;
    text-align: justify;
}

.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.image-gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}


/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    aspect-ratio: 2.4 / 1;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

@media (max-width: 1439px) {   /* Laptop */
    .hero-section {
        aspect-ratio: 2.28 / 1;
    }
}

@media (max-width: 1023px) {   /* Tablet */
    .hero-section {
        aspect-ratio: 2 / 1;
    }
}

@media (max-width: 767px) { /* Mobile */
    .hero-section {
        width: 100%;
        height: auto;
        aspect-ratio: auto;     /* remove forced aspect ratio */
        overflow: hidden;       /* protect from side scrolling */
    }

    .hero-image {
        width: 100vw;           /* force exactly viewport width */
        height: auto;
        max-width: 100%;
        object-fit: cover;      /* prevents empty white bars */
        position: absolute;     /* disable absolute positioning */
        left: 0;
        top: 0;
    }
}


.hero-section::after {
    background-color: transparent;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
    padding: 0 20px;
    color: #000;
}

.hero-section {
    margin-top: 0;
    padding-top: 0;
}

.hero-section .hero-content h1 {
    margin-top: 0;
}

.hero-content h1 {
    font-size: clamp(2rem, 6vw, 3.5rem);
    margin-bottom: 1rem;
    font-weight: bold;
}

.hero-content p {
    font-size: clamp(1rem, 2vw, 1.3rem);
}

.btn-primary {
    display: inline-block;
    padding: 1rem 2rem;
    margin-top: 1rem;
    background-color: #ffd700;
    color: #000;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #e6c300;
}

/* Logo Slider */
.logo-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
    background: #fff;
    padding: 20px 0;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.05);
}

.logo-slide-track {
    display: flex;
    animation: slide 40s linear infinite;
    width: calc(150px * 12);
}

.logo-slide {
    width: 150px;
    height: 50px;
    display: flex;
    align-items: center;
    padding: 15px;
    margin: 0 20px;
    font-size: 2rem;
    color: #000;
}

.logo-slide i {
    width: 100%;
    text-align: center;
}

@keyframes slide {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* Categories Showcase */
.categories-showcase {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem 0; /* reduced vertical padding, no horizontal padding */
    background-color: #f8f8f8;
}

.category-row {
    display: flex;
    gap: 1rem;
}

.category-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    width: 100%;
    max-width: 1920px; /* limit to full HD width */
    height: 1080px; /* full HD height */
    margin: 0 auto; /* center on large screens */
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s ease;
    background-color: #f8f8f8;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(0, 0, 0, 0.1), transparent);
    transition: left 0.6s ease;
}

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

.category-card:hover::before {
    left: 100%;
}

.category-card.large {
    flex: 1;
}

.category-card.medium {
    flex: 1;
}

.category-card.small {
    flex: 1;
}

.category-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* show full image inside the 16:9 / 1920x1080 area */
    z-index: 0;
    filter: brightness(0.8);
}

/* Reduce spacing and padding between category cards on wider screens */
@media (min-width: 1024px) {
    .categories-showcase {
        gap: 0.5rem; /* less vertical space between rows */
        padding: 1rem 0; /* remove horizontal padding, keep small vertical padding */
    }

    .category-row {
        gap: 0.5rem; /* less horizontal space between cards */
    }
}

/* Responsive: scale down the full-HD container on smaller screens while preserving 16:9 ratio */
@media (max-width: 1280px) {
    .category-card {
        height: auto;
        aspect-ratio: 16 / 9;
    }
}

@media (max-width: 767px) {
    .category-card {
        height: auto;
        aspect-ratio: 16 / 9;
        border-radius: 6px;
    }
}

.category-content {
    z-index:21;
    font-size: 1.5rem;
    font-weight: bold;
}

/* YouTube Video Section */
.youtube-video-section {
    padding: 4rem 2rem;
    background-color: #f0f0f0;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #e0e0e0;
    border-radius: 20px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Make poster images fill the same 16:9 container */
.video-container img.video-poster {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

/* Blog styles */
.blog-hero {
    padding: 3rem 2rem;
    background: linear-gradient(90deg,#fafafa,#f0f0f0);
    text-align: center;
}
.blog-hero h1 { margin: 0.2rem 0; font-size: 2rem; }
.blog-hero p { margin: 0; color: #666; }

.container { max-width: 1100px; margin: 0 auto; padding: 1rem; }

.blog-list { display: grid; grid-template-columns: 1fr; gap: 1rem; padding: 1.5rem 0; }
.post-card {
    background: #fff;
    padding: 0.8rem;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}
.post-card h2 { margin: 0 0 0.35rem 0; font-size: 1rem; }
.post-card .meta { color: #888; font-size: 0.85rem; margin-bottom: 0.5rem; }
.read-more { color: #0077cc; text-decoration: none; font-weight: 600; }

.post-page .post { max-width: 800px; margin: 2rem auto; background: #fff; padding: 1.5rem; border-radius: 8px; }
.post .meta { color: #888; margin-bottom: 1rem; }
.post-hero img { width: 100%; height: auto; border-radius: 6px; margin-bottom: 1rem; }
.post-content h2 { margin-top: 1rem; }

@media (min-width: 700px) {
    .blog-list { grid-template-columns: 1fr 1fr; gap: 1rem; }
    /* Make listing cards rectangular and compact on wider screens */
    .post-card { height: 220px; padding: 0.9rem; }
    .post-card h2 { font-size: 1.05rem; }
    .post-card .excerpt { color: #444; font-size: 0.95rem; margin-top: 0.45rem; }
    .post-card .read-more { margin-top: 0.6rem; display: inline-block; }
}

/* Toast notification */
.site-toast{
    position: fixed;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    bottom: 20px;
    background: #0a7a0a;
    color: #fff;
    padding: 0.6rem 1rem;
    border-radius: 6px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
    opacity: 0;
    transition: transform 0.25s ease, opacity 0.25s ease;
    z-index: 2000;
}
.site-toast.show{ transform: translateX(-50%) translateY(0); opacity: 1; }

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.product-card {
    background-color: #f8f8f8;
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    border-radius: 5px;
}

/* Hexagon image mask for product thumbnails */
.hexagon {
    width: 160px;
    max-width: 100%;
    aspect-ratio: 1 / 1;
    margin: 0 auto 0.75rem auto;
    display: block;
    overflow: hidden; /* ensure clipping applies visually */
    position: relative;
    -webkit-clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0% 50%);
    clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0% 50%);
    transform: rotate(90deg);
    border: 4px solid black;
}
.hexagon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transform: rotate(-90deg);
   
}

@media (max-width: 600px) {
    .hexagon { width: 120px; }
}


.product-card h3 {
    margin-top: 1rem;
    font-size: 1.2rem;
    color: #000;
}

.product-card p {
    font-size: 1.1rem;
    color: #000;
    font-style: italic;
}

.btn-secondary {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    margin-top: 1rem;
    background-color: transparent;
    border: 2px solid #000;
    color: #000;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-secondary:hover {
    background-color: #000;
    color: #fff;
}

/* Cart Page */
.cart-section {
    padding: 4rem 2rem;
}

.cart-container {
    display: flex;
    gap: 2rem;
}

.cart-items {
    flex-grow: 1;
}

.cart-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 1.5rem;
}

.cart-item-image {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 1.5rem;
}

.cart-item-details {
    flex-grow: 1;
}

.cart-item-details h3 {
    margin: 0 0 0.5rem;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
}

.cart-item-quantity input {
    width: 40px;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin: 0 0.5rem;
}

.cart-summary {
    width: 300px;
    background-color: #f8f8f8;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.summary-details p {
    display: flex;
    justify-content: space-between;
}

.summary-details .total {
    font-weight: bold;
    font-size: 1.2rem;
}

.checkout-btn {
    width: 100%;
    margin-top: 2rem;
}



/* Why Choose Us */
.reasons {
    display: flex;
    justify-content: space-around;
    gap: 2rem;
    flex-wrap: wrap;
}

.reason {
    max-width: 300px;
    color: #000;
}

.reason i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #ffd700;
}

/* Customer Reviews */
.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.review-card {
    background-color: #f8f8f8;
    padding: 2rem;
    border-radius: 10px;
    text-align: left;
    color: #000;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.review-stars {
    color: #ffd700;
    margin-bottom: 1rem;
}

.review-card p {
    font-style: italic;
}

.review-card h4 {
    margin-top: 1rem;
    text-align: right;
}

/* Newsletter */
.newsletter-signup {
    background-color: #f0f0f0;
    padding: 4rem 2rem;
}

.newsletter-signup h2 {
    color: #000;
}

.newsletter-signup form {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.newsletter-signup input {
    padding: 1rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px 0 0 5px;
    background-color: #fff;
    color: #000;
    width: 300px;
}

.newsletter-signup button {
    padding: 1rem 2rem;
    font-size: 1rem;
    border: none;
    background-color: #000;
    color: #fff;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.newsletter-signup button:hover {
    background-color: #333;
}

/* Footer */
.site-footer {
    background-color: #000;
    color: #fff;
    box-sizing: border-box;
}

.footer-container {
    max-width: 1365px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    padding: 50px 0;
    flex-wrap: wrap;
    gap: 30px;
}

/* Left Side: Link Columns */
.footer-links-area {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.footer-col {
    list-style: none;
    padding: 0;
    margin: 0 15px 0 0;
    min-width: 160px;
}

.footer-col li {
    line-height: 29px;
}

.footer-col h6 {
    color: #fff;
    font-size: 14px;
    letter-spacing: 0.56px;
    text-transform: uppercase;
    font-weight: 600;
    margin: 0 0 20px;
}

.footer-col a {
    font-size: 14px;
    color: #bdbdbd;
    text-decoration: none;
    transition: color 0.25s linear;
}

.footer-col a:hover {
    color: #fff;
}

/* Right Side: Contact & Social */
.footer-contact-area {
    max-width: 500px;
    text-align: right;
}

.footer-help {
    margin-bottom: 30px;
}

.footer-help .help-label {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
    margin-right: 40px;
}

.footer-help .help-phone {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.2s;
}

.footer-help .help-phone:hover {
    opacity: 0.8;
}

.footer-feedback {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 20px;
    margin-bottom: 25px;
}

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

.footer-feedback .feedback-title {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    display: block;
}

.footer-feedback .feedback-text p {
    font-size: 13px;
    color: #bdbdbd;
    margin: 4px 0 0;
}

.footer-feedback .feedback-btn {
    display: inline-block;
    color: #fff;
    border: 2px solid #fff;
    font-size: 16px;
    padding: 5px 20px;
    text-transform: uppercase;
    font-weight: 600;
    text-decoration: none;
    transition: 0.2s;
    white-space: nowrap;
}

.footer-feedback .feedback-btn:hover {
    background: #fff;
    color: #000;
}

.footer-address {
    margin-bottom: 25px;
    text-align: right;
}

.footer-address .address-title {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
}

.footer-address p {
    font-size: 13px;
    color: #bdbdbd;
    margin: 0;
    line-height: 1.6;
}

.footer-address strong {
    font-weight: 700;
}

.footer-social {
    list-style: none;
    padding: 0;
    margin: 40px 0 0;
    display: flex;
    justify-content: flex-end;
    gap: 22px;
}

.footer-social li a {
    color: #fff;
    font-size: 20px;
    transition: 0.2s;
}

.footer-social li a:hover {
    opacity: 0.7;
}

/* Bottom Bar */
.footer-bottom-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    padding: 30px 0;
    border-top: 1px solid rgba(241, 241, 241, 0.08);
    color: #8f8e8d;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-bottom-links a {
    font-size: 13px;
    color: #bdbdbd;
    text-decoration: none;
    transition: 0.2s;
}

.footer-bottom-links a:hover {
    color: #fff;
}

.footer-bottom-links .divider {
    display: inline-block;
    width: 1px;
    height: 10px;
    background-color: #8f8e8d;
}

.footer-copyright {
    font-size: 13px;
    color: #bdbdbd;
}

/* Footer Responsive */
@media (max-width: 991px) {
    .footer-main {
        flex-direction: column;
    }
    
    .footer-contact-area {
        max-width: 100%;
        text-align: left;
    }
    
    .footer-help {
        text-align: left;
    }
    
    .footer-feedback {
        justify-content: flex-start;
        flex-wrap: wrap;
    }
    
    .footer-feedback .feedback-text {
        text-align: left;
    }
    
    .footer-address {
        text-align: left;
    }
    
    .footer-social {
        justify-content: flex-start;
    }
    
    .footer-bottom-bar {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .footer-links-area {
        flex-direction: column;
        gap: 25px;
    }
    
    .footer-col {
        min-width: 100%;
        margin: 0;
    }
    
    .footer-help .help-label {
        display: block;
        margin-right: 0;
        margin-bottom: 8px;
    }
    
    .footer-feedback {
        flex-direction: column;
        gap: 15px;
    }
}

#scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    background-color: #000;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    cursor: pointer;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

#scroll-to-top:hover {
    background-color: #333;
}

/* Position scroll-to-top button above mobile bottom nav */
@media (max-width: 600px) {
    #scroll-to-top {
        bottom: 80px; /* 58px nav height + 22px spacing */
    }
}

/* Responsive */
@media (max-width: 992px) {
    .sidebar-nav {
        display: none;
    }

    .about-page-wrapper {
        display: block; /* Revert to block on mobile */
    }

    .content-with-image {
        flex-direction: column;
        align-items: center;
    }
}

/* About page specific sidebar styling and smooth-scroll helpers */
.about-page-wrapper .sidebar-nav {
    width: 280px; /* Fixed width for consistency across pages */
    min-width: 280px;
    flex-shrink: 0;
    padding: 1.5rem 1.25rem;
    border: 1px solid #e8e7c9;
    background: #fff;
}

/* Sidebar Header - "IN THIS SECTION" */
.about-page-wrapper .sidebar-nav .sidebar-header {
    background-color: #e8e7c9;
    padding: 0.75rem 1rem;
    text-align: center;
    font-weight: bold;
    font-family: Verdana, sans-serif;
    font-size: 13px;
    color: #333;
    margin: -1.5rem -1.25rem 1rem -1.25rem;
    border-bottom: 1px solid #fff;
}

.about-page-wrapper .sidebar-nav ul {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
    margin: 0;
}

.about-page-wrapper .sidebar-nav ul li {
    list-style: none;
    border-bottom: 1px solid #fff;
}

.about-page-wrapper .sidebar-nav ul li a {
    display: block;
    padding: 0.65rem 1rem;
    background: #e8e7c9;
    color: #000;
    font-family: Verdana, sans-serif;
    font-size: 13px;
    text-decoration: none;
    border: 1px solid #fff;
    transition: background-color 0.15s ease;
    border-radius: 0;
    box-shadow: none;
}

.about-page-wrapper .sidebar-nav ul li a.sub-link {
    padding-left: 1.5rem;
}

.about-page-wrapper .sidebar-nav ul li a:hover,
.about-page-wrapper .sidebar-nav ul li a.active {
    background: #665f6e;
    color: #fff;
    transform: none;
    box-shadow: none;
}

/* Breadcrumb styling */
.about-company-content .breadcrumb {
    padding: 0.75rem 0;
    margin-bottom: 1.5rem;
    font-family: Verdana, sans-serif;
    font-size: 12px;
    color: #333;
}

.about-company-content .breadcrumb a {
    color: #0000ff;
    text-decoration: underline;
    font-weight: bold;
}

.about-company-content .breadcrumb a:hover {
    text-decoration: none;
}

.about-company-content .breadcrumb .current {
    color: #333;
}

/* Ensure headings don't get hidden behind sticky header */
.about-company-content h2,
.about-company-content h3 {
    scroll-margin-top: var(--header-offset, 96px);
}

/* Smooth scrolling for all browsers that support it */
html {
    scroll-behavior: smooth;
}

@media (max-width: 768px) {
    .category-row {
        flex-direction: column;
    }

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

    .newsletter-signup input {
        width: 100%;
    }

    .newsletter-signup form {
        flex-direction: column;
        align-items: center;
    }

    .newsletter-signup button {
        width: 100%;
        margin-top: 1rem;
        border-radius: 5px;
    }

    .hero-section {
        height: 50vh;
        padding-top: 28.125%;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    #search-input {
        width: 80%;
    }

    .cart-container {
        flex-direction: column;
    }

}

/* Product page helpers */
.product-details .product-description {
    text-align: left;
}

.product-description-box {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    color: #111;
    line-height: 1.6;
}

.product-code {
    font-size: 0.95rem;
    color: #333;
}

.product-aside {
    width: 360px;
    min-width: 280px;
}

.product-aside .price-box {
    padding: 1.75rem;
}

/* Increase spacing between buttons inside price box */
.product-aside .price-box .btn-secondary,
.product-aside .price-box .btn-primary {
    padding: 0.9rem 1rem;
}

.product-aside .price-box .btn-secondary {
    margin-right: 0.6rem;
}

@media (max-width: 768px) {
    .product-aside {
        width: 100%;
        min-width: auto;
    }

    .product-description-box {
        padding: 1rem;
    }
}

/* ========== CONTACT US PAGE ========== */
.contact-hero {
    text-align: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #262626 55%, #311414 100%);
    color: white;
    padding: 4rem 2rem;
    margin-bottom: 3rem;
}

.contact-hero h1 {
    font-size: 2.5rem;
    margin: 0 0 1rem 0;
    font-weight: 700;
}

.contact-hero p {
    font-size: 1.1rem;
    margin: 0;
    opacity: 0.95;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem 3rem 1.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.contact-card {
    background: #f9f9f9;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.contact-card:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.contact-card i {
    font-size: 2rem;
    color: #db0000;
    margin-bottom: 1rem;
}

.contact-card h3 {
    margin: 0.5rem 0;
    font-size: 1.2rem;
    color: #333;
}

.contact-card p {
    margin: 0.5rem 0;
    color: #666;
    font-size: 0.95rem;
}

.contact-card a {
    color: #db0000;
    text-decoration: none;
    font-weight: 500;
}

.contact-card a:hover {
    text-decoration: underline;
}

.contact-hours {
    font-size: 0.85rem;
    color: #999;
    font-style: italic;
}

/* Contact Form */
.contact-form-wrapper {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #eee;
}

.contact-form-wrapper h2 {
    margin-top: 0;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: #333;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Google Sans', sans-serif;
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #db0000;
    box-shadow: 0 0 0 3px rgba(219, 0, 0, 0.1);
}

.contact-form button {
    background: #db0000;
    color: white;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-form button:hover {
    background: #b00000;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(219, 0, 0, 0.4);
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 4px;
    text-align: center;
}

.form-message .success {
    color: #27ae60;
    background: #d5f4e6;
    padding: 0.75rem;
    border-radius: 4px;
}

.form-message .error {
    color: #e74c3c;
    background: #fadbd8;
    padding: 0.75rem;
    border-radius: 4px;
}

/* FAQ Section */
.faq-section {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 1.5rem;
}

.faq-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #333;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.faq-item {
    background: #f9f9f9;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #db0000;
}

.faq-item h4 {
    margin-top: 0;
    margin-bottom: 0.75rem;
    color: #333;
    font-size: 1.1rem;
}

.faq-item p {
    margin: 0;
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .contact-hero h1 {
        font-size: 1.8rem;
    }

    .contact-hero p {
        font-size: 1rem;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding-bottom: 2rem;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
    }

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

    .contact-card {
        padding: 1rem;
    }
}
