/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Oxygen Font Family */
body,
html {
    font-family: "Oxygen", sans-serif;
}

body *,
html * {
    font-family: "Oxygen", sans-serif;
}

:root {
    /* Spacing Scale */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 5rem;

    /* Font Sizes */
    --font-xs: 0.75rem;
    --font-sm: 0.875rem;
    --font-base: 1rem;
    --font-lg: 1.125rem;
    --font-xl: 1.25rem;
    --font-2xl: 1.5rem;
    --font-3xl: 2rem;
    --font-4xl: 2.5rem;
    --font-5xl: 3rem;

    /* Container Widths */
    --container-sm: 640px;
    --container-md: 768px;
    --container-lg: 1024px;
    --container-xl: 1280px;
    --container-2xl: 1400px;

    /* Colors */
    --color-primary: #0a369d;
    --color-primary-dark: #082a7a;
    --color-accent: #fc7845;
    --color-success: #13c301;
    --color-bg-light: #fffbf9;
    --color-bg-gray: #f6f4f1;
    --color-text-dark: #1a1a1a;
    --color-text-gray: #808080;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 13px;
    }
}

body {
    font-family: "Oxygen", sans-serif;
    color: var(--color-text-dark);
    background-color: #fff;
    overflow-x: hidden;
    line-height: 1.6;
}

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

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

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

/* Container - Responsive with fluid padding */
.container {
    width: 100%;
    max-width: var(--container-2xl);
    margin: 0 auto;
    padding-left: clamp(1rem, 3vw, 2rem);
    padding-right: clamp(1rem, 3vw, 2rem);
}

/* Page Wrapper */
.page-wrapper {
    width: 100%;
    overflow-x: hidden;
}

/* ============================================
   HEADER - Fully Responsive
   ============================================ */
.header {
    background-color: var(--color-bg-light);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 0.125rem 0.625rem rgba(0, 0, 0, 0.05);
    transition: box-shadow var(--transition-base);
    overflow: visible;
    width: 100%;
}

.header-container {
    position: relative;
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    padding-inline: clamp(1rem, 3vw, 2rem);
    display: grid;
    grid-template-columns: auto 1fr auto;
    /* LOGO — NAV — ICONS */
    align-items: center;
    height: clamp(7rem, 10vh, 5.625rem);
    gap: var(--spacing-md);
    z-index: 10;
    min-height: clamp(7rem, 10vh, 5.625rem);
    overflow: visible;
    background: #0a369d;
}

.header-container::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: clamp(200px, 30vw, 400px);
    height: 100%;
    background-image: url("../img/rectangle.png");
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    z-index: 0;
    pointer-events: none;
    transition: width var(--transition-base);
}

.logo {
    width: clamp(1rem, 15vw, 6.5rem);
    cursor: pointer;
    z-index: 2;
    justify-self: start;
    position: relative;
}

.logo img {
    width: 100%;
    height: auto;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    /* gap: 0.3125rem; */
    padding: var(--spacing-xs);
    z-index: 1001;
    background: transparent;
    border: none;
    cursor: pointer;
    order: 2;
}

.mobile-menu-toggle span {
    width: 1.5625rem;
    height: 0.1875rem;
    background-color: var(--color-text-dark);
    transition: all var(--transition-base);
    border-radius: 0.125rem;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(0.5rem, 0.5rem);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(0.4375rem, -0.4375rem);
}

/* Mobile: visible, styled toggle */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: inline-flex;
        justify-content: center;
        align-items: center;
        width: 40px;
        height: 40px;
        /* gap: 5px; */
        background: #f4f5f7;
        border: 1px solid #e5e7eb;
        border-radius: 8px;
    }
    .mobile-menu-toggle span {
        display: block;
        width: 20px;
        height: 2px;
        background: #111827;
    }
}

/* Navigation */
.nav {
    display: flex;
    gap: clamp(1.25rem, 3vw, 2.5rem);
    align-items: center;
    justify-content: center;
    z-index: 2;
    position: relative;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 0.3125rem;
    font-weight: 700;
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    color: #ffffff;
    cursor: pointer;
    transition: color var(--transition-base);
    white-space: nowrap;
    padding: var(--spacing-xs);
}

.nav-item:hover,
.nav-item:focus {
    color: #ffffff;
    outline: none;
}

.nav-item:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
    border-radius: 0.25rem;
}

.nav-item img {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
}

/* ============================================
   MODERN CATEGORY DROPDOWN
   ============================================ */
.nav-item-dropdown {
    position: relative;
}

.nav-link-dropdown {
    display: flex;
    align-items: center;
    gap: 0.3125rem;
    text-decoration: none;
    color: var(--color-text-dark);
    font-weight: 700;
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    transition: color var(--transition-base);
}

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

.dropdown-arrow {
    font-size: 0.75rem;
    transition: transform var(--transition-base);
}

.nav-item-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

/* Category Dropdown Container */
.nav-item-dropdown::before {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 15px;
    background: transparent;
    z-index: 10001;
}

.category-dropdown {
    position: absolute;
    top: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    min-width: 320px;
    max-width: 900px;
    width: max-content;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10002;
    padding: 25px 0;
    margin-top: 0;
}

.nav-item-dropdown:hover .category-dropdown,
.category-dropdown:hover {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.category-dropdown-content {
    display: flex;
    flex-direction: column;
    max-height: 500px;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0 5px;
}

/* Category Item */
.category-item {
    position: relative;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease;
}

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

.category-item:hover {
    background-color: #f8f9fa;
}

.category-main-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
    text-decoration: none;
    color: #1a1a1a;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
    position: relative;
    width: 100%;
}

.category-main-link:hover {
    color: var(--color-primary);
    padding-left: 28px;
}

.category-main-link::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: transparent;
    transition: background-color 0.2s ease;
}

.category-main-link:hover::before {
    background-color: var(--color-primary);
}

.category-title {
    flex: 1;
}

.category-arrow {
    font-size: 12px;
    color: #999;
    transition: transform 0.2s ease;
    margin-left: 10px;
}

.category-item:hover .category-arrow {
    transform: translateX(3px);
    color: var(--color-primary);
}

/* Subcategory Dropdown */
.subcategory-dropdown {
    position: absolute;
    left: calc(100% + 8px);
    top: 0;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    min-width: 240px;
    max-width: 280px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10003;
    padding: 12px 0;
    margin-left: 0;
}

.category-item::after {
    content: "";
    position: absolute;
    left: 100%;
    top: 0;
    bottom: 0;
    width: 8px;
    background: transparent;
    z-index: 10002;
}

