/* Pagination Styling - Corrected */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap; /* Allow page links to wrap to the next line */
    padding: 1.5rem 0;
    margin-top: 2rem; 
    list-style: none; 
}

.pagination .page-link {
    color: var(--color-primary);
    padding: 0.5rem 0.85rem; 
    margin: 0.25rem; /* Add margin for wrapped items too */
    text-decoration: none;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    font-weight: 500;
    font-size: 0.9rem;
    min-width: 36px; 
    text-align: center;
    line-height: 1.4; /* Ensure consistent height for wrapped items */
}

.pagination .page-link:hover {
    background-color: var(--color-primary);
    color: var(--color-bg-surface);
    border-color: var(--color-primary);
    text-decoration: none;
}

.pagination .page-link.active {
    background-color: var(--color-primary);
    color: var(--color-bg-surface);
    border-color: var(--color-primary);
    font-weight: 700;
    cursor: default;
}

.pagination .page-link.prev,
.pagination .page-link.next {
    padding: 0.5rem 1rem;
}

/* Responsive adjustments for pagination */
@media (max-width: 480px) {
    .pagination .page-link {
        padding: 0.4rem 0.6rem;
        font-size: 0.85rem;
        margin: 0.15rem;
        min-width: 30px;
    }
    .pagination .page-link.prev,
    .pagination .page-link.next {
        padding: 0.4rem 0.8rem;
    }
}
/* End Pagination Styling */
/* Header Redesign - Sidebar Toggle, Left Section, and Category Nav Adjustments */
.site-header-redesign .header-container-redesign {
    display: flex;
    align-items: center;
    /* justify-content: space-between; -- Let child elements and margins control spacing */
}

.site-header-redesign .header-left-section {
    display: flex;
    align-items: center;
    margin-right: auto; /* Pushes nav and actions to the right */
}

.site-header-redesign .sidebar-toggle {
    display: inline-flex; /* Behave as an inline-level flex container */
    align-items: center;
    justify-content: center;
    background: none; 
    border: none; 
    color: var(--color-text-base); 
    font-size: 1.5rem; 
    cursor: pointer;
    padding: 0.5rem; 
    margin-right: 0.75rem; 
    flex-shrink: 0; /* Prevent it from shrinking if space is tight */
}
.site-header-redesign .sidebar-toggle:hover {
    color: var(--color-primary); 
}
.site-header-redesign .sidebar-toggle i.fas.fa-bars {
    display: block; 
}

.site-header-redesign .logo-redesign {
    display: inline-block; /* Ensure logo also behaves like an inline element within the flex context */
    flex-shrink: 0; /* Prevent it from shrinking */
}

/* Adjustments for main navigation if categories are shown */
.site-header-redesign .main-nav-redesign ul {
    gap: 1.25rem; 
}
.site-header-redesign .main-nav-redesign a {
    font-size: 0.95rem; 
}

/* Responsive adjustments for header structure */
@media (max-width: 992px) {
    .site-header-redesign .main-nav-redesign {
        display: none; /* Mobile nav handled by sidebar toggle -> mega-menu */
    }
    .site-header-redesign .header-left-section {
         margin-right: 0; 
    }
    .site-header-redesign .header-container-redesign {
        justify-content: space-between; /* Re-apply for mobile when nav is gone */
    }
    /* .sidebar-toggle is already display:block, should remain visible */
}

@media (max-width: 768px) {
    .site-header-redesign .sidebar-toggle {
        margin-right: 0.5rem;
        font-size: 1.3rem;
    }
    .site-header-redesign .logo-redesign .logo-text {
        font-size: 1.5rem; 
    }
     .site-header-redesign .header-actions-redesign {
        gap: 0.75rem; 
    }
    .site-header-redesign .cart-icon {
        font-size: 1.1rem;
    }
     .site-header-redesign .cart-icon .cart-count{
        font-size: 0.65rem;
        top: -6px;
        right: -7px;
        padding: 1px 5px;
    }
    /* Search bar is handled by its own mobile rules further down */
}
/* Global Redesign Styles - Foundation */

/* Define a modern color palette (examples, can be refined) */
:root {
    --color-primary: #2563eb; /* Example: Blue */
    --color-secondary: #4f46e5; /* Example: Indigo */
    --color-accent: #db2777; /* Example: Pink */
    --color-text-base: #1f2937; /* Dark Gray for text */
    --color-text-muted: #6b7280; /* Lighter Gray for muted text */
    --color-bg-base: #f9fafb; /* Very Light Gray for body background */
    --color-bg-surface: #ffffff; /* White for cards, surfaces */
    --color-border: #e5e7eb; /* Light Gray for borders */

    --font-family-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-family-heading: 'Poppins', sans-serif;

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --border-radius: 0.5rem; /* 8px */
}

/* Stock Badge Styling */
.stock-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #d4edda !important; /* Light green, good contrast with dark text */
    color: #155724 !important; /* Dark green text */
    padding: 4px 8px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    z-index: 10; /* Ensure it's above the image */
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Basic Reset & Body Defaults */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px; /* Base font size */
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-family-sans);
    color: var(--color-text-base);
    background-color: var(--color-bg-base);
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-heading);
    color: var(--color-text-base);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 0.75em; /* Consistent bottom margin */
}

h1 { font-size: 2.25rem; /* ~36px */ }
h2 { font-size: 1.875rem; /* ~30px */ }
h3 { font-size: 1.5rem; /* ~24px */ }
h4 { font-size: 1.25rem; /* ~20px */ }

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

