/* =============================================
   BamboleReborn Child Theme — Custom Styles
   Production-matching design on Blocksy base
   ============================================= */

/* -----------------------------------------
   CSS VARIABLES
----------------------------------------- */
:root {
    --br-pink: #f472b6;
    --br-pink-light: #fce7f3;
    --br-pink-dark: #ec4899;
    --br-pink-darker: #db2777;
    --br-rose: #fb7185;
    --br-gold: #f59e0b;
    --br-text: #1f2937;
    --br-text-light: #6b7280;
    --br-text-muted: #9ca3af;
    --br-bg: #ffffff;
    --br-bg-warm: #fdf2f8;
    --br-bg-gray: #f9fafb;
    --br-border: #e5e7eb;
    --br-border-light: #f3f4f6;
    --br-radius: 12px;
    --br-radius-sm: 8px;
    --br-shadow: 0 1px 3px rgba(0,0,0,0.08);
    --br-shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --br-shadow-lg: 0 10px 25px rgba(0,0,0,0.12);
    --br-transition: 0.25s ease;
    --br-max-width: 1280px;
}

/* -----------------------------------------
   GLOBAL TYPOGRAPHY
----------------------------------------- */
html {
    font-size: 120% !important;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--br-text);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.3;
}

a {
    color: var(--br-pink-dark);
    text-decoration: none;
    transition: color var(--br-transition);
}

a:hover {
    color: var(--br-pink-darker);
}

/* -----------------------------------------
   ANNOUNCEMENT BAR
----------------------------------------- */
.br-announcement-bar {
    background: #1a1a1a;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 500;
    overflow: hidden;
    white-space: nowrap;
    padding: 10px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
}

.br-announcement-track {
    display: inline-flex;
    animation: br-scroll 25s linear infinite;
}

.br-announcement-track span {
    padding-right: 4rem;
    color: #e0e0e0;
}

.br-star-gold {
    color: #f5b731;
    font-style: normal;
}

@keyframes br-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* -----------------------------------------
   HEADER
----------------------------------------- */
.br-header {
    background: var(--br-bg);
    border-bottom: 1px solid var(--br-border-light);
    position: sticky;
    top: 38px; /* below fixed announcement bar */
    z-index: 1000;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

/* Offset body for fixed announcement bar */
body {
    padding-top: 38px;
}

.br-header-inner {
    max-width: var(--br-max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

/* Logo */
.br-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.br-logo-img {
    height: 50px;
    width: auto;
}

.br-logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--br-text);
    letter-spacing: -0.5px;
}

.br-logo-text .pink {
    color: var(--br-pink-dark);
}

/* Navigation */
.br-main-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex-wrap: nowrap;
}

.br-main-nav > a,
.br-nav-dropdown > a {
    padding: 0.5rem 0.75rem;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--br-text);
    text-decoration: none;
    white-space: nowrap;
    border-radius: var(--br-radius-sm);
    transition: all var(--br-transition);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.br-main-nav > a:hover,
.br-nav-dropdown > a:hover {
    background: var(--br-bg-warm);
    color: var(--br-pink-dark);
}

/* Dropdown */
.br-nav-dropdown {
    position: relative;
}

.br-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--br-bg);
    border: 1px solid var(--br-border);
    border-radius: var(--br-radius-sm);
    box-shadow: var(--br-shadow-md);
    min-width: 200px;
    z-index: 100;
    padding: 0.5rem 0;
}

.br-nav-dropdown:hover .br-dropdown-menu {
    display: block;
}

.br-dropdown-menu a {
    display: block;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    color: var(--br-text);
    text-decoration: none;
    transition: background var(--br-transition);
}

.br-dropdown-menu a:hover {
    background: var(--br-bg-warm);
    color: var(--br-pink-dark);
}

/* Header Icons */
.br-header-icons {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.br-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--br-text);
    text-decoration: none;
    transition: all var(--br-transition);
}

.br-icon-btn:hover {
    background: var(--br-bg-warm);
    color: var(--br-pink-dark);
}

.br-cart-icon {
    position: relative;
}

.br-cart-count {
    position: absolute;
    top: 2px;
    right: 2px;
    background: var(--br-pink);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile toggle */
.br-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--br-text);
}

/* Mobile Nav Overlay */
.br-mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--br-bg);
    z-index: 10000;
    flex-direction: column;
    overflow-y: auto;
}

.br-mobile-nav.active {
    display: flex;
}

.br-mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--br-border-light);
}

.br-mobile-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--br-text);
    padding: 0.5rem;
}

.br-mobile-nav-links {
    display: flex;
    flex-direction: column;
    padding: 1rem 0;
}

.br-mobile-nav-links a {
    display: block;
    padding: 0.85rem 1.5rem;
    font-size: 1rem;
    color: var(--br-text);
    text-decoration: none;
    border-bottom: 1px solid var(--br-border-light);
    font-weight: 500;
}

.br-mobile-nav-links a:hover {
    background: var(--br-bg-warm);
    color: var(--br-pink-dark);
}

/* Header responsive */
@media (max-width: 1024px) {
    .br-main-nav > a,
    .br-nav-dropdown > a {
        font-size: 0.7rem;
        padding: 0.4rem 0.5rem;
    }
}

@media (max-width: 768px) {
    .br-main-nav {
        display: none;
    }

    .br-menu-toggle {
        display: flex;
    }

    .br-header-inner {
        height: 56px;
    }

    .br-logo-text {
        font-size: 1.2rem;
    }

    .br-logo-img {
        height: 40px;
    }
}

/* -----------------------------------------
   ARCHIVE PAGE CONTAINER
----------------------------------------- */
.br-archive-page {
    max-width: var(--br-max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* -----------------------------------------
   ARCHIVE LAYOUT (Sidebar + Content)
----------------------------------------- */
.br-archive-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 2rem;
    align-items: start;
}

/* -----------------------------------------
   SIDEBAR
----------------------------------------- */
.br-sidebar {
    position: sticky;
    top: 1rem;
}

.br-sidebar-widget {
    background: var(--br-bg);
    border: 1px solid var(--br-border-light);
    border-radius: var(--br-radius);
    padding: 1.25rem;
    margin-bottom: 1.25rem;
}

.br-widget-title {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0 0 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--br-pink-light);
    color: var(--br-text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.8rem;
}

/* Category List */
.br-category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.br-category-list > li {
    margin-bottom: 2px;
}

.br-category-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0.75rem;
    border-radius: var(--br-radius-sm);
    color: var(--br-text);
    font-size: 0.85rem;
    text-decoration: none;
    transition: all var(--br-transition);
}

.br-category-list a:hover {
    background: var(--br-bg-warm);
    color: var(--br-pink-dark);
}

.br-category-list a.current {
    background: var(--br-pink);
    color: #fff;
    font-weight: 600;
}

.br-category-list a.current .count {
    color: rgba(255,255,255,0.8);
}

.br-category-list .count {
    font-size: 0.75rem;
    color: var(--br-text-muted);
}

/* Subcategory list */
.br-subcategory-list {
    list-style: none;
    padding: 0 0 0 0.75rem;
    margin: 0;
    border-left: 2px solid var(--br-pink-light);
    margin-left: 0.75rem;
}

.br-subcategory-list a {
    font-size: 0.8rem;
    padding: 0.35rem 0.75rem;
}

