/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* Mobile Product Grid Styles */
@media (max-width: 576px) {
    .product-card {
        margin-bottom: 1rem;
    }
    
    .product-name {
        font-size: 0.85rem !important;
        line-height: 1.2;
        margin-bottom: 0.5rem;
    }
    
    .product-price {
        font-size: 0.9rem;
    }
    
    .card-body {
        padding: 0.75rem !important;
    }
    
    .product-overlay .btn {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
    }
    
    /* Filter buttons mobile layout */
    .filter-buttons .btn {
        padding: 0.75rem 0.5rem;
        font-size: 0.85rem;
        font-weight: 600;
        letter-spacing: 0.5px;
    }
    
    /* Card content mobile styles */
    .card__heading {
        font-size: 0.55rem !important;
        line-height: 1.0;
        letter-spacing: 0.1px;
        min-height: 1.2rem;
        max-height: 1.2rem;
        display: flex;
        align-items: flex-start;
        justify-content: center;
        font-weight: 700 !important;
        padding-top: 0.1rem;
        text-align: center;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }
    
    .price,
    .price-item--regular,
    .price-item--sale {
        font-size: 0.8rem !important;
    }
    
    .price--on-sale .price-item--regular {
        font-size: 0.7rem !important;
    }
    
    /* Mobile price alignment - horizontal layout */
    .price__container {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0.5rem !important;
        min-height: 1.2rem;
        display: flex !important;
    }
    
    .price--on-sale .price__container {
        flex-direction: row !important;
    }
    
    .price {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        min-height: 1.2rem;
    }
    
    /* Stock indicator mobile styles */
    .stock-indicator {
        margin-top: 0.5rem !important;
    }
    
    .stock-indicator .d-flex {
        margin-bottom: 0.25rem !important;
    }
    
    .stock-indicator small {
        font-size: 0.6rem !important;
    }
    
    .stock-indicator .progress {
        height: 2px !important;
    }
}

/* Footer Mobile Styles */
@media (max-width: 991.98px) {
    .footer {
        padding: 3rem 0 !important;
    }
    
    .footer .col-md-6 {
        text-align: center !important;
        margin-bottom: 2rem;
    }
    
    .footer .col-md-6:last-child {
        margin-bottom: 0;
    }
    
    .footer .footer-links {
        justify-content: center !important;
        margin-bottom: 1.5rem;
    }
    
    .footer .footer-links a {
        font-size: 0.9rem;
        margin: 0 1rem 0.5rem 1rem !important;
        display: inline-block;
    }
    
    .footer .social-links {
        text-align: center !important;
        margin-bottom: 1rem !important;
    }
    
    .footer .social-links a {
        margin: 0 1rem !important;
    }
    
    .footer .social-links .bi {
        font-size: 1.5rem !important;
    }
    
    .footer p.small {
        font-size: 0.8rem !important;
        margin-bottom: 0 !important;
    }
}

@media (max-width: 576px) {
    .footer {
        padding: 2.5rem 0 !important;
    }
    
    .footer .footer-links a {
        font-size: 0.85rem;
        margin: 0 0.75rem 0.75rem 0.75rem !important;
        line-height: 1.4;
    }
    
    .footer .social-links a {
        margin: 0 0.75rem !important;
    }
    
    .footer .social-links .bi {
        font-size: 1.3rem !important;
    }
    
    .footer p.small {
        font-size: 0.75rem !important;
        line-height: 1.3;
    }
}

/* Marquee Container Styles (JavaScript-controlled) */
.marquee {
    overflow: hidden;
    white-space: nowrap;
    box-sizing: border-box;
    background: #000;
    color: white;
    padding: 8px 0;
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1030;
}