.category-item:hover .subcategory-dropdown,
.subcategory-dropdown:hover {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

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

.subcategory-link {
    display: block;
    padding: 11px 24px;
    text-decoration: none;
    color: #555;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
    position: relative;
}

.subcategory-link:hover {
    background-color: #f8f9fa;
    color: var(--color-primary);
    border-left-color: var(--color-primary);
    padding-left: 28px;
}

.subcategory-link::before {
    content: "→";
    position: absolute;
    left: 8px;
    opacity: 0;
    transition: opacity 0.2s ease;
    color: var(--color-primary);
}

.subcategory-link:hover::before {
    opacity: 1;
}

/* Scrollbar Styling for Dropdown - Modern Thin Scrollbar */
.category-dropdown-content::-webkit-scrollbar {
    width: 5px;
}

.category-dropdown-content::-webkit-scrollbar-track {
    background: transparent;
    margin: 10px 0;
}

.category-dropdown-content::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #c1c1c1, #d4d4d4);
    border-radius: 10px;
    transition: background 0.2s ease;
}

.category-dropdown-content::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #a8a8a8, #b8b8b8);
}

/* Firefox scrollbar */
@supports (scrollbar-width: thin) {
    .category-dropdown-content {
        scrollbar-width: thin;
        scrollbar-color: #c1c1c1 transparent;
    }
}

.header-right {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: flex-end;
    z-index: 2;
    justify-self: end;
    position: relative;
    flex-wrap: nowrap;
}

.icon-separator {
    color: rgba(148, 163, 184, 0.6);
    font-size: 18px;
    font-weight: 300;
    margin: 0 4px;
    line-height: 1;
    z-index: 2;
    position: relative;
}

.single-icon {
    position: relative;
    z-index: 2;
}

.header-right img {
    width: 100%;
}

/* Tablet Breakpoint */
@media (max-width: 1024px) {
    .header-container {
        padding-inline: clamp(1rem, 2.5vw, 1.5rem);
    }

    .nav {
        gap: var(--spacing-md);
    }

    .nav-item {
        font-size: var(--font-sm);
    }

    .header-container::before {
        width: clamp(180px, 22vw, 280px);
    }

    .icon-separator {
        font-size: 16px;
        margin: 0 3px;
    }

    /* Tablet Category Dropdown */
    .category-dropdown {
        max-width: 500px;
        min-width: 300px;
    }
}

/* Mobile Breakpoint */
@media (max-width: 768px) {
    .header-container {
        grid-template-columns: auto 1fr auto;
        padding-inline: clamp(0.75rem, 2vw, 1.5rem);
    }

    .mobile-menu-toggle {
        display: flex;
        z-index: 12;
        order: 2;
        justify-self: center;
    }

    .logo {
        justify-self: start;
        z-index: 12;
        order: 1;
    }

    .nav {
        position: fixed;
        top: clamp(4rem, 10vh, 5.625rem);
        left: -100%;
        width: 100%;
        height: calc(100vh - clamp(4rem, 10vh, 5.625rem));
        background-color: #ffffff;
        flex-direction: column;
        gap: 8px;
        padding: 20px;
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        justify-content: flex-start;
        z-index: 1000;
        order: 3;
        box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    }

    .nav.active {
        left: 0;
    }

    .nav-item {
        width: 100%;
        padding: 14px 20px;
        border-radius: 8px;
        font-size: var(--font-base);
        justify-content: space-between;
        border-bottom: 1px solid transparent;
        background-color: transparent;
        transition: all 0.2s ease;
    }

    .nav-item:hover {
        background-color: #f6f9fc;
        color: var(--color-primary);
        padding-left: 25px;
    }

    /* Mobile Category Dropdown */
    .nav-item-dropdown {
        width: 100%;
    }

    .nav-item-dropdown::before {
        display: none;
    }

    .nav-link-dropdown {
        width: 100%;
        justify-content: space-between;
        padding: 14px 20px;
        border-radius: 8px;
        border-bottom: none;
        transition: all 0.2s ease;
    }

    .nav-link-dropdown:hover {
        background-color: #f6f9fc;
        color: var(--color-primary);
        padding-left: 25px;
    }

    .category-dropdown {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        pointer-events: all;
        box-shadow: none;
        border-radius: 0;
        padding: 0;
        margin: 0;
        max-width: 100%;
        width: 100%;
        background: transparent;
        display: none;
        left: 0;
    }

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

    .category-dropdown-content {
        max-height: none;
        overflow-y: visible;
        overflow-x: hidden;
        padding: 0;
    }

    .category-item {
        border-bottom: 1px solid #e0e0e0;
    }

    .category-item::after {
        display: none;
    }

    .category-main-link {
        padding: 14px 20px;
        background: #f8f9fa;
    }

    .category-main-link::before {
        display: none;
    }

    .subcategory-dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        pointer-events: all;
        box-shadow: none;
        border-radius: 0;
        margin: 0;
        padding: 0;
        background: #f0f0f0;
        display: none;
        min-width: 100%;
        max-width: 100%;
        left: 0;
    }

    .category-item.active .subcategory-dropdown {
        display: block;
    }

    .subcategory-link {
        padding: 11px 30px;
        border-left: none;
        border-bottom: 1px solid #e0e0e0;
    }

    .subcategory-link::before {
        display: none;
    }

    .subcategory-link:hover {
        padding-left: 30px;
        border-left: none;
    }

    .header-right {
        width: auto;
        gap: 12px;
        justify-self: end;
        z-index: 12;
        order: 4;
    }

    .header-container::before {
        width: clamp(150px, 30vw, 220px);
    }

    .icon-separator {
        font-size: 14px;
        margin: 0 2px;
    }

    .header-right {
        gap: 10px;
    }
}

/* Small Mobile Breakpoint */
@media (max-width: 480px) {
    .header-container {
        padding-inline: 0.75rem;
        gap: 0.5rem;
    }

    .logo {
        width: clamp(3rem, 12vw, 4rem);
    }

    .header-right {
        gap: 8px;
    }

    .single-icon {
        font-size: 18px;
    }

    .header-container::before {
        width: clamp(120px, 35vw, 180px);
    }

    .icon-separator {
        font-size: 12px;
        margin: 0 1px;
    }

    .header-right {
        gap: 8px;
    }
}

/* ============================================
   BANNER - Fully Responsive Hero Section
   ============================================ */
.banner {
    position: relative;
    height: clamp(51rem, 65vh, 46rem);
    overflow: hidden;
    background-color: #171717;
    display: flex;
    align-items: center;
}

