/* --- Font Definitions --- */
@font-face {
    font-family: 'Bahnschrift';
    src: url('../fonts/Bahnschrift.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap; /* Improve font loading performance */
}

@font-face {
    font-family: 'Ghino';
    src: url('../fonts/ghino.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap; /* Improve font loading performance */
}

/* --- Color & Font Variables --- */
:root {
    /* Palette */
    --main-brown: #542D24;      /* Primary Dark Brown (Backgrounds) */
    --secondary-brown: #321E14; /* Darker Brown (Accents, Borders, Card Backgrounds) */
    --accent-beige: #EFE2CD;    /* Light Beige/Off-white (Main Text, Headings, Borders) */
    --white-pure: #ffffff;      /* Pure white (Hover states, Highlights, Contrasting Text) */
    --light-gold: #ffd78c;      /* Light gold for accents */

    /* Calculated RGBA */
    --main-brown-rgba-95: rgba(84, 45, 36, 0.95);
    --main-brown-rgba-85: rgba(84, 45, 36, 0.85);
    --main-brown-rgba-80: rgba(84, 45, 36, 0.8);
    --main-brown-rgba-0: rgba(84, 45, 36, 0.0);
    --secondary-brown-rgba-60: rgba(50, 30, 20, 0.6); /* For hover shadow */
    --secondary-brown-rgba-80: rgba(50, 30, 20, 0.8); /* For text shadow */
    --accent-beige-rgba-25: rgba(239, 226, 205, 0.25);
    --accent-beige-rgba-30: rgba(239, 226, 205, 0.3);
    --accent-beige-rgba-50: rgba(239, 226, 205, 0.5);
    --accent-beige-rgba-60: rgba(239, 226, 205, 0.6);
    --accent-beige-rgba-80: rgba(239, 226, 205, 0.8);
    --accent-beige-rgba-85: rgba(239, 226, 205, 0.85);

    /* Bootstrap Overrides & Helpers */
    --bs-body-color: var(--accent-beige);
    --bs-body-bg: var(--main-brown);
    --bs-link-color-rgb: 239, 226, 205; /* RGB for accent-beige */
    --bs-link-hover-color-rgb: 255, 255, 255; /* RGB for white-pure */
    --bs-border-color-translucent: rgba(239, 226, 205, 0.2); /* Reusable semi-transparent border */

    /* Font Stacks */
    --heading-font: 'Ghino', Georgia, serif; /* Added fallback */
    --body-font: 'Bahnschrift', Arial, sans-serif; /* Added fallback */

    /* Specific Needs */
    --popup-error-text: #ffacac; /* Lighter red for dark bg */
    --popup-error-bg: rgba(100, 30, 30, 0.4);
    --popup-success-text: #a5d6a7; /* Lighter green */
    --popup-success-bg: rgba(30, 100, 30, 0.4);
    --mobile-navbar-height: 60px; /* Default mobile navbar height - adjust if needed */
}

/* =================================================================== */
/* == 2. GLOBAL STYLES =============================================== */
/* =================================================================== */

body {
    font-family: var(--body-font);
    background-color: var(--bs-body-bg);
    color: var(--bs-body-color);
    line-height: 1.6;
    font-size: 16px; /* Base font size */
    -webkit-font-smoothing: antialiased; /* Smoother fonts */
    -moz-osx-font-smoothing: grayscale;
    /* padding-top is handled by media queries for mobile navbar */
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    color: var(--accent-beige);
    margin-top: 1 rem;
    margin-bottom: 1rem;
    line-height: 1.3;
    font-weight: normal; /* Ghino might be bold by default */
}

/* Consistent Heading Sizes */
h1 { font-size: 2.6rem; }
h2 { font-size: 2.0rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1.0rem; }

a {
    color: var(--accent-beige);
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

a:hover, a:focus {
    color: var(--white-pure);
    text-decoration: underline;
}

.container, .container-fluid {
    padding-left: 15px;
    padding-right: 15px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Helper class */
.subtle-border {
    border: 1px solid var(--bs-border-color-translucent);
}

/* =================================================================== */
/* == 3. LAYOUT SECTIONS ============================================= */
/* =================================================================== */

.main-content-area {
    padding-bottom: 1.5rem; /* Space above pre-footer */
}

.content-block {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.content-block h2 {
    text-align: left;
    margin-bottom: 2rem; /* Space below section titles */
    font-size: 2.2rem;
}

/* Contrasting Background Section */
.content-block.bg-accent {
    background-color: var(--accent-beige);
    color: var(--main-brown);
    border-radius: 8px;
    padding: 35px 25px; /* Slightly reduced padding */
    margin-top: 2rem;
    margin-bottom: 2rem;
}
.content-block.bg-accent h1,
.content-block.bg-accent h2,
.content-block.bg-accent h3,
.content-block.bg-accent h4,
.content-block.bg-accent h5,
.content-block.bg-accent h6 {
    color: var(--secondary-brown);
}
.content-block.bg-accent p,
.content-block.bg-accent li {
     color: var(--main-brown);
}
.content-block.bg-accent a {
     color: var(--secondary-brown);
     font-weight: 500;
     text-decoration: underline;
     text-decoration-color: rgba(50, 30, 20, 0.5);
}
.content-block.bg-accent a:hover {
     color: #000;
     text-decoration-color: var(--main-brown);
}
.content-block.bg-accent .btn-outline-secondary {
     color: var(--secondary-brown);
     border-color: var(--secondary-brown);
}
.content-block.bg-accent .btn-outline-secondary:hover {
     background-color: var(--secondary-brown);
     color: var(--accent-beige);
     border-color: var(--secondary-brown);
}

/* =================================================================== */
/* == 4. HEADER STYLES =============================================== */
/* =================================================================== */

/* --- Desktop Hero Header --- */
#ht-hero {
    min-height: 350px;
    height: auto;
    position: relative;
    background-size: cover;
    background-position: center center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem 0;
}

#ht-hero .filter-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(32, 21, 16, 0.55); /* Slightly darker overlay */
    z-index: 1;
}

#ht-hero .hero-content {
    position: relative;
    z-index: 2;
    color: var(--white-pure);
    padding: 30px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#ht-hero .logo-container {
    margin-bottom: 5px;
}

#ht-hero .hero-logo {
    max-height: 120px;
    width: auto;
    filter: drop-shadow(0 3px 6px rgba(0,0,0,0.4));
    margin-bottom: 1rem;
}

#ht-hero .hero-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px 35px;
}

#ht-hero .hero-menu li {
    display: inline-block;
}

#ht-hero .hero-menu a {
    font-family: var(--heading-font);
    font-size: 1.5em;
    color: var(--accent-beige);
    text-decoration: none;
    padding: 5px 0;
    transition: color 0.2s ease, border-color 0.2s ease;
    position: relative;
    display: inline-block;
    border-bottom: 3px solid transparent;
}

#ht-hero .hero-menu a:hover,
#ht-hero .hero-menu li.active a {
    color: var(--white-pure);
    text-decoration: none;
    border-bottom-color: var(--white-pure);
}

/* --- Mobile Navbar --- */
.mobile-navbar.navbar {
    background-color: var(--main-brown);
    min-height: var(--mobile-navbar-height);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.mobile-navbar .mobile-logo {
    max-height: 40px;
    width: auto;
}

.mobile-navbar .navbar-toggler-icon {
    display: none; /* Hide default Bootstrap icon */
}

.mobile-navbar .navbar-toggler {
    border: none;
    background: transparent;
    padding: 0.25rem 0.5rem;
    position: relative;
    z-index: 1050; /* Ensure toggler is above content */
}

.mobile-navbar .navbar-toggler span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--accent-beige);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-navbar .nav-item {
    border-bottom: 1px solid var(--bs-border-color-translucent);
}
.mobile-navbar .nav-item:last-child {
    border-bottom: none;
}