/* Price Filter */
.br-price-filter {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.br-price-inputs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.br-price-inputs label {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.br-price-inputs label span {
    font-size: 0.7rem;
    color: var(--br-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.br-price-inputs input {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid var(--br-border);
    border-radius: var(--br-radius-sm);
    font-size: 0.85rem;
    font-family: 'Poppins', sans-serif;
    text-align: center;
}

.br-price-inputs input:focus {
    outline: none;
    border-color: var(--br-pink);
    box-shadow: 0 0 0 2px var(--br-pink-light);
}

.br-price-dash {
    color: var(--br-text-muted);
    margin-top: 1rem;
}

.br-filter-btn {
    width: 100%;
    padding: 0.6rem;
    background: var(--br-pink);
    color: #fff;
    border: none;
    border-radius: var(--br-radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    transition: background var(--br-transition);
}

.br-filter-btn:hover {
    background: var(--br-pink-darker);
}

/* -----------------------------------------
   BREADCRUMBS
----------------------------------------- */
.br-breadcrumbs {
    padding: 1rem 0;
    font-size: 0.85rem;
    color: var(--br-text-muted);
}

.br-breadcrumbs a {
    color: var(--br-text-light);
    text-decoration: none;
}

.br-breadcrumbs a:hover {
    color: var(--br-pink-dark);
}

.br-breadcrumbs .sep {
    margin: 0 0.5rem;
    color: var(--br-border);
}

.br-breadcrumbs .current {
    color: var(--br-text);
    font-weight: 500;
}

/* -----------------------------------------
   ARCHIVE HEADER
----------------------------------------- */
.br-archive-header {
    text-align: center;
    padding: 1.5rem 1rem 2rem;
    margin-bottom: 1.5rem;
    background: var(--br-bg-warm);
    border-radius: var(--br-radius);
    border: 1px solid var(--br-pink-light);
}

.br-archive-header h1 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--br-text);
    margin: 0 0 0.75rem;
}

.br-short-intro {
    max-width: 720px;
    margin: 0 auto;
    font-size: 1rem;
    color: var(--br-text-light);
    line-height: 1.7;
}

.br-short-intro a {
    color: var(--br-pink-dark);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* -----------------------------------------
   SHOP TOOLBAR (result count + sorting)
----------------------------------------- */
.br-shop-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--br-border-light);
    margin-bottom: 1.5rem;
}

.br-shop-toolbar .woocommerce-result-count {
    margin: 0;
    font-size: 0.9rem;
    color: var(--br-text-light);
}

.br-shop-toolbar .woocommerce-ordering select {
    padding: 0.5rem 2rem 0.5rem 0.75rem;
    border: 1px solid var(--br-border);
    border-radius: var(--br-radius-sm);
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    color: var(--br-text);
    background: var(--br-bg);
    cursor: pointer;
    appearance: auto;
}

/* -----------------------------------------
   PRODUCT GRID
----------------------------------------- */
.br-product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

/* Hide default WooCommerce wrapper if it renders */
.br-product-grid ul.products {
    display: contents;
}

/* -----------------------------------------
   PRODUCT CARD
----------------------------------------- */
.br-product-card {
    background: var(--br-bg);
    border-radius: var(--br-radius);
    overflow: hidden;
    border: 1px solid var(--br-border-light);
    transition: box-shadow var(--br-transition), transform var(--br-transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

@media (hover: hover) {
    .br-product-card:hover {
        box-shadow: var(--br-shadow-lg);
        transform: translateY(-4px);
    }
}

.br-product-card.out-of-stock {
    opacity: 0.7;
}

/* Product Link */
.br-product-link {
    display: flex;
    flex-direction: column;
    flex: 1;
    color: var(--br-text);
    text-decoration: none;
}

@media (hover: hover) {
    .br-product-link:hover {
        color: var(--br-text);
    }
}

/* -----------------------------------------
   PRODUCT IMAGE
----------------------------------------- */
.br-product-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--br-bg-gray);
}

.br-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.4s ease;
}

.br-product-image .br-img-hover {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

@media (hover: hover) {
    .br-product-card:hover .br-img-hover { opacity: 1; }
    .br-product-card:hover .br-img-main { opacity: 0; }
}

/* Badges */
.br-badge-sale {
    position: absolute;
    bottom: 10px;
    right: 10px;
    top: auto;
    left: auto;
    background: var(--br-rose);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 5px 11px;
    border-radius: 20px;
    z-index: 2;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.br-badge-soldout {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #374151;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    z-index: 2;
}

/* -----------------------------------------
   PRODUCT INFO
----------------------------------------- */
.br-product-info {
    padding: 0.75rem 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.br-product-cat {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--br-text-muted);
    margin-bottom: 4px;
}

.br-product-title {
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.4;
    margin: 0 0 0.5rem;
    color: var(--br-text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Rating stars */
.br-product-rating {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-bottom: 0.5rem;
    font-size: 0.8rem;
}

.br-product-rating .star {
    color: var(--br-gold);
    font-size: 0.9rem;
}

.br-product-rating .star.empty {
    color: #d1d5db;
}

.br-product-rating .rating-text {
    margin-left: 4px;
    color: var(--br-text-light);
    font-size: 0.75rem;
}

.br-product-rating .review-count {
    color: var(--br-text-muted);
    font-size: 0.75rem;
}

/* Price */
.br-product-price {
    margin-top: auto;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--br-pink-dark);
}

.br-product-price del {
    color: var(--br-text-muted);
    font-weight: 400;
    font-size: 0.85rem;
    margin-right: 0.5rem;
}

.br-product-price ins {
    text-decoration: none;
    color: var(--br-pink-dark);
}

/* -----------------------------------------
   PRODUCT ACTIONS (Add to Cart)
----------------------------------------- */
.br-product-actions {
    padding: 0 1rem 1rem;
}

.br-product-actions .button,
.br-product-actions .add_to_cart_button,
.br-product-actions .product_type_simple,
.br-product-actions a {
    display: block;
    width: 100%;
    padding: 0.65rem;
    background: var(--br-pink);
    color: #fff !important;
    border: none;
    border-radius: var(--br-radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background var(--br-transition);
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
}

.br-product-actions .button:hover,
.br-product-actions .add_to_cart_button:hover,
.br-product-actions a:hover {
    background: var(--br-pink-darker);
    color: #fff !important;
}

/* "View cart" link after adding */
.br-product-actions .added_to_cart {
    display: block;
    text-align: center;
    font-size: 0.75rem;
    margin-top: 0.5rem;
    color: var(--br-pink-dark) !important;
    background: none !important;
    padding: 0 !important;
    text-transform: none;
}

/* -----------------------------------------
   PAGINATION
----------------------------------------- */
.br-pagination {
    padding: 2.5rem 0;
    text-align: center;
}

.br-pagination .woocommerce-pagination {
    text-align: center;
}

.br-pagination ul.page-numbers {
    display: inline-flex;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.br-pagination ul.page-numbers li a,
.br-pagination ul.page-numbers li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 0.5rem;
    border-radius: 50%;
    font-weight: 500;
    font-size: 0.9rem;
    text-decoration: none;
    color: var(--br-text);
    border: 1px solid var(--br-border);
    transition: all var(--br-transition);
}

.br-pagination ul.page-numbers li a:hover {
    background: var(--br-pink-light);
    border-color: var(--br-pink);
    color: var(--br-pink-dark);
}

.br-pagination ul.page-numbers li span.current {
    background: var(--br-pink);
    color: #fff;
    border-color: var(--br-pink);
}

/* -----------------------------------------
   SEO GUIDE SECTION (below products)
----------------------------------------- */
.br-seo-guide {
    max-width: 800px;
    margin: 3rem auto 4rem;
    padding: 0 1rem;
    line-height: 1.8;
    color: var(--br-text);
    font-size: 1rem;
}

.br-seo-guide h2 {
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--br-text);
    border-bottom: 2px solid var(--br-pink-light);
    padding-bottom: 0.5rem;
}

.br-seo-guide h3 {
    font-size: 1.2rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.br-seo-guide p {
    margin-bottom: 1rem;
}

.br-seo-guide a {
    color: var(--br-pink-dark);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.br-seo-guide img {
    max-width: 100%;
    height: auto;
    border-radius: var(--br-radius);
    margin: 1.5rem 0;
}

.br-seo-guide ul,
.br-seo-guide ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.br-seo-guide li {
    margin-bottom: 0.5rem;
}

/* Table of Contents */
.br-seo-guide .toc-container {
    background: var(--br-bg-warm);
    border: 1px solid var(--br-pink-light);
    border-radius: var(--br-radius);
    padding: 1.5rem 2rem;
    margin: 1.5rem 0 2rem;
}

.br-seo-guide .toc-container a {
    display: block;
    padding: 0.3rem 0;
    color: var(--br-pink-dark);
    font-size: 0.95rem;
}

.br-seo-guide .toc-container a:hover {
    color: var(--br-pink-darker);
}

/* Rosa anecdote boxes */
.br-seo-guide [style*="fdf2f8"],
.br-seo-guide [style*="background:#fdf2f8"],
.br-seo-guide [style*="background: #fdf2f8"] {
    background: var(--br-bg-warm) !important;
    border-left: 4px solid var(--br-pink) !important;
    padding: 1.25rem 1.5rem !important;
    border-radius: 0 var(--br-radius) var(--br-radius) 0 !important;
    margin: 1.5rem 0 !important;
    font-style: italic;
}

/* Product page — consistent spacing on bundle and trust blocks */
.single-product .br-bundle-box,
.single-product .br-product-trust {
    margin-left: 1rem !important;
    margin-right: 1rem !important;
}

/* Tables — visible pink border all around */
.single-product table {
    width: 100%;
    max-width: var(--wp--style--global--content-size, 1290px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    table-layout: fixed;
    word-wrap: break-word;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border: 1px solid var(--br-pink-light) !important;
    border-radius: var(--br-radius-sm) !important;
    overflow: hidden;
}

.single-product table th,
.single-product table td {
    word-wrap: break-word;
    overflow-wrap: break-word;
    border: 1px solid var(--br-pink-light) !important;
}

/* Comparison tables */
.br-seo-guide table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.9rem;
    border: 1px solid var(--br-border);
    border-radius: var(--br-radius-sm);
    overflow: hidden;
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.br-seo-guide table th {
    background: var(--br-pink);
    color: #fff;
    font-weight: 600;
    padding: 0.75rem 1rem;
    text-align: left;
    border: 1px solid var(--br-pink-dark);
    white-space: nowrap;
}

.br-seo-guide table td {
    padding: 0.75rem 1rem;
    border: 1px solid var(--br-border);
    white-space: nowrap;
}

.br-seo-guide table tr:nth-child(even) td {
    background: var(--br-bg-gray);
}

/* FAQ section in guide */
.br-seo-guide [itemscope] {
    border: 1px solid var(--br-border);
    border-radius: var(--br-radius-sm);
    margin-bottom: 0.75rem;
    overflow: hidden;
}

.br-seo-guide [itemscope] [itemprop="name"] {
    padding: 1rem 1.25rem;
    background: var(--br-bg-warm);
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

.br-seo-guide [itemscope] [itemprop="text"] {
    padding: 0.75rem 1.25rem 1rem;
}

/* Author box in guide */
.br-seo-guide .author-box,
.br-seo-guide [style*="border-top: 3px solid"] {
    border-top: 3px solid var(--br-pink) !important;
    padding-top: 1.5rem;
    margin-top: 2.5rem;
}

/* -----------------------------------------
   RESPONSIVE — TABLET (1024px)
----------------------------------------- */
@media (max-width: 1024px) {
    .br-archive-layout {
        grid-template-columns: 220px 1fr;
        gap: 1.5rem;
    }

    .br-product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .br-archive-header h1 {
        font-size: 1.8rem;
    }
}

/* -----------------------------------------
   RESPONSIVE — MOBILE LANDSCAPE (768px)
----------------------------------------- */
@media (max-width: 768px) {
    .br-archive-page {
        padding: 0 1rem;
    }

    .br-archive-layout {
        grid-template-columns: 1fr;
    }

    /* Hide sidebar by default on mobile — show via toggle */
    .br-sidebar {
        display: none;
        position: static;
    }

    .br-sidebar.mobile-open {
        display: block;
        background: var(--br-bg);
        border: 1px solid var(--br-border);
        border-radius: var(--br-radius);
        padding: 1rem;
        margin-bottom: 1rem;
    }

    /* Mobile filter toggle button */
    .br-mobile-filter-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        width: 100%;
        padding: 0.7rem 1rem;
        background: var(--br-bg);
        border: 1px solid var(--br-border);
        border-radius: var(--br-radius-sm);
        font-family: 'Poppins', sans-serif;
        font-size: 0.85rem;
        font-weight: 600;
        color: var(--br-text);
        cursor: pointer;
        margin-bottom: 1rem;
        transition: all var(--br-transition);
    }

    .br-mobile-filter-toggle:hover {
        border-color: var(--br-pink);
        color: var(--br-pink-dark);
    }

    .br-mobile-filter-toggle svg {
        width: 16px;
        height: 16px;
    }

    .br-product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .br-archive-header {
        padding: 1rem 0.75rem 1.5rem;
    }

    .br-archive-header h1 {
        font-size: 1.5rem;
    }

    .br-short-intro {
        font-size: 0.9rem;
    }

    .br-shop-toolbar {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .br-shop-toolbar .woocommerce-result-count {
        font-size: 0.8rem;
    }

    .br-shop-toolbar .woocommerce-ordering select {
        font-size: 0.8rem;
        padding: 0.4rem 1.5rem 0.4rem 0.5rem;
    }

    /* Tighter product cards on mobile */
    .br-product-info {
        padding: 0.5rem 0.6rem;
    }

    .br-product-title {
        font-size: 0.8rem;
        -webkit-line-clamp: 2;
    }

    .br-product-cat {
        font-size: 0.6rem;
    }

    .br-product-price {
        font-size: 0.95rem;
    }

    .br-product-rating {
        font-size: 0.7rem;
    }

    .br-product-rating .star {
        font-size: 0.8rem;
    }

    .br-product-actions {
        padding: 0 0.6rem 0.6rem;
    }

    .br-product-actions .button,
    .br-product-actions .add_to_cart_button,
    .br-product-actions a {
        font-size: 0.7rem;
        padding: 0.45rem;
    }
}

/* Hide filter toggle on desktop */
.br-mobile-filter-toggle {
    display: none;
}

/* -----------------------------------------
   RESPONSIVE — MOBILE PORTRAIT (480px)
----------------------------------------- */
@media (max-width: 480px) {
    .br-product-card .br-product-info {
        padding: 0.5rem 0.75rem;
    }

    .br-product-title {
        font-size: 0.8rem;
    }

    .br-product-price {
        font-size: 0.95rem;
    }

    .br-product-cat {
        font-size: 0.65rem;
    }

    .br-product-actions {
        padding: 0 0.75rem 0.75rem;
    }

    .br-product-actions .button,
    .br-product-actions .add_to_cart_button,
    .br-product-actions a {
        font-size: 0.75rem;
        padding: 0.5rem;
    }

    .br-seo-guide {
        padding: 0 0.5rem;
        font-size: 0.95rem;
    }

    .br-seo-guide h2 {
        font-size: 1.3rem;
    }
}

/* -----------------------------------------
   SCROLL ANIMATIONS (CSS-driven, no JS lib)
----------------------------------------- */
/* Only animate on category/product pages, not homepage (too many elements) */
.br-archive-page [data-animate],
.single-product [data-animate] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.br-archive-page [data-animate].visible,
.single-product [data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children in product grid */
.br-product-grid [data-animate]:nth-child(2) { transition-delay: 0.08s; }
.br-product-grid [data-animate]:nth-child(3) { transition-delay: 0.16s; }
.br-product-grid [data-animate]:nth-child(4) { transition-delay: 0.24s; }
.br-product-grid [data-animate]:nth-child(5) { transition-delay: 0.32s; }
.br-product-grid [data-animate]:nth-child(6) { transition-delay: 0.40s; }

/* -----------------------------------------
   TRUST BAR
----------------------------------------- */
.br-trust-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding: 1.25rem 1rem;
    background: var(--br-bg);
    border: 1px solid var(--br-border-light);
    border-radius: var(--br-radius);
    margin-bottom: 1rem;
}

.br-trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2px;
}

.br-trust-icon { font-size: 1.4rem; }

.br-trust-number {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--br-text);
    line-height: 1.2;
}

.br-trust-label {
    font-size: 0.65rem;
    color: var(--br-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.br-trust-divider {
    width: 1px;
    height: 35px;
    background: var(--br-border);
}

/* -----------------------------------------
   QUIZ BUTTON
----------------------------------------- */
.br-quiz-btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.65rem 1.75rem;
    background: transparent;
    color: var(--br-pink-dark);
    border: 2px solid var(--br-pink);
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.br-quiz-btn:hover {
    background: var(--br-pink);
    color: #fff;
}

/* -----------------------------------------
   PRODUCT SIZE INFO
----------------------------------------- */
.br-product-size {
    font-size: 0.75rem;
    color: var(--br-text-muted);
    margin-top: 2px;
}

/* -----------------------------------------
   COMPARE CHECKBOX
----------------------------------------- */
.br-compare-check {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.72rem;
    color: var(--br-text-muted);
    cursor: pointer;
    margin-bottom: 6px;
    user-select: none;
}

.br-compare-check input {
    width: 14px;
    height: 14px;
    accent-color: var(--br-pink);
    cursor: pointer;
}

.br-compare-check:hover {
    color: var(--br-pink-dark);
}

/* -----------------------------------------
   TOOLBAR — COMPARE BUTTON
----------------------------------------- */
.br-toolbar-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.br-compare-toggle {
    padding: 0.4rem 0.85rem;
    border: 1px solid var(--br-border);
    border-radius: var(--br-radius-sm);
    background: var(--br-bg);
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    color: var(--br-text-muted);
    transition: all 0.2s;
}

.br-compare-toggle:not(:disabled) {
    color: var(--br-pink-dark);
    border-color: var(--br-pink);
}

.br-compare-toggle:not(:disabled):hover {
    background: var(--br-bg-warm);
}

/* -----------------------------------------
   COMPARE DRAWER (bottom sticky)
----------------------------------------- */
.br-compare-drawer {
    position: fixed;
    bottom: -100px;
    left: 0;
    right: 0;
    background: var(--br-bg);
    border-top: 2px solid var(--br-pink);
    box-shadow: 0 -8px 30px rgba(0,0,0,0.1);
    z-index: 9998;
    padding: 0.75rem 1.5rem;
    transition: bottom 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.br-compare-drawer.active {
    bottom: 0;
}

.br-compare-drawer-inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: var(--br-max-width);
    margin: 0 auto;
}

.br-compare-items {
    display: flex;
    gap: 0.75rem;
    flex: 1;
    overflow-x: auto;
}

.br-compare-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--br-bg-gray);
    border-radius: var(--br-radius-sm);
    padding: 0.4rem 0.75rem;
    font-size: 0.8rem;
    white-space: nowrap;
}

.br-compare-item img {
    width: 32px;
    height: 32px;
    border-radius: 4px;
    object-fit: cover;
}

.br-compare-item-remove {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--br-text-muted);
    font-size: 1rem;
    padding: 0 2px;
}

.br-compare-view-btn {
    padding: 0.6rem 1.25rem;
    background: var(--br-pink);
    color: #fff;
    border: none;
    border-radius: var(--br-radius-sm);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
}

.br-compare-view-btn:hover { background: var(--br-pink-darker); }

.br-compare-clear {
    background: none;
    border: none;
    color: var(--br-text-muted);
    font-size: 0.8rem;
    cursor: pointer;
    text-decoration: underline;
    font-family: 'Poppins', sans-serif;
}

/* -----------------------------------------
   COMPARE MODAL (full table)
----------------------------------------- */
.br-compare-modal-full {
    max-width: 900px;
}

.br-compare-table-wrap {
    padding: 1rem 2rem 2rem;
    overflow-x: auto;
}

.br-compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.br-compare-table th {
    text-align: center;
    padding: 1rem 0.75rem 0.5rem;
    font-weight: 600;
    border-bottom: 2px solid var(--br-pink-light);
    vertical-align: bottom;
}

.br-compare-table th img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: var(--br-radius-sm);
    display: block;
    margin: 0 auto 0.5rem;
}

.br-compare-table td {
    padding: 0.65rem 0.75rem;
    text-align: center;
    border-bottom: 1px solid var(--br-border-light);
}

.br-compare-table tr td:first-child {
    text-align: left;
    font-weight: 600;
    color: var(--br-text-light);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.br-compare-table .compare-price {
    font-weight: 700;
    color: var(--br-pink-dark);
    font-size: 1.1rem;
}

.br-compare-table .compare-cta {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--br-pink);
    color: #fff;
    border-radius: var(--br-radius-sm);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.8rem;
    transition: background 0.2s;
}

.br-compare-table .compare-cta:hover { background: var(--br-pink-darker); }

/* -----------------------------------------
   QUICK VIEW BUTTON
----------------------------------------- */
.br-quick-view {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255,255,255,0.95);
    color: var(--br-text);
    border: 1px solid var(--br-border);
    padding: 7px 14px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    z-index: 3;
    font-family: 'Poppins', sans-serif;
    backdrop-filter: blur(8px);
}

@media (hover: hover) {
    .br-product-card:hover .br-quick-view {
        bottom: 10px;
    }
}

.br-quick-view:hover {
    background: var(--br-pink);
    color: #fff;
    border-color: var(--br-pink);
}

/* -----------------------------------------
   MODALS (shared)
----------------------------------------- */
.br-modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    z-index: 10001;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.br-modal-overlay.active { display: flex; }

.br-modal {
    background: var(--br-bg);
    border-radius: var(--br-radius);
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 60px rgba(0,0,0,0.2);
    animation: br-modal-in 0.3s ease;
}

@keyframes br-modal-in {
    from { opacity: 0; transform: scale(0.97) translateY(8px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.br-modal-close {
    position: absolute;
    top: 12px; right: 16px;
    background: none; border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--br-text-muted);
    z-index: 2; line-height: 1;
}

.br-modal-close:hover { color: var(--br-text); }

.br-modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    padding: 2rem;
}

.br-modal-image img {
    width: 100%;
    border-radius: var(--br-radius-sm);
}

.br-modal-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.br-modal-info h3 {
    font-size: 1.15rem;
    margin: 0;
    padding-right: 2rem;
}

.br-modal-size {
    font-size: 0.85rem;
    color: var(--br-text-light);
}

.br-modal-price {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--br-pink-dark);
}

.br-modal-features { margin-top: 0.5rem; }

.br-modal-feature {
    font-size: 0.82rem;
    color: var(--br-text-light);
    padding: 3px 0;
}

.br-modal-feature .check {
    color: #22c55e;
    margin-right: 4px;
}

.br-modal-cta {
    display: block;
    text-align: center;
    padding: 0.8rem;
    background: var(--br-pink);
    color: #fff !important;
    border-radius: var(--br-radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background 0.2s;
    margin-top: auto;
}

.br-modal-cta:hover { background: var(--br-pink-darker); }

/* -----------------------------------------
   QUIZ MODAL
----------------------------------------- */
.br-quiz-modal { max-width: 480px; }

.br-quiz-content { padding: 2rem; }

.br-quiz-step {
    display: none;
    text-align: center;
}

.br-quiz-step.active {
    display: block;
    animation: br-modal-in 0.25s ease;
}

.br-quiz-step h3 {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.br-quiz-subtitle {
    color: var(--br-text-muted);
    font-size: 0.85rem;
    margin-bottom: 1.25rem;
}

.br-quiz-question {
    font-size: 0.95rem;
    color: var(--br-text-light);
    margin-bottom: 1.25rem;
}

.br-quiz-options {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.br-quiz-option {
    padding: 0.85rem 1rem;
    border: 1.5px solid var(--br-border);
    border-radius: var(--br-radius-sm);
    background: var(--br-bg);
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
}

.br-quiz-option:hover {
    border-color: var(--br-pink);
    background: var(--br-bg-warm);
    padding-left: 1.25rem;
}

.br-quiz-progress {
    margin-top: 1.5rem;
    height: 3px;
    background: var(--br-border-light);
    border-radius: 2px;
    overflow: hidden;
}

.br-quiz-progress span {
    display: block;
    height: 100%;
    background: var(--br-pink);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.br-quiz-results {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-top: 1.25rem;
}

.br-quiz-result-btn {
    display: block;
    padding: 0.85rem;
    background: var(--br-pink);
    color: #fff !important;
    border-radius: var(--br-radius-sm);
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: background 0.2s;
}

.br-quiz-result-btn:hover { background: var(--br-pink-darker); }

.br-quiz-result-btn.secondary {
    background: var(--br-bg);
    color: var(--br-text) !important;
    border: 1.5px solid var(--br-border);
}

.br-quiz-result-btn.secondary:hover { background: var(--br-bg-gray); }

/* -----------------------------------------
   ROSA SIDEBAR WIDGET
----------------------------------------- */
.br-rosa-widget {
    text-align: center;
    background: var(--br-bg-warm);
    border: 1px solid var(--br-pink-light);
}

.br-rosa-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--br-pink);
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
}

.br-rosa-text {
    font-size: 0.85rem;
    color: var(--br-text);
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.br-rosa-btn {
    display: block;
    padding: 0.6rem;
    background: #25D366;
    color: #fff !important;
    border-radius: var(--br-radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
}

.br-rosa-btn:hover { background: #1da851; }

/* -----------------------------------------
   ROSA FLOATING WHATSAPP BUTTON
----------------------------------------- */
.br-rosa-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #25D366;
    color: #fff !important;
    padding: 10px 16px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    z-index: 9997;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.br-rosa-float:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.br-rosa-float svg { flex-shrink: 0; }

/* -----------------------------------------
   REVIEWS SECTION
----------------------------------------- */
.br-reviews-section {
    text-align: center;
    padding: 3rem 1rem;
    margin: 2rem 0;
}

.br-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
}

.br-section-subtitle {
    color: var(--br-text-muted);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.br-reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    max-width: 960px;
    margin: 0 auto;
}

.br-review-card {
    background: var(--br-bg);
    border: 1px solid var(--br-border-light);
    border-radius: var(--br-radius);
    padding: 1.5rem;
    text-align: left;
    transition: box-shadow 0.3s ease;
}

.br-review-card:hover {
    box-shadow: var(--br-shadow-md);
}

.br-review-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.br-review-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--br-pink-light);
    color: var(--br-pink-dark);
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.br-review-name {
    font-weight: 600;
    font-size: 0.9rem;
}

.br-review-location {
    font-size: 0.72rem;
    color: var(--br-text-muted);
}

.br-review-stars {
    color: var(--br-gold);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    letter-spacing: 1px;
}

.br-review-text {
    font-size: 0.85rem;
    line-height: 1.65;
    color: var(--br-text);
    margin: 0;
}

/* -----------------------------------------
   RESPONSIVE — NEW FEATURES
----------------------------------------- */
@media (max-width: 768px) {
    .br-trust-bar {
        gap: 0.5rem;
        padding: 0.85rem 0.5rem;
    }

    .br-trust-icon { font-size: 1rem; }
    .br-trust-number { font-size: 0.85rem; }
    .br-trust-label { font-size: 0.55rem; }
    .br-trust-divider { height: 25px; }

    .br-reviews-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .br-modal-body {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }

    .br-quick-view { display: none; }

    .br-compare-drawer-inner {
        flex-wrap: wrap;
    }

    .br-rosa-float-text { display: none; }
    .br-rosa-float {
        padding: 12px;
        border-radius: 50%;
    }

    .br-compare-table th img {
        width: 80px;
        height: 80px;
    }
}

/* =============================================
   HOMEPAGE
   ============================================= */

/* -----------------------------------------
   HERO — DESKTOP (3 images)
----------------------------------------- */
.br-hero-mobile {
    display: none;
}

.br-hero-desktop {
    display: block;
}

.br-hero-gallery {
    display: grid;
    grid-template-columns: 1fr 1.3fr 1fr;
    gap: 0;
    align-items: stretch;
}

.br-hero-gallery-left,
.br-hero-gallery-center,
.br-hero-gallery-right {
    overflow: hidden;
    position: relative;
}

.br-hero-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform 0.6s ease;
}

/* Center image drives the height — others match it */
.br-hero-gallery-center img {
    height: auto;
    object-fit: contain;
}

.br-hero-gallery-left:hover img,
.br-hero-gallery-right:hover img {
    transform: scale(1.03);
}

.br-hero-gallery-center {
    position: relative;
}

.br-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2.5rem 2rem;
    background: linear-gradient(transparent 0%, rgba(0,0,0,0.65) 100%);
    text-align: center;
    color: #fff;
}

.br-hero-tagline {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0 0 0.5rem;
    opacity: 0.9;
}

.br-hero-overlay h1 {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 1.25rem;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.br-btn-primary {
    display: inline-block;
    padding: 0.85rem 2.5rem;
    background: var(--br-pink);
    color: #fff !important;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
}

.br-btn-primary:hover {
    background: var(--br-pink-darker);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(236, 72, 153, 0.4);
}

/* -----------------------------------------
   HERO — MOBILE (single image, full screen)
----------------------------------------- */
.br-hero-mobile-inner {
    position: relative;
    overflow: hidden;
}

.br-hero-mobile-inner > img {
    width: 100%;
    height: auto;
    display: block;
}

.br-hero-mobile-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 3rem 1.5rem 2.5rem;
    background: linear-gradient(transparent 0%, rgba(0,0,0,0.65) 100%);
    text-align: center;
    color: #fff;
}

.br-hero-mobile-overlay h1,
.br-hero-mobile-overlay .br-hero-mobile-title {
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.25;
    margin: 0 0 1rem;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

/* Switch hero based on screen */
@media (max-width: 768px) {
    .br-hero-desktop {
        display: none;
    }
    .br-hero-mobile {
        display: block;
    }
}

.br-btn-secondary {
    display: inline-block;
    padding: 0.85rem 2rem;
    background: transparent;
    color: var(--br-text) !important;
    border: 2px solid var(--br-border);
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s;
}

.br-btn-secondary:hover {
    border-color: var(--br-pink);
    color: var(--br-pink-dark) !important;
}

/* -----------------------------------------
   TRUST LOGOS BAR
----------------------------------------- */
.br-trust-logos {
    text-align: center;
    padding: 1.5rem 1rem;
    background: var(--br-bg);
    border-bottom: 1px solid var(--br-border-light);
}

.br-trust-logos-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--br-pink-dark);
    margin: 0 0 0.75rem;
    font-weight: 700;
}

.br-trust-logos-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--br-text);
}

.br-trust-logos-divider {
    color: var(--br-border);
}

/* -----------------------------------------
   HOMEPAGE SECTIONS (shared)
----------------------------------------- */
.br-hp-section {
    max-width: var(--br-max-width);
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.br-hp-section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.br-hp-section-header h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin: 0 0 0.5rem;
}

.br-hp-section-header p {
    color: var(--br-text-light);
    font-size: 1rem;
    margin: 0;
}

.br-hp-cta-wrap {
    text-align: center;
    margin-top: 2rem;
}

.br-btn-outline {
    display: inline-block;
    padding: 0.85rem 2.5rem;
    background: var(--br-pink);
    color: #fff !important;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s;
}

.br-btn-outline:hover {
    background: var(--br-pink-darker);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(236, 72, 153, 0.4);
}

/* -----------------------------------------
   INTRO SECTION
----------------------------------------- */
.br-hp-intro {
    text-align: center;
    padding: 3rem 1.5rem;
    background: var(--br-bg);
}

.br-hp-intro-inner {
    max-width: 700px;
    margin: 0 auto;
}

.br-hp-intro h2 {
    font-size: 1.6rem;
    margin: 0 0 1rem;
}

.br-hp-intro p {
    font-size: 1rem;
    color: var(--br-text-light);
    line-height: 1.8;
    margin: 0 0 0.75rem;
}

/* -----------------------------------------
   TEXT BLOCKS (between product sections)
----------------------------------------- */
.br-hp-text-block {
    padding: 3rem 1.5rem;
    background: var(--br-bg);
}

.br-hp-text-block.br-hp-text-alt {
    background: var(--br-bg-gray);
}

.br-hp-text-inner {
    max-width: 750px;
    margin: 0 auto;
}

.br-hp-text-inner h2 {
    font-size: 1.5rem;
    margin: 0 0 1rem;
}

.br-hp-text-inner h3 {
    font-size: 1.2rem;
    margin: 2rem 0 0.75rem;
}

.br-hp-text-inner p {
    font-size: 1rem;
    color: var(--br-text-light);
    line-height: 1.8;
    margin: 0 0 0.75rem;
}

.br-hp-text-inner a:not(.br-btn-outline) {
    color: var(--br-pink-dark);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.br-hp-text-inner .br-btn-outline {
    display: block;
    margin-top: 1.25rem;
    text-align: center;
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
}

/* -----------------------------------------
   HOMEPAGE PRODUCT GRID
----------------------------------------- */
.br-hp-grid {
    display: grid;
    gap: 1.25rem;
}

.br-hp-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* Product card */
.br-hp-card {
    background: var(--br-bg);
    border-radius: var(--br-radius);
    overflow: hidden;
    border: 1px solid var(--br-border-light);
    transition: box-shadow 0.25s, transform 0.25s;
}

@media (hover: hover) {
    .br-hp-card:hover {
        box-shadow: var(--br-shadow-lg);
        transform: translateY(-4px);
    }
}

.br-hp-card a {
    text-decoration: none;
    color: var(--br-text);
}

.br-hp-card-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--br-bg-gray);
}

