/* css/style.css - Custom styles */

:root {
    --primary-color: #8b5a2b;
    --primary-dark: #6d4520;
    --secondary-color: #c9a96e;
    --accent-gold: #d4af37;
    --success-color: #27ae60;
    --danger-color: #c0392b;
    --dark-color: #1a1410;
    --text-muted: #6c757d;
    --surface: #ffffff;
    --surface-soft: #f7f3ee;
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Outfit', system-ui, sans-serif;
    --shadow-soft: 0 8px 30px rgba(26, 20, 16, 0.08);
    --shadow-hover: 0 16px 40px rgba(26, 20, 16, 0.14);
    --radius-lg: 16px;
    --radius-md: 12px;
}

/* General styles */
html {
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background-color: var(--surface-soft);
    color: var(--dark-color);
    min-height: 100vh;
    width: 100%;
    max-width: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* Card styles */
.product-card {
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

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

/* Whole card area clickable (link) */
.product-card-link {
    display: block;
    color: inherit;
}

.product-card-link:hover {
    color: inherit;
}

/* Image zoom on hover - full image visible (no crop) */
.product-card-img-wrap {
    overflow: hidden;
    height: 200px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
}

.product-card-img {
    max-height: 200px;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.product-card:hover .product-card-img {
    transform: scale(1.08);
}

.product-card-img-placeholder {
    height: 200px;
}

/* Hero section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 60px 0;
}

/* Navbar over full-page hero */
.has-fullpage-hero {
    overflow-x: hidden;
}
.has-fullpage-hero .navbar-hero-overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0) 100%);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}
.has-fullpage-hero .navbar-hero-overlay.navbar-scrolled {
    background: rgba(33, 37, 41, 0.95);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

/* Hero / Banner carousel */
.hero-carousel {
    overflow: hidden;
}
.hero-carousel:not(.hero-fullpage) .carousel-inner {
    min-height: 280px;
}
.hero-carousel:not(.hero-fullpage) .carousel-item {
    min-height: 280px;
    position: relative;
}
.hero-carousel .carousel-item {
    position: relative;
}
.hero-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-color: var(--primary-color);
}
.hero-carousel .carousel-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.25));
    z-index: 0;
}
.hero-caption {
    position: relative;
    z-index: 1;
    padding: 3rem 1.5rem;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
    max-width: 800px;
    margin: 0 auto;
}
.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
    width: 8%;
    z-index: 2;
}
.hero-carousel .carousel-control-prev-icon,
.hero-carousel .carousel-control-next-icon {
    filter: none;
    background-color: rgba(0, 0, 0, 0.45);
    padding: 1.25rem;
    border-radius: 50%;
}
.hero-carousel .carousel-indicators {
    margin-bottom: 2rem;
    z-index: 2;
}
.hero-carousel .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 6px;
}

/* Full-page hero slider — full width + full viewport height */
.hero-fullpage-wrap {
    width: 100%;
    max-width: 100%;
    flex-shrink: 0;
    overflow: hidden;
}

.hero-fullpage,
.hero-fullpage-fallback {
    width: 100%;
    max-width: 100%;
    height: 100vh;
    height: 100svh;
    height: 100dvh;
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
    margin: 0;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    position: relative;
}

.hero-fullpage .carousel-inner {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-fullpage .carousel-item {
    width: 100%;
    height: 100%;
    min-height: 100%;
}

.hero-fullpage .carousel-item.active {
    display: block;
    height: 100%;
}

.hero-fullpage .hero-slide-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.hero-fullpage .carousel-caption {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 5rem 1.5rem 3rem;
    margin: 0;
}
.hero-fullpage .carousel-caption .display-3 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}
.hero-fullpage-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5rem 1.5rem 3rem;
    margin: 0;
}
.home-content {
    padding-top: 4rem;
    padding-bottom: 2rem;
    width: 100%;
    max-width: 100%;
}

