/* d:\cloth-label\style.css */
*, 
*::before,
*::after {
    box-sizing: border-box; /* Apply border-box to all elements */
}

:root {
    --primary-blue: #0056b3;
    --primary-blue-darker: #004085;
    --primary-blue-lighter: #007bff;
    --primary-blue-rgb: 0, 86, 179; /* Added for rgba usage */

    --text-heading: #212529;
    --text-body: #495057;
    --text-secondary: #6c757d; /* Renamed from --text-light for clarity */
    /* --text-light: #6c757d; */ /* Removed, use --text-secondary instead */
    --text-on-dark-primary: #FFFFFF;
    --text-on-dark-secondary: #f8f9fa; /* Or #e9ecef for slightly off-white */
    --text-footer-primary: #adb5bd;
    --text-footer-secondary: #868e96;

    --bg-light-neutral: #f8f9fa;
    --bg-white: #FFFFFF;
    --bg-dark-primary: #343a40; /* Renamed from --bg-dark-neutral */
    --bg-footer: #212529;
    --bg-placeholder: #dee2e6;

    --border-medium: #ced4da; /* Renamed from --border-color */
    --border-dark: #495057;

    --container-max-width: 1200px;
    --container-padding-x: 20px;
    --accent-gold: #ffc107; /* Standard Gold/Yellow Accent */

    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 12px;

    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 16px rgba(0,0,0,0.1);
    --product-card-max-width: 240px; /* Max width for product cards */
}

body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-light-neutral); /* Consistent body background */
    color: var(--text-body); /* Default text color */
    line-height: 1.6; /* Default line height */
}

/* Navigation Bar Styles */
.navbar1 {
    background-color: var(--bg-white);
    box-shadow: var(--shadow-md); /* Using defined shadow variable */
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background-color 0.3s ease, box-shadow 0.3s ease; /* Smooth transition for effects */
}

.navbar1 .nav-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding-x);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar1 .logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-heading);
    text-decoration: none;
}

.navbar1 .logo .blue-text {
    color: var(--primary-blue);
}

.navbar1 .nav-links a {
    color: var(--text-body);
    text-decoration: none;
    margin-left: 25px;
    font-weight: 600; /* Slightly bolder for better readability */
    transition: color 0.3s ease;
}

.navbar1 .nav-links a:hover,
.navbar1 .nav-links a.active { /* Style for active link */
    color: var(--primary-blue);
}

.home-banner {
    position: relative;
    width: 100%;
    height: 106vh; /* Increased default/mobile height */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-image: linear-gradient(135deg, var(--primary-blue-lighter), var(--primary-blue-darker)); /* Gradient for banner */
}

.home-banner::before { /* Dark overlay for better text contrast */
    content: "";
    position: absolute;
    inset: 0; /* Covers the entire parent */
    background: linear-gradient(to right, rgba(42, 50, 62, 0.88), rgba(37, 53, 77, 0.82), rgba(23, 28, 38, 0.95)); /* Dark slate grey to very dark desaturated blue to almost black */
    z-index: 1; /* Sits above the background image but below content */
}

.container { /* General container for banner content */
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: var(--container-padding-x); /* Default to horizontal, adjust if needed */
    display: flex;
    flex-direction: column; /* Stack text and image on mobile */
    align-items: center;
    justify-content: space-between; /* Or center, depending on desired mobile layout */
    gap: 40px; /* Space between text and image */
    z-index: 2; /* Ensures content is above the overlay */
    width: 100%; /* Take full width within padding */
}

@media (min-width: 768px) { /* Tablet and larger screens */
    .container {
        flex-direction: row; /* Side-by-side layout */
        padding: 40px var(--container-padding-x); /* More vertical padding */
        align-items: center; /* Vertically align items in the row */
    }
    .home-banner {
        height: 80vh; /* Taller banner on larger screens */
    }
}

.text-content {
    color: var(--text-on-dark-primary);
    text-align: center; /* Center text on mobile */
    flex: 1; /* Allows text content to take available space */
    min-width: 300px; /* Minimum width before wrapping */
}

@media (min-width: 768px) {
    .text-content {
        text-align: left; /* Align text to the left on larger screens */
    }
}

.text-content h1 {
    font-size: 2.5rem; /* Responsive font size */
    font-weight: bold;
    margin-bottom: 20px;
    letter-spacing: -0.02em; /* Subtle letter spacing for headings */
}

@media (min-width: 768px) {
    .text-content h1 {
        font-size: 3.5rem; /* Larger font size on desktop */
    }
}

.text-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--text-on-dark-secondary); /* Slightly softer white for paragraph */
    line-height: 1.7; /* Improved readability */
}