.mobile-navbar .nav-link {
    color: var(--accent-beige);
    padding: 0.8rem 1rem;
    font-family: var(--heading-font);
    font-size: 1.1em;
    text-align: center;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.mobile-navbar .nav-link:hover,
.mobile-navbar .nav-link.active {
    color: var(--white-pure);
    background-color: var(--secondary-brown);
    text-decoration: none;
}

/* =================================================================== */
/* == 5. PAGE SPECIFIC STYLES ======================================== */
/* =================================================================== */

/* --- Page Heading (e.g., Products Page) --- */
.ht-page-heading {
    margin-bottom: 2rem;
}
.ht-page-heading h1 {
    margin-bottom: 0.5rem;
    font-weight: normal;
}
.ht-page-heading h1 strong {
    color: var(--accent-beige);
}
.ht-page-heading p.sub-heading {
    color: var(--accent-beige);
    font-size: 1.1em;
    text-align: center;
    max-width: 600px;
    margin: 0 auto 1.5rem auto;
    opacity: 0.9;
}

/* --- Filter Section --- */
.filter-section {
    background-color: rgba(0, 0, 0, 0.1);
    padding: 20px 25px; /* Reduced padding */
    margin-bottom: 2.5rem; /* Reduced margin */
    border-radius: 8px;
    border: 1px solid var(--bs-border-color-translucent);
}
.filter-section .filter-title {
    margin-top: 0;
    color: var(--white-pure);
    font-size: 1.2rem; /* Slightly smaller */
    margin-bottom: 1rem;
    font-family: var(--heading-font);
    padding-bottom: 0.6rem;
    border-bottom: 1px solid var(--bs-border-color-translucent);
}
.filter-options {
    line-height: 1.8;
}
.filter-options .filter-link {
    display: inline-block;
    margin-right: 6px; /* Reduced spacing */
    margin-bottom: 8px; /* Reduced spacing */
    padding: 7px 16px; /* Slightly smaller pills */
    border: 1px solid var(--accent-beige);
    color: var(--accent-beige);
    background-color: transparent;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.85em; /* Slightly smaller */
    transition: all 0.2s ease-in-out;
    font-family: var(--body-font);
}
.filter-options .filter-link:hover {
    background-color: var(--accent-beige);
    color: var(--secondary-brown);
    border-color: var(--accent-beige);
    text-decoration: none;
}
.filter-options .filter-link.active {
    background-color: var(--white-pure);
    color: var(--secondary-brown);
    border-color: var(--white-pure);
    font-weight: 600;
}
.filter-options .filter-link.clear-filter {
    background-color: transparent;
    color: var(--light-gold);
    border-color: var(--light-gold);
}
.filter-options .filter-link.clear-filter:hover {
    background-color: var(--light-gold);
    color: var(--secondary-brown);
    border-color: var(--light-gold);
}
.filter-options .filter-link.clear-filter i {
    font-size: 0.9em;
    margin-right: 4px;
}

/* --- Product Card Styling --- */
.product-card-target {
    display: block;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--secondary-brown);
    background-color: var(--secondary-brown);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    aspect-ratio: 1 / 1; /* Default square aspect ratio */
    height: auto;
}
.product-card-target:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px var(--secondary-brown-rgba-60);
}
.product-card-target .card-bg-image {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: center;
    border-radius: inherit;
    transition: transform 0.4s ease;
}
.product-card-target:hover .card-bg-image {
    transform: scale(1.02);
}
.product-card-target .card-bg-image.fallback {
     background-size: contain;
     background-repeat: no-repeat;
     background-color: var(--accent-beige);
}
.product-card-target .card-content-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 1;
    border-radius: inherit;
    background: linear-gradient( to top, var(--main-brown-rgba-95) 0%, var(--main-brown-rgba-80) 15%, var(--main-brown-rgba-0) 65% );
    display: block;
    padding: 0.8rem;
    text-shadow: 1px 1px 3px var(--secondary-brown-rgba-80);
}
.product-card-target .text-block {
    position: absolute;
    bottom: 0.8rem;
    left: 0.8rem;
    right: 45%; /* Space for price */
    z-index: 2;
}
.product-card-target .price {
    position: absolute;
    bottom: 0.6rem;
    right: 0.8rem;
    z-index: 2;
    text-align: right;
    line-height: 1;
}
.product-card-target .card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white-pure);
    line-height: 1.15;
    margin-bottom: 0.15rem;
    text-transform: uppercase;
    /* Optional: Limit lines */
    /* display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; */
}
.product-card-target .card-text {
    font-size: 0.8rem;
    color: var(--white-pure);
    opacity: 0.85;
    line-height: 1.3;
    font-weight: 400;
    /* display: none; /* Uncomment to hide description */
}
.product-card-target .price-amount {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--white-pure);
    margin-right: 0.05em;
    display: inline-block;
}
.product-card-target .price-currency {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--accent-beige);
    vertical-align: baseline;
    display: inline-block;
    position: relative;
}

/* --- Category Card Styling --- */
.category-card-target {
    display: block;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--secondary-brown);
    background-color: var(--secondary-brown);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    aspect-ratio: 4 / 5; /* Taller aspect ratio */
    height: auto;
}
.category-card-target:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px var(--secondary-brown-rgba-60);
}
.category-card-target .category-bg-image {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: center;
    border-radius: inherit;
    transition: transform 0.4s ease;
}
.category-card-target:hover .category-bg-image {
    transform: scale(1.02);
}
.category-card-target .category-bg-image.fallback {
     background-size: contain;
     background-repeat: no-repeat;
     background-color: var(--accent-beige);
}
.category-card-target .category-content-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 1;
    border-radius: inherit;
    background: linear-gradient( to top, var(--main-brown-rgba-95) 0%, var(--main-brown-rgba-80) 25%, var(--main-brown-rgba-0) 75% );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1rem;
    text-shadow: 1px 1px 3px var(--secondary-brown-rgba-80);
}
.category-card-target .text-block {
    margin-bottom: 0.8rem;
}
.category-card-target .card-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white-pure);
    line-height: 1.2;
    margin-bottom: 0.2rem;
    text-transform: uppercase;
}
.category-card-target .card-text {
    font-size: 0.85rem;
    color: var(--white-pure);
    opacity: 0.9;
    line-height: 1.4;
    font-weight: 400;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Limit to 3 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.category-card-target .category-discover-btn {
    background-color: var(--accent-beige);
    color: var(--secondary-brown);
    border: none;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
    transition: background-color 0.2s ease, color 0.2s ease;
    cursor: pointer;
    align-self: flex-start; /* Align button left */
}
.category-card-target:hover .category-discover-btn {
    background-color: var(--white-pure);
    color: var(--secondary-brown);
}

/* --- Usecase Row Scrolling (Desktop handled in media query) --- */
.usecase-row {
    display: flex;
    flex-wrap: wrap; /* Mobile default: wrap */
    justify-content: center; /* Mobile default: center */
    overflow-x: visible;
    margin-left: -8px; /* Counteract item padding */
    margin-right: -8px;
}
.usecase-row .usecase-item {
    padding-left: 8px;
    padding-right: 8px;
    flex-shrink: 1; /* Allow shrinking when wrapping */
    flex-grow: 0;
}

/* --- Category Showcase Scrolling --- */
.category-showcase-section > .row {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 15px;
    margin-bottom: -15px;
    cursor: grab;
    user-select: none;
    /* Hide Scrollbar */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE */
}
.category-showcase-section > .row::-webkit-scrollbar {
    display: none; /* Webkit */
}
.category-showcase-section > .row > * { /* Direct children (columns) */
    flex-shrink: 0;
}
.category-showcase-section > .row.active {
    cursor: grabbing;
}

/* --- Category Page Specific Styles --- */
.category-side-image-container {
    border-radius: .5rem;
    overflow: hidden;
    background-color: var(--secondary-brown);
    position: relative;
    aspect-ratio: 2 / 3; /* Default aspect ratio */
    width: 100%;
    display: flex;
    flex-direction: column;
}
.category-side-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    position: relative;
    z-index: 0;
}
.category-side-image.fallback {
    object-fit: contain;
    background-color: var(--accent-beige);
    padding: 1rem;
}
.category-intro-section .category-intro-text {
    font-size: 1.05rem;
    color: var(--accent-beige);
    opacity: 0.95;
    line-height: 1.65;
}
.category-intro-section .category-intro-text strong {
    color: var(--white-pure);
    font-weight: 600;
}
.benefits-main-heading { /* Desktop heading */
    font-size: 1.7rem;
    text-align: left;
    font-family: var(--heading-font);
    color: var(--white-pure);
    margin-bottom: 0.8rem;
    margin-top: 1.2rem;
}
.category-benefits ul {
    margin-bottom: 0;
    padding-left: 0;
    list-style: none;
}
.category-benefits li {
    color: var(--accent-beige);
    font-size: 1.0rem;
    line-height: 1.55;
    display: flex; /* Align icon and text */
    align-items: flex-start;
    gap: 0.6rem; /* Space between icon and text */
}
.category-benefits li span strong {
    color: var(--white-pure);
    font-weight: 600;
}
.benefit-svg-icon {
    width: 22px;
    height: 22px;
    margin-top: 2px;
    flex-shrink: 0;
    fill: currentColor; /* Use text color for SVG */
}
.fallback-bullet {
    color: var(--white-pure);
    font-weight: bold;
    line-height: 1;
    margin-top: 3px;
    flex-shrink: 0;
    width: 22px; /* Match SVG width */
    text-align: center;
}