/* Remove CSS animation - now handled by JavaScript */
.marquee span,
.cms-marquee-text {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
    /* CSS animations disabled - controlled by JavaScript */
    -webkit-animation: none !important;
    animation: none !important;
    will-change: transform;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* Keep keyframes for fallback browsers without JavaScript */
@-webkit-keyframes scroll {
    0% { -webkit-transform: translateX(100%); transform: translateX(100%); }
    100% { -webkit-transform: translateX(-100%); transform: translateX(-100%); }
}

@keyframes scroll {
    0% { -webkit-transform: translateX(100%); transform: translateX(100%); }
    100% { -webkit-transform: translateX(-100%); transform: translateX(-100%); }
}

/* CMS Announcement Marquee Styles */
.marquee.cms-announcement {
    color: white;
}

/* Fallback for browsers without JavaScript support */
.no-js .marquee span,
.no-js .cms-marquee-text {
    -webkit-animation: scroll 60s linear infinite;
    animation: scroll 60s linear infinite;
    will-change: transform;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* CMS announcements use inline repeated text, no ::before needed */

/* Account Page Styles */
.account-section .card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.account-section .card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1) !important;
}

.auth-container .nav-pills .nav-link {
    border-radius: 50px;
    padding: 12px 24px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.auth-container .nav-pills .nav-link.active {
    background-color: var(--primary-color, #000);
    border-color: var(--primary-color, #000);
}

.form-control-lg {
    padding: 12px 16px;
    font-size: 1rem;
    border-radius: 12px;
    border: 2px solid #e9ecef;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control-lg:focus {
    border-color: var(--primary-color, #000);
    box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.1);
}

.btn-lg {
    padding: 12px 24px;
    font-size: 1.1rem;
    border-radius: 12px;
    font-weight: 500;
}

@media (max-width: 768px) {
    .account-section .d-flex.gap-3 {
        flex-direction: column;
    }
    
    .account-section .d-flex.gap-3 .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .modal-lg {
        max-width: 95%;
        margin: 2rem auto;
    }
    
    .auth-container .nav-pills {
        margin-bottom: 1.5rem;
    }
    
    .auth-container .nav-pills .nav-link {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
}

/* Custom CSS Variables #041e42 */
:root {
    --primary-color: #000;
    --background-navy:  #041e42;
    --navy-dark: #041e42;
    --navy-light: #041e42;
    --secondary-color: #fff;
    --accent-color: #f8f9fa;
    --text-color: #333;
    --border-color: #dee2e6;
    --font-primary: 'Inter', 'Roboto', 'Helvetica Neue', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    --font-logo: 'Inter', 'Roboto', 'Helvetica Neue', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}

/* Custom text colors */
.text-navy {
    color: var(--background-navy) !important;
}

/* Navy Button Styles */
.btn-outline-navy {
    color: #fff;
    border-color: var(--background-navy);
    background-color: var(--background-navy);
}

.btn-outline-navy:hover {
    color: #fff;
    background-color: transparent;
    border-color: var(--background-navy);
}

.btn-outline-navy:focus,
.btn-outline-navy:active {
    color: #fff;
    background-color: transparent;
    border-color: var(--background-navy);
    box-shadow: 0 0 0 0.25rem rgba(4, 30, 66, 0.25);
}

.btn-navy {
    color: #fff;
    background-color: var(--background-navy);
    border-color: var(--background-navy);
}

.btn-navy:hover {
    color: #fff;
    background-color: var(--navy-dark);
    border-color: var(--navy-dark);
}

/* Product Image Animation Styles */
.main-image {
    position: relative;
    overflow: hidden;
}

.main-image img {
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

/* Size Chart Drawer Styles */
#sizeChartDrawer {
    background: rgba(4, 30, 66, 0.7) !important;
    height: 100vh !important;
    max-height: 100vh !important;
}

#sizeChartDrawer .offcanvas-header {
    background: transparent;
    border-bottom: none;
    padding: 1.5rem;
}

#sizeChartDrawer .offcanvas-title {
    color: #FFFACD;
    font-weight: 700;
    font-size: 1.25rem;
}

#sizeChartDrawer .btn-close {
    filter: invert(1);
    opacity: 1;
    font-size: 1.2rem;
}

#sizeChartDrawer .offcanvas-body {
    background: transparent;
    padding: 0 1.5rem 2rem;
    overflow-y: auto;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 0;
}

/* Create a content container that limits to 70vh */
#sizeChartDrawer .size-chart-content {
    max-height: 70vh;
    width: 100%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    margin-top: 15vh;
}