@media (min-width: 768px) {
    .text-content p {
        font-size: 1.2rem;
    }
}

.cta-button {
    background-image: linear-gradient(to bottom right, var(--primary-blue-lighter), var(--primary-blue));
    color: var(--text-on-dark-primary);
    padding: 12px 30px; /* Adjusted padding for better proportions */
    border: none;
    border-radius: var(--border-radius-md); /* Using defined border radius */
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-image 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease; /* Added transform and shadow */
    display: inline-block; /* Ensures padding and margins are respected */
    text-decoration: none; /* Remove underline from links styled as buttons */
    box-shadow: var(--shadow-sm);
}

.cta-button:hover {
    background-image: linear-gradient(to bottom right, var(--primary-blue), var(--primary-blue-darker));
    transform: translateY(-2px); /* Slight lift on hover */
    box-shadow: var(--shadow-md);
    color: #fff !important;
}

.image-container {
    flex: 1; /* Allows image container to take available space */
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 300px; /* Minimum width before wrapping */
    margin-top: 20px; /* Add some space on mobile when image is below text */
}
@media (min-width: 768px) {
    .image-container {
        margin-top: 0; /* No top margin on larger screens */
        align-self: stretch; /* Make the image container stretch to the height of the flex row */
    }
}

.image-slider {
    position: relative;
    width: 100%;
    max-width: 600px; /* Max width for the slider */
    aspect-ratio: 4 / 3; /* Maintain a 4:3 aspect ratio for the image slider area */
    max-height: 50vh; /* Increased to allow for a taller slider, relative to banner height */
    border-radius: var(--border-radius-lg); /* Using defined border radius */
    overflow: hidden; /* Crucial for containing absolutely positioned images */
    /* box-shadow: var(--shadow-lg); */ /* Removed shadow to hide the rectangle behind the image */
}

.image-slider img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain; /* Ensures the entire image is visible within the rectangular area, letterboxing if necessary */
    opacity: 0; /* Hidden by default for fade transition */
    transition: opacity 0.5s ease-in-out;
}

.image-slider img.active {
    opacity: 1; /* Show active image */
}

.slider-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3; /* Ensure controls are above images */
    display: flex;
    gap: 10px; /* Space between control buttons */
}

.slider-control-btn {
    width: 10px;
    height: 10px;
    border-radius: 50%; /* Circular buttons */
    background-color: rgba(255, 255, 255, 0.5); /* Semi-transparent */
    cursor: pointer;
    transition: background-color 0.3s ease;
    border: none; /* Remove default border */
    padding: 0; /* Remove default padding */
}

.slider-control-btn.active {
    background-color: var(--bg-white); /* Solid white for active button */
}

.slider-control-btn:hover {
    background-color: rgba(255, 255, 255, 0.7); /* Slightly more opaque on hover */
}

/* Utility classes for common section styling */
.section-title {
    font-size: 2.25rem; /* 36px */
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 15px; /* Standardized margin */
    text-align: center; /* Default to center, can be overridden */
}
.section-subheadline {
    font-size: 1.1rem; /* 18px */
    color: var(--text-body);
    line-height: 1.7;
    max-width: 600px; /* Constrain width for better readability */
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 50px; /* Standardized margin */
    text-align: center; /* Default to center */
}

/* Product Section Styles */
.product-section {
    padding: 60px 20px;
    text-align: center;
    background-color: var(--bg-light-neutral);
}

/* In your style.css file */
.product-grid {
    display: grid;
    /* For single column mobile view, 1fr makes the column take available space.
       justify-items: center will then center the card within this column. */
    grid-template-columns: 1fr;
    gap: 8px; /* Giving a little more space */
    justify-items: center; /* Center items within their grid cells */
    /* Make sure to remove or update any previous grid-template-columns rule that might conflict */
}


@media (min-width: 640px) { /* sm breakpoint */
    .product-grid {
        /* Create 4 columns, each up to the card's max width. */
        grid-template-columns: repeat(4, minmax(0, var(--product-card-max-width)));
        justify-content: center; /* Center the group of columns if they don't fill the container width */
    }
}

/* The @media (min-width: 1024px) rule for .product-grid has been removed. */
/* Now, .product-grid will be 4 columns from 640px upwards. */

.product-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-lg); /* Using defined border radius */
    box-shadow: var(--shadow-md); /* Using defined shadow */
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex; /* Added for potential future content alignment */
    flex-direction: column; /* Stack image and button vertically */
    /* aspect-ratio: 1 / 1; Removed for mobile, will be added back in media query for larger screens */
    position: relative; /* For positioning pseudo-elements */
    width: 100%; /* Default to full width of its grid column up to max-width */
    max-width: var(--product-card-max-width); /* Use variable for max-width */
    margin: 0 auto; /* Center the card in single column mobile view */
}