a:hover {
    color: var(--color-secondary);
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Basic Container */
.container-redesign { /* New class to avoid conflicts */
    width: 100%;
    max-width: 1280px; /* Example max width */
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Add more global styles for buttons, forms, etc. as we go */
/* Homepage Hero Section Redesign */
.hero-section-redesign {
    background-color: var(--color-primary); /* Example: Use primary color */
    /* Or use a background image:
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../path/to/your/hero-image.jpg');
    background-size: cover;
    background-position: center;
    */
    color: var(--color-bg-surface); /* White text on dark background */
    padding: 6rem 0; /* Generous padding */
    text-align: center;
}

.hero-section-redesign .hero-content {
    max-width: 800px; /* Limit content width for readability */
}

.hero-section-redesign .hero-title {
    font-size: 3rem; /* Large title */
    font-weight: 700;
    color: var(--color-bg-surface);
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero-section-redesign .hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-primary-redesign { /* General primary button style for the redesign */
    display: inline-block;
    background-color: var(--color-accent); /* Use accent color for CTA */
    color: var(--color-text-base); /* Text color that contrasts with accent */
    padding: 0.875rem 2rem; /* 14px 32px */
    font-family: var(--font-family-heading);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: var(--shadow-md);
}

.btn-primary-redesign:hover {
    background-color: color-mix(in srgb, var(--color-accent) 90%, black); /* Darken accent */
    color: var(--color-text-base); /* Ensure text remains readable */
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}
/* Header Redesign */
.site-header-redesign { /* New class for the redesigned header */
    background-color: var(--color-bg-surface); /* White background for a clean look */
    padding: 1rem 0;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    position: sticky; /* Make header sticky */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000; /* Ensure it's above other content */
}

.site-header-redesign .header-container-redesign { /* New class for inner container */
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* Uses .container-redesign for max-width and padding from global styles */
}

.site-header-redesign .logo-redesign a {
    text-decoration: none;
}

.site-header-redesign .logo-redesign .logo-text {
    font-family: var(--font-family-heading);
    font-size: 1.75rem; /* Slightly larger logo text */
    font-weight: 700;
    color: var(--color-primary); /* Primary color for logo */
}

.site-header-redesign .logo-redesign .logo-highlight {
    color: var(--color-accent); /* Accent color for highlight */
}

.site-header-redesign .main-nav-redesign ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1.5rem; /* Spacing between nav items */
}

.site-header-redesign .main-nav-redesign a {
    font-family: var(--font-family-sans);
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text-base);
    text-decoration: none;
    padding: 0.5rem 0; /* Add some padding for better click area if needed */
    position: relative;
    transition: color 0.2s ease;
}

.site-header-redesign .main-nav-redesign a:hover {
    color: var(--color-primary);
    text-decoration: none;
}

.site-header-redesign .main-nav-redesign a::after { /* Underline effect on hover/active */
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width 0.3s ease;
}

.site-header-redesign .main-nav-redesign a:hover::after,
.site-header-redesign .main-nav-redesign a.active::after { /* Add .active class for current page */
    width: 100%;
}

.site-header-redesign .header-actions-redesign {
    display: flex;
    align-items: center;
    gap: 1.25rem; /* Spacing for search, cart */
}

/* Search Bar in Header */
.site-header-redesign .search-bar-container { /* Re-style existing search bar */
    display: flex;
    align-items: center;
}

.site-header-redesign .search-form {
    display: flex;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    overflow: hidden;
    background-color: var(--color-bg-base); /* Light bg for search input area */
}

.site-header-redesign .search-input {
    border: none;
    padding: 0.6rem 0.8rem; /* Adjusted padding */
    font-size: 0.9rem;
    outline: none;
    flex-grow: 1;
    background-color: transparent;
    color: var(--color-text-base);
}
.site-header-redesign .search-input::placeholder {
    color: var(--color-text-muted);
}

.site-header-redesign .search-button {
    background-color: transparent;
    border: none;
    padding: 0.6rem 0.8rem;
    cursor: pointer;
    color: var(--color-text-muted);
    transition: color 0.2s ease;
}

.site-header-redesign .search-button:hover {
    color: var(--color-primary);
}
.site-header-redesign .search-button .fa-search {
    font-size: 1rem;
}


/* Cart Icon in Header */
.site-header-redesign .cart-icon {
    position: relative;
    color: var(--color-text-base);
    font-size: 1.25rem; /* Larger cart icon */
}
.site-header-redesign .cart-icon a {
    color: inherit;
    text-decoration: none;
}

.site-header-redesign .cart-icon .cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background-color: var(--color-accent);
    color: var(--color-text-base); /* Or white if accent is light */
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1;
    border: 1px solid var(--color-bg-surface); /* Border to make it pop */
}

/* Mobile Menu Toggle - Basic Styling (can be enhanced) */
.site-header-redesign .mobile-menu-toggle {
    display: none; /* Hidden on desktop */
    background: none;
    border: none;
    color: var(--color-text-base);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Responsive Header */
@media (max-width: 992px) { /* Adjust breakpoint as needed */
    .site-header-redesign .main-nav-redesign {
        display: none; /* Hide desktop nav, mobile menu will take over */
        /* Further mobile menu styles would go here or be handled by JS toggling classes */
    }
    .site-header-redesign .mobile-menu-toggle {
        display: block;
    }
    .site-header-redesign .header-container-redesign {
        /* Adjust justify-content if logo needs to be centered on mobile when nav is hidden */
    }
}
@media (max-width: 768px) {
    .site-header-redesign .search-bar-container {
        /* Example: Make search take more width or hide it in a toggle */
        /* display: none; /* Or flex-grow: 1; width: 100%; order: 3; margin-top: 10px; */
    }
}
/* Footer Redesign */
.site-footer-redesign { /* New class for the redesigned footer */
    background-color: var(--color-bg-base); /* Changed to light background */
    color: var(--color-text-muted); /* Changed to muted text color for light background */
    padding: 3rem 0;
    font-size: 0.9rem;
    line-height: 1.7;
}

.site-footer-redesign .footer-container-redesign { /* New class for inner container */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); /* Responsive columns */
    gap: 2rem; /* Gap between columns */
    /* Uses .container-redesign for max-width and padding from global styles */
}

