:root {
    --primary-dark: #0f172a;
    --secondary-dark: #1e293b;
    --accent-gold: #c5a059;
    --accent-gold-hover: #b08d45;
    --light-bg: #f8fafc;
    --text-main: #334155;
    --text-light: #94a3b8;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    background-color: #fff;
    overflow-x: hidden;
}

/* Navbar styling */
.navbar {
    background-color: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 700;
    letter-spacing: 0.5px;
    font-size: 1.5rem;
}

.navbar-brand i {
    color: var(--accent-gold);
}

.navbar-nav .nav-link {
    color: #e2e8f0;
    font-weight: 400;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--accent-gold);
}

.navbar-nav .dropdown:hover>.dropdown-menu {
    display: block;
}

/* Hero section */
.hero {
    position: relative;
    height: 90vh;
    color: #fff;
}

.hero img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    filter: brightness(0.5);
}

/* Responsive Sticky Sidebar */
@media (min-width: 768px) {
    .sticky-sidebar {
        position: sticky;
        top: 100px;
        align-self: flex-start;
    }
}

.hero .carousel-inner,
.hero .carousel-item {
    height: 100%;
}

.hero .carousel-caption {
    bottom: 50%;
    transform: translateY(50%);
    text-align: left;
    left: 10%;
    right: 10%;
}

.hero .carousel-caption h1 {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeUp 1s ease forwards 0.5s;
}

.hero .carousel-caption p {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeUp 1s ease forwards 0.8s;
}

.hero .carousel-caption .btn-hero {
    opacity: 0;
    animation: fadeUp 1s ease forwards 1.1s;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Hero Adjustments */
@media (max-width: 768px) {
    .hero .carousel-caption {
        bottom: 40%;
        left: 5%;
        right: 5%;
    }

    .hero .carousel-caption h1 {
        font-size: 2.5rem;
    }

    .hero .carousel-caption p {
        font-size: 1.1rem;
    }
}

/* Stats */
.stats {
    padding: 5rem 0;
    background: #fff;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--accent-gold);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Categories - Full Width Slider */
.categories-section {
    padding: 0;
    background: var(--primary-dark);
    position: relative;
    /* Ensure buttons are positioned relative to this */
}

.category-container {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    width: 100%;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.category-container::-webkit-scrollbar {
    display: none;
}

.category-item {
    flex: 0 0 auto;
    width: 20%;
    height: auto;
    aspect-ratio: 1 / 1;
    position: relative;
    overflow: hidden;
    display: block;
    text-decoration: none;
    color: inherit;
    scroll-snap-align: start;
    transition: transform 0.4s ease;
}

.category-item:hover {
    transform: translateY(-4px);
}

.category-item:focus-visible {
    outline: 3px solid var(--accent-gold);
    outline-offset: -3px;
}

.category-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease, filter 0.4s ease;
    filter: brightness(0.65);
}

.category-item:hover img,
.category-item:focus-visible img {
    transform: scale(1.08);
    filter: brightness(0.9);
}

.category-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 2rem 1.75rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.92) 10%, rgba(0, 0, 0, 0.45) 60%, transparent);
    color: #fff;
    transition: padding 0.3s ease;
}

.category-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.category-arrow {
    font-size: 0.75em;
    color: var(--accent-gold);
    transition: transform 0.3s ease;
}

.category-item:hover .category-arrow,
.category-item:focus-visible .category-arrow {
    transform: translateX(6px);
}