.product-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.1) 40%, rgba(0,0,0,0.6) 100%); /* More subtle at top, stronger at bottom */
    opacity: 0.5; /* Start with a very subtle overlay */
    transition: opacity 0.4s ease-in-out;
    z-index: 1; /* Ensure overlay is above the image but below any potential text */
    pointer-events: none; /* Allows clicks to pass through to the image/link if needed */
}

/* Media query that previously reset max-width and margin on .product-card is no longer needed */
.product-card:hover {
    /* transform: translateY(-10px) scale(1.04) rotateX(5deg) rotateY(-5deg); Removed animation */
    box-shadow: var(--shadow-lg); /* Enhanced shadow on hover */
}
.product-card::after { /* For a "View" icon or similar hint */
    content: "\f06e"; /* Font Awesome eye icon (ensure Font Awesome is linked) */
    font-family: "Font Awesome 6 Free";
    font-weight: 900; /* Required for solid icons in FA6 */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8); /* Center and initially smaller */
    color: var(--text-on-dark-primary);
    font-size: 2.8rem; /* Slightly larger icon */
    opacity: 0;
    transition: opacity 0.35s ease-in-out, transform 0.35s ease-in-out;
    z-index: 2; /* Above the overlay */
    pointer-events: none;
}

.product-card img {
    width: 100%;
    aspect-ratio: 1 / 1; /* Make the image display area square */
    /* flex-grow: 1; No longer needed as aspect-ratio defines height relative to width */
    /* min-height: 0; No longer needed */    
    object-fit: cover; /* Ensures image covers the area, cropping if necessary to maintain aspect ratio */
    display: block; /* Remove any extra space below the image */
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.4s ease-in-out;
}
@media (min-width: 640px) {
    .product-card {
        /* max-width: none; Removed to allow base max-width to apply, centered by justify-items on grid */
        margin: 0; /* Reset mobile-specific margin, grid gap will handle spacing */
        /* Overall card height will be determined by the square image + button */
    }
    .product-card img {
        /* aspect-ratio: 1/1 is inherited, ensuring image area remains square */
    }
}
/* Styles for .product-card-content, .product-card h3, .product-card p removed as product cards now primarily display images */

/* Styles for Simple & Minimalistic Module (Updated Design) */
.simple-minimalistic-module-wrapper {
    background-color: var(--bg-light-neutral); /* Or a slightly different shade if desired */
    padding: 40px 20px; /* Reduced padding for the whole section */
}

.sm-container {
    max-width: 1100px; /* Slightly wider for a more spacious feel */
    width: 100%;
    margin: 0 auto;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%); /* Subtle gradient for container */
    border-radius: 20px; /* Softer, larger radius */
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08); /* More pronounced, softer shadow */
    overflow: hidden; /* Crucial for child elements */
    display: flex;
    flex-direction: column;
}

.sm-showcase-area {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    /*align-items: flex-start;  Align items to the start of the cross axis, preventing stretch */
    gap: 20px; /* Add some gap between the three main columns */
    /* background-color: var(--bg-white); Optional: if container bg is too dark */
}

.sm-image-showcase {
    flex: 2 1 40%; /* Image is the most prominent, takes ~40-50% and can grow more */
    /* min-height is intentionally removed for desktop to allow image's natural height to influence container */
    /* Consider adding a max-width here if you don't want it to get too wide based on flex-grow */
    order: 2; /* Make image appear second (middle) */
    display: flex; /* Make this a flex container */
    align-items: center; /* Vertically center the image child */
    justify-content: center; /* Horizontally center the image child */
    overflow: hidden; /* Clip the image */
}

.sm-image-showcase img {
    width: 100%;
    height: auto; /* Adjust height based on intrinsic aspect ratio and width */
    object-fit: contain; /* Ensures the entire image is visible */
    max-height: 350px; /* Adjusted: Set a reasonable max-height to prevent overly tall images */
    max-width: 100%; /* Ensure image does not overflow its container if scaled by contain due to max-height */
    display: block;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.sm-image-showcase:hover img {
    transform: scale(1.05);
}

.sm-text-content-showcase {
    flex: 1 1 28%; /* Text content takes ~25-30% */
    padding: 20px 20px; /* Reduced padding for text content */
    order: 1; /* Make text appear first (left side) */
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: var(--bg-white); /* Fully opaque white background */
}

/* New styles for the side info boxes container */
.sm-side-info-boxes {
    flex: 1 1 28%; /* Side boxes take ~25-30% */
    order: 3; /* Appear third (far right) */
    display: flex;
    flex-direction: column;
    gap: 20px; /* Space between the two cards */
    padding: 20px 0; /* Add some vertical padding if needed, adjust horizontal if cards have their own */
    justify-content: center; /* Center cards vertically if they don't fill height */
}


.sm-main-heading {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.8em; /* Impactful heading size */
    font-weight: 700;
    color: var(--primary-blue-darker);
    line-height: 1.2;
    margin-bottom: 15px;
}

.sm-sub-heading {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9em;
    font-weight: 600;
    color: var(--accent-gold); /* Using accent color */
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
}

.sm-description-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.05em;
    color: var(--text-body);
    line-height: 1.8;
    margin-bottom: 35px;
}

