/*
Green Palette (main #556F46)
----------------------------
Shades: #556f46, #4c633f, #445838, #3b4d31, #33422a, #2a3723, #222c1c, #192115, #11160e, #080b07, #000000
Tints:  #556f46, #667d58, #768b6a, #889a7d, #99a890, #aab7a2, #bbc5b5, #ccd3c7, #dde2da, #eef0ec, #ffffff
*/

/* ==========================================================================
   Custom Fonts - AC Raleway
   ========================================================================== */

   @font-face {
    font-family: 'AC Raleway';
    src: url('/assets/fonts/ACRaleway/TTF/AC-Ralewaythin.ttf') format('truetype'),
         url('/assets/fonts/ACRaleway/OTF/AC-Ralewaythin.otf') format('opentype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'AC Raleway';
    src: url('/assets/fonts/ACRaleway/TTF/AC-RalewayExtraLight.ttf') format('truetype'),
         url('/assets/fonts/ACRaleway/OTF/AC-RalewayExtraLight.otf') format('opentype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'AC Raleway';
    src: url('/assets/fonts/ACRaleway/TTF/AC-RalewayLite.ttf') format('truetype'),
         url('/assets/fonts/ACRaleway/OTF/AC-RalewayLite.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'AC Raleway';
    src: url('/assets/fonts/ACRaleway/TTF/AC-RalewayRegular.ttf') format('truetype'),
         url('/assets/fonts/ACRaleway/OTF/AC-RalewayRegular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'AC Raleway';
    src: url('/assets/fonts/ACRaleway/TTF/AC-RalewayMedium.ttf') format('truetype'),
         url('/assets/fonts/ACRaleway/OTF/AC-RalewayMedium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'AC Raleway';
    src: url('/assets/fonts/ACRaleway/TTF/AC-RalewaySemiBold.ttf') format('truetype'),
         url('/assets/fonts/ACRaleway/OTF/AC-RalewaySemiBold.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'AC Raleway';
    src: url('/assets/fonts/ACRaleway/TTF/AC-RalewayExtraBold.ttf') format('truetype'),
         url('/assets/fonts/ACRaleway/OTF/AC-RalewayExtraBold.otf') format('opentype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'AC Raleway';
    src: url('/assets/fonts/ACRaleway/TTF/AC-RalewayHeavy.ttf') format('truetype'),
         url('/assets/fonts/ACRaleway/OTF/AC-RalewayHeavy.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* ==========================================================================
   CSS Variables
   ========================================================================== */

:root {
    /* Fonts */
    --font-primary: 'AC Raleway', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-system: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Color Palette - shades and tints only */
    --color-main: #556f46;
    --color-sage: #556f46;
    --color-cream: #eef0ec;
    --color-olive: #4c633f;
    --color-accent: #dde2da;

    /* Semantic Colors */
    --color-bg-dark: #556f46;
    --color-bg-darker: #4c633f;
    --color-secondary: #4c633f;
    --color-text-light: #ffffff;
    --color-text-muted: #eef0ec;
}

/* ==========================================================================
   Base Styles
   ========================================================================== */

body {
    font-family: var(--font-primary);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
}

/* ==========================================================================
   Breadcrumb Bar
   ========================================================================== */

.breadcrumb-bar {
    width: 100%;
    background-color: #eef0ec;
    padding: 0.75rem 0;
}

.breadcrumb-bar:empty {
    display: none;
}

/* Scroll to top button (global, all pages) */
.scroll-to-top-btn {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 1030;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #ffffff;
    color: #33422a;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(0.5rem);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease, box-shadow 0.2s ease;
}

.scroll-to-top-btn.scroll-to-top-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top-btn:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    color: var(--color-sage);
}

.scroll-to-top-btn i {
    font-size: 1.25rem;
    line-height: 1;
}

.breadcrumb-bar .container {
    padding-left: 1rem;
    padding-right: 1rem;
}

.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.9rem;
    gap: 0.35rem;
}

.breadcrumb-item {
    display: inline-flex;
    align-items: center;
}

.breadcrumb-item a {
    color: var(--color-bg-darker);
    text-decoration: none;
    font-weight: 500;
}

.breadcrumb-item a:hover {
    color: var(--color-sage);
}

.breadcrumb-current {
    color: var(--color-olive);
    font-weight: 500;
}

.breadcrumb-sep {
    color: var(--color-olive);
    opacity: 0.8;
    pointer-events: none;
}

/* ==========================================================================
   Announcement Bar
   ========================================================================== */

.announcement-bar {
    background: linear-gradient(to right, #2a3723, #3b4d31, #2a3723);
    padding: 0.35rem 0;
    text-align: center;
    border-bottom: 1px solid var(--color-secondary);
}

.announcement-carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    width: 100%;
    margin: 0 auto;
}

.announcement-arrow {
    background: none;
    border: none;
    color: var(--color-text-light);
    font-size: 0.7rem;
    padding: 0.15rem 0.25rem;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s ease;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.announcement-arrow i {
    font-size: inherit;
}

.announcement-arrow:hover {
    opacity: 1;
}

.announcement-slides {
    position: relative;
    min-height: 1.5rem;
    overflow: hidden;
    flex: 1;
    min-width: 0;
    max-width: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.announcement-text {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-light);
    font-size: 0.85rem;
    margin: 0;
    letter-spacing: 0.3px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.announcement-text.active {
    position: relative;
    opacity: 1;
    pointer-events: auto;
}

/* ==========================================================================
   Navbar Styles
   ========================================================================== */

.navbar {
    background-color: var(--color-bg-dark);
}

.navbar-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

/* Menu button (left) - MENOY style */
.navbar-menu-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    min-width: 72px;
    padding: 0.6rem 1rem;
    background: rgba(42, 55, 35, 0.5);
    border: none;
    border-radius: 12px;
    color: #ffffff;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.15s ease;
}

.navbar-menu-btn:hover {
    background: rgba(59, 77, 49, 0.65);
    color: #ffffff;
}

.navbar-menu-icon {
    font-size: 1.75rem;
    line-height: 1;
}

.navbar-menu-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

@media (max-width: 575.98px) {
    .navbar-menu-label {
        display: none;
    }

    .navbar-menu-btn {
        min-width: 48px;
        padding: 0.5rem;
    }
}

.navbar-toggler-custom {
    background: none;
    border: none;
    color: var(--color-text-light);
    font-size: 1.5rem;
    padding: 0.5rem;
    cursor: pointer;
    position: relative;
    transition: color 0.2s ease;
}

.navbar-toggler-custom:hover {
    color: var(--color-accent);
}

.navbar-brand-center {
    color: var(--color-text-light);
    font-size: 1.5rem;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 2px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.navbar-brand-center:hover {
    color: var(--color-accent);
}

.navbar-logo {
    height: 40px;
    width: auto;
}

.cart-badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--color-accent);
    color: #33422a;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 0.15rem 0.4rem;
    border-radius: 50%;
    line-height: 1;
}

.navbar-right-icons {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Spotlight Search */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 11, 7, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 15vh;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-modal {
    width: 100%;
    max-width: 800px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    transform: scale(0.95) translateY(-20px);
    transition: transform 0.2s ease;
    margin: 0 1rem;
}

.search-overlay.active .search-modal {
    transform: scale(1) translateY(0);
}

.search-input-wrapper {
    display: flex;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #dde2da;
}

.search-icon {
    font-size: 1.25rem;
    color: #889a7d;
    margin-right: 1rem;
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1.25rem;
    font-weight: 500;
    color: #33422a;
    background: transparent;
    padding: 0.5rem 0;
}

.search-input::placeholder {
    color: #99a890;
}

.search-kbd {
    background: #eef0ec;
    border: 1px solid #ccd3c7;
    border-radius: 4px;
    padding: 0.2rem 0.5rem;
    font-size: 0.75rem;
    color: #445838;
    font-family: inherit;
}

@media (max-width: 991.98px) {
    .search-kbd {
        display: none !important;
    }
}

.search-results {
    max-height: 500px;
    overflow-y: auto;
}

@media (max-width: 991.98px) {
    .search-overlay {
        padding-top: 8vh;
        align-items: flex-start;
    }
    .search-modal {
        max-height: 70vh;
        display: flex;
        flex-direction: column;
    }
    .search-results {
        max-height: 50vh;
        overflow-y: auto;
    }
}

.search-hint {
    padding: 2rem;
    text-align: center;
    color: #889a7d;
}

.search-hint p {
    margin: 0;
}

.search-section {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #dde2da;
}

.search-section:last-child {
    border-bottom: none;
}

.search-section-title {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #889a7d;
    margin-bottom: 0.75rem;
    letter-spacing: 0.5px;
}

.search-items {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.search-item {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.15s ease;
}

.search-item:hover {
    background-color: #eef0ec;
}

.search-item-img {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 8px;
    object-fit: cover;
    margin-right: 1rem;
}

.search-item-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.search-item-title {
    font-weight: 600;
    color: #33422a;
    font-size: 0.95rem;
}

.search-item-category {
    font-size: 0.8rem;
    color: #889a7d;
}

.search-item-price {
    font-weight: 600;
    color: var(--color-sage);
}

.search-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.search-category {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #eef0ec;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #3b4d31;
    text-decoration: none;
    transition: all 0.15s ease;
}

.search-category-img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.search-category:hover {
    background: var(--color-sage);
    color: #ffffff;
}

.search-category:hover .search-category-img {
    /* Turn menu SVG icons white on hover */
    filter: brightness(0) invert(1);
}

.search-no-results {
    padding: 2rem;
    text-align: center;
    color: #889a7d;
}

.search-no-results p {
    margin: 0;
}

/* Offcanvas Menus */
.offcanvas-menu .nav-link,
.offcanvas-cart .nav-link {
    color: #33422a;
    padding: 0.75rem 0;
    border-bottom: 1px solid #dde2da;
    transition: color 0.2s ease;
}

.offcanvas-menu .nav-link:hover,
.offcanvas-cart .nav-link:hover {
    color: var(--color-sage);
}

.offcanvas-menu .nav-link.active {
    color: var(--color-sage);
}

.cart-empty {
    color: #445838;
}

/* Offcanvas cart: item spacing so remove button doesn’t overlap title */
#cart-items-container {
    padding: 0.75rem 1rem 1rem;
}
#cart-items-container .cart-item,
.offcanvas-cart .cart-item {
    margin-bottom: 1.25rem;
    padding: 1rem 2.75rem 1rem 1.25rem;
}
#cart-items-container .cart-item:last-child,
.offcanvas-cart .cart-item:last-child {
    margin-bottom: 0;
}
.offcanvas-cart .remove-item-btn {
    top: 0.75rem;
    right: 0.75rem;
}

/* Sliding Menu */
.sliding-menu {
    position: relative;
    overflow: hidden;
    height: 100%;
}

.menu-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.menu-panel.active {
    transform: translateX(0);
}

.menu-panel.slide-out {
    transform: translateX(-100%);
}

.menu-panel.menu-main {
    position: relative;
    transform: translateX(0);
}

.menu-panel.menu-main.slide-out {
    position: absolute;
    transform: translateX(-100%);
}

.menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.35rem 1.5rem;
    color: #2a3723;
    text-decoration: none;
    border-bottom: 1px solid #dde2da;
    transition: all 0.2s ease;
    font-weight: 600;
    font-size: 1.15rem;
}

.menu-item:hover {
    background-color: #eef0ec;
    color: var(--color-sage);
}

.menu-item-content {
    display: flex;
    align-items: center;
}

.menu-item-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.menu-item-title {
    font-weight: 600;
}

.menu-item-subtitle {
    font-size: 0.78rem;
    font-weight: 500;
    color: #889a7d;
    margin-top: 0.2rem;
}

.menu-item-content i {
    font-size: 1.25rem;
    color: #33422a;
}

.menu-item-img {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 8px;
    object-fit: cover;
    margin-right: 0.75rem;
}

.menu-item:hover .menu-item-content i {
    color: var(--color-sage);
}

.menu-back-item {
    color: var(--color-sage) !important;
    font-weight: 600;
    justify-content: flex-start;
}

.menu-back-item:hover {
    background-color: #eef0ec;
    color: var(--color-sage) !important;
}

.offcanvas-menu .offcanvas-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #2a3723;
    letter-spacing: 0.02em;
}

.offcanvas-menu .offcanvas-header {
    padding-bottom: 1rem;
    margin-bottom: 0.25rem;
}

/* ==========================================================================
   Pre-footer wave section
   ========================================================================== */

.pre-footer-wave {
    width: 100%;
    aspect-ratio: 1440 / 150;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' version='1.1' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:svgjs='http://svgjs.dev/svgjs' width='1440' height='150' preserveAspectRatio='none' viewBox='0 0 1440 150'%3e%3cg mask='url(%26quot%3b%23SvgjsMask1011%26quot%3b)' fill='none'%3e%3cpath d='M 0%2c26 C 144%2c35.6 432%2c77.8 720%2c74 C 1008%2c70.2 1296%2c20.4 1440%2c7L1440 150L0 150z' fill='%23445838'%3e%3c/path%3e%3cpath d='M 0%2c117 C 96%2c111.8 288%2c91.6 480%2c91 C 672%2c90.4 768%2c111.6 960%2c114 C 1152%2c116.4 1344%2c105.2 1440%2c103L1440 150L0 150z' fill='%23556f46'%3e%3c/path%3e%3c/g%3e%3cdefs%3e%3cmask id='SvgjsMask1011'%3e%3crect width='1440' height='150' fill='white'%3e%3c/rect%3e%3c/mask%3e%3c/defs%3e%3c/svg%3e");
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
}

/* ==========================================================================
   Footer Styles
   ========================================================================== */

.footer {
    background-color: #556f46;
    /* background-image: url("data:image/svg+xml,%3Csvg width='30' height='30' viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M15 0C6.716 0 0 6.716 0 15c8.284 0 15-6.716 15-15zM0 15c0 8.284 6.716 15 15 15 0-8.284-6.716-15-15-15zm30 0c0-8.284-6.716-15-15-15 0 8.284 6.716 15 15 15zm0 0c0 8.284-6.716-15-15-15 0 8.284 6.716 15 15 15z' fill='%23d4af37' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E"); */
}

.footer-logo-link {
    display: inline-block;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

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

.footer-logo {
    display: block;
    height: auto;
    max-height: 48px;
    width: auto;
}

.footer h5,
.footer h6 {
    font-weight: 600;
    letter-spacing: 0.5px;
    text-decoration: underline;
    text-decoration-color: #4c633f;
    text-decoration-thickness: 8px;
    text-underline-offset: -6px;
    text-decoration-skip-ink: none;
}

.footer-heading-accent {
    color: var(--color-text-light);
    font-weight: 500;
    text-transform: none;
    font-size: 1.35rem;
}

.footer-contact-block {
    display: flex;
    align-items: center;
}

.footer-contact-block p {
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-links {
    line-height: 2.2;
}

.footer-links a {
    color: var(--color-text-light);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.footer-contact {
    line-height: 2.4;
}

.footer-contact li {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.footer-contact i {
    min-width: 24px;
    color: var(--color-accent);
}

.footer-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    flex-shrink: 0;
    filter: brightness(0) invert(1);
}

.footer-social {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: flex-start;
    gap: 1.8rem;
}

.footer-social-triangle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.3rem;
    height: 3.3rem;
    background: #ffffff57;
    color: #ffffff;
    text-decoration: none;
    border-radius: 0.6rem;
    transform: rotate(45deg);
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.footer-social-triangle i {
    font-size: 1.5rem;
    transform: rotate(-45deg);
    display: block;
    line-height: 1;
}

.footer-social-triangle:hover {
    background: var(--color-text-light);
    color: #33422a;
    transform: rotate(45deg) translateY(-3px);
}

.footer-language-switcher {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.footer-lang-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text-light);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.footer-lang-link:hover {
    color: var(--color-accent);
}

.footer-lang-link.active {
    font-weight: 600;
    color: #fff;
    pointer-events: none;
}

.footer-lang-flag {
    display: block;
    flex-shrink: 0;
    border-radius: 2px;
}

.footer-lang-sep {
    color: rgba(255, 255, 255, 0.5);
    user-select: none;
}

.footer-bottom {
    background: linear-gradient(to right, #2a3723, #3b4d31, #2a3723);
    border-top: 1px solid var(--color-secondary);
    font-size: 0.9rem;
}

.fossasoft-link {
    color: var(--color-text-light);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    vertical-align: middle;
}

.fossasoft-link:hover {
    color: var(--color-text-light);
}

.fossasoft-icon {
    width: 28px;
    height: 28px;
    vertical-align: middle;
}

.icon-white {
    filter: brightness(0) invert(1);
}

/* ==========================================================================
   Features Section
   ========================================================================== */

/* ==========================================================================
   Hero Banners + Slider Section
   ========================================================================== */

.hero-banners-section {
    background-color: #ffffff;
}

.hero-banners-row {
    align-items: stretch;
}

.hero-banners-row > [class*="col-"] {
    display: flex;
}

.hero-banners {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    height: 100%;
    min-height: 580px;
}

.hero-banner {
    display: block;
    flex: 1;
    min-height: 0;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-banner:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 11, 7, 0.12);
}

.hero-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-banner img {
    min-height: 100%;
}

.hero-slider-wrapper {
    overflow: hidden;
    width: 100%;
    height: 100%;
    min-height: 580px;
    background: #eef0ec;
}

.hero-swiper {
    width: 100%;
    height: 100%;
    min-height: 580px;
}

.hero-slide {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 580px;
    overflow: hidden;
    text-decoration: none;
}

.hero-slide-img {
    width: 100%;
    height: 100%;
    min-height: 580px;
    object-fit: cover;
    display: block;
}

@media (max-width: 991.98px) {
    .hero-banners {
        min-height: 320px;
    }

    .hero-slider-wrapper,
    .hero-swiper,
    .hero-slide,
    .hero-slide-img {
        min-height: 320px;
    }
}

.hero-swiper .swiper-pagination-bullet {
    background: #ffffff;
    opacity: 0.6;
}

.hero-swiper .swiper-pagination-bullet-active {
    opacity: 1;
    background: #ffffff;
}

.hero-swiper .swiper-button-prev,
.hero-swiper .swiper-button-next {
    color: #ffffff;
}

.hero-swiper .swiper-button-prev::after,
.hero-swiper .swiper-button-next::after {
    font-size: 1.5rem;
}

/* ==========================================================================
   Categories Carousel
   ========================================================================== */

.categories-carousel-section {
    background-color: #ffffff;
}

.categories-carousel-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    text-align: left;
}

.categories-carousel-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: #33422a;
    margin-bottom: 0.5rem;
    text-decoration: underline;
    text-decoration-color: rgba(85, 111, 70, 0.18);
    text-decoration-thickness: 8px;
    text-underline-offset: -6px;
    text-decoration-skip-ink: none;
}

.categories-carousel-subtitle {
    font-size: 0.95rem;
    color: #445838;
    margin: 0;
    text-align: left;
}

.categories-swiper {
    padding: 2rem 2.5rem 1rem;
    overflow: hidden;
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
}

.category-card-label {
    width: 140px;
    height: 140px;
    border-radius: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 600;
    color: #33422a;
    text-align: center;
    padding: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 11, 7, 0.06);
}

.category-card-pastel-1 .category-card-label,
.category-card-pastel-2 .category-card-label,
.category-card-pastel-3 .category-card-label {
    background-color: #ffffff;
}

.category-card-title {
    display: block;
    margin-top: 0.75rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: #3b4d31;
    text-align: center;
}

.categories-swiper .swiper-button-prev,
.categories-swiper .swiper-button-next {
    color: #3b4d31;
}

.categories-swiper .swiper-button-prev::after,
.categories-swiper .swiper-button-next::after {
    font-size: 1.5rem;
    font-weight: 600;
}

/* ==========================================================================
   Trending Items
   ========================================================================== */

.trending-section {
    background-color: #ffffff;
}

/* Product sliders (home popular + product related) */
.popular-products-swiper,
.related-products-swiper {
    overflow: hidden;
    padding-bottom: 0.5rem; /* no pagination bullets */
}

/* (Pagination removed for these sliders; arrows only) */

/* Product details: related products block */
.related-products-section {
    border-top: 1px solid rgba(85, 111, 70, 0.12);
}

/* Give slides breathing room (for card shadows/rounded corners) */
.related-products-swiper {
    padding: 0.25rem;
}

.related-products-swiper .swiper-wrapper {
    align-items: stretch;
}

.related-products-swiper .swiper-slide {
    height: auto;
}

.related-products-swiper .trending-card {
    height: 100%;
}

.related-products-swiper:active {
    cursor: grabbing;
}

/* Slider arrows in header */
.slider-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 999px;
    border: none;
    background: var(--color-sage);
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.slider-arrow i {
    font-size: 1.1rem;
    line-height: 1;
}

.slider-arrow:hover {
    background: var(--color-olive);
    color: #ffffff;
}

.slider-arrow:disabled,
.swiper-button-disabled.slider-arrow {
    opacity: 0.4;
    cursor: not-allowed;
    box-shadow: none;
}

/* ==========================================================================
   Toasts (white background + colored border)
   ========================================================================== */

.toast {
    border-radius: 12px;
    border: 1px solid rgba(0, 11, 7, 0.10);
    box-shadow: 0 12px 36px rgba(0, 11, 7, 0.12);
    background: #ffffff !important;
    color: #33422a !important;
    overflow: hidden;
}

/* Override bootstrap helper classes used in JS (text-white + bg-*) */
.toast.text-white {
    color: #33422a !important;
}

.toast.bg-success,
.toast.bg-danger,
.toast.bg-info,
.toast.bg-warning,
.toast.bg-primary,
.toast.bg-secondary,
.toast.bg-dark {
    background: #ffffff !important;
}

/* Type borders */
.toast.bg-success { border-color: rgba(47, 179, 128, 0.45) !important; }
.toast.bg-danger  { border-color: rgba(218, 41, 46, 0.45) !important; }
.toast.bg-info    { border-color: rgba(40, 123, 181, 0.45) !important; }
.toast.bg-warning { border-color: rgba(244, 189, 97, 0.55) !important; }
.toast.bg-primary { border-color: rgba(52, 89, 230, 0.35) !important; }
.toast.bg-dark    { border-color: rgba(33, 37, 41, 0.25) !important; }

.toast .toast-body {
    color: inherit;
    font-weight: 500;
    padding-left: 0.75rem;
}

.toast .btn-close-white {
    filter: none !important;
    opacity: 0.6;
}

.toast .btn-close-white:hover {
    opacity: 0.9;
}

/* Hide product carousel arrows on mobile */
@media (max-width: 575.98px) {
    .popular-products-prev,
    .popular-products-next,
    .related-products-prev,
    .related-products-next {
        display: none !important;
    }
}

/* Search page: min height so footer stays at bottom even with no/few results */
.search-page-section {
    min-height: calc(100vh - 220px);
}

.trending-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    text-align: left;
}

.trending-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: #33422a;
    margin-bottom: 0.5rem;
    text-decoration: underline;
    text-decoration-color: rgba(85, 111, 70, 0.18);
    text-decoration-thickness: 8px;
    text-underline-offset: -6px;
    text-decoration-skip-ink: none;
}

.trending-subtitle {
    font-size: 0.95rem;
    color: #445838;
    margin: 0;
    text-align: left;
}

.trending-card {
    display: block;
    text-decoration: none;
    color: inherit;
}

.trending-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    margin-bottom: 0.75rem;
}

.trending-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.trending-badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: var(--color-sage);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.trending-card-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #33422a;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.trending-card:hover .trending-card-title {
    color: var(--color-sage);
}

.trending-card-prices {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.trending-price {
    font-size: 1rem;
    font-weight: 600;
    color: #33422a;
}

.trending-price-old {
    font-size: 0.85rem;
    color: #889a7d;
    text-decoration: line-through;
}

.trending-price.sale {
    color: var(--color-sage);
}

/* ==========================================================================
   Narrow Banners Section
   ========================================================================== */

.narrow-banners-section {
    background-color: #ffffff;
}

.narrow-banner {
    display: block;
    overflow: hidden;
    height: 140px;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.narrow-banner:hover {
    opacity: 0.92;
}

.narrow-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.25s ease;
}

.narrow-banner:hover img {
    transform: scale(1.03);
}

@media (min-width: 768px) {
    .narrow-banner {
        height: 120px;
    }
}

/* ==========================================================================
   Blog Section
   ========================================================================== */

.blog-section {
    background-color: #ffffff;
}

.blog-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    text-align: left;
}

.blog-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: #33422a;
    margin-bottom: 0.5rem;
    text-decoration: underline;
    text-decoration-color: rgba(85, 111, 70, 0.18);
    text-decoration-thickness: 8px;
    text-underline-offset: -6px;
    text-decoration-skip-ink: none;
}

.blog-subtitle {
    font-size: 0.95rem;
    color: #445838;
    margin: 0;
    text-align: left;
}

.blog-section .page-content {
    color: #33422a;
    line-height: 1.65;
    max-width: 900px;
}

.blog-section .page-content p {
    margin-bottom: 1rem;
}

.blog-section .page-content p:last-child {
    margin-bottom: 0;
}

.blog-card {
    display: block;
    text-decoration: none;
    color: inherit;
}

.blog-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 400 / 260;
    margin-bottom: 0.75rem;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.2s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.03);
}

