/* Asili Luxe Skincare Custom Styles */

/* Century Gothic Font Face Declarations */
@font-face {
    font-family: 'Century Gothic';
    src: url('../font/CenturyGothicPaneuropeanThin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Century Gothic';
    src: url('../font/CenturyGothicPaneuropeanThinItalic.ttf') format('truetype');
    font-weight: 100;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Century Gothic';
    src: url('../font/CenturyGothicPaneuropeanLight.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Century Gothic';
    src: url('../font/CenturyGothicPaneuropeanLightItalic.ttf') format('truetype');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Century Gothic';
    src: url('../font/CenturyGothicPaneuropeanRegular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Century Gothic';
    src: url('../font/CenturyGothicPaneuropeanItalic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Century Gothic';
    src: url('../font/CenturyGothicPaneuropeanSemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Century Gothic';
    src: url('../font/CenturyGothicPaneuropeanSemiBoldItalic.ttf') format('truetype');
    font-weight: 600;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Century Gothic';
    src: url('../font/CenturyGothicPaneuropeanBold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Century Gothic';
    src: url('../font/CenturyGothicPaneuropeanBoldItalic.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Century Gothic';
    src: url('../font/CenturyGothicPaneuropeanExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Century Gothic';
    src: url('../font/CenturyGothicPaneuropeanExtraBoldItalic.ttf') format('truetype');
    font-weight: 800;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Century Gothic';
    src: url('../font/CenturyGothicPaneuropeanBlack.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Century Gothic';
    src: url('../font/CenturyGothicPaneuropeanBlackItalic.ttf') format('truetype');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

:root {
    --primary-color: #1b8057;
    /* Main green */
    --dark-green: #1e6046;
    /* Darker green for hover states */
    --secondary-color: #f8c519;
    /* Gold/yellow accent */
    --gray: #626571;
    /* Medium gray */
    --light-gray: #d7d7d7;
    /* Light gray borders */
    --medium-gray: #b0b2b8;
    /* Medium gray text */
    --dark-gray: #898989;
    /* Dark gray text */
    --dark-blue: #161925;
    /* Dark blue for headings */
    --red: #e00000;
    /* Error/danger color */
    --white: #ffffff;
    /* White */
    --off-white: #f7f7f7;
    /* Background color */
    --light-green: #f3f9f5;
    /* Light green backgrounds */

    /* Admin-specific colors */
    --admin-heading: #37383d;
    /* Dark charcoal for headings */
    --admin-primary: #8b8b73;
    /* Muted olive for buttons and primary actions */
    --admin-accent: #b4b593;
    /* Light sage for hover states and accents */
    --admin-bg: #b9b0a1;
    /* Warm beige for backgrounds */
    --admin-text: #37383d;
    /* Dark charcoal for text */

    /* New Brand Colors */
    --brand-charcoal: #37383d;
    /* Dark charcoal for headings, primary text */
    --brand-olive: #8b8b73;
    /* Muted olive for buttons, section backgrounds */
    --brand-sage: #b4b593;
    /* Light sage for hover states, accents */
    --brand-beige: #b9b0a1;
    /* Warm beige for backgrounds, cards */
    --brand-light-beige: #f8f7f5;
    /* Light beige for hero and content backgrounds */
}

/* Global Styles */
body {
    font-family: 'Inter', sans-serif;
    background-color: var(--brand-light-beige);
    color: var(--brand-charcoal);
    line-height: 1.6;
}

/* Main Content Area - Exclude homepage */
body:not(.home-page) main {
    padding-bottom: 80px;
    min-height: calc(100vh - 200px);
}

/* Typography Scale */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    color: var(--brand-charcoal);
    font-family: 'Century Gothic', sans-serif;
}

h1 {
    font-size: 2rem !important;
}

h2 {
    font-size: 1.5rem !important;
}

h3 {
    font-size: 1.8rem !important;
}

/* Container Max Width */
.container {
    max-width: 1216px;
    padding-left: 32px;
    padding-right: 32px;
}

@media (max-width: 1280px) {
    .container {
        max-width: calc(100vw - 64px);
        padding-left: 32px;
        padding-right: 32px;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 100%;
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* Header Styles */
.owino-header {
    background-color: var(--brand-charcoal);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 1050;
    position: relative;
    overflow: visible;
}

.owino-header.sticky {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.main-header {
    padding: 25px 0;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.header-logo {
    flex-shrink: 0;
}

.logo {
    font-size: 1.75rem;
    font-weight: bold;
    color: var(--white);
    text-decoration: none;
    font-family: 'Century Gothic', sans-serif;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo:hover {
    opacity: 0.9;
}

.header-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.header-nav .navbar-nav {
    gap: 0;
}

.header-nav .nav-link {
    color: var(--white) !important;
    padding: 8px 20px !important;
    font-weight: 500;
    transition: all 0.3s ease;
    font-family: 'Century Gothic', sans-serif;
    font-size: 0.95rem;
}

.header-nav .nav-link:hover {
    color: var(--brand-sage) !important;
    background-color: transparent;
}

.header-nav .nav-link.active {
    color: var(--brand-sage) !important;
    background-color: transparent;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-shrink: 0;
    position: relative;
}

.header-actions .dropdown {
    position: relative;
}

.header-icon {
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    transition: all 0.3s ease;
    position: relative;
}

.header-icon:hover {
    color: var(--brand-sage);
}

.header-icon i {
    font-size: 1.25rem;
}

.header-icon-dropdown {
    color: var(--white);
    background: none;
    border: none;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    transition: color 0.3s ease;
    cursor: pointer;
}

.header-icon-dropdown:hover,
.header-icon-dropdown:focus,
.header-icon-dropdown:active {
    color: var(--brand-sage);
    background: none;
    border: none;
    box-shadow: none;
}

.header-icon-dropdown i {
    font-size: 1.25rem;
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--brand-olive);
    color: var(--white);
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
}

/* Mobile Menu Styles */
.mobile-menu-toggle {
    margin-left: auto;
    margin-right: 15px;
}

/* Mobile Flyout Menu (Left Side) */
.mobile-flyout-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 99999;
    display: none;
    pointer-events: none;
}

.mobile-flyout-menu.active {
    display: block;
    pointer-events: auto;
}

.mobile-flyout-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.mobile-flyout-menu.active .mobile-flyout-overlay {
    opacity: 1;
}

.mobile-flyout-content {
    position: fixed;
    top: 0;
    left: 0;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    background-color: var(--white);
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    z-index: 2;
}

.mobile-flyout-menu.active .mobile-flyout-content {
    transform: translateX(0);
}

.mobile-flyout-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    background-color: var(--white);
    position: sticky;
    top: 0;
    z-index: 10;
}

.mobile-flyout-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--brand-charcoal);
    padding: 0.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.mobile-flyout-close:hover {
    color: var(--brand-olive);
}

/* Mobile Flyout Menu Styles - Updated */
.mobile-nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
    overflow-y: auto;
}

.mobile-nav-menu .dropdown-item {
    padding: 14px 20px;
    font-size: 0.95rem;
    color: var(--brand-charcoal);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-family: 'Inter', sans-serif;
}

.mobile-nav-menu .dropdown-item:hover,
.mobile-nav-menu .dropdown-item.active {
    background-color: var(--brand-light-beige);
    color: var(--brand-olive);
}

.mobile-nav-menu .dropdown-item i {
    width: 24px;
    text-align: center;
    margin-right: 12px;
    font-size: 1rem;
}

.mobile-nav-menu .dropdown-divider {
    margin: 0;
    border-color: rgba(0, 0, 0, 0.1);
    height: 1px;
}

/* Mobile Menu Accordion Style */
.mobile-nav-menu .mobile-menu-item {
    position: relative;
}

.mobile-nav-menu .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    width: 100%;
}

.mobile-nav-menu .mobile-menu-chevron {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
    margin-left: auto;
}

.mobile-nav-menu .mobile-menu-toggle[aria-expanded="true"] .mobile-menu-chevron {
    transform: rotate(180deg);
}

/* Mobile Flyout Menu (Left Side) - Full Styles */
.mobile-flyout-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 99999;
    display: none;
    pointer-events: none;
}

.mobile-flyout-menu.active {
    display: block;
    pointer-events: auto;
}

.mobile-flyout-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.mobile-flyout-menu.active .mobile-flyout-overlay {
    opacity: 1;
}

.mobile-flyout-content {
    position: fixed;
    top: 0;
    left: 0;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    background-color: var(--white);
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    z-index: 2;
}

.mobile-flyout-menu.active .mobile-flyout-content {
    transform: translateX(0);
}

.mobile-flyout-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    background-color: var(--white);
    position: sticky;
    top: 0;
    z-index: 10;
}

.mobile-flyout-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--brand-charcoal);
    padding: 0.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.mobile-flyout-close:hover {
    color: var(--brand-olive);
}

/* Ensure flyout menu is only visible on mobile */
@media (min-width: 992px) {
    .mobile-flyout-menu {
        display: none !important;
    }
}

.mobile-nav-menu .mobile-submenu {
    list-style: none;
    padding: 0;
    margin: 0;
    background-color: rgba(0, 0, 0, 0.02);
    border-left: 3px solid var(--brand-olive);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-nav-menu .mobile-menu-toggle[aria-expanded="true"]+.mobile-submenu,
.mobile-nav-menu .mobile-menu-toggle[aria-expanded="true"]~.mobile-submenu,
.mobile-nav-menu .collapse.show {
    max-height: 2000px;
}

.mobile-nav-menu .mobile-submenu-item {
    padding: 12px 20px 12px 3rem !important;
    font-size: 0.9rem;
    color: var(--brand-charcoal);
    position: relative;
    display: block;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.mobile-nav-menu .mobile-submenu-item::before {
    content: '•';
    position: absolute;
    left: 2rem;
    color: var(--brand-olive);
    font-weight: bold;
}

.mobile-nav-menu .mobile-submenu-item:hover {
    background-color: var(--brand-light-beige);
    color: var(--brand-olive);
    padding-left: 3.5rem !important;
}

@media (max-width: 991px) {
    .header-content {
        flex-wrap: nowrap;
        gap: 15px;
    }

    .header-nav {
        display: none !important;
    }

    .header-logo {
        flex: 1;
    }

    .header-actions {
        flex-shrink: 0;
    }
}

.header-icon-dropdown i {
    font-size: 1.5rem;
}

.header-icon-dropdown::after {
    display: none;
}

.dropdown-menu {
    border-radius: 0.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--light-gray);
    margin-top: 10px;
    min-width: 220px;
    position: absolute;
    z-index: 1051;
}

.header-actions .dropdown-menu {
    z-index: 1052;
}

.dropdown-item {
    padding: 10px 20px;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background-color: var(--light-green);
    color: var(--primary-color);
}

.dropdown-item i {
    width: 20px;
    text-align: center;
}

/* Nested dropdown (subcategories) - Right side positioning */
.dropend {
    position: static;
}

.dropend>.dropdown-menu {
    position: absolute !important;
    top: 0 !important;
    left: 100% !important;
    margin-top: 0 !important;
    margin-left: 0.125rem !important;
    display: none !important;
    min-width: 200px;
    z-index: 1001;
}

.dropend:hover>.dropdown-menu,
.dropend>.dropdown-toggle[aria-expanded="true"]+.dropdown-menu,
.dropend>.dropdown-toggle[aria-expanded="true"]~.dropdown-menu {
    display: block !important;
}

.dropend .dropdown-toggle::after {
    margin-left: auto;
    transform: rotate(-90deg);
}

/* Ensure parent dropdown stays open when hovering nested items */
.dropdown-menu .dropend:hover>.dropdown-menu {
    display: block !important;
}

/* Ensure parent dropdown menu has relative positioning for nested dropdowns */
.main-nav .dropdown-menu {
    position: relative;
}

/* Header navigation dropdowns */
.header-nav .dropdown-menu {
    z-index: 1052;
}

/* Mobile dropdown improvements */
@media (max-width: 991.98px) {
    .dropend>.dropdown-menu {
        position: static !important;
        margin-left: 1rem;
        margin-top: 0.5rem;
        border-left: 2px solid rgba(0, 0, 0, 0.1);
        box-shadow: none;
        display: none;
        background-color: var(--brand-light-beige);
    }

    .dropend>.dropdown-toggle[aria-expanded="true"]+.dropdown-menu,
    .dropend>.dropdown-toggle[aria-expanded="true"]~.dropdown-menu {
        display: block !important;
    }

    .main-nav .dropdown-menu {
        max-height: 70vh;
        overflow-y: auto;
    }

    /* Prevent body scroll when flyout menu is open */
    body.menu-open {
        overflow: hidden;
    }
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--secondary-color);
    color: var(--dark-blue);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
}

/* Navigation - Legacy styles (kept for compatibility) */
.main-nav {
    display: none;
}

/* Buttons */
.btn-primary {
    background-color: var(--brand-olive);
    border-color: var(--brand-olive);
    color: var(--white);
    font-weight: 500;
    font-size: 1rem !important;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    font-family: 'Century Gothic', sans-serif;
}

.btn-primary:hover {
    background-color: var(--brand-sage);
    border-color: var(--brand-sage);
    color: var(--brand-charcoal);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 139, 115, 0.3);
}

.btn-secondary {
    background-color: var(--brand-beige);
    border-color: var(--brand-beige);
    color: var(--brand-charcoal);
    font-weight: 500;
    font-size: 1rem !important;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    font-family: 'Century Gothic', sans-serif;
}

.btn-secondary:hover {
    background-color: var(--brand-sage);
    border-color: var(--brand-sage);
    color: var(--brand-charcoal);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(180, 181, 147, 0.3);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 500;
    font-size: 1rem !important;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(27, 128, 87, 0.3);
}

.btn-outline-secondary {
    color: var(--secondary-color);
    border-color: var(--secondary-color);
    font-weight: 500;
    font-size: 1rem !important;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.btn-outline-secondary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--dark-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(248, 197, 25, 0.3);
}

/* Product Card Add to Cart Button */
.product-card .btn-primary {
    background-color: var(--brand-olive);
    border-color: var(--brand-olive);
    color: var(--white);
    font-weight: 400;
    border-radius: 5rem;
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    font-family: 'Century Gothic', sans-serif;
}

.product-card .btn-primary:hover {
    background-color: var(--brand-sage);
    border-color: var(--brand-sage);
    color: var(--brand-charcoal);
}

/* Hero Section */
.hero-section {
    background-color: var(--brand-light-beige);
    color: var(--brand-charcoal);
    padding: 100px 0 150px;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
}

.hero-decorative-plant {
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 300px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 300'%3E%3Cpath d='M150 0 Q180 50 170 100 Q160 150 140 180 Q120 210 100 240 Q80 270 60 300' stroke='%23b4b593' stroke-width='3' fill='none'/%3E%3Cpath d='M160 40 Q175 70 165 110 Q155 140 145 160' stroke='%238b8b73' stroke-width='2' fill='none'/%3E%3Ccircle cx='140' cy='80' r='8' fill='%238b8b73'/%3E%3Ccircle cx='155' cy='120' r='6' fill='%23b4b593'/%3E%3Ccircle cx='130' cy='140' r='7' fill='%238b8b73'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top right;
    opacity: 0.6;
    z-index: 1;
    pointer-events: none;
}

.hero-section .hero-image-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.hero-section .hero-image-circle {
    width: 500px;
    height: 500px;
    background-color: var(--brand-olive);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-section .hero-image-circle img {
    max-width: 70%;
    max-height: 70%;
    object-fit: contain;
    z-index: 2;
    position: relative;
}

/* Hero carousel styles */
.hero-section .carousel {
    position: relative;
}

.hero-section .carousel-item {
    min-height: 500px;
    transition: transform 0.8s ease-in-out;
}

.hero-section .carousel-inner {
    transition: transform 0.8s ease-in-out;
}

.hero-section .carousel-indicators,
.hero-section .carousel-control-prev,
.hero-section .carousel-control-next {
    display: none;
}

.hero-section .hero-content {
    padding-left: 40px;
    position: relative;
    z-index: 2;
}

.hero-section .hero-pre-heading {
    font-size: 0.875rem;
    color: rgba(55, 56, 61, 0.7);
    text-transform: none;
    letter-spacing: 0;
    margin-bottom: 15px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

.hero-section h1 {
    font-size: 3.5rem !important;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--brand-charcoal);
    font-family: 'Century Gothic', sans-serif;
    line-height: 1.2;
}

.hero-section .hero-description {
    font-size: 1rem;
    margin-bottom: 35px;
    color: rgba(55, 56, 61, 0.8);
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    max-width: 90%;
}

.hero-cta-btn {
    display: inline-block;
    background-color: var(--brand-olive);
    color: var(--white);
    border: none;
    padding: 14px 45px;
    border-radius: 50px;
    font-family: 'Century Gothic', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-bottom: 40px;
}

.hero-cta-btn:hover {
    background-color: var(--brand-sage);
    color: var(--brand-charcoal);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 139, 115, 0.3);
}

.hero-section .hero-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
    width: 100%;
}

.hero-pagination-arrow {
    background: none;
    border: 1px solid rgba(55, 56, 61, 0.3);
    color: var(--brand-charcoal);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.875rem;
}

.hero-pagination-arrow:hover {
    background-color: var(--brand-olive);
    border-color: var(--brand-olive);
    color: var(--white);
}

.hero-pagination-current,
.hero-pagination-total {
    font-family: 'Century Gothic', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: var(--brand-charcoal);
}

.hero-pagination-separator {
    color: rgba(55, 56, 61, 0.5);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0 120px;
    }

    .hero-decorative-plant {
        width: 150px;
        height: 200px;
    }

    .hero-section .hero-image-circle {
        width: 350px;
        height: 350px;
    }

    .hero-section .hero-content {
        padding-left: 0;
        padding-top: 40px;
        text-align: left;
    }

    .hero-section h1 {
        font-size: 2.5rem !important;
    }

    .hero-section .hero-description {
        font-size: 0.95rem;
        max-width: 100%;
    }

    .hero-cta-btn {
        padding: 12px 35px;
        font-size: 0.95rem;
    }
}

/* Category Cards */
.category-card {
    border: none;
    border-radius: 1rem;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    background-color: var(--white);
    height: 100%;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.category-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.category-card:hover .category-card i {
    transform: scale(1.1);
}

.category-card h5 {
    color: var(--dark-blue);
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 1rem;
}

.category-card p {
    color: var(--dark-gray);
    font-size: 0.875rem;
    margin: 0;
}

/* Category Thumbnails (Round) */
.category-thumbnails-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-left: -0.5rem;
    margin-right: -0.5rem;
}

.category-thumbnail-col {
    flex: 0 0 auto;
    width: 16.666666%;
    max-width: 16.666666%;
    padding: 0.5rem;
    display: flex;
    justify-content: center;
}

@media (max-width: 1199.98px) {
    .category-thumbnail-col {
        width: 16.666666%;
        max-width: 16.666666%;
    }
}

@media (max-width: 991.98px) {
    .category-thumbnail-col {
        width: 20%;
        max-width: 20%;
    }
}

@media (max-width: 767.98px) {
    .category-thumbnail-col {
        width: 33.333333%;
        max-width: 33.333333%;
    }
}

@media (max-width: 575.98px) {
    .category-thumbnail-col {
        width: 33.333333%;
        max-width: 33.333333%;
    }
}

.category-thumbnail-card {
    text-align: center;
    transition: all 0.3s ease;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.category-thumbnail-card:hover {
    transform: translateY(-5px);
}

.category-thumbnail-image-wrapper {
    width: 120px;
    height: 120px;
    position: relative;
    margin-bottom: 0.75rem;
    border-radius: 50%;
    overflow: hidden;
    background-color: var(--off-white);
    flex-shrink: 0;
}

.category-thumbnail-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.category-thumbnail-card:hover .category-thumbnail-image {
    transform: scale(1.05);
}

.category-thumbnail-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light-green);
    border-radius: 50%;
    flex-shrink: 0;
}

.category-thumbnail-placeholder i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.category-thumbnail-name {
    color: var(--dark-blue);
    font-weight: 500;
    font-size: 0.875rem;
    margin: 0;
    line-height: 1.3;
    text-align: center;
}

.category-thumbnail-card:hover .category-thumbnail-name {
    color: var(--primary-color);
}

/* Responsive adjustments for category thumbnails */
@media (max-width: 767.98px) {
    .category-thumbnail-image-wrapper {
        width: 100px;
        height: 100px;
    }

    .category-thumbnail-placeholder i {
        font-size: 2rem;
    }
}

@media (max-width: 575.98px) {
    .category-thumbnail-image-wrapper {
        width: 90px;
        height: 90px;
    }

    .category-thumbnail-placeholder i {
        font-size: 1.75rem;
    }

    .category-thumbnail-name {
        font-size: 0.8rem;
    }
}

/* Product Cards */
.product-card {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    background-color: var(--white);
    height: 100%;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background-color: var(--off-white);
    border-radius: 0.5rem 0.5rem 0 0;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-card-body {
    padding: 2rem;
}

@media (max-width: 768px) {
    .product-card-body {
        padding: 1.5rem;
    }
}

.product-title {
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Century Gothic', sans-serif;
    color: var(--brand-charcoal);
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-title a {
    color: var(--brand-charcoal);
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-title a:hover {
    color: var(--brand-olive);
}

/* Vendor title color for retailers and wholesalers */
.product-card .product-card-body .d-flex .flex-grow-1 h5.product-title {
    color: #212529 !important;
}

.product-price {
    font-size: 1.25rem;
    font-weight: 700;
    font-family: 'Century Gothic', sans-serif;
    color: var(--brand-olive);
    margin-bottom: 5px;
}

.product-old-price {
    font-size: 0.875rem;
    color: var(--medium-gray);
    text-decoration: line-through;
    margin-left: 10px;
}

.product-vendor {
    font-size: 0.875rem;
    color: var(--medium-gray);
    margin-bottom: 10px;
}

.discount-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--brand-olive);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 50px;
    font-weight: 700;
    font-family: 'Century Gothic', sans-serif;
    font-size: 0.8rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Featured Products Carousel */
#featuredProductsCarousel {
    position: relative;
}

#featuredProductsCarousel .carousel-inner {
    padding: 10px 0;
}

#featuredProductsCarousel .carousel-item {
    transition: transform 0.6s ease-in-out;
}