.sm-cta-button {
    display: inline-flex;
    align-items: center;
    background-image: linear-gradient(to right, var(--primary-blue-lighter), var(--primary-blue));
    color: var(--text-on-dark-primary);
    padding: 14px 28px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1em;
    border-radius: 50px; /* Pill shape */
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(var(--primary-blue-rgb), 0.2);
    align-self: flex-start; /* Align button to the start of the flex container */
}

.sm-cta-button:hover {
    background-image: linear-gradient(to right, var(--primary-blue), var(--primary-blue-darker));
    box-shadow: 0 6px 20px rgba(var(--primary-blue-rgb), 0.3);
    transform: translateY(-2px);
        color: #fff;
}

.sm-cta-icon {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.sm-cta-button:hover .sm-cta-icon {
    transform: translateX(4px);
}

/* Features Grid (Info Cards) */
.sm-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 25px; /* Slightly reduced gap */
    padding: 50px 40px; /* Padding around the grid of cards */
    background-color: #f0f4f8; /* Slightly different background for card section */
}

.sm-feature-card {
    background-color: var(--bg-white);
    border-radius: 12px;
    padding: 30px 25px; /* Reduced padding for cards */
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-top-color 0.3s ease;
    border-top: 4px solid transparent; /* For hover effect */
    display: flex;
    flex-direction: column;
    width: 100%; /* Ensure cards take full width of their parent (e.g. .sm-side-info-boxes or grid cell) */
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
}

.sm-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(var(--primary-blue-rgb), 0.1);
    border-top-color: var(--primary-blue);
}

.sm-card-icon-wrapper {
    font-size: 2.2rem; /* Icon size */
    color: var(--primary-blue);
    background-color: rgba(var(--primary-blue-rgb), 0.08); /* Light background for icon */
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: inline-flex; /* To use margin auto for centering */
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px auto; /* Center the icon wrapper */
    transition: background-color 0.3s ease, color 0.3s ease;
}

.sm-feature-card:hover .sm-card-icon-wrapper {
    background-color: var(--primary-blue);
    color: var(--text-on-dark-primary);
}

.sm-card-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4em;
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 12px;
}

.sm-card-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95em;
    color: var(--text-secondary); /* Changed from --text-light */
    line-height: 1.7;
    margin-bottom: 20px;
    flex-grow: 1; /* Allows text to take available space, pushing link down */
}

.sm-card-learn-more {
    display: inline-block;
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9em;
    padding: 8px 0; /* Add some padding for easier clicking */
    transition: color 0.3s ease, letter-spacing 0.3s ease;
}

.sm-card-learn-more:hover {
    color: var(--primary-blue-darker);
    letter-spacing: 0.5px; /* Subtle hover effect */
}

/* Highlighted Card Specific Styles */
.sm-feature-card-highlight {
    background-color: var(--primary-blue-darker);
    color: var(--text-on-dark-secondary);
    border-top-color: var(--accent-gold); /* Initial border color */
}

.sm-feature-card-highlight .sm-card-icon-wrapper {
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--accent-gold);
}
.sm-feature-card-highlight:hover .sm-card-icon-wrapper {
    background-color: var(--accent-gold);
    color: var(--primary-blue-darker);
}

.sm-feature-card-highlight .sm-card-title {
    color: var(--text-on-dark-primary);
}

.sm-feature-card-highlight .sm-card-text {
    color: var(--text-on-dark-secondary);
}

.sm-feature-card-highlight .sm-card-learn-more {
    color: var(--accent-gold);
}
.sm-feature-card-highlight .sm-card-learn-more:hover {
    color: #fff; /* Brighter gold/white on hover */
}
.sm-feature-card-highlight:hover {
    border-top-color: var(--primary-blue-lighter); /* Different hover border for highlighted */
    box-shadow: 0 12px 35px rgba(var(--accent-gold), 0.2);
}