#sizeChartDrawer .nav-tabs {
    border-bottom: none;
    gap: 0.5rem;
    margin-bottom: 2rem;
    display: flex;
    flex-wrap: wrap;
}

#sizeChartDrawer .nav-tabs .nav-link {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    border-radius: 15px;
    color: #FFFACD;
    padding: 0.3rem 0.5rem;
    font-size: 0.5rem;
    font-weight: 600;
    margin-right: 0;
    text-align: center;
    white-space: nowrap;
    flex: 1;
    min-width: 70px;
    transition: all 0.2s ease;
}

#sizeChartDrawer .nav-tabs .nav-link:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #FFFACD;
    border: none;
    transform: translateY(-1px);
}

#sizeChartDrawer .nav-tabs .nav-link.active {
    background: rgba(255, 255, 255, 0.3);
    color: #FFFACD;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

#sizeChartDrawer .table {
    color: #FFFACD;
    background: transparent !important;
    margin-bottom: 0;
    border-collapse: collapse;
    border: none !important;
}

#sizeChartDrawer .table *,
#sizeChartDrawer .table tr,
#sizeChartDrawer .table tr td,
#sizeChartDrawer .table tr th,
#sizeChartDrawer .table thead,
#sizeChartDrawer .table tbody,
#sizeChartDrawer .table thead th {
    border: none !important;
    border-top: none !important;
    border-bottom: none !important;
    border-left: none !important;
    border-right: none !important;
}

#sizeChartDrawer .table-bordered {
    border: none !important;
}

#sizeChartDrawer .table-bordered th,
#sizeChartDrawer .table-bordered td {
    border: none !important;
    padding: 0.8rem 0.3rem;
    font-size: 0.5rem;
    background: transparent !important;
    text-align: center;
}

#sizeChartDrawer .table-dark {
    background: transparent !important;
    color: #FFFACD;
}

#sizeChartDrawer .table-dark th,
#sizeChartDrawer .table-dark td {
    background: transparent !important;
}

#sizeChartDrawer .table-dark th {
    font-weight: 700;
    font-size: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Desktop Size Chart Styles */
@media (min-width: 768px) {
    #sizeChartDrawer {
        height: 60vh !important;
        max-height: 60vh !important;
    }
    
    #sizeChartDrawer .offcanvas-title {
        font-size: 1.5rem;
    }
    
    #sizeChartDrawer .nav-tabs .nav-link {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
        min-width: 150px;
        border-radius: 25px;
    }
    
    #sizeChartDrawer .table-bordered th,
    #sizeChartDrawer .table-bordered td {
        padding: 1.2rem 0.8rem;
        font-size: 0.95rem;
    }
    
    #sizeChartDrawer .table-dark th {
        font-size: 0.9rem;
    }
}

/* Large Desktop Size Chart Styles */
@media (min-width: 1200px) {
    #sizeChartDrawer {
        height: 50vh !important;
        max-height: 50vh !important;
    }
    
    #sizeChartDrawer .offcanvas-title {
        font-size: 1.75rem;
    }
    
    #sizeChartDrawer .nav-tabs .nav-link {
        padding: 0.9rem 2rem;
        font-size: 1rem;
        min-width: 180px;
    }
    
    #sizeChartDrawer .table-bordered th,
    #sizeChartDrawer .table-bordered td {
        padding: 1.5rem 1rem;
        font-size: 1.1rem;
    }
    
    #sizeChartDrawer .table-dark th {
        font-size: 1rem;
    }
}

/* Fade out animation - image slides down and fades out */
.main-image img.fade-out {
    opacity: 0;
    transform: translateY(20px);
}

/* Fade in animation - image slides up from bottom and fades in */
.main-image img.fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* Initial state for new images */
.main-image img.fade-in-initial {
    opacity: 0;
    transform: translateY(20px);
}

/* Keyframe animations for smoother transitions */
@keyframes fadeOutDown {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(20px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-color);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
}

.logo-text {
    font-family: var(--font-logo);
    font-weight: 700;
    font-size: 2rem;
    color: var(--secondary-color);
}

.logo-img {
    width: auto;
}

/* Mobile Logo Size */
.logo-img {
    height: 100px; /* Adjust this number for mobile logo size */
    max-height: none; /* Allow logo to be larger */
    object-fit: contain; /* Maintain aspect ratio */
}