.banner-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.3) 50%,
        transparent 100%
    );
    z-index: 1;
}

.banner-watch {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center right;
    z-index: 2;
}

.banner-content {
    position: relative;
    z-index: 3;
    max-width: var(--container-2xl);
    margin: 0 auto;
    padding: 0 clamp(1rem, 3vw, 2rem);
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.banner-title {
    font-size: clamp(1.75rem, 5vw, 4rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: clamp(1rem, 2vh, 1.25rem);
    text-shadow: -0.125rem 1.5rem 1.1875rem rgba(0, 0, 0, 0.4);
    max-width: 90%;
}

.banner-subtitle {
    font-size: clamp(1.25rem, 3vw, 2.25rem);
    color: #fff;
    margin-bottom: clamp(1.5rem, 3vh, 2.5rem);
    text-shadow: 0 0.25rem 4.25rem rgba(0, 0, 0, 0.99);
}

.btn-primary {
    padding: clamp(0.75rem, 2vh, 0.9375rem) clamp(2rem, 5vw, 3.125rem);
    background-color: var(--color-primary);
    color: #fff;
    font-size: clamp(1rem, 2.5vw, 1.75rem);
    font-weight: 700;
    border-radius: 0.625rem;
    border: 0.25rem solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--color-primary-dark);
    transform: translateY(-0.125rem);
    box-shadow: 0 0.3125rem 1.25rem rgba(10, 54, 157, 0.4);
    outline: none;
}

.btn-primary:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

.banner-pagination {
    position: absolute;
    bottom: clamp(4.25rem, 3vh, 2.5rem);
    right: clamp(1.25rem, 3vw, 2.5rem);
    display: flex;
    gap: 0.625rem;
    z-index: 3;
}

.dot {
    width: 0.9375rem;
    height: 0.9375rem;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all var(--transition-base);
    border: none;
    padding: 0;
}

.dot:hover,
.dot:focus {
    background-color: rgba(255, 255, 255, 0.8);
    outline: none;
}

.dot:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.dot.active {
    width: 3.75rem;
    border-radius: 0.625rem;
    background-color: #fff;
}

/* Tablet Banner */
@media (max-width: 1024px) {
    .banner {
        height: clamp(22rem, 55vh, 37.5rem);
    }

    .banner-watch {
        width: 60%;
    }
}

/* Mobile Banner */
@media (max-width: 768px) {
    .banner {
        height: clamp(20rem, 50vh, 31.25rem);
    }

    .banner-watch {
        width: 100%;
        opacity: 0.3;
    }

    .banner-overlay {
        background: rgba(0, 0, 0, 0.6);
    }

    .banner-content {
        align-items: center;
        text-align: center;
    }

    .banner-title {
        max-width: 100%;
    }

    .banner-pagination {
        bottom: var(--spacing-md);
        right: 50%;
        transform: translateX(50%);
    }
}

@media (max-width: 480px) {
    .banner {
        height: clamp(18rem, 45vh, 25rem);
    }
}

/* ============================================
   SECTIONS - Responsive Spacing
   ============================================ */
.section {
    padding: clamp(2.5rem, 8vh, 5rem) 0;
    background-color: var(--color-bg-gray);
}

.ats-section {
    padding-top: clamp(4rem, 6vh, 5rem);
    padding-bottom: clamp(4rem, 6vh, 5rem);
    background: #f8f9fa; /* Fallback */
    position: relative;
    overflow: hidden;
    /* Animated Gradient Background */
    background: linear-gradient(-45deg, #f8f9fa, #e9ecef, #dfe4ea, #f1f2f6);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Decorative Blobs for Aesthetic */
.ats-section::before,
.ats-section::after {
    content: '';
    position: absolute;
    width: clamp(300px, 50vw, 600px);
    height: clamp(300px, 50vw, 600px);
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.15;
    z-index: 0;
    pointer-events: none;
}

.ats-section::before {
    background: #0a369d; /* Brand Blue */
    top: -20%;
    left: -10%;
    animation: floatBlob 12s infinite alternate ease-in-out;
}

.ats-section::after {
    background: #ff6600; /* Brand Orange */
    bottom: -20%;
    right: -10%;
    animation: floatBlob 15s infinite alternate-reverse ease-in-out;
}

@keyframes floatBlob {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(30px, 40px) rotate(10deg); }
}

.section:nth-child(even) {
    background-color: #fff;
}

.section-header {
    text-align: center;
    margin-bottom: clamp(2rem, 5vh, 3.75rem);
}

.section-title {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 400;
    color: #0a369d;
    margin-bottom: 0.625rem;
    letter-spacing: 0.0625rem;
}

.section-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.375rem);
    color: #000;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

.section-subtitle .highlight {
    color: var(--color-accent);
}

.section-subtitle .separator {
    margin: 0 0.5rem;
    color: #403c3c;
}
.section-subtitle .filter-btn {
    font-weight: 700;
    letter-spacing: 0.02em;
    white-space: nowrap;
}
@media (max-width: 768px) {
    .section-subtitle {
        gap: 6px;
        white-space: normal;
        flex-wrap: wrap;
        /* overflow-x: visible; */
        justify-content: center;
    }
    .section-subtitle .separator {
        margin: 0 0.375rem;
        display: none;
    }
    .section-subtitle .filter-btn {
        word-break: keep-all;
    }
}

/* ============================================
   PRODUCTS GRID - Responsive Grid System
   ============================================ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(17.5rem, 1fr));
    gap: clamp(1.25rem, 3vw, 1.875rem);
    max-width: var(--container-2xl);
    margin: 0 auto;
}

.product-card {
    background-color: #fff;
    border-radius: 0.9375rem;
    overflow: hidden;
    box-shadow: 0.375rem 0.625rem 1.25rem rgba(0, 0, 0, 0.15);
    transition: transform var(--transition-base),
        box-shadow var(--transition-base);
    display: flex;
    flex-direction: column;
}

.product-card:hover,
.product-card:focus-within {
    transform: translateY(-0.3125rem);
    box-shadow: 0.375rem 0.9375rem 1.875rem rgba(0, 0, 0, 0.2);
}

.product-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background-color: #f5f5f5;
    position: relative;
}

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

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

.product-info {
    padding: clamp(1rem, 2.5vw, 1.25rem);
    background-color: #f7f7f7;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-rating {
    display: inline-flex;
    align-items: center;
    gap: 0.3125rem;
    padding: 0.3125rem 0.625rem;
    background-color: #fff;
    border-radius: 1.25rem;
    border: 1px solid #f2f2f2;
    font-size: var(--font-xs);
    margin-bottom: 0.625rem;
    align-self: flex-start;
}

.product-rating img {
    width: 0.625rem;
    height: 0.625rem;
}

.product-name {
    font-size: clamp(0.875rem, 2vw, 1rem);
    font-weight: 700;
    color: #000;
    margin-bottom: 0.3125rem;
}

.product-desc {
    font-size: var(--font-xs);
    color: #000;
    margin-bottom: 0.625rem;
    flex: 1;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.price-current {
    font-size: clamp(0.875rem, 2vw, 1rem);
    font-weight: 700;
    color: #000;
}

.price-original {
    font-size: var(--font-xs);
    color: var(--color-text-gray);
    text-decoration: line-through;
}

.price-discount {
    font-size: var(--font-xs);
    font-weight: 700;
    color: var(--color-success);
}

/* Responsive Grid Adjustments */
@media (min-width: 1400px) {
    .products-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(
            auto-fit,
            minmax(min(100%, 15.625rem), 1fr)
        );
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(
            auto-fit,
            minmax(min(100%, 12.5rem), 1fr)
        );
        gap: var(--spacing-md);
    }
}

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