/* --- Recommended Products --- */
.recommended-products-heading {
    color: var(--accent-beige);
    font-family: var(--heading-font);
    font-weight: normal;
    font-size: 1.8rem;
    text-align: center; /* Center heading */
    margin-bottom: 2rem; /* Space below */
}
.recommended-products-heading strong {
    color: var(--white-pure);
    font-weight: normal;
    margin: 0 0.5em;
}

/* --- View All / Load More Button --- */
.view-all-btn.btn-outline-light {
     font-size: 1rem;
     padding: 0.6rem 1.5rem;
     border-radius: 50px;
     border-width: 1px;
     color: var(--accent-beige);
     border-color: var(--accent-beige);
     transition: all 0.2s ease-in-out;
     display: inline-block;
     width: auto;
}
.view-all-btn.btn-outline-light:hover {
    background-color: var(--accent-beige);
    color: var(--secondary-brown);
    border-color: var(--accent-beige);
}
.view-all-btn.btn-outline-light i {
    transition: transform 0.2s ease-in-out;
    margin-left: 0.4em;
}
.view-all-btn.btn-outline-light:hover i {
    transform: translateX(4px);
}
.load-more-usecases-container { /* Container for mobile button */
    text-align: center;
    margin-top: 1.5rem;
}

/* --- FAQ Section --- */
.faq-section-custom {
    margin-top: 2.5rem; /* Consistent spacing */
    margin-bottom: 2.5rem;
}
.faq-list {
    border-top: 1px solid var(--bs-border-color-translucent);
}
.faq-item-custom {
    border-bottom: 1px solid var(--bs-border-color-translucent);
}
.faq-question-custom {
    padding: 1rem 0; /* Reduced padding */
    cursor: pointer;
    position: relative;
    color: var(--accent-beige);
    font-size: 1.1rem;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.2s ease;
}
.faq-question-custom:hover { color: var(--white-pure); }
.faq-question-custom span:first-child { padding-right: 30px; } /* Space for icon */
.faq-icon {
    font-family: monospace; font-weight: bold; font-size: 1.2rem;
    color: var(--accent-beige); transition: transform 0.3s ease, color 0.2s ease;
    flex-shrink: 0; width: 20px; text-align: center;
}
.faq-question-custom:hover .faq-icon { color: var(--white-pure); }
.faq-icon::before { content: "+"; }
.faq-item-custom.active .faq-icon { transform: rotate(45deg); } /* Rotate + to look like x */
.faq-item-custom.active .faq-icon::before { content: "+"; } /* Keep + sign */

.faq-answer-custom {
    max-height: 0; opacity: 0; overflow: hidden;
    padding: 0;
    transition: max-height 0.35s ease-in-out, opacity 0.3s ease-in-out, padding-bottom 0.35s ease-in-out;
    color: var(--accent-beige); font-size: 0.95rem;
    line-height: 1.7;
}
.faq-answer-custom strong { color: var(--white-pure); }
.faq-item-custom.active .faq-answer-custom {
    opacity: 1;
    max-height: 600px; /* Adjust if needed */
    padding-bottom: 1.2rem; /* Reduced padding */
}

/* --- Product Detail Page --- */
.product-image-column {
    position: relative;
}
.product-slider-for {
    margin-bottom: 1rem; /* Reduced space */
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--bs-border-color-translucent);
    background-color: var(--secondary-brown);
}
.product-slider-for .slick-slide img {
     display: block;
     width: 100%;
     height: auto;
     object-fit: contain; /* Show whole product */
     margin: 0 auto;
     border-radius: 4px;
}
.product-slider-nav {
    position: relative;
    padding: 0 40px; /* Space for arrows */
    margin: 0 auto;
    max-width: 100%;
}
.product-slider-nav .slick-slide {
    cursor: pointer;
    padding: 0 5px; 
    box-sizing: border-box;
    opacity: 0.7;
    transition: opacity 0.3s ease, border-color 0.3s ease;
    border: 3px solid transparent;
    border-radius: 6px;
    overflow: hidden;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background-color: var(--secondary-brown);
}
.product-slider-nav .slick-slide img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    border-radius: 4px;
}
.product-slider-nav .slick-current,
.product-slider-nav .slick-slide:hover {
    opacity: 1.0;
    border-color: var(--white-pure);
}
/* Arrows use general .slick-arrow styles + specific positioning below */
.product-slider-nav .slick-arrow {
    background-color: var(--secondary-brown-rgba-80);
    border: 1px solid var(--accent-beige-rgba-30);
    width: 36px; /* Adjust size */
    height: 36px;
    z-index: 20; /* Above thumbs */
}
.product-slider-nav .slick-arrow:hover {
     background-color: var(--main-brown);
     border-color: var(--white-pure);
}
.product-slider-nav .slick-prev { left: 0px; }
.product-slider-nav .slick-next { right: 0px; }
.product-slider-nav .slick-arrow::before { /* Font Awesome Icons */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 14px; /* Slightly smaller icon */
    color: var(--white-pure);
    line-height: 1;
}
.product-slider-nav .slick-prev::before { content: "\f053"; } /* Left */
.product-slider-nav .slick-next::before { content: "\f054"; } /* Right */
.product-slider-nav .slick-disabled {
    opacity: 0.3;
    cursor: default;
    pointer-events: none;
}