/* Desktop Logo Size */
@media (min-width: 992px) {
    .logo-img {
        height: 120px; /* Adjust this number for desktop logo size */
    }
}

/* Custom Logo Positioning */
.logo-mobile {
    position: relative;
    left: -10px; /* Adjust this number to move left/right */
    margin-left: -25px; /* Additional fine-tuning */
    margin-top: 10px;
}

.logo-desktop {
    position: absolute;
    left: 50%; /* Center horizontally */
    transform: translateX(-50%); /* Perfect centering */
    margin-left: 0px; /* Adjust this to fine-tune center position */
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 2rem;
}

/* Top Bar */
.top-bar {
    font-size: 0.875rem;
    font-weight: 500;
}

/* Header */
.header {
    height: 80px; /* Fixed header height */
    overflow: visible; /* Allow mobile menu to show */
    position: sticky;
    top: 40px; /* Position below marquee bar (8px padding * 2 + text height) */
    z-index: 1025;
}

.navbar {
    height: 100%; /* Fill header height */
    padding-top: 0;
    padding-bottom: 0;
}

/* Mobile menu positioning */
@media (max-width: 991.98px) {
    .navbar-collapse {
        position: absolute !important;
        top: 100% !important;
        left: 15px !important;
        transform: none !important;
        width: 200px !important;
        background: var(--background-navy) !important;
        border: 1px solid rgba(255,255,255,0.1) !important;
        border-radius: 8px !important;
        box-shadow: 0 4px 20px rgba(0,0,0,0.3) !important;
        z-index: 1000 !important;
        margin-top: 10px !important;
        padding: 0 !important;
        right: auto !important;
    }
}

/* Mobile menu styling */
.navbar-collapse .navbar-nav {
    padding: 1rem 0;
    text-align: center;
}

.navbar-collapse .nav-link {
    color: white !important;
    font-weight: 500;
    text-align: center !important;
    padding: 0.75rem 1rem !important;
    margin: 0 !important;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: background-color 0.2s ease;
}

.navbar-collapse .nav-link:last-child {
    border-bottom: none;
}

.navbar-collapse .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
}

.navbar .container-fluid {
    height: 100%; /* Fill navbar height */
}

.navbar .d-flex {
    height: 100%; /* Fill container height */
    align-items: center; /* Center content vertically */
}
.header {
    background: var(--background-navy) !important;
    border-bottom: 1px solid var(--navy-dark);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Hamburger Menu - White Lines */
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.navbar {
    padding: 1rem 0;
}

.navbar-brand .logo-text {
    font-size: 2.2rem;
}

.nav-link {
    font-weight: 500;
    color: var(--secondary-color) !important;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--navy-light) !important;
}

/* Cart Count Badge */
.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: red;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

/* Hero Banner */
.hero-banner {
    height: 200vh;
    min-height: 1200px;
    overflow: hidden;
}

/* Hero Slideshow */
.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-content-slide {
    opacity: 0;
    transition: opacity 1s ease-in-out;
    position: absolute;
    width: 100%;
}