/* ============================================
   CATEGORIES GRID - Responsive Cards
   ============================================ */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 17.5rem), 1fr));
    gap: clamp(1.25rem, 3vw, 1.875rem);
    max-width: var(--container-2xl);
    margin: 0 auto;
}

.category-card {
    position: relative;
    aspect-ratio: 3 / 4;
    border-radius: 0.9375rem;
    overflow: hidden;
    cursor: pointer;
    transition: transform var(--transition-base);
}

.category-card:hover,
.category-card:focus {
    transform: scale(1.05);
    outline: none;
}

.category-card:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 2px;
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 50%);
}

.category-info {
    position: absolute;
    bottom: clamp(1rem, 3vh, 1.875rem);
    left: 0;
    right: 0;
    text-align: center;
    color: #fff;
    z-index: 2;
    padding: 0 var(--spacing-sm);
}

.category-info h3 {
    font-size: clamp(1.25rem, 3vw, 1.875rem);
    font-weight: 700;
    margin-bottom: 0.3125rem;
}

.category-info p {
    font-size: clamp(1rem, 2vw, 1.25rem);
}
.category-count {
    display: inline-block;
    font-size: clamp(0.875rem, 2vw, 1rem);
    opacity: 0.85;
    margin-bottom: 0.375rem;
}
.category-info .text-wrapper-29 {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    color: #fff;
}

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

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

/* ============================================
   ABOUT SECTION - With Gradient Border
   ============================================ */
.about-section {
    position: relative;
    padding: clamp(2.5rem, 8vh, 5rem) 0;
    background-color: var(--color-bg-gray);
}

/* OUTER BOX (Gradient Border + Shadow) */
.about-section .about-box {
    position: relative;
    padding: clamp(2rem, 4vw, 3rem);
    border-radius: 20px;

    /* gradient border */
    border: 4px solid transparent;
    background-image: linear-gradient(#fff, #fff),
        linear-gradient(90deg, #ff6a00, #005cff, #00b341);
    background-origin: border-box;
    background-clip: padding-box, border-box;

    /* soft shadow */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);

    max-width: 75rem;
    margin: 0 auto;
    overflow: hidden;
}

/* CONTENT LAYOUT (same as your original — unchanged) */
.about-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(2rem, 5vw, 3.75rem);
    position: relative;
    z-index: 2;
    flex-wrap: wrap;
}

.about-logo {
    width: clamp(6rem, 15vw, 10rem);
    flex-shrink: 0;
}

.about-logo img {
    width: 100%;
    height: auto;
}

.about-text {
    flex: 1;
    min-width: min(100%, 25rem);
}

.about-text p {
    font-size: clamp(1rem, 2vw, 1.375rem);
    line-height: 1.8;
    color: #000;
    margin-bottom: 0.3125rem;
}

/* FAINT TECH BACKGROUND */
.about-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.16;
    pointer-events: none;
    z-index: 1;
}

/* MOBILE ADJUSTMENTS */
@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .about-bg {
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        opacity: 0.15;
    }
}

/* ============================
   ATS SECTION
   ============================ */
/* .ats-section {
    padding: clamp(2rem, 6vh, 3.75rem) 0;
    background-color: var(--color-bg-gray);
} */

/* ============================
   ABOUT US: LEGACY IMAGE
   ============================ */
.about-legacy-image-col {
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    position: relative;
    overflow: hidden;
}

.about-legacy-image-col .legacy-img {
    width: 100%;
    height: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

@media (max-width: 992px) {
    .about-legacy-image-col {
        min-height: clamp(380px, 45vh, 520px);
    }
}

    @media (max-width: 576px) {
        .about-legacy-image-col {
            min-height: clamp(320px, 40vh, 460px);
        }
    }

    .about-ethos-image-col {
        min-height: 600px;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #ffffff;
        position: relative;
        overflow: hidden;
    }

    .about-ethos-image-col .ethos-img {
        width: 100%;
        height: 100%;
        max-height: 100%;
        object-fit: contain;
        object-position: center;
        display: block;
    }

    @media (max-width: 992px) {
        .about-ethos-image-col {
            min-height: clamp(380px, 45vh, 520px);
        }
    }

    @media (max-width: 576px) {
        .about-ethos-image-col {
            min-height: clamp(320px, 40vh, 460px);
        }
    }

/* Slider Wrapper */
.ats-slider {
    position: relative;
    width: 100%;
    max-width: var(--container-2xl);
    margin: 0 auto;
    overflow: hidden;
    border-radius: 22px;
    /* Responsive sizing */
    width: 100%;
    aspect-ratio: 21/9; /* Ultrawide for desktop */
    /* Fallback */
    min-height: 200px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

@media (max-width: 992px) {
    .ats-slider {
        aspect-ratio: 16/8;
    }
}

@media (max-width: 576px) {
    .ats-slider {
        aspect-ratio: 16/9; /* Taller for mobile visibility */
        border-radius: 16px;
    }
}

/* Each Slide */
.ats-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 0.8s ease, transform 0.8s ease;
    z-index: 1;
    pointer-events: none;
}

.ats-slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
    pointer-events: auto;
}

/* IMAGE STYLE */
.ats-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    border-radius: 22px;
}

@media (max-width: 576px) {
    .ats-img {
        border-radius: 16px;
    }
}