/* Carousel Indicators (Dots) */
.carousel-indicators {
    position: static;
    margin-top: 2rem;
    margin-bottom: 0;
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--light-gray);
    border: none;
    margin: 0 4px;
    transition: all 0.3s ease;
}

.carousel-indicators [data-bs-target].active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

.carousel-indicators [data-bs-target]:hover {
    background-color: var(--primary-color);
    opacity: 0.7;
}

#featuredProductsCarousel .carousel-indicators {
    position: relative;
    margin: 20px 0 0 0;
    bottom: 0;
}

#featuredProductsCarousel .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--light-gray);
    border: none;
    margin: 0 4px;
    transition: all 0.3s ease;
}

#featuredProductsCarousel .carousel-indicators button:hover {
    background-color: var(--primary-color);
    opacity: 0.7;
}

#featuredProductsCarousel .carousel-indicators button.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

/* Product Card Enhancements for Carousel */
#featuredProductsCarousel .product-card {
    margin-bottom: 0;
}

#featuredProductsCarousel .product-card .card-body {
    padding: 12px;
}

#featuredProductsCarousel .product-title {
    font-size: 0.9rem;
    margin-bottom: 4px;
    line-height: 1.3;
}

#featuredProductsCarousel .product-vendor {
    font-size: 0.75rem;
    margin-bottom: 6px;
}