.site-footer-redesign .footer-section h3 {
    font-family: var(--font-family-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text-base); /* Changed to base text color for light background */
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Newsletter Section */
.site-footer-redesign .footer-newsletter .newsletter-form {
    display: flex;
    margin-top: 0.5rem;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}


.site-footer-redesign .footer-newsletter input[type="email"] {
    flex-grow: 1;
    padding: 0.75rem 1rem;
    border: 1px solid var(--color-border); /* Changed to standard border color */
    background-color: var(--color-bg-surface); /* Changed to surface background color */
    color: var(--color-text-base); /* Changed to base text color */
    font-family: var(--font-family-sans);
    font-size: 0.9rem;
    outline: none;
}
.site-footer-redesign .footer-newsletter input[type="email"]::placeholder {
    color: var(--color-text-muted); /* Changed to muted text color */
}

.site-footer-redesign .footer-newsletter button[type="submit"] {
    background-color: var(--color-primary); /* Changed to primary color for button */
    color: var(--color-bg-surface); /* Changed to light text for button */
    border: none;
    padding: 0.75rem 1.25rem;
    cursor: pointer;
    font-weight: 600;
    font-family: var(--font-family-heading);
    transition: background-color 0.2s ease;
}

.site-footer-redesign .footer-newsletter button[type="submit"]:hover {
    background-color: var(--color-secondary); /* Changed to secondary for hover */
}

/* Social Links */
.site-footer-redesign .footer-social .social-links a {
    color: var(--color-text-muted); /* Changed to muted text color */
    font-size: 1.5rem; /* Larger social icons */
    margin-right: 1rem;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block; /* Allows transform */
}

.site-footer-redesign .footer-social .social-links a:hover {
    color: var(--color-primary); /* Changed to primary for hover */
    transform: scale(1.1);
}
.site-footer-redesign .footer-social .social-links a:last-child {
    margin-right: 0;
}

/* Quick Links */
.site-footer-redesign .footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer-redesign .footer-links ul li {
    margin-bottom: 0.5rem;
}

.site-footer-redesign .footer-links ul a {
    color: var(--color-text-muted); /* Changed to muted text color */
    text-decoration: none;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.site-footer-redesign .footer-links ul a:hover {
    color: var(--color-primary); /* Changed to primary for hover */
    padding-left: 5px; /* Slight indent on hover */
    text-decoration: none;
}

/* Footer Credits / Copyright */
.site-footer-redesign .footer-credits-redesign { /* New class for credits section */
    grid-column: 1 / -1; /* Span all columns */
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid var(--color-border); /* Changed to standard border color */
    font-size: 0.85rem;
    color: var(--color-text-muted); /* Changed to muted text color */
}
.site-footer-redesign .footer-credits-redesign p {
    margin: 0;
}
/* Homepage Product Listing Sections Redesign - Full Width Adjustment */
.homepage-products-section-fullwidth { /* Renamed from homepage-products-section */
    padding: 2.5rem 0; /* Vertical padding, horizontal padding will be handled by inner .container-redesign or if grid is edge-to-edge */
    border-bottom: 1px solid var(--color-border);
    /* You can add a background color here if you want the full-width band to have one */
    /* background-color: var(--color-bg-surface); */ /* Example: if you want a white band */
}

.homepage-products-section-fullwidth:last-of-type {
    border-bottom: none;
}

.homepage-products-section-fullwidth .section-title-redesign { /* Adjusted selector */
    font-family: var(--font-family-heading);
    font-size: 2rem; /* Prominent section title */
    font-weight: 600;
    color: var(--color-text-base);
    margin-bottom: 1.5rem;
    text-align: center; /* Center title, or left-align if preferred */
    position: relative;
    padding-bottom: 0.5rem;
}

.homepage-products-section .section-title-redesign a {
    color: inherit; /* Inherit color from h2 */
    text-decoration: none;
    transition: color 0.2s ease;
}

.homepage-products-section-fullwidth .section-title-redesign a:hover { /* Adjusted selector */
    color: var(--color-primary); /* Primary color on hover */
}

/* Styling for the product grid itself (assuming .products-grid is the class from product-grid.php) */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); /* Responsive grid */
    gap: 1.5rem; /* Gap between product cards */
    margin-bottom: 2rem; /* Space before "View All" link if any */
}

/* Product Card Styling (Basic - can be enhanced or use styles from product-redesign.css if applicable) */
/* This assumes product cards have a class like .product-card from product-grid.php */
.product-card-redesign { /* New class if we need distinct homepage card styles */
    background-color: var(--color-bg-surface);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column; /* Ensure footer elements are at bottom */
}

.product-card-redesign:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.product-card-redesign .product-image-wrapper { /* Assuming an image wrapper */
    position: relative;
    overflow: hidden;
    padding-top: 100%; /* For 1:1 aspect ratio, adjust as needed */
}

.product-card-redesign .product-image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Or 'contain' */
    transition: transform 0.3s ease;
}
.product-card-redesign:hover .product-image-wrapper img {
    transform: scale(1.05);
}