/* Responsive adjustments for the Simple & Minimalistic Module */
@media (max-width: 992px) {
    .sm-text-content-showcase {
        padding: 20px 20px; /* Adjusted padding for tablet */
    }
    .sm-main-heading {
        font-size: 2.4em;
    }
    .sm-description-text {
        font-size: 1em;
    }
    .sm-features-grid {
        padding: 40px 30px;
    }
}

@media (max-width: 768px) {
    .simple-minimalistic-module-wrapper {
        padding: 40px 15px; /* Adjusted padding for mobile wrapper */
    }
    .sm-container {
        border-radius: 15px;
    }
    .sm-showcase-area {
        flex-direction: column; /* Stack items on mobile */
    }
    .sm-image-showcase {
        flex-basis: auto; /* Reset flex-basis */
        min-height: 200px; /* Adjusted: A reasonable min-height for mobile */
        order: 2; /* Image below text on mobile */
    }
    .sm-text-content-showcase {
        flex-basis: auto; /* Reset flex-basis */
        /* order: 1; is default or already set */
        padding: 20px 15px; /* Adjusted padding for mobile text */
        text-align: center; /* Center text on mobile */
    }
    .sm-side-info-boxes {
        flex-basis: auto; /* Reset flex-basis */
        order: 3; /* Info boxes at the bottom on mobile */
    }
    .sm-cta-button {
        align-self: center; /* Center button on mobile */
    }
    .sm-main-heading {
        font-size: 2em;
    }
    .sm-features-grid {
        padding: 35px 25px;
        gap: 20px;
    }
    .sm-feature-card {
        padding: 25px 20px;
    }
    .sm-card-title {
        font-size: 1.25em;
    }
}


/* Styles for the new Clearance Sale Section */
.clearance-sale-section-wrapper {
    background-image: linear-gradient(135deg, var(--primary-blue), var(--bg-dark-primary)); /* Using new blue and dark bg */
    color: var(--text-on-dark-primary);
    padding: 80px 20px; /* Generous padding for impact */
    text-align: center;
    font-family: 'Montserrat', sans-serif;
}

.cs-container { /* Clearance Sale Container */
    max-width: 800px; /* Focused content width */
    margin: 0 auto;
}

.cs-title {
    font-size: 2.8rem; /* Prominent title */
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.2;
}

.cs-description {
    font-size: 1.15rem; /* Readable description */
    line-height: 1.8;
    margin-bottom: 40px;
    color: var(--text-on-dark-secondary);
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.cs-cta-button {
    display: inline-flex;
    align-items: center;
    background-image: linear-gradient(to bottom right, var(--primary-blue-lighter), var(--primary-blue));
    color: var(--text-on-dark-primary);
    padding: 15px 35px; /* Larger padding for emphasis */
    border-radius: var(--border-radius-md); /* Consistent button shape */
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: background-image 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: var(--shadow-sm);
}
.cs-cta-button:hover {
    background-image: linear-gradient(to bottom right, var(--primary-blue), var(--primary-blue-darker));
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
        color: #fff;
}
.cs-cta-button .cs-arrow {
    margin-left: 10px;
    font-size: 1.1em;
}

/* Styles for the Top Category / Features Section */
.top-category-features-section {
    background-color: var(--bg-light-neutral);
    padding: 80px 20px;
    font-family: 'Montserrat', sans-serif;
}

.tcf-container { /* Top Category Features Container */
    max-width: var(--container-max-width);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap; /* Allow wrapping for responsiveness */
    align-items: center; /* Vertically align items */
    gap: 40px; /* Space between text and image columns */
}

.tcf-text-content {
    flex: 1; /* Take up available space */
    min-width: 300px; /* Minimum width before wrapping */
}
.tcf-text-content .section-title,
.tcf-text-content .section-subheadline {
    text-align: left; /* Align section title and subheadline to the left */
    margin-left: 0;
    margin-right: 0;
}


.tcf-features-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr); /* Single column on small screens */
    gap: 30px;
    margin-top: 40px; /* Space above features grid */
}

@media (min-width: 768px) { /* Two columns for features on medium screens and up */
    .tcf-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.tcf-feature-item {
    display: flex; /* Use flexbox for icon and text alignment */
    align-items: flex-start; /* Align items to the top */
    gap: 20px; /* Space between icon and text content */
    padding: 20px;
    background-color: var(--bg-white);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.tcf-feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}


.icon-box { /* Styling for the new icon container */
    width: 50px; /* Adjust size as needed */
    height: 50px; /* Adjust size as needed */
    flex-shrink: 0; /* Prevent icon from shrinking */
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(var(--primary-blue-rgb), 0.1); /* Light blue background for icon */
    border-radius: 50%; /* Circular icon background */
}
.icon-box i { /* Styling for the <i> tag (Flaticon icon / Font Awesome) */
    font-size: 22px; /* Adjust for desired Font Awesome icon size */
    color: var(--primary-blue);
}

.tcf-feature-text-content { /* Wrapper for title and description */
    flex-grow: 1;
}

.tcf-feature-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 8px; /* Slightly reduced margin */
}