/* Full-width shop layout (home + category) — no empty side gutters on wide screens */
.site-shell {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

/* Navbar responsive */
.navbar-hero-overlay {
    width: 100%;
}

@media (max-width: 991.98px) {
    .navbar .navbar-collapse .d-flex {
        width: 100%;
        margin: 0.75rem 0 0.5rem !important;
    }

    .navbar .navbar-collapse .d-flex .form-control {
        flex: 1;
        min-width: 0;
    }

    .navbar .navbar-collapse .btn-outline-light.position-relative {
        width: 100%;
        margin-top: 0.5rem;
    }
}

/* Category cards */
.category-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.category-card:hover {
    transform: scale(1.05);
    background: var(--primary-color);
    color: white;
}

/* Cart badge */
.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--danger-color);
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 12px;
}

/* Post card + any content card (same as product: clickable, image zoom) */
.content-card {
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.content-card-link {
    display: block;
    color: inherit;
}

.content-card-link:hover {
    color: inherit;
}

.content-card-img-wrap {
    overflow: hidden;
    height: 200px;
    background: #f0f0f0;
}

.content-card-img {
    height: 200px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.content-card:hover .content-card-img {
    transform: scale(1.08);
}

/* Pagination */
.pagination {
    justify-content: center;
    margin: 30px 0;
}

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

/* Alert messages */
.alert {
    border-radius: 10px;
    border: none;
}

/* Buttons */
.btn-primary,
.btn-luxury {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border: none;
    color: #fff;
    font-weight: 500;
    border-radius: 999px;
    padding: 0.6rem 1.4rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover,
.btn-luxury:hover {
    background: linear-gradient(135deg, var(--primary-dark), #543418);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: var(--shadow-soft);
}

.btn-outline-luxury {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 999px;
    font-weight: 500;
    background: #fff;
    padding: 0.6rem 1.4rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn-outline-luxury:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: var(--shadow-soft);
}

.cart-actions {
    margin-top: 0.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

/* Form */
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(142, 68, 173, 0.25);
}

/* Loader */
.loader {
    border: 5px solid #f3f3f3;
    border-top: 5px solid var(--primary-color);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-carousel:not(.hero-fullpage) .carousel-inner {
        min-height: 200px;
    }

    .hero-fullpage,
    .hero-fullpage-fallback {
        height: 100vh;
        height: 100svh;
        height: 100dvh;
        min-height: 100vh;
        min-height: 100svh;
        min-height: 100dvh;
    }

    .hero-fullpage .carousel-caption,
    .hero-fullpage-fallback .hero-caption {
        padding: 4.5rem 1rem 2.5rem;
    }

    .hero-fullpage .carousel-caption .display-3 {
        font-size: clamp(1.75rem, 8vw, 2.5rem);
    }

    .hero-fullpage .carousel-caption .lead {
        font-size: 1rem;
    }

    .hero-fullpage .carousel-control-prev-icon,
    .hero-fullpage .carousel-control-next-icon {
        padding: 0.75rem;
    }

    .home-content {
        padding-top: 3rem;
    }
    
    .product-card-img-wrap {
        height: 160px;
    }
    
    .product-card-img {
        max-height: 160px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
}

/* ========== LUXURY THEME ========== */

h1, h2, h3, .section-heading, .product-title, .category-title {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: 0.02em;
}

.section-eyebrow, .hero-eyebrow, .product-category-label {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--secondary-color);
}

.section-heading {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 0.25rem;
}

.section-subtitle {
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto;
}

.section-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.section-link:hover {
    color: var(--primary-dark);
}

/* Navbar */
.site-navbar {
    background: rgba(26, 20, 16, 0.96);
    backdrop-filter: blur(10px);
    padding: 0.85rem 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.has-fullpage-hero .site-navbar.navbar-hero-overlay {
    background: linear-gradient(180deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0) 100%);
    box-shadow: none;
}

.has-fullpage-hero .site-navbar.navbar-hero-overlay.navbar-scrolled {
    background: rgba(26, 20, 16, 0.96);
    box-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

.site-brand {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-family: var(--font-display);
    font-weight: 600;
}

.site-brand .site-brand-logo {
    max-height: 52px;
    max-width: 200px;
    width: auto;
    align-self: center;
}

.site-brand .brand-text {
    font-family: var(--font-display);
    font-size: 1.38rem;
    font-weight: 600;
    letter-spacing: 0.07em;
    line-height: 1;
    white-space: nowrap;
    color: var(--accent-gold);
    transform: translateY(4px);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.site-brand-logo,
.footer-brand-logo,
.login-brand-logo {
    width: auto;
    max-width: 200px;
    max-height: 52px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

.footer-brand-link .brand-text {
    color: var(--accent-gold);
    font-size: 1.25rem;
    letter-spacing: 0.06em;
    transform: translateY(3px);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.brand-text {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 1.1;
    white-space: nowrap;
}

.footer-brand-link {
    text-decoration: none;
}

.footer-brand-link:hover {
    opacity: 0.92;
}

.brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.95rem;
}

.site-nav-links .nav-link {
    font-weight: 500;
    font-size: 1rem;
    padding: 0.55rem 0.85rem !important;
    line-height: 1.2;
    transition: color 0.2s, background 0.2s, border-color 0.2s;
    white-space: nowrap;
}

.site-nav-links .nav-item {
    display: flex;
    align-items: center;
}

.site-nav-links .nav-link:hover {
    color: var(--secondary-color) !important;
}

@media (min-width: 992px) {
    .site-navbar .navbar-collapse {
        flex-wrap: nowrap;
        align-items: center;
    }

    .site-nav-links {
        flex-wrap: nowrap;
        align-items: center;
        gap: 0.1rem;
    }

    .site-nav-links .nav-link {
        font-size: 1.02rem;
        letter-spacing: 0.015em;
    }

    .site-search-form {
        min-width: 185px;
        max-width: 215px;
        flex-shrink: 1;
    }

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

.site-nav-links .nav-link-track {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--accent-gold) !important;
    border: 1px solid rgba(212, 175, 55, 0.45);
    border-radius: 999px;
    padding: 0.45rem 0.95rem !important;
    margin-left: 0.2rem;
    background: rgba(212, 175, 55, 0.08);
    font-size: 1rem;
}

.site-nav-links .nav-link-track:hover {
    color: #fff !important;
    background: rgba(212, 175, 55, 0.22);
    border-color: rgba(212, 175, 55, 0.75);
}

.site-nav-links .nav-link-track .nav-link-icon {
    font-size: 0.9rem;
    opacity: 0.95;
}

.site-search-form {
    background: rgba(255,255,255,0.1);
    border-radius: 999px;
    padding: 0.2rem 0.2rem 0.2rem 1rem;
    min-width: 220px;
}

.site-search-form .form-control {
    background: transparent;
    border: none;
    color: #fff;
    box-shadow: none;
    padding-left: 0;
}

.site-search-form .form-control::placeholder {
    color: rgba(255,255,255,0.6);
}

.btn-search, .btn-cart {
    background: var(--secondary-color);
    border: none;
    color: var(--dark-color);
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.btn-search:hover, .btn-cart:hover {
    background: var(--accent-gold);
    color: var(--dark-color);
}

.cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--danger-color);
    color: #fff;
    font-size: 0.65rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-header {
    background: linear-gradient(135deg, var(--dark-color), #2d2218);
    color: #fff;
    padding: 2rem 0;
}

.page-header h1 {
    margin: 0;
    font-size: 2rem;
}

/* CMS pages (About, Contact, etc.) */
.cms-page {
    background: var(--surface-soft);
    width: 100%;
}

.cms-page-body {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--dark-color);
    width: 100%;
}

.cms-hero-lead {
    max-width: 720px;
}

.cms-page-body .cms-intro .cms-lead {
    font-size: 1.05rem;
}

.cms-intro {
    margin-bottom: 2rem;
}

.cms-lead {
    font-size: 1.15rem;
    color: var(--text-muted, #666);
    margin: 0;
}

.cms-card {
    background: var(--surface, #fff);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius-lg, 12px);
    padding: 1.75rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    height: 100%;
}

.cms-card h2 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.cms-card-highlight {
    background: linear-gradient(135deg, #faf7f2, #f5efe6);
    border-color: rgba(184, 134, 11, 0.15);
}

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

.cms-checklist li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.cms-checklist li:last-child {
    border-bottom: none;
}

.cms-checklist li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--accent-gold, #b8860b);
    font-size: 0.85rem;
}

.cms-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

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

.cms-contact-list li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.cms-contact-list li:last-child {
    border-bottom: none;
}

.cms-contact-list i {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(184, 134, 11, 0.12);
    color: var(--accent-gold, #b8860b);
    border-radius: 50%;
    flex-shrink: 0;
}

.cms-contact-list strong {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-bottom: 0.15rem;
}

.cms-contact-list span {
    color: var(--dark-color);
}

.contact-form .form-label {
    font-weight: 500;
    font-size: 0.9rem;
}

/* Hero extras */
.hero-eyebrow {
    color: var(--accent-gold);
    margin-bottom: 0.75rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

/* Trust strip */
.trust-strip {
    margin-top: -1rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--surface);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
    box-shadow: var(--shadow-soft);
    height: 100%;
}

.trust-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    width: 42px;
    text-align: center;
}

.trust-item strong {
    display: block;
    font-size: 0.95rem;
}

.trust-item span {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Collection cards */
.collection-card {
    display: block;
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    border: 1px solid rgba(139, 90, 43, 0.08);
}

.collection-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    color: inherit;
}

.collection-card-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #f3e8d8, #e8d4b8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--primary-color);
}

.collection-card h3 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
}

.collection-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.collection-count {
    display: inline-block;
    background: rgba(139, 90, 43, 0.1);
    color: var(--primary-color);
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
}

.collection-soon {
    display: inline-block;
    background: #eee;
    color: #666;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    font-size: 0.8rem;
}

.collection-card-soon {
    opacity: 0.85;
}

/* Product cards */
.product-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--surface);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0,0,0,0.04);
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.product-card-img-wrap {
    position: relative;
    height: 240px;
    background: linear-gradient(180deg, #faf7f2, #f0ebe3);
    padding: 1rem;
}

.product-card-img {
    max-height: 220px;
    width: 100%;
    object-fit: contain;
}

.product-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.product-card-badge.sale {
    background: var(--danger-color);
    color: #fff;
}

.product-card-badge.featured {
    background: var(--accent-gold);
    color: var(--dark-color);
}

.product-card-quick-view {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    opacity: 0;
    background: rgba(26, 20, 16, 0.85);
    color: #fff;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.product-card:hover .product-card-quick-view {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.product-card-category {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--secondary-color);
    font-weight: 600;
}

.product-card-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    margin: 0.35rem 0 0.5rem;
    color: var(--dark-color);
}

.product-card-desc {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
    min-height: 2.5em;
}

.product-card-price .current {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--dark-color);
}

.product-card-price .current.sale {
    color: var(--danger-color);
}

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

.product-card-footer {
    background: transparent;
    border-top: 1px solid rgba(0,0,0,0.05);
    padding: 1rem;
}

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

.product-card-actions .form-control {
    width: 58px;
    text-align: center;
    flex-shrink: 0;
}

.product-card-btns {
    display: flex;
    flex: 1;
    gap: 0.35rem;
    min-width: 0;
}

.product-card-btns .btn {
    flex: 1;
    white-space: nowrap;
    font-size: 0.8rem;
    padding-left: 0.4rem;
    padding-right: 0.4rem;
}

/* Product detail page */
.product-page {
    background: var(--surface-soft);
}

.product-breadcrumb .breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
}

/* Unified product gallery slider */
.product-gallery {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    box-shadow: var(--shadow-soft);
    position: sticky;
    top: 100px;
}

.product-gallery-stage {
    position: relative;
    background: linear-gradient(180deg, #faf7f2, #f0ebe3);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.product-sale-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 5;
    background: var(--danger-color);
    color: #fff;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.gallery-viewport {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.gallery-media-wrap {
    position: relative;
    width: 100%;
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-zoom-wrap {
    position: relative;
    width: 100%;
    height: 380px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: zoom-in;
    --zoom-scale: 2.15;
    --zoom-x: 50%;
    --zoom-y: 50%;
}

.gallery-zoom-wrap .gallery-main-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.12s ease-out;
    will-change: transform;
}

.gallery-zoom-wrap.is-zooming .gallery-main-image {
    transform: scale(var(--zoom-scale));
    transform-origin: var(--zoom-x) var(--zoom-y);
}

.gallery-zoom-hint {
    position: absolute;
    bottom: 12px;
    right: 12px;
    z-index: 4;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: var(--dark-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    opacity: 0;
    transition: opacity 0.2s;
    pointer-events: none;
}

.gallery-zoom-wrap:hover .gallery-zoom-hint {
    opacity: 1;
}

.gallery-viewport.is-360-active .gallery-zoom-wrap,
.gallery-viewport.is-video-active .gallery-zoom-wrap {
    cursor: default;
    pointer-events: none;
}

.gallery-viewport.is-360-active .gallery-zoom-hint,
.gallery-viewport.is-video-active .gallery-zoom-hint {
    display: none;
}

.gallery-main-image,
.gallery-main-video {
    width: 100%;
    height: 380px;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
}

/* Product image lightbox */
.product-image-modal {
    position: fixed;
    inset: 0;
    z-index: 1080;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.product-image-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.product-image-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(12, 10, 8, 0.88);
}

.product-image-modal-panel {
    position: relative;
    z-index: 2;
    width: min(96vw, 1100px);
    height: min(88vh, 820px);
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.product-image-modal-toolbar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: linear-gradient(180deg, #faf7f2, #f3ede4);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    flex-shrink: 0;
}

.product-image-modal-btn {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 10px;
    background: #fff;
    color: var(--dark-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.product-image-modal-btn:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-1px);
}

.product-image-modal-close {
    margin-left: auto;
}

.product-image-modal-zoom-level {
    min-width: 52px;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark-color);
}

.product-image-modal-viewport {
    flex: 1;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #faf7f2, #f0ebe3);
    cursor: grab;
    touch-action: none;
}

.product-image-modal-viewport.is-dragging {
    cursor: grabbing;
}

.product-image-modal-viewport img {
    position: absolute;
    top: 50%;
    left: 50%;
    max-width: none;
    max-height: none;
    width: auto;
    height: auto;
    max-width: 92%;
    max-height: 92%;
    transform: translate(-50%, -50%);
    transform-origin: center center;
    user-select: none;
    pointer-events: none;
}

body.product-modal-open {
    overflow: hidden;
}

.gallery-main-video {
    width: 100%;
    max-height: 380px;
    border-radius: 8px;
    background: #111;
}

.gallery-viewport.is-video-active {
    cursor: default;
}

.gallery-viewport.is-video-active .gallery-nav {
    pointer-events: auto;
}

.gallery-thumb-video {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}

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

.gallery-thumb-video i {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    background: rgba(0, 0, 0, 0.35);
}

.gallery-thumb-360 {
    position: relative;
}

.gallery-thumb-360-badge {
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(26, 20, 16, 0.85);
    color: var(--accent-gold);
    font-size: 0.62rem;
    font-weight: 700;
    padding: 0.15rem 0.45rem;
    border-radius: 999px;
    white-space: nowrap;
    z-index: 2;
}

.gallery-360-main-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 5;
    background: rgba(26, 20, 16, 0.85);
    color: var(--accent-gold);
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.gallery-spin360-wrap {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
}

.gallery-spin360-frame {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 380px;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.05s linear;
}

.gallery-spin360-frame.active {
    opacity: 1;
    visibility: visible;
}

.gallery-viewport.is-360-active {
    cursor: grab;
    touch-action: none;
}

.gallery-viewport.is-360-active.is-dragging,
.gallery-spin360-wrap.is-dragging {
    cursor: grabbing;
}

.gallery-viewport.is-video-active {
    cursor: default;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 6;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.92);
    color: var(--dark-color);
    box-shadow: 0 4px 14px rgba(0,0,0,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.gallery-nav:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.05);
}

.gallery-prev { left: 12px; }
.gallery-next { right: 12px; }

.gallery-thumbs {
    display: flex;
    gap: 0.55rem;
    margin-top: 1rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
}

.gallery-thumb {
    flex: 0 0 68px;
    height: 68px;
    border: 2px solid transparent;
    border-radius: 10px;
    overflow: hidden;
    padding: 0;
    background: #f5f0ea;
    cursor: pointer;
    transition: border-color 0.2s, transform 0.2s;
}

.gallery-thumb:hover {
    transform: translateY(-2px);
}

.gallery-thumb.active {
    border-color: var(--primary-color);
}

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

.product-main-image-wrap {
    position: relative;
    background: linear-gradient(180deg, #faf7f2, #f0ebe3);
    border-radius: var(--radius-md);
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.product-main-image-placeholder {
    color: #ccc;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-info-panel {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-soft);
}

.product-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    margin: 0.5rem 0 1rem;
}

.product-stars {
    color: var(--accent-gold);
    margin-right: 0.5rem;
}

.product-price-block {
    margin: 1.25rem 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

.product-price-current {
    font-size: 2rem;
    font-weight: 600;
    color: var(--dark-color);
}

.product-price-current.sale {
    color: var(--danger-color);
}

.product-price-old {
    font-size: 1.2rem;
    text-decoration: line-through;
    color: var(--text-muted);
}

.product-discount-badge {
    background: rgba(192, 57, 43, 0.1);
    color: var(--danger-color);
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
}

.product-short-desc {
    color: var(--text-muted);
    line-height: 1.7;
}

.product-highlights {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.product-highlights li {
    padding: 0.4rem 0;
    color: var(--dark-color);
}

.product-highlights i {
    color: var(--success-color);
    margin-right: 0.5rem;
}

.product-stock.in-stock {
    color: var(--success-color);
    font-weight: 500;
}

.product-stock.out-of-stock {
    color: var(--danger-color);
}

.product-buy-row {
    display: flex;
    gap: 0.75rem;
    align-items: flex-end;
    margin-top: 1.5rem;
}

.product-qty-wrap {
    width: 90px;
}

.product-trust-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.product-trust-row div {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.product-trust-row i {
    color: var(--primary-color);
    width: 20px;
}

.product-description-section,
.related-products-section {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-soft);
}

/* Category page */
.category-page {
    background: var(--surface-soft);
    width: 100%;
}

.category-page .site-shell .row {
    --bs-gutter-x: 1.5rem;
}

.category-hero {
    background: linear-gradient(135deg, var(--dark-color), #3d2e22);
    color: #fff;
    padding: 3rem 0 2.5rem;
}

.breadcrumb-light .breadcrumb-item a {
    color: rgba(255,255,255,0.8);
}

.breadcrumb-light .breadcrumb-item.active {
    color: #fff;
}

.category-title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 0.5rem;
}

.category-lead {
    opacity: 0.85;
    max-width: 600px;
}

.category-count {
    opacity: 0.7;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.empty-category-icon {
    font-size: 4rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

/* Footer */
.site-footer {
    background: var(--dark-color);
    color: rgba(255,255,255,0.85);
    margin-top: auto;
}

.site-footer-top {
    padding: 3.5rem 0 2rem;
}

.footer-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: #fff;
}

.footer-text {
    color: rgba(255,255,255,0.65);
    font-size: 0.95rem;
}

.footer-heading {
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.75rem;
    margin-bottom: 1rem;
}

.footer-links,
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
}

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

.footer-social a {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: #fff;
    margin-right: 0.5rem;
    text-decoration: none;
    transition: background 0.2s;
}

.footer-social a:hover {
    background: var(--primary-color);
}

.site-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 1.25rem 0;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.55);
}

.footer-badges span {
    margin-left: 1rem;
}

.scroll-top-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: var(--primary-color);
    color: #fff;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-hover);
    z-index: 1000;
    cursor: pointer;
}

.scroll-top-btn:hover {
    background: var(--primary-dark);
}

@media (max-width: 991.98px) {
    .navbar-actions {
        width: 100%;
        margin-top: 1rem;
        flex-direction: column;
    }

    .site-search-form {
        width: 100%;
        min-width: 0;
    }

    .site-nav-links .nav-link-track {
        margin-left: 0;
        margin-top: 0.25rem;
        width: fit-content;
    }

    .product-gallery {
        position: static;
    }

    .product-trust-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .gallery-viewport,
    .gallery-media-wrap {
        min-height: 280px;
    }

    .gallery-zoom-wrap {
        height: 260px;
    }

    .gallery-main-image,
    .gallery-main-video {
        max-height: 260px;
    }

    .gallery-nav {
        width: 36px;
        height: 36px;
    }

    .product-info-panel {
        padding: 1.25rem;
    }

    .hero-actions .btn {
        width: 100%;
    }
}

.payment-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.payment-option {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0.75rem;
    cursor: pointer;
    background: #fff;
}

.payment-option input {
    margin-top: 0.25rem;
}

.payment-option:hover,
.payment-option:has(input:checked) {
    border-color: #b8860b;
    background: rgba(212, 175, 55, 0.06);
}

.payment-details code {
    font-size: 0.95rem;
}

.payment-qr-wrap {
    text-align: center;
}

.payment-qr-img,
.payment-qr-preview {
    display: inline-block;
    max-width: 200px;
    width: 100%;
    height: auto;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: #fff;
    padding: 6px;
}

.payment-qr-preview {
    max-width: 120px;
}

.order-number-box {
    max-width: 28rem;
}

.order-summary-list {
    max-width: 22rem;
    background: rgba(0, 0, 0, 0.03);
    border-radius: 0.75rem;
    padding: 1rem 1.25rem;
}

.order-summary-list li + li {
    margin-top: 0.35rem;
}

.alert-persist {
    /* Never auto-dismissed by main.js */
}

/* Order tracking */
.order-track-card {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 1rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.order-track-timeline {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: space-between;
    margin: 1.5rem 0 0;
    padding: 0;
    list-style: none;
}

.order-track-step {
    flex: 1 1 120px;
    text-align: center;
    position: relative;
    padding: 0 0.25rem 0.5rem;
}

.order-track-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 1.25rem;
    left: calc(50% + 1.25rem);
    width: calc(100% - 2.5rem);
    height: 2px;
    background: rgba(0, 0, 0, 0.12);
    z-index: 0;
}

.order-track-step.is-done:not(:last-child)::after,
.order-track-step.is-active:not(:last-child)::after {
    background: #b8860b;
}

.order-track-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f1f1f1;
    color: #888;
    position: relative;
    z-index: 1;
    margin-bottom: 0.5rem;
}

.order-track-step.is-done .order-track-icon,
.order-track-step.is-active .order-track-icon {
    background: linear-gradient(135deg, #d4af37, #b8860b);
    color: #fff;
}

.order-track-step.is-active .order-track-icon {
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.25);
}

.order-track-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: #666;
}

.order-track-step.is-done .order-track-label,
.order-track-step.is-active .order-track-label {
    color: #1a1a1a;
}

@media (max-width: 575.98px) {
    .order-track-step:not(:last-child)::after {
        display: none;
    }

    .order-track-timeline {
        flex-direction: column;
        align-items: stretch;
    }

    .order-track-step {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        text-align: left;
        padding: 0.35rem 0;
    }

    .order-track-icon {
        margin-bottom: 0;
        flex-shrink: 0;
    }
}

/* WhatsApp chat widget */
.wa-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1050;
    font-family: var(--font-body);
}

body.has-wa-widget .scroll-top-btn {
    bottom: 88px;
}

.wa-widget-fab {
    position: relative;
    z-index: 1;
    width: 58px;
    height: 58px;
    border: none;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.wa-widget.is-open .wa-widget-panel {
    z-index: 3;
}

.wa-widget.is-open .wa-widget-fab {
    z-index: 2;
}

.wa-widget-fab:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.55);
}