.blog-card-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #33422a;
    margin-bottom: 0.35rem;
    line-height: 1.35;
}

.blog-card:hover .blog-card-title {
    color: var(--color-sage);
}

.blog-card-date {
    font-size: 0.8rem;
    color: #889a7d;
}

/* ==========================================================================
   Features Section
   ========================================================================== */

.features-section {
    background-color: #ffffff;
}

.features-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    text-align: left;
}

.features-section-more {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-sage);
    text-decoration: none;
    white-space: nowrap;
}

.features-section-more:hover {
    color: var(--color-olive);
}

.features-section-more i {
    font-size: 1rem;
}

.features-section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2a3723;
    text-align: left;
    margin-bottom: 0.5rem;
    text-decoration: underline;
    text-decoration-color: rgba(85, 111, 70, 0.18);
    text-decoration-thickness: 8px;
    text-underline-offset: -6px;
    text-decoration-skip-ink: none;
}

.features-section-subtitle {
    font-size: 0.95rem;
    color: #445838;
}

.features-section .container {
    background-color: #eef0ec;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    margin: 0 auto;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
}

.features-section .feature-item--link {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s ease;
}

.features-section .feature-item--link:hover {
    opacity: 0.9;
}

.features-section .feature-item--link:hover .feature-title {
    color: var(--color-olive);
}