.tcf-feature-description {
    font-size: 0.9rem;
    color: var(--text-body);
    line-height: 1.6;
}

.tcf-image-content {
    flex: 1; /* Take up available space */
    min-width: 300px; /* Minimum width before wrapping */
    display: flex;
    justify-content: center;
    align-items: center;
}

.tcf-image-placeholder {
    width: 100%;
    max-width: 450px; /* Control image size */
    height: auto; /* Maintain aspect ratio */
    background-color: var(--bg-placeholder);
    border-radius: var(--border-radius-lg); /* Consistent border radius */
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: var(--text-secondary);
    aspect-ratio: 4 / 3; /* Maintain a consistent shape */
    overflow: hidden; /* Clip image to rounded corners */
    box-shadow: var(--shadow-lg);
}
.tcf-image-placeholder img { /* Style for the image itself */
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image covers the placeholder, might crop */
    display: block; /* Remove extra space if any */
}


/* Styles for Instagram Section */
.instagram-section-wrapper {
    background-color: var(--bg-light-neutral); /* Changed to light neutral for contrast */
    padding: 80px 20px;
    font-family: 'Montserrat', sans-serif;
    text-align: center; /* Center align title and sub-text */
}

.insta-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
}

.insta-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Or your preferred column setup */
    gap: 20px; /* Or your preferred gap */
}

@media (min-width: 640px) { /* sm breakpoint */
    .insta-cards-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 cards per row */
    }
}

@media (min-width: 1024px) { /* lg breakpoint */
    .insta-cards-grid {
        grid-template-columns: repeat(4, 1fr); /* 4 cards per row for smaller cards */
    }
}

.insta-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-lg); /* Consistent border radius */
    position: relative; /* Needed for absolute positioning of actions */
    box-shadow: var(--shadow-md); /* Softer shadow */
    overflow: hidden; /* To contain image and rounded corners */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.insta-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.insta-card-image-placeholder {
    width: 100%;
    aspect-ratio: 1 / 1; /* Square aspect ratio for Insta posts */
    background-color: var(--bg-placeholder);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    color: var(--text-secondary);
    overflow: hidden; /* Ensure image is clipped */
}
.insta-card-image-placeholder img { /* Style for the image itself */
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image covers the placeholder, might crop */
    display: block;
}

.insta-card-actions {
    position: absolute; /* Position actions over the image */
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent background for actions */
    color: var(--text-on-dark-primary);
    padding: 15px 20px;
    display: flex;
    justify-content: flex-start; /* Align actions to the left */
    gap: 20px; /* Space between like and comment */
    opacity: 0; /* Hidden by default */
    transform: translateY(100%); /* Start off-screen */
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.insta-action-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-on-dark-primary);
    cursor: pointer;
    transition: color 0.3s ease;
}
.insta-action-item:hover {
    color: var(--accent-gold); /* Lighter white/grey on hover for actions */
}
.insta-action-item .icon { /* For icon fonts or SVGs later */
    font-size: 1.2rem; /* Adjust if using actual icons */
}

.insta-card:hover .insta-card-actions {
    opacity: 1; /* Show actions on card hover */
    transform: translateY(0); /* Slide actions into view */
}

/*
   Spacing for Instagram carousel.
   This approach adds padding to the carousel's individual slide wrapper elements.
   The .insta-card then sits within this padded space.
   Adjust '.slick-slide' if your carousel library uses a different class for its slide items.
   This method often provides more reliable spacing than direct margins on the cards.
*/
.insta-carousel .slick-slide { /* Replace '.slick-slide' if your carousel uses a different class */
    padding-left: 15px;  /* Creates 15px space on the left of the card's container */
    padding-right: 15px; /* Creates 15px space on the right of the card's container */
    box-sizing: border-box; /* Ensures padding is included within the slide's dimensions */
}