.product-detail-info h1 {
     margin-bottom: 0.8rem; /* Reduced space */
}
.product-detail-info .price {
    font-size: 1.5em; /* Slightly smaller */
    font-weight: bold;
    color: var(--white-pure);
    margin-top: 1rem;
    margin-bottom: 1.2rem; /* Reduced space */
    font-family: var(--body-font);
}
.product-tags {
    margin-top: 0;
    margin-bottom: 1.2rem; /* Reduced space */
}
.product-tags .badge {
    background-color: var(--accent-beige);
    color: var(--secondary-brown);
    padding: 0.4em 0.8em; /* Slightly smaller */
    font-size: 0.8em; /* Slightly smaller */
    font-weight: 500;
    font-family: var(--body-font);
    border: 1.5px solid var(--accent-beige);
    border-radius: 10px;
    margin-right: 5px; /* Reduced space */
    margin-bottom: 5px; /* Reduced space */
    display: inline-block;
}
.product-section h2 { /* e.g., "Descriere" */
    font-size: 1.4em; /* Slightly smaller */
    margin-bottom: 0.8rem; /* Reduced space */
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--bs-border-color-translucent);
    color: var(--white-pure);
}
.product-tabs {
    margin-top: 1.5rem; /* Reduced space */
}
.product-tabs .nav-tabs {
    border-bottom-color: var(--bs-border-color-translucent);
}
.product-tabs .nav-link {
    color: var(--accent-beige);
    opacity: 0.8;
    border: 1px solid transparent;
    background-color: transparent;
    border-bottom-color: transparent;
    padding: 0.6rem 1rem; /* Reduced padding */
    font-weight: 500;
    transition: all 0.2s ease;
}
.product-tabs .nav-link:hover {
    border-color: var(--accent-beige-rgba-50);
    border-bottom-color: transparent;
    opacity: 1.0;
    background-color: rgba(255, 255, 255, 0.05);
}
.product-tabs .nav-link.active {
    color: var(--secondary-brown);
    background-color: var(--accent-beige);
    border-color: var(--accent-beige);
    border-bottom-color: var(--accent-beige);
    font-weight: 600;
    opacity: 1.0;
}
.product-tabs .tab-content {
    background-color: rgba(0, 0, 0, 0.1);
    border: 1px solid var(--accent-beige);
    padding: 1.5rem 1.2rem; /* Reduced padding */
    border-radius: 0 0 6px 6px; /* Only bottom corners */
}
.product-tabs .tab-content p,
.product-tabs .tab-content li {
    color: var(--accent-beige);
}
.product-tabs .list-group-item {
    background-color: transparent;
    color: var(--accent-beige);
    border-color: var(--bs-border-color-translucent);
    padding: 0.6rem 0; /* Reduced padding */
}
.product-tabs .list-unstyled li {
     padding: 0.3rem 0; /* Reduced spacing */
}
.product-tabs .fa-check-circle {
    color: #b3e0b5;
    margin-right: 8px;
}
.product-tabs .list-group-flush > .list-group-item:last-child {
     border-bottom-width: 0;
}

/* --- Related Products Section --- */
.related-products-section {
    margin-top: 3rem; /* Reduced space */
    padding-top: 2rem; /* Reduced space */
}
.related-products-section h2 {
    text-align: center;
    border-bottom: none;
    margin-bottom: 2rem; /* Reduced space */
}
.related-products-section .product-card-target { /* Use product card styles */
    margin-bottom: 1.5rem;
    /* Optionally override aspect ratio for related products */
    /* aspect-ratio: 4 / 3; */
}

/* --- About Us / Article Page --- */
.section-subheading {
    font-family: var(--heading-font);
    color: var(--accent-beige);
    font-weight: normal;
    text-align: center;
    margin-top: 2rem; /* Reduced space */
    margin-bottom: 1.2rem; /* Reduced space */
    font-size: 1.8rem; /* Slightly smaller */
}
.section-subheading strong {
    color: var(--white-pure);
    font-weight: normal;
}
.about-text,
.article-content {
    font-size: 1.0rem; /* Standard base text */
    line-height: 1.7; /* Slightly reduced spacing */
    margin-bottom: 1.5rem; /* Reduced space */
}
.about-text p,
.article-content p {
    margin-bottom: 1rem; /* Reduced space */
    color: var(--accent-beige);
}
.about-text strong,
.article-content strong {
    color: var(--white-pure);
    font-weight: 600;
}
.media-link-wrapper {
    margin-bottom: 1.2rem; /* Reduced space */
    border-left: 3px solid var(--bs-border-color-translucent);
    padding-left: 1rem;
}
.media-title {
    color: var(--white-pure);
    text-decoration: underline;
    font-weight: 600;
    font-size: 1.05em; /* Slightly smaller */
    display: inline-block;
    margin-bottom: 0.2rem;
}
.media-title:hover {
    color: var(--accent-beige);
}
.media-source {
    color: var(--light-gold);
    font-style: italic;
    font-size: 0.85em; /* Slightly smaller */
    display: block;
}
.article-links-section {
    margin-top: 2.5rem; /* Reduced space */
    margin-bottom: 2.5rem; /* Reduced space */
    padding-top: 1.5rem; /* Reduced space */
    position: relative;
    padding-left: calc(var(--bs-gutter-x) * .5); /* Align with grid */
    padding-right: calc(var(--bs-gutter-x) * .5);
}
.article-links-slider,
.usecase-links-slider {
    position: relative;
    /* visibility: hidden; /* Hide until Slick initializes - Handled inline */
}
.slick-initialized {
    visibility: visible !important;
}
.article-image-link .article-link-card {
    border: none;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    aspect-ratio: 4 / 3;
    border-radius: .5rem;
}
.article-image-link:hover .article-link-card {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}
.article-link-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: .5rem;
}
.article-image-link:hover .article-link-image {
    transform: scale(1.05);
}
.article-link-image.fallback {
    object-fit: contain;
    padding: 1rem;
    background-color: var(--secondary-brown);
}
.article-link-card .card-img-overlay {
    background: linear-gradient(to top, var(--secondary-brown-rgba-80) 0%, rgba(50, 30, 20, 0.6) 40%, transparent 80%);
    padding: 0.8rem;
    opacity: 1;
    transition: background 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    border-radius: 0 0 .5rem .5rem;
}
.article-link-title {
    font-family: var(--heading-font);
    font-size: 1.05rem; /* Slightly smaller */
    color: var(--white-pure);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
    margin: 0;
    text-align: center;
    line-height: 1.2;
}
/* Arrows use general .slick-arrow styles + specific positioning below */
.article-links-slider .slick-arrow {
    background-color: rgba(30, 30, 30, 0.6);
    z-index: 10;
}
.article-links-slider .slick-arrow:hover {
    background-color: rgba(0, 0, 0, 0.8);
}
.article-links-slider .slick-prev { left: -10px; } /* Position outside */
.article-links-slider .slick-next { right: -10px; } /* Position outside */

.article-img-placeholder {
    border: 1px solid var(--bs-border-color-translucent);
    background-color: var(--secondary-brown);
    border-radius: .5rem;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    margin-bottom: 1rem; /* Add space below images */
}
.article-img-placeholder[src$="logo.png"],
.article-img-placeholder.fallback,
.article-img-placeholder:error {
    object-fit: contain;
    padding: 1.5rem;
    opacity: 0.5;
}

/* =================================================================== */
/* == 6. COMPONENT STYLES ============================================ */
/* =================================================================== */

/* --- Slick Slider --- */
.slick-slider { position: relative; display: block; box-sizing: border-box; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; -webkit-touch-callout: none; -khtml-user-select: none; -ms-touch-action: pan-y; touch-action: pan-y; -webkit-tap-highlight-color: transparent; }
.slick-list { position: relative; display: block; overflow: hidden; margin: 0; padding: 0; }
.slick-list:focus { outline: none; }
.slick-list.dragging { cursor: pointer; cursor: hand; }
.slick-slider .slick-track, .slick-slider .slick-list { transform: translate3d(0, 0, 0); }
.slick-track { position: relative; top: 0; left: 0; display: block; margin-left: auto; margin-right: auto; }
.slick-track:before, .slick-track:after { display: table; content: ''; }
.slick-track:after { clear: both; }
.slick-loading .slick-track { visibility: hidden; }
.slick-slide { display: none; float: left; height: 100%; min-height: 1px; outline: none; }
[dir='rtl'] .slick-slide { float: right; }
.slick-slide img { display: block; width: 100%; }
.slick-slide.slick-loading img { display: none; }
.slick-slide.dragging img { pointer-events: none; }
.slick-initialized .slick-slide { display: block; }
.slick-loading .slick-slide { visibility: hidden; }
.slick-vertical .slick-slide { display: block; height: auto; border: 1px solid transparent; }
.slick-arrow.slick-hidden { display: none; }