.category-content .explore-link {
    display: block;
    margin-bottom: 0.4rem;
    color: var(--accent-gold);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.category-item:hover .explore-link,
.category-item:focus-visible .explore-link {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 992px) {
    .category-item {
        width: 33.33%;
    }
}

@media (max-width: 768px) {
    .category-item {
        width: 85vw;
        height: auto;
        /* Allow aspect-ratio to control height */
    }

    .category-content .explore-link {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Slider Navigation Buttons */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.slider-btn:hover {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    color: var(--primary-dark);
}

.slider-prev {
    left: 20px;
}

.slider-next {
    right: 20px;
}

@media (max-width: 768px) {
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }

    .slider-prev {
        left: 10px;
    }

    .slider-next {
        right: 10px;
    }
}

/* Products */
.products {
    padding: 6rem 0;
    background: var(--light-bg);
}

.section-title {
    /* text-align: center; */
    margin-bottom: 4rem;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.product-card {
    border: none;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    text-align: left;
}

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

.product-card img {
    min-height: 300px;
    object-fit: cover;
    width: 100%;
}

@media (max-width: 768px) {
    .product-card img {
        min-height: auto;
        height: auto;
        object-fit: contain;
    }
}

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

.product-card .card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}

.product-card .price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent-gold);
}

.product-card .old-price {
    font-size: 0.9rem;
    color: var(--text-light);
    text-decoration: line-through;
    margin-right: 8px;
}

/* Features */
.features {
    padding: 5rem 0;
    background: #fff;
}

.feature-item {
    padding: 2rem;
    border-radius: 1rem;
    transition: background 0.3s;
}

.feature-item:hover {
    background: var(--light-bg);
}

.feature-item i {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.feature-item h6 {
    font-weight: 600;
    font-size: 1.1rem;
}

/* Footer */
footer {
    background: #545454;
    color: #ffffff;
    padding: 5rem 0 2rem;
    margin-top: 4rem;
}

footer h5,
footer h6 {
    color: #fff;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

footer p {
    line-height: 1.8;
}

footer a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
}

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

.download-btn {
    background: #fff;
    color: black;
    padding: 0.8rem 1.5rem;
    font-weight: 600;
    border-radius: 8px;
    transition: background 0.3s;
    border: none;
}

.download-btn:hover {
    background: #fff7e7;
    color: black;
}

.social-icons a {
    font-size: 1.25rem;
    margin-right: 1rem;
}

/* Floating WhatsApp */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1050;
    background-color: #25D366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: transform 0.3s;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    color: #fff;
}

/* FAQ Section */
.faq-section {
    background: var(--primary-dark);
    color: #fff;
    padding: 5rem 0;
}

.faq-section .accordion-button {
    background: var(--secondary-dark);
    color: #fff;
    border: none;
    box-shadow: none;
    font-weight: 500;
}

.faq-section .accordion-button:not(.collapsed) {
    background: var(--accent-gold);
    color: var(--primary-dark);
    font-weight: 700;
}

.faq-section .accordion-item {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: transparent;
    margin-bottom: 1rem;
    border-radius: 8px !important;
    overflow: hidden;
}

.faq-section .accordion-body {
    background: var(--secondary-dark);
    color: #cbd5e1;
}

/* Testimonials */
.testimonials {
    background: #f8fafc;
    padding: 6rem 0;
}

.testimonial-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
    height: 100%;
    text-align: center;
}

.testimonial-card .fa-star {
    color: var(--accent-gold);
    font-size: 0.9rem;
}

.testimonial-card p {
    font-style: italic;
    color: var(--text-main);
    margin: 1.5rem 0;
    font-size: 1.1rem;
}

.testimonial-card strong {
    display: block;
    color: var(--primary-dark);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

/* CTA Section */
.cta {
    position: relative;
    color: #fff;
    /* background-image: url('../assets/Logo Mavis - Gold 2.png');
    background-size: cover;
    background-position: center; */
    background: black;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-attachment: fixed;
}

/* .cta::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.7);
    z-index: 0;
} */

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.cta-content h2 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #e2e8f0;
}

/* Page Header */
.page-header {
    background: #000;
    color: #fff;
    padding: 6rem 0;
    text-align: center;
    margin-bottom: 2rem;
}