.insta-carousel .insta-card {
    width: 100%; /* Make the card fill the padded slide container */
    display: block; /* Ensures consistent block-level behavior */
    /* Horizontal margins are removed as spacing is now handled by padding on the parent slide wrapper. */
    /* Vertical margins can be kept if needed: e.g., margin-top: 0; margin-bottom: 0; */
}
/* Footer Styles */
.site-footer {
    position: relative; /* Needed for the ::before pseudo-element */
    background-image: linear-gradient(135deg, var(--primary-blue-lighter), var(--primary-blue-darker)); /* Matching banner gradient */
    color: var(--text-footer-primary);
    padding: 60px 20px 20px; /* More top padding, less bottom for copyright */
    font-family: 'Montserrat', sans-serif;
    overflow: hidden; /* To contain the pseudo-element if it's larger */
}
.site-footer::before { /* Adding the same overlay as the banner */
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(42, 50, 62, 0.92), rgba(37, 53, 77, 0.88), rgba(23, 28, 38, 0.98)); /* Slightly darker overlay for footer */
    z-index: 0; /* Ensure it's behind the footer content */
}

.footer-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(1, 1fr); /* Stack on small screens */
    gap: 40px;
    text-align: center; /* Center content on small screens */
    position: relative; /* Ensure content is above the ::before pseudo-element */
    z-index: 1;
}

@media (min-width: 768px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr); /* Two columns for menu and newsletter */
        text-align: left; /* Align left on larger screens */
    }
}
 @media (min-width: 1024px) {
    .footer-container {
        grid-template-columns: 1fr 1fr 1fr 1fr; /* Adjust column ratios if needed, e.g., more space for newsletter */
         gap: 60px;
    }
}

.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-on-dark-primary);
    margin-bottom: 20px;
}
.footer-section.footer-logo-area h4 { /* Specific for logo area if used */
    font-size: 1.5em;
    margin-bottom: 10px;
}
.footer-section.footer-logo-area .blue-text {
    color: var(--primary-blue-lighter);
}
.footer-section p {
    font-size: 0.95em;
    line-height: 1.7;
    margin-bottom: 15px;
    color: var(--text-footer-primary); /* Ensure paragraph text uses footer primary color */
}


.footer-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li a {
    color: var(--text-footer-primary);
    text-decoration: none;
    display: block;
    padding: 8px 0;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-menu li a:hover {
    color: var(--accent-gold); /* Use accent color for hover */
    padding-left: 5px; /* Indent on hover */
}

.newsletter-form p {
    margin-bottom: 20px;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-footer-primary); /* Ensure newsletter text uses footer primary color */
}

.newsletter-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-dark); /* Darker border for better contrast on dark bg */
    border-radius: var(--border-radius-md);
    background-color: rgba(255,255,255,0.1); /* Slightly transparent white */
    color: var(--text-on-dark-primary);
    margin-bottom: 15px;
    box-sizing: border-box; /* Ensure padding doesn't add to width */
}
.newsletter-input::placeholder {
    color: var(--text-footer-secondary); /* Lighter placeholder text */
}


.newsletter-button { /* Re-using .cs-cta-button styles by applying the class */
    width: 100%; /* Make button full width in its column */
    padding: 12px; /* Match input padding for consistency */
    font-size: 1em; /* Adjust font size if needed */
}

.footer-copyright {
    text-align: center;
    padding-top: 40px; /* Space above copyright */
    margin-top: 40px; /* Space above copyright */
    border-top: 1px solid var(--border-dark); /* Darker separator line */
    font-size: 0.85rem;
    color: var(--text-footer-secondary);
    position: relative; /* Ensure content is above the ::before pseudo-element */
    z-index: 1;
}

/* Back to Top Button Styles */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--primary-blue);
    color: var(--text-on-dark-primary);
    width: 45px; /* Button size */
    height: 45px; /* Button size */
    border-radius: 50%; /* Circular shape */
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border: none;
    outline: none;
    box-shadow: var(--shadow-md); /* Subtle shadow */
    opacity: 0; /* Hidden by default */
    visibility: hidden; /* Hidden by default */
    transition: opacity 0.3s ease, visibility 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
    z-index: 999; /* Ensure it's above most content */
}

.back-to-top.show { /* Renamed from .visible for clarity */
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-blue-darker);
    transform: translateY(-3px); /* Slight lift on hover */
}

/* Responsive Adjustments for navbar1 and Banner (General) */
@media (max-width: 768px) {
    .navbar1 .nav-links {
        display: none; /* Hide desktop nav links, implement mobile menu separately */
    }

    .tcf-container {
        flex-direction: column;
    }
    .tcf-text-content .section-title,
    .tcf-text-content .section-subheadline {
        text-align: center; /* Center title/subheadline on mobile */
    }
    .tcf-image-content {
        order: -1; /* Move image to the top on mobile if desired */
        margin-bottom: 30px;
    }
    .image-slider {
        aspect-ratio: 1 / 1; /* Make image slider square on mobile */
        max-height: 60vh;   /* Allow image slider to use more of the banner height */
        /* max-width will still be constrained by its default or .image-container width */
    }

    /* Ensure the container of the Instagram carousel clips any potential overflow on mobile */
    .insta-container { /* This is the parent of .insta-carousel (or .insta-cards-grid) */
        overflow-x: hidden;
    }

    /* Reduce padding on Instagram carousel slides for mobile to prevent horizontal scroll */
    .insta-carousel .slick-slide { /* Adjust '.slick-slide' if your carousel uses a different class */
        padding-left: 8px; /* Reduced padding */
        padding-right: 8px; /* Reduced padding */
    }
}