#featuredProductsCarousel .product-price {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

/* Remove spinner arrows from number inputs */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
}

/* Product Card Actions */
.product-card-actions {
    margin-top: 0.75rem;
}

/* Quantity Selector Styles */
.product-quantity-selector {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0.75rem;
    gap: 8px;
}

.product-quantity-selector .input-group {
    width: auto !important;
    max-width: none !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 0 !important;
    flex-wrap: nowrap !important;
    position: relative;
    justify-content: center;
}

/* Ensure product cards maintain centered quantity selector */
.product-card .product-quantity-selector,
.product-card-actions .product-quantity-selector {
    justify-content: center !important;
    align-items: center !important;
}

.product-card .product-quantity-selector .input-group,
.product-card-actions .product-quantity-selector .input-group {
    justify-content: center !important;
}

.product-quantity-selector .input-group .btn,
.product-quantity-selector .input-group .form-control {
    display: inline-flex !important;
    float: none !important;
    vertical-align: middle !important;
}


.product-quantity-selector .input-group>* {
    display: inline-flex !important;
    float: none !important;
    flex-shrink: 0 !important;
}

.product-quantity-selector .quantity-decrease,
.product-quantity-selector .quantity-increase {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    padding: 0 !important;
    background-color: transparent !important;
    border: none !important;
    color: var(--brand-charcoal);
    font-weight: 700;
    font-family: 'Century Gothic', sans-serif;
    font-size: 1.2rem;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border-radius: 0 !important;
    cursor: pointer;
    flex-shrink: 0;
    margin: 0 !important;
}

.product-quantity-selector .quantity-decrease:hover,
.product-quantity-selector .quantity-increase:hover {
    background-color: var(--brand-light-beige) !important;
    color: var(--brand-olive);
}

.product-quantity-selector .quantity-decrease:active,
.product-quantity-selector .quantity-increase:active {
    background-color: var(--brand-beige) !important;
}

.product-quantity-selector .quantity-input {
    width: 50px !important;
    height: 40px !important;
    min-width: 50px !important;
    max-width: 50px !important;
    min-height: 40px !important;
    padding: 0 !important;
    border: 2px solid var(--brand-beige) !important;
    border-left: 2px solid var(--brand-beige) !important;
    border-right: 2px solid var(--brand-beige) !important;
    background-color: var(--white);
    color: var(--brand-charcoal);
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    text-align: center;
    border-radius: 4px;
    -moz-appearance: textfield;
    box-sizing: border-box;
    flex-shrink: 0;
    display: inline-block !important;
    margin: 0 !important;
    vertical-align: middle;
}

.product-quantity-selector .quantity-input::-webkit-outer-spin-button,
.product-quantity-selector .quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.product-quantity-selector .quantity-input:focus {
    border-color: var(--brand-olive);
    box-shadow: 0 0 0 0.2rem rgba(139, 139, 115, 0.25);
    outline: none;
    z-index: 1;
}

/* Product Add to Cart Button - Match Featured Products Style Exactly */
.product-card .btn.product-add-to-cart-btn,
.product-card .btn.add-to-cart-btn.product-add-to-cart-btn,
.product-card-actions .btn.product-add-to-cart-btn,
.product-card-actions .btn.add-to-cart-btn,
.product-card .product-add-to-cart-btn,
.product-card-actions .product-add-to-cart-btn,
.product-add-to-cart-btn.btn,
.product-add-to-cart-btn {
    background-color: var(--white) !important;
    color: var(--brand-charcoal) !important;
    border: 1px solid rgba(55, 56, 61, 0.2) !important;
    border-radius: 50px !important;
    padding: 12px 30px !important;
    font-family: 'Century Gothic', sans-serif !important;
    font-weight: 500 !important;
    font-size: 0.95rem !important;
    transition: all 0.3s ease !important;
    width: 100% !important;
    text-align: center !important;
    cursor: pointer !important;
    min-height: auto !important;
    height: auto !important;
    line-height: 1.5 !important;
    box-sizing: border-box !important;
    display: block !important;
    margin: 0 !important;
}

/* Override Bootstrap's default button border-radius and padding - High specificity */
.product-card button.btn.product-add-to-cart-btn,
.product-card button.btn.add-to-cart-btn,
.product-card-actions button.btn.product-add-to-cart-btn,
.product-card-actions button.btn.add-to-cart-btn,
button.btn.product-add-to-cart-btn.add-to-cart-btn,
button.product-add-to-cart-btn.add-to-cart-btn.btn {
    border-radius: 50px !important;
    padding: 12px 30px !important;
    height: auto !important;
    min-height: auto !important;
}

