/* ===== VARIABLES ===== */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

:root {



    --white-color: #ffffff;
    --black-color: #000000;
    --main-color: #F54929 !important;
    --black-light-ef: #efefef;
    --black-light: #292D33;
    --men-category-color: #B8690D;
    --women-category-color: #059473;
    --banner-bg-color: #ddd;
    --category-border: rgba(0, 0, 0, 0.2);
    --padding-lg: 20px 120px;
    --padding-md: 20px 40px;
    --padding-sm: 10px;



    --primary-color: #007bff;
    --primary-dark: #0056b3;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --white: #ffffff;
    --black: #000000;
    
    /* Sports-inspired color palette */
    --sport-blue: #1e40af;
    --sport-orange: #f97316;
    --sport-green: #059669;
    --sport-red: #dc2626;
    --sport-gray: #374151;
    
    /* Typography */
    /*--font-family: 'Poppins', sans-serif;*/
    /*--font-family: "Oswald", sans-serif;*/
    --font-family: "Inter", sans-serif;
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    
    /* Spacing */
    --section-padding: 80px 0;
    --container-padding: 15px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* ===== GLOBAL STYLES ===== */
* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    font-weight: var(--font-weight-normal);
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--white);
    
}



/* Typography */
/*h1, h2, h3, h4, h5, h6 {
    font-weight: var(--font-weight-semibold);
    line-height: 1.2;
    margin-bottom: 1rem;
}*/

.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
    font-weight: var(--font-weight-bold);
}

p {
    margin:0;
    line-height: 1.7;
}

/* Links */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--primary-dark);
}

/* ===== ADVANCED HERO (legacy - superseded by .hero-slider below, kept for compatibility) ===== */
.advanced-hero {
    position: relative;
    overflow: hidden;
}

/* ===== PRODUCT CARD BADGES / QUICK VIEW (legacy small components, still used) ===== */
.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 2;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-new {
    background-color: #28a745;
    color: white;
}

.badge-sale {
    background-color: #dc3545;
    color: white;
}

.badge-hot {
    background-color: #ffc107;
    color: #212529;
}

.quick-view-btn {
    background: white;
    color: #007bff;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.quick-view-btn:hover {
    background: #007bff;
    color: white;
}