.product-card-redesign .product-info-redesign { /* New class for info section */
    padding: 1rem;
    flex-grow: 1; /* Allow info to take remaining space */
    display: flex;
    flex-direction: column;
}

.product-card-redesign .product-title-redesign { /* New class for title */
    font-family: var(--font-family-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text-base);
    margin-bottom: 0.5rem;
    line-height: 1.3;
    /* For truncating long titles: */
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Show 2 lines */
    line-clamp: 2; /* Standard property for compatibility */
    -webkit-box-orient: vertical;
    min-height: 2.6em; /* Ensure space for 2 lines */
}
.product-card-redesign .product-title-redesign a {
    color: inherit;
    text-decoration: none;
}
.product-card-redesign .product-title-redesign a:hover {
    color: var(--color-primary);
}


.product-card-redesign .product-price-redesign { /* New class for price */
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
    margin-top: auto; /* Push price and button to bottom if info grows */
}

.product-card-redesign .btn-view-product { /* Example class for a "View Product" button */
    display: block;
    width: 100%;
    background-color: var(--color-secondary);
    color: #fff;
    text-align: center;
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    border: none;
    border-radius: 0 0 var(--border-radius) var(--border-radius); /* Round bottom corners if button is at very bottom */
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background-color 0.2s ease;
}
.product-card-redesign .btn-view-product:hover {
    background-color: color-mix(in srgb, var(--color-secondary) 85%, black);
    text-decoration: none;
    color: #fff;
}

/* "View All" link for the section */
.homepage-products-section .view-all-link-redesign {
    display: block;
    text-align: center;
    margin-top: 1.5rem;
    font-weight: 500;
    color: var(--color-primary);
    text-decoration: underline;
}
.homepage-products-section-fullwidth .view-all-link-redesign:hover { /* Adjusted selector */
    color: var(--color-secondary);
}

/* Ensure the SEO text section also has appropriate styling if it's full-width or contained */
.seo-text-section { /* Class added in index.php */
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
    text-align: center; /* Or as desired */
}
.seo-text-section .category-description { /* Assuming this class exists for the text block */
    max-width: 800px; /* Limit width for readability */
    margin-left: auto;
    margin-right: auto;
    color: var(--color-text-muted);
    line-height: 1.7;
}
/* === Responsive Enhancements (Mobile First or Adjustments) === */

/* Footer on Mobile */
@media (max-width: 768px) { /* Common breakpoint for mobile */
    .site-footer-redesign .footer-container-redesign {
        grid-template-columns: 1fr; /* Stack footer sections into a single column */
        text-align: center; /* Center-align text within footer sections on mobile */
    }

    .site-footer-redesign .footer-section {
        margin-bottom: 1.5rem; /* Add some space between stacked sections */
    }
    .site-footer-redesign .footer-section:last-of-type {
        margin-bottom: 0;
    }

    .site-footer-redesign .footer-newsletter .newsletter-form {
        flex-direction: column; /* Stack input and button */
        gap: 0.5rem;
    }
    .site-footer-redesign .footer-newsletter input[type="email"],
    .site-footer-redesign .footer-newsletter button[type="submit"] {
        width: 100%; /* Make them full width */
    }

    .site-footer-redesign .footer-social .social-links {
        justify-content: center; /* Center social icons if they are in a flex container */
        display: flex; /* Ensure flex for justify-content */
    }
}

/* Homepage Product Grid and Text on Mobile */
@media (max-width: 768px) {
    .homepage-products-section .section-title-redesign {
        font-size: 1.5rem; /* Smaller section titles on mobile */
        margin-bottom: 1rem;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); /* Allow smaller cards, potentially 2-col */
        gap: 1rem; /* Smaller gap on mobile */
    }
    
    /* If you want a strict 1-column layout for product cards on very small screens */
    @media (max-width: 480px) {
        .products-grid {
            grid-template-columns: 1fr; /* Single column for product cards */
        }
    }

    .product-card-redesign .product-title-redesign {
        font-size: 1rem; /* Adjust product title size */
        min-height: 2.4em; /* Adjust for potentially smaller font */
        -webkit-line-clamp: 2; /* Ensure it still truncates */
        line-clamp: 2; /* Standard property for compatibility */
    }

    .product-card-redesign .product-price-redesign {
        font-size: 1.1rem; /* Adjust product price size */
    }
    
    .product-card-redesign .product-info-redesign {
        padding: 0.75rem; /* Slightly less padding in cards on mobile */
    }

    .product-card-redesign .btn-view-product {
        font-size: 0.8rem;
        padding: 0.5rem 0.8rem;
    }

    /* General Homepage Text on Mobile */
    .hero-section-redesign .hero-title {
        font-size: 2rem; /* Adjust hero title */
    }
    .hero-section-redesign .hero-subtitle {
        font-size: 1rem; /* Adjust hero subtitle */
    }
    .btn-primary-redesign { /* Adjust global primary button for mobile */
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    /* Adjustments for the main content area and sidebar if they exist and cause issues */
    .main-container {
        flex-direction: column; /* If sidebar and content are flex items */
        padding: 1rem;
        gap: 1rem;
    }
    /* If you have a .sidebar class */
    /*
    .sidebar {
        width: 100%; 
        margin-bottom: 1rem;
    }
    */
}