.feature-icon {
    flex-shrink: 0;
    line-height: 1;
}

.feature-svg-icon {
    width: 48px;
    height: 48px;
    display: block;
}

.feature-content {
    flex: 1;
}

.feature-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: inline;
    color: #2a3723;
    text-transform: none;
    text-decoration: underline;
    text-decoration-color: rgba(85, 111, 70, 0.18);
    text-decoration-thickness: 8px;
    text-underline-offset: -6px;
    text-decoration-skip-ink: none;
}

.feature-text {
    font-size: 0.9rem;
    color: #445838;
    margin-bottom: 0;
}

.features-section .feature-text--shipping {
    font-size: 1rem;
    line-height: 1.5;
}

/* ==========================================================================
   Category Page – Filters & Sort
   ========================================================================== */

.category-filter-card {
    background-color: #ffffff;
    padding: 1.5rem 1.25rem;
    position: sticky;
    top: 1rem;
    border: 1px solid #e2e6df;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.category-filter-card .trending-title.category-filter-card-title {
    margin-bottom: 1.5rem;
}

.category-filter-group {
    margin-bottom: 1.5rem;
}

.category-filter-group:last-of-type {
    margin-bottom: 0;
}

.category-filter-subtitle {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.6rem;
    text-transform: none;
    letter-spacing: 0;
}