/* General Arrows */
.slick-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(0, 0, 0, 0.4);
    border: none;
    color: white;
    padding: 0;
    cursor: pointer;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 1rem; /* Icon size */
    transition: background-color 0.2s ease;
    outline: none;
}
.slick-arrow:hover, .slick-arrow:focus {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    outline: none;
}
.slick-prev { left: 10px; } /* Default position */
.slick-next { right: 10px; } /* Default position */

/* General Dots */
.slick-dots { position: absolute; bottom: -25px; display: block; width: 100%; padding: 0; margin: 0; list-style: none; text-align: center; }
.slick-dots li { position: relative; display: inline-block; width: 15px; height: 15px; margin: 0 3px; padding: 0; cursor: pointer; }
.slick-dots li button { font-size: 0; line-height: 0; display: block; width: 10px; height: 10px; padding: 2.5px; cursor: pointer; color: transparent; border: 0; outline: none; background: #ccc; border-radius: 50%; transition: background-color 0.2s ease; }
.slick-dots li button:hover, .slick-dots li button:focus { outline: none; background: #aaa; }
.slick-dots li.slick-active button { background: var(--accent-beige); } /* Use theme color */

/* --- Mautic Form Popup --- */
.mauticform-field-hidden { display:none; }
.mauticform-row.mauticform-required .mauticform-label:after { content: " *"; color: var(--popup-error-text); font-weight: bold; }
.mauticform-checkboxgrp-label { font-weight: normal; }

.mautic-popup-container { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 1050; display: flex; align-items: center; justify-content: center; font-family: var(--body-font); /* Hidden by default via JS */ }
.mautic-popup-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(31, 19, 14, 0.75); z-index: 1051; }
.mautic-popup-modal {
    position: relative;
    background: var(--main-brown);
    color: var(--accent-beige);
    padding: 2rem 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--bs-border-color-translucent);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    z-index: 1052;
    max-width: 550px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-sizing: border-box;
    /* Scrollbar */
    scrollbar-width: thin; scrollbar-color: var(--accent-beige) var(--secondary-brown);
}
.mautic-popup-modal::-webkit-scrollbar { width: 8px; }
.mautic-popup-modal::-webkit-scrollbar-track { background: var(--secondary-brown); border-radius: 4px; }
.mautic-popup-modal::-webkit-scrollbar-thumb { background-color: var(--accent-beige); border-radius: 4px; border: 2px solid var(--secondary-brown); }
.mautic-popup-modal::-webkit-scrollbar-thumb:hover { background-color: var(--white-pure); }

.mautic-popup-close { position: absolute; top: 12px; right: 18px; background: transparent; border: none; color: var(--accent-beige); font-family: sans-serif; font-size: 2.4rem; font-weight: 300; line-height: 1; cursor: pointer; opacity: 0.7; transition: opacity 0.2s ease, color 0.2s ease; padding: 5px; z-index: 1053; }
.mautic-popup-close:hover { opacity: 1; color: var(--white-pure); }

.mautic-popup-modal .bread-illustration { text-align: center; margin: 0 auto 1.5rem auto; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3)); }
.mautic-popup-modal .bread-illustration img { max-width: 130px; height: auto; }
.mautic-popup-modal h2 { color: var(--white-pure); text-align: center; margin: 0 0 0.8rem 0; font-size: 2rem; font-weight: normal; font-family: var(--heading-font); line-height: 1.3; }
.mautic-popup-modal p { font-size: 1rem; line-height: 1.6; margin: 0 0 1.5rem 0; /* Reduced margin */ text-align: center; color: var(--accent-beige); font-family: var(--body-font); }

