/* Custom Styles for Reef & Currents Dark Theme */

/* Setting body to absolute black and applying a preferred font */
/* Setting body to absolute black and applying a preferred font */
body {
    background-color: #000000 !important; /* Absolute Black Background */
    color: #f0f0f0; 
    font-family: 'Montserrat', sans-serif; 
    /* IMPORTANT: Increase bottom padding for the floating nav */
    padding-bottom: 90px !important; 
    /* CRITICAL FIX: Ensure no horizontal scrolling */
    overflow-x: hidden; 
}

/* Primary Color Definition - Aquatic Blue/Cyan for accents */
.text-primary {
    color: #00bcd4 !important; 
}
.bg-primary {
    background-color: #00bcd4 !important;
}
.btn-primary {
    --bs-btn-bg: #00bcd4;
    --bs-btn-border-color: #00bcd4;
    --bs-btn-hover-bg: #00a4b8;
    --bs-btn-hover-border-color: #00a4b8;
}

/* Secondary Color Definition - Darker grey for cards/sections */
.bg-secondary {
    background-color: #1a1a1a !important; /* Slightly lighter than absolute black for depth */
}


/* --- HEADER AND NAVIGATION --- */

/* Thicker Header Style */
.main-header .navbar {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    background-color: #000000 !important;
    border-bottom: 1px solid #1a1a1a;
    /* FIX: Ensure header is highest priority */
    z-index: 1040;
}

/* Custom Nav Link Design (for desktop) */
.nav-link-custom {
    color: #fff !important; /* White link color */
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0.5rem;
    transition: color 0.3s;
    border-radius: 5px; /* Added slight rounding to menu items */
}

/* Menu underline effect */
.nav-link-custom::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: #00bcd4; /* Primary color underline */
    transition: width 0.3s ease-out, left 0.3s ease-out;
}

.nav-link-custom:hover::after,
.nav-link-custom.active::after {
    width: 100%;
    left: 0;
}
.nav-link-custom:hover {
    color: #00bcd4 !important;
}

/* Admin Login Button Styling */
.admin-login-btn {
    color: #fff !important;
    border-color: #fff !important;
    transition: background-color 0.3s, color 0.3s;
}

.admin-login-btn:hover {
    background-color: #fff !important;
    color: #000 !important;
}


/* --- MOBILE OFF-CANVAS DRAWER --- */

/* Ensures the drawer itself is dark */
.offcanvas-start {
    background-color: #000000 !important;
    border-right: 1px solid #333;
}
.offcanvas-body .nav-link {
    padding: 0.75rem 1rem;
    border-radius: 5px;
    transition: background-color 0.2s;
}
.offcanvas-body .nav-link:hover {
    background-color: #00bcd41a; /* Subtle hover effect */
}

/* Style Admin Login button inside the mobile drawer */
.offcanvas-body .btn-outline-primary {
    color: #fff !important;
    border-color: #fff !important;
}


/* --- MOVING MARQUEE STRIP --- */

.marquee-strip {
    /* Fixed position, pushed down below the main header */
    top: 70px; /* Adjusted to clear the slightly thicker header */
    overflow: hidden;
    white-space: nowrap;
    box-sizing: border-box;
    /* FIX: Ensure marquee is below header but above content/main nav */
    z-index: 1039; 
}

.marquee-strip p {
    display: inline-block;
    padding-left: 100%; 
    animation: marquee 15s linear infinite; 
}

@keyframes marquee {
    0%   { transform: translate(0, 0); }
    100% { transform: translate(-100%, 0); }
}

/* --- RESPONSIVE PADDING ADJUSTMENTS --- */

@media (max-width: 991.98px) {
    /* FIX: Adjust main content padding on mobile to clear fixed header (70px) AND marquee (~30px) */
    main {
        padding-top: 110px !important; /* 70px (header) + ~30px (marquee) + 10px buffer */
    }
    .marquee-strip {
        top: 70px; 
    }
}
@media (min-width: 992px) {
    /* Adjust main content padding on desktop */
    main {
        padding-top: 110px !important; 
    }
}


/* --- HERO SECTION --- */

.hero-section {
    min-height: 60vh;
    padding: 100px 0;
    position: relative;
    /* CRITICAL FIX: REMOVED negative margin to prevent horizontal overflow */
    background-size: cover;
    background-position: center;
    border-radius: 10px; 
    overflow: hidden;
    /* margin: 0 -15px; <--- REMOVED THIS LINE */
}

/* Removed the ::before pseudo-element that created the dark overlay */

.hero-section .container {
    position: relative;
    z-index: 1;
}


/* --- PRODUCT CARD STYLING (Featured Products) --- */

.product-card {
    background-color: #121212; 
    border: 1px solid #333;
    border-radius: 10px;
    transition: transform 0.2s, box-shadow 0.2s;
    overflow: hidden; 
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px); 
    box-shadow: 0 10px 25px rgba(0, 188, 212, 0.2); /* Subtle glow on hover */
}

.product-card-img-top {
    position: relative;
    overflow: hidden;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    padding-top: 100%; 
}

.product-card-img-top img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; 
}

/* Sale/Badge Circle */
.sale-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 50px;
    height: 50px;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: bold;
    z-index: 10;
}

/* Wishlist Button */
.wishlist-btn {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 10;
    color: #ccc;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    padding: 8px;
    line-height: 1;
    transition: color 0.2s;
}
.wishlist-btn:hover {
    color: #fff; 
}
.wishlist-btn.active {
    color: #ff3333; 
}

/* Price Display Styling (Final Price is always WHITE now) */
.price-section {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: 5px;
}

.actual-price, .actual-price-cut { /* Target both classes */
    font-size: 1rem;
    color: #888; /* Muted gray color */
    text-decoration: line-through; /* Add the cross-out line */
    margin-right: 15px; /* Increase space after the old price */
}

/* Final price is now white (since the Rupee symbol is handled in JS) */
.discounted-price, .price-display-large { /* Keep high visibility for the final price */
    font-size: 1.25rem;
    font-weight: bold;
    color: #fff; 
}
/* Ensure product detail page price remains large/blue, using the dedicated class: */
.price-display-large {
    /* REDUCED SIZE SLIGHTLY */
    font-size: 2.2rem; 
    font-weight: 700 !important; 
    line-height: 1;
    /* This ensures the primary color remains the dominant style */
}

.product-category {
    font-size: 0.8rem;
    color: #999;
    text-transform: uppercase;
    margin-bottom: 0;
}