.category-filter-search {
    width: 100%;
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
    color: #1a1a1a;
    background-color: #ffffff;
    border: 1px solid #d1d5ce;
    border-radius: 8px;
    margin-bottom: 0.75rem;
}

.category-filter-search::placeholder {
    color: #9ca398;
}

.category-filter-search:focus {
    border-color: rgba(85, 111, 70, 0.5);
    box-shadow: 0 0 0 2px rgba(85, 111, 70, 0.12);
    outline: none;
}

.category-filter-options {
    margin-top: 0.25rem;
}

.category-filter-options-scroll {
    max-height: 200px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 4px;
}

.category-filter-options-scroll::-webkit-scrollbar {
    width: 6px;
}

.category-filter-options-scroll::-webkit-scrollbar-track {
    background: #f0f1ee;
    border-radius: 3px;
}

.category-filter-options-scroll::-webkit-scrollbar-thumb {
    background: rgba(85, 111, 70, 0.35);
    border-radius: 3px;
}

.category-filter-options-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(85, 111, 70, 0.5);
}

.category-filter-group .form-check {
    margin-bottom: 0.5rem;
    padding-left: 0;
    min-height: auto;
    display: flex;
    align-items: flex-start;
    gap: 0.9rem; /* space between checkbox and label */
}

.category-filter-group .form-check-input.category-filter-check {
    width: 1.1rem;
    height: 1.1rem;
    margin: 0;
    margin-top: 0.15rem; /* align with multi-line labels */
    margin-left: 0 !important; /* reset Bootstrap negative margin */
    float: none !important; /* reset Bootstrap float */
    flex-shrink: 0;
    border: 1px solid #d1d5ce;
    border-radius: 4px;
    background-color: #ffffff;
}

.category-filter-group .form-check-input.category-filter-check:checked {
    background-color: var(--color-sage);
    border-color: var(--color-sage);
}

.category-filter-group .form-check-label {
    font-size: 0.9rem;
    font-weight: 400;
    color: #1a1a1a;
    cursor: pointer;
    margin: 0;
    line-height: 1.25;
    flex: 1;
    min-width: 0;
    padding-left: 0 !important; /* reset any Bootstrap spacing */
}

.category-filter-clear-btn {
    background-color: #ffffff;
    color: #dc3545;
    border: 1px solid #dc3545;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.6rem 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.category-filter-clear-btn:hover {
    background-color: rgba(220, 53, 69, 0.06);
    color: #b02a37;
    border-color: #b02a37;
}

/* Mobile: floating Filters button (bottom left) – higher, float animation, glowing shadow */
@keyframes category-fab-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.category-filters-fab {
    position: fixed;
    bottom: 3rem;
    left: 1.25rem;
    z-index: 1040;
    background: var(--color-sage);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.65rem 1.25rem;
    box-shadow:
        0 4px 14px rgba(85, 111, 70, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset,
        0 0 24px rgba(85, 111, 70, 0.35);
    animation: category-fab-float 2.5s ease-in-out infinite;
}

.category-filters-fab:hover {
    background: var(--color-olive);
    color: #ffffff;
    box-shadow:
        0 6px 18px rgba(85, 111, 70, 0.45),
        0 0 0 1px rgba(255, 255, 255, 0.12) inset,
        0 0 32px rgba(85, 111, 70, 0.4);
}

.category-filters-fab.category-filters-fab-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

/* Mobile: filters offcanvas (same look as desktop filter card) */
.category-filters-offcanvas.offcanvas-start {
    max-width: 320px;
}

.category-filters-offcanvas .offcanvas-header .offcanvas-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: #33422a;
    text-decoration: underline;
    text-decoration-color: rgba(85, 111, 70, 0.18);
    text-decoration-thickness: 8px;
    text-underline-offset: -6px;
    text-decoration-skip-ink: none;
}