.hero-content-slide.active {
    opacity: 1;
    position: relative;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Mobile: Cover but show more of the image */
@media (max-width: 768px) {
    .hero-banner {
        min-height: 70vh; /* Reduced from full height to show more image content */
    }
    
    .hero-image {
        background: #1a1a1a; /* Dark background for letterboxing if needed */
    }
    
    .hero-image img {
        object-fit: cover;
        object-position: center center;
        min-height: 100%;
        /* Scale to cover width while preserving more vertical content */
    }
}

.hero-loading-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    background: #000000; /* Consistent black background for all devices */
    filter: contrast(1.2) brightness(1.1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
}

.hero-text-left h1 {
    font-size: 4rem;
    font-weight: 900;
    letter-spacing: 3px;
}

.hero-text-right h2 {
    font-size: 3rem;
    font-weight: 700;
}

.hero-cta .btn {
    border: 2px solid white;
    font-weight: 700;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.hero-cta .btn:hover {
    background: white;
    color: var(--background-navy);
}

/* Product Cards - Shopify Style */
.card-wrapper.product-card-wrapper {
    margin-bottom: 2rem;
    position: relative;
}

.card {
    border: none;
    background: transparent !important;
    overflow: hidden;
    position: relative;
}

.card--standard {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card--media .card__inner {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

.fade-in {
    opacity: 1;
    transition: opacity 0.3s ease;
}

.card-wrapper:hover .card--standard {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* Card Media and Images */
.card__media {
    position: relative;
    width: 100%;
    height: 100%;
}

.media {
    position: relative;
    width: 100%;
    height: 100%;
    display: block;
}

.media--transparent {
    background: transparent;
}

.media--hover-effect img {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.media--hover-effect .hover-image {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    pointer-events: none;
}

.card-wrapper:hover .media--hover-effect .hover-image {
    opacity: 1;
}

.card-wrapper:hover .media--hover-effect img:first-child {
    transform: scale(1.05);
}



/* Badges - Shopify Style */
.card__badge {
    position: absolute;
    z-index: 2;
}

/* Ensure card containers have relative positioning */
.card, .product-card, .card__inner, .card__media, .media {
    position: relative !important;
}

/* Force badge positioning with CSS transform method */
.card__badge--top-right {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    z-index: 3 !important;
}

.card__badge--bottom-right {
    position: absolute !important;
    bottom: 10px !important;
    right: 10px !important;
    z-index: 3 !important;
}

/* Use JavaScript to position badges dynamically */
.card__inner {
    position: relative !important;
}

.card__inner .card__badge--top-right {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    left: auto !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
    z-index: 2 !important;
}

.card__inner .card__badge--bottom-right {
    position: absolute !important;
    bottom: 10px !important;
    right: 10px !important;
    left: auto !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
    z-index: 2 !important;
}

.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 8px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.badge--sold-out {
    background: transparent;
    color: rgb(0, 0, 0);
    border: 1px solid #000;
    border-radius: 20px;
    padding: 6px 16px;
    font-weight: 700;
}

.badge--new {
    background: transparent;
    color: rgb(7, 16, 81);
    border: 1px solid #000;
    border-radius: 20px;
    padding: 6px 16px;
    font-weight: 700;
}

.badge--pre-order {
    background: transparent;
    color: #041e42;
    border: 1px solid #041e42;
    border-radius: 20px;
    padding: 6px 16px;
    font-weight: 700;
}

.color-inverse {
    background: #000;
    color: white;
}

/* Card Content - Shopify Style */
.card__content {
    padding: 0.75rem 0;
    background: transparent !important;
}

.card__information {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
    text-align: center;
}

.card__heading {
    margin: 0;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card__heading a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.full-unstyled-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.card__heading a:hover,
.underline-links-hover:hover .full-unstyled-link {
    color: var(--background-navy);
}

.card-information {
    margin-top: 0.25rem;
}

/* Price Styling - Shopify Style */
.price {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    font-size: 1rem;
    justify-content: center;
}

.price__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    text-align: center;
}

.price--on-sale .price__container {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.price__regular,
.price__sale {
    display: flex;
    align-items: center;
    justify-content: center;
}

.price-item {
    font-weight: 600;
    color: var(--text-color);
}

.price-item--regular {
    font-size: 1rem;
}

.price--on-sale .price-item--regular {
    text-decoration: line-through;
    color: #999;
    font-size: 0.9rem;
}

.price-item--sale {
    color: #dc3545;
    font-weight: 700;
}

.price--sold-out .price-item {
    color: #6c757d;
}

/* Sections */
.new-arrivals, .shop-all {
    padding: 5rem 0;
}

/* Newsletter */
.newsletter {
    background: var(--accent-color);
}

.newsletter-form .form-control {
    border: none;
    border-bottom: 2px solid var(--border-color);
    background: transparent;
    padding: 1rem 0;
    font-size: 1.1rem;
}

.newsletter-form .form-control:focus {
    border-bottom-color: var(--primary-color);
    box-shadow: none;
    background: transparent;
}

/* Footer */
.footer {
    background: var(--background-navy) !important;
}

.footer-links a:hover {
    text-decoration: underline !important;
}

.social-links a:hover {
    opacity: 0.7;
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

/* Product Page Styles */
.product-images .main-image {
    position: relative;
    overflow: hidden;
}

.product-images .main-image img {
    transition: transform 0.3s ease;
}

.product-images .main-image:hover img {
    transform: scale(1.05);
}

.thumbnail-img {
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s ease, border 0.3s ease;
    border: 2px solid transparent;
}

.thumbnail-img:hover {
    opacity: 1;
}

.thumbnail-img.active {
    opacity: 1;
    border: 2px solid var(--background-navy);
}

.product-title {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.product-price .price-amount {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
}

.size-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.size-btn {
    width: 50px;
    height: 45px;
    border: 2px solid var(--border-color) !important;
    background: white;
    color: var(--text-color);
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.size-btn:hover,
.size-btn.active {
    background: var(--background-navy) !important;
    color: white !important;
    border-color: var(--background-navy) !important;
}

.add-to-cart-btn {
    background: var(--background-navy) !important;
    border: none !important;
    padding: 15px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

.add-to-cart-btn:hover {
    background: var(--navy-dark) !important;
    transform: translateY(-2px);
}

.product-details ul li {
    padding: 5px 0;
    border-bottom: 1px solid var(--accent-color);
}

.product-details ul li:last-child {
    border-bottom: none;
}

.breadcrumb {
    background: transparent;
    padding: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    color: var(--text-color);
}

/* Cart styles */
.cart-drawer {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: white;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    z-index: 1050;
    overflow-y: auto;
}

.cart-drawer.active {
    right: 0;
}

.cart-drawer-content {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.cart-body {
    flex: 1;
    overflow-y: auto;
}

.cart-item {
    display: flex;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.cart-item-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 1rem;
}

.cart-item-details {
    flex: 1;
}

.cart-item-name {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.cart-item-price {
    font-weight: 700;
    color: var(--primary-color);
}

.cart-item-remove {
    border: none;
    background: none;
    color: #6c757d;
    font-size: 1.2rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.cart-item-remove:hover {
    color: #dc3545;
}

/* Cart Overlay */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Buttons */
.btn {
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 0;
    padding: 12px 30px;
    transition: all 0.3s ease;
}

.btn-dark {
    background: var(--background-navy);
    border-color: var(--background-navy);
}

.btn-dark:hover {
    background: var(--navy-dark);
    border-color: var(--navy-dark);
}

.btn-outline-dark {
    color: var(--background-navy);
    border-color: var(--background-navy);
}

.btn-outline-dark:hover {
    background: var(--background-navy);
    border-color: var(--background-navy);
    color: white;
}

/* Mobile Responsive Styles */
@media (max-width: 991.98px) {
    .logo-text {
        font-size: 1.8rem;
    }
    
    .hero-text-left h1 {
        font-size: 2.5rem;
    }
    
    .hero-text-right h2 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cart-drawer {
        width: 250px;
        right: -320px;
    }
}

@media (max-width: 767.98px) {
    .hero-banner {
        height: 70vh;
        min-height: 500px;
    }
    
    .hero-text-left h1 {
        font-size: 2rem;
        letter-spacing: 1px;
    }
    
    .hero-text-right h2 {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.75rem;
        letter-spacing: 1px;
    }
    
    .cart-drawer {
        width: 80%;
        right: -100%;
    }
    
    .new-arrivals, .shop-all {
        padding: 3rem 0;
    }
}

@media (max-width: 575.98px) {
    .hero-text-left h1 {
        font-size: 1.75rem;
    }
    
    .hero-text-right h2 {
        font-size: 1.25rem;
    }
    
    .hero-cta .btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Screen Styles */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(255, 255, 255);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading-video {
    max-width: 200px;
    max-height: 200px;
    width: 50%;
    height: auto;
    object-fit: contain;
    object-position: center;
    border-radius: 12px;
    background: rgb(255, 255, 255); /* White background for iOS Safari consistency */
    mix-blend-mode: multiply;
    filter: contrast(1.2) brightness(1.1);
}

.loading-fallback {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;

    color: white;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgb(255, 255, 255);
    border-top: 4px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@media (max-width: 768px) {
    .loading-video {
        width: 100vw;
        height: 100vh;
        object-fit: cover;
        background: rgb(255, 255, 255); /* White background with iOS Safari fixes */
        /* iOS Safari video rendering fixes */
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #333;
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus States */
.btn:focus,
.form-control:focus,
.nav-link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Search Modal Styles */
.search-result-card {
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid #e9ecef;
}

.search-result-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.search-results-header {
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 0.5rem;
}

#searchResults .card-title {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.2;
}

#searchResults .card-text {
    font-size: 0.8rem;
    line-height: 1.3;
}

#searchResults .price-wrapper {
    font-size: 0.85rem;
}

#searchResults img {
    border-radius: 0.375rem 0 0 0.375rem;
}

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

@media (max-width: 768px) {
    #searchResults .col-md-6 {
        padding: 0.25rem;
    }
    
    #searchResults .card-body {
        padding: 0.75rem !important;
    }
    
    #searchResults .card-title {
        font-size: 0.8rem;
    }
    
    #searchResults .card-text {
        font-size: 0.75rem;
    }
}

/* FAQ Floating Button Styles */
.faq-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1040;
    margin-bottom: 70px; /* Space above messenger button */
}

.faq-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #007bff, #0056b3);
    border: none;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
}

.faq-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
    background: linear-gradient(135deg, #0056b3, #004085);
}

.faq-btn:active {
    transform: translateY(0);
}

.faq-icon {
    color: white;
    font-size: 24px;
    line-height: 1;
}

.faq-tooltip {
    position: absolute;
    right: 65px;
    top: 50%;
    transform: translateY(-50%);
    background: #333;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.faq-tooltip::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: #333;
}

.faq-btn:hover .faq-tooltip {
    opacity: 1;
    visibility: visible;
}

/* FAQ Modal Styles */
#faqModal .modal-content {
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

#faqModal .modal-header {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-bottom: 1px solid #dee2e6;
    border-radius: 12px 12px 0 0;
    padding: 1.5rem;
}

#faqModal .modal-title {
    color: #495057;
    font-weight: 600;
}

#faqModal .accordion-item {
    border: none;
    border-bottom: 1px solid #e9ecef;
}

#faqModal .accordion-item:last-child {
    border-bottom: none;
}

#faqModal .accordion-button {
    background: transparent;
    border: none;
    padding: 1.25rem 1.5rem;
    font-weight: 500;
    color: #495057;
    box-shadow: none;
}

#faqModal .accordion-button:not(.collapsed) {
    background: #f8f9fa;
    color: #007bff;
}

#faqModal .accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

#faqModal .accordion-body {
    padding: 1.25rem 1.5rem;
    color: #6c757d;
    line-height: 1.6;
}
@media (max-width: 768px) {
    .messenger-float {
        bottom: 15px;
        right: 75px; /* smaller gap on mobile */
    }

    .back-to-top {
        bottom: 15px !important;
        right: 15px !important;
        width: 50px !important;
        height: 50px !important;
    }
}

/* Adjust messenger button positioning to accommodate FAQ button */
.messenger-float {
    bottom: 20px;
    right: 20px;
}

/* Print Styles */
@media print {
    .top-bar,
    .header,
    .cart-drawer,
    .cart-overlay,
    .faq-float,
    .messenger-float {
        display: none !important;
    }
}

/* Size Chart Fullscreen */
.offcanvas-fullscreen {
    height: 100vh !important;
    max-height: auto !important;
}

/* Mobile Product Info Sections */
.mobile-product-info {
    padding: 0 1rem;
}

.mobile-product-info .info-section {
    border-top: 1px solid #e5e7eb;
    padding-top: 1.25rem;
}

.mobile-product-info .info-section:first-child {
    border-top: none;
    padding-top: 0;
}

.mobile-product-info .info-section h6 {
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #000;
    margin-bottom: 0.75rem;
}

.mobile-product-info .product-description-mobile {
    font-size: 0.875rem;
    color: #6b7280;
}

.mobile-product-info .product-description-mobile div {
    margin-bottom: 0.25rem;
}

.mobile-product-info .product-origin,
.mobile-product-info .product-shipping {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.6;
}