.wa-widget-fab-close {
    display: none;
    font-size: 22px;
}

.wa-widget.is-open .wa-widget-fab-icon {
    display: none;
}

.wa-widget.is-open .wa-widget-fab-close {
    display: block;
}

.wa-widget-panel {
    position: absolute;
    bottom: 72px;
    right: 0;
    width: 340px;
    max-width: calc(100vw - 32px);
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px) scale(0.96);
    transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
    pointer-events: none;
}

.wa-widget.is-open .wa-widget-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.wa-widget-header {
    background: #075e54;
    color: #fff;
    padding: 14px 16px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}

.wa-widget-agent {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.wa-widget-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.35);
}

.wa-widget-avatar-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-gold);
    color: var(--dark-color);
    font-weight: 700;
    font-size: 16px;
}

.wa-widget-agent-name {
    font-weight: 600;
    font-size: 15px;
    line-height: 1.3;
}

.wa-widget-agent-status {
    font-size: 12px;
    opacity: 0.88;
    margin-top: 2px;
}

.wa-widget-close {
    background: transparent;
    border: none;
    color: #fff;
    opacity: 0.85;
    font-size: 18px;
    padding: 4px;
    cursor: pointer;
    line-height: 1;
}

.wa-widget-close:hover {
    opacity: 1;
}