@media (max-width: 480px) { /* Very small screens */
    .text-content h1 { /* Banner heading */
        font-size: 2rem;
    }
    .text-content p { /* Banner paragraph */
        font-size: 1rem;
    }
    .cta-button { /* General CTA button */
        padding: 10px 20px;
        font-size: 1rem;
    }
    .section-title { /* General section title */
        font-size: 1.8rem;
    }
    .cs-title { /* Clearance sale title */
        font-size: 2rem;
    }
    .cs-description { /* Clearance sale description */
        font-size: 0.95rem;
    }
    .cs-cta-button { /* Clearance sale CTA */
        padding: 12px 25px;
        font-size: 1rem;
    }
    .footer-container {
        grid-template-columns: 1fr; /* Stack footer sections on very small screens */
        text-align: center;
    }
    .footer-menu ul li a {
        text-align: center;
    }
    .footer-menu ul li a:hover {
        padding-left: 0; /* Reset hover indent for centered text */
    }
}
/* In your style.css */

/* ... other styles ... */

.footer-contact-button {
    display: inline-block; /* Ensures it behaves like a button */
    margin-top: 15px;    /* Adds some space above the button */
    padding: 10px 20px;  /* You can adjust padding if it looks too large/small in footer */
    font-size: 0.9rem;   /* Optionally adjust font size for footer context */
}
/* In your style.css */
.product-card .product-cta {
    display: block; /* Make the View Product button visible */
    margin: 10px 15px 15px 15px; /* Top, Right, Bottom, Left margins for spacing */
    text-align: center;
    flex-shrink: 0; /* Prevent button from shrinking if card space is tight */
}

/* Remove hover animation specifically for product CTA buttons */
.product-card .product-cta:hover {
    transform: none; /* Override the translateY from .cta-button:hover */
    box-shadow: var(--shadow-sm); /* Keep the initial shadow, or remove if not desired */
}


/* ... other styles ... */

/* === Mobile Navigation Specific Styles === */

/* Hamburger Menu Button */
.hamburger-menu {
    display: none; /* Hidden by default, shown on mobile */
    background: none;
    border: none;
    color: var(--text-heading); /* Or var(--primary-blue) */
    font-size: 1.8rem; /* Adjust size as needed */
    cursor: pointer;
    padding: 8px 12px; /* Make it easy to tap */
    z-index: 1005; /* Ensure it's above the mobile menu panel */
    line-height: 1; /* Prevents extra space if font-size affects button height */
}

.hamburger-menu .hamburger-icon-open,
.hamburger-menu .hamburger-icon-close {
    display: inline-block; /* Or block, depending on your icon's nature */
}

.hamburger-menu .hamburger-icon-close {
    display: none; /* JS will toggle this with hamburger-icon-open */
}

@media (max-width: 768px) {
    .hamburger-menu {
        display: block; /* Show hamburger button on mobile */
    }

    /*
       Your existing rule already hides .navbar1 .nav-links on mobile:
       .navbar1 .nav-links { display: none; }
       The following styles apply when JS adds an 'active' class to .nav-links
    */

    .navbar1 .nav-links.active {
        display: flex; /* Show the menu */
        flex-direction: column;
        position: absolute;
        top: 100%; /* Position below the navbar1 (assuming navbar1 is direct parent or relative positioning is set up) */
        left: 0;
        width: 100%;
        background-color: var(--bg-white);
        box-shadow: var(--shadow-md); /* Or var(--shadow-lg) for more prominence */
        padding-top: 10px;
        padding-bottom: 10px;
        z-index: 999; /* Below hamburger button but above page content */
        border-top: 1px solid var(--border-medium); /* Optional top border */
    }

    .navbar1 .nav-links.active a {
        margin-left: 0; /* Reset desktop margin */
        padding: 15px var(--container-padding-x); /* Full width tappable area */
        text-align: center; /* Or left, as you prefer */
        border-bottom: 1px solid var(--bg-light-neutral); /* Separator between links */
        width: 100%; /* Make links take full width of the dropdown */
    }

    .navbar1 .nav-links.active a:last-child {
        border-bottom: none; /* No border for the last item */
    }
}
h1#slide-title {
    color: #fff;
}

h2.cs-title {
    color: #fff;
}