/* --- CATEGORY CARD STYLING (Used on index.html and pages/shop/categories.html) --- */
.category-card {
    position: relative;
    background-color: #1a1a1a;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    display: block;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5); /* Added subtle base shadow */
    height: 100%; /* Ensure card fills height in grid */
}
.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 188, 212, 0.3);
}
.category-img-wrapper {
    width: 100%;
    padding-top: 100%; /* 1:1 Aspect Ratio */
    position: relative;
}
.category-img-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0));
    color: white;
    min-height: 40%;
}
.category-overlay h5, .category-overlay h4 { /* Targeting both H5 (index) and H4 (shop/categories) */
    color: white;
}
.product-count {
    font-size: 0.8rem;
    opacity: 0.8;
    color: #ccc;
}

/* --- FEATURED PRODUCTS HEADING TWEAKS --- */
#new-arrivals-section h2 {
    font-size: 2rem; /* Make the text slightly bigger */
    text-align: center; /* Ensure it's centered */
}

/* --- FEATURED CATEGORIES SECTION HEADING --- */
#featured-categories-section h2 {
    font-size: 2rem;
    text-align: center;
}


/* --- SERVICES SECTION STYLING --- */

/* Our Expertise Badge Style */
.badge-custom {
    padding: 0.5em 1.5em;
    font-size: 0.9em;
    font-weight: bold;
    background-color: #00bcd4 !important;
    color: #000 !important;
}

/* --- FIX: FORCE ALL SERVICE TITLE ICONS TO WHITE --- */
.card-service-custom .card_title__container .service-icon {
    font-size: 2rem;
    color: #ffffff !important; /* Force White */
    margin-bottom: 0.5rem;
}
/* --- END FIX: FORCE ALL SERVICE TITLE ICONS TO WHITE --- */

/* --- FIX: ENHANCED SERVICE CARD WRAPPING (Services Page) --- */
/* Ensure the list text wraps, fixing overflow issue on mobile */
.card-service-custom .card_title__container .card_paragraph {
    /* Existing style: ensure the long description text wraps */
    word-break: break-word; 
    overflow-wrap: break-word;
}
.card-service-custom .card__list .card__list_item .list_text {
    font-size: 0.9rem;
    color: var(--text-light);
    /* CRITICAL FIX for overflow: Ensure long words break inside list items */
    word-break: break-word; 
    overflow-wrap: break-word;
    /* Ensure no flex property pushes text off-screen */
    min-width: 0; 
}
/* --- END FIX: ENHANCED SERVICE CARD WRAPPING --- */


/* --- NEW COMPACT SERVICE CARD STYLE (index.html) --- */

/* --- NEW COMPACT SERVICE CARD STYLE (index.html) --- */