.category-card {
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    height: 300px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.12);
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0, 123, 255, 0.9), rgba(40, 167, 69, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-card:hover .category-overlay {
    opacity: 1;
}

.category-info {
    position: absolute;
    bottom: -15px;
    left: 0;
    right: 0;
    padding: 20px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.category-card:hover .category-info {
    transform: translateY(0);
}

.counter-box {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.counter-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.counter-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #007bff;
    margin-bottom: 5px;
}

.counter-label {
    font-size: 1rem;
    color: #6c757d;
}

.newsletter-section {
    background: linear-gradient(135deg, #1e40af 0%, #007bff 100%);
    padding: 60px 0;
    color: white;
}

.newsletter-form {
    position: relative;
}

.newsletter-input {
    border-radius: 50px;
    padding: 15px 25px;
    border: none;
    width: 100%;
    padding-right: 150px;
}

.newsletter-btn {
    position: absolute;
    right: 5px;
    top: 5px;
    border-radius: 50px;
    padding: 10px 25px;
    font-weight: 600;
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 3px solid #007bff;
}

.testimonial-text {
    font-style: italic;
    color: #6c757d;
    margin-bottom: 20px;
}

.testimonial-author {
    font-weight: 600;
    color: #212529;
}

.testimonial-position {
    font-size: 0.9rem;
    color: #6c757d;
}

.social-proof {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.social-proof i {
    color: #ffc107;
    margin-right: 5px;
}

.live-stock {
    background: #28a745;
    color: white;
    font-size: 0.8rem;
    padding: 3px 8px;
    border-radius: 10px;
    margin-left: 10px;
}

.header-sticky {
    background: rgba(33, 37, 41, 0.95) !important;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    padding: 10px 0 !important;
}

.header-sticky .navbar-brand img {
    height: 40px;
}

.header-sticky .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
}

.header-sticky .nav-link:hover,
.header-sticky .nav-link.active {
    color: #007bff !important;
}

.filter-btn {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 20px;
    padding: 5px 15px;
    margin-right: 10px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.filter-btn:hover,
.filter-btn.active {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

.wishlist-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: white;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2;
    color: #333; /* Default icon color */
}

.wishlist-btn i {
    transition: color 0.3s ease;
}

/* When active, only the icon turns red */
.wishlist-btn.active i {
    color: #dc3545;
}

/* Optional hover effect for the icon */
.wishlist-btn:hover i {
    color: #dc3545;
}

.apply-filters-btn {
    background-color: var(--primary-dark);
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: background 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 12px rgba(255, 102, 0, 0.3);
}

.apply-filters-btn:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

.apply-filters-btn:active {
    transform: scale(0.98);
    background-color: #cc5200;
}

.parallax-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
}

.parallax-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.parallax-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.pulse-animation {
    animation: pulse 2s infinite;
}

.countdown-timer {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 15px;
    margin-top: 20px;
    backdrop-filter: blur(5px);
}

.countdown-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.countdown-digits {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.countdown-digit {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 10px;
    min-width: 50px;
    text-align: center;
    font-weight: 700;
    font-size: 1.5rem;
}

.countdown-label {
    font-size: 0.8rem;
    margin-top: 5px;
}

/* ===== HEADER & NAVIGATION ===== */

/* ===== PAGE HEADERS ===== */
.page-header {
    background: linear-gradient(135deg, var(--sport-blue) 0%, var(--primary-color) 100%);
    padding: 40px 0;
    color: var(--white);
    position: relative;
    overflow: hidden;
    margin-top: 10px;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.page-header .container {
    position: relative;
    z-index: 2;
}
.page-header h1 {
    font-size: 24px;
}

.category-journey {
    background: linear-gradient(135deg, var(--sport-blue), var(--primary-color));
    padding: 100px 0;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.journey-header h2 {
    font-size: 2.5rem;
    color: #fff;
}

.journey-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
}

.journey-steps {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    position: relative;
    padding-top: 40px;
}

.journey-step {
    position: relative;
    flex: 1;
    min-width: 150px;
    max-width: 200px;
    text-align: center;
    z-index: 1;
}

.step-icon {
    font-size: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 15px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.journey-step:hover .step-icon {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.2);
    border-color: #fff;
}

.step-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.step-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
}

/* ===== HERO SLIDER ===== */
.hero-slider {
    position: relative;
    overflow: hidden;
    padding: 0;
    margin-top: 10px;
    aspect-ratio: 32 / 15;
}

.hero-slide {
    width: 100%;
    background-size: cover;
    aspect-ratio: 32 / 15;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content .lead {
    font-size: 1.3rem;
    font-weight: var(--font-weight-normal);
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Carousel controls */
.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    transition: var(--transition-normal);
}

.carousel-control-prev {
    left: 30px;
}

.carousel-control-next {
    right: 30px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

.carousel-indicators {
    bottom: 30px;
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 6px;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    transition: var(--transition-fast);
}

.carousel-indicators .active {
    background-color: var(--white);
    transform: scale(1.2);
}

/* ===== SECTIONS ===== */
section {
    padding: var(--section-padding);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-bottom: 3rem;
}

/* ===== PRODUCT CARDS ===== */
.product-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    height: 100%;
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 250px;
    background: var(--light-color);
    object-fit: contain;
    object-position: center;
}

.product-image img {
    transition: transform 0.5s ease;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-card:hover .product-image img {
    transform: scale(1.02);
}

.product-placeholder {
    height: inherit;
    color: var(--secondary-color);
}
.product-placeholder img{
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.product-placeholder.small {
    font-size: 2rem;
}

.product-placeholder i {
    margin-bottom: 0.5rem;
}

.product-placeholder p {
    font-size: 0.9rem;
    margin: 0;
    text-align: center;
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-normal);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

#all-product{
    display: block;
}
.product-info{
    padding: 2rem;
}
.product-name {
    font-size: 1.1rem;
    font-weight: var(--font-weight-semibold);
    margin-bottom: 0.5rem;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--dark-color);
}

.product-brand {
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.product-code {
    font-size: 0.85rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-rating {
    margin-bottom: 1rem;
}

.product-rating .fa-star {
    font-size: 0.9rem;
    margin-right: 2px;
}

.product-price {
    font-size: 1.2rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
}

.original-price {
    font-size: 1rem;
}

.product-timeline {
    background: #f8f9fa;
    padding: 80px 0;
}

.timeline-header h2 {
    font-size: 2.5rem;
    color: var(--dark-color);
}

.timeline-header p {
    font-size: 1rem;
    color: #6c757d;
}

.timeline {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    gap: 2rem;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
}

.timeline-item {
    flex: 0 0 auto;
    background: #fff;
    border-radius: 15px;
    padding: 30px 20px;
    min-width: 220px;
    max-width: 260px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07);
    text-align: center;
    scroll-snap-align: start;
    transition: transform 0.3s ease;
}

.timeline-item:hover {
    transform: translateY(-10px);
}

.timeline-icon {
    font-size: 2rem;
    color: var(--primary-color);
    background: rgba(0, 123, 255, 0.1);
    border-radius: 50%;
    width: 70px;
    height: 70px;
    line-height: 70px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-content h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.timeline-content p {
    font-size: 0.9rem;
    color: #6c757d;
}

.product-wheel-section {
    background: var(--primary-dark);
    padding: 100px 0;
    overflow-x: hidden;
    position: relative;
    z-index: 1;
}

.wheel-intro h2 {
    font-size: 2.5rem;
    color: #333;
}

.wheel-intro p {
    color: #6c757d;
    font-size: 1rem;
}

.wheel-container {
    perspective: 1200px;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.wheel {
    width: 100%;
    height: 300px;
    position: relative;
    transform-style: preserve-3d;
    animation: rotateWheel 20s linear infinite;
}

.wheel-item {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150px;
    height: 120px;
    margin: -50px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    font-weight: bold;
    color: #333;
    transform-style: preserve-3d;
    transition: transform 0.5s ease;
    text-align: center;
    font-size: 1rem;
}

.wheel-item i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color, #007bff);
}

@keyframes rotateWheel {
    from {
        transform: rotateY(0deg);
    }
    to {
        transform: rotateY(360deg);
    }
}

.wheel-quick-links a {
    border-radius: 30px;
    font-weight: 500;
    padding: 10px 20px;
    font-size: 0.95rem;
}

.grid-overlay {
    position: absolute;
    top: 0; left: 0;
    right: 0; bottom: 0;
    background: radial-gradient(circle, #d4d4d4 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.05;
    z-index: 0;
    pointer-events: none;
}

/* ===== CATEGORY CARDS ===== */
.category-image {
    position: relative;
    overflow: hidden;
    height: 300px;
    background: var(--light-color);
}
.category-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.category-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--secondary-color);
    font-size: 3rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}
.category-placeholder img{
    width: 100%;
    object-fit: cover;
}

.owl-carousel .owl-item img {
    display: block;
    width: 100%;
    height: 350px;
}

.category-content h3 {
    font-size: 1.8rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: 1rem;
}

.category-content p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.category-info {
    padding: 1.5rem;
    text-align: center;
}

.category-info h5 {
    font-weight: var(--font-weight-semibold);
    color: var(--light-color);
}
.product-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* ===== SUBCATEGORY CARDS ===== */
.subcategory-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    text-align: center;
    height: 100%;
}

.subcategory-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.subcategory-image {
    height: 150px;
    background: var(--light-color);
    overflow: hidden;
}

.subcategory-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 2.5rem;
    color: var(--secondary-color);
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}
.subcategory-placeholder img{
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.subcategory-info {
    padding: 1.5rem;
}

.subcategory-info h5 {
    font-weight: var(--font-weight-semibold);
    margin-bottom: 0.5rem;
}

/* ===== GALLERY ===== */
.gallery-item {
    height: 250px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

.gallery-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: var(--secondary-color);
    font-size: 2rem;
}
.gallery-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.gallery-placeholder p {
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* ===== USP SECTION ===== */
.usp-advanced {
    background: linear-gradient(135deg, #f4f4f4, #ffffff);
    padding: 80px 20px;
    text-align: center;
}

.usp-heading h2 {
    font-size: 32px;
    margin-bottom: 10px;
    color: #222;
}

.usp-heading p {
    font-size: 16px;
    color: #666;
    margin-bottom: 40px;
    max-width: 600px;
    margin-inline: auto;
}

.usp-timeline {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.usp-box {
    background: #fff;
    border-radius: 12px;
    padding: 30px 20px;
    flex: 1 1 250px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.usp-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.usp-icon {
    font-size: 42px;
    color: #ff6600;
    margin-bottom: 15px;
}

.usp-box h3 {
    font-size: 18px;
    color: #222;
    margin-bottom: 10px;
}

.usp-box p {
    font-size: 14px;
    color: #666;
}

@media (max-width: 768px) {
    .usp-timeline {
        flex-direction: column;
        align-items: center;
    }

    .usp-box {
        max-width: 90%;
    }
}

/* ===== TESTIMONIALS ===== */
.testimonial-card {
    background: var(--white);
    border-radius: 15px;
    padding: 3rem;
    box-shadow: var(--shadow-md);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 6rem;
    color: var(--primary-color);
    font-family: serif;
    line-height: 1;
    opacity: 0.3;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}
.avatar-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: var(--light-color);
    color: var(--secondary-color);
    font-size: 2rem;
}

.testimonial-card .blockquote {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 2rem;
}

.testimonial-card .blockquote-footer {
    font-size: 1rem;
    color: var(--dark-color);
}

.parallax-promo {
    background-image: url("../assets/parallex02-9.jpg");
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.parallax-promo::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: -1;
}

.parallax-promo h2,
.parallax-promo p {
    color: #fff;
}

/* ===== BUTTONS ===== */
.btn {
    border-radius: 25px;
    font-weight: var(--font-weight-medium);
    padding: -0.3rem 2rem;
    border: 2px solid transparent;
    transition: var(--transition-normal);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--sport-blue));
    border-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--sport-blue));
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1rem 1.5rem;
    font-size: 1rem;
}
#crsl-btn{
    border: 1px solid white;
}

.btn-sm {
    padding: 0.5rem 1.5rem;
    font-size: 0.8rem;
}

/* ===== FORMS ===== */
.form-control {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 0.8rem 1.2rem;
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.form-select {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 0.8rem 1.2rem;
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* ===== PRODUCT DETAIL STYLES ===== */
.product-detail {
    padding: 60px 0;
}
.fixed-top{
    position: static;
}

.main-image-container {
    position: relative;
    margin-bottom: 2rem;
}

.product-image-zoom {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    cursor: zoom-in;
    height: 500px;
}

.zoom-lens {
    position: absolute;
    border: 2px solid var(--primary-color);
    cursor: zoom-in;
    display: none;
    background: rgba(255, 255, 255, 0.3);
}

.zoom-result {
    position: absolute;
    top: 0;
    right: -520px;
    width: 500px;
    height: 1000px;
    border: 1px solid #ccc;
    border-radius: 15px;
    background-repeat: no-repeat;
    display: none;
    z-index: 1000;
    box-shadow: var(--shadow-lg);
}

.thumbnail-images .thumbnail-item {
    height: 100px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: var(--transition-fast);
}

.thumbnail-images .thumbnail-item:hover,
.thumbnail-images .thumbnail-item.active {
    border-color: var(--primary-color);
}

.product-info-modern {
    font-family: 'Segoe UI', sans-serif;
    color: #333;
}

.product-title {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.brand-name,
.product-code {
    font-size: 0.95rem;
}

.rating .stars i {
    font-size: 1.1rem;
}

.price-box .price-current {
    font-size: 1.8rem;
    font-weight: bold;
    color: #e74c3c;
}

.price-box .price-original {
    text-decoration: line-through;
    color: #999;
}

.price-box .price-discount {
    background-color: #28a745;
    color: white;
    font-size: 0.85rem;
    padding: 0.25rem 0.6rem;
    border-radius: 15px;
}

.option-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

.color-swatch {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
}

.color-swatch input {
    opacity: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.color-swatch:hover {
    outline: 2px solid #333;
}

.quantity-box input[type="number"] {
    width: 70px;
    height: 45px;
    font-size: 1.1rem;
}
#detail-wishbtn{
    border: 1px solid black;
}

.product-features li {
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
}

.product-price {
    margin-bottom: 2rem;
}

.price-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.discount-badge {
    margin-top: 0.5rem;
    display: inline-block;
}

.current-price {
    font-size: 2rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
    margin-right: 1rem;
}

.original-price {
    font-size: 1.3rem;
    color: var(--secondary-color);
    text-decoration: line-through;
    margin-right: 1rem;
}

.discount-percentage {
    background: var(--success-color);
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: var(--font-weight-medium);
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    margin-bottom: 0.5rem;
}

/* Product tabs */
.nav-tabs {
    border-bottom: 2px solid var(--light-color);
}

.nav-tabs .nav-link {
    border: none;
    border-bottom: 3px solid transparent;
    color: var(--secondary-color);
    font-weight: var(--font-weight-medium);
    padding: 1rem 2rem;
    transition: var(--transition-fast);
}

.nav-tabs .nav-link:hover,
.nav-tabs .nav-link.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    background: transparent;
}

.tab-content-wrapper {
    padding: 3rem 0;
}

.rating-breakdown .rating-bar {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.rating-breakdown .rating-bar span:first-child {
    width: 60px;
}

.rating-breakdown .progress {
    flex: 1;
    height: 8px;
    margin: 0 1rem;
}

.rating-breakdown .rating-bar span:last-child {
    width: 40px;
    text-align: right;
}

.review-item {
    border-bottom: 1px solid var(--light-color);
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}

.review-header {
    display: flex;
    justify-content: between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.reviewer-info strong {
    font-weight: var(--font-weight-semibold);
    margin-right: 1rem;
}

.review-date {
    color: var(--secondary-color);
    font-size: 0.9rem;
}

.shipping-option {
    border: 1px solid var(--light-color);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: var(--transition-fast);
}

.shipping-option:hover {
    border-color: var(--primary-color);
    background: rgba(0, 123, 255, 0.05);
}

/* ===== CART STYLES ===== */
.cart-items {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.cart-header {
    border-bottom: 2px solid var(--light-color);
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

.cart-item {
    border-bottom: 1px solid var(--light-color);
    padding: 2rem 0;
}

.cart-item:last-child {
    border-bottom: none;
}

.item-details h5 {
    font-weight: var(--font-weight-semibold);
    margin-bottom: 0.5rem;
}

.item-specs {
    color: var(--secondary-color);
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.quantity-display {
    font-weight: var(--font-weight-semibold);
    min-width: 30px;
    text-align: center;
}

.cart-summary {
    background: var(--light-color);
    border-radius: 15px;
    padding: 2rem;
    position: sticky;
    top: 100px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.3rem;
    font-weight: var(--font-weight-bold);
    color: var(--dark-color);
    margin-bottom: 2rem;
}

.promo-code {
    margin: 2rem 0;
}

.payment-methods {
    margin: 2rem 0;
    text-align: center;
}

.payment-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.payment-icons i {
    font-size: 2rem;
    color: var(--secondary-color);
}

.security-info {
    margin-top: 2rem;
}

.security-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
}

.empty-cart-icon {
    color: var(--secondary-color);
    margin-bottom: 2rem;
}

/* ===== CONTACT STYLES ===== */
.contact-form-container {
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
}

.contact-info {
    background: var(--light-color);
    padding: 3rem;
    border-radius: 15px;
    height: fit-content;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.contact-details h5 {
    font-weight: var(--font-weight-semibold);
    margin-bottom: 0.5rem;
}

.social-contact .social-links a {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.social-contact .social-links a:hover {
    background: var(--primary-color);
    color: var(--white);
}

.map-container {
    position: relative;
    height: 400px;
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-info {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    max-width: 500px;
    margin: 2rem;
}

/* ===== SEARCH STYLES ===== */
.search-header {
    background: var(--light-color);
    padding: 120px 0 40px;
}

.search-form .form-control {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right: none;
}

.search-form .btn {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.search-filters {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 100px;
}

.filter-group {
    border-bottom: 1px solid var(--light-color);
    padding-bottom: 1rem;
}

.filter-group:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.filter-group h6 {
    font-weight: var(--font-weight-semibold);
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.results-header {
    margin-bottom: 2rem;
}

.popular-search-tags .btn {
    border-radius: 20px;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
}

.no-results {
    text-align: center;
    padding: 4rem 0;
}

.no-results-icon {
    color: var(--secondary-color);
    margin-bottom: 2rem;
}

.suggestions {
    text-align: left;
    background: var(--light-color);
    padding: 2rem;
    border-radius: 10px;
}

/* ===== ABOUT PAGE STYLES ===== */
.about-image {
    height: 500px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.about-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: var(--secondary-color);
    font-size: 3rem;
}
.about-placeholder img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: inherit;
}
.about-placeholder p {
    font-size: 1rem;
    margin-top: 1rem;
}

.stats-section {
    background: var(--primary-color);
}

.stat-item {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

.value-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.value-icon {
    margin-bottom: 1.5rem;
}

/* ===== FILTERS SIDEBAR ===== */
.filters-sidebar {
    background: var(--white);
    padding: 30px 15px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 100px;
}

/* ===== GO TO TOP BUTTON ===== */
.go-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    border: none;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition-normal);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.go-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.go-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* ===== FOOTER ===== */
footer {
    background: var(--dark-color) !important;
    margin-top: 4rem;
}

footer h5,
footer h6 {
    color: var(--white);
    font-weight: var(--font-weight-semibold);
}

footer a,
footer p,
footer li a {
    color: #adb5bd;
    transition: var(--transition-fast);
}

footer li a:hover {
    color: var(--white);
    padding-left: 5px;
}

footer .social-links a {
    color: #adb5bd;
    font-size: 1.3rem;
    transition: var(--transition-fast);
}

footer .social-links a:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 991.98px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .product-title {
        font-size: 2rem;
    }
    
    .zoom-result {
        display: none !important;
    }
}

@media (max-width: 767.98px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content .lead {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .product-title {
        font-size: 1.8rem;
    }
    
    .current-price {
        font-size: 1.5rem;
    }
    .custom-sidebar{
        display: block;
    }
    .contact-form-container,
    .contact-info {
        padding: 2rem;
    }
    
    .cart-summary {
        position: static;
        margin-top: 2rem;
    }
    
    .go-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 50px;
        height: 50px;
    }
    
    .carousel-control-prev {
        left: 15px;
    }
    
    .carousel-control-next {
        right: 15px;
    }
    .journey-steps {
        flex-direction: column;
        align-items: center;
    }

    .journey-steps::before {
        top: auto;
        left: 0;
        top: 0;
        width: 3px;
        height: 100%;
        transform: none;
    }

    .journey-step {
        margin-bottom: 2rem;
    }
}

@media (max-width: 575.98px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }
    .section-title {
        font-size: 1.5rem;
    }
    .custom-sidebar{
        display: block;
    }
    .btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.85rem;
    }
    
    .btn-lg {
        padding: 0.3rem 1rem;
        font-size: 0.8rem;
    }
    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }
    .product-card .product-info {
        padding: 1rem;
    }
    
    .category-card .category-info {
        padding: 1rem;
    }
    .parallax-promo{
        min-height: 50vh;
    }
    .testimonial-card {
        padding: 2rem;
    }
    
    .tab-content-wrapper {
        padding: 2rem 0;
    }
    .product-grid{
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
    }
}

/* ===== UTILITY CLASSES ===== */
.text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--sport-blue));
}

.bg-gradient-secondary {
    background: linear-gradient(135deg, var(--secondary-color), var(--sport-gray));
}

.border-primary {
    border-color: var(--primary-color) !important;
}

.rounded-lg {
    border-radius: 15px !important;
}

.rounded-xl {
    border-radius: 20px !important;
}

.shadow-custom {
    box-shadow: var(--shadow-lg);
}

.transition-normal {
    transition: var(--transition-normal);
}

.hover-lift:hover {
    transform: translateY(-5px);
}

.hover-scale:hover {
    transform: scale(1.05);
}

/* ===== ACCESSIBILITY ===== */
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.btn:focus,
.form-control:focus,
.form-select:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

@media (prefers-contrast: high) {
    .product-placeholder,
    .category-placeholder,
    .subcategory-placeholder,
    .gallery-placeholder,
    .about-placeholder {
        border: 2px solid var(--dark-color);
    }
}

@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;
    }
}

@media print {
    .navbar,
    .go-to-top,
    .carousel-control-prev,
    .carousel-control-next,
    .carousel-indicators {
        display: none !important;
    }
    
    body {
        padding-top: 0 !important;
    }
    
    .hero-slider {
        height: auto !important;
        min-height: auto !important;
    }
}

.about-content p {
    text-align: justify;
    margin-bottom: 12px;
}

.pa-item {
    border: 0;
}
.pa-maincat-name {
    display: block;
    margin: 0;
}
.pa-maincat-name button {
    background-color: var(--black-light-ef);
    text-align: left;
    font-size: 18px;
    display: block !important;
    border: none;
    width: 100%;
    padding: 15px 10px;
}
.pa-subcat-main {
    padding-left: 15px;
    margin-bottom: 10px;
}
.pa-subcat-main a {
    display: block;
    color: black;
    font-size: 14px;
    transition: 0.3s;
}
.pa-subcat-main a:hover {
    padding-left: 3px;
    color: var(--primary-color);
}

/* ===================================================
   SITE HEADER (custom build)
=================================================== */

.contact-information p a {
    color: var(--black);
}
.mobile-header-top,
.header-top {
    background-color: var(--black-color);
    color: var(--white-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--padding-lg);
    padding-block: 10px;
}

.mobile-header-top {
    display: none;
}

.header-top .social-link {
    display: flex;
    align-items: center;
    gap: 20px;
}

.social-link a {
    color: var(--white-color);
}

.social-link a:hover {
    transform: scale(1.2);
}

.header-middle,
.mobile-header-middle {
    padding: var(--padding-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-header-middle {
    display: none;
}

.header-middle .contact-details,
.header-middle .quick-tabs {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-details .phone-icon {
    font-size: 30px;
    color: var(--primary-color);
}

.contact-details .phone,
.contact-details .email {
    font-weight: 600;
}

.header-logo img {
    max-width: 100px;
    margin-left: -180px;
}

.search-tab,
.cart-tab {
    text-align: center;
    cursor: pointer;
}

.cart-tab .fa-bag-shopping,
.search-tab .fa-magnifying-glass {
    font-size: 20px;
}
.cart-tab a {
    color: var(--black-color);
}

.search-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    z-index: 1000;
    padding: 40px 0;
    background-color: var(--white-color);
}

.search-container {
    padding: 20px;
    margin: 0 auto;
    position: relative;
}

.close-icon {
    position: absolute;
    top: 0px;
    right: 20px;
    cursor: pointer;
}

.close-icon:hover {
    color: var(--primary-color);
}

.search-input {
    width: 40vw;
    padding: 10px;
    border: 1px solid var(--banner-bg-color);
    outline: none;
}

.search-button {
    background-color: var(--primary-color);
    color: var(--white-color);
    border: none;
    padding: 11px 20px;
    cursor: pointer;
}

.cart-tab {
    position: relative;
}

.cart-tab .badge {
    position: absolute;
    top: -10px;
    padding: 1px 6px;
    font-size: 10px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--white-color);
}

.cart-tab:hover,
.search-tab:hover {
    color: var(--primary-color);
}

.horizontal-line {
    opacity: 0.3;
    margin: 0;
    padding: 0;
}

.header-bottom {
    text-align: center;
    padding-bottom: 0px;
}

.header-bottom .navbar-a{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    list-style-type: none;
    margin: 0;
}

.navbar-a .navbar-link {
    color: var(--black-color);
    font-weight: 600;
}

.navbar-link:hover,
.dropdown-a .dropbtn:hover {
    color: var(--primary-color);
}

.dropdown-a .dropbtn {
    border: none;
    outline: none;
    color: var(--black-color);
    background-color: inherit;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.dropdown-content-a {
    display: none;
    position: absolute !important;
    background-color: var(--primary-color);
    width: 100% !important;
    left: 0px !important;
    z-index: 10;
    padding-block: 20px;
    padding-left: 15px;
}

.dropdown-a:hover .dropdown-content-a {
    display: block;
}

.mycol {
    display: flex;
    justify-content: space-evenly;
    text-align: left;
}
.mycolumn h3 {
    font-weight: 600;
    margin-block: 5px;
    color: var(--white-color);
    font-size: 16px;
}
.mycolumn ul {
    list-style-type: none;
    padding: 0;
}
.mycolumn ul li a {
    display: block;
    color: var(--white-color);
    padding-block: 2px;
    font-size: 12px;
}

.mycolumn ul li a:hover {
    color: var(--black-color);
}

.mycol:after {
    content: "";
    display: table;
    clear: both;
}

.mobile-navbar {
    display: none;
    width: 300px;
    height: 100%;
    overflow: scroll;
    background-color: var(--white-color);
    position: fixed;
    top: 0;
    z-index: 9999;
}

.mobile-nav-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--padding-sm);
}

.close-icon {
    padding: 10px;
    font-size: 20px;
    text-align: center;
    cursor: pointer;
}

.tab {
    display: flex;
    justify-content: space-around;
    overflow: hidden;
    border: 1px solid #ccc;
    background-color: var(--white-color);
}

.tab button {
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
    width: 50%;
    font-weight: 600;
    font-size: 16px;
}

.tab button:hover,
.tab button.active {
    background-color: var(--white-color);
    color: var(--primary-color);
}

.tabcontent {
    display: none;
    padding: 8px 0;
    border-top: none;
}

.tabcontent ul li {
    border-bottom: 1px solid #ccc;
    padding: 15px 0;
}

.tabcontent ul li a {
    color: var(--black-color);
    padding: 15px;
    font-weight: 600;
}
.tabcontent ul li button {
    color: var(--black-color);
}

.tabcontent ul li a:hover {
    color: var(--primary-color);
}

.social-icons {
    margin-top: auto;
    padding: 10px;
    display: flex;
    justify-content: space-around;
}

.category button {
    background: inherit;
    border: none;
    outline: none;
    padding: 0px 18px;
    font-size: 18px;
    font-weight: 600;
    color: var(--white-color);
}

.category button:hover {
    color: var(--primary-color);
}

.category ul li {
    border: none;
    padding: 3px 12px;
}

.category li a {
    padding: 5px;
    font-size: 14px;
    color: var(--white-color);
}

.category ul li a:hover {
    color: var(--primary-color);
}

.subcategory {
    display: none;
    background-color: var(--white-color);
    margin-top: 10px;
}

.category.active .subcategory {
    display: block;
}

.subcategory li {
    padding: 5px;
}

.subcategory li,
.subcategory li a {
    padding: 0;
    color: var(--black-color);
}

.social-icons a {
    color: var(--white-color);
}

.social-icons a:hover {
    color: var(--primary-color);
}

#backToTopBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--primary-color);
    color: var(--white-color);
    border: none;
    border-radius: 4px;
    font-size: 18px;
    padding: 7px 12px;
    cursor: pointer;
}

@media only screen and (max-width: 1245px) {
    .header-top,
    .header-middle {
        padding: var(--padding-md);
    }
}

@media only screen and (max-width: 1025px) {
    .header-top,
    .header-middle,
    .header-bottom {
        display: none;
    }

    .mobile-navbar {
        width: 400px;
        background-color: var(--white-color);
    }

    .mobile-header-top {
        display: flex;
        justify-content: center;
        padding: var(--padding-md);
    }

    .mobile-header-middle {
        display: flex;
        padding: var(--padding-md);
    }

    .header-logo img {
        max-width: 80px;
        margin: 0;
    }

    .quick-tabs {
        display: flex;
        gap: 20px;
    }

    .cart-tab .badge {
        top: -7px;
        right: -9px;
        padding: 2px 6px;
        font-size: 8px;
    }

    .mobile-hr {
        display: none;
    }
}

@media only screen and (max-width: 616px) {
    .header-top .social-link {
        display: none;
    }

    .mobile-navbar {
        width: 400px;
    }

    .header-bottom .navbar-a{
        gap: 20px;
        font-size: 12px;
    }

    .sub-categories li a {
        font-size: 14px;
    }

    .header-logo img {
        max-width: 70px;
        margin-left: 20px;
    }

    .cart-tab .badge {
        top: -7px;
        right: -4px;
        padding: 1px 4px;
        font-size: 8px;
    }

    .quick-tabs {
        gap: 10px;
    }

    .cart-tab .badge {
        top: -7px;
        right: -9px;
        padding: 2px 6px;
        font-size: 8px;
    }

    .mobile-header-top,
    .mobile-header-middle {
        padding: var(--padding-sm);
        font-size: 12px;
        padding-block: 10px;
    }

    .mobile-menu {
        font-size: 16px;
    }

    .mobile-header-middle {
        padding-right: 20px;
    }
}

@media only screen and (max-width: 400px) {
    .mobile-navbar {
        width: 300px;
    }
}
/* ==========================================
   SIZE CHART - FRONT END (product_detail.php)
   Thumbnail + click-to-open popup, isolated to size-chart elements only
========================================== */

.product-size-chart {
    all: unset;
    display: block;
    margin: 15px 0;
}

.product-size-chart .size-chart-label {
    all: unset;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #333333;
    margin-bottom: 8px;
    cursor: default;
}

.product-size-chart .size-chart-label i {
    all: unset;
    font-size: 14px;
    color: #333333;
}

.product-size-chart .size-chart-preview {
    all: unset;
    position: relative;
    display: inline-block;
    z-index: 1;
}

.product-size-chart .size-chart-preview img.size-chart-img {
    all: unset;
    display: block;
    width: 90px;
    height: 60px;
    object-fit: contain;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #ffffff;
    padding: 3px;
    box-sizing: border-box;
    cursor: zoom-in;
    transition: none;
    position: relative;
    z-index: 1;
}


.product-size-chart .size-chart-preview img.size-chart-img {
    all: unset;
    display: block;
    width: 90px;
    height: 60px;
    object-fit: contain;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #ffffff;
    padding: 3px;
    box-sizing: border-box;
    cursor: zoom-in;
    position: relative;
    z-index: 1;
}


/* Thumbnail + button row (thumbnail styles above stay unchanged) */
.size-chart-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.size-chart-btn {
    appearance: none;
    -webkit-appearance: none;
    background: #ffffff;
    color: #0d6efd;
    border: 1px solid #0d6efd;
    border-radius: 6px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease;
}

.size-chart-btn:hover,
.size-chart-btn:focus-visible {
    background: #0d6efd;
    color: #ffffff;
}

/* Popup (centered) */
.sc-modal {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 24px;
    box-sizing: border-box;
    background: rgba(0, 0, 0, 0.65);
}

.sc-modal.is-open {
    display: flex;
    animation: sc-fade .18s ease-out;
}

.sc-modal-dialog {
    position: relative;
    width: 560px;
    max-width: 100%;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

.sc-modal-body {
    max-height: 85vh;
    overflow-y: auto;
    padding: 10px;
    box-sizing: border-box;
}

.sc-modal-img {
    display: block;
    width: 100%;
    height: auto;
}

.sc-modal-close {
    appearance: none;
    -webkit-appearance: none;
    position: absolute;
    top: -14px;
    right: -14px;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: #ffffff;
    color: #222222;
    font-size: 22px;
    line-height: 32px;
    text-align: center;
    padding: 0;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.sc-modal-close:hover {
    background: #f1f1f1;
}

body.sc-no-scroll {
    overflow: hidden;
}

@keyframes sc-fade {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .sc-modal.is-open { animation: none; }
    .size-chart-btn { transition: none; }
}