/* ============================
   REVIEWS SECTION
   ============================ */
.reviews-section .reviews {
    position: relative;
}
.reviews-section .reviews-actions {
    margin-top: 18px;
    text-align: right;
}
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    align-items: stretch;
    gap: clamp(18px, 3vw, 28px);
}
.review-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(0,0,0,.08);
    overflow: hidden;
    padding: clamp(16px, 2vw, 22px);
    min-height: 100%;
    transition: transform .2s ease, box-shadow .2s ease;
}
.review-card:hover,
.review-card:focus-within {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(0,0,0,.12);
}
.review-media {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 14px;
    align-items: center;
    margin-bottom: 12px;
}
.review-media .user-photo {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #f0f0f0;
}
.review-media .product-photo {
    width: 100%;
    height: 96px;
    object-fit: contain;
    border-radius: 12px;
    background: #fafafa;
}
.review-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}
.rating-stars i {
    color: #f5a623;
    font-size: 1rem;
}
.review-text {
    color: #333;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 12px;
}
.product-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 6px;
}
.product-meta .product-thumb {
    width: 52px;
    height: 52px;
    object-fit: contain;
    background: #fafafa;
    border-radius: 10px;
}
.product-meta .product-title {
    font-weight: 600;
    color: #111;
    font-size: 15px;
}

.reviews-section .slick-list {
    margin: 0 -16px;
}
.reviews-section .slick-slide {
    padding: 0 16px;
}

.reviews-actions .view-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    border-radius: 999px;
    background: linear-gradient(135deg, #0a369d, #4f46e5);
    color: #fff;
    border: none;
    font-weight: 600;
    box-shadow: 0 8px 18px rgba(79, 70, 229, 0.25);
    transition: transform var(--transition-base), box-shadow var(--transition-base), opacity var(--transition-base);
}
.reviews-actions .view-more:hover,
.reviews-actions .view-more:focus {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(79, 70, 229, 0.35);
    opacity: 0.95;
}
.reviews-actions .view-more:active {
    transform: translateY(0);
    box-shadow: 0 6px 14px rgba(79, 70, 229, 0.25);
}

@media (max-width: 992px) {
    .review-media {
        grid-template-columns: 64px 1fr;
        gap: 12px;
    }
    .review-media .user-photo {
        width: 64px;
        height: 64px;
    }
    .review-media .product-photo {
        height: 84px;
        border-radius: 10px;
    }
    .review-card {
        padding: 16px;
        border-radius: 16px;
    }
}

@media (max-width: 768px) {
    .reviews-grid {
        gap: 12px;
    }
    .rating-stars i {
        font-size: .95rem;
    }
    .product-meta .product-title {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .review-media {
        grid-template-columns: 56px 1fr;
        gap: 10px;
    }
    .review-media .user-photo {
        width: 56px;
        height: 56px;
    }
    .review-media .product-photo {
        height: 72px;
    }
    .review-card {
        padding: 14px;
    }
}

/* DOTS */
.ats-dots {
    position: absolute;
    bottom: 18px;
    right: 22px;
    display: flex;
    gap: 8px;
    z-index: 10;
}

.ats-dots .dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.55);
    /* light gray dot */
    border-radius: 50%;
    cursor: pointer;
}

.ats-dots .dot.active {
    background: #fff;
    /* active white dot (same as reference) */
}

/* MOBILE FRIENDLY */
@media (max-width: 768px) {
    .ats-slider {
        border-radius: 16px;
    }

    .ats-img {
        border-radius: 16px;
    }
}

/* ============================================
   CELEBRATION GRID - Responsive Product Grid
   ============================================ */
.celebration-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
    gap: clamp(1.25rem, 3vw, 1.875rem);
    max-width: var(--container-2xl);
    margin: 0 auto;
}

.celebration-item {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.celebration-item img {
    width: 100%;
    height: auto;
    border-radius: 0.625rem;
    object-fit: cover;
}

.celebration-info h3 {
    font-size: clamp(0.875rem, 2vw, 1rem);
    font-weight: 700;
    color: #000;
    margin-bottom: 0.3125rem;
}

.celebration-info p {
    font-size: var(--font-xs);
    color: #000;
    margin-bottom: 0.625rem;
}

.celebration-price {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.celebration-price .price-current {
    font-size: clamp(0.875rem, 2vw, 0.875rem);
    font-weight: 700;
    color: #000;
}

.celebration-price .price-original {
    font-size: var(--font-xs);
    color: var(--color-text-gray);
    text-decoration: line-through;
}

@media (max-width: 768px) {
    .celebration-grid {
        grid-template-columns: repeat(
            auto-fit,
            minmax(min(100%, 11.25rem), 1fr)
        );
    }
}

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

/* ============================================
   INSTAGRAM SECTION - Responsive
   ============================================ */
/* Instagram Grid Layout */
.insta-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columns on large screens */
    gap: 15px;
    max-width: var(--container-2xl);
    margin: 0 auto;
}

.insta-card {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    width: 100%;
}

.insta-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

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

/* Size variations */
.img-wide {
    grid-column: span 2;
    aspect-ratio: 2 / 1;
}

.img-small {
    grid-column: span 1;
    aspect-ratio: 1 / 1;
}

/* Responsive */
@media (max-width: 1024px) {
    .insta-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    /* Ensure auto-flow works nicely */
    .insta-grid {
        grid-auto-flow: dense;
    }
}

@media (max-width: 768px) {
    .insta-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .img-wide {
        grid-column: span 2; /* Full width */
        aspect-ratio: 2 / 1;
    }
    .img-small {
        grid-column: span 1; /* Half width */
        aspect-ratio: 1 / 1;
    }
}

@media (max-width: 480px) {
    .insta-grid {
        gap: 8px;
    }
}

/* ============================================
   FEATURES - Responsive Grid
   ============================================ */
.features {
    background-color: #fff;
    padding: clamp(2rem, 6vh, 3.125rem) 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 12.5rem), 1fr));
    gap: clamp(1.5rem, 4vw, 2.5rem);
    max-width: 75rem;
    margin: 0 auto;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    justify-content: center;
}

.feature-icon {
    width: clamp(3rem, 8vw, 3.75rem);
    height: clamp(3rem, 8vw, 3.75rem);
    background-color: #b8edb3;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon img {
    width: 75%;
    height: 75%;
    object-fit: contain;
}

.feature-item p {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    font-weight: 700;
    color: #000;
    line-height: 1.4;
}

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

    .feature-item {
        flex-direction: column;
        text-align: center;
    }
}

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