.product-add-to-cart-btn:hover {
    background-color: var(--brand-light-beige) !important;
    border-color: var(--brand-olive) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.product-add-to-cart-btn:active {
    transform: translateY(0);
}

.product-add-to-cart-btn i {
    font-size: 0.95rem;
    margin-right: 0.25rem;
}

/* Mobile: Reduce Add to Cart button font size for products listings */
/* Using multiple breakpoints to ensure mobile devices are caught */
@media screen and (max-width: 768px),
screen and (max-device-width: 768px),
screen and (max-width: 991px) and (orientation: portrait) {

    .product-card .product-add-to-cart-btn,
    .product-card .btn.product-add-to-cart-btn,
    .product-card .btn.add-to-cart-btn,
    .product-card-actions .product-add-to-cart-btn,
    .product-card-actions .btn.product-add-to-cart-btn,
    .product-card-actions .btn.add-to-cart-btn,
    button.btn.product-add-to-cart-btn.add-to-cart-btn {
        font-size: 0.95rem !important;
        white-space: nowrap !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0.25rem !important;
        padding: 10px 12px !important;
        text-align: center !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .product-card .product-add-to-cart-btn i,
    .product-card .btn.product-add-to-cart-btn i,
    .product-card .btn.add-to-cart-btn i,
    .product-card-actions .product-add-to-cart-btn i,
    .product-card-actions .btn.product-add-to-cart-btn i,
    .product-card-actions .btn.add-to-cart-btn i,
    .product-card .product-add-to-cart-btn i.me-1,
    .product-card .btn.product-add-to-cart-btn i.me-1,
    .product-card .btn.add-to-cart-btn i.me-1,
    .product-card-actions .product-add-to-cart-btn i.me-1,
    .product-card-actions .btn.product-add-to-cart-btn i.me-1,
    .product-card-actions .btn.add-to-cart-btn i.me-1 {
        font-size: 0.95rem !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
        margin-inline-end: 0 !important;
        margin-inline-start: 0 !important;
        padding: 0 !important;
        flex-shrink: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        width: auto !important;
    }
}

/* Extra small screens: Further reduce padding */
@media screen and (max-width: 576px),
screen and (max-device-width: 576px) {

    .product-card .product-add-to-cart-btn,
    .product-card .btn.product-add-to-cart-btn,
    .product-card .btn.add-to-cart-btn,
    .product-card-actions .product-add-to-cart-btn,
    .product-card-actions .btn.product-add-to-cart-btn,
    .product-card-actions .btn.add-to-cart-btn,
    button.btn.product-add-to-cart-btn.add-to-cart-btn {
        padding: 8px 10px !important;
        font-size: 0.95rem !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .product-card .product-add-to-cart-btn i,
    .product-card .btn.product-add-to-cart-btn i,
    .product-card .btn.add-to-cart-btn i,
    .product-card-actions .product-add-to-cart-btn i,
    .product-card-actions .btn.product-add-to-cart-btn i,
    .product-card-actions .btn.add-to-cart-btn i,
    .product-card .product-add-to-cart-btn i.me-1,
    .product-card .btn.product-add-to-cart-btn i.me-1,
    .product-card .btn.add-to-cart-btn i.me-1,
    .product-card-actions .product-add-to-cart-btn i.me-1,
    .product-card-actions .btn.product-add-to-cart-btn i.me-1,
    .product-card-actions .btn.add-to-cart-btn i.me-1 {
        font-size: 0.95rem !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
        margin-inline-end: 0 !important;
        margin-inline-start: 0 !important;
        padding: 0 !important;
    }
}

/* Product Out of Stock Button */
.product-out-of-stock-btn {
    background-color: var(--brand-beige);
    color: var(--brand-charcoal);
    border: 2px solid var(--brand-beige);
    border-radius: 4px;
    padding: 0.75rem 1rem;
    font-family: 'Century Gothic', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    opacity: 0.6;
    cursor: not-allowed;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* In Stock Indicator */
.text-success i.fa-check-circle {
    font-size: 0.875rem;
}

/* Add to Cart Button in Carousel */
#featuredProductsCarousel .add-to-cart-btn {
    font-size: 0.875rem;
    padding: 0.375rem 0.75rem;
    white-space: nowrap;
}

#featuredProductsCarousel .add-to-cart-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Compact Product Card Quantity and Add to Cart Styles */
.product-card .d-flex.align-items-center .input-group {
    width: 75px !important;
    flex-shrink: 0 !important;
}

.product-card .d-flex.align-items-center .quantity-decrease,
.product-card .d-flex.align-items-center .quantity-increase {
    padding: 0.25rem 0.35rem !important;
    font-size: 0.8rem !important;
    line-height: 1.3 !important;
    min-width: auto !important;
    border-radius: 0 !important;
}

.product-card .d-flex.align-items-center .quantity-input,
.product-card .d-flex.align-items-center input.quantity-input {
    padding: 0.25rem 0.15rem !important;
    font-size: 0.8rem !important;
    line-height: 1.3 !important;
    max-width: none !important;
    border-radius: 0 !important;
}

.product-card .d-flex.align-items-center .add-to-cart-btn,
.product-card .d-flex.align-items-center button.add-to-cart-btn {
    padding: 0.25rem 0.35rem !important;
    font-size: 0.8rem !important;
    line-height: 1.3 !important;
    border-radius: 0 !important;
}

.product-card .d-flex.align-items-center .add-to-cart-btn i {
    margin-right: 0.2rem !important;
    font-size: 0.8rem !important;
}

/* Override general button styles for product cards */
.product-card .d-flex.align-items-center .btn {
    padding: 0.25rem 0.35rem !important;
    font-size: 0.8rem !important;
}

.product-card .d-flex.align-items-center .input-group .btn {
    padding: 0.25rem 0.35rem !important;
    font-size: 0.8rem !important;
}

.product-card .d-flex.align-items-center .input-group .form-control {
    padding: 0.25rem 0.15rem !important;
    font-size: 0.8rem !important;
}

/* Responsive adjustments for carousel indicators */
@media (max-width: 767.98px) {
    #featuredProductsCarousel .carousel-indicators button {
        width: 10px;
        height: 10px;
        margin: 0 4px;
    }

    #featuredProductsCarousel .carousel-indicators button.active {
        width: 12px;
        height: 12px;
    }
}

/* Cards */
.card {
    border: none;
    border-radius: 1rem;
    transition: all 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.card-body {
    padding: 2rem;
}

@media (max-width: 768px) {
    .card-body {
        padding: 1.5rem;
    }
}

/* Form Controls */
.form-control {
    border-radius: 0.5rem;
    border: 1px solid var(--light-gray);
    padding: 0.5rem 0.75rem !important;
    font-size: 0.9rem !important;
    line-height: 1.4 !important;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(27, 128, 87, 0.25);
}

.input-group-text {
    padding: 0.5rem 0.75rem !important;
    font-size: 0.9rem !important;
    border-width: 1px !important;
}

.btn:not(.product-add-to-cart-btn):not(.add-to-cart-btn) {
    padding: 0.5rem 1rem !important;
    font-size: 0.9rem !important;
    border-width: 1px !important;
}

.form-check-input {
    border-width: 1px !important;
}

/* Breadcrumb */
.breadcrumb {
    background-color: transparent;
    padding: 0;
}

.breadcrumb-item+.breadcrumb-item::before {
    content: "›";
    color: rgba(255, 255, 255, 0.5);
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: var(--white) !important;
}

.breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.5);
}

/* Page Header Sections */
.bg-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-green) 100%) !important;
}

/* Product Detail Images */
.product-image-container {
    position: relative;
}

.product-image-container .main-image img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    border-radius: 0.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.thumbnail-images {
    flex-wrap: wrap;
}

.thumbnail-item {
    width: 80px;
    height: 80px;
    cursor: pointer;
    border: 2px solid #dee2e6;
    border-radius: 4px;
    overflow: hidden;
    transition: border-color 0.3s ease;
    flex-shrink: 0;
}

.thumbnail-item:hover {
    border-color: var(--primary-color);
}

.thumbnail-item.active {
    border-color: var(--primary-color);
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Pagination */
.pagination .page-link {
    color: var(--primary-color);
    border-color: #dee2e6;
}

.pagination .page-link:hover {
    color: var(--dark-green);
    background-color: var(--light-green);
    border-color: var(--primary-color);
}

.pagination .page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Section Headings */
.section-heading {
    font-size: 1.75rem !important;
    font-weight: 600;
    color: var(--brand-charcoal);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--brand-olive);
    font-family: 'Century Gothic', sans-serif;
}

/* Curved Section Edges */
.section-curved-top {
    position: relative;
    padding-top: 60px;
}

.section-curved-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: inherit;
    clip-path: ellipse(100% 100% at 50% 0%);
}

.section-curved-bottom {
    position: relative;
    padding-bottom: 60px;
}

.section-curved-bottom::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: inherit;
    clip-path: ellipse(100% 100% at 50% 100%);
}

/* Popular Categories Section */
.popular-categories-section {
    background-color: var(--brand-sage);
    color: var(--brand-charcoal);
    padding: 100px 0 150px 0;
    position: relative;
    margin-top: -60px;
    margin-bottom: 0;
    overflow: hidden;
}

.popular-categories-section::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 600px;
    height: 600px;
    background-color: var(--brand-olive);
    border-radius: 50% 40% 60% 30%;
    opacity: 0.6;
    z-index: 0;
    transform: rotate(-20deg);
}

.popular-categories-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background-color: var(--brand-light-beige);
    clip-path: ellipse(100% 100% at 50% 100%);
    z-index: 0;
}

.popular-categories-section .container {
    max-width: 1216px;
    padding-left: 0;
    padding-right: 0;
    margin-left: auto;
    margin-right: auto;
}

.popular-categories-section .section-heading {
    color: var(--brand-charcoal);
    border-bottom: none;
    margin-bottom: 30px;
    padding-left: 32px;
    padding-right: 32px;
    font-family: 'Century Gothic', sans-serif;
    position: relative;
    z-index: 1;
}

.popular-categories-wrapper {
    width: 100%;
    max-width: 100%;
    padding-left: 32px;
    padding-right: 32px;
    box-sizing: border-box;
    overflow: hidden;
}

.popular-categories-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: 20px;
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1152px;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
}

@media (max-width: 1280px) {
    .popular-categories-section .container {
        max-width: calc(100vw - 64px);
    }
}