/* Ensure the .container-redesign provides some padding on mobile */
@media (max-width: 576px) { /* Extra small screens */
    .container-redesign {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
}
/* === Mobile Responsiveness Fixes === */

@media (max-width: 768px) {
    /* --- Mobile Header Fixes --- */
    .site-header-redesign .header-container-redesign {
        flex-wrap: wrap; /* Allow items to wrap */
    }

    .site-header-redesign .logo-redesign {
        order: 1; /* Logo first */
        flex-basis: auto; /* Adjust as needed */
    }
    
    .site-header-redesign .mobile-menu-toggle {
        order: 2; /* Menu toggle next to logo or far right */
        margin-left: auto; /* Push to the right if logo is on left */
    /* } */ /* This ruleset was empty and has been commented out. */

    .site-header-redesign .main-nav-redesign {
        /* This is already set to display: none; in this media query,
           It would be revealed by JS when .mobile-menu-toggle is clicked.
           Styles for the opened mobile menu itself would be separate. */
    }

    .site-header-redesign .search-bar-container {
        order: 3; /* Search bar on a new line */
        width: 100%; /* Full width */
        margin-top: 0.75rem; /* Space above search bar */
        margin-bottom: 0.5rem; /* Space below search bar */
        padding: 0; /* Remove horizontal padding if container-redesign adds it */
    }
    .site-header-redesign .search-form {
        width: 100%; /* Ensure form takes full width of its container */
    }
    .site-header-redesign .search-input {
        font-size: 0.85rem; /* Slightly smaller search input text */
    }

    .site-header-redesign .header-actions-redesign {
        order: 2; /* Cart icon next to menu toggle, or adjust as preferred */
        /* If cart is next to menu toggle, you might need to adjust margins or flex basis */
         margin-left: 1rem; /* Example if menu toggle is also on the right */
    }


    /* --- Product Grid Text Fixes on Mobile --- */
    .product-card-redesign .product-title-redesign {
        font-size: 0.9rem; /* Further reduce title size on mobile */
        line-height: 1.3; /* Adjust line height */
        min-height: 2.6em; /* Ensure space for two lines with new font size */
        margin-bottom: 0.25rem; /* Less space below title */
    }

    .product-card-redesign .product-price-redesign {
        font-size: 1rem; /* Further reduce price size */
        margin-bottom: 0.5rem; /* Less space below price */
    }

    /* If there's other text like SKU or short description in product-info-redesign */
    .product-card-redesign .product-info-redesign .sku, /* Assuming .sku class */
    .product-card-redesign .product-info-redesign .short-description { /* Assuming .short-description */
        font-size: 0.75rem; /* Smaller meta text */
        line-height: 1.4;
        margin-bottom: 0.25rem;
    }
    
    .product-card-redesign .btn-view-product {
        padding: 0.4rem 0.6rem; /* Smaller button padding */
        font-size: 0.75rem; /* Smaller button text */
    }
}


/* Specific adjustments for very small mobile screens if needed */
@media (max-width: 480px) {
    .site-header-redesign .logo-redesign .logo-text {
        font-size: 1.5rem; /* Smaller logo on very small screens */
    }
    .site-header-redesign .search-input {
        padding: 0.5rem 0.7rem;
    }
    .site-header-redesign .search-button {
        padding: 0.5rem 0.7rem;
    }
    .site-header-redesign .search-button .fa-search {
        font-size: 0.9rem;
    }

    .product-card-redesign .product-title-redesign {
        font-size: 0.85rem;
        min-height: 2.2em;
    }
    .product-card-redesign .product-price-redesign {
        font-size: 0.95rem;
    }
}
/* === Product Grid & Card Refinements (including Mobile) === */

/* Styling for the product grid itself */
.products-grid {
    display: grid;
    /* For a "big grid" feel, allow more columns on larger screens */
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); /* Start with a smaller minmax for flexibility */
    gap: 1.5rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) { /* Medium screens */
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 1.75rem;
    }
}

@media (min-width: 1024px) { /* Large screens - aim for more items like your example */
    .products-grid {
        /* Adjust minmax to fit more items, e.g., 4-5 cards if content allows */
        grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); /* Can be fine-tuned */
    }
}
@media (min-width: 1280px) { /* Extra large screens */
    .products-grid {
         grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); /* Example for ~4-5 items */
    }
}


.product-card-redesign {
    background-color: var(--color-bg-surface);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    overflow: hidden; /* Important for child elements like button */
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}

.product-card-redesign:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.product-card-redesign .product-link { /* Ensure the link wrapper behaves well */
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Make the link take up space for info */
}

.product-card-redesign .product-image-wrapper {
    position: relative;
    overflow: hidden;
    padding-top: 100%; /* 1:1 Aspect Ratio, good for square-ish images */
    background-color: #f0f0f0; /* Placeholder bg for images */
}

.product-card-redesign .product-image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.product-card-redesign:hover .product-image-wrapper img {
    transform: scale(1.05);
}

.product-card-redesign .product-info-redesign {
    padding: 1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    text-align: center; /* Center text for a common grid look */
}

.product-card-redesign .product-title-redesign {
    font-family: var(--font-family-heading);
    font-size: 1.05rem; /* Adjusted size */
    font-weight: 600;
    color: var(--color-text-base);
    margin-bottom: 0.35rem; /* Tighter margin */
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    min-height: 2.6em; /* Approx 2 lines */
}
.product-card-redesign .product-title-redesign a {
    color: inherit;
    text-decoration: none;
}
.product-card-redesign .product-title-redesign a:hover {
    color: var(--color-primary);
}

.product-card-redesign .product-rating { /* Assuming this class is still used */
    margin-bottom: 0.5rem;
    font-size: 0.8rem;
    /* Add styling for stars if needed */
}
.product-card-redesign .product-rating .stars {
     color: var(--color-accent); /* Or your star color */
     font-size: 0.9em;
}