.category-filters-offcanvas .category-filter-card {
    position: static;
    box-shadow: none;
}

.category-sort-bar {
    padding: 0.25rem 0;
}

.category-sort-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #445838;
    margin-bottom: 0;
}

.category-sort-select {
    width: auto;
    min-width: 200px;
    border-color: rgba(85, 111, 70, 0.25);
    border-radius: 8px;
    font-size: 0.9rem;
    color: #33422a;
}

.category-sort-select:focus {
    border-color: var(--color-sage);
    box-shadow: 0 0 0 0.2rem rgba(85, 111, 70, 0.15);
}

/* Category filters: helper states used by JS */
.filter-search-container {
    position: relative;
}

.filter-search-loading {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    display: none;
}

.filter-item.filter-hidden {
    display: none !important;
}

.filter-item.filter-dependent-hidden {
    display: none !important;
    opacity: 0.6;
}

/* Mobile offcanvas footer button */
.apply-filters-btn {
    background: var(--color-sage);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    padding: 0.8rem 1rem;
}

.apply-filters-btn:hover {
    background: var(--color-olive);
    color: #ffffff;
}

/* Load more button */
.load-more-btn {
    background: var(--color-sage);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    transition: background 0.2s ease;
}

.load-more-btn:hover {
    background: var(--color-olive);
    color: #ffffff;
}

.load-more-btn:disabled {
    background: #adb5bd;
    color: #ffffff;
    opacity: 0.85;
    cursor: not-allowed;
}

/* Category product cards: add-to-cart button removed (category uses home-style cards) */

/* ==========================================================================
   404 Page
   ========================================================================== */

.error-404-section {
    min-height: 50vh;
    display: flex;
    align-items: center;
    background-color: #ffffff;
}

.error-404-content {
    max-width: 520px;
    margin: 0 auto;
}

.error-404-code {
    font-size: 4rem;
    font-weight: 800;
    color: var(--color-sage);
    line-height: 1;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.error-404-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: #33422a;
    margin-bottom: 0.75rem;
}

.error-404-text {
    font-size: 1rem;
    color: #445838;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.error-404-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.25rem;
    background-color: var(--color-sage);
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.error-404-btn:hover {
    background-color: var(--color-olive);
    color: #ffffff;
}

.error-404-btn i {
    font-size: 1rem;
}

/* ==========================================================================
   Generic Page (e.g. Terms, Privacy)
   ========================================================================== */

.page-content-section {
    background-color: #ffffff;
}

.page-title {
    font-size: 1.85rem;
    font-weight: 600;
    color: #33422a;
    text-align: left;
    margin-bottom: 1.25rem;
    text-decoration: underline;
    text-decoration-color: rgba(85, 111, 70, 0.18);
    text-decoration-thickness: 8px;
    text-underline-offset: -6px;
    text-decoration-skip-ink: none;
}

.page-body {
    font-size: 1rem;
    line-height: 1.65;
    color: #3b4d31;
}

.page-body p {
    margin-bottom: 1rem;
}

.page-body p:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   Cart Page
   ========================================================================== */

.cart-page {
    background-color: #ffffff;
    min-height: 60vh;
}

.cart-card,
.cart-summary-card {
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(0, 11, 7, 0.06);
    padding: 1.5rem 1.75rem;
}

.cart-card-title,
.cart-summary-title,
.cart-popular-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #33422a;
    margin-bottom: 1.25rem;
    text-decoration: underline;
    text-decoration-color: rgba(85, 111, 70, 0.18);
    text-decoration-thickness: 8px;
    text-underline-offset: -6px;
    text-decoration-skip-ink: none;
}

.cart-card-title i,
.cart-summary-title i,
.cart-popular-title i {
    color: var(--color-sage);
}

.cart-title-icon {
    width: 2rem;
    height: 2rem;
    vertical-align: middle;
    object-fit: contain;
}

.cart-table-header {
    padding-bottom: 0.5rem;
}

.cart-divider {
    margin: 0.5rem 0 1rem;
    border-color: #dde2da;
}

.cart-item-product-inner {
    min-width: 0;
}

.cart-item-text {
    min-width: 0;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    background: #eef0ec;
    flex-shrink: 0;
}

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

.cart-item-name {
    font-weight: 500;
    color: #33422a;
    font-size: 0.95rem;
    line-height: 1.35;
    word-wrap: break-word;
}

.cart-item-mobile-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #889a7d;
    margin-bottom: 0.2rem;
}

.cart-item-code {
    font-size: 0.8rem;
}

.cart-item-price {
    font-weight: 600;
    color: #33422a;
}

.cart-quantity {
    max-width: 140px;
    margin: 0 auto;
}

.cart-qty-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: none;
    border-radius: 8px;
    background: var(--color-sage);
    color: #ffffff;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s ease;
}

.cart-qty-btn:hover {
    background: var(--color-olive);
    color: #ffffff;
}

/* Navbar/cart quantity +/- buttons – primary green */
.btn.btn-link.p-0.m-0.qty-btn {
    color: var(--color-main);
}
.btn.btn-link.p-0.m-0.qty-btn:hover {
    color: var(--color-olive);
}

.cart-qty-input {
    width: 48px;
    height: 36px;
    text-align: center;
    border: 1px solid #ccd3c7;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    -moz-appearance: textfield;
    appearance: textfield;
}

/* Hide number input spinners (up/down arrows) */
.cart-qty-input::-webkit-inner-spin-button,
.cart-qty-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.cart-remove-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: none;
    border-radius: 8px;
    background: #ccd3c7;
    color: #222c1c;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.cart-remove-btn:hover {
    background: #dde2da;
    color: #192115;
}

.cart-coupon-input {
    flex: 1;
    min-width: 0;
    border-radius: 8px;
    border: 1px solid #ccd3c7;
}

.cart-coupon-btn {
    border-radius: 8px;
    background: var(--color-sage);
    color: #ffffff;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border: none;
    white-space: nowrap;
    transition: background 0.2s ease;
}

.cart-coupon-btn:hover {
    background: var(--color-olive);
    color: #ffffff;
}

/* Match auth disabled button look */
.cart-coupon-btn:disabled {
    background: #adb5bd;
    color: #ffffff;
    cursor: not-allowed;
    opacity: 0.85;
}

.cart-totals {
    font-size: 0.95rem;
    color: #3b4d31;
}

/* Offcanvas cart summary: centered, bolder total */
.cart-summary-card-offcanvas .cart-totals-offcanvas {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cart-summary-card-offcanvas .cart-totals-row-offcanvas {
    width: 100%;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
}

.cart-summary-card-offcanvas .cart-summary-total-label-offcanvas {
    font-weight: 700;
    color: #33422a;
    font-size: 0.95rem;
}

.cart-summary-card-offcanvas .cart-summary-total-amount-offcanvas {
    font-weight: 800;
    font-size: 1.35rem;
    color: #192115;
    letter-spacing: 0.02em;
}

@media (min-width: 576px) {
    .cart-summary-card-offcanvas .cart-totals-row-offcanvas {
        flex-direction: row;
        justify-content: space-between;
        max-width: 100%;
    }
}

@media (max-width: 575.98px) {
    .cart-summary-card-offcanvas .cart-summary-total-amount-offcanvas {
        font-size: 1.5rem;
    }
}

.cart-total-row {
    padding-top: 0.5rem;
    margin-top: 0.5rem;
    border-top: 1px solid #dde2da;
    font-size: 1rem;
    color: #33422a;
}

.cart-checkout-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    background: var(--color-sage);
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
    border: none;
    transition: background 0.2s ease;
}

.cart-checkout-btn:hover {
    background: var(--color-olive);
    color: #ffffff;
}