@media (max-width: 768px) {
    .popular-categories-section .container {
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
        overflow-x: hidden;
    }

    .popular-categories-section {
        overflow-x: hidden;
    }

    .popular-categories-section .section-heading {
        padding-left: 16px;
        padding-right: 16px;
    }

    .popular-categories-wrapper {
        padding-left: 16px;
        padding-right: 16px;
    }

    .popular-categories-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
        width: 100%;
        max-width: 100%;
        margin: 0;
        gap: 15px;
    }

    .popular-categories-grid>a:nth-child(1) {
        grid-column: 1 / 3;
        grid-row: 1;
    }

    .popular-categories-grid>a:nth-child(2) {
        grid-column: 1;
        grid-row: 2;
    }

    .popular-categories-grid>a:nth-child(3) {
        grid-column: 2;
        grid-row: 2;
    }

    .popular-categories-grid>a:nth-child(4) {
        grid-column: 1 / 3;
        grid-row: 3;
    }

    /* Increase height of mid-row cards (second and third cards) on mobile */
    .popular-categories-grid>a:nth-child(2) .popular-category-card,
    .popular-categories-grid>a:nth-child(3) .popular-category-card {
        aspect-ratio: 4/5;
        /* Taller aspect ratio for better fit */
        min-height: 200px;
        /* Ensure minimum height */
    }

    .popular-categories-grid>a:nth-child(1) .popular-category-card,
    .popular-categories-grid>a:nth-child(4) .popular-category-card {
        aspect-ratio: 16/9;
        /* Keep wide cards as is */
    }

    .popular-category-card-name {
        font-size: 1.2rem !important;
    }
}

.popular-categories-grid>a {
    display: block;
    text-decoration: none;
}

.popular-category-card {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
    height: 100%;
}

.popular-category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* First card - Top, spans 2 columns horizontally */
.popular-categories-grid>a:nth-child(1) {
    grid-column: 1 / 3;
    grid-row: 1;
}

.popular-categories-grid>a:nth-child(1) .popular-category-card {
    aspect-ratio: 3.5/1;
}

/* Second card - Bottom left, standard size */
.popular-categories-grid>a:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
}

.popular-categories-grid>a:nth-child(2) .popular-category-card {
    aspect-ratio: 1.6/1;
}

/* Third card - Bottom middle, standard size */
.popular-categories-grid>a:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
}

.popular-categories-grid>a:nth-child(3) .popular-category-card {
    aspect-ratio: 1.6/1;
}

/* Fourth card - Right side, spans 2 rows vertically (tall) */
.popular-categories-grid>a:nth-child(4) {
    grid-column: 3;
    grid-row: 1 / 3;
}

.popular-categories-grid>a:nth-child(4) .popular-category-card {
    aspect-ratio: 3/5;
}

.popular-category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.popular-category-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(55, 56, 61, 0.6) 100%);
    display: flex;
    align-items: flex-end;
    padding: 25px;
}

.popular-category-card-name {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 600;
    font-family: 'Century Gothic', sans-serif;
    margin: 0;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

/* Mobile: Override Popular Categories card name font size - Must come after base rule */
@media screen and (max-width: 768px),
screen and (max-device-width: 768px) {
    .popular-category-card-name {
        font-size: 1.2rem !important;
    }
}

@media screen and (max-width: 576px),
screen and (max-device-width: 576px) {
    .popular-category-card-name {
        font-size: 1.2rem !important;
    }
}

@media (max-width: 991px) {
    .popular-categories-wrapper {
        padding-left: 16px;
        padding-right: 16px;
    }

    .popular-categories-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
        width: 100%;
        max-width: 100%;
        margin: 0;
        gap: 15px;
    }

    .popular-categories-grid>a:nth-child(1) {
        grid-column: 1 / 3;
        grid-row: 1;
    }

    .popular-categories-grid>a:nth-child(2) {
        grid-column: 1;
        grid-row: 2;
    }

    .popular-categories-grid>a:nth-child(3) {
        grid-column: 2;
        grid-row: 2;
    }

    .popular-categories-grid>a:nth-child(4) {
        grid-column: 1 / 3;
        grid-row: 3;
    }

    /* Increase height of mid-row cards (second and third cards) on tablet/mobile */
    .popular-categories-grid>a:nth-child(2) .popular-category-card,
    .popular-categories-grid>a:nth-child(3) .popular-category-card {
        aspect-ratio: 4/5;
        /* Taller aspect ratio for better fit */
        min-height: 200px;
        /* Ensure minimum height */
    }

    .popular-categories-grid>a:nth-child(1) .popular-category-card,
    .popular-categories-grid>a:nth-child(4) .popular-category-card {
        aspect-ratio: 16/9;
        /* Keep wide cards as is */
    }
}

@media (max-width: 576px) {
    .popular-categories-section {
        padding: 60px 0 100px 0;
    }

    .popular-category-card-name {
        font-size: 0.875rem !important;
    }

    .featured-product-large-name-text {
        font-size: 1.2rem !important;
    }

    .featured-product-small-name-text {
        font-size: 1.2rem !important;
    }
}

/* Featured Products Section */
.featured-products-section {
    background-color: var(--brand-light-beige);
    padding: 100px 0;
    position: relative;
    margin-top: -60px;
}

.featured-products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

.featured-products-header .section-heading {
    margin-bottom: 0;
    border-bottom: none;
}