.product-card-redesign .product-price-redesign {
    font-size: 1.15rem; /* Adjusted size */
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
    margin-top: auto; /* Pushes to bottom if title is short */
}

/* Button is now outside the main product-link 'a' tag */
.product-card-redesign .btn-view-product {
    display: block;
    width: 100%; /* Full width of the card */
    background-color: var(--color-secondary);
    color: #fff;
    text-align: center;
    padding: 0.75rem 1rem; /* Adjusted padding */
    font-size: 0.9rem;
    font-weight: 500;
    border: none;
    /* Remove bottom radius if card has its own radius and button is flush */
    /* border-radius: 0 0 var(--border-radius) var(--border-radius); */
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background-color 0.2s ease;
    text-decoration: none; /* Ensure it looks like a button */
    margin-top: 0.5rem; /* Space above button if info is short */
}
.product-card-redesign .btn-view-product:hover {
    background-color: color-mix(in srgb, var(--color-secondary) 85%, black);
    text-decoration: none;
    color: #fff;
}

/* Mobile Specific Adjustments for Product Grid Cards */
@media (max-width: 768px) {
    .products-grid {
        /* Already set to minmax(150px, 1fr) - this usually results in 2 columns on typical mobile */
        gap: 1rem;
    }

    .product-card-redesign .product-info-redesign {
        padding: 0.75rem;
    }

    .product-card-redesign .product-title-redesign {
        font-size: 0.9rem;
        min-height: 2.4em; /* Adjust for smaller font */
    }

    .product-card-redesign .product-price-redesign {
        font-size: 1rem;
    }

    .product-card-redesign .btn-view-product {
        padding: 0.6rem 0.8rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) { /* Very small screens, ensure 1 column if not already */
    .products-grid {
        grid-template-columns: 1fr; /* Force single column */
    }
     .product-card-redesign .product-title-redesign {
        font-size: 0.85rem;
    }
    .product-card-redesign .product-price-redesign {
        font-size: 0.95rem;
    }
}
/* Related Products Section Styling */
.related-products-section {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
    /* background-color: var(--color-bg-base); /* Optional: if you want a slightly different bg for this section */
    /* border-top: 1px solid var(--color-border); /* Optional: if you want a separator */
}

.related-products-section .section-title-redesign { /* Uses existing class */
    font-family: var(--font-family-heading);
    font-size: 1.75rem; /* Slightly smaller than main homepage section titles */
    font-weight: 600;
    color: var(--color-text-base);
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
    padding-bottom: 0.5rem;
}

/* The .products-grid and .product-card-redesign styles from global-redesign.css will apply here */
/* Header Redesign - Sidebar Toggle and Category Nav Adjustments */

.site-header-redesign .header-container-redesign {
    /* Ensure items are vertically centered */
    align-items: center;
}

.site-header-redesign .sidebar-toggle {
    background: none;
    border: none;
    color: var(--color-text-base);
    font-size: 1.5rem; /* Adjust size as needed */
    cursor: pointer;
    padding: 0.5rem; /* Add some padding for easier clicking */
    margin-right: 1rem; /* Space between toggle and logo */
    display: block; /* Ensure it's visible */
}
.site-header-redesign .sidebar-toggle:hover {
    color: var(--color-primary);
/* } */ /* This ruleset was empty and has been commented out. */

/* .site-header-redesign .logo-redesign { */
    /* Styles for logo are mostly fine */
/* } */

.site-header-redesign .main-nav-redesign ul {
    gap: 1.25rem; /* Slightly adjust gap if more items are present */
}

.site-header-redesign .main-nav-redesign a {
    font-size: 0.95rem; /* Slightly smaller if more nav items */
}


/* Responsive adjustments for the new sidebar-toggle and potentially more nav items */
@media (max-width: 992px) {
    /* .site-header-redesign .main-nav-redesign { */
        /* Current behavior is display: none; which is fine if sidebar-toggle handles mobile nav */
        /* If sidebar-toggle is for desktop only, then mobile-menu-toggle would be un-commented and styled */
    /* } */
    /* .site-header-redesign .sidebar-toggle { */
        /* This button will now be the main menu trigger on mobile too,
           unless you have a separate .mobile-menu-toggle.
           If it's the main trigger, ensure it's clearly visible and positioned.
        */
    /* } */
    /* .site-header-redesign .header-actions-redesign { */
        /* May need to adjust gap or ensure it fits with sidebar-toggle if it's on the right */
    /* } */
}

@media (max-width: 768px) {
    .site-header-redesign .sidebar-toggle {
        margin-right: 0.5rem; /* Less margin on smaller screens */
        font-size: 1.3rem;
    }
    .site-header-redesign .logo-redesign .logo-text {
        font-size: 1.5rem; /* Ensure logo doesn't get too small */
    }
     .site-header-redesign .header-actions-redesign {
        gap: 0.75rem; /* Smaller gap for actions */
    }
    .site-header-redesign .cart-icon {
        font-size: 1.1rem;
    }
     .site-header-redesign .cart-icon .cart-count{
        font-size: 0.65rem;
        top: -6px;
        right: -7px;
        padding: 1px 5px;
    }
    /* Search bar already has mobile styles to take full width */
}
/* Header Redesign - Toggle and Logo Placement */

.site-header-redesign .header-container-redesign {
    display: flex;
    align-items: center;
    /* justify-content: space-between; -- Controlled by margin on .header-left-section now */
}

.site-header-redesign .header-left-section { /* New wrapper for toggle and logo */
    display: flex;
    align-items: center;
    margin-right: auto; /* Pushes nav and actions to the right */
}

.site-header-redesign .sidebar-toggle {
    /* Existing styles for sidebar-toggle are mostly fine, ensure margin is appropriate */
    margin-right: 0.75rem; /* Space between toggle and logo */
    /* Ensure padding and font-size are from previous .sidebar-toggle rules */
}

/* Adjustments to existing responsive rules if .sidebar-toggle was the .mobile-menu-toggle */
@media (max-width: 992px) {
    .site-header-redesign .main-nav-redesign {
        display: none; 
    }
    .site-header-redesign .header-left-section {
         margin-right: 0; /* Don't push if nav is gone, rely on space-between for container */
    }
    .site-header-redesign .header-container-redesign {
        justify-content: space-between; /* Re-apply for mobile if nav is gone */
    }
}

@media (max-width: 768px) {
    /* .sidebar-toggle already has mobile size adjustments */
    /* .search-bar-container already has mobile styles to take full width on new line */
    /* .header-actions-redesign already has mobile gap adjustments */
}
/* Pagination Styling */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem 0;
    margin-top: 2rem; /* Space above pagination */
    list-style: none; 
}

.pagination .page-link {
    color: var(--color-primary);
    padding: 0.5rem 0.85rem; 
    margin: 0 0.25rem; 
    text-decoration: none;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    font-weight: 500;
    font-size: 0.9rem;
    min-width: 36px; 
    text-align: center;
}

.pagination .page-link:hover {
    background-color: var(--color-primary);
    color: var(--color-bg-surface);
    border-color: var(--color-primary);
    text-decoration: none;
}

.pagination .page-link.active {
    background-color: var(--color-primary);
    color: var(--color-bg-surface);
    border-color: var(--color-primary);
    font-weight: 700;
    cursor: default;
}

.pagination .page-link.prev,
.pagination .page-link.next {
    padding: 0.5rem 1rem;
}

/* Responsive adjustments for pagination */
@media (max-width: 480px) {
    .pagination .page-link {
        padding: 0.4rem 0.6rem;
        font-size: 0.85rem;
        margin: 0 0.15rem;
        min-width: 30px;
    }
    .pagination .page-link.prev,
    .pagination .page-link.next {
        padding: 0.4rem 0.8rem;
    }
}
/* Load More Button Styling */
.btn-load-more {
    display: block;
    width: auto; /* Auto width based on content */
    min-width: 200px; /* Minimum width */
    margin: 1.5rem auto; /* Center the button */
    padding: 0.75rem 1.5rem;
    font-family: var(--font-family-heading);
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-primary);
    background-color: transparent;
    border: 2px solid var(--color-primary);
    border-radius: var(--border-radius);
    cursor: pointer;
    text-align: center;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.1s ease;
}