/* Match auth disabled button look */
.cart-checkout-btn:disabled {
    background: #adb5bd;
    color: #ffffff;
    cursor: not-allowed;
    opacity: 0.85;
}

/* ==========================================================================
   Product view page
   ========================================================================== */

.product-view-section {
    background-color: #ffffff;
}

.product-gallery-wrap .product-gallery a {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.product-gallery {
    position: relative;
    background: #f0f1ee;
    aspect-ratio: 1;
}

.product-gallery-swiper {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
}

.product-gallery-swiper .swiper-slide {
    height: 100%;
}

.product-gallery-swiper .swiper-slide a {
    display: block;
    width: 100%;
    height: 100%;
}

.product-gallery-swiper .product-gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-gallery-swiper .swiper-button-prev,
.product-gallery-swiper .swiper-button-next {
    color: #33422a !important;
}

.product-gallery-swiper .swiper-button-prev::after,
.product-gallery-swiper .swiper-button-next::after {
    font-size: 1.5rem;
    color: #33422a !important;
}

.product-gallery-swiper .swiper-button-prev:hover,
.product-gallery-swiper .swiper-button-next:hover,
.product-gallery-swiper .swiper-button-prev:hover::after,
.product-gallery-swiper .swiper-button-next:hover::after {
    color: var(--color-olive) !important;
}

.product-gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: zoom-in;
}

.product-gallery-thumbs {
    flex-wrap: wrap;
}

.product-gallery-thumb {
    display: block;
    width: 4rem;
    height: 4rem;
    flex-shrink: 0;
    border: 2px solid transparent;
    transition: border-color 0.2s ease, opacity 0.2s ease;
    cursor: pointer;
    background: transparent;
}

.product-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-gallery-thumb:hover,
.product-gallery-thumb.active {
    border-color: var(--color-sage);
}

.product-gallery-thumb:hover {
    opacity: 0.9;
}

.product-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: var(--color-sage);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
}

.product-info {
    padding-top: 0.25rem;
}

.product-category-link {
    font-size: 1rem;
    color: var(--color-sage);
    text-decoration: none;
    display: inline-block;
    margin-bottom: 0.85rem;
}

.product-category-link:hover {
    color: var(--color-olive);
    text-decoration: underline;
}

.product-info .product-title {
    font-size: 2.1rem;
    margin-bottom: 0.85rem;
}

.product-sku {
    font-size: 0.9rem;
    margin-bottom: 0.85rem;
}

.product-availability {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.product-info .product-prices {
    margin-top: 0.25rem;
}

.product-availability-in {
    color: var(--color-sage);
}

.product-availability-out {
    color: #6c757d;
}

/* Product call CTA – light background, sage text & border (distinct from add-to-cart) */
.product-call-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.6rem 1rem;
    background-color: var(--color-cream);
    border: 1px solid var(--color-sage);
    border-radius: 12px;
    color: var(--color-sage);
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    width: auto;
}

.product-call-cta:hover {
    color: var(--color-olive);
    background-color: #e5e8e3;
    border-color: var(--color-olive);
}

.product-call-cta-icon {
    font-size: 1.6rem;
    flex-shrink: 0;
    color: inherit;
}

.product-call-cta-text {
    display: flex;
    flex-direction: column;
    gap: 0.05rem;
}

.product-call-cta-label {
    font-size: 0.75rem;
    font-weight: 500;
    opacity: 0.95;
}

.product-call-cta-number {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* Product description – same look as home "Γιατί να μας επιλέξετε" section */
.product-description-section {
    margin-top: 1.5rem;
    background-color: #eef0ec;
    border-radius: 16px;
    padding: 2rem 1.5rem;
}

.product-description-section .features-section-header {
    margin-bottom: 0.5rem;
}

.product-description-section .features-section-title {
    margin-bottom: 0.25rem;
}

.product-description-section .features-section-header + .feature-text,
.product-description-section .features-section-header ~ p.feature-text {
    margin-top: 0;
}

.product-description-section .product-features-row {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(85, 111, 70, 0.12);
}

.product-description-section .feature-item {
    padding: 0.4rem 0;
    gap: 0.6rem;
}

.product-description-section .feature-svg-icon {
    width: 28px;
    height: 28px;
}

.product-description-section .feature-title {
    font-size: 0.8rem;
    margin-bottom: 0.25rem;
    text-decoration-thickness: 4px;
    text-underline-offset: -3px;
    text-transform: none;
}

.product-description-section .feature-text {
    font-size: 0.8rem;
    line-height: 1.45;
}

.product-add-to-cart-btn:disabled {
    background: #adb5bd;
    color: #ffffff;
    cursor: not-allowed;
    opacity: 0.85;
}

.product-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #445838;
    margin-bottom: 0;
}

.product-accordion .accordion-item {
    border: none;
    background: transparent;
    margin-bottom: 0;
}

.product-accordion .accordion-button {
    background: transparent;
    color: #33422a;
    font-weight: 500;
    font-size: 1rem;
    border: none;
    box-shadow: none;
    padding: 0.5rem 1.5rem 0.5rem 0;
    position: relative;
}

.product-accordion .accordion-button::after {
    position: absolute;
    right: 0;
}

.product-accordion .accordion-button:not(.collapsed) {
    background: transparent;
    color: #33422a;
}

.product-accordion .accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.product-accordion .accordion-body {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #445838;
    padding: 0 0 0.75rem 0;
    border: none;
    background: transparent;
}

.product-add-to-cart-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    background: var(--color-sage);
    color: #ffffff;
    font-weight: 600;
    border: none;
    transition: background 0.2s ease;
}

.product-add-to-cart-btn:hover:not(:disabled) {
    background: var(--color-olive);
    color: #ffffff;
}

/* ==========================================================================
   Auth (Login / Register)
   ========================================================================== */

.auth-page {
    background-color: #ffffff;
    min-height: 55vh;
}

.auth-split .auth-panel {
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(0, 11, 7, 0.06);
    padding: 2rem 1.75rem;
    border-radius: 12px;
}

.auth-create-panel .auth-title {
    margin-bottom: 1rem;
}

.auth-create-intro {
    font-size: 0.95rem;
    color: #3b4d31;
    margin-bottom: 1.25rem;
    line-height: 1.5;
}

.auth-benefits {
    margin-bottom: 1.5rem;
}

.auth-benefits li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.65rem;
    font-size: 0.95rem;
    color: #33422a;
}

.auth-benefit-icon {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
    object-fit: contain;
}

.auth-btn-outline {
    border-radius: 10px;
    background: #ffffff;
    color: var(--color-sage);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--color-sage);
    transition: background 0.2s ease, color 0.2s ease;
    text-decoration: none;
    text-align: center;
    display: inline-block;
}

.auth-btn-outline:hover {
    background: var(--color-sage);
    color: #ffffff;
    border-color: var(--color-sage);
}

.auth-forgot {
    font-size: 0.95rem;
}

.auth-forgot .auth-link {
    font-weight: 500;
}

.auth-card {
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(0, 11, 7, 0.06);
    padding: 2rem 1.75rem;
}

.auth-title {
    font-size: 1.85rem;
    font-weight: 600;
    color: #33422a;
    margin-bottom: 0.5rem;
    text-decoration: underline;
    text-decoration-color: rgba(85, 111, 70, 0.18);
    text-decoration-thickness: 8px;
    text-underline-offset: -6px;
    text-decoration-skip-ink: none;
}

.auth-subtitle {
    font-size: 0.95rem;
}

.auth-form .form-label {
    font-weight: 500;
    color: #33422a;
}

.auth-input {
    border-radius: 8px;
    border: 1px solid #ccd3c7;
    padding: 0.6rem 0.85rem;
}

.auth-input:focus {
    border-color: var(--color-sage);
    box-shadow: 0 0 0 0.2rem rgba(85, 111, 70, 0.15);
}

.auth-input[readonly] {
    background-color: #f0f1ee;
}

.auth-form .form-select.auth-input {
    padding: 0.6rem 0.85rem;
}