/* ============================================
   FOOTER - Responsive Layout
   ============================================ */
.footer {
    background-color: #1d1f24;
    color: #fff;
    padding: clamp(2.5rem, 6vh, 3.75rem) 0 clamp(1.5rem, 3vh, 1.875rem);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 12.5rem), 1fr));
    gap: clamp(1.5rem, 4vw, 2.5rem);
    max-width: 75rem;
    margin: 0 auto;
}

.footer-column h3 {
    font-size: clamp(1rem, 2vw, 1.125rem);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

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

.footer-column ul li {
    margin-bottom: 0.75rem;
}

.footer-column ul li a {
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    color: #fff;
    transition: color var(--transition-base);
    display: inline-block;
    letter-spacing: 0;
    word-spacing: normal;
    line-height: 1.6;
}

.footer-column ul li a:hover,
.footer-column ul li a:focus {
    color: #b8edb3;
    outline: none;
}

.footer-column ul li a:focus-visible {
    outline: 2px solid #b8edb3;
    outline-offset: 2px;
}

.footer-column p {
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    line-height: 1.8;
    margin-bottom: 0.625rem;
}

.social-title {
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
}

.social-icons {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.social-icons a {
    width: clamp(2rem, 5vw, 2.25rem);
    height: clamp(2rem, 5vw, 2.25rem);
    display: block;
    transition: transform var(--transition-base);
}

.social-icons a:hover,
.social-icons a:focus {
    transform: scale(1.1);
    outline: none;
}

.social-icons a:focus-visible {
    outline: 2px solid #b8edb3;
    outline-offset: 2px;
    border-radius: 50%;
}

.social-icons img {
    width: 100%;
    height: 100%;
}

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

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

/* ============================================
   COPYRIGHT - Responsive
   ============================================ */
.copyright {
    background-color: #11141a;
    color: #f3fcf2;
    padding: clamp(1rem, 3vh, 1.5625rem) 0;
    text-align: center;
}

.copyright p {
    font-size: clamp(0.75rem, 1.5vw, 0.875rem);
    line-height: 1.6;
}

.copyright a {
    color: #f3fcf2;
    transition: color var(--transition-base);
    text-decoration: underline;
    text-decoration-color: transparent;
}

.copyright a:hover,
.copyright a:focus {
    color: #b8edb3;
    text-decoration-color: #b8edb3;
    outline: none;
}

.copyright a:focus-visible {
    outline: 2px solid #b8edb3;
    outline-offset: 2px;
}

/* ============================================
   FLOATING WHATSAPP - Responsive Position
   ============================================ */
.floating-whatsapp {
    position: fixed;
    bottom: clamp(1.25rem, 3vh, 1.875rem);
    right: clamp(1.25rem, 3vw, 1.875rem);
    width: clamp(8rem, 8vw, 3.75rem);
    height: clamp(10rem, 8vw, 3.75rem);
    z-index: 999;
    cursor: pointer;
    transition: transform var(--transition-base);
    border-radius: 50%;
}

.floating-whatsapp:hover,
.floating-whatsapp:focus {
    transform: scale(1.1);
    outline: none;
}

.floating-whatsapp:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 2px;
}

.floating-whatsapp img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: contain;
    cursor: pointer;
    display: block;
    transition: transform 0.3s ease;
}

/* ============================================
   ACCESSIBILITY IMPROVEMENTS
   ============================================ */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Skip to main content link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--color-primary);
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 10000;
}

.skip-link:focus {
    top: 0;
}

/* Focus visible for all interactive elements */
*:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn-primary {
        border: 3px solid currentColor;
    }

    .product-card,
    .category-card {
        border: 2px solid currentColor;
    }
}

/* Print styles */
@media print {
    .header,
    .banner-pagination,
    .floating-whatsapp,
    .mobile-menu-toggle {
        display: none;
    }

    .banner {
        height: auto;
        page-break-inside: avoid;
    }

    .section {
        page-break-inside: avoid;
    }
}

/* ========================================
   Modern Topbar Styling (scoped)
   ======================================== */
.topbar.topbar-modern {
    background: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    padding: 0;
    position: relative;
    z-index: 5;
    width: 100%;
}

.topbar-modern .container {
    max-width: 100%;
    padding: 0;
}

.topbar-modern .topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 10px 60px;
    max-width: 100%;
    width: 100%;
    background: #11282c;
}

.topbar-modern .topbar-left,
.topbar-modern .topbar-right {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: nowrap;
    color: #1f2937;
}

.topbar-modern .topbar-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: #495664;
    color: #ffffff;
    padding: 4px 14px;
    border-radius: 999px;
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.topbar-modern .list-main {
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.topbar-modern .list-main li {
    border: none;
    padding: 0;
    color: #ffffff;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.topbar-modern .list-main li i {
    color: #f7941d;
    font-size: 15px;
}

.topbar-modern .list-main li a {
    color: #ffffff;
    font-weight: 600;
    transition: color 0.2s ease;
}

.topbar-modern .list-main li a:hover {
    color: #0a369d;
}

.topbar-modern .topbar-actions {
    gap: 20px;
}

.topbar-modern .topbar-link {
    position: relative;
    padding-right: 18px;
}

.topbar-modern .topbar-link::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 16px;
    width: 1px;
    background: rgb(255, 255, 255);
}

.topbar-link a {
    margin-right: 12px;
}

.topbar-modern .topbar-link:last-child::after {
    display: none;
}

.topbar-modern .topbar-auth .divider {
    color: rgb(255, 255, 255);
}

.topbar-modern .topbar-contact li {
    font-size: 13px;
    color: #ffffff;
}

@media (max-width: 991px) {
    .topbar-modern .topbar-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 10px 30px;
    }

    .topbar-modern .topbar-right {
        justify-content: flex-start;
    }

    .topbar-modern .topbar-link::after {
        display: none;
    }

    .topbar-modern .list-main {
        flex-wrap: wrap;
    }
}

@media (max-width: 767px) {
    .topbar-modern .topbar-inner {
        align-items: center;
        text-align: center;
        gap: 8px;
        padding: 10px 16px;
    }

    .topbar-modern .topbar-left,
    .topbar-modern .topbar-right {
        justify-content: center;
    }

    .topbar-modern .list-main {
        justify-content: center;
    }
}

/* Topbar */

.page-wrapper .rectangle-25 {
    display: none;
    /* Hide the img tag since we're using ::before pseudo-element */
}

/* Icons layout */
.sinlge-bar {
    position: relative;
    display: inline-block;
}