.br-hp-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.4s;
}

.br-hp-card-image .br-img-hover {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

@media (hover: hover) {
    .br-hp-card:hover .br-img-hover { opacity: 1; }
    .br-hp-card:hover .br-img-main { opacity: 0; }
}

.br-hp-card-info {
    padding: 0.75rem 1rem;
}

.br-hp-card-info h3 {
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0 0 0.35rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.br-hp-card-rating {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-bottom: 0.35rem;
}

.br-hp-card-rating .star { color: var(--br-gold); font-size: 0.85rem; }
.br-hp-card-rating .star.empty { color: #d1d5db; }
.br-hp-card-rating .count { font-size: 0.75rem; color: var(--br-text-muted); margin-left: 4px; }

.br-hp-card-price {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--br-pink-dark);
}

.br-hp-card-price del {
    color: var(--br-text-muted);
    font-weight: 400;
    font-size: 0.85rem;
}

.br-hp-card-price ins {
    text-decoration: none;
}

/* -----------------------------------------
   CATEGORY BANNERS
----------------------------------------- */
.br-hp-banners {
    max-width: var(--br-max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.br-hp-banner {
    position: relative;
    border-radius: var(--br-radius);
    overflow: hidden;
    display: block;
    text-decoration: none;
    aspect-ratio: 3/2;
}

.br-hp-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

@media (hover: hover) {
    .br-hp-banner:hover img {
        transform: scale(1.05);
    }
}

.br-hp-banner-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: #fff;
}

.br-hp-banner-text h3 {
    font-size: 1.3rem;
    margin: 0 0 0.25rem;
    color: #fff;
}

.br-hp-banner-text p {
    font-size: 0.85rem;
    margin: 0 0 0.5rem;
    opacity: 0.9;
}

.br-hp-banner-link {
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* -----------------------------------------
   CAROUSEL
----------------------------------------- */
.br-hp-carousel-wrap {
    position: relative;
    max-width: var(--br-max-width);
    margin: 0 auto;
}

.br-hp-carousel {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0.5rem 0;
}

.br-hp-carousel::-webkit-scrollbar { display: none; }

.br-hp-carousel .br-hp-card {
    flex: 0 0 calc(25% - 0.94rem);
    scroll-snap-align: start;
}

.br-hp-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--br-bg);
    border: 1px solid var(--br-border);
    box-shadow: var(--br-shadow-md);
    font-size: 1.3rem;
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.br-hp-carousel-btn:hover {
    background: var(--br-pink);
    color: #fff;
    border-color: var(--br-pink);
}

.br-hp-prev { left: -12px; }
.br-hp-next { right: -12px; }

/* -----------------------------------------
   VALUE PROPOSITION
----------------------------------------- */
.br-hp-value {
    background: var(--br-bg-warm);
    padding: 3.5rem 1.5rem;
}

.br-hp-value-inner {
    max-width: 800px;
    margin: 0 auto;
}

.br-hp-value h2 {
    font-size: 1.6rem;
    text-align: center;
    margin: 0 0 2rem;
}

.br-hp-value-points {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.br-hp-value-point {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.br-hp-value-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.br-hp-value-point strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.br-hp-value-point p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--br-text-light);
    line-height: 1.5;
}

/* -----------------------------------------
   TESTIMONIALS
----------------------------------------- */
.br-hp-testimonials-section {
    background: var(--br-bg-gray);
    max-width: none;
    padding: 3rem 1.5rem;
}

.br-hp-testimonials {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    max-width: var(--br-max-width);
    margin: 0 auto;
}

.br-hp-testimonial {
    background: var(--br-bg);
    border-radius: var(--br-radius);
    padding: 1.5rem;
    border: 1px solid var(--br-border-light);
}

.br-hp-testimonial-stars {
    color: var(--br-gold);
    font-size: 1rem;
    margin-bottom: 0.75rem;
    letter-spacing: 1px;
}

.br-hp-testimonial p {
    font-size: 0.9rem;
    line-height: 1.65;
    margin: 0 0 1rem;
    font-style: italic;
}

.br-hp-testimonial-author {
    font-weight: 600;
    font-size: 0.85rem;
}

.br-hp-testimonial-author span {
    color: var(--br-text-muted);
    font-weight: 400;
}

/* -----------------------------------------
   FAQ
----------------------------------------- */
.br-hp-faq-section {
    background: var(--br-bg);
}

.br-hp-faq {
    max-width: 700px;
    margin: 0 auto;
}

.br-hp-faq-item {
    border: 1px solid var(--br-border);
    border-radius: var(--br-radius-sm);
    margin-bottom: 0.75rem;
    overflow: hidden;
}

.br-hp-faq-q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 1rem 1.25rem;
    background: var(--br-bg);
    border: none;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    color: var(--br-text);
    transition: background 0.2s;
}

.br-hp-faq-q:hover {
    background: var(--br-bg-warm);
}

.br-hp-faq-q span {
    font-size: 1.2rem;
    color: var(--br-pink);
    transition: transform 0.3s;
}

.br-hp-faq-item.open .br-hp-faq-q span {
    transform: rotate(45deg);
}

.br-hp-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 1.25rem;
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--br-text-light);
}