.service-card {
    /* Use the darker background for better contrast */
    background-color: var(--bg-dark, #121212) !important; 
    
    /* Permanent Border and GLOW (Taken from the strong hover state) */
    border: 1px solid #00bcd4 !important; /* Use solid primary color border always */
    box-shadow: 0 0 15px rgba(0, 188, 212, 0.4), /* Permanent softer blue glow */
                0px 4px 10px 0px rgba(0, 0, 0, 0.5) !important; /* Keep the subtle base shadow */

    border-radius: 1rem !important;
    transition: all 0.3s ease-in-out;
    text-align: center;
    height: 100%; 
    text-decoration: none !important;
}

.service-card:hover {
    /* Keep a subtle interactive change */
    transform: translateY(-3px); 
    /* Make the glow slightly brighter on hover for feedback */
    box-shadow: 0 0 25px rgba(0, 188, 212, 0.7),
                0px 4px 10px 0px rgba(0, 0, 0, 0.5) !important;
    /* Border is already the primary color, no need to reset */
}

/* FIX: Ensure icons maintain their color */
.service-card .text-primary {
    color: #ffffff !important;
}

/* --- NEW CUSTOM SERVICE CARD STYLES (services.html) --- */

/* Defining our variables for the custom card structure */
.card-service-custom {
    --bg-dark: #121212;
    --bg-darker: #0d0d0d;
    --text-light: #f0f0f0;
    --line-color: #333;
    --primary-color: #00bcd4; /* Aquatic Cyan */
    --accent-green: #2ecc71; /* Green for checks/success */
    
    /* Using these variables in the card definition */
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.5rem; /* Increased gap for visual space */

    padding: 2rem;
    width: 100%;
    background-color: var(--bg-dark);
    
    /* Custom background gradients using our theme colors */
    background-image: radial-gradient(
        at 88% 40%,
        var(--bg-dark) 0px,
        transparent 85%
        ),
        radial-gradient(at 49% 30%, var(--bg-dark) 0px, transparent 85%),
        radial-gradient(at 14% 26%, var(--bg-dark) 0px, transparent 85%),
        radial-gradient(at 0% 64%, var(--primary-color) 0px, transparent 85%), /* Cyan glow */
        radial-gradient(at 41% 94%, var(--accent-green) 0px, transparent 85%), /* Green glow */
        radial-gradient(at 100% 99%, var(--primary-color) 0px, transparent 85%); /* Cyan glow */

    border-radius: 1rem;
    /* Adjusted shadow: lighter inner highlight, subtle outer shadow */
    box-shadow: 0px -4px 10px 0px rgba(255, 255, 255, 0.1) inset,
                0px 8px 15px 0px rgba(0, 0, 0, 0.5);
    
    transition: transform 0.3s, box-shadow 0.3s;
    margin-bottom: 30px;
}

.card-service-custom:hover {
    transform: translateY(-5px);
    box-shadow: 0px -4px 10px 0px rgba(255, 255, 255, 0.2) inset,
                0px 15px 25px 0px rgba(0, 188, 212, 0.3);
}

.card-service-custom .card__border {
    overflow: hidden;
    pointer-events: none;

    position: absolute;
    z-index: 1; /* Below content but above background layers */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: calc(100% + 2px);
    height: calc(100% + 2px);
    background-image: linear-gradient(
        0deg,
        var(--line-color) 0%,
        var(--primary-color) 100%
    );

    border-radius: 1rem;
}

/* Pulsing Border Effect - Modified to use our colors */
.card-service-custom .card__border::before {
    content: "";
    pointer-events: none;

    position: absolute;
    z-index: 2; 
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(0deg);
    transform-origin: left;

    width: 200%;
    height: 10rem;
    background-image: linear-gradient(
        0deg,
        hsla(0, 0%, 100%, 0) 0%,
        var(--primary-color) 40%,
        var(--accent-green) 60%,
        hsla(0, 0%, 40%, 0) 100%
    );

    animation: rotate 8s linear infinite;
    opacity: 0.5;
}

@keyframes rotate {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.card-service-custom .card_title__container .card_title {
    font-size: 1.5rem; /* Increased size */
    color: var(--text-light); /* Kept white/light */
    font-weight: 700;
}

/* FIX 2: Change paragraph text color to pure white */
.card-service-custom .card_title__container .card_paragraph {
    margin-top: 0.25rem;
    width: 100%; /* Use full width for description */
    font-size: 0.8rem;
    color: var(--text-light) !important; /* Set text to white */
}

.card-service-custom .line {
    width: 100%;
    height: 1px;
    background-color: var(--line-color);
    border: none;
    margin: 0;
}

.card-service-custom .card__list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-left: 0;
    list-style: none;
    margin-bottom: 1.5rem;
    position: relative; /* Ensure list items respect z-index */
    z-index: 10;
}

.card-service-custom .card__list .card__list_item {
    display: flex;
    align-items: flex-start; /* CRITICAL: Align to top of line for wrapping text */
    gap: 0.5rem;
}

.card-service-custom .card__list .card__list_item .check {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;

    width: 1.25rem;
    height: 1.25rem;
    background-color: var(--accent-green); /* Green Checkmark Background */

    border-radius: 50%;
    margin-top: 0.1rem; /* Adjust alignment to match text baseline slightly */
}

.card-service-custom .card__list .card__list_item .check .check_svg {
    width: 1rem;
    height: 1rem;
    fill: var(--bg-darker); /* Darker Fill */
    color: var(--bg-darker);
}

.card-service-custom .card__list .card__list_item .list_text {
    font-size: 0.9rem;
    color: var(--text-light);
}

.card-service-custom .button {
    cursor: pointer;
    text-decoration: none; /* Crucial for anchor tag */

    padding: 0.75rem;
    width: 100%;
    background-image: linear-gradient(
        0deg,
        #2ecc71 0%, /* Green starting point */
        #00bcd4 100% /* Cyan ending point */
    );
    
    font-size: 0.9rem;
    color: #000; /* Black text on bright button (Correct as requested) */
    font-weight: 700;

    border: 0;
    border-radius: 9999px;
    box-shadow: inset 0 -2px 10px 0px rgba(255, 255, 255, 0.5); /* White inner shadow */
    transition: all 0.3s;
    position: relative;
    z-index: 10;

    /* FIX 3: Centering text and preventing wrap for mobile usability */
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap; /* Prevents text from breaking onto multiple lines */
}

.card-service-custom .button:hover {
    box-shadow: inset 0 -2px 10px 0px rgba(255, 255, 255, 0.7),
                0 0 15px rgba(0, 188, 212, 0.5); /* Outer cyan glow */
}

/* --- CUSTOM GLOW BUTTON FOR GALLERY LINK (REMAINS) --- */

.btn-custom-glow {
    /* Remove default underline for anchor tag */
    text-decoration: none !important; 
    
    /* Reset Bootstrap btn styles */
    --bs-btn-padding-x: 2.5rem;
    --bs-btn-padding-y: 1rem;
    --bs-btn-font-size: 1.25rem;
    --bs-btn-line-height: 1;
    --bs-btn-border-radius: 999px; /* This is the standard rounded-pill */
    
    /* Custom styles */
    width: 17em; /* Increased width to accommodate the text */
    position: relative;
    height: 3.5em;
    border: 3px ridge #149CEA;
    outline: none;
    background-color: transparent;
    color: white;
    transition: 1s;
    border-radius: 0.3em;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    overflow: hidden; /* CRITICAL: Hides the ::before and ::after when outside the button area */
    display: inline-flex; /* To center text content */
    align-items: center;
    justify-content: center;
}

.btn-custom-glow::after {
    content: "";
    position: absolute;
    top: -10px;
    left: 3%;
    width: 95%;
    height: 40%;
    background-color: #000000; /* Use absolute black for background */
    transition: 0.5s;
    transform-origin: center;
    z-index: 1; /* Ensure it covers the inner content */
}

.btn-custom-glow::before {
    content: "";
    transform-origin: center;
    position: absolute;
    top: 80%;
    left: 3%;
    width: 95%;
    height: 40%;
    background-color: #000000; /* Use absolute black for background */
    transition: 0.5s;
    z-index: 1; /* Ensure it covers the inner content */
}

.btn-custom-glow:hover::before, .btn-custom-glow:hover::after {
    transform: scale(0);
}

.btn-custom-glow:hover {
    box-shadow: inset 0px 0px 25px #1479EA;
}

.btn-custom-glow > .fas {
    z-index: 2; /* Ensure the arrow icon is above the ::before/::after */
}

/* --- END CUSTOM GLOW BUTTON (REMAINS) --- */

/* ------------------------------------------- */
/* --- NEW CUSTOM SOCIAL ICON STYLES (INDEX) --- */
/* ------------------------------------------- */

/* Base container for all icons (Flexbox for centering) */
.d-flex.justify-content-center.gap-3.mt-4.flex-wrap {
    z-index: 1; /* Ensure icons are above any hero background overlay */
    position: relative;
}

.tooltip-container {
    position: relative;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 17px;
    border-radius: 10px;
}

.tooltip {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s;
    border-radius: 15px;
    background: #121212; /* Dark background for tooltip */
    box-shadow: inset 5px 5px 5px rgba(0, 0, 0, 0.2),
        inset -5px -5px 15px rgba(255, 255, 255, 0.05), /* Subtle inner white glow */
        0 5px 15px rgba(0, 0, 0, 0.5); /* Outer black shadow */
    width: 200px; /* Give it a fixed width */
    z-index: 999;
}

.profile {
    background: #1a1a1a; /* Match card background */
    border-radius: 10px;
    padding: 10px;
    border: 1px solid #333; /* Darker border */
}

.tooltip-container:hover .tooltip {
    top: -150px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* --- ICON BASE STYLES --- */
.icon {
    text-decoration: none;
    color: #fff;
    display: block;
    position: relative;
    width: 55px; /* Fixed width for the icon button area */
    height: 55px;
    z-index: 20; /* ADDED: Ensure the link is clickable over other elements */
}

.icon .layer {
    width: 55px;
    height: 55px;
    border: 3px solid; /* Color will be set by specific class */
    border-radius: 50%;
    transition: transform 0.3s, border 0.3s ease, box-shadow 0.3s ease;
}

.icon:hover .layer {
    transform: rotate(-35deg) skew(20deg);
}

.layer span {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    border: 1px solid; /* Color will be set by specific class */
    border-radius: 50%;
    transition: all 0.3s;
}

.icon .text {
    position: absolute;
    left: 50%;
    bottom: -5px;
    opacity: 0;
    font-weight: 500;
    transform: translateX(-50%);
    transition: bottom 0.3s ease, opacity 0.3s ease;
    white-space: nowrap;
}

.icon:hover .text {
    bottom: -35px;
    opacity: 1;
}

.icon:hover .layer span:nth-child(1) { opacity: 0.2; }
.icon:hover .layer span:nth-child(2) { opacity: 0.4; transform: translate(5px, -5px); }
.icon:hover .layer span:nth-child(3) { opacity: 0.6; transform: translate(10px, -10px); }
.icon:hover .layer span:nth-child(4) { opacity: 0.8; transform: translate(15px, -15px); }
.icon:hover .layer span:nth-child(5) { opacity: 1; transform: translate(20px, -20px); }

/* SVG/Icon Wrapper for Centering Font Awesome */
.social-icon-svg {
    font-size: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    width: 100%;
    height: 100%;
    position: absolute; /* Place over the layer spans */
    z-index: 10;
}
.social-icon-svg i {
    color: #fff; /* White icon color */
}

/* --- WHATSAPP STYLES --- */
.whatsapp .layer { border-color: #25D366; box-shadow: 0 0 15px rgba(37, 211, 102, 0.7), 0 0 20px rgba(37, 211, 102, 0.5); }
.whatsapp .layer span { border-color: #25D366; }
.whatsapp:hover .layer span { box-shadow: -1px 1px 3px #25D366; }
.whatsapp .text { color: #25D366; border-color: #25D366; }
.whatsapp .social-icon-svg { background: linear-gradient(45deg, #25D366 0%, #128C7E 50%, #25D366 100%); }
.whatsapp .profile { background: #128C7E; border-color: #075E54; }
.whatsapp .name { color: #25D366; }
.whatsapp .img { border-color: #25D366; }

/* --- INSTAGRAM STYLES (UPDATED COLORS) --- */
.instagram .layer { border-color: #C13584; box-shadow: 0 0 15px rgba(193, 53, 132, 0.7), 0 0 20px rgba(193, 53, 132, 0.5); }
.instagram .layer span { border-color: #C13584; }
.instagram:hover .layer span { box-shadow: -1px 1px 3px #C13584; }
.instagram .text { color: #C13584; border-color: #C13584; }
.instagram .social-icon-svg { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #ffc530 45%, #fc6196 60%, #fd1d1d 90%); } 
.instagram .profile { background: #833AB4; border-color: #405DE6; } /* Dark Purple Background */
.instagram .name { color: #C13584; }
.instagram .img { border-color: #C13584; }


/* --- FACEBOOK STYLES (UNCHANGED) --- */
.facebook .layer { border-color: #1877f2; box-shadow: 0 0 15px rgba(24, 119, 242, 0.7), 0 0 20px rgba(24, 119, 242, 0.5); }
.facebook .layer span { border-color: #1877f2; }
.facebook:hover .layer span { box-shadow: -1px 1px 3px #1877f2; }
.facebook .text { color: #1877f2; border-color: #1877f2; }
.facebook .social-icon-svg { background: linear-gradient(45deg, #1877f2 0%, #3b5998 50%, #1877f2 100%); }
.facebook .profile { background: #3b5998; border-color: #29487d; }
.facebook .name { color: #1877f2; }
.facebook .img { border-color: #1877f2; }


/* --- TOOLTIP PROFILE DETAILS (SHARED) --- */
.user { display: flex; gap: 10px; }
.img {
    width: 50px; height: 50px; font-size: 25px; font-weight: 700;
    border: 1px solid; /* Color set by specific class */
    border-radius: 10px; display: flex; align-items: center; justify-content: center;
    background: #fff;
    color: #000; /* Black text on white background for initial */
}
.details { display: flex; flex-direction: column; gap: 0; color: #fff; }
.about { color: #ccc; padding-top: 5px; font-size: 15px; }

/* ADDED FOLLOW BUTTON STYLES */
.follow-btn {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 10px;
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.2s;
    font-size: 14px;
}
.whatsapp .follow-btn { background: #25D366; color: #000; }
.whatsapp .follow-btn:hover { background: #128C7E; color: #fff; }

.instagram .follow-btn { background: #C13584; color: #fff; }
.instagram .follow-btn:hover { background: #E1306C; }

.facebook .follow-btn { background: #1877f2; color: #fff; }
.facebook .follow-btn:hover { background: #3b5998; }

/* ------------------------------------------- */
/* --- END NEW CUSTOM SOCIAL ICON STYLES --- */
/* ------------------------------------------- */

/* --- MOBILE BOTTOM NAV BAR (Liquid Glass) --- */
/* FIX: Refined styling for a cleaner look */

.nav-bottom-custom {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1040;
    /* Liquid Glass Effect */
    background-color: rgba(18, 18, 18, 0.9) !important; /* Slightly darker and opaque */
    backdrop-filter: blur(12px); /* Increased blur */
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid #333;
    padding: 0.5rem 0; 
    box-shadow: 0 -2px 15px rgba(0, 188, 212, 0.4); /* Stronger glow from below */
    transition: background-color 0.3s;
}

.nav-bottom-custom .nav-link {
    color: #fff !important; /* Default to white for all links */
    transition: color 0.2s;
    font-size: 0.9rem;
    /* Custom centering for 5 links */
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.4rem 0.2rem;
}
.nav-bottom-custom .nav-link i {
    font-size: 1.2rem; 
    margin-bottom: 0.1rem !important;
}
/* Active link remains primary color */
.nav-bottom-custom .nav-link:hover, .nav-bottom-custom .active-bottom-nav {
    color: #00bcd4 !important; 
}

/* --- PRODUCT DETAIL FLOATING NAV (NEW STYLES) --- */

/* Ensure the fixed navbar container is transparent/invisible */
.nav-bottom-custom-pd {
    background: none !important; /* Make the fixed navbar background transparent */
    border-top: none !important;
    box-shadow: none !important;
    padding: 0 !important; /* Remove internal padding */
    /* Ensure the content is centered within the viewport */
    display: flex;
    justify-content: center;
    
    /* FIX: Reduce height/padding to match regular navbar height (~50px) */
    height: 70px; /* Reduced height, allowing 10px top/bottom padding + 50px inner element height */
}

/* Floating container styling (the actual pill/chip) */
.product-nav-floating-container {
    /* Main container styling for floating effect */
    background-color: rgba(18, 18, 18, 0.95); /* Semi-transparent dark background */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    
    /* FIX: Reduced border radius and padding for a thinner look */
    border-radius: 50px; 
    padding: 8px 15px; /* Reduced padding (around buttons) */
    
    margin: 10px; /* Margin to keep it away from screen edges (floating) */
    
    /* Center the container horizontally, limit its size */
    max-width: 95%; /* Constrain width */
    width: 450px; /* Max sensible width for two buttons */
    
    /* Use flexbox to align buttons */
    display: flex; 
    gap: 10px; /* Space between buttons */
    /* Ensure it floats slightly above the bottom of the viewport */
    position: relative; 
    
    /* FIX: Ensure the inner buttons are vertically centered within the container's reduced height */
    align-items: center; 
}

/* Ensure buttons inside the floating container are rounded and fill space */
.product-nav-floating-container .btn {
    border-radius: 999px !important; /* Force pill shape on buttons */
    /* FIX: Reduced padding and font size for a thinner bar */
    padding: 0.6rem 1rem !important; 
    font-size: 1rem;
    font-weight: bold;
    line-height: 1.2; /* Ensures text stays centered */
}

/* --- QUANTITY SELECTOR FIX (UGLY ISSUE) --- */

/* 1. Define the quantity selector group (removes the default ugly vertical layout) */
.quantity-selector-group {
    /* Use a fixed, reasonable width for consistency */
    width: 120px !important; 
    max-width: 120px !important; 
    /* Ensure the buttons and input are aligned horizontally as a standard Bootstrap input group */
    display: flex; 
    flex-wrap: nowrap; /* Prevents wrapping on mobile */
    align-items: stretch;
}

/* 2. Style the +/- buttons to be standard height and aligned with the input */
.quantity-selector-group .btn-qty-change {
    /* Make buttons square and reduce padding */
    width: 30px; 
    padding: 0.375rem 0.5rem; /* Match small form-control height */
    line-height: 1.5;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Fix: Remove Bootstrap's default rounded corners here to make it part of the group shape */
    border-radius: 0 !important; 
}

/* 3. Re-apply rounded corners only to the outer buttons */
.quantity-selector-group .btn-qty-change:first-child {
    border-top-left-radius: 0.375rem !important; 
    border-bottom-left-radius: 0.375rem !important; 
}
.quantity-selector-group .btn-qty-change:last-child {
    border-top-right-radius: 0.375rem !important; 
    border-bottom-right-radius: 0.375rem !important; 
}

/* 4. Style the central input field */
.quantity-selector-group .form-control {
    text-align: center;
    /* Ensure no rounding inside the group */
    border-radius: 0 !important; 
    /* Remove default up/down arrows from input type="number" */
    -webkit-appearance: none;
    -moz-appearance: textfield;
    appearance: none;
    padding: 0.375rem 0.25rem;
}

/* --- PRODUCT VARIANT CHIPS (Choice Chips) --- */
.variant-option {
    /* Use Bootstrap-like button/pill styling */
    display: inline-block;
    padding: 0.5rem 1rem;
    margin-right: 8px; /* Horizontal separation */
    margin-bottom: 8px;
    
    /* Dark theme styling */
    background-color: #121212;
    border: 2px solid #333;
    color: #ccc;
    font-weight: 600;
    font-size: 0.9rem;
    
    border-radius: 999px; /* Pill shape */
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    
    user-select: none;
}

.variant-option:hover {
    border-color: #00bcd4; /* Primary hover color */
    color: #fff;
}

/* Active/Selected State (Matches the primary accent color) */
.variant-option.selected {
    background-color: #00bcd4; /* Primary color fill */
    border-color: #00bcd4; 
    color: #000 !important; /* Black text on primary color for visibility */
    box-shadow: 0 0 10px rgba(0, 188, 212, 0.5);
    font-weight: bold;
}

/* 5. FIX for Overflow Issue on Mobile (Targeting elements that push content out) */
/* The main fix is in the body's overflow-x: hidden; and this ensures child elements don't exceed container width. */
.container, .container-fluid {
    /* Critical: Ensure padding doesn't create overflow */
    max-width: 100%;
}
@media (max-width: 575.98px) {
    /* Ensure image wrappers don't overflow due to absolute positioning margins/resets */
    .product-card-img-top, .category-img-wrapper, .media-wrapper {
        margin: 0 !important;
        max-width: 100%;
    }
}
/* Ensure product name wraps */
.col-lg-6 h1, .col-lg-6 h3 {
    word-break: break-word; 
}
/* Ensure product media scales down */
.product-media-gallery #mainMediaArea img {
    max-width: 100%;
    height: auto;
}

/* --- PRODUCT DETAIL PAGE MEDIA FIXES (NEW) --- */
.product-media-gallery #mainMediaArea {
    /* Create a 4:3 aspect ratio container for the main media area */
    position: relative;
    width: 100%;
    padding-top: 75%; /* 4:3 Aspect Ratio */
    overflow: hidden; /* Crucial to contain the image */
    background-color: #1a1a1a;
    border-radius: 8px;
}
.product-media-gallery #mainMediaArea img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain; /* Use contain so the full image is visible, not cover */
}
/* Thumbnail Overflow Fix */
#mediaThumbnails {
    max-width: 100%; /* Ensure the thumbnail strip respects its parent width */
}

/* Video Preview Fix */
.video-responsive-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    overflow: hidden;
    cursor: pointer;
    background-color: #121212; /* Dark background */
    border-radius: 8px;
}

.video-overlay-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

.video-media-fill {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    position: absolute; 
}

.video-icon-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}
/* --- END PRODUCT DETAIL PAGE MEDIA FIXES --- */

/* --- NEW STYLES FOR REVIEWS SECTION (index.html) --- */

/* Target the review cards specifically for the permanent glow effect */
#reviews .col-md-4 > div {
    /* Override existing inline classes/styles */
    background-color: #121212 !important; /* Use slightly darker base for card */
    border: 1px solid #00bcd4 !important; /* Permanent primary color border */
    border-radius: 10px !important;
    padding: 1.5rem !important;
    
    /* Permanent Glowing Shadow */
    box-shadow: 0 0 15px rgba(0, 188, 212, 0.4), 
                0 4px 10px rgba(0, 0, 0, 0.5) !important; 
                
    /* Ensure opacity is 1 for full color/text visibility */
    opacity: 1 !important; 
    transition: transform 0.3s, box-shadow 0.3s;
}

/* Set review font to bright white and ensure italic style */
#reviews .col-md-4 > div p.text-white.fst-italic {
    color: #ffffff !important; 
    font-weight: 500; /* Medium weight for readability */
    font-style: italic !important;
}

/* Add a slight hover effect for interactivity */
#reviews .col-md-4 > div:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 25px rgba(0, 188, 212, 0.7),
                0 4px 10px rgba(0, 0, 0, 0.5) !important;
}
/* --- END NEW STYLES FOR REVIEWS SECTION --- */


/* --- PRODUCT DETAIL PAGE MEDIA FIXES (NEW) --- */
.product-media-gallery #mainMediaArea {
    /* Create a 4:3 aspect ratio container for the main media area */
    position: relative;
    width: 100%;
    padding-top: 75%; /* 4:3 Aspect Ratio */
    overflow: hidden; /* Crucial to contain the image */
    background-color: #1a1a1a;
    border-radius: 8px;
}
.product-media-gallery #mainMediaArea img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain; /* Use contain so the full image is visible, not cover */
}

/* 5. ADDED STYLES for Image Zoom Functionality */
.product-media-gallery #mainMediaArea .image-zoom-trigger {
    position: relative;
    width: 100%;
    height: 100%;
    cursor: zoom-in;
    transition: opacity 0.3s;
    /* This element now acts as the content fill */
    position: absolute; 
    top: 0;
    left: 0;
}

.product-media-gallery #mainMediaArea .image-zoom-trigger:hover .zoom-icon-overlay {
    opacity: 1;
}

.zoom-icon-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none; /* Allows click-through to the parent */
    border-radius: 8px;
    z-index: 5;
}

.zoom-icon-overlay i {
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}
/* --- END PRODUCT DETAIL PAGE MEDIA FIXES --- */


/* REMOVE UNDERLINES FROM ENTIRE PROJECT */
* {
    text-decoration: none !important;
}

/* Specifically remove underlines from all text elements */
body, p, h1, h2, h3, h4, h5, h6, span, div, li, ul, ol, blockquote, cite, figcaption, caption {
    text-decoration: none !important;
}

/* Remove underlines from links but keep pointer cursor */
a {
    text-decoration: none !important;
}

a:hover, a:focus, a:active {
    text-decoration: none !important;
}

canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;               /* keep it behind the content */
  pointer-events: none;      /* allow clicking & scrolling */
}

/* =============================
   INSTAGRAM CLEAN SECTION STYLE
   ============================= */
/* ===== Instagram Clean Section - Match Review Card Border ===== */
.insta-clean-section {
  max-width: 850px;
  margin: 60px auto;
  padding: 40px 25px;
  text-align: center;
  background-color: rgba(20, 20, 20, 0.8);
  border: 1px solid #00bcd4; /* Same cyan as review cards */
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 188, 212, 0.4),
              0 4px 10px rgba(0, 0, 0, 0.5);
  color: #d9f7ff;
  transition: all 0.3s ease;
}

.insta-clean-section:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 25px rgba(0, 188, 212, 0.7),
              0 4px 10px rgba(0, 0, 0, 0.5);
}

.insta-clean-section h2 {
  color: #00d5ff;
  font-size: 1.8rem;
  margin-bottom: 10px;
  text-shadow: 0 0 8px rgba(0, 188, 212, 0.4);
}

.insta-clean-section p {
  color: #a5e4ee;
  margin-bottom: 30px;
  font-size: 1rem;
}

/* Inner Instagram Feed Frame */
.insta-feed-frame {
  border: 1px solid rgba(0, 188, 212, 0.5);
  border-radius: 10px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 0 20px rgba(0,188,212,0.1);
}

/* Auto-adjust height to remove white gap */
.insta-feed-frame iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1; /* keeps it proportional */
  border: none;
  display: block;
  min-height: 300px;
}

@media (min-width: 768px) {
  .insta-feed-frame iframe {
    min-height: 420px;
    max-height: 520px;
  }
}

.insta-fallback {
  padding: 16px;
  color: #bde6ed;
  font-size: 14px;
}

.insta-fallback a {
  color: #00bcd4;
  text-decoration: none;
  font-weight: 600;
}

.follow-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 25px;
  padding: 12px 28px;
  font-size: 1rem;
  font-weight: 600;
  background: linear-gradient(135deg, #00bcd4, #007c9e);
  color: #fff;
  border-radius: 30px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,188,212,0.25);
  transition: all 0.3s ease;
}

.follow-btn img {
  width: 22px;
  height: 22px;
}

.follow-btn:hover {
  background: linear-gradient(135deg, #00e5ff, #0099b3);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,188,212,0.35);
}

.wave-divider {
  width: 80%;
  height: 2px;
  margin: 50px auto;
  background: #00e5ff;
  box-shadow: 0 0 15px #00e5ff, 0 0 30px #00e5ff;
  border-radius: 10px;
  opacity: 0.9;
}

/* =======================================
   SCROLL ANIMATION STYLES (FADE UP)
   ======================================= */

/* Base class for all scroll-animated elements */
.scroll-fade {
    opacity: 0;
    transition: opacity 1s ease-out, transform 1s ease-out;
    will-change: opacity, transform;
}

/* Initial state (hidden and slightly down) */
.fade-up-init {
    transform: translateY(30px);
}

/* Active state (visible and in final position) */
.fade-up-active {
    opacity: 1;
    transform: translateY(0);
}

/* --- HERO SECTION --- */

.hero-section {
    min-height: 60vh;
    /* CHANGE 1: Reduce default padding to 80px 0 (was 100px 0) */
    padding: 80px 0; 
    position: relative;
    background-size: cover;
    background-position: center;
    border-radius: 10px; 
    overflow: hidden;
}

/* Add a media query to reduce padding even further on phones */
@media (max-width: 576px) {
    .hero-section {
        /* CHANGE 2: Reduce top padding to 50px on extra small screens */
        padding-top: 50px; 
        /* Keep bottom padding around 80px to prevent the content from getting too close to the services section */
        padding-bottom: 80px; 
        min-height: 50vh; /* Optional: Slightly reduce min-height */
    }
}

/* --- YOUTUBE STYLES (NEW) --- */
.youtube .layer { border-color: #FF0000; box-shadow: 0 0 15px rgba(255, 0, 0, 0.7), 0 0 20px rgba(255, 0, 0, 0.5); }
.youtube .layer span { border-color: #FF0000; }
.youtube:hover .layer span { box-shadow: -1px 1px 3px #FF0000; }
.youtube .text { color: #FF0000; border-color: #FF0000; }
.youtube .social-icon-svg { background: linear-gradient(45deg, #FF0000 0%, #C4302B 50%, #FF0000 100%); }
.youtube .profile { background: #C4302B; border-color: #FF0000; }
.youtube .name { color: #FF0000; }
.youtube .img { border-color: #FF0000; }
.youtube .follow-btn { background: #FF0000; color: #fff; }
.youtube .follow-btn:hover { background: #C4302B; color: #fff; }

/* V2/assets/css/style.css - Appending new styles */

/* ... (Existing styles remain above) ... */

/* --- NEW STYLE FOR OFFCANVAS LOGO RING --- */

/* V2/assets/css/style.css - Updated styles for the offcanvas logo ring */

/* ... (Styles before the NEW STYLE FOR OFFCANVAS LOGO RING section) ... */

/* --- NEW STYLE FOR OFFCANVAS LOGO RING --- */

.offcanvas-header .offcanvas-title {
    /* Ensure the title container is flexible and centered */
    width: 100%;
    display: flex;
    justify-content: center; /* Center the logo horizontally */
    align-items: center;
}

.offcanvas-logo-wrapper {
    /* Base Container for the Ring Effect */
    display: inline-flex;
    justify-content: center;
    align-items: center;
    /* --- FIX 1: APPLY NEW SIZE --- */
    width: 150px; 
    height: 150px;
    border-radius: 50%;
    
    /* Blue Border & Glow Effect */
    border: 3px solid #00bcd4; /* Slightly thicker border looks better for larger size */
    box-shadow: 0 0 15px rgba(0, 188, 212, 0.7), /* Strong inner glow */
                0 0 30px rgba(0, 188, 212, 0.5); /* Outer glow */
    
    /* Black background to ensure the logo stands out */
    background-color: #000000; 
    overflow: hidden;
}

.offcanvas-logo-wrapper img {
    /* --- FIX 2: Reduce image size inside the wrapper for padding (prevent sticking) --- */
    height: 80%; 
    width: auto;
    object-fit: contain;
}
/* --- END NEW STYLE FOR OFFCANVAS LOGO RING --- */

/* ... (Rest of the CSS file remains unchanged) ... */

/* --- RESPONSIVE PADDING ADJUSTMENTS --- */

@media (max-width: 991.98px) {
    /* FIX: Adjust main content padding on mobile to clear fixed header (70px) AND marquee (~30px) AND search bar (~50px) */
    main {
        padding-top: 150px !important; /* Increased from 110px to 150px (70+30+50) */
    }
    .marquee-strip {
        top: 70px; 
    }
}
@media (min-width: 992px) {
    /* Adjust main content padding on desktop */
    main {
        padding-top: 110px !important; /* Keep desktop padding the same (Header + Marquee) */
    }
}

/* V2/assets/css/style.css: Add the following styles for the mobile search button */

/* Style for Search Toggle to visually mimic the navbar-toggler */
#searchToggleMobile {
    /* Base style for the box */
    background-color: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 0.25rem !important; /* Matches Bootstrap default rounding */
    padding: 0.375rem 0.75rem !important; /* Standard button padding */
    line-height: 1.5 !important;
    transition: all 0.2s;
}

/* Ensure the icon itself is white and centered */
#searchToggleMobile i {
    color: #fff !important;
    font-size: 1.25rem;
    opacity: 0.5;
}

/* Fix: Remove Bootstrap primary button default focus/hover styles */
#searchToggleMobile:hover {
    background-color: rgba(255, 255, 255, 0.05) !important;
    opacity: 1;
}

#searchToggleMobile:focus, 
#searchToggleMobile:active {
    box-shadow: none !important;
    background-color: transparent !important;
    opacity: 1;
}

/* V2/assets/css/style.css: Append or modify the following styles */

/* Ensure search bar width when collapsed on desktop */
.navbar-expand-lg .collapse.d-lg-inline {
    width: auto; /* Allow auto width for collapse transition */
    margin-right: 0.75rem; /* Space before Admin button */
}

/* Style for Desktop Search Toggle to visually mimic navbar-toggler */
#searchToggleDesktop {
    /* Apply mobile button styles */
    background-color: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 0.25rem !important; 
    padding: 0.375rem 0.75rem !important; 
    line-height: 1.5 !important;
    
    /* Ensure no blue button color */
    color: #fff !important;
    
    /* Add specific margin to position correctly */
    margin-right: 0.5rem; 
}
#searchToggleDesktop i {
    color: #fff !important; 
    font-size: 1.25rem;
    opacity: 0.5;
}

/* Ensure the desktop collapse works smoothly */
.collapse:not(.show) {
    display: none !important;
}

/* Fix desktop search bar visibility when toggled */
@media (min-width: 992px) {
    #searchCollapseDesktop:not(.show) {
        display: none;
    }
}

/* Custom Styles for Reef & Currents Dark Theme */

/* Setting body to absolute black and applying a preferred font */
/* Setting body to absolute black and applying a preferred font */
body {
    background-color: #000000 !important; /* Absolute Black Background */
/* ... (lines 9-20 unchanged) ... */
}

/* Primary Color Definition - Aquatic Blue/Cyan for accents */
/* ... (lines 23-40 unchanged) ... */

/* Secondary Color Definition - Darker grey for cards/sections */
/* ... (lines 43-46 unchanged) ... */


/* --- HEADER AND NAVIGATION --- */

/* Thicker Header Style */
/* ... (lines 51-78 unchanged) ... */


/* --- MOBILE OFF-CANVAS DRAWER --- */

/* Ensures the drawer itself is dark */
/* ... (lines 83-100 unchanged) ... */


/* --- MOVING MARQUEE STRIP --- */

/* ... (lines 105-123 unchanged) ... */

/* --- RESPONSIVE PADDING ADJUSTMENTS --- */

@media (max-width: 991.98px) {
    /* FIX: Adjust main content padding on mobile to clear fixed header (70px) AND marquee (~30px) AND search bar (~50px) */
    main {
        padding-top: 150px !important; /* Increased from 110px to 150px (70+30+50) */
    }
    .marquee-strip {
        top: 70px; 
    }
}
@media (min-width: 992px) {
    /* Adjust main content padding on desktop */
    main {
        padding-top: 110px !important; 
    }
    /* NEW FIX: Increase top padding when the desktop search collapse is open (approx 60px high) */
    .search-open-padding-fix main {
        padding-top: 170px !important; /* 110px (default) + 60px (collapse height) = 170px */
    }
}


@media (max-width: 991.98px) {
    /* FIX: Adjust main content padding on mobile to clear fixed header (70px) AND marquee (~30px) AND search bar (~50px) */
    main {
        padding-top: 150px !important; /* Increased from 110px to 150px (70+30+50) */
    }
    .marquee-strip {
        top: 70px; 
    }
}
@media (min-width: 992px) {
    /* Adjust main content padding on desktop */
    main {
        padding-top: 110px !important; /* Keep desktop padding the same (Header + Marquee) */
    }
    /* NEW FIX: Increase top padding when the desktop search collapse is open (approx 60px high) */
    .search-open-padding-fix main {
        padding-top: 170px !important; /* 110px (default) + 60px (collapse height) = 170px */
    }
}


.scroll-to-top-btn {
    /* Position the button */
    position: fixed;
    /* Above the mobile nav (~60px) + some space (100px) */
    bottom: 100px; 
    right: 20px;
    z-index: 1000;
    
    /* Styling */
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: #000000; /* Black */
    border: 2px solid #00e5ff; /* Wave divider color */
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.5); /* Glow matching wave divider */
    
    /* Icon styling */
    color: #00e5ff; /* Icon color matching wave divider */
    font-size: 1.2rem;
    padding: 0;
    line-height: 1;
    transition: opacity 0.3s, transform 0.3s;
    /* Needed for the inline display: flex from JS to center the icon */
    align-items: center;
    justify-content: center;
}

.scroll-to-top-btn:hover {
    background-color: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.8);
}

/* Adjust position for desktop (no bottom mobile nav) */
@media (min-width: 992px) {
    .scroll-to-top-btn {
        bottom: 20px; /* Place lower when mobile nav is hidden */
    }
}

/* --- NEW CART BADGE STYLES --- */
/* Ensure the parent link is relative for absolute positioning of the badge */
.nav-link-custom.cart-link {
    position: relative;
    /* REDUCE PADDING: Ensure the badge has space without breaking layout */
    padding-right: 25px !important; 
}
.nav-bottom-custom .nav-link.cart-link {
    position: relative;
}

.cart-badge {
    position: absolute;
    top: 0;
    right: 0;
    
    /* FIX: Adjust horizontal position slightly left (-50%) and reduce translation 
       to prevent it from overflowing the fixed padding-right space when 
       min-width/padding expands the badge for 2+ digits. */
    right: -2px; /* Pull it slightly left from the absolute position */
    transform: translate(0, -25%); 
    
    background-color: #ff3333; /* Red color */
    color: white;
    border-radius: 50%;
    /* Keep padding loose for better look with 2 digits */
    padding: 2px 5px; 
    font-size: 0.7rem;
    font-weight: bold;
    min-width: 18px; /* Slightly reduced min-width */
    height: 18px; /* Slightly reduced height */
    line-height: 14px; /* Adjusted line-height to center text */
    text-align: center;
    box-shadow: 0 0 5px rgba(255, 51, 51, 0.5);
    z-index: 1050; /* Above the header */
    display: none; /* Hidden by default when count is 0 */
    white-space: nowrap; /* Prevent wrap */
}

/* Specific position adjustments for mobile bottom nav (Icon only view) */
.nav-bottom-custom .nav-link.cart-link .cart-badge {
    top: 2px;
    right: 100%;
    /* Horizontal offset moved slightly right to center above icon */
    transform: translate(240%, -50%); 
}

/* V2/assets/css/style.css: Find and modify this section near the end of the file */

/* Specific position adjustments for mobile offcanvas nav */
.offcanvas-body .nav-link.cart-link {
    /* 1. Ensure position context is set relative to the list item/link */
    position: relative;
    /* 2. IMPORTANT: Increase padding-right to make space for the badge */
    padding-right: 40px !important; 
}
.offcanvas-body .nav-link.cart-link .cart-badge {
    /* 3. Set top alignment relative to the link's padding */
    top: 50%;
    /* 4. Anchor the badge's position to the RIGHT edge of the link (not the icon/text) */
    right: 15px; 
    /* 5. Center vertically and slightly push up */
    transform: translateY(-60%); 
    /* 6. Ensure it displays for positioning calculation */
    display: block; 
}



/* Styles for the thumbnail container within the Add-on row */
.addon-image-preview-item {
    position: relative;
    width: 40px; 
    height: 40px;
    border: 1px solid #555;
    border-radius: 4px;
    overflow: hidden;
    /* Uses inline-flex to perfectly center the fallback camera icon */
    display: inline-flex; 
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    flex-shrink: 0;
    background-color: #1a1a1a; /* Dark background for visibility */
}

/* Ensure the image fills the small preview area */
.addon-image-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Style the fallback icon size */
.addon-image-preview-item i {
    font-size: 1.2rem;
}

/* --- NEW: ADD-ON STYLES (Product Detail Page) --- */
#addonSelectionArea {
    background-color: #121212;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem; /* Ensure spacing from quantity selector */
}

.addon-option-item {
    display: flex; /* Use flex for better alignment */
    align-items: center;
    padding: 0.75rem 0.5rem;
    border-bottom: 1px solid #2a2a2a;
}
.addon-option-item:last-child {
    border-bottom: none;
    padding-bottom: 0.25rem; /* Reduce padding for last item */
}

/* Style the checkbox */
.addon-option-item .form-check-input {
    border-color: #555;
    margin-top: 0; /* Align with label */
}
.addon-option-item .form-check-input:checked {
    background-color: #00bcd4;
    border-color: #00bcd4;
}

/* Style the label */
.addon-option-item .form-check-label {
    font-weight: 600;
    color: #eee;
    margin-left: 0.5rem; /* Space from checkbox */
    flex-grow: 1; /* Allow label to take available space */
}

/* Style the addon thumbnail */
.addon-thumb-preview {
    width: 35px;
    height: 35px;
    object-fit: cover;
    border-radius: 4px;
    margin-left: 10px;
    border: 1px solid #444;
    flex-shrink: 0; /* Prevent image from shrinking */
}


canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;               /* keep it behind the content */
  pointer-events: none;      /* allow clicking & scrolling */
}

#deepOceanGlow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;               /* keep it behind the content */
  pointer-events: none;      /* allow clicking & scrolling */
}


.chart-container {
    position: relative;
    width: 100%;
    height: 350px;  /* ✅ Fix height */
}

#salesChart {
    width: 100% !important;
    height: 100% !important;
}

/* Fix for chart appearing behind card */
.sales-chart-card {
    position: relative;
    z-index: 10;
}

.chart-container {
    position: relative;
    height: 350px;
    background: #1a1a1a;
    border-radius: 8px;
    overflow: hidden;
    z-index: 1;
}

#salesChart {
    position: relative;
    z-index: 2;
}