.page-header h1 {
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Shop Sidebar */
.category-sidebar .list-group-item {
    border: none;
    cursor: pointer;
    padding: 0.75rem 1rem;
    color: var(--text-main);
    transition: all 0.2s;
    background: transparent;
}

.category-sidebar .list-group-item:hover {
    color: var(--accent-gold);
    background: var(--light-bg);
    padding-left: 1.25rem;
}

.category-sidebar .list-group-item.active {
    background-color: var(--accent-gold);
    border-color: var(--accent-gold);
    color: #fff;
}

/* Pagination */
.pagination .page-link {
    color: var(--primary-dark);
    border: none;
    margin: 0 5px;
    border-radius: 5px;
}

.pagination .page-item.active .page-link {
    background-color: var(--accent-gold);
    color: #fff;
}

.pagination .page-link:hover {
    background-color: var(--light-bg);
    color: var(--accent-gold);
}

/* Gallery */
.gallery-section {
    padding: 4rem 0;
}

.gallery-item {
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    position: relative;
    height: 300px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Contact */
.contact-section {
    padding: 4rem 0;
}

.form-control {
    padding: 0.8rem 1rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.form-control:focus {
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 0.2rem rgba(197, 160, 89, 0.25);
}

.btn-submit {
    background-color: var(--accent-gold);
    color: #fff;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    transition: all 0.3s;
}

.btn-submit:hover {
    background-color: var(--accent-gold-hover);
    transform: translateY(-2px);
}

/* Product Detail */
.product-detail-section {
    padding: 4rem 0;
}

.product-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.product-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
}

.product-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-main);
    margin-bottom: 2rem;
}

.btn-whatsapp-pill {
    background-color: #25D366;
    color: #fff;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-whatsapp-pill:hover {
    background-color: #128C7E;
    color: #fff;
    transform: translateY(-2px);
}

.btn-share {
    border: 2px solid var(--secondary-dark);
    color: var(--secondary-dark);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    background: transparent;
    transition: all 0.3s;
}

.btn-share:hover {
    background-color: var(--secondary-dark);
    color: #fff;
}

.thumbnail-container {
    display: flex;
    gap: 10px;
    margin-top: 1rem;
}

.thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.thumbnail:hover,
.thumbnail.active {
    border-color: var(--accent-gold);
    transform: scale(1.05);
}

.main-product-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
}

.main-product-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Custom Navbar Search */
.custom-search-input {
    background-color: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 0;
    color: white;
    padding-left: 0;
}

.custom-search-input:focus {
    background-color: transparent;
    border-bottom-color: var(--accent-gold);
    box-shadow: none;
    color: white;
}

.custom-search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.custom-search-btn {
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 0;
    text-decoration: none;
    padding-left: 10px;
    padding-right: 0;
}

.custom-search-btn:hover {
    color: var(--accent-gold) !important;
    border-bottom-color: var(--accent-gold);
}

@media (min-width: 992px) {
    .custom-navbar-collapse {
        position: relative;
    }

    .custom-search-form {
        max-width: 200px;
        transition: max-width 0.3s ease;
    }

    .custom-search-form:focus-within {
        max-width: 280px;
    }
}

/* Project Masonry Layout */
.project-masonry {
    column-count: 3;
    column-gap: 1.5rem;
}

.project-item {
    break-inside: avoid;
    margin-bottom: 1.5rem;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.project-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.15);
}

.project-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.7s ease;
    filter: brightness(0.85);
}

.project-item:hover img {
    transform: scale(1.05);
    filter: brightness(1);
}

.project-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: white;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.project-content h5 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: white;
}

.project-content .project-link {
    text-decoration: none;
    color: white;
}

@media (max-width: 992px) {
    .project-masonry {
        column-count: 2;
    }
}

@media (max-width: 576px) {
    .project-masonry {
        column-count: 1;
    }
}

/* Animation: Fade In Up (Single) */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-fade-in {
    animation: fadeInUp 1.5s ease-out forwards;
}

/* === Migrated inline styles (2026-05-19) === */
/* Edit these alongside the rest of this file from cPanel File Manager. */
.site-navbar {
    background: #303030ff;
}