.featured-products-view-all {
    background-color: var(--brand-olive);
    color: var(--white);
    border: none;
    padding: 12px 35px;
    border-radius: 50px;
    font-family: 'Century Gothic', sans-serif;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.featured-products-view-all:hover {
    background-color: var(--brand-sage);
    color: var(--brand-charcoal);
    transform: translateY(-2px);
}

.featured-products-view-all-mobile {
    background-color: var(--brand-olive);
    color: var(--white);
    border: none;
    padding: 12px 35px;
    border-radius: 50px;
    font-family: 'Century Gothic', sans-serif;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    display: inline-block;
}

.featured-products-view-all-mobile:hover {
    background-color: var(--brand-sage);
    color: var(--brand-charcoal);
    transform: translateY(-2px);
}

.featured-products-section .container {
    max-width: 1216px;
    padding-left: 0;
    padding-right: 0;
    margin-left: auto;
    margin-right: auto;
}

.featured-products-wrapper {
    width: 100%;
    max-width: 100%;
    padding-left: 32px;
    padding-right: 32px;
    box-sizing: border-box;
    overflow: hidden;
}

/* Home Products & Supplements Carousel Sections */
.home-products-carousel-section,
.home-supplements-carousel-section {
    background-color: var(--brand-light-beige);
    padding: 60px 0;
    position: relative;
}

.home-products-carousel-section {
    background-color: #b4b593;
}

.home-supplements-carousel-section {
    padding-top: 40px;
}

.home-carousel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.home-carousel-header .section-heading {
    margin-bottom: 0;
    border-bottom: none;
}

.home-carousel-see-all {
    background-color: var(--brand-olive);
    color: var(--white);
    border: none;
    padding: 12px 35px;
    border-radius: 50px;
    font-family: 'Century Gothic', sans-serif;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.home-carousel-see-all:hover {
    background-color: var(--brand-sage);
    color: var(--brand-charcoal);
    transform: translateY(-2px);
}

.home-product-carousel {
    position: relative;
    padding: 0 50px;
}

/* Horizontal scroll carousel - continuous, no gaps */
.home-product-carousel-scroll {
    overflow: hidden;
}

.home-carousel-scroll-container {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 10px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.home-carousel-scroll-container::-webkit-scrollbar {
    display: none;
}

.home-carousel-scroll-item {
    flex: 0 0 calc(25% - 0.75rem);
    min-width: calc(25% - 0.75rem);
    scroll-snap-align: start;
}

@media (max-width: 991px) {
    .home-carousel-scroll-item {
        flex: 0 0 calc(33.333% - 0.67rem);
        min-width: calc(33.333% - 0.67rem);
    }
}

@media (max-width: 768px) {
    .home-carousel-scroll-item {
        flex: 0 0 100%;
        min-width: 100%;
    }
    
    .home-carousel-scroll-container {
        gap: 1rem;
    }
}

.home-product-carousel .carousel-inner {
    padding: 10px 0;
}

.home-product-carousel .carousel-item {
    transition: transform 0.6s ease-in-out;
}

.home-product-carousel .product-card {
    margin-bottom: 0;
}

.home-product-carousel .product-card .card-body {
    padding: 12px;
}

.home-product-carousel .product-title {
    font-size: 0.9rem;
    margin-bottom: 4px;
    line-height: 1.3;
}

.home-product-carousel .product-price {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.home-carousel-control {
    width: 36px;
    height: 36px;
    background-color: var(--brand-olive);
    border: none;
    border-radius: 50%;
    color: var(--white);
    opacity: 1;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.home-carousel-control:hover {
    background-color: var(--brand-sage);
    color: var(--brand-charcoal);
    opacity: 1;
}

.home-carousel-control i {
    font-size: 1rem;
}

.home-carousel-control.carousel-control-prev {
    left: 0;
}

.home-carousel-control.carousel-control-next {
    right: 0;
}

@media (max-width: 768px) {
    .home-product-carousel {
        padding: 0 32px;
    }
    
    .home-carousel-control {
        width: 28px;
        height: 28px;
    }
    
    .home-carousel-control i {
        font-size: 0.75rem;
    }
}

.featured-products-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: 20px;
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow: hidden;
}

/* Large product card link wrapper */
.featured-product-large-link {
    grid-column: 1;
    grid-row: 1 / 3;
    display: block;
    text-decoration: none;
    width: 100%;
    height: 100%;
    max-width: 100%;
    overflow: hidden;
}

/* Large product card - Left side, spans 2 rows vertically (tall) */
.featured-product-large {
    background: linear-gradient(135deg, #e8e6d3 0%, #d4d2b8 100%);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-product-large-link:hover .featured-product-large {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}

.featured-product-large-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    aspect-ratio: 3/5;
    /* Same as Popular Categories card 4 */
}

.featured-product-large-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-product-large-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(55, 56, 61, 0.85) 0%, rgba(55, 56, 61, 0.6) 50%, transparent 100%);
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.featured-product-large-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.featured-product-large-name-overlay {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.featured-product-large-name-text {
    color: var(--white);
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    font-size: 1.75rem;
    font-weight: 700;
    font-family: 'Century Gothic', sans-serif;
    flex: 1;
}

/* Mobile: Override Featured Products large name font size - Must come after base rule */
@media screen and (max-width: 768px),
screen and (max-device-width: 768px) {
    .featured-product-large-name-text {
        font-size: 1.2rem !important;
    }
}

@media screen and (max-width: 576px),
screen and (max-device-width: 576px) {
    .featured-product-large-name-text {
        font-size: 1.2rem !important;
    }
}

.featured-product-large-price-overlay {
    color: var(--white);
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    font-size: 1rem;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
}


.featured-product-add-to-cart-btn {
    background-color: var(--white);
    color: var(--brand-charcoal);
    border: 1px solid rgba(55, 56, 61, 0.2);
    padding: 12px 30px;
    border-radius: 50px;
    font-family: 'Century Gothic', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
    width: 100%;
    text-align: center;
}

.featured-product-add-to-cart-btn:hover {
    background-color: var(--brand-light-beige);
    border-color: var(--brand-olive);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Small products grid - Right side */
.featured-products-small-grid {
    grid-column: 2 / 4;
    grid-row: 1 / 3;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: 20px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

/* First small product - Top left of right side */
.featured-products-small-grid>.featured-product-small-link:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
}

.featured-products-small-grid>.featured-product-small-link:nth-child(1) .featured-product-small {
    aspect-ratio: 1.6/1;
    /* Same as Popular Categories cards 2 & 3 */
}

/* Second small product - Top right of right side */
.featured-products-small-grid>.featured-product-small-link:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
}

.featured-products-small-grid>.featured-product-small-link:nth-child(2) .featured-product-small {
    aspect-ratio: 1.6/1;
    /* Same as Popular Categories cards 2 & 3 */
}

/* Third small product - Bottom, spans both columns */
.featured-products-small-grid>.featured-product-small-link:nth-child(3) {
    grid-column: 1 / 3;
    grid-row: 2;
}

.featured-products-small-grid>.featured-product-small-link:nth-child(3) .featured-product-small {
    aspect-ratio: 3.5/1;
    /* Same as Popular Categories card 1 */
}

.featured-product-small-link {
    display: block;
    text-decoration: none;
    width: 100%;
    height: 100%;
    max-width: 100%;
    overflow: hidden;
}

.featured-product-small {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.featured-product-small-link:hover .featured-product-small {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.featured-product-small-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.featured-product-small-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(55, 56, 61, 0.85) 0%, rgba(55, 56, 61, 0.6) 50%, transparent 100%);
    padding: 20px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.featured-product-small-name-overlay {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.featured-product-small-name-text {
    color: var(--white);
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    font-size: 1.1rem;
    font-weight: 700;
    font-family: 'Century Gothic', sans-serif;
    flex: 1;
    line-height: 1.3;
}

/* Mobile: Override Featured Products small name font size - Must come after base rule */
@media screen and (max-width: 768px),
screen and (max-device-width: 768px) {
    .featured-product-small-name-text {
        font-size: 1.2rem !important;
    }
}

@media screen and (max-width: 576px),
screen and (max-device-width: 576px) {
    .featured-product-small-name-text {
        font-size: 1.2rem !important;
    }
}

.featured-product-small-price-overlay {
    color: var(--white);
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    font-size: 0.9rem;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
}

.featured-product-small-add-to-cart-btn {
    background-color: var(--white);
    color: var(--brand-charcoal);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px 20px;
    border-radius: 50px;
    font-family: 'Century Gothic', sans-serif;
    font-weight: 500;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    text-align: center;
    z-index: 2;
    position: relative;
}

.featured-product-small-add-to-cart-btn:hover {
    background-color: var(--brand-light-beige);
    border-color: var(--brand-olive);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

@media (max-width: 1280px) {
    .featured-products-section .container {
        max-width: calc(100vw - 64px);
    }
}

@media (max-width: 768px) {
    .featured-products-section .container {
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
        overflow-x: hidden;
    }

    .featured-products-section {
        overflow-x: hidden;
    }

    .featured-products-header {
        padding-left: 16px;
        padding-right: 16px;
    }

    .featured-products-view-all {
        display: none;
    }

    .featured-products-wrapper {
        padding-left: 16px;
        padding-right: 16px;
    }

    .featured-products-layout {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
        width: 100%;
        max-width: 100%;
        margin: 0;
        gap: 15px;
    }

    .featured-product-large-link {
        grid-column: 1 / 3;
        grid-row: 1;
    }

    .featured-product-large-image-wrapper {
        aspect-ratio: 16/9;
        /* Same as Popular Categories mobile */
    }

    .featured-products-small-grid {
        grid-column: 1 / 3;
        grid-row: 2;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

    .featured-products-small-grid>.featured-product-small-link:nth-child(1) {
        grid-column: 1;
        grid-row: 1;
    }

    .featured-products-small-grid>.featured-product-small-link:nth-child(2) {
        grid-column: 2;
        grid-row: 1;
    }

    .featured-product-large-name-text {
        font-size: 1.2rem !important;
    }

    .featured-product-small-name-text {
        font-size: 1.2rem !important;
    }

    .featured-products-small-grid>.featured-product-small-link:nth-child(3) {
        grid-column: 1 / 3;
        grid-row: 2;
    }

    /* Increase height of mid-row cards (first two small cards) on mobile */
    .featured-products-small-grid>.featured-product-small-link:nth-child(1) .featured-product-small,
    .featured-products-small-grid>.featured-product-small-link:nth-child(2) .featured-product-small {
        aspect-ratio: 4/5;
        /* Taller aspect ratio for better fit */
        min-height: 200px;
        /* Ensure minimum height */
    }

    .featured-products-small-grid>.featured-product-small-link:nth-child(3) .featured-product-small {
        aspect-ratio: 16/9;
        /* Same as Popular Categories mobile */
    }
}

/* Essence Section */
.essence-section {
    background-color: #9fa38a;
    color: var(--white);
    padding: 120px 0 100px;
    position: relative;
    margin-top: -60px;
    overflow: hidden;
}

.essence-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background-color: var(--brand-light-beige);
    clip-path: ellipse(100% 100% at 50% 0%);
}

.essence-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.essence-content {
    position: relative;
}

.essence-content h2 {
    font-size: 3rem !important;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 30px;
    margin-top: 0;
    font-family: 'Century Gothic', sans-serif;
    line-height: 1;
    letter-spacing: -2px;
}

.essence-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 35px;
    line-height: 1.7;
    font-family: 'Inter', sans-serif;
    max-width: 90%;
}

.essence-btn {
    background-color: rgba(255, 255, 255, 0.95);
    color: var(--brand-charcoal);
    border: none;
    padding: 14px 45px;
    border-radius: 50px;
    font-family: 'Century Gothic', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.essence-btn:hover {
    background-color: var(--white);
    color: var(--brand-charcoal);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.essence-image-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.essence-image-circle {
    width: 500px;
    height: 500px;
    background-color: var(--brand-light-beige);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

@media (max-width: 991px) {
    .essence-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }


    .essence-content {
        text-align: left;
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .essence-content h2 {
        font-size: 2.5rem !important;
        margin-top: 0;
    }

    .essence-description {
        max-width: 100%;
    }

    .essence-image-wrapper {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .essence-image-circle {
        width: 400px;
        height: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .essence-section {
        padding: 80px 0;
    }

    .essence-content {
        padding-top: 30px;
        padding-bottom: 0px;
    }

    .essence-image-wrapper {
        padding-top: 0px;
        padding-bottom: 30px;
    }

    .essence-content h2 {
        font-size: 2rem !important;
    }

    .essence-image-circle {
        width: 300px;
        height: 300px;
    }

    .essence-description {
        font-size: 0.95rem;
    }
}

/* Footer */
footer {
    background-color: #44523b;
}

.owino-footer {
    background-color: #44523b;
    color: var(--white);
    padding: 100px 0 30px;
    margin-top: -60px;
    position: relative;
}

.footer-logo {
    text-align: center;
    margin-bottom: 50px;
}

.footer-logo img {
    max-height: 70px;
    width: auto;
}

.footer-logo-text {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    font-family: 'Century Gothic', sans-serif;
    margin: 0;
    text-decoration: none;
    display: inline-block;
}

.footer-logo-text:hover {
    color: var(--white);
    opacity: 0.9;
}

.footer-logo:hover {
    opacity: 0.9;
}

.footer-columns {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
    align-items: start;
}

.footer-section-large {
    text-align: center;
}

.footer-section-small {
    text-align: left;
}

.footer-section h5 {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 1rem;
    font-family: 'Century Gothic', sans-serif;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.footer-section a:hover {
    color: var(--white) !important;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Inter', sans-serif;
    margin-bottom: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    margin-top: 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Inter', sans-serif;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--white);
}

.social-links {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    transition: background-color 0.3s;
}

.social-links a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

@media (max-width: 991px) {
    .footer-columns {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-section-large,
    .footer-section-small {
        text-align: center;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem !important;
    }

    .hero-section p {
        font-size: 1rem;
    }

    .btn-lg {
        padding: 0.75rem 1.25rem;
        font-size: 1rem;
    }

    /* Hide main navigation on mobile */
    .main-nav {
        display: none;
    }

    .header-actions {
        gap: 10px;
    }

    .header-icon {
        width: 35px;
        height: 35px;
    }

    .header-icon i {
        font-size: 1.25rem;
    }

    .header-icon-dropdown {
        width: 35px;
        height: 35px;
    }

    .header-icon-dropdown i {
        font-size: 1.25rem;
    }

    .mobile-menu-toggle {
        order: 2;
    }

    .header-actions {
        order: 3;
    }

    /* Hide search bar on mobile */
    .main-header .col-md-6 {
        display: none;
    }

    /* Keep logo and header actions on same line */
    .main-header .row {
        flex-wrap: nowrap;
        align-items: center;
    }

    /* Adjust logo and header actions to be side by side */
    .main-header .col-md-2 {
        flex: 0 0 auto;
        max-width: none;
        width: auto;
    }

    .main-header .col-md-4 {
        flex: 1 1 auto;
        max-width: none;
        width: auto;
    }

    .top-bar .row {
        align-items: flex-end !important;
        flex-wrap: nowrap;
    }

    .top-bar .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
        width: 50%;
        display: flex;
        align-items: flex-end;
    }

    .top-bar .col-md-6:first-child {
        justify-content: flex-start;
        text-align: left;
    }

    .top-bar .col-md-6.text-end {
        justify-content: flex-end;
        text-align: right;
    }
}

/* Review Rating Styles */
.rating-input {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 5px;
}

.rating-input input[type="radio"] {
    display: none;
}

.rating-input label.star-label {
    cursor: pointer;
    font-size: 1.5rem;
    color: #ccc;
    transition: color 0.2s;
}

.rating-input label.star-label:hover,
.rating-input label.star-label:hover~label.star-label {
    color: #ffc107;
}

.rating-input input[type="radio"]:checked~label.star-label,
.rating-input input[type="radio"]:checked+label.star-label {
    color: #ffc107;
}

/* Utility Classes */
.text-shadow {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-green) 100%);
}

.bg-gradient-secondary {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #e6b017 100%);
}

.bg-gradient-light {
    background: linear-gradient(135deg, var(--off-white) 0%, var(--light-green) 100%);
}

.border-primary {
    border-color: var(--primary-color) !important;
}

.border-secondary {
    border-color: var(--secondary-color) !important;
}

.shadow-primary {
    box-shadow: 0 4px 20px rgba(27, 128, 87, 0.15);
}

.shadow-secondary {
    box-shadow: 0 4px 20px rgba(248, 197, 25, 0.15);
}

.text-secondary {
    color: var(--secondary-color) !important;
}

.bg-secondary {
    background-color: var(--secondary-color) !important;
}

.bg-owino-light {
    background-color: var(--off-white);
}

.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

/* Cart Page Styles */
.cart-item {
    transition: background-color 0.2s ease;
}

.cart-item:hover {
    background-color: #f8f9fa;
}

.cart-item:last-child {
    border-bottom: none !important;
}

.cart-item .quantity-input {
    max-width: 60px;
    font-size: 0.875rem;
    padding: 0.25rem 0.5rem;
    text-align: center;
}

.cart-item .input-group-sm .btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    min-width: 32px;
}

.cart-item .input-group-sm .btn-outline-secondary {
    border-color: #dee2e6 !important;
    color: #6c757d !important;
}

.cart-item .input-group-sm .btn-outline-secondary:hover {
    background-color: #e9ecef !important;
    border-color: #dee2e6 !important;
    color: #495057 !important;
}

@media (max-width: 768px) {
    .cart-item .row {
        flex-direction: column;
    }

    .cart-item .col-3 {
        margin-bottom: 1rem;
    }

    .cart-item .col-9 {
        width: 100%;
    }
}

/* Mobile Bottom Navigation */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid #e9ecef;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: flex;
    padding: 2px 0;
    padding-bottom: calc(2px + env(safe-area-inset-bottom));
}

.mobile-bottom-nav .mobile-nav-item {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mobile-bottom-nav .mobile-nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #6c757d;
    padding: 2px 6px;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
    min-height: 36px;
    width: 100%;
}

.mobile-bottom-nav .mobile-nav-link i {
    font-size: 16px;
    margin-bottom: 2px;
    transition: all 0.3s ease;
}

.mobile-bottom-nav .mobile-nav-link span {
    font-size: 9px;
    font-weight: 500;
    text-align: center;
    line-height: 1.2;
    transition: all 0.3s ease;
}

.mobile-bottom-nav .mobile-nav-item.active .mobile-nav-link,
.mobile-bottom-nav .mobile-nav-link:hover {
    color: var(--primary-color);
    background-color: #f3f9f5;
}

.mobile-bottom-nav .mobile-nav-item.active .mobile-nav-link i,
.mobile-bottom-nav .mobile-nav-link:hover i {
    transform: scale(1.1);
}

/* Cart Badge on Mobile Nav */
.mobile-bottom-nav .cart-badge {
    position: absolute;
    top: -2px;
    right: calc(50% - 12px);
    background: #dc3545;
    color: white;
    font-size: 8px;
    font-weight: bold;
    padding: 1px 4px;
    border-radius: 8px;
    min-width: 14px;
    height: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Active State Animation */
.mobile-bottom-nav .mobile-nav-item.active .mobile-nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 0 0 2px 2px;
}

/* Responsive adjustments for mobile nav */
@media (max-width: 375px) {
    .mobile-bottom-nav .mobile-nav-link {
        padding: 3px 6px;
        min-height: 36px;
    }

    .mobile-bottom-nav .mobile-nav-link i {
        font-size: 14px;
    }

    .mobile-bottom-nav .mobile-nav-link span {
        font-size: 8px;
    }
}

/* Ensure content doesn't get hidden behind bottom nav on mobile */
@media (max-width: 767.98px) {
    body {
        padding-bottom: 50px;
    }
}

@media (min-width: 768px) {
    body {
        padding-bottom: 0;
    }
}

/* Quill Editor HTML Content Styles */
.product-description,
.product-short-description {
    line-height: 1.6;
    color: var(--brand-charcoal, #37383d);
}

.product-description p,
.product-short-description p {
    margin-bottom: 1rem;
}

.product-description p:last-child,
.product-short-description p:last-child {
    margin-bottom: 0;
}

.product-description h1,
.product-description h2,
.product-description h3,
.product-description h4,
.product-description h5,
.product-description h6,
.product-short-description h1,
.product-short-description h2,
.product-short-description h3,
.product-short-description h4,
.product-short-description h5,
.product-short-description h6 {
    font-family: 'Century Gothic', sans-serif;
    font-weight: 700;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    color: var(--brand-charcoal, #37383d);
}

.product-description h1,
.product-short-description h1 {
    font-size: 2rem;
}

.product-description h2,
.product-short-description h2 {
    font-size: 1.75rem;
}

.product-description h3,
.product-short-description h3 {
    font-size: 1.5rem;
}

.product-description h4,
.product-short-description h4 {
    font-size: 1.25rem;
}

.product-description ul,
.product-description ol,
.product-short-description ul,
.product-short-description ol {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.product-description li,
.product-short-description li {
    margin-bottom: 0.5rem;
}

.product-description a,
.product-short-description a {
    color: var(--brand-olive, #8b8b73);
    text-decoration: underline;
}

.product-description a:hover,
.product-short-description a:hover {
    color: var(--brand-sage, #b4b593);
}

.product-description strong,
.product-short-description strong {
    font-weight: 700;
}

.product-description em,
.product-short-description em {
    font-style: italic;
}

.product-description blockquote,
.product-short-description blockquote {
    border-left: 4px solid var(--brand-olive, #8b8b73);
    padding-left: 1rem;
    margin-left: 0;
    margin-bottom: 1rem;
    font-style: italic;
    color: var(--brand-charcoal, #37383d);
}

.product-description img,
.product-short-description img {
    max-width: 100%;
    height: auto;
    margin: 1rem 0;
    border-radius: 8px;
}

.product-description code,
.product-short-description code {
    background-color: rgba(139, 139, 115, 0.1);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

.product-description pre,
.product-short-description pre {
    background-color: rgba(139, 139, 115, 0.1);
    padding: 1rem;
    border-radius: 8px;
    overflow-x: auto;
    margin-bottom: 1rem;
}

.product-description pre code,
.product-short-description pre code {
    background-color: transparent;
    padding: 0;
}

/* Force Product Add to Cart Button Styles - Match Featured Products Exactly */
/* Override Bootstrap .btn defaults completely */
button.btn.product-add-to-cart-btn.add-to-cart-btn,
button.product-add-to-cart-btn.add-to-cart-btn.btn,
.product-card button.btn.product-add-to-cart-btn.add-to-cart-btn,
.product-card-actions button.btn.product-add-to-cart-btn.add-to-cart-btn,
.product-card .product-add-to-cart-btn.btn,
.product-card-actions .product-add-to-cart-btn.btn,
.product-card .btn.product-add-to-cart-btn,
.product-card-actions .btn.product-add-to-cart-btn {
    background-color: var(--white) !important;
    color: var(--brand-charcoal) !important;
    border: 1px solid rgba(55, 56, 61, 0.2) !important;
    border-radius: 50px !important;
    padding: 12px 30px !important;
    font-family: 'Century Gothic', sans-serif !important;
    font-weight: 500 !important;
    font-size: 0.95rem !important;
    height: auto !important;
    min-height: auto !important;
    line-height: normal !important;
    width: 100% !important;
    text-align: center !important;
    display: block !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

/* Mobile: Override font size for Add to Cart buttons - Must come after the above rule */
/* Using multiple breakpoints and device-width to ensure mobile devices are caught */
@media screen and (max-width: 768px),
screen and (max-device-width: 768px),
screen and (max-width: 991px) and (orientation: portrait) {

    button.btn.product-add-to-cart-btn.add-to-cart-btn,
    button.product-add-to-cart-btn.add-to-cart-btn.btn,
    .product-card button.btn.product-add-to-cart-btn.add-to-cart-btn,
    .product-card-actions button.btn.product-add-to-cart-btn.add-to-cart-btn,
    .product-card .product-add-to-cart-btn.btn,
    .product-card-actions .product-add-to-cart-btn.btn,
    .product-card .btn.product-add-to-cart-btn,
    .product-card-actions .btn.product-add-to-cart-btn,
    .product-card .product-add-to-cart-btn,
    .product-card .btn.product-add-to-cart-btn,
    .product-card .btn.add-to-cart-btn,
    .product-card-actions .product-add-to-cart-btn,
    .product-card-actions .btn.product-add-to-cart-btn,
    .product-card-actions .btn.add-to-cart-btn {
        font-size: 0.95rem !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0.25rem !important;
        padding: 10px 12px !important;
        white-space: nowrap !important;
    }

    button.btn.product-add-to-cart-btn.add-to-cart-btn i,
    button.product-add-to-cart-btn.add-to-cart-btn.btn i,
    .product-card button.btn.product-add-to-cart-btn.add-to-cart-btn i,
    .product-card-actions button.btn.product-add-to-cart-btn.add-to-cart-btn i,
    .product-card .product-add-to-cart-btn.btn i,
    .product-card-actions .product-add-to-cart-btn.btn i,
    .product-card .btn.product-add-to-cart-btn i,
    .product-card-actions .btn.product-add-to-cart-btn i,
    .product-card .product-add-to-cart-btn i,
    .product-card .btn.product-add-to-cart-btn i,
    .product-card .btn.add-to-cart-btn i,
    .product-card-actions .product-add-to-cart-btn i,
    .product-card-actions .btn.product-add-to-cart-btn i,
    .product-card-actions .btn.add-to-cart-btn i,
    .product-card .product-add-to-cart-btn i.me-1,
    .product-card .btn.product-add-to-cart-btn i.me-1,
    .product-card .btn.add-to-cart-btn i.me-1,
    .product-card-actions .product-add-to-cart-btn i.me-1,
    .product-card-actions .btn.product-add-to-cart-btn i.me-1,
    .product-card-actions .btn.add-to-cart-btn i.me-1 {
        font-size: 0.95rem !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
        margin-inline-end: 0 !important;
        margin-inline-start: 0 !important;
        padding: 0 !important;
        flex-shrink: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        width: auto !important;
    }
}

@media screen and (max-width: 576px),
screen and (max-device-width: 576px) {

    button.btn.product-add-to-cart-btn.add-to-cart-btn,
    button.product-add-to-cart-btn.add-to-cart-btn.btn,
    .product-card button.btn.product-add-to-cart-btn.add-to-cart-btn,
    .product-card-actions button.btn.product-add-to-cart-btn.add-to-cart-btn,
    .product-card .product-add-to-cart-btn.btn,
    .product-card-actions .product-add-to-cart-btn.btn,
    .product-card .btn.product-add-to-cart-btn,
    .product-card-actions .btn.product-add-to-cart-btn,
    .product-card .product-add-to-cart-btn,
    .product-card .btn.product-add-to-cart-btn,
    .product-card .btn.add-to-cart-btn,
    .product-card-actions .product-add-to-cart-btn,
    .product-card-actions .btn.product-add-to-cart-btn,
    .product-card-actions .btn.add-to-cart-btn {
        font-size: 0.95rem !important;
        padding: 8px 10px !important;
    }

    button.btn.product-add-to-cart-btn.add-to-cart-btn i,
    button.product-add-to-cart-btn.add-to-cart-btn.btn i,
    .product-card button.btn.product-add-to-cart-btn.add-to-cart-btn i,
    .product-card-actions button.btn.product-add-to-cart-btn.add-to-cart-btn i,
    .product-card .product-add-to-cart-btn.btn i,
    .product-card-actions .product-add-to-cart-btn.btn i,
    .product-card .btn.product-add-to-cart-btn i,
    .product-card-actions .btn.product-add-to-cart-btn i,
    .product-card .product-add-to-cart-btn i,
    .product-card .btn.product-add-to-cart-btn i,
    .product-card .btn.add-to-cart-btn i,
    .product-card-actions .product-add-to-cart-btn i,
    .product-card-actions .btn.product-add-to-cart-btn i,
    .product-card-actions .btn.add-to-cart-btn i,
    .product-card .product-add-to-cart-btn i.me-1,
    .product-card .btn.product-add-to-cart-btn i.me-1,
    .product-card .btn.add-to-cart-btn i.me-1,
    .product-card-actions .product-add-to-cart-btn i.me-1,
    .product-card-actions .btn.product-add-to-cart-btn i.me-1,
    .product-card-actions .btn.add-to-cart-btn i.me-1 {
        font-size: 0.95rem !important;
    }
}

/* Product Detail Page Styles */
.product-detail-title {
    font-family: 'Century Gothic', sans-serif;
    font-weight: 700;
    color: var(--brand-charcoal);
    font-size: 2rem;
    line-height: 1.2;
}

.product-detail-price {
    font-family: 'Century Gothic', sans-serif;
    font-weight: 600;
    color: var(--brand-charcoal);
    font-size: 1.75rem;
}

.product-detail-price-current {
    font-family: 'Century Gothic', sans-serif;
    font-weight: 600;
    color: var(--brand-charcoal);
    font-size: 1.75rem;
}

.product-detail-price-compare {
    font-family: 'Inter', sans-serif;
    color: var(--text-muted);
    text-decoration: line-through;
    font-size: 1.25rem;
}

/* Product Detail Quantity Selector - Match Product Card Style */
.product-detail-page .product-quantity-selector {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    margin-bottom: 0;
    gap: 8px;
}

.product-detail-page .product-quantity-selector .input-group {
    width: auto !important;
    max-width: none !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 0 !important;
    flex-wrap: nowrap !important;
    position: relative;
    justify-content: flex-start;
}

.product-detail-page .product-quantity-selector .quantity-decrease,
.product-detail-page .product-quantity-selector .quantity-increase {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    padding: 0 !important;
    background-color: transparent !important;
    border: none !important;
    color: var(--brand-charcoal);
    font-weight: 700;
    font-family: 'Century Gothic', sans-serif;
    font-size: 1.2rem;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border-radius: 0 !important;
    cursor: pointer;
    flex-shrink: 0;
    margin: 0 !important;
}

.product-detail-page .product-quantity-selector .quantity-decrease:hover,
.product-detail-page .product-quantity-selector .quantity-increase:hover {
    background-color: var(--brand-light-beige) !important;
    color: var(--brand-olive);
}

.product-detail-page .product-quantity-selector .quantity-input {
    width: 50px !important;
    height: 40px !important;
    min-width: 50px !important;
    max-width: 50px !important;
    min-height: 40px !important;
    padding: 0 !important;
    border: 2px solid var(--brand-beige) !important;
    border-left: 2px solid var(--brand-beige) !important;
    border-right: 2px solid var(--brand-beige) !important;
    background-color: var(--white);
    color: var(--brand-charcoal);
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    text-align: center;
    border-radius: 4px;
    -moz-appearance: textfield;
    box-sizing: border-box;
    flex-shrink: 0;
    display: inline-block !important;
    margin: 0 !important;
    vertical-align: middle;
}

.product-detail-page .product-quantity-selector .quantity-input:focus {
    border-color: var(--brand-olive) !important;
    box-shadow: 0 0 0 0.2rem rgba(139, 139, 115, 0.25);
    outline: none;
    z-index: 1;
}

/* Product Detail Add to Cart Button */
.product-detail-page .product-add-to-cart-btn,
#addToCartBtn.product-add-to-cart-btn {
    background-color: var(--white) !important;
    color: var(--brand-charcoal) !important;
    border: 1px solid rgba(55, 56, 61, 0.2) !important;
    border-radius: 50px !important;
    padding: 12px 30px !important;
    font-family: 'Century Gothic', sans-serif !important;
    font-weight: 500 !important;
    font-size: 0.95rem !important;
    transition: all 0.3s ease !important;
    width: 100% !important;
    text-align: center !important;
    cursor: pointer !important;
    min-height: auto !important;
    height: auto !important;
    line-height: normal !important;
    box-sizing: border-box !important;
    display: block !important;
    margin: 0 !important;
}

.product-detail-page .product-add-to-cart-btn:hover,
#addToCartBtn.product-add-to-cart-btn:hover {
    background-color: var(--brand-light-beige) !important;
    border-color: var(--brand-olive) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* 2-Column Mega Dropdown Menu Styles */
.dropdown-menu-mega {
    min-width: 400px;
    padding: 1rem;
}

.dropdown-menu-mega .row {
    margin: 0;
}

.dropdown-menu-mega .col-6 {
    padding: 0 0.5rem;
}

.dropdown-menu-mega .list-unstyled {
    padding: 0;
}

.dropdown-menu-mega .dropdown-item {
    padding: 0.5rem 0.75rem;
    white-space: nowrap;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: var(--brand-charcoal);
    transition: all 0.2s ease;
}

.dropdown-menu-mega .dropdown-item:hover {
    background-color: var(--brand-light-beige);
    color: var(--brand-olive);
    padding-left: 1rem;
}

.dropdown-menu-mega .dropdown-item:active {
    background-color: var(--brand-beige);
    color: var(--brand-charcoal);
}

/* Product Pagination Styles */
.product-pagination .page-link {
    color: var(--brand-charcoal);
    border-color: var(--brand-beige);
    padding: 0.5rem 0.75rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s ease;
}

.product-pagination .page-link:hover {
    background-color: var(--brand-olive);
    color: var(--white);
    border-color: var(--brand-olive);
}

.product-pagination .page-item.active .page-link {
    background-color: var(--brand-olive);
    border-color: var(--brand-olive);
    color: var(--white);
    font-weight: 600;
}

.product-pagination .page-item.disabled .page-link {
    color: var(--brand-beige);
    background-color: transparent;
    border-color: var(--brand-beige);
    opacity: 0.5;
    cursor: not-allowed;
}

.product-pagination .page-link i {
    font-size: 0.875rem;
}