.single-icon {
    font-size: 20px;
    color: #222;
    position: relative;
    padding: 5px;
    transition: color 0.2s ease;
    display: inline-block;
    vertical-align: middle;
    cursor: pointer;
}

.single-icon:hover {
    color: #ff6600;
}

.single-icon:active {
    transform: none;
    position: relative;
}

/* Badge bubble (wishlist/cart count) */
.total-count {
    position: absolute;
    top: -4px;
    right: -8px;
    background: #ff6600;
    color: #fff;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 11px;
    font-weight: 600;
}

/* Wrap icon */
.search-wrapper {
    position: relative;
}

/* SEARCH WRAPPER */
.search-wrapper {
    position: relative;
}

/* Popup Search Box */
.search-popup {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 0;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    background: #fff;
    border-radius: 12px;
    padding: 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transition: all 0.35s ease-in-out;
    z-index: 10001;
    max-width: min(340px, calc(100vw - 2rem));
    margin-right: 0;
}

/* When Active → Expand */
.search-popup.active {
    width: min(340px, calc(100vw - 2rem));
    opacity: 1;
    visibility: visible;
    padding: 15px 20px;
}

/* Input */
.search-input {
    width: 100%;
    border: 1px solid #ddd;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 15px;
}

/* Suggestions Dropdown */
.search-suggestions {
    margin-top: 10px;
    max-height: 260px;
    overflow-y: auto;
}

.suggestion-item {
    padding: 10px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: 0.2s;
}

.suggestion-item:hover {
    background: #f9f9f9;
}

/* Prevent layout shift when search is active */
.header-right.shifted {
    transform: none;
    transition: none;
}

.search-close {
    position: absolute;
    right: 22px;
    top: 22px;
    cursor: pointer;
    font-size: 18px;
    color: #666;
    z-index: 1;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

.search-close:hover {
    background-color: #f0f0f0;
}

/* Search icon */
.search-toggle i {
    font-size: 20px;
    cursor: pointer;
    transition: 0.3s;
}

.search-toggle:hover i {
    color: #ff6600;
}

@media (max-width: 768px) {
    .search-popup {
        position: fixed;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        top: clamp(64px, 12vh, 90px);
        width: calc(100vw - 2rem);
        max-width: none;
        margin-right: 0;
        border-radius: 12px;
    }
    .search-popup.active {
        width: calc(100vw - 2rem);
        padding: 15px 16px;
    }
    .search-input {
        font-size: 16px;
    }
    .search-suggestions {
        max-height: 50vh;
    }
}

/* Search popup box */
/* .search-popup {
    position: absolute;
    right: 0;
    top: 45px;
    background: #fff;
    width: 280px;
    padding: 14px;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    display: none;
    z-index: 9990;
    animation: fadeIn 0.25s ease;
} */

/* Input */
/* .search-input {
    width: 100%;
    padding: 10px 14px;
    padding-right: 40px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    outline: none;
} */

/* Search button inside box */
.search-submit {
    position: absolute;
    right: 25px;
    top: 23px;
    background: transparent;
    border: none;
    font-size: 18px;
    color: #555;
    cursor: pointer;
}

/* Show popup on click */
.search-wrapper.open .search-popup {
    display: block;
}

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

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

/* Mobile responsive */
@media (max-width: 576px) {
    .search-popup {
        width: min(280px, calc(100vw - 1rem));
        right: -10px;
    }

    .search-popup.active {
        width: min(280px, calc(100vw - 1rem));
    }
}

/* Wishlist and Cart Dropdown Styling */
.shopping-item {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    background: #fff;
    padding: 15px;
    width: min(340px, calc(100vw - 2rem));
    max-width: 340px;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    z-index: 10001;
    display: none;
}

.shopping-item.show {
    display: block;
}

/* List item spacing */

.shopping-list li:last-child {
    border-bottom: none;
}

/* Responsive */
@media (max-width: 768px) {
    .header-right {
        gap: 15px;
    }

    .shopping-item {
        width: min(280px, calc(100vw - 1rem));
        max-width: 280px;
        right: -10px;
    }

    .search-popup {
        right: -10px;
    }

    .search-popup.active {
        width: min(300px, calc(100vw - 1rem));
    }

    .search-dropdown {
        width: 200px;
    }
}

.sharethis-sticky-share-buttons,
.st-sticky-share-buttons {
    display: none !important;
}

/* ============================================
   MAP SECTION - Responsive Styling
   ============================================ */
.map-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: #f5f5f5;
}

.map-section #myMap {
    width: 100%;
    height: 500px;
    border: none;
    display: block;
}

.map-section #myMap iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Responsive Map Section */
@media (max-width: 991px) {
    .map-section #myMap {
        height: 400px;
    }
}

@media (max-width: 767px) {
    .map-section #myMap {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .map-section #myMap {
        height: 300px;
    }
}

/* Lightbox Background */
.insta-lightbox {
    display: none;
    position: fixed;
    z-index: 99999;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(4px);
    animation: fadeIn 0.3s ease-in-out;
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Lightbox Image */
.insta-lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    border-radius: 12px;
    animation: zoomIn 0.25s ease-in-out;
}

@keyframes zoomIn {
    from {
        transform: scale(0.7);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Close Button */
.insta-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 48px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.insta-close:hover {
    color: #ffcc66;
    transform: scale(1.2);
}

/* Mobile Fix */
@media (max-width: 480px) {
    .insta-close {
        font-size: 36px;
    }
}

/* =========================================================
   MODERN PRODUCT CARD BUTTONS (Responsive)
========================================================= */

/* Ensure image container is relative */
.product-image {
    position: relative;
    overflow: hidden;
}

/* Button Head Container - Slide Up Bar */
.button-head {
    position: absolute;
    bottom: -60px; /* Hidden initially */
    left: 0;
    width: 100%;
    height: 50px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 10;
    box-shadow: 0 -4px 15px rgba(0,0,0,0.1);
    opacity: 0; /* Fade in */
    padding: 0;
}

/* Hover State - Show Buttons */
.product-card:hover .button-head,
.product-image:hover .button-head,
.product-box-7:hover .button-head {
    bottom: 0;
    opacity: 1;
}

/* Force Hide State (for JS reset) */
.button-head.force-hide {
    bottom: -60px !important;
    opacity: 0 !important;
}

/* Quick View & Wishlist Area */
.product-action {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 15px;
    height: 100%;
    background: #fff;
}

.product-action a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f0f0f0;
    color: #333;
    font-size: 14px;
    transition: all 0.2s ease;
    text-decoration: none;
    outline: none; /* Remove default focus outline */
}

.product-action a:hover {
    background: #0a4ebd;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(10, 78, 189, 0.4);
}

/* Ensure focus does NOT mimic hover unless desired, but user wants it to hide */
.product-action a:focus {
    outline: none;
    /* Optional: Add a subtle focus ring if needed for a11y, but avoid hover style */
}


/* Hide text labels, use tooltips */
.product-action a span {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: #fff;
    padding: 4px 8px;
    font-size: 10px;
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    white-space: nowrap;
    margin-bottom: 8px;
    pointer-events: none;
}
.product-action a span::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -4px;
    border-width: 4px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
}
.product-action a:hover span {
    opacity: 1;
    visibility: visible;
}