.mautic-popup-modal .mauticform_wrapper { max-width: 100%; margin: 0 auto; }
.mautic-popup-modal .mauticform-row { display: block; margin-bottom: 1rem; /* Reduced margin */ text-align: left; }
.mautic-popup-modal .mauticform-label { font-size: 0.9rem; display: block; font-weight: 600; margin-bottom: 0.4rem; color: var(--accent-beige); font-family: var(--body-font); text-transform: uppercase; letter-spacing: 0.5px; }
.mautic-popup-modal .mauticform-input,
.mautic-popup-modal .mauticform-textarea,
.mautic-popup-modal .mauticform-selectbox { width: 100%; padding: 0.7rem 1rem; border: 1px solid var(--accent-beige); border-radius: 6px; font-size: 1rem; color: var(--accent-beige); background-color: var(--secondary-brown); box-sizing: border-box; font-family: var(--body-font); transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.mautic-popup-modal .mauticform-input:focus,
.mautic-popup-modal .mauticform-textarea:focus,
.mautic-popup-modal .mauticform-selectbox:focus { border-color: var(--white-pure); outline: none; box-shadow: 0 0 0 3px var(--accent-beige-rgba-25); background-color: var(--secondary-brown); }
.mautic-popup-modal .mauticform-input::placeholder,
.mautic-popup-modal .mauticform-textarea::placeholder { color: var(--accent-beige-rgba-60); opacity: 1; }
.mautic-popup-modal .mauticform-helpmessage { display: block; font-size: 0.85em; margin-top: 0.3rem; margin-bottom: 0.3rem; color: var(--accent-beige-rgba-80); font-style: italic; font-family: var(--body-font); }
.mautic-popup-modal .mauticform-checkboxgrp-row,
.mautic-popup-modal .mauticform-radiogrp-row { display: flex; align-items: center; margin-bottom: 0.4rem; cursor: pointer; }
.mautic-popup-modal .mauticform-checkboxgrp-checkbox,
.mautic-popup-modal .mauticform-radiogrp-radio { margin-right: 0.7rem; flex-shrink: 0; width: auto; height: auto; accent-color: var(--accent-beige); cursor: pointer; transform: scale(1.1); }
.mautic-popup-modal .mauticform-checkboxgrp-label,
.mautic-popup-modal .mauticform-radiogrp-label { font-weight: normal; margin-bottom: 0; font-size: 0.95rem; color: var(--accent-beige); cursor: pointer; font-family: var(--body-font); }
.mautic-popup-modal .mauticform-errormsg { display: block; color: var(--popup-error-text); margin-top: 0.4rem; font-size: 0.85em; font-weight: bold; }
.mautic-popup-modal .mauticform-error { margin-bottom: 1rem; color: var(--popup-error-text); background-color: var(--popup-error-bg); border: 1px solid var(--popup-error-text); padding: 0.8rem 1.2rem; border-radius: 6px; text-align: left; font-size: 0.9rem; font-family: var(--body-font); }
.mautic-popup-modal .mauticform-message { margin-bottom: 1rem; color: var(--popup-success-text); background-color: var(--popup-success-bg); border: 1px solid var(--popup-success-text); padding: 0.8rem 1.2rem; border-radius: 6px; text-align: left; font-size: 0.9rem; font-family: var(--body-font); }
.mautic-popup-modal .mauticform-button-wrapper { text-align: center; margin-top: 1.5rem; /* Reduced margin */ }
.mautic-popup-modal .mauticform-button.btn-default { color: var(--secondary-brown); background-color: var(--accent-beige); border: 1px solid var(--accent-beige); width: auto; min-width: 180px; /* Reduced min-width */ padding: 9px 25px; /* Reduced padding */ font-size: 0.95rem; /* Slightly smaller */ font-weight: 600; text-align: center; vertical-align: middle; cursor: pointer; white-space: nowrap; line-height: 1.6; border-radius: 50px; user-select: none; transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease; font-family: var(--body-font); display: inline-block; box-shadow: 0 3px 6px rgba(0,0,0,0.2); text-transform: uppercase; letter-spacing: 0.5px; }
.mautic-popup-modal .mauticform-button.btn-default:hover { background-color: var(--white-pure); border-color: var(--white-pure); color: var(--secondary-brown); box-shadow: 0 5px 10px rgba(0,0,0,0.3); }
.mautic-popup-modal .mauticform-button.btn-default[disabled] { opacity: 0.5; cursor: not-allowed; background-color: rgba(239, 226, 205, 0.4); border-color: rgba(239, 226, 205, 0.4); color: rgba(50, 30, 20, 0.7); box-shadow: none; }
.mautic-popup-modal .mauticform-button.btn-default.is-loading { /* Add spinner styles if needed */ }
.mautic-popup-modal .mauticform-button.btn-default.is-success { background-color: var(--popup-success-text); border-color: var(--popup-success-text); color: var(--secondary-brown); }
.mautic-popup-modal .mauticform-button.btn-default.is-error { background-color: var(--popup-error-text); border-color: var(--popup-error-text); color: var(--secondary-brown); }

/* =================================================================== */
/* == 7. PRE-FOOTER & FOOTER ========================================= */
/* =================================================================== */

/* --- Pre-Footer --- */
#ht-pre-footer {
    background-color: var(--secondary-brown);
    color: var(--accent-beige);
    padding: 40px 0; /* Reduced padding */
    border-top: 1px solid rgba(239, 226, 205, 0.1);
}
#ht-pre-footer h2.footer-heading {
     color: var(--white-pure);
     font-size: 1.3em; /* Slightly smaller */
     margin-bottom: 1.2rem; /* Reduced space */
     font-family: var(--heading-font);
}
#ht-pre-footer a {
    color: var(--white-pure);
    text-decoration: none;
}
#ht-pre-footer a:hover {
    color: var(--accent-beige);
    text-decoration: underline;
}
#ht-pre-footer address p {
    margin-bottom: 0.6rem; /* Reduced space */
    line-height: 1.6; /* Slightly reduced */
}
#ht-pre-footer address .item {
    align-items: flex-start;
    gap: 0.7rem; /* Space between icon and text */
}
#ht-pre-footer .address .item i {
    color: var(--accent-beige);
    width: 20px; /* Align icons */
    text-align: center;
    margin-top: 3px; /* Align icon */
    flex-shrink: 0;
}
#ht-pre-footer .address .item p {
    margin-bottom: 0;
}
#ht-pre-footer .location-block {
    margin-bottom: 0.8rem; /* Reduced space */
}
#ht-pre-footer .location-name {
     font-family: var(--heading-font);
     font-size: 1.05em; /* Slightly smaller */
     margin-bottom: 0.3rem;
     color: var(--white-pure);
     transition: color 0.2s ease;
     display: flex; /* Align icon */
     align-items: center;
     gap: 0.6rem;
}
#ht-pre-footer .location-name i {
    color: var(--accent-beige);
    width: 20px;
    text-align: center;
    transition: color 0.2s ease;
    flex-shrink: 0;
}
#ht-pre-footer .clickable-location {
    cursor: pointer;
}
#ht-pre-footer .clickable-location:hover .location-name,
#ht-pre-footer .clickable-location:hover i {
    color: var(--accent-beige);
}
#ht-pre-footer .location-block.active .location-name,
#ht-pre-footer .location-block.active i {
    color: var(--white-pure);
    font-weight: bold;
}
#ht-pre-footer .location-details {
    padding-left: 28px; /* Indent details (aligned with icon + gap) */
    border-left: 2px solid var(--bs-border-color-translucent);
    margin-left: 9px; /* Align border with icon center */
    margin-top: 0.4rem; /* Reduced space */
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
}
#ht-pre-footer .location-details p {
    margin-bottom: 0.4rem; /* Reduced space */
    font-size: 0.9em; /* Slightly smaller */
}
#ht-pre-footer .location-details p i { /* Phone icon */
    width: auto;
    margin-right: 5px;
}
#ht-pre-footer .hours-list {
    padding-left: 0;
    list-style: none;
    font-size: 0.85em; /* Slightly smaller */
    margin-top: 0.6rem; /* Reduced space */
    margin-bottom: 0 !important;
}
#ht-pre-footer .hours-list li {
    margin-bottom: 0.2rem; /* Reduced space */
    color: var(--accent-beige-rgba-85);
}
#ht-pre-footer .hours-list .day {
    display: inline-block;
    width: 80px; /* Adjust alignment */
    font-weight: 500;
    color: var(--accent-beige);
}
#location-details-container {
    max-height: 380px; /* Match map height */
    overflow-y: auto;
    padding-right: 10px;
    /* Custom scrollbar */
    scrollbar-width: thin; scrollbar-color: var(--accent-beige) var(--secondary-brown);
}
#location-details-container::-webkit-scrollbar { width: 6px; }
#location-details-container::-webkit-scrollbar-track { background: rgba(0,0,0,0.1); border-radius: 3px; }
#location-details-container::-webkit-scrollbar-thumb { background-color: var(--accent-beige); border-radius: 3px; }

#ht-pre-footer .bringo-section {
    align-items: flex-start;
    display: flex; /* Ensure flex */
    gap: 15px; /* Space between logo and text */
}
#ht-pre-footer .bringo-section img.logoBringo {
     max-width: 65px; /* Slightly smaller */
     margin-top: 5px;
     flex-shrink: 0;
}
#ht-pre-footer .bringo-section p {
     font-size: 0.9em; /* Slightly smaller */
     line-height: 1.5; /* Slightly reduced */
     margin: 0; /* Remove default margin */
}
#ht-pre-footer .social-icons a {
    color: var(--accent-beige);
    font-size: 1.6rem; /* Slightly smaller */
    transition: color 0.2s ease;
    margin: 0 8px; /* Adjust spacing */
}
#ht-pre-footer .social-icons a:hover {
    color: var(--white-pure);
}