.wa-widget-body {
    min-height: 120px;
    max-height: 220px;
    overflow-y: auto;
    padding: 16px 12px;
    background-color: #e5ddd5;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 10h4v4h-4zM30 30h4v4h-4z' fill='%23d4cdc4'/%3E%3C/svg%3E");
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wa-widget-msg {
    display: flex;
    width: 100%;
}

.wa-widget-msg--in {
    justify-content: flex-start;
}

.wa-widget-msg--out {
    justify-content: flex-end;
}

.wa-widget-msg--in .wa-widget-bubble {
    background: #fff;
    border-radius: 8px 8px 8px 2px;
}

.wa-widget-msg--out .wa-widget-bubble {
    background: #dcf8c6;
    border-radius: 8px 8px 2px 8px;
}

.wa-widget-bubble {
    padding: 10px 12px 8px;
    max-width: 88%;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.wa-widget-bubble-name {
    font-size: 12px;
    font-weight: 600;
    color: #075e54;
    margin-bottom: 4px;
}

.wa-widget-bubble-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
    color: #303030;
}

.wa-widget-bubble-time {
    text-align: right;
    font-size: 11px;
    color: #999;
    margin-top: 4px;
}

.wa-widget-footer {
    padding: 12px;
    background: #f0f0f0;
    border-top: 1px solid #e0e0e0;
}

.wa-widget-input {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 14px;
    resize: none;
    margin-bottom: 10px;
    font-family: inherit;
}

.wa-widget-input:focus {
    outline: none;
    border-color: #25d366;
    box-shadow: 0 0 0 2px rgba(37, 211, 102, 0.2);
}

.wa-widget-start,
.wa-widget-send {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 16px;
    background: #25d366;
    color: #fff;
    text-decoration: none;
    border: none;
    border-radius: 24px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.2s;
    position: relative;
    z-index: 4;
}

.wa-widget-footer .wa-widget-send:not(.wa-widget-start) {
    width: 42px;
    height: 42px;
    padding: 0;
    border-radius: 50%;
    flex-shrink: 0;
    margin-bottom: 10px;
}

.wa-widget-footer:has(.wa-widget-send:not(.wa-widget-start)) {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 8px;
}

.wa-widget-footer:has(.wa-widget-send:not(.wa-widget-start)) .wa-widget-input {
    flex: 1;
    margin-bottom: 0;
    min-width: 0;
}

.wa-widget-start:hover:not(:disabled),
.wa-widget-send:hover:not(:disabled) {
    background: #1da851;
    color: #fff;
}

.wa-widget-start:disabled,
.wa-widget-send:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.wa-widget-hint {
    margin: 8px 0 0;
    padding: 8px 10px;
    font-size: 11px;
    line-height: 1.4;
    color: #075e54;
    background: #e7f8ef;
    border-radius: 8px;
    text-align: center;
}

.wa-widget-send-note {
    margin: 10px 0 0;
    font-size: 11px;
    line-height: 1.4;
    color: #666;
    text-align: center;
}

@media (max-width: 575.98px) {
    .wa-widget {
        bottom: 16px;
        right: 16px;
    }

    .wa-widget-panel {
        width: min(340px, calc(100vw - 32px));
        bottom: 68px;
    }

    body.has-wa-widget .scroll-top-btn {
        bottom: 80px;
        right: 16px;
    }
}