.auth-form .form-check-input:checked {
    background-color: var(--color-sage);
    border-color: var(--color-sage);
}

.auth-form .form-check-label {
    color: #3b4d31;
}

.auth-btn {
    border-radius: 10px;
    background: var(--color-sage);
    color: #ffffff;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border: none;
    transition: background 0.2s ease;
}

.auth-btn:hover {
    background: var(--color-olive);
    color: #ffffff;
}

.auth-footer {
    font-size: 0.95rem;
    color: #3b4d31;
}

.auth-link {
    color: var(--color-sage);
    font-weight: 600;
    text-decoration: none;
}

.auth-link:hover {
    color: var(--color-olive);
    text-decoration: underline;
}

.auth-link-btn {
    color: var(--color-sage);
    font-weight: 600;
    font-size: inherit;
    cursor: pointer;
    text-decoration: none;
}

.auth-link-btn:hover {
    color: var(--color-olive);
    text-decoration: underline;
}

.auth-modal-content {
    position: relative;
    border-radius: 16px;
    border: 1px solid rgba(0, 11, 7, 0.08);
    background: rgba(255, 255, 255, 0.94);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow:
        0 18px 60px rgba(0, 11, 7, 0.18),
        0 2px 10px rgba(0, 11, 7, 0.08);
    overflow: hidden;
}

.auth-modal-content .modal-header {
    padding: 1.25rem 1.25rem 0.5rem;
}

.auth-modal-content .modal-body {
    padding: 0.25rem 1.25rem 1.25rem;
}

/* Removed top accent bar (per request) */

.auth-modal-content .btn-close {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background-color: rgba(85, 111, 70, 0.10);
    opacity: 1;
    transition: background-color 0.15s ease, transform 0.15s ease;
}

.auth-modal-content .btn-close:hover {
    background-color: rgba(85, 111, 70, 0.18);
    transform: translateY(-1px);
}

.auth-modal-content .btn-close:focus {
    box-shadow: 0 0 0 0.2rem rgba(85, 111, 70, 0.18);
}

/* ==========================================================================
   Upsell modal
   ========================================================================== */

.upsell-modal-content {
    position: relative;
    border-radius: 16px;
    border: 1px solid rgba(0, 11, 7, 0.08);
    background: rgba(255, 255, 255, 0.96);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow:
        0 18px 60px rgba(0, 11, 7, 0.18),
        0 2px 10px rgba(0, 11, 7, 0.08);
    overflow: hidden;
}

#upsellModal .modal-header {
    padding: 1.25rem 1.25rem 0.5rem;
}

#upsellModal .modal-body {
    padding: 0.5rem 1.25rem 1.25rem;
}

#upsellModal .modal-title {
    color: #33422a;
    font-weight: 700;
}

.upsell-title-icon {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(85, 111, 70, 0.12);
    color: var(--color-sage);
    flex-shrink: 0;
}

#upsellModal .btn-close {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background-color: rgba(85, 111, 70, 0.10);
    opacity: 1;
}

#upsellModal .btn-close:hover {
    background-color: rgba(85, 111, 70, 0.18);
}

.upsell-products-swiper {
    overflow: hidden;
    padding: 0.25rem;
}

/* Add breathing room above upsell nav arrows */
.upsell-products-prev,
.upsell-products-next {
    margin-top: 0.5rem;
}

.upsell-products-swiper .swiper-wrapper {
    align-items: stretch;
}

.upsell-products-swiper .swiper-slide {
    height: auto;
}

.upsell-card {
    height: 100%;
    background: #ffffff;
    border: 1px solid rgba(0, 11, 7, 0.06);
    border-radius: 12px;
    padding: 0.75rem;
    box-shadow: 0 4px 16px rgba(0, 11, 7, 0.06);
    display: flex;
    flex-direction: column;
}

.upsell-card .trending-card-image {
    margin-bottom: 0.65rem;
}

.upsell-card .trending-card-title {
    margin-bottom: 0.25rem;
}

.upsell-card-meta {
    margin-top: auto;
}

.upsell-card-availability {
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.25rem;
}

.upsell-add-btn {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    border-radius: 12px;
    border: none;
    background: var(--color-sage);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.upsell-add-btn:hover:not(:disabled) {
    background: var(--color-olive);
    color: #ffffff;
    transform: translateY(-1px);
}

.upsell-add-btn:disabled {
    background: #adb5bd;
    color: #ffffff;
    opacity: 0.85;
    cursor: not-allowed;
    transform: none;
}

/* Hide upsell arrows on mobile (swipe only) */
@media (max-width: 575.98px) {
    .upsell-products-prev,
    .upsell-products-next {
        display: none !important;
    }
}

/* Feedback modal (used by auth flows) */
.feedback-modal-content {
    position: relative;
    border-radius: 16px;
    border: 1px solid rgba(0, 11, 7, 0.08);
    background: rgba(255, 255, 255, 0.96);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow:
        0 18px 60px rgba(0, 11, 7, 0.18),
        0 2px 10px rgba(0, 11, 7, 0.08);
    padding: 2rem 1.5rem;
    overflow: hidden;
}

/* Removed top accent bar (per request) */

/* Auth button disabled/loading should match product add-to-cart */
.auth-btn:disabled {
    background: #adb5bd;
    color: #ffffff;
    cursor: not-allowed;
    opacity: 0.85;
}

.feedback-modal-close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(85, 111, 70, 0.10);
    border: none;
    color: #33422a;
    opacity: 1;
    transition: background-color 0.15s ease, transform 0.15s ease;
}

.feedback-modal-close:hover {
    background: rgba(85, 111, 70, 0.18);
    transform: translateY(-1px);
}

.modal-subtext {
    color: #3b4d31;
}

#feedbackModalIcon {
    width: 72px;
    height: 72px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2.25rem;
    background: rgba(85, 111, 70, 0.10);
    color: var(--color-sage);
}

#feedbackModalIcon.success {
    background: rgba(25, 135, 84, 0.12);
    color: #198754;
}

#feedbackModalIcon.danger {
    background: rgba(220, 53, 69, 0.12);
    color: #dc3545;
}

#feedbackModalIcon.info {
    background: rgba(13, 202, 240, 0.12);
    color: #0dcaf0;
}

/* ==========================================================================
   Checkout
   ========================================================================== */

.checkout-page {
    background-color: #ffffff;
}

.checkout-page-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #33422a;
    margin-bottom: 1.5rem;
    text-decoration: underline;
    text-decoration-color: rgba(85, 111, 70, 0.18);
    text-decoration-thickness: 8px;
    text-underline-offset: -6px;
    text-decoration-skip-ink: none;
}

.checkout-page-title .cart-title-icon {
    color: var(--color-sage);
}

.checkout-card {
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(0, 11, 7, 0.06);
    padding: 1.5rem 1.75rem;
}

.checkout-section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #33422a;
    margin-bottom: 1.25rem;
    text-decoration: underline;
    text-decoration-color: rgba(85, 111, 70, 0.18);
    text-decoration-thickness: 8px;
    text-underline-offset: -6px;
    text-decoration-skip-ink: none;
}

.checkout-input {
    border-radius: 8px;
    border: 1px solid #ccd3c7;
    padding: 0.6rem 0.85rem;
}

.checkout-input:focus {
    border-color: var(--color-sage);
    box-shadow: 0 0 0 0.2rem rgba(85, 111, 70, 0.15);
}

.checkout-page .form-check-input:checked {
    background-color: var(--color-sage);
    border-color: var(--color-sage);
}

.checkout-info-box {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.75rem 1rem;
    background: rgba(85, 111, 70, 0.08);
    border-radius: 8px;
    font-size: 0.9rem;
    color: #3b4d31;
}