.btn-load-more:hover {
    background-color: var(--color-primary);
    color: var(--color-bg-surface);
    transform: translateY(-2px);
}

.btn-load-more:active {
    transform: translateY(0);
}

.btn-load-more:disabled,
.btn-load-more.loading { /* Class for when loading or no more items */
    background-color: var(--color-border);
    border-color: var(--color-border);
    color: var(--color-text-muted);
    cursor: not-allowed;
}
.btn-load-more.hidden { /* Class to hide button if no more products */
    display: none;
}
/* Mega Menu / Sidebar Styling */
.mega-menu {
    position: fixed; 
    top: 0;
    left: -320px; /* Start off-screen (width + some buffer) */
    width: 300px; /* Desired width */
    height: 100vh; 
    background-color: var(--color-bg-surface, #fff);
    box-shadow: var(--shadow-lg, 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05));
    padding: 1.5rem 1rem;
    overflow-y: auto; 
    z-index: 1050; 
    transition: left 0.3s ease-in-out; 
}

.mega-menu.active {
    left: 0; 
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1040; 
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0s linear 0.3s;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease-in-out, visibility 0s linear 0s;
}

body.mega-menu-open {
    overflow: hidden; 
}

.mega-menu .categories {
    margin-top: 1rem;
}
.mega-menu .category-group {
    margin-bottom: 0.5rem;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 0.5rem;
}
.mega-menu .category-group:last-child {
    border-bottom: none;
}
.mega-menu .category-group h3 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.25rem;
}
.mega-menu .category-group h3 a {
    color: var(--color-text-base);
    font-weight: 600;
    text-decoration: none;
    padding: 0.5rem 0;
    flex-grow: 1;
}
.mega-menu .category-group h3 a:hover {
    color: var(--color-primary);
}
.mega-menu .subcategories {
    list-style: none;
    padding-left: 1rem; 
    margin-top: 0.25rem;
    display: none; 
}
.mega-menu .subcategories li a {
    color: var(--color-text-muted);
    text-decoration: none;
    display: block;
    padding: 0.4rem 0;
    font-size: 0.9em;
}
.mega-menu .subcategories li a:hover {
    color: var(--color-primary);
}
.mega-menu .toggle-subcategories { 
    background: none;
    border: none;
    color: var(--color-text-muted);
    cursor: pointer;
    padding: 0.5rem;
}
.mega-menu .toggle-subcategories:hover {
    color: var(--color-primary);
}
.mega-menu #categorySearch {
    width: 100%;
    padding: 0.5rem;
    margin-bottom: 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
}
/* Cookie Consent Banner Styling */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #23272b; /* Even darker for better contrast with light text */
    color: #f8f9fa; /* Off-white, high contrast */
    padding: 15px 20px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
    z-index: 1100; /* High z-index to be on top */
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    gap: 15px; /* Gap between text and button */
}

.cookie-consent-banner p {
    margin: 0;
    font-size: 0.9rem;
    flex-grow: 1; /* Allow text to take available space */
}