.br-hp-faq-item.open .br-hp-faq-a {
    max-height: 300px;
    padding: 0 1.25rem 1rem;
}

/* -----------------------------------------
   BLOG CAROUSEL
----------------------------------------- */
.br-hp-blog-carousel .br-hp-blog-card {
    flex: 0 0 calc(33.33% - 0.84rem);
    scroll-snap-align: start;
}

.br-hp-blog-card {
    background: var(--br-bg);
    border-radius: var(--br-radius);
    overflow: hidden;
    border: 1px solid var(--br-border-light);
    text-decoration: none;
    color: var(--br-text);
    transition: box-shadow 0.25s, transform 0.25s;
    display: flex;
    flex-direction: column;
}

.br-hp-blog-card:hover {
    box-shadow: var(--br-shadow-lg);
    transform: translateY(-3px);
}

.br-hp-blog-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.br-hp-blog-card-info {
    padding: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.br-hp-blog-card-info h3 {
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.br-hp-blog-excerpt {
    font-size: 0.8rem;
    color: var(--br-text-light);
    margin: 0 0 0.5rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.br-hp-blog-card-info time {
    font-size: 0.75rem;
    color: var(--br-text-muted);
    margin-top: auto;
}

/* -----------------------------------------
   HOMEPAGE RESPONSIVE
----------------------------------------- */
@media (max-width: 1024px) {
    .br-hp-grid-4 { grid-template-columns: repeat(3, 1fr); }
    .br-hp-carousel .br-hp-card { flex: 0 0 calc(33.33% - 0.84rem); }
    .br-hero-content h1 { font-size: 2.2rem; }
}

@media (max-width: 768px) {
    .br-hero-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .br-hero-buttons { justify-content: center; }
    .br-hero-content h1 { font-size: 1.8rem; }

    .br-hp-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .br-hp-carousel .br-hp-card { flex: 0 0 calc(50% - 0.63rem); }

    .br-hp-banners {
        grid-template-columns: 1fr;
    }

    .br-hp-value-points {
        grid-template-columns: 1fr;
    }

    .br-hp-testimonials {
        grid-template-columns: 1fr;
    }

    .br-hp-carousel-btn { display: none; }

    .br-hp-blog-carousel .br-hp-blog-card {
        flex: 0 0 85%;
    }
}

/* =============================================
   FOOTER
   ============================================= */

/* -----------------------------------------
   TRUST ICONS SECTION
----------------------------------------- */
.br-footer-trust {
    background: var(--br-bg);
    border-top: 1px solid var(--br-border-light);
    padding: 3rem 1.5rem;
    overflow: hidden;
}

.br-footer-trust-carousel {
    max-width: var(--br-max-width);
    margin: 0 auto;
}

/* Desktop: grid layout */
.br-footer-trust-track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.br-footer-trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.br-footer-trust-icon {
    font-size: 2.2rem;
    line-height: 1;
}

.br-footer-trust-item h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0;
    color: var(--br-text);
}

.br-footer-trust-item p {
    font-size: 0.82rem;
    color: var(--br-text-light);
    margin: 0;
    line-height: 1.5;
}

.br-footer-trust-item a {
    font-size: 0.8rem;
    color: var(--br-pink-dark);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Dots — hidden on desktop */
.br-trust-dots {
    display: none;
}

/* Mobile: carousel */
@media (max-width: 768px) {
    .br-footer-trust {
        padding: 2rem 0;
    }

    .br-footer-trust-track {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 0;
    }

    .br-footer-trust-track::-webkit-scrollbar {
        display: none;
    }

    .br-footer-trust-item {
        flex: 0 0 100%;
        scroll-snap-align: center;
        padding: 1rem 2rem;
    }

    .br-footer-trust-icon {
        font-size: 2.5rem;
    }

    .br-footer-trust-item h4 {
        font-size: 1.05rem;
    }

    .br-footer-trust-item p {
        font-size: 0.9rem;
    }

    .br-trust-dots {
        display: flex;
        justify-content: center;
        gap: 8px;
        padding-top: 1.25rem;
    }

    .br-trust-dots span {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: var(--br-border);
        cursor: pointer;
        transition: all 0.2s;
    }

    .br-trust-dots span.active {
        background: var(--br-text);
        transform: scale(1.2);
    }
}

/* -----------------------------------------
   EMAIL SIGNUP
----------------------------------------- */
.br-footer-signup {
    background: var(--br-pink-dark);
    color: #fff;
    padding: 3rem 1.5rem;
}

.br-footer-signup-inner {
    max-width: 600px;
    margin: 0 auto;
}

.br-footer-signup h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin: 0 0 1rem;
    line-height: 1.3;
    color: #fff;
}

.br-footer-signup p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin: 0 0 0.75rem;
    opacity: 0.92;
}

.br-footer-signup strong {
    font-weight: 700;
}

.br-signup-form {
    display: flex;
    margin-top: 1.25rem;
    border-radius: var(--br-radius-sm);
    overflow: hidden;
    background: #fff;
}

.br-signup-form input {
    flex: 1;
    padding: 0.45rem 1rem;
    border: none;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    color: var(--br-text);
    outline: none;
}

.br-signup-form input::placeholder {
    color: var(--br-text-muted);
}

.br-signup-form button {
    padding: 0.45rem 1.25rem;
    background: var(--br-text);
    color: #fff;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
}

.br-signup-form button:hover {
    background: #374151;
}

/* -----------------------------------------
   MAIN FOOTER
----------------------------------------- */
.br-site-footer {
    background: #000000;
    color: #b0b0b8;
    padding: 3.5rem 1.5rem 1.5rem;
}

.br-footer-inner {
    display: grid;
    grid-template-columns: 1fr 1fr 1.5fr;
    gap: 3rem;
    max-width: var(--br-max-width);
    margin: 0 auto;
    padding-bottom: 2.5rem;
}

.br-footer-col h4 {
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
    margin: 0 0 1.5rem;
}

.br-footer-col a {
    display: block;
    color: #8a8a98;
    font-size: 0.95rem;
    text-decoration: none;
    padding: 0.4rem 0;
    transition: color 0.2s;
}

.br-footer-col a:hover {
    color: #fff;
}

/* Monospace style for e-mail / Telefono labels */
.br-mono {
    font-family: 'Courier New', Courier, monospace;
    font-weight: 700;
    color: #d0d0d8;
}

.br-footer-contact p {
    font-size: 0.88rem;
    line-height: 1.7;
    margin: 0 0 0.5rem;
    color: #8a8a98;
}

.br-contact-line {
    margin: 0.25rem 0 !important;
}

.br-contact-line strong {
    color: #d0d0d8;
}

.br-footer-contact a {
    display: inline;
    color: #d0d0d8;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: #555;
}

.br-footer-contact a:hover {
    color: #fff;
    text-decoration-color: #fff;
}

/* La Nostra Storia link */
.br-footer-story-link {
    display: inline-block;
    color: #b0b0b8 !important;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-color: #555;
    font-size: 0.88rem;
    margin: 1rem 0 0.75rem;
}

.br-footer-story-link:hover {
    color: #fff !important;
    text-decoration-color: #fff;
}

/* Service hours */
.br-footer-hours-label {
    font-size: 0.88rem;
    color: #8a8a98;
    margin: 0 0 0.15rem !important;
}

.br-footer-hours-time {
    font-size: 0.95rem;
    color: #fff;
    margin: 0 0 0.15rem !important;
}

.br-footer-hours-time strong {
    color: #fff;
}

.br-footer-hours-days {
    font-size: 0.88rem;
    color: #8a8a98;
    margin: 0 0 1rem !important;
}

/* Follow button — pill outline with heart */
.br-footer-col a.br-footer-follow-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 10px 24px !important;
    background: #5a31f4 !important;
    border: none !important;
    border-radius: 50px !important;
    color: #fff !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all 0.2s !important;
    margin-top: 0.75rem !important;
    white-space: nowrap !important;
}