.checkout-info-box i {
    color: var(--color-sage);
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.checkout-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.checkout-option {
    margin: 0;
    cursor: pointer;
    display: block;
    width: 100%;
}

.checkout-option-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.checkout-option-box {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: #eef0ec;
    border: 2px solid transparent;
    border-radius: 8px;
    transition: border-color 0.2s ease, background 0.2s ease;
    position: relative;
    width: 100%;
}

.checkout-option-box:hover {
    background: #dde2da;
}

.checkout-option-input:checked + .checkout-option-box,
.checkout-option-box.selected {
    border-color: var(--color-sage);
    background: rgba(85, 111, 70, 0.06);
}

.checkout-option-icon {
    font-size: 1.35rem;
    color: var(--color-sage);
    flex-shrink: 0;
}

.checkout-option-text {
    flex: 1;
    min-width: 0;
    font-size: 0.95rem;
}

.checkout-option-price {
    font-weight: 600;
    color: #33422a;
    flex-shrink: 0;
}

.checkout-option-check {
    font-size: 1.1rem;
    color: var(--color-sage);
    flex-shrink: 0;
}

.checkout-option-input:not(:checked) + .checkout-option-box .checkout-option-check {
    opacity: 0;
}

.checkout-vat-btn {
    border-radius: 8px;
    background: var(--color-sage);
    color: #ffffff;
    border: none;
    padding: 0.5rem 0.85rem;
    transition: background 0.2s ease;
}

.checkout-vat-btn:hover {
    background: var(--color-olive);
    color: #ffffff;
}

.checkout-preview-item-image {
    width: 56px;
    height: 56px;
    background: #eef0ec;
    flex-shrink: 0;
}

.checkout-preview-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.checkout-preview-item-name {
    font-size: 0.9rem;
    color: #33422a;
    display: block;
    line-height: 1.35;
}

.checkout-item-link {
    display: inline-block;
    font-size: 0.9rem;
    line-height: 1.35;
    font-weight: 700;
    color: var(--color-sage);
    text-decoration: none;
}

.checkout-item-link:hover {
    color: var(--color-olive);
    text-decoration: underline;
}

.checkout-totals {
    font-size: 0.95rem;
    color: #3b4d31;
}

.checkout-total-row {
    border-top: 1px solid #dde2da;
    font-size: 1rem;
    color: #33422a;
}

.checkout-help-card {
    padding: 0.6rem 0.85rem;
    font-size: 0.9rem;
    color: #ffffff;
    transition: opacity 0.2s ease;
}

.checkout-help-card:hover {
    color: #ffffff;
    opacity: 0.92;
}

.checkout-help-phone {
    background: var(--color-sage);
}

.checkout-help-viber {
    background: #7360f2; /* Viber brand purple */
}
.checkout-help-viber:hover {
    background: #5f4ed6;
}

.checkout-notes {
    resize: vertical;
    min-height: 80px;
}

.checkout-terms-link {
    color: var(--color-sage);
    font-weight: 600;
    text-decoration: none;
}

.checkout-terms-link:hover {
    color: var(--color-olive);
    text-decoration: underline;
}

.checkout-submit-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    background: var(--color-sage);
    color: #ffffff;
    font-weight: 600;
    border: none;
    transition: background 0.2s ease;
}

.checkout-submit-btn:hover {
    background: var(--color-olive);
    color: #ffffff;
}

/* Checkout method messages (shipping/payment) */
.checkout-page .method-container {
    margin-bottom: 0.5rem;
}

.checkout-page .method-message-box {
    background: #ffffff;
    border: 1px solid #dde2da;
    border-radius: 10px;
    padding: 0.85rem 1rem;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    line-height: 1.55;
    color: #3b4d31;
    white-space: pre-line;
    box-shadow: 0 4px 14px rgba(0, 11, 7, 0.05);
}

.checkout-page .method-message-box strong {
    font-weight: 700;
    color: #33422a;
}

.checkout-page .method-message-box a {
    color: var(--color-sage);
    font-weight: 600;
    text-decoration: none;
}

.checkout-page .method-message-box a:hover {
    color: var(--color-olive);
    text-decoration: underline;
}

/* Legacy class used by older method rendering */
.checkout-page .method-message {
    white-space: pre-line;
    line-height: 1.5;
    margin-top: 0.25rem;
}

.cart-help {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cart-help-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    text-decoration: none;
    color: #ffffff;
    transition: opacity 0.2s ease;
}

.cart-help-card:hover {
    color: #ffffff;
    opacity: 0.92;
}

.cart-help-phone {
    background: var(--color-sage);
}

.cart-help-viber {
    background: #7360f2; /* Viber brand purple */
}
.cart-help-viber:hover {
    background: #5f4ed6;
}

.cart-help-card i {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.cart-help-label {
    display: block;
    font-size: 0.8rem;
    opacity: 0.9;
}

.cart-help-value {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
}

.cart-popular {
    padding-top: 0.5rem;
}

.cart-popular-header {
    flex-wrap: nowrap;
}

.cart-popular-title i {
    color: var(--color-accent);
}

.cart-popular-swiper {
    overflow: hidden;
}

/* Keep prev/next in header only – override Swiper's absolute positioning */
.cart-popular-header .cart-popular-prev,
.cart-popular-header .cart-popular-next {
    position: static !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    margin: 0 !important;
}

.cart-popular-prev,
.cart-popular-next {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: var(--color-sage);
    color: #ffffff;
    cursor: pointer;
    transition: background 0.2s ease;
    box-sizing: border-box;
    flex-shrink: 0;
}

/* Hide Swiper's default arrow – we use Bootstrap Icons instead */
.cart-popular-prev::after,
.cart-popular-next::after {
    display: none;
}

.cart-popular-prev i,
.cart-popular-next i {
    font-size: 1.1rem;
    line-height: 1;
    color: #ffffff;
}

.cart-popular-prev:hover,
.cart-popular-next:hover {
    background: var(--color-olive);
    color: #ffffff;
}

.cart-popular-prev:hover i,
.cart-popular-next:hover i {
    color: #ffffff;
}

/* Tablet: hide table header, keep row layout */
@media (max-width: 991.98px) {
    .cart-table-header {
        display: none;
    }
}

/* Mobile: card format – image+title+remove top, then code, price, quantity stacked */
@media (max-width: 767.98px) {
    .cart-page {
        padding-top: 0.75rem;
        padding-bottom: 1rem;
    }

    .cart-page .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .cart-card,
    .cart-summary-card {
        padding: 0.75rem 0.75rem;
    }

    .cart-card-title,
    .cart-summary-title {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }

    .cart-item.row {
        display: block;
        margin-bottom: 0.75rem;
    }

    .cart-item {
        padding: 0.75rem;
        border: 1px solid #ccd3c7;
        border-radius: 12px;
        background: #ffffff;
        box-shadow: 0 2px 8px rgba(0, 11, 7, 0.04);
    }

    .cart-item:last-child {
        margin-bottom: 0;
    }

    .cart-item-product {
        width: 100%;
        max-width: 100%;
        margin-bottom: 0;
    }

    .cart-item-product-inner {
        gap: 0.5rem;
        align-items: flex-start;
    }

    .cart-item-product-inner .cart-item-remove-col {
        margin-left: auto;
        align-self: flex-start;
    }

    .cart-item-image {
        width: 64px;
        height: 64px;
    }

    .cart-item-name {
        font-size: 0.85rem;
        line-height: 1.3;
        font-weight: 600;
    }

    .cart-item-code {
        font-size: 0.75rem;
        color: #889a7d;
    }

    .cart-item-mobile-bottom {
        padding-top: 0.5rem;
        border-top: 1px solid #eef0ec;
        margin-top: 0.5rem;
    }

    .cart-item-mobile-bottom .cart-item-price {
        font-size: 1rem;
        font-weight: 700;
        margin-bottom: 0.5rem;
    }

    .cart-item-mobile-bottom .cart-quantity {
        margin: 0;
        justify-content: flex-start;
    }

    .cart-quantity {
        max-width: none;
    }

    .cart-qty-btn {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }

    .cart-qty-input {
        width: 40px;
        height: 32px;
        font-size: 0.85rem;
    }

    .cart-remove-btn {
        width: 32px;
        height: 32px;
        padding: 0;
        font-size: 0.85rem;
    }
}