/* --- MapLibre --- */
.custom-marker { width: 35px; height: 49px; background-image: url('../Ressources/map_icon.png'); background-size: cover; cursor: pointer; border: none; background-color: transparent; padding: 0; }
.maplibregl-ctrl-attrib-inner a, .maplibregl-ctrl-attrib-inner { color: #FFF !important; text-shadow: 0 0 2px rgba(0,0,0,0.7); }
.maplibregl-ctrl-attrib { background-color: var(--main-brown-rgba-80) !important; padding: 2px 5px; border-radius: 3px; }
.maplibregl-popup-content { color: var(--secondary-brown); background-color: rgba(255, 255, 255, 0.95); border-radius: 6px; padding: 10px 15px; /* Reduced padding */ box-shadow: 0 2px 8px rgba(0,0,0,0.2); font-family: var(--body-font); font-size: 0.9em; /* Slightly smaller */ line-height: 1.4; max-width: 230px !important; /* Reduced width */ }
.maplibregl-popup-content strong { color: #000; font-family: var(--heading-font); font-size: 1.05em; display: block; margin-bottom: 4px; }
.maplibregl-popup-content p { margin-bottom: 2px; }
.maplibregl-popup-anchor-bottom .maplibregl-popup-tip { border-top-color: rgba(255, 255, 255, 0.95); }
.maplibregl-popup-anchor-top .maplibregl-popup-tip { border-bottom-color: rgba(255, 255, 255, 0.95); }
.maplibregl-popup-anchor-left .maplibregl-popup-tip { border-right-color: rgba(255, 255, 255, 0.95); }
.maplibregl-popup-anchor-right .maplibregl-popup-tip { border-left-color: rgba(255, 255, 255, 0.95); }
.maplibregl-popup-close-button { color: var(--secondary-brown); font-size: 1.4em; padding: 0 5px; line-height: 1; transition: color 0.2s ease; }
.maplibregl-popup-close-button:hover { color: #000; }

/* --- Footer --- */
#ht-footer {
    background-color: #1f130e;
    color: var(--accent-beige-rgba-85); /* Dimmer text */
    padding: 20px 0; /* Reduced padding */
    font-size: 0.85em; /* Slightly smaller */
}
#ht-footer p {
    color: inherit;
    margin: 0;
}

/* =================================================================== */
/* == 8. MEDIA QUERIES (RESPONSIVE) ================================== */
/* =================================================================== */

/* --- Large Screens (lg - 992px and up) --- */
@media (min-width: 992px) {
    body {
        padding-top: 0; /* Remove mobile navbar padding */
    }
    .mobile-navbar .navbar-collapse {
        background-color: transparent;
        border-top: none;
        margin-top: 0;
        max-height: none; /* Reset mobile collapse */
        overflow: visible;
    }
    .mobile-navbar .nav-item {
        border-bottom: none;
    }

    /* Usecase Row Scrolling */
    .usecase-row {
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        justify-content: flex-start;
        padding-bottom: 10px;
        margin-bottom: -10px;
        cursor: grab;
        /* Hide Scrollbar */
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE */
    }
    .usecase-row::-webkit-scrollbar { display: none; /* Webkit */ }
    .usecase-row.is-grabbing { cursor: grabbing; }
    .usecase-row .usecase-item {
        flex-shrink: 0; /* Prevent shrinking */
    }
    .usecase-extra { display: block !important; }
    .load-more-usecases-container { display: none; }
    .view-all-usecases-container { display: block; }

    /* Category Page Desktop Benefits */
    .d-none.d-lg-block .category-benefits {
        background-color: transparent; border: none; box-shadow: none; border-radius: 0; padding: 0;
    }
    .d-none.d-lg-block .category-benefits li {
        font-size: 1.05rem; margin-bottom: 0.5rem;
    }
}

/* --- Medium Screens (md - max-width: 991.98px) --- */
@media (max-width: 991.98px) {
    h1 { font-size: 2.3rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.4rem; }
    .content-block h2 { font-size: 2.0rem; } /* Section titles */

    /* Mobile Navbar */
    body {
        /* Add padding equal to navbar height + a bit extra */
        padding-top: calc(var(--mobile-navbar-height) + 0.5rem); /* SLIGHTLY increased padding */
    }
    .navbar-collapse {
        background-color: var(--main-brown);
        margin-top: 5px;
        border-top: 1px solid var(--bs-border-color-translucent);
        transition: max-height 0.3s ease;
        overflow: hidden;
        max-height: 0; /* Collapsed */
    }
    .navbar-collapse.show {
        max-height: 500px; /* Expanded */
    }
    /* Toggler Icon Animation */
    .navbar-toggler.collapsed span:nth-child(1) { transform: translateY(0) rotate(0deg); }
    .navbar-toggler.collapsed span:nth-child(2) { opacity: 1; transform: rotate(0deg); }
    .navbar-toggler.collapsed span:nth-child(3) { transform: translateY(0) rotate(0deg); }
    .navbar-toggler:not(.collapsed) span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .navbar-toggler:not(.collapsed) span:nth-child(2) { opacity: 0; }
    .navbar-toggler:not(.collapsed) span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    /* Mobile Usecase Display */
    .usecase-extra { display: none; }
    .load-more-usecases-container { display: block; }
    .view-all-usecases-container { display: none; }

    /* Category Page Mobile Layout */
    .category-side-image-container {
         margin-bottom: 1.5rem;
         border-radius: .5rem;
         /* aspect-ratio: 16/9; /* Optional: Adjust aspect ratio */
    }
    .category-side-image-container .mobile-gradient-overlay {
        content: '';
        position: absolute; bottom: 0; left: 0; right: 0;
        height: 80%;
        background: linear-gradient(to top, var(--main-brown-rgba-95) 15%, var(--main-brown-rgba-85) 45%, transparent 100%);
        z-index: 1;
        pointer-events: none;
        border-radius: 0 0 .5rem .5rem;
    }
    .d-lg-none.category-benefits { /* Mobile benefits overlay */
        position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
        background-color: transparent !important; border: none !important; box-shadow: none !important; border-radius: 0;
        max-height: 60%; overflow-y: auto;
        padding: 0rem 1rem 0.8rem 1rem;
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
        /* Scrollbar */
        scrollbar-width: thin; scrollbar-color: var(--accent-beige-rgba-30) transparent;
    }
    .d-lg-none.category-benefits::-webkit-scrollbar { width: 5px; }
    .d-lg-none.category-benefits::-webkit-scrollbar-thumb { background: var(--accent-beige-rgba-30); border-radius: 3px; }
    .d-lg-none.category-benefits::-webkit-scrollbar-track { background: transparent; }
    .d-lg-none.category-benefits .benefits-heading {
        font-size: 1.5rem; font-family: var(--heading-font); margin-bottom: 0.6rem; text-align: left; color: var(--white-pure); padding-top: 0.5rem;
    }
    .d-lg-none.category-benefits li { font-size: 0.9rem; margin-bottom: 0.3rem; color: var(--accent-beige); }
    .d-lg-none.category-benefits li span strong { color: var(--white-pure); }
    .d-lg-none.category-benefits .benefit-svg-icon { width: 18px; height: 18px; margin-top: 3px; }
    .d-lg-none.category-benefits .fallback-bullet { margin-top: 3px; width: 18px; }

    /* Category Card */
    .category-card-target { aspect-ratio: 1 / 1; } /* Square */
    .category-card-target .card-title { font-size: 1.3rem; }
    .category-card-target .card-text { -webkit-line-clamp: 2; }

    /* Product Detail Carousel */
    .product-slider-nav { padding: 0 35px; }
    .product-slider-nav .slick-arrow { width: 34px; height: 34px; }
    .product-slider-nav .slick-arrow::before { font-size: 14px; }
    .product-slider-nav .slick-prev { left: -5px; }
    .product-slider-nav .slick-next { right: -5px; }

    /* Pre-footer */
    #map-container { height: 350px; }
    #location-details-container { max-height: none; overflow-y: visible; margin-top: 1.5rem; padding-right: 0; } /* Remove height limit when stacked */
    #ht-pre-footer .footer-section { margin-bottom: 1.5rem; } /* Space between stacked sections */
    #ht-pre-footer .footer-section:last-child { margin-bottom: 0; }
}

/* --- Small Screens (sm - max-width: 767.98px) --- */
@media (max-width: 767.98px) {
    body { font-size: 15px; }
    h1 { font-size: 2.0rem; }
    h2 { font-size: 1.6rem; }
    h3 { font-size: 1.3rem; }
    .content-block { padding-top: 0; padding-bottom: 1rem; }
    .content-block h2 { font-size: 1.8rem; margin-bottom: 1.5rem; } /* Section titles */

    #ht-hero { min-height: auto; padding: 1.5rem 0; } /* Reduced height/padding */
    #ht-hero .hero-logo { max-height: 90px; } /* Smaller logo */
    #ht-hero .hero-menu ul { gap: 15px 25px; } /* Reduced menu gap */
    #ht-hero .hero-menu a { font-size: 1.3em; }

    /* Product Card: Half Height & Reduced Distances */
    .product-card-target {
        aspect-ratio: 2 / 1; /* Make card wider (half height relative to width) */
        border-radius: 10px; /* Slightly less round */
    }
    .product-card-target .card-content-overlay { padding: 0.6rem; }
    .product-card-target .text-block { bottom: 0.6rem; left: 0.6rem; right: 50%; } /* Adjust positioning */
    .product-card-target .price { bottom: 0.5rem; right: 0.6rem; }
    .product-card-target .card-title { font-size: 1.2rem; margin-bottom: 0.1rem; }
    .product-card-target .price-amount { font-size: 1.6rem; }
    .product-card-target .price-currency { font-size: 0.75rem; }
    .product-card-target .card-text { display: none; } /* Hide description */

    /* Category Card */
    .category-card-target { aspect-ratio: 1 / 1; } /* Keep square or adjust */
    .category-card-target .card-title { font-size: 1.2rem; }
    .category-card-target .card-text { font-size: 0.8rem; -webkit-line-clamp: 2; }
    .category-card-target .category-discover-btn { padding: 0.3rem 0.8rem; font-size: 0.75rem; }

    /* Filters */
    .filter-section { padding: 15px 20px; margin-bottom: 2rem; }
    .filter-section .filter-title { font-size: 1.1rem; }
    .filter-options .filter-link { padding: 6px 14px; font-size: 0.8em; margin-right: 4px; margin-bottom: 6px; }

    /* Product Detail */
    .product-detail-info .price { font-size: 1.3em; }
    .product-tags .badge { padding: 0.3em 0.7em; font-size: 0.75em; }
    .product-tabs .nav-link { padding: 0.5rem 0.8rem; font-size: 0.9em; }
    .product-tabs .tab-content { padding: 1.2rem 1rem; }
    .related-products-section { margin-top: 2rem; padding-top: 1.5rem; }
    .related-products-section h2 { font-size: 1.5rem; margin-bottom: 1.5rem; }

    /* Pre-footer: Left align stacked content */
    #ht-pre-footer .col-md-8,
    #ht-pre-footer .col-md-4,
    #ht-pre-footer .footer-section {
        text-align: left;
    }
    #ht-pre-footer .address .item,
    #ht-pre-footer .location-block {
        justify-content: flex-start; /* Ensures left alignment for flex items */
        text-align: left;
        width: 100%; /* Ensure full width */
        margin: 0 0 0.8rem 0;
    }
     #ht-pre-footer .location-details { margin-left: 0; padding-left: 1rem; }
     #ht-pre-footer .bringo-section {
         flex-direction: row; /* Keep side-by-side if space allows, or column */
         align-items: flex-start;
         margin-bottom: 1rem;
         text-align: left;
     }
    #ht-pre-footer .bringo-section img.logoBringo { margin-right: 10px; margin-bottom: 0; }
    #ht-pre-footer .bringo-section p { margin-left: 0; text-align: left; }
    #ht-pre-footer .social-icons { text-align: left; margin-top: 1rem; }
    #ht-pre-footer .social-icons a { margin: 0 10px 0 0; } /* Space only to the right */

    #map-container { height: 300px; }
    #ht-footer .copy { text-align: left; margin-bottom: 0; }

    /* Article Slider */
    .article-links-slider .slick-prev { left: -5px; }
    .article-links-slider .slick-next { right: -5px; }
}