.cookie-consent-banner a {
    color: #82cfff; /* A light, vibrant blue for links on dark background */
    text-decoration: underline;
}

.cookie-consent-banner a:hover {
    text-decoration: none;
}

.cookie-consent-banner button.btn { /* General button styling if not using specific classes */
    padding: 8px 15px;
    font-size: 0.9rem;
    cursor: pointer;
    border-radius: var(--border-radius);
    border: none;
}
.cookie-consent-banner button#cookieAcceptBtn {
    background-color: var(--color-primary, #27ae60);
    color: var(--color-button-text, #fff);
}
.cookie-consent-banner button#cookieAcceptBtn:hover {
    background-color: var(--color-primary-dark, #229954);
}

/* Initially hidden, JS will show it if needed */
.cookie-consent-banner:not(.active) {
    display: none;
}

@media (max-width: 768px) {
    .cookie-consent-banner {
        flex-direction: column;
        text-align: center;
    }
    .cookie-consent-banner p {
        margin-bottom: 10px;
    }
}
/* Footer Links Styling */
.footer-links-redesign {
    text-align: center;
    padding: 10px 0;
    margin-top: 10px; /* Space above links */
    border-top: 1px solid var(--color-border-ultralight, #eee); /* Optional separator */
    font-size: 0.9rem;
}
.footer-links-redesign a {
    color: var(--color-text-muted); 
    text-decoration: none;
    margin: 0 10px;
}
.footer-links-redesign a:hover {
    color: var(--color-primary);
    text-decoration: underline;
}
.footer-link-separator {
    color: var(--color-text-muted);
    margin: 0 5px;
}

/* Related Sites Section Styling */
.footer-related-sites {
    /* background-color: #fff3cd; */ /* Yellow background removed */
    padding: 15px 0; /* No horizontal padding if it's within the grid columns */
    margin-top: 15px; 
    margin-bottom: 15px; 
}

.footer-related-sites h3 {
    font-family: var(--font-family-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text-base); 
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-related-sites .quick-links,
.footer-related-sites .related-sites-list { /* Target both if class varies */
    list-style: none;
    padding: 0;
    margin: 0;
    /* Consider column layout for many items if desired for "surprise" */
    /* column-count: 2; 
       column-gap: 20px; */
}

.footer-related-sites .quick-links li,
.footer-related-sites .related-sites-list li {
    display: flex; 
    align-items: center;
    margin-bottom: 0.4rem; /* Slightly reduced margin for compactness */
}

.footer-related-sites .quick-links a,
.footer-related-sites .related-sites-list a {
    color: var(--color-text-base); /* Darker for visibility */
    text-decoration: none;
    transition: color 0.2s ease, padding-left 0.2s ease; 
}

.footer-related-sites .quick-links a:hover,
.footer-related-sites .related-sites-list a:hover {
    color: var(--color-primary); 
    padding-left: 5px; 
    text-decoration: none; 
}

.country-flag-icon {
    display: inline-block;
    padding: 2px 6px; /* Adjusted padding */
    background-color: var(--color-secondary); /* "Surprise" color - Indigo */
    color: white;
    font-size: 0.75rem; 
    border-radius: 3px;
    margin-right: 8px; 
    font-weight: bold;
    min-width: 22px; 
    text-align: center;
    line-height: 1.2; 
    flex-shrink: 0;
}
</final_file_content>

IMPORTANT: For any future changes to this file, use the final_file_content shown above as your reference. This content reflects the current state of the file, including any auto-formatting (e.g., if you used single quotes but the formatter converted them to double quotes). Always base your SEARCH/REPLACE operations on this final version to ensure accuracy.



New problems detected after saving the file:
../../../../../xampp/htdocs/sak/assets/css/global-redesign.css
- [css Error] Line 1607: } expected<environment_details>
# VSCode Visible Files
../../../../../xampp/htdocs/sak/assets/css/global-redesign.css

# VSCode Open Tabs
../../../../Public/Desktop/public_html/sak/assets/js/main.js
../../../../Public/Desktop/public_html/sak/index.php
../../../../Public/Desktop/public_html/sak/.htaccess
../../../../Public/Desktop/public_html/sak/assets/css/global-redesign.css
index.php
../../../../Public/Desktop/public_html/sak/includes/product-grid.php
../../../../Public/Desktop/public_html/sak/.gitignore
../../../../Public/Desktop/public_html/sak/category.php
assets/css/cart-redesign.css
patch2.sql
patch3.sql
patch.sql
../../../../Public/Desktop/public_html/sak/cart.php
../../../../Public/Desktop/public_html/sak/product.php
assets/js/stagewise-init.js
../../../../Public/Desktop/public_html/sak/includes/footer.php
../../../../Public/Desktop/public_html/sak/admin/settings.php
../../../../Public/Desktop/public_html/sak/install/db.sql
../../../../Public/Desktop/public_html/sak/includes/database.php
../../../../../xampp/php/php.ini
../../../../../xampp/mysql/bin/my.ini
../../../../../xampp/htdocs/sak/includes/database.php
../../../../../xampp/htdocs/sak/includes/footer.php
../../../../../xampp/htdocs/sak/assets/css/global-redesign.css

# Recently Modified Files
These files have been modified since you last accessed them (file was just edited so you may need to re-read it before editing):
../../../../../xampp/htdocs/sak/assets/css/global-redesign.css

# Current Time
6/7/2025, 4:03:16 AM (Africa/Casablanca, UTC+1:00)

# Context Window Usage
658,161 / 1,048.576K tokens used (63%)

# Current Mode
ACT MODE
</environment_details>