/* Add to Cart Area */
.product-action-2 {
    flex-grow: 1;
    height: 100%;
}

.product-action-2 a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: #333;
    color: #fff;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 0;
    padding: 0;
}

.product-action-2 a:hover {
    background: #0a4ebd;
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .button-head {
        bottom: 0 !important; /* Always visible */
        opacity: 1 !important;
        height: 44px; /* Slightly smaller height */
    }

    .product-action {
        padding: 0 10px;
    }

    .product-action a {
        width: 30px;
        height: 30px;
        background: transparent; /* Cleaner look on mobile */
    }

    .product-action-2 a {
        font-size: 12px;
    }

    /* Ensure no tooltip on touch */
    .product-action a span {
        display: none;
    }
}

/* TAG Styling (New / Hot / Sale Out / % Off) */
/* Default tag style (visible) */
.product-card .tag-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    border-radius: 4px;
    z-index: 10;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    pointer-events: none;
    /* transition: 0.3s ease-in-out; */
}
.product-card:hover .tag-badge {
    opacity: 1;
    visibility: visible;
}

/* Hide tag on hover */
/* .product-card:hover .tag-badge {
                                                                                    opacity: 0;
                                                                                    visibility: hidden;
                                                                                } */

.product-box-7 .tag-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    border-radius: 4px;
    z-index: 10;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    pointer-events: none;
    transition: 0.3s ease-in-out;
}

/* Hide tag on hover */
.product-box-7:hover .tag-badge {
    opacity: 0;
    visibility: hidden;
}

/* Tag colors */
.tag-saleout {
    background: #d9534f;
}

.tag-new {
    background: #28a745;
}

.tag-hot {
    background: #ff5722;
}

.tag-discount {
    background: #007bff;
}

/* Different Tag Colors */
.tag-saleout {
    background: #d9534f;
    /* red */
}

.tag-new {
    background: #28a745;
    /* green */
}

.tag-hot {
    background: #ff5722;
    /* orange */
}

.tag-discount {
    background: #007bff;
    /* blue */
}

* Modal Smooth Animation */ .quickview-modal .modal-dialog {
    transition: transform 0.3s ease-out;
    transform: translateY(-20px);
}

.quickview-modal.show .modal-dialog {
    transform: translateY(0);
}

/* Close Button Modern Look */
.modern-close-btn {
    font-size: 32px;
    color: #333;
    opacity: 1;
    transition: 0.2s;
}

.modern-close-btn:hover {
    color: #ff5252;
    transform: scale(1.1);
}

/* Product Title */
.product-title {
    font-weight: 600;
    font-size: 24px;
}

/* Price highlight */
.price {
    font-size: 22px;
    font-weight: bold;
}

/* Carousel Styling */
.carousel-inner img {
    border-radius: 8px;
    object-fit: cover;
}



/* ===========================
   Announcement Bar – Updated
=========================== */
.announcement-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    background: transparent;
    /* match your topbar bg */
    padding: 0;
}

/* Keep center content fixed width */
.announcement-container {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 450px;
    width: 100%;
    justify-content: center;
    white-space: nowrap;
    /* prevents breaking into multiple rows */
}

/* Slider wrapper */
.announcement-slider {
    flex: 1;
    height: 22px;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 0 12px;
}

/* Slides → positioned on top of each other */
.slide {
    position: absolute;
    left: 0;
    right: 0;
    text-align: center;
    opacity: 0;
    transition: opacity 0.6s ease;
    /* Smooth fade */
    white-space: nowrap;
    pointer-events: none;
    color: #ffffff;
    /* Prevent click on hidden slides */
}

/* Visible slide */
.slide.active {
    opacity: 1;
    pointer-events: auto;
}

/* Arrows */
.nav-arrow {
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    padding: 2px 6px;
    color: #ffffff;
    line-height: 1;
}

/* Hover */
.nav-arrow:hover {
    color: #ffffff;
}

/* ======================================
   Topbar responsiveness fixes
====================================== */
@media (max-width: 991px) {
    .topbar-modern .topbar-inner {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .announcement-container {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .announcement-container {
        width: 100%;
        max-width: 100%;
        gap: 6px;
    }

    .slide {
        font-size: 12px;
        white-space: normal;
        overflow-wrap: anywhere;
        line-height: 1.4;
    }

    .announcement-slider {
        height: auto;
        min-height: 22px;
    }
}

@media (max-width: 480px) {
    .announcement-container {
        width: 100%;
        max-width: 100%;
    }

    .slide {
        font-size: 11px;
        white-space: normal;
        overflow-wrap: anywhere;
        line-height: 1.4;
    }
}

@media (max-width: 1024px) {
    .header-container::before {
        display: none !important;
    }
}

.nav-item,
.nav-link-dropdown {
    text-transform: uppercase;
}
.nav-item-dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

.footer .container {
    max-width: var(--container-2xl);
    padding-inline: clamp(1rem, 2.5vw, 2rem);
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(1rem, 2.5vw, 2rem);
    align-items: start;
    width: 100%;
}
.footer-column h3 {
    font-size: clamp(0.9375rem, 2vw, 1.125rem);
    margin-bottom: 0.75rem;
    letter-spacing: 0.5px;
}
.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
}
.footer-column a {
    color: var(--color-text-dark);
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    letter-spacing: 0;
    word-spacing: normal;
    line-height: 1.6;
}
.social-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    /* background: #f3f4f6; */
    transition: background-color var(--transition-base), transform var(--transition-base);
}
.social-icon:hover {
    transform: translateY(-2px);
}
@media (max-width: 1200px) {
    .footer-content {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.25rem;
    }
}
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.25rem;
    }
}
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .shop-services .row {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
    .shop-services .single-service {
        padding-left: 0;
    }
    .shop-services .single-service i {
        position: static;
        margin-bottom: 8px;
    }
}