.br-footer-col a.br-footer-follow-btn:hover {
    background: #4a22e0 !important;
}

/* -----------------------------------------
   I NOSTRI PARTNER
----------------------------------------- */
.br-footer-partners {
    text-align: center;
    padding: 1.5rem 1rem;
    max-width: var(--br-max-width);
    margin: 0 auto;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.br-footer-partners-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #8a8a98;
    margin: 0 0 1rem;
    font-weight: 600;
}

.br-footer-partners-logos {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 320px;
    margin: 0 auto;
}

.br-footer-partners-logos img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 4px;
    overflow: hidden;
}

/* -----------------------------------------
   SOCIAL ICONS
----------------------------------------- */
.br-footer-social {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    padding: 2rem 1rem;
    border-top: 1px solid rgba(255,255,255,0.06);
    max-width: var(--br-max-width);
    margin: 0 auto;
}

.br-footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: opacity 0.2s;
}

.br-footer-social a:hover {
    opacity: 0.7;
}

/* -----------------------------------------
   LOCALE (Currency / Language)
----------------------------------------- */
.br-footer-locale {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    padding: 0.75rem 0 1.5rem;
    max-width: var(--br-max-width);
    margin: 0 auto;
}

.br-locale-item {
    font-size: 1rem;
    color: #d0d0d8;
    font-weight: 500;
}