/* --- Extra Small Screens (xs - max-width: 575.98px) --- */
@media (max-width: 575.98px) {
    body {
        /* Slightly more padding below navbar */
        padding-top: calc(var(--mobile-navbar-height) + 1rem);
    }
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    .content-block h2 { font-size: 1.6rem; margin-bottom: 1.2rem; } /* Section titles */

    /* Product Card (already adjusted in sm, confirm styles) */
    .product-card-target .card-title { font-size: 1.1rem; }
    .product-card-target .price-amount { font-size: 1.4rem; }
    .product-card-target .price-currency { font-size: 0.7rem; }

    /* Category Card */
    .category-card-target { aspect-ratio: 4 / 5; } /* Back to taller */
    .category-card-target .card-title { font-size: 1.1rem; }
    .category-card-target .card-text { font-size: 0.75rem; -webkit-line-clamp: 2; }
    .category-card-target .category-discover-btn { padding: 0.3rem 0.8rem; font-size: 0.7rem; }

    /* Filters */
    .filter-options .filter-link { padding: 5px 10px; font-size: 0.75em; }

    /* Product Detail Carousel */
    .product-slider-for { margin-bottom: 1rem; }

    /* Category Page Mobile Overlay */
    .d-lg-none.category-benefits .benefits-heading { font-size: 1.3rem; }
    .d-lg-none.category-benefits li { font-size: 0.85rem; }

    /* FAQ */
    .faq-question-custom { font-size: 0.95rem; padding: 0.8rem 0; }
    .faq-answer-custom { font-size: 0.88rem; }
    .faq-item-custom.active .faq-answer-custom { padding-bottom: 1rem; }

    /* Buttons */
    .view-all-btn.btn-outline-light {
        font-size: 0.9rem; padding: 0.5rem 1rem; display: block; width: 100%;
        white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    }

    /* Pre-footer */
    #ht-pre-footer h2.footer-heading { font-size: 1.2em; }
    #ht-pre-footer { padding: 30px 0; }

    /* Article Slider */
    .article-links-section {
         margin-left: -12px; margin-right: -12px; /* Edge-to-edge feel */
         padding-left: 0; padding-right: 0;
    }
    .article-links-slider .slick-list {
         padding-left: 15px; padding-right: 15px; /* Padding inside list */
         margin: 0;
    }
    .article-links-slider .slick-arrow { /* Keep arrows or hide */
        /* display: none; */
        width: 30px; height: 30px;
    }
    .article-links-slider .slick-arrow i { font-size: 12px; }
    .article-links-slider .slick-prev { left: 5px; } /* Position inside padding */
    .article-links-slider .slick-next { right: 5px; }

    /* Mautic Popup */
    .mautic-popup-modal { padding: 1.5rem 1.2rem; width: 94%; border-radius: 8px; }
    .mautic-popup-modal h2 { font-size: 1.6rem; }
    .mautic-popup-modal p { font-size: 0.9rem; margin-bottom: 1.2rem; }
    .mautic-popup-modal .mauticform-input,
    .mautic-popup-modal .mauticform-textarea,
    .mautic-popup-modal .mauticform-selectbox { padding: 0.6rem 0.9rem; font-size: 0.95rem; }
    .mautic-popup-modal .mauticform-button.btn-default { font-size: 0.85rem; padding: 8px 20px; min-width: 160px; }
    .mautic-popup-close { top: 8px; right: 12px; font-size: 2.2rem; }
    .mautic-popup-modal .mauticform-label { font-size: 0.8rem; }
}


/* For the video thumbnail in the nav slider */
.video-nav-thumb-wrapper {
    position: relative;
    cursor: pointer;
    /* Ensure it fits well with other thumbs, you might need to adjust aspect ratio or height */
}

.video-play-icon-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem; /* Adjust size */
    color: rgba(255, 255, 255, 0.9);
    pointer-events: none; /* So click goes to the wrapper */
    text-shadow: 0 0 5px rgba(0,0,0,0.5);
}
.video-play-icon-overlay-static { /* For the fallback static icon */
    color: #333;
}


/* Style for the button on main gallery images */
.btn-play-video-main {
    /* You can customize further, e.g., border, shadow */
    transition: background-color 0.2s ease-in-out;
}
.btn-play-video-main:hover {
    background-color: rgba(230,230,230,0.9) !important;
}

/* Ensure video in modal doesn't have extra padding issues */
#productVideoModal .modal-body {
    line-height: 0; /* Fix potential bottom space under video */
}
#productVideoPlayer {
    display: block; /* Remove any inline spacing */
    max-height: 80vh; /* Prevent modal from being too tall */
}