.site-footer {
    background: #303030ff;
}

.hero-static--full {
    background-color: #000;
    height: 90vh;
    color: #d4af37;
}

.hero-static__logo {
    max-height: 150px;
}

.product-thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
}

.project-feature-tile {
    width: 350px;
    max-width: 100%;
}

.project-feature-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.category-sidebar-sticky {
    top: 110px;
}

.locale-link {
    text-decoration: none;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
}

.locale-link:hover {
    color: #d4af37 !important;
}

/* === Mobile-first responsive scale (2026-05-19) === */
/* Adds fluid typography and spacing. Override existing fixed values via specificity / later-in-source-order. */
:root {
    --section-pad-y: clamp(2rem, 4vw, 5rem);
    --container-pad-x: clamp(1rem, 4vw, 2rem);
}

.products,
.features,
.faq-section,
.testimonials,
.page-header,
.cta {
    padding-top: var(--section-pad-y);
    padding-bottom: var(--section-pad-y);
}

.section-title {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    line-height: 1.2;
}

.hero .carousel-caption h1 {
    font-size: clamp(2rem, 6vw, 4rem);
    line-height: 1.1;
}

.stat-number {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

.testimonial-card {
    padding: clamp(1.5rem, 3vw, 2.5rem);
}

.page-header h1,
.page-header .display-5 {
    font-size: clamp(1.75rem, 5vw, 3rem);
    line-height: 1.15;
}

/* Hero — cap height so phone browser chrome doesn't crop the content */
.hero-static--full {
    height: auto;
    min-height: clamp(420px, 70vh, 720px);
}

/* Project feature tile — let it shrink below 350px on narrow viewports */
.project-feature-tile {
    width: min(350px, 100%);
}

/* Project feature image — use aspect-ratio on mobile, restore fixed height on >=md */
.project-feature-img {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

@media (min-width: 768px) {
    .project-feature-img {
        aspect-ratio: auto;
        height: 500px;
    }
}

/* Sticky filter sidebar on lg+; on mobile let Bootstrap's .offcanvas-lg own positioning */
@media (min-width: 992px) {
    .category-sidebar-sticky {
        position: sticky;
        top: 110px;
    }
}

/* Gallery — use aspect ratio so images don't distort on narrow screens */
.gallery-item {
    height: auto;
    aspect-ratio: 4 / 3;
}

/* Footer columns get breathing room when stacked on phones */
@media (max-width: 575.98px) {
    footer [class*="col-"] {
        margin-bottom: 1.5rem;
    }
    footer [class*="col-"]:last-child {
        margin-bottom: 0;
    }
}

/* Filter offcanvas drawer (mobile/tablet); inline on lg+ via Bootstrap's .offcanvas-lg */
@media (max-width: 991.98px) {
    .offcanvas-lg.offcanvas-start {
        width: 88vw;
        max-width: 360px;
    }
    .offcanvas-lg .offcanvas-body {
        padding: 1.25rem;
    }
}

.offcanvas-lg .offcanvas-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.filter-trigger {
    border-radius: 999px;
    padding-inline: 1rem;
}

.filter-trigger:hover,
.filter-trigger:focus {
    background-color: var(--accent-gold, #c5a059);
    color: #fff;
    border-color: var(--accent-gold, #c5a059);
}

/* Navbar mobile polish — bigger tap targets, no iOS zoom on search */
@media (max-width: 991.98px) {
    .custom-navbar-collapse {
        gap: 0.5rem;
    }
    .custom-navbar-collapse .navbar-nav .nav-link {
        padding: 0.75rem 0;
        min-height: 44px;
    }
    .custom-navbar-collapse .dropdown-menu .dropdown-item {
        padding: 0.75rem 1rem;
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    .custom-navbar-collapse .locale-switcher {
        gap: 0.75rem;
    }
    .custom-navbar-collapse .locale-link {
        font-size: 1rem;
        min-width: 2.5rem;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    .custom-navbar-collapse .custom-search-input {
        font-size: 16px; /* prevents iOS Safari zoom-on-focus */
        padding: 0.625rem 0.875rem;
        min-height: 44px;
    }
    .custom-navbar-collapse .custom-search-btn {
        min-height: 44px;
        min-width: 44px;
    }
}

/* Animated burger button */
.burger-btn {
    border: none;
    background: transparent;
    padding: 0;
    width: 44px;
    height: 44px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.burger-btn:focus-visible {
    outline: 2px solid var(--accent-gold, #c5a059);
    outline-offset: 2px;
    border-radius: 6px;
}

.burger-bar {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #e2e8f0;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
}

.burger-btn[aria-expanded="true"] .burger-bar {
    background-color: var(--accent-gold, #c5a059);
}

.burger-btn[aria-expanded="true"] .burger-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.burger-btn[aria-expanded="true"] .burger-bar:nth-child(2) {
    opacity: 0;
}

.burger-btn[aria-expanded="true"] .burger-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Touch targets + tap affordances */
.btn,
.breadcrumb-item a,
.locale-link,
.social-icons a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.social-icons a {
    min-width: 44px;
}

/* Form inputs: 16px on mobile to prevent iOS Safari zoom; bump padding for tap comfort */
@media (max-width: 767.98px) {
    .form-control,
    .form-control-sm {
        font-size: 16px;
        padding: 0.75rem 1rem;
    }
}

/* Visible focus ring — important for keyboard / accessibility */
:focus-visible {
    outline: 2px solid var(--accent-gold, #c5a059);
    outline-offset: 2px;
    border-radius: 2px;
}

/* Remove the default focus halo on buttons (the gold ring above is enough) */
.btn:focus-visible {
    box-shadow: 0 0 0 0.25rem rgba(197, 160, 89, 0.35);
}

/* Tablet middle-ground for the category slider — bridges the 85vw -> 33% gap */
@media (min-width: 576px) and (max-width: 767.98px) {
    .category-item {
        width: 45vw;
    }
}

/* Larger carousel arrows on phones — easier to thumb */
@media (max-width: 767.98px) {
    .carousel-control-prev,
    .carousel-control-next {
        width: 15%;
    }
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 2.5rem;
        height: 2.5rem;
        background-size: 60% 60%;
    }
}

/* Breadcrumb on mobile: keep on one line, scroll horizontally if needed */
@media (max-width: 575.98px) {
    .breadcrumb-mobile-scroll {
        flex-wrap: nowrap;
        white-space: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .breadcrumb-mobile-scroll::-webkit-scrollbar {
        display: none;
    }
}

/* Floating WhatsApp button — bottom-right on every page */
.floating-wa {
    position: fixed;
    right: 1.25rem;
    bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35), 0 2px 6px rgba(0, 0, 0, 0.15);
    z-index: 1040;
    transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.floating-wa:hover,
.floating-wa:focus-visible {
    background: #128C7E;
    color: #fff;
    transform: scale(1.08);
    box-shadow: 0 10px 26px rgba(18, 140, 126, 0.4), 0 4px 8px rgba(0, 0, 0, 0.2);
}

.floating-wa:focus-visible {
    outline: 3px solid var(--accent-gold);
    outline-offset: 3px;
}

.floating-wa__pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #25D366;
    z-index: -1;
    animation: floatingWaPulse 2.4s ease-out infinite;
}

@keyframes floatingWaPulse {
    0% {
        transform: scale(1);
        opacity: 0.55;
    }
    80%,
    100% {
        transform: scale(1.7);
        opacity: 0;
    }
}

@media (max-width: 575.98px) {
    .floating-wa {
        right: 1rem;
        bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
        width: 52px;
        height: 52px;
        font-size: 1.6rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .floating-wa__pulse {
        animation: none;
    }
    .floating-wa {
        transition: none;
    }
}