.br-locale-item strong {
    color: #fff;
    font-weight: 700;
}

.br-locale-divider {
    color: #333;
}

/* -----------------------------------------
   PAYMENT BADGES
----------------------------------------- */
.br-footer-payments {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 5px;
    padding: 0.75rem 0.5rem 2rem;
    max-width: var(--br-max-width);
    margin: 0 auto;
}

.br-footer-payments svg {
    border-radius: 3px;
    width: 34px;
    height: 22px;
}

/* -----------------------------------------
   COPYRIGHT
----------------------------------------- */
.br-footer-bottom {
    text-align: center;
    padding-top: 0.75rem;
    padding-bottom: 1rem;
    font-size: 0.88rem;
    color: #6b6b7a;
    max-width: var(--br-max-width);
    margin: 0 auto;
}

/* -----------------------------------------
   FOOTER RESPONSIVE
----------------------------------------- */
@media (max-width: 768px) {
    .br-footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .br-footer-contact {
        grid-column: 1 / -1;
    }

    .br-footer-signup h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .br-footer-inner {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .br-footer-contact {
        grid-column: auto;
    }
}

/* -----------------------------------------
   PRODUCT PAGE
----------------------------------------- */

/* Gallery thumbnails — single row carousel */
.woocommerce-product-gallery .flex-control-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    font-size: 0;
    line-height: 0;
    flex-wrap: nowrap;
}

.woocommerce-product-gallery .flex-control-thumbs::-webkit-scrollbar {
    display: none;
}

.woocommerce-product-gallery .flex-control-thumbs li {
    flex: 0 0 80px;
    width: 80px;
    height: 80px;
    overflow: hidden;
    border-radius: 6px;
    list-style: none;
    scroll-snap-align: start;
}

.woocommerce-product-gallery .flex-control-thumbs img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.woocommerce-product-gallery .flex-control-thumbs img:hover,
.woocommerce-product-gallery .flex-control-thumbs .flex-active img {
    opacity: 1;
}


/* Blocksy gallery — show only first image, rest as thumbnails */
/* Gallery — let Blocksy's native Flexy slider handle everything. No overrides. */

/* Thumbnail strip — single scrollable row */
.woocommerce-product-gallery .flexy-pills {
    margin-top: 8px;
}

.woocommerce-product-gallery .flexy-pills ol {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    list-style: none;
    padding: 0;
    margin: 0;
}

.woocommerce-product-gallery .flexy-pills ol::-webkit-scrollbar {
    display: none;
}

.woocommerce-product-gallery .flexy-pills li {
    flex: 0 0 75px;
    width: 75px;
    height: 75px;
    overflow: hidden;
    border-radius: 6px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s;
}

.woocommerce-product-gallery .flexy-pills li.active {
    border-color: var(--br-pink);
}

.woocommerce-product-gallery .flexy-pills li img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block;
}

/* Hide WooCommerce tab navigation bar — show content directly */
.single-product .woocommerce-tabs > ul.tabs,
.single-product .woocommerce-tabs .ct-tabs-scroll {
    display: none !important;
}

/* Kill extra spacing on tabs wrapper */
.single-product .woocommerce-tabs {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.single-product .entry-content {
    margin-top: 0 !important;
}

.single-product [class*="ct-container"] > article {
    --theme-content-vertical-spacing: 20px !important;
}

/* Show all tab panels at once instead of tabbed */
.single-product .woocommerce-tabs .woocommerce-Tabs-panel {
    display: block !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Hide the "Informazioni Aggiuntive" panel (redundant with specs table) */
.single-product .woocommerce-tabs #tab-additional_information {
    display: none !important;
}

/* Hide the "Recensioni" panel (we have our own review sections) */
.single-product .woocommerce-tabs #tab-reviews {
    display: none !important;
}

/* Hide product page date only */
.single-product .entry-meta,
.single-product .post-date,
.single-product time.entry-date {
    display: none !important;
}

/* Hide original category display (moved to recovery block at bottom) */
.single-product .posted_in {
    display: none !important;
}

/* Category recovery block at end of product page */
.br-category-recovery {
    text-align: center;
    padding: 2.5rem 1.5rem;
    margin: 2rem 1rem;
    background: var(--br-bg-warm);
    border-radius: var(--br-radius);
}

.br-recovery-text {
    font-size: 1.05rem;
    color: var(--br-text);
    margin: 0 0 1.25rem;
    line-height: 1.6;
    font-weight: 500;
}

.br-recovery-cats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.br-recovery-cat {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: var(--br-bg);
    border: 1px solid var(--br-pink-light);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--br-pink-dark) !important;
    text-decoration: none;
    transition: all 0.2s;
}

.br-recovery-cat:hover {
    background: var(--br-pink);
    color: #fff !important;
    border-color: var(--br-pink);
}

/* Hide old short description + kill its spacing */
.single-product .woocommerce-product-details__short-description {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}

.entry-summary-items > .woocommerce-product-details__short-description {
    --product-element-spacing: 0px !important;
}

/* OFFERTA sale badge — pink, hide English "Sale" text, replace with Italian */
.single-product .onsale,
.single-product [class*="ct-woo-badge-"],
.woocommerce .onsale {
    background: var(--br-pink) !important;
    color: #fff !important;
    font-size: 0 !important;
}

.single-product .onsale::after,
.woocommerce .onsale::after {
    content: "OFFERTA";
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Product page breadcrumbs — single line */
.single-product .ct-breadcrumbs,
.single-product .breadcrumb-trail,
.single-product [class*="breadcrumb"] {
    font-size: 0.7rem !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block !important;
    padding: 0.5rem 0 !important;
}

/* Product trust badges */
.br-product-trust {
    border: 1px solid var(--br-border-light);
    border-radius: var(--br-radius);
    padding: 1.25rem;
    margin-bottom: 1.25rem;
    background: var(--br-bg);
}

.br-product-trust p {
    margin: 0 0 0.75rem;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--br-text);
}

.br-product-trust p:last-child {
    margin-bottom: 0;
}

/* Hide SKU on product page */
.single-product .sku_wrapper {
    display: none !important;
}

/* Category pills */
.single-product .posted_in {
    font-size: 0 !important;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.single-product .posted_in > span:first-child,
.single-product .posted_in > strong {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--br-text);
    margin-right: 4px;
}

.single-product .posted_in a {
    display: inline-block;
    padding: 0.3rem 0.75rem;
    background: var(--br-bg-warm);
    border-radius: 20px;
    font-size: 0.75rem !important;
    color: var(--br-pink-dark) !important;
    text-decoration: none;
    transition: all 0.2s;
}

.single-product .posted_in a:hover {
    background: var(--br-pink);
    color: #fff !important;
}

/* -----------------------------------------
   REVIEW CAROUSEL (text reviews)
----------------------------------------- */
.br-review-carousel-section {
    max-width: var(--br-max-width);
    margin: 2rem auto;
    padding: 2rem 1.5rem;
    text-align: center;
}

.br-review-carousel-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--br-gold);
    margin: 0 0 0.25rem;
}

.br-review-carousel-title {
    font-size: 1.3rem;
    font-weight: 800;
    margin: 0 0 1.5rem;
    color: var(--br-text);
}

.br-review-carousel .br-review-slide {
    flex: 0 0 calc(33.33% - 0.84rem);
    scroll-snap-align: start;
    background: var(--br-bg-warm);
    border: none;
    border-radius: var(--br-radius);
    padding: 1.5rem;
}

/* Carousel scroll indicator bar */
.br-review-carousel-section .br-scroll-indicator {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 1.25rem;
}

.br-review-carousel-section .br-scroll-bar {
    width: 100%;
    max-width: 200px;
    height: 3px;
    background: var(--br-border);
    border-radius: 2px;
    margin: 1.25rem auto 0;
    position: relative;
    overflow: hidden;
}

.br-review-carousel-section .br-scroll-bar-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 33%;
    background: var(--br-text);
    border-radius: 2px;
    transition: left 0.3s ease;
}

.br-review-slide-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.75rem;
}

.br-review-slide-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--br-bg-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    color: var(--br-text);
    flex-shrink: 0;
}

.br-review-slide-stars {
    color: var(--br-gold);
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.br-review-slide-name {
    font-size: 0.8rem;
    color: var(--br-text-muted);
}

.br-review-slide-city {
    font-size: 0.9rem;
    margin: 0 0 0.5rem;
    color: var(--br-text);
}

.br-review-slide-text {
    font-size: 0.88rem;
    line-height: 1.65;
    color: var(--br-text-light);
    margin: 0;
}

/* -----------------------------------------
   REVIEW MASONRY GRID (text + photos)
----------------------------------------- */
.br-review-masonry-section {
    max-width: var(--br-max-width);
    margin: 0 auto 2rem;
    padding: 2rem 1.5rem;
    background: #1a1a1a;
    border-radius: var(--br-radius);
}

@media (max-width: 768px) {
    .br-review-masonry-section {
        margin-left: 1rem;
        margin-right: 1rem;
    }
}

.br-review-masonry-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.br-review-masonry-header .br-review-masonry-stars {
    font-size: 1.1rem;
    color: var(--br-gold);
}

.br-review-masonry-header .br-review-masonry-stars span {
    font-size: 0.9rem;
    color: #fff;
    margin-left: 0.5rem;
    font-weight: 600;
}

.br-review-write-btn {
    padding: 0.5rem 1.25rem;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--br-radius-sm);
    background: transparent;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
}

.br-review-write-btn:hover {
    border-color: var(--br-pink);
    color: var(--br-pink);
}

.br-review-masonry {
    columns: 2;
    column-gap: 1rem;
}

.br-review-masonry-card {
    break-inside: avoid;
    background: #2a2a2a;
    border: none;
    border-radius: var(--br-radius);
    padding: 1.25rem;
    margin-bottom: 1rem;
}

.br-review-masonry-top {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 0.5rem;
}

.br-review-masonry-top strong {
    font-size: 0.9rem;
    color: #fff;
}

.br-review-masonry-top .br-review-masonry-stars {
    color: var(--br-gold);
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.br-review-masonry-text {
    font-size: 0.85rem;
    line-height: 1.6;
    color: #b0b0b8;
    margin: 0 0 0.75rem;
}

.br-review-masonry-photo {
    width: 100%;
    border-radius: var(--br-radius-sm);
    margin-bottom: 0.75rem;
    display: block;
}

.br-review-masonry-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.br-review-masonry-city {
    font-size: 0.75rem;
    color: #6b6b80;
}

/* Mobile */
@media (max-width: 768px) {
    .br-review-carousel .br-review-slide {
        flex: 0 0 85%;
    }

    .br-review-masonry {
        columns: 2;
    }

    .br-review-masonry-card {
        padding: 0.85rem;
    }

    .br-review-masonry-top strong {
        font-size: 0.8rem;
    }

    .br-review-masonry-text {
        font-size: 0.78rem;
    }
}

/* Hide Blocksy default related products */
.single-product section.related.products {
    display: none !important;
}

/* Our custom related products */
.br-related-products {
    max-width: var(--br-max-width);
    margin: 2rem auto;
    padding: 0 1.5rem;
}

.br-related-products h2 {
    font-size: 1.3rem;
    font-weight: 800;
    margin: 0 0 1.25rem;
    text-align: center;
}

.br-related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.br-related-card {
    background: var(--br-bg);
    border: 1px solid var(--br-border-light);
    border-radius: var(--br-radius);
    overflow: hidden;
    text-decoration: none;
    color: var(--br-text);
    transition: box-shadow 0.25s, transform 0.25s;
}

.br-related-card:hover {
    box-shadow: var(--br-shadow-lg);
    transform: translateY(-3px);
}

.br-related-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
}

.br-related-info {
    padding: 0.75rem;
}

.br-related-info h3 {
    font-size: 0.85rem;
    font-weight: 500;
    margin: 0 0 0.25rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.br-related-stars {
    color: var(--br-gold);
    font-size: 0.8rem;
    margin-bottom: 0.25rem;
}

.br-related-price {
    font-weight: 700;
    color: var(--br-pink-dark);
    font-size: 0.95rem;
}

.br-related-price del {
    color: var(--br-text-muted);
    font-weight: 400;
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .br-related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Rating count text next to stars on product page */
.single-product .woocommerce-product-rating {
    display: flex !important;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 0.25rem 0 0.75rem;
}

/* ---------- MOBILE: consistent horizontal margin for content blocks (match FAQ spacing) ---------- */
@media (max-width: 768px) {
    .single-product .br-wa-inline,
    .single-product .br-freshness-footer,
    .single-product .br-related-blog,
    .single-product .woocommerce-Tabs-panel--description table,
    .single-product .rosa-author-box {
        margin-left: 1rem !important;
        margin-right: 1rem !important;
        max-width: calc(100% - 2rem) !important;
    }
}

/* ---------- WHATSAPP FLOATING BUTTON ---------- */
.br-wa-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25d366;
    color: #fff !important;
    padding: 12px 18px;
    border-radius: 999px;
    text-decoration: none !important;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    font-size: 0.95rem;
    transition: transform 0.2s, box-shadow 0.2s;
}
.br-wa-float:hover,
.br-wa-float:focus {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.55);
    color: #fff !important;
}
@media (max-width: 600px) {
    .br-wa-float {
        bottom: 76px; /* above sticky add-to-cart */
        padding: 10px 14px;
    }
    .br-wa-label {
        display: none;
    }
}
/* Hide on checkout — no distractions */
body.br-checkout .br-wa-float {
    display: none;
}

/* ---------- CHECKOUT: hide "Salva i miei dati" section (useless for one-time buyers) ---------- */
body.br-checkout .br-save-section {
    display: none !important;
}

/* ---------- MOBILE CHECKOUT: show order summary above form ---------- */
@media (max-width: 900px) {
    body.br-checkout .br-right {
        display: block !important;
        width: 100% !important;
        margin: 0 0 1.25rem !important;
        padding: 1rem 1.25rem !important;
        background: #fff !important;
        border: 1px solid #f3e8ee !important;
        border-radius: 10px !important;
        order: -1 !important;
    }
    body.br-checkout .br-checkout-grid,
    body.br-checkout form.checkout {
        display: flex !important;
        flex-direction: column !important;
    }
    body.br-checkout .br-right .shop_table {
        font-size: 0.9rem;
        margin: 0;
    }
    body.br-checkout .br-right h2,
    body.br-checkout .br-right h3 {
        margin-top: 0;
        font-size: 1.05rem;
    }
    /* Make our header non-sticky on checkout so it doesn't overlap */
    body.br-checkout .br-header {
        position: static !important;
    }
}

/* Hide WC native "(X recensioni dei clienti)" link — duplicate of our emoji rating count */
.single-product .woocommerce-product-rating .woocommerce-review-link {
    display: none !important;
}

/* Emoji rating block (matches trust-box emoji style) */
.single-product .br-emoji-rating {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 0.25rem 0 0.75rem;
}
.single-product .br-emoji-stars {
    font-size: 1rem;
    letter-spacing: 1px;
    line-height: 1;
}
.single-product .br-star-empty {
    color: #d1d5db;
    font-size: 1rem;
}
/* Hide Blocksy's default .star-rating so ours replaces it cleanly */
.single-product .woocommerce-product-rating > .star-rating {
    display: none;
}
.single-product .br-rating-count {
    font-size: 0.9rem;
    color: var(--br-text-muted);
}
.single-product .br-rating-count strong {
    color: var(--br-text);
    font-weight: 700;
}
.single-product .br-rating-count a {
    color: var(--br-text-muted);
    text-decoration: underline;
}

/* Rosa author box — constrain to content width (sits in .ct-container-full, unconstrained by default) */
.single-product .rosa-author-box {
    max-width: var(--wp--style--global--content-size, 1290px);
    margin-left: auto !important;
    margin-right: auto !important;
}

/* -----------------------------------------
   PRODUCT BUNDLE BOX
----------------------------------------- */
.br-bundle-box {
    background: var(--br-bg-warm);
    border: 1px solid var(--br-pink-light);
    border-radius: var(--br-radius);
    padding: 1.5rem;
    margin-top: 1.5rem;
}

.br-bundle-title {
    font-size: 1.1rem;
    font-weight: 800;
    margin: 0 0 1rem;
    color: var(--br-text);
}

.br-bundle-images {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    overflow: hidden;
}

.br-bundle-images img {
    width: 120px;
    height: 120px;
    max-width: 120px;
    max-height: 120px;
    object-fit: cover;
    border-radius: var(--br-radius-sm);
    border: 1px solid var(--br-border-light);
    background: #fff;
    overflow: hidden;
    font-size: 0.7rem;
    color: var(--br-text-muted);
}

.br-bundle-plus {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--br-text-muted);
}

.br-bundle-pricing {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--br-text);
}

.br-bundle-total {
    font-size: 1.2rem;
    color: var(--br-pink-dark);
    margin-right: 0.5rem;
}

.br-bundle-pricing del {
    color: var(--br-text-muted);
    font-size: 0.9rem;
}

.br-bundle-cta {
    display: block;
    width: 100%;
    padding: 0.8rem;
    background: #86efac;
    color: #166534;
    border: none;
    border-radius: var(--br-radius-sm);
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
    margin-bottom: 1rem;
}

.br-bundle-cta:hover {
    background: #6ee7a0;
}

.br-bundle-items {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.br-bundle-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--br-text);
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.br-bundle-item input[type="checkbox"] {
    accent-color: #2563eb;
    width: 18px;
    height: 18px;
    min-width: 18px;
    cursor: pointer;
    margin-top: 3px;
}

.br-bundle-item span {
    flex: 1;
}

/* Sticky add to cart bar */
.br-sticky-add-to-cart {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid var(--br-border);
    box-shadow: 0 -4px 12px rgba(0,0,0,0.08);
    z-index: 9998;
    padding: 0.6rem 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    visibility: hidden;
}

.br-sticky-add-to-cart.visible {
    transform: translateY(0);
    visibility: visible;
}

.br-sticky-atc-inner {
    max-width: var(--br-max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.br-sticky-atc-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.br-sticky-atc-info strong {
    font-size: 0.85rem;
    color: var(--br-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.br-sticky-atc-info span {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--br-pink-dark);
}

.br-sticky-atc-info span del {
    color: var(--br-text-muted);
    font-weight: 400;
    font-size: 0.8rem;
}

.br-sticky-atc-btn {
    flex-shrink: 0;
    padding: 0.65rem 1.5rem;
    background: var(--br-pink);
    color: #fff !important;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s;
}

@media (hover: hover) {
    .br-sticky-atc-btn:hover {
        background: var(--br-pink-darker);
    }
}

/* Mobile — compact sticky add-to-cart (target ~60-65px height) */
@media (max-width: 768px) {
    .br-sticky-add-to-cart {
        padding: 0.4rem 0.75rem;
    }
    .br-sticky-atc-inner {
        gap: 0.5rem;
    }
    .br-sticky-atc-info strong {
        font-size: 0.8rem;
    }
    .br-sticky-atc-info span {
        font-size: 0.85rem;
    }
    .br-sticky-atc-info span del {
        font-size: 0.72rem;
    }
    .br-sticky-atc-btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
}

/* Cart actions — centered alignment */
.single-product .ct-cart-actions {
    align-items: center !important;
    gap: 12px !important;
    flex-wrap: wrap !important;
}

/* Quantita label — put ::before on parent (quantity has overflow:hidden) */
.single-product .ct-cart-actions {
    position: relative;
    padding-top: 22px !important;
}

.single-product .ct-cart-actions::before {
    content: "Quantita:";
    position: absolute;
    top: 0;
    left: 0;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--br-text-muted);
    letter-spacing: 0.3px;
}

/* Quantity selector — match Flatsome style */
.single-product .quantity[data-type="type-2"] {
    display: inline-flex !important;
    align-items: center !important;
    border: 1px solid var(--br-border) !important;
    border-radius: 6px !important;
    overflow: hidden !important;
    height: 42px !important;
}

.single-product .quantity[data-type="type-2"] .ct-decrease,
.single-product .quantity[data-type="type-2"] .ct-increase {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 42px !important;
    height: 42px !important;
    cursor: pointer !important;
    font-size: 1.2rem !important;
    color: var(--br-text) !important;
    background: var(--br-bg) !important;
    position: static !important;
    transform: none !important;
}

.single-product .quantity[data-type="type-2"] .ct-decrease {
    border-right: 1px solid var(--br-border) !important;
}

.single-product .quantity[data-type="type-2"] .ct-increase {
    border-left: 1px solid var(--br-border) !important;
}

.single-product .quantity[data-type="type-2"] input.qty {
    width: 50px !important;
    height: 42px !important;
    border: none !important;
    text-align: center !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    -moz-appearance: textfield !important;
    padding: 0 !important;
}

.single-product .quantity[data-type="type-2"] input.qty::-webkit-inner-spin-button,
.single-product .quantity[data-type="type-2"] input.qty::-webkit-outer-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}

/* Add to cart — same row, Blocksy default layout */
.single-product .single_add_to_cart_button,
.single-product button.single_add_to_cart_button {
    background: var(--br-pink) !important;
    border-color: var(--br-pink) !important;
    color: #fff !important;
    border-radius: 30px !important;
    font-weight: 700 !important;
    font-size: 0.85rem !important;
    padding: 0.75rem 1.25rem !important;
    transition: background 0.2s !important;
    white-space: normal !important;
    line-height: 1.3 !important;
    text-align: center !important;
    min-height: 42px !important;
    height: auto !important;
}

@media (hover: hover) {
    .single-product .single_add_to_cart_button:hover {
        background: var(--br-pink-darker) !important;
    }
}

/* Price styling on product page */
.single-product .price {
    font-size: 1.4rem !important;
    color: var(--br-pink-dark) !important;
    font-weight: 700 !important;
}

.single-product .price del {
    color: var(--br-text-muted) !important;
    font-size: 1rem !important;
}

/* -----------------------------------------
   BLOG — OVERRIDE BLOCKSY COLORS TO MATCH PINK BRANDING
----------------------------------------- */
.single-post,
.blog,
.archive {
    --theme-palette-color-1: #ec4899 !important;
    --theme-palette-color-2: #db2777 !important;
    --theme-link-initial-color: #ec4899 !important;
    --theme-link-hover-color: #db2777 !important;
}

.single-post .entry-content a,
.single-post .entry-content a:visited {
    color: var(--br-pink-dark);
}

.single-post .entry-content a:hover {
    color: var(--br-pink-darker);
}

.single-post .entry-title,
.single-post h1 {
    color: var(--br-text) !important;
}

/* Override any purple/blue table headers in blog posts */
.single-post table th,
.single-post .entry-content table th {
    background: var(--br-pink) !important;
    color: #fff !important;
    font-size: 0.85rem !important;
}

/* Override purple FAQ question text in blog posts */
.single-post .entry-content h3 a,
.single-post .entry-content h4 a,
.entry-content [itemprop="name"],
.entry-content .faq-question {
    color: var(--br-pink-dark) !important;
    font-weight: 700;
}

/* Override any inline purple/blue colors */
.single-post .entry-content [style*="color: #7c3aed"],
.single-post .entry-content [style*="color:#7c3aed"],
.single-post .entry-content [style*="color: #6d28d9"],
.single-post .entry-content [style*="color:#6d28d9"],
.single-post .entry-content [style*="color: #8b5cf6"],
.single-post .entry-content [style*="color:#8b5cf6"] {
    color: var(--br-pink-dark) !important;
}

/* -----------------------------------------
   BLOG TABLES
----------------------------------------- */
.single-post table,
.single-post .entry-content table {
    width: 100% !important;
    max-width: calc(100vw - 2rem) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    table-layout: fixed;
    word-wrap: break-word;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border: 1px solid var(--br-pink-light) !important;
    border-radius: var(--br-radius-sm) !important;
    overflow: hidden;
}

.single-post table th,
.single-post table td,
.single-post .entry-content table th,
.single-post .entry-content table td {
    word-wrap: break-word;
    overflow-wrap: break-word;
    border: 1px solid var(--br-pink-light) !important;
}

/* -----------------------------------------
   BLOG TOC STYLING
----------------------------------------- */
.toc-container,
#indice,
[id*="indice"] {
    background: var(--br-bg-warm) !important;
    border: 1px solid var(--br-pink-light) !important;
    border-radius: var(--br-radius) !important;
    padding: 1.5rem 2rem !important;
    margin: 1.5rem auto 2rem !important;
    max-width: 750px !important;
}

.toc-container a,
#indice a {
    display: block;
    padding: 0.3rem 0;
    color: var(--br-pink-dark) !important;
    font-size: 0.95rem;
    text-decoration: none;
}

.toc-container a:hover,
#indice a:hover {
    color: var(--br-pink-darker) !important;
    text-decoration: underline;
}

.toc-container p:first-child,
#indice p:first-child {
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    margin-bottom: 0.75rem !important;
    color: var(--br-text) !important;
}

.toc-container ul,
#indice ul {
    list-style: disc !important;
    padding-left: 1.25rem !important;
    margin: 0 !important;
}

.toc-container li,
#indice li {
    padding: 0.25rem 0;
    border-bottom: 1px solid var(--br-pink-light);
}

.toc-container li:last-child,
#indice li:last-child {
    border-bottom: none;
}

/* -----------------------------------------
   CART DRAWER
----------------------------------------- */
.br-cart-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 10000;
}

.br-cart-overlay.active { display: block; }

.br-cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 400px;
    max-width: 90vw;
    height: 100%;
    background: var(--br-bg);
    z-index: 10001;
    display: flex;
    flex-direction: column;
    box-shadow: -8px 0 30px rgba(0,0,0,0.15);
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    visibility: hidden;
}

.br-cart-drawer.active {
    transform: translateX(0);
    visibility: visible;
}

.br-cart-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--br-border-light);
}

.br-cart-drawer-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    color: var(--br-text);
}

.br-cart-drawer-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--br-pink);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    margin-left: 6px;
    vertical-align: middle;
}

.br-cart-drawer-close {
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--br-text-muted);
    line-height: 1;
}

.br-cart-drawer-shipping {
    padding: 1rem 1.5rem;
    background: var(--br-bg-warm);
    font-size: 0.85rem;
}

.br-cart-drawer-shipping p { margin: 0 0 0.5rem; }

.br-cart-shipping-bar {
    height: 4px;
    background: var(--br-border);
    border-radius: 2px;
    overflow: hidden;
}

.br-cart-shipping-bar span {
    display: block;
    height: 100%;
    background: var(--br-pink);
    border-radius: 2px;
}

.br-cart-drawer-items {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 1.5rem;
}

.br-cart-drawer-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--br-border-light);
}

.br-cart-drawer-item img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: var(--br-radius-sm);
    flex-shrink: 0;
}

.br-cart-drawer-item-info { flex: 1; }

.br-cart-drawer-item-name {
    font-size: 0.85rem;
    font-weight: 600;
    margin: 0 0 0.25rem;
    color: var(--br-text);
    line-height: 1.3;
}

.br-cart-drawer-item-price {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--br-pink-dark);
    margin: 0 0 0.35rem;
}

.br-cart-drawer-item-qty {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--br-text-muted);
}

.br-cart-drawer-remove {
    font-size: 0.75rem;
    color: var(--br-text-muted) !important;
    text-decoration: underline;
}

.br-cart-drawer-social-proof {
    font-size: 0.75rem;
    color: var(--br-gold);
    margin: 0.35rem 0 0;
    font-weight: 500;
}

.br-cart-drawer-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--br-text-muted);
}

.br-cart-drawer-empty p {
    margin: 0 0 1rem;
    font-size: 1rem;
}

.br-cart-drawer-footer {
    border-top: 1px solid var(--br-border);
    padding: 1rem 1.5rem 1.5rem;
}

.br-cart-drawer-urgency {
    background: #fef9c3;
    border-radius: var(--br-radius-sm);
    padding: 0.5rem 0.75rem;
    margin-bottom: 1rem;
}

.br-cart-drawer-urgency p {
    margin: 0;
    font-size: 0.8rem;
    color: #854d0e;
}

.br-cart-drawer-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.br-cart-drawer-total strong {
    color: var(--br-text);
}

.br-cart-drawer-buttons {
    display: flex;
    gap: 0.75rem;
}

.br-cart-drawer-btn-secondary {
    flex: 1;
    text-align: center;
    padding: 0.7rem;
    border: 2px solid var(--br-border);
    border-radius: 50px;
    color: var(--br-text) !important;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.2s;
}

.br-cart-drawer-btn-secondary:hover {
    border-color: var(--br-pink);
    color: var(--br-pink-dark) !important;
}

.br-cart-drawer-btn-primary {
    flex: 1;
    text-align: center;
    padding: 0.7rem;
    background: var(--br-pink);
    color: #fff !important;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    transition: background 0.2s;
}

.br-cart-drawer-btn-primary:hover {
    background: var(--br-pink-darker);
}

.br-cart-drawer-trust {
    text-align: center;
    font-size: 0.7rem;
    color: var(--br-text-muted);
    margin: 0.75rem 0 0;
}

/* -----------------------------------------
   WOOCOMMERCE OVERRIDES
   (Reset Blocksy defaults we don't want)
----------------------------------------- */

/* Hide default WooCommerce wrappers that may conflict */
.woocommerce-notices-wrapper:empty {
    display: none;
}

/* Ensure our grid takes priority */
.br-product-grid .products {
    display: contents !important;
}

/* Fix WooCommerce price display */
.br-product-price .woocommerce-Price-amount {
    font-size: inherit;
    font-weight: inherit;
}

.br-product-price .woocommerce-Price-currencySymbol {
    font-size: inherit;
}


/* ── Banner images: cover full container (handles portrait/landscape sources) ── */
.br-hp-banner { overflow: hidden !important; }
.br-hp-banner .br-banner-cover {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center 30% !important;
}


/* ── BLOG POST: align TOC + tables with the main content column
   Gutenberg's is-layout-constrained centers paragraphs/headings at ~750px,
   but custom .toc-container breaks out to the left edge. Fix by constraining
   same way. Tables also get a nicer scroll on small viewports. ── */
.single-post .entry-content .toc-container,
body.single-post .toc-container {
    max-width: 750px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
}
.single-post .entry-content table,
body.single-post article table {
    max-width: 750px !important;
    width: auto !important;
    margin-left: auto !important;
    margin-right: auto !important;
    border-collapse: collapse !important;
    font-size: 0.95rem !important;
    display: block !important;
    overflow-x: auto !important;
}
.single-post .entry-content table th,
body.single-post article table th {
    background: #ec4899 !important;
    color: #fff !important;
    padding: 12px 14px !important;
}
.single-post .entry-content table td,
body.single-post article table td {
    padding: 10px 14px !important;
    border-bottom: 1px solid #fce7f3 !important;
}
.single-post .entry-content table tr:nth-child(even) td,
body.single-post article table tr:nth-child(even) td {
    background: #fdf2f8 !important;
}
/* Horizontal scroll on mobile so wide tables don't break layout */
@media (max-width: 767px) {
    .single-post .entry-content table,
    body.single-post article table {
        display: block !important;
        overflow-x: auto !important;
        white-space: nowrap !important;
    }
}


/* ====================================================================
   MOBILE TOUCH FIX: prevent first-tap-eats-click on hover-styled elements
   On touch devices, browsers fire :hover on first tap, triggering visual
   transforms that can swallow the click. This block overrides them.
   ==================================================================== */
@media (hover: none) {
    .br-product-card,
    .br-product-card:hover,
    .br-hp-card,
    .br-hp-card:hover,
    .br-hp-banner:hover img,
    .br-product-link:hover,
    .br-product-actions .button:hover,
    .br-product-actions .add_to_cart_button:hover,
    .br-product-actions a:hover,
    .single-product .single_add_to_cart_button:hover,
    .br-sticky-atc-btn:hover,
    .br-bundle-cta:hover,
    .br-btn-primary:hover,
    .br-btn-secondary:hover,
    .br-btn-outline:hover,
    .br-quiz-btn:hover {
        transform: none !important;
    }
    .br-product-card .br-img-hover,
    .br-hp-card .br-img-hover { opacity: 0 !important; }
    .br-product-card .br-img-main,
    .br-hp-card .br-img-main { opacity: 1 !important; }
    .br-product-card:hover .br-quick-view { opacity: 0 !important; pointer-events: none !important; }
}
