:root {
    --primary: #e53935;
    --primary-dark: #c62828;
    --primary-light: #ef5350;
    --accent: #ff6d00;
    --accent-dark: #e65100;
    --secondary: #1a1a1a;
    --dark: #0d0d0d;
    --darker: #080808;
    --graphite: #1f1f1f;
    --light: #1a1a1a;
    --lighter: #121212;
    --white: #ffffff;
    --gray: #999;
    --gray-light: #555;
    --gray-dark: #333;
    --success: #e53935;
    --warning: #ff9100;
    --glass-bg: rgba(13,13,13,0.95);
    --glass-border: rgba(229,57,53,0.15);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.12);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.16);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.20);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.25);
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --section-pad-desktop: 80px;
    --section-pad-tablet: 60px;
    --section-pad-mobile: 40px;
    --header-height: 72px;
    --grid-gap: 24px;
    --card-gap: 20px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes slideInUp {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes slideInDown {
    from { transform: translateY(-100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes ripple {
    to { transform: scale(4); opacity: 0; }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes countUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes modalBackdropIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes modalContentIn {
    from { opacity: 0; transform: scale(0.9) translateY(-20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes toastSlideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes toastSlideOut {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(100%); opacity: 0; }
}

@keyframes heroZoom {
    from { transform: scale(1.1); }
    to { transform: scale(1); }
}

@keyframes underlineGrow {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes glowPulse {
    0%, 100% { box-shadow: 0 0 5px var(--primary); }
    50% { box-shadow: 0 0 20px var(--primary), 0 0 40px var(--primary-light); }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--lighter);
    color: var(--secondary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

.farmautil-promo-strip { background: var(--darker); color: var(--gray-light); padding: 8px 0; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; text-align: center; border-bottom: 1px solid var(--graphite); }
.promo-strip-text { font-weight: 600; }
.farmautil-header-wrap { position: sticky; top: 0; z-index: 1030; background: var(--glass-bg); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid var(--glass-border); }
.farmautil-navbar { padding: 0; height: var(--header-height); }
.farmautil-brand { font-size: 22px; font-weight: 800; letter-spacing: 1px; color: var(--white); text-decoration: none; display: flex; align-items: center; }
.brand-text-far { color: var(--gray); font-weight: 400; }
.brand-text-mautil { color: var(--primary); font-weight: 800; }
.farmautil-nav { display: flex; gap: 8px; margin: 0 auto; }
.farmautil-nav-link { color: var(--gray-light); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; padding: 8px 16px; transition: all var(--transition-fast); border-radius: 6px; }
.farmautil-nav-link:hover { color: var(--primary); background: rgba(0,200,83,0.08); }
.nav-item.active .farmautil-nav-link { color: var(--primary); }
.farmautil-actions { gap: 4px; }
.farmautil-action-btn { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--gray-light); background: none; border: none; font-size: 16px; transition: all var(--transition-fast); position: relative; }
.farmautil-action-btn:hover { background: rgba(0,200,83,0.1); color: var(--primary); }
.farmautil-action-btn .cart-badge { font-size: 9px; padding: 3px 6px; background: var(--primary); color: var(--darker); font-weight: 700; }
.farmautil-search-expand { position: absolute; right: 180px; top: 50%; transform: translateY(-50%); width: 0; overflow: hidden; transition: width var(--transition-normal); opacity: 0; }
.farmautil-search-expand.open { width: 200px; opacity: 1; }
.farmautil-search-expand .form-control { background: var(--graphite); border: 1px solid var(--gray-dark); color: var(--white); font-size: 12px; border-radius: 20px; padding: 6px 16px; }
.farmautil-search-expand .form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0,200,83,0.15); }
.farmautil-toggler { border: 1px solid var(--gray-dark); padding: 6px 10px; }
.farmautil-toggler .navbar-toggler-icon { filter: invert(1); width: 1.2em; height: 1.2em; }
.farmautil-main-root > section, .farmautil-main-root > div { padding-top: var(--section-pad-desktop); padding-bottom: var(--section-pad-desktop); }
.farmautil-main-root > div:first-child { padding-top: 0; padding-bottom: 0; }
.farmautil-main-root > div:last-child { padding-bottom: 20px; }
@media (max-width: 991px) { .farmautil-main-root > section, .farmautil-main-root > div { padding-top: var(--section-pad-tablet); padding-bottom: var(--section-pad-tablet); } }
@media (max-width: 768px) { .farmautil-main-root > section, .farmautil-main-root > div { padding-top: var(--section-pad-mobile); padding-bottom: var(--section-pad-mobile); } }

body { background: var(--darker); color: var(--light); }

.discounts {
    display: inline-flex;
    align-items: center;
    gap: 15px;
}

.discount-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.discount-item .percent {
    font-size: 26px;
    font-weight: 800;
    line-height: 1;
}

.discount-item .label {
    font-size: 14px;
    font-weight: 600;
    vertical-align: super;
}

.discount-item .para {
    font-size: 10px;
    opacity: 0.9;
}

.discount-item .sobre {
    font-size: 10px;
    opacity: 0.8;
}

.discount-item .threshold {
    font-size: 14px;
    font-weight: 700;
}

.separator {
    opacity: 0.5;
    margin: 0 5px;
}

.promo-end {
    font-weight: 700;
    margin-left: 15px;
    animation: pulse 2s infinite;
}


.main-navbar {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 0;
    transition: all var(--transition-normal);
    position: sticky;
    top: 0;
    z-index: 1030;
    box-shadow: var(--shadow-sm);
}

.main-navbar.scrolled {
    box-shadow: var(--shadow-md);
    background: rgba(255,255,255,0.95);
}

.navbar-brand {
    font-size: 26px;
    font-weight: 900;
    color: var(--secondary);
    letter-spacing: -1px;
    padding: 15px 0;
    transition: transform var(--transition-fast);
}

.navbar-brand:hover {
    transform: scale(1.02);
}

.brand-star {
    color: var(--primary);
    font-size: 20px;
}

.brand-sub {
    display: block;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--gray);
    margin-top: -5px;
}

.nav-link {
    color: var(--secondary);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 25px 18px;
    position: relative;
    transition: all var(--transition-fast);
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: 18px;
    left: 18px;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width var(--transition-normal);
}

.nav-link:hover::after {
    width: calc(100% - 36px);
}

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

.nav-item.active .nav-link {
    color: var(--primary);
}

.nav-item.active .nav-link::after {
    width: calc(100% - 36px);
}

.dropdown-menu {
    border: none;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    padding: 10px 0;
    animation: fadeInDown 0.3s ease;
}

.dropdown-item {
    font-size: 12px;
    font-weight: 500;
    padding: 10px 20px;
    transition: all var(--transition-fast);
}

.dropdown-item:hover {
    background: var(--light);
    color: var(--primary);
    padding-left: 25px;
}

.currency-toggle {
    font-size: 11px;
    font-weight: 600;
    color: var(--gray-dark);
}

.login-link {
    font-size: 12px;
    font-weight: 600;
}

.cart-link {
    font-size: 16px;
    position: relative;
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -10px;
    font-size: 9px;
    padding: 3px 6px;
    border-radius: 10px;
    animation: countUp 0.3s ease;
}

.cart-badge.bounce {
    animation: bounce 0.5s ease;
}

.search-form {
    position: relative;
}

.search-form .form-control {
    border-radius: 20px;
    border: 1px solid var(--gray-light);
    padding: 6px 40px 6px 15px;
    font-size: 12px;
    width: 180px;
    transition: all var(--transition-normal);
}

.search-form .form-control:focus {
    width: 220px;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(229,57,53,0.1);
}

.search-form .btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: none;
    color: var(--gray);
}

.heroCarousel {
    height: 85vh;
    min-height: 500px;
    max-height: 800px;
    position: relative;
}

.hero-slide-img {
    object-fit: cover;
    height: 85vh;
    min-height: 500px;
    max-height: 800px;
    animation: heroZoom 8s ease infinite alternate;
}

.carousel-indicators button {
    width: 40px;
    height: 4px;
    border-radius: 2px;
    border: none;
    background: rgba(255,255,255,0.4);
    margin: 0 4px;
    transition: all var(--transition-normal);
}

.carousel-indicators button.active {
    background: white;
    width: 50px;
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(0,0,0,0.3);
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: all var(--transition-normal);
}

.heroCarousel:hover .carousel-control-prev,
.heroCarousel:hover .carousel-control-next {
    opacity: 1;
}

.carousel-control-prev {
    left: 20px;
}

.carousel-control-next {
    right: 20px;
}

.section-header {
    font-size: 28px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
    color: var(--secondary);
}

.section-header::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    border-radius: 2px;
}


.category-showcase {
    padding: 60px 0;
}

.category-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.category-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.category-img-wrap {
    height: 100%;
    overflow: hidden;
}

.category-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.category-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px;
    background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.7) 100%);
}

.category-title-line {
    color: white;
    font-size: 24px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.category-card:hover .category-title-line {
    opacity: 1;
    transform: translateY(0);
}

.category-title-line:nth-child(1) {
    transition-delay: 0.05s;
}

.category-title-line:nth-child(2) {
    transition-delay: 0.1s;
}

.category-title-line:nth-child(3) {
    transition-delay: 0.15s;
}

.category-title-line:nth-child(4) {
    transition-delay: 0.2s;
}

.category-btn {
    margin-top: 15px;
    background: var(--primary);
    color: white;
    border: none;
    padding: 10px 25px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease 0.25s;
}

.category-card:hover .category-btn {
    opacity: 1;
    transform: translateY(0);
}

.category-large .category-img-wrap {
    height: 400px;
}

.category-medium .category-img-wrap {
    height: 300px;
}

.product-carousel-section {
    padding: 60px 0;
    background: white;
}

.product-card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    background: white;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    height: 100%;
}

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

.product-img-wrap {
    position: relative;
    overflow: hidden;
    background: var(--light);
    padding: 30px;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-img {
    max-height: 220px;
    object-fit: contain;
    transition: transform 0.5s ease;
}

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

.product-discount-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 4px;
    letter-spacing: 1px;
    z-index: 2;
}

.card-body {
    padding: 20px;
}

.product-category {
    font-size: 10px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--secondary);
    margin: 8px 0;
    line-height: 1.4;
}

.product-stock {
    font-size: 11px;
    color: var(--gray);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.stock-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.stock-dot.in-stock {
    background: var(--success);
    box-shadow: 0 0 0 2px rgba(76,175,80,0.3);
}

.stock-dot.out-stock {
    background: var(--gray-light);
}

.product-prices {
    margin: 10px 0;
}

.price-discount {
    font-size: 18px;
    font-weight: 800;
    color: var(--primary);
}

.price-base {
    font-size: 13px;
    color: var(--gray);
    margin-left: 8px;
}

.price-base.text-decoration-line-through {
    text-decoration: line-through;
}

.product-rating {
    color: #ffc107;
    font-size: 12px;
    margin: 8px 0;
}

.product-desc {
    font-size: 12px;
    color: var(--gray);
    margin: 8px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.product-actions .btn {
    flex: 1;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-size: 12px;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.product-actions .btn-outline-secondary {
    border-color: var(--gray-light);
    color: var(--gray-dark);
}

.product-actions .btn-outline-secondary:hover {
    background: var(--secondary);
    color: white;
    border-color: var(--secondary);
}

.product-actions .btn-dark {
    background: var(--secondary);
}

.product-actions .btn-dark:hover {
    background: var(--primary);
}


.ripple-container {
    position: relative;
    overflow: hidden;
}

.ripple-effect {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

.promo-banners {
    padding: 40px 0;
}

.promo-banner-card {
    border-radius: 16px;
    overflow: hidden;
    height: 350px;
    position: relative;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.promo-banner-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-3px);
}

.promo-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.promo-banner-card:hover .promo-banner-img {
    transform: scale(1.05);
}

.promo-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
}

.promo-banner-title {
    color: white;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.9;
}

.promo-banner-line {
    color: white;
    font-size: 32px;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.2;
    margin: 5px 0;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
}

.promo-banner-btn {
    margin-top: 20px;
    background: white;
    color: var(--secondary);
    border: none;
    padding: 12px 30px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 6px;
    align-self: flex-start;
    transition: all var(--transition-fast);
}

.promo-banner-btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.blog-section {
    padding: 60px 0;
}

.blog-card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    background: white;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    height: 100%;
}

.blog-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.blog-img-wrap {
    overflow: hidden;
    height: 220px;
}

.blog-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.blog-title-link {
    text-decoration: none;
}

.blog-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--secondary);
    margin: 15px 0 10px;
    line-height: 1.5;
    transition: color var(--transition-fast);
}

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

.blog-excerpt {
    font-size: 13px;
    color: var(--gray);
    line-height: 1.6;
}

.blog-date {
    font-size: 11px;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}


.brand-logos-section {
    padding: 50px 0;
    background: white;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.brand-logo-col {
    padding: 20px;
    transition: all var(--transition-normal);
}

.brand-logo-img {
    max-height: 35px;
    filter: grayscale(100%) brightness(0.7);
    opacity: 0.6;
    transition: all var(--transition-normal);
}

.brand-logo-col:hover .brand-logo-img {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
    transform: scale(1.1);
}

.site-footer {
    background: linear-gradient(180deg, var(--dark) 0%, var(--darker) 100%);
    color: var(--gray);
    padding: 70px 0 30px;
    position: relative;
}

.site-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light), var(--primary));
}

.footer-title {
    color: white;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
}

.footer-link {
    color: var(--gray);
    font-size: 13px;
    padding: 6px 0;
    display: block;
    transition: all var(--transition-fast);
    position: relative;
    padding-left: 0;
}

.footer-link:hover {
    color: var(--primary);
    padding-left: 8px;
}

.footer-phone-block {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

.footer-phone-block i {
    color: var(--primary);
    font-size: 14px;
}

.footer-phone {
    color: white;
    font-size: 20px;
    font-weight: 800;
}

.footer-phone-label {
    font-size: 11px;
    color: var(--gray);
    margin-bottom: 20px;
    display: block;
}

.footer-feature {
    margin: 20px 0;
    padding-left: 0;
}

.footer-feature-title {
    color: white;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-feature-title i {
    color: var(--primary);
}

.footer-feature-desc {
    font-size: 12px;
    color: var(--gray);
    line-height: 1.6;
}

.footer-sub-desc {
    font-size: 13px;
    color: var(--gray);
    margin-bottom: 15px;
}

.footer-subscribe-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-subscribe-form .form-control {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    color: white;
    padding: 12px 15px;
    border-radius: 6px;
    font-size: 13px;
    transition: all var(--transition-fast);
}

.footer-subscribe-form .form-control:focus {
    background: rgba(255,255,255,0.12);
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(229,57,53,0.15);
}

.footer-subscribe-form .form-control::placeholder {
    color: var(--gray);
}

.footer-subscribe-form .btn {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    padding: 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all var(--transition-fast);
}

.footer-subscribe-form .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(229,57,53,0.3);
}

.footer-social {
    margin-top: 25px;
    display: flex;
    gap: 15px;
}

.social-link {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    transition: all var(--transition-fast);
    border: 1px solid rgba(255,255,255,0.1);
}

.social-link:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(229,57,53,0.3);
}

.copyright-bar {
    background: var(--darker);
    color: var(--gray);
    padding: 20px 0;
    font-size: 12px;
}

.copyright-brand {
    font-weight: 700;
    color: white;
}

.copyright-link {
    color: var(--gray);
    transition: color var(--transition-fast);
}

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

.copyright-sep {
    margin: 0 10px;
    opacity: 0.3;
}


.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(229,57,53,0.4);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-normal);
    text-decoration: none;
}

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

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(229,57,53,0.5);
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(8px);
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

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

.modal-overlay.active .modal-content-wrapper {
    animation: modalContentIn 0.4s ease;
}

.modal-content-wrapper {
    background: white;
    border-radius: 16px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    position: relative;
}

.modal-content-wrapper.modal-lg {
    max-width: 800px;
}

.modal-header {
    padding: 20px 25px;
    border-bottom: 1px solid var(--light);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-title {
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modal-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--light);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--gray-dark);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.modal-close:hover {
    background: var(--primary);
    color: white;
}

.modal-body {
    padding: 25px;
    overflow-y: auto;
    max-height: calc(90vh - 140px);
}

.modal-footer {
    padding: 15px 25px;
    border-top: 1px solid var(--light);
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.login-modal .modal-body {
    text-align: center;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.login-form .form-control {
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid var(--gray-light);
    font-size: 13px;
}

.login-form .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(229,57,53,0.1);
}

.login-form .btn {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.login-form .btn:hover {
    box-shadow: 0 4px 15px rgba(229,57,53,0.3);
}

.login-social {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.login-social .btn {
    flex: 1;
    font-size: 12px;
}

.login-links {
    margin-top: 15px;
    font-size: 12px;
    color: var(--gray);
}

.login-links a {
    color: var(--primary);
    font-weight: 600;
}


.product-modal .product-modal-img {
    max-height: 350px;
    object-fit: contain;
    background: var(--light);
    border-radius: 12px;
    padding: 20px;
}

.product-modal-info {
    padding: 20px 0;
}

.product-modal-name {
    font-size: 22px;
    font-weight: 800;
}

.product-modal-price {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
}

.product-modal-old-price {
    font-size: 16px;
    color: var(--gray);
    text-decoration: line-through;
    margin-left: 10px;
}

.product-modal-desc {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.8;
    margin: 15px 0;
}

.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1060;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast-item {
    background: white;
    border-radius: 10px;
    padding: 15px 20px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 280px;
    max-width: 350px;
    animation: toastSlideIn 0.4s ease;
    border-left: 4px solid var(--success);
}

.toast-item.toast-exit {
    animation: toastSlideOut 0.3s ease forwards;
}

.toast-item.toast-success {
    border-left-color: var(--success);
}

.toast-item.toast-error {
    border-left-color: var(--primary);
}

.toast-item.toast-info {
    border-left-color: #2196f3;
}

.toast-icon {
    font-size: 20px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.toast-success .toast-icon {
    background: rgba(76,175,80,0.1);
    color: var(--success);
}

.toast-error .toast-icon {
    background: rgba(229,57,53,0.1);
    color: var(--primary);
}

.toast-info .toast-icon {
    background: rgba(33,150,243,0.1);
    color: #2196f3;
}

.toast-message {
    font-size: 13px;
    font-weight: 600;
    color: var(--secondary);
}

.toast-close {
    margin-left: auto;
    background: none;
    border: none;
    color: var(--gray);
    cursor: pointer;
    font-size: 14px;
    padding: 0;
    width: 24px;
    height: 24px;
}

.skeleton {
    background: linear-gradient(90deg, #eee 25%, #f5f5f5 50%, #eee 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
}

.skeleton-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.skeleton-img {
    width: 100%;
    height: 280px;
}

.skeleton-text {
    height: 14px;
    margin: 10px 0;
    border-radius: 4px;
}

.skeleton-text.short {
    width: 40%;
}

.skeleton-text.medium {
    width: 60%;
}

.skeleton-title {
    height: 18px;
    width: 70%;
    margin: 15px 0;
}


.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

.reveal-delay-4 {
    transition-delay: 0.4s;
}

.reveal-delay-5 {
    transition-delay: 0.5s;
}

.custom-tooltip {
    position: absolute;
    background: var(--secondary);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
    z-index: 1070;
    opacity: 0;
    visibility: hidden;
    transform: translateY(5px);
    transition: all var(--transition-fast);
    pointer-events: none;
}

.custom-tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: var(--secondary);
}

.custom-tooltip.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.product-carousel .carousel-control-prev,
.product-carousel .carousel-control-next {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: white;
    color: var(--secondary);
    box-shadow: var(--shadow-md);
    top: -50px;
    opacity: 1;
    transform: none;
}

.product-carousel .carousel-control-prev {
    left: auto;
    right: 60px;
}

.product-carousel .carousel-control-next {
    right: 0;
}

.product-carousel .carousel-control-prev-icon,
.product-carousel .carousel-control-next-icon {
    filter: invert(1) grayscale(100%);
}

.product-carousel .carousel-control-prev:hover,
.product-carousel .carousel-control-next:hover {
    background: var(--primary);
}

.product-carousel-section {
    position: relative;
}

@media (max-width: 768px) {
    .heroCarousel {
        height: 50vh;
        min-height: 300px;
    }

    .heroCarousel .hero-slide-img {
        height: 50vh;
        min-height: 300px;
    }

    .category-large .category-img-wrap,
    .category-medium .category-img-wrap {
        height: 250px;
    }

    .promo-banner-line {
        font-size: 22px;
    }

    .promo-banner-card {
        height: 280px;
    }

    .section-header {
        font-size: 22px;
    }

    .product-carousel .carousel-control-prev,
    .product-carousel .carousel-control-next {
        display: none;
    }

    .navbar-brand {
        font-size: 20px;
    }

    .modal-content-wrapper {
        width: 95%;
    }

    .toast-container {
        left: 10px;
        right: 10px;
    }

    .toast-item {
        max-width: 100%;
    }

    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 20px;
        right: 20px;
    }
}


.cart-modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); backdrop-filter: blur(4px); z-index: 1050; display: none; align-items: center; justify-content: center; }
.cart-modal-overlay.active { display: flex; }
.cart-modal-content { background: white; border-radius: 16px; width: 90%; max-width: 600px; max-height: 85vh; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.cart-modal-header { padding: 20px 25px; border-bottom: 1px solid #eee; display: flex; justify-content: space-between; align-items: center; }
.cart-modal-header h4 { margin: 0; font-size: 18px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.cart-modal-body { padding: 20px 25px; overflow-y: auto; flex: 1; }
.cart-modal-footer { padding: 15px 25px; border-top: 1px solid #eee; display: flex; justify-content: space-between; }
.cart-empty { text-align: center; padding: 40px 20px; color: #888; }
.cart-empty-icon { font-size: 48px; margin-bottom: 15px; color: #ddd; }
.cart-item { display: flex; align-items: center; gap: 15px; padding: 15px 0; border-bottom: 1px solid #f0f0f0; }
.cart-item-img { width: 60px; height: 60px; object-fit: cover; border-radius: 8px; background: #f5f5f5; }
.cart-item-info { flex: 1; }
.cart-item-name { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.cart-item-price { font-size: 13px; color: var(--primary); font-weight: 700; }
.cart-item-qty { display: flex; align-items: center; gap: 8px; }
.cart-item-qty button { width: 28px; height: 28px; border-radius: 50%; border: 1px solid #ddd; background: white; display: flex; align-items: center; justify-content: center; font-size: 14px; cursor: pointer; transition: all 0.2s; }
.cart-item-qty button:hover { background: var(--primary); color: white; border-color: var(--primary); }
.cart-item-qty span { font-size: 14px; font-weight: 600; min-width: 24px; text-align: center; }
.cart-item-remove { background: none; border: none; color: #ccc; cursor: pointer; font-size: 16px; transition: color 0.2s; }
.cart-item-remove:hover { color: var(--primary); }
.cart-subtotal { display: flex; justify-content: space-between; padding: 15px 0; font-size: 16px; font-weight: 700; }
.cart-total { display: flex; justify-content: space-between; padding: 10px 0; font-size: 20px; font-weight: 800; color: var(--primary); border-top: 2px solid #eee; margin-top: 10px; }

.full-nav-modal .modal-content-wrapper { width: 95vw; height: 95vh; max-width: none; border-radius: 12px; display: flex; flex-direction: column; }
.full-nav-modal .modal-body { flex: 1; overflow-y: auto; padding: 40px; }
.full-nav-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.full-nav-section-title { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--primary); margin-bottom: 15px; padding-bottom: 10px; border-bottom: 2px solid var(--primary); }
.full-nav-link { display: block; padding: 8px 0; color: var(--secondary); font-size: 14px; transition: all 0.2s; text-decoration: none; }
.full-nav-link:hover { color: var(--primary); padding-left: 8px; }
.full-nav-category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-top: 20px; }
.full-nav-category-card { position: relative; border-radius: 8px; overflow: hidden; height: 120px; }
.full-nav-category-card img { width: 100%; height: 100%; object-fit: cover; }
.full-nav-category-card span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,0.5); color: white; font-weight: 700; text-transform: uppercase; font-size: 12px; letter-spacing: 1px; }

.news-section { padding: 60px 0; background: white; }
.news-card { border: none; border-radius: 12px; overflow: hidden; background: white; box-shadow: 0 2px 12px rgba(0,0,0,0.06); transition: all 0.3s ease; height: 100%; }
.news-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.12); transform: translateY(-4px); }
.news-card .card-img-top { height: 200px; object-fit: cover; }
.news-card .card-body { padding: 20px; }
.news-card .card-title { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.news-card .card-text { font-size: 13px; color: #888; line-height: 1.6; }
.news-meta { display: flex; gap: 10px; margin-top: 12px; font-size: 11px; }
.news-meta .badge { font-size: 10px; padding: 4px 10px; border-radius: 20px; }
.news-date { color: var(--primary); font-size: 12px; font-weight: 600; margin-top: 8px; }

.events-section { padding: 60px 0; background: var(--lighter); }
.event-card { display: flex; border-radius: 12px; overflow: hidden; background: white; box-shadow: 0 2px 12px rgba(0,0,0,0.06); transition: all 0.3s ease; height: 100%; }
.event-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.12); }
.event-card-img { width: 40%; min-height: 200px; }
.event-card-img img { width: 100%; height: 100%; object-fit: cover; }
.event-card-body { padding: 25px; flex: 1; display: flex; flex-direction: column; }
.event-card-date { font-size: 12px; color: var(--primary); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.event-card-title { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.event-card-location { font-size: 13px; color: #888; margin-bottom: 10px; }
.event-card-location i { margin-right: 5px; }
.event-card-desc { font-size: 13px; color: #666; line-height: 1.6; flex: 1; }
.event-card .btn { align-self: flex-start; margin-top: 15px; }

.faq-section { padding: 60px 0; background: white; }
.faq-section .accordion-item { border: none; border-bottom: 1px solid #eee; }
.faq-section .accordion-button { font-size: 15px; font-weight: 600; padding: 20px 0; background: none; box-shadow: none; color: var(--secondary); }
.faq-section .accordion-button:not(.collapsed) { color: var(--primary); background: none; }
.faq-section .accordion-button:focus { box-shadow: none; }
.faq-section .accordion-body { padding: 0 0 20px; font-size: 14px; color: #666; line-height: 1.7; }

.community-section { padding: 60px 0; background: var(--lighter); }
.community-card { background: white; border-radius: 12px; padding: 25px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); transition: all 0.3s ease; height: 100%; }
.community-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.12); transform: translateY(-3px); }
.community-card-title { font-size: 16px; font-weight: 700; margin-bottom: 10px; color: var(--secondary); }
.community-card-excerpt { font-size: 13px; color: #888; line-height: 1.6; margin-bottom: 15px; }
.community-card-meta { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: #aaa; }
.community-card-author { font-weight: 600; color: var(--primary); }
.community-card-stats { display: flex; gap: 15px; }
.community-card-stats span { display: flex; align-items: center; gap: 4px; }

.best-sellers-section, .new-arrivals-section { padding: 60px 0; }
.best-sellers-section { background: white; }
.new-arrivals-section { background: var(--lighter); }
.new-badge { position: absolute; top: 15px; right: 15px; background: linear-gradient(135deg, #4caf50, #388e3c); color: white; font-size: 10px; font-weight: 700; padding: 6px 12px; border-radius: 4px; letter-spacing: 1px; z-index: 2; text-transform: uppercase; }

.trust-section { padding: 40px 0; background: linear-gradient(135deg, var(--dark) 0%, #2a2a2a 100%); }
.trust-badge-card { text-align: center; padding: 25px 15px; }
.trust-badge-card i { font-size: 36px; color: var(--primary); margin-bottom: 15px; display: block; }
.trust-badge-card h5 { font-size: 14px; font-weight: 700; color: white; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.trust-badge-card p { font-size: 12px; color: #aaa; line-height: 1.6; margin: 0; }

.language-toggle { display: flex; align-items: center; gap: 5px; margin-right: 15px; }
.language-toggle button { background: none; border: 1px solid transparent; padding: 4px 10px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--gray-dark); cursor: pointer; border-radius: 4px; transition: all 0.2s; }
.language-toggle button:hover { border-color: var(--primary); color: var(--primary); }
.language-toggle button.active { background: var(--primary); color: white; border-color: var(--primary); }

.search-results-dropdown { position: absolute; top: 100%; left: 0; right: 0; background: white; border-radius: 8px; box-shadow: 0 8px 30px rgba(0,0,0,0.15); z-index: 1040; max-height: 400px; overflow-y: auto; margin-top: 5px; display: none; }
.search-results-dropdown.active { display: block; }
.search-result-item { display: flex; align-items: center; gap: 12px; padding: 12px 15px; border-bottom: 1px solid #f5f5f5; cursor: pointer; transition: background 0.2s; }
.search-result-item:hover { background: #f9f9f9; }
.search-result-item i { font-size: 18px; color: var(--primary); }
.search-result-item .result-title { font-size: 13px; font-weight: 600; }
.search-result-item .result-type { font-size: 10px; color: #aaa; text-transform: uppercase; letter-spacing: 1px; }

@media (max-width: 768px) {
    .event-card { flex-direction: column; }
    .event-card-img { width: 100%; height: 180px; }
    .full-nav-grid { grid-template-columns: repeat(2, 1fr); }
    .full-nav-category-grid { grid-template-columns: repeat(2, 1fr); }
    .cart-modal-content { width: 95%; max-height: 90vh; }
    .trust-badge-card { margin-bottom: 15px; }
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(8px);
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.modal-open {
    opacity: 1;
    visibility: visible;
}

.modal-overlay.modal-open .modal-wrapper {
    transform: scale(1) translateY(0);
}

.modal-wrapper {
    background: white;
    border-radius: 16px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    transform: scale(0.95) translateY(-20px);
    transition: transform 0.4s ease;
    display: flex;
    flex-direction: column;
}

.modal-wrapper.modal-lg {
    max-width: 800px;
}

.modal-wrapper.modal-sm {
    max-width: 400px;
}

.modal-wrapper.modal-full {
    max-width: 95vw;
    height: 95vh;
}

.modal-header {
    padding: 20px 25px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.modal-header h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modal-body {
    padding: 25px;
    overflow-y: auto;
    flex: 1;
}

.modal-footer {
    padding: 15px 25px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    flex-shrink: 0;
}

.modal-close-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f5f5f5;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #888;
    cursor: pointer;
    transition: all 0.2s;
}

.modal-close-btn:hover {
    background: var(--primary);
    color: white;
}

.modal-overlay.modal-closing {
    opacity: 0;
    visibility: hidden;
}

.modal-overlay.modal-closing .modal-wrapper {
    transform: scale(0.95) translateY(-20px);
}

.full-nav-wrapper {
    width: 95vw;
    height: 95vh;
    max-width: none;
    border-radius: 12px;
    background: white;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.non-modal-wrapper {
    width: 98vw;
    height: 98vh;
    border-radius: 8px;
    background: white;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 4px 30px rgba(0,0,0,0.15);
}

.full-nav-body {
    flex: 1;
    overflow-y: auto;
    padding: 40px;
}

.full-nav-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.full-nav-section-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
}

.full-nav-link {
    display: block;
    padding: 8px 0;
    color: var(--secondary);
    font-size: 14px;
    transition: all 0.2s;
    text-decoration: none;
}

.full-nav-link:hover {
    color: var(--primary);
    padding-left: 8px;
}

.full-nav-category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.full-nav-category-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 120px;
    cursor: pointer;
}

.full-nav-category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.full-nav-category-card:hover img {
    transform: scale(1.05);
}

.full-nav-category-card span {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.5);
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
}

.community-hub {
    padding: 60px 0;
    background: var(--lighter);
}

.community-hub-header {
    text-align: center;
    margin-bottom: 40px;
}

.community-hub-title {
    font-size: 28px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.community-tabs {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-bottom: 30px;
    border-bottom: 2px solid #eee;
    padding-bottom: 0;
}

.community-tab {
    padding: 12px 24px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    color: var(--gray);
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: -2px;
}

.community-tab:hover {
    color: var(--primary);
}

.community-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.community-tab-content {
    display: none;
}

.community-tab-content.active {
    display: block;
}

.community-post-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    margin-bottom: 20px;
    transition: all 0.3s;
}

.community-post-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    transform: translateY(-3px);
}

.community-post-title {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
}

.community-post-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.community-post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #aaa;
}

.community-post-author {
    font-weight: 600;
    color: var(--primary);
}

.community-post-stats {
    display: flex;
    gap: 15px;
}

.community-post-stats span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.community-form {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    max-width: 600px;
    margin: 0 auto;
}

.community-form .form-label {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--secondary);
}

.community-form .form-control {
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    font-size: 14px;
    margin-bottom: 15px;
}

.community-form .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(229,57,53,0.1);
}

.community-form textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.community-form .btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border: none;
    padding: 12px 30px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 8px;
}

.product-explorer {
    padding: 60px 0;
    background: white;
}

.product-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
    padding: 20px;
    background: var(--lighter);
    border-radius: 12px;
    margin-bottom: 30px;
}

.product-filter-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-filter-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray);
}

.product-filter-btn {
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
    border: 1px solid #e0e0e0;
    background: white;
    color: var(--secondary);
    cursor: pointer;
    transition: all 0.2s;
}

.product-filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.product-filter-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.legal-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.legal-type-badge.supplement {
    background: rgba(33,150,243,0.1);
    color: #2196f3;
}

.legal-type-badge.general {
    background: rgba(76,175,80,0.1);
    color: #4caf50;
}

.legal-type-badge.restricted {
    background: rgba(255,152,0,0.1);
    color: #ff9800;
}

.restricted-notice {
    background: linear-gradient(135deg, #fff8e1, #fff3cd);
    border: 1px solid #ffc107;
    border-radius: 12px;
    padding: 20px;
    margin: 15px 0;
}

.restricted-notice-icon {
    font-size: 24px;
    color: #ff9800;
    margin-bottom: 10px;
}

.restricted-notice-title {
    font-size: 14px;
    font-weight: 700;
    color: #856404;
    margin-bottom: 8px;
}

.restricted-notice-text {
    font-size: 13px;
    color: #856404;
    line-height: 1.6;
}

.search-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
    z-index: 1040;
    max-height: 450px;
    overflow-y: auto;
    margin-top: 8px;
    display: none;
    border: 1px solid #f0f0f0;
}

.search-dropdown.active {
    display: block;
    animation: fadeInDown 0.2s ease;
}

.search-dropdown-header {
    padding: 12px 20px;
    border-bottom: 1px solid #f5f5f5;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.search-dropdown-clear {
    font-size: 11px;
    color: var(--primary);
    cursor: pointer;
    background: none;
    border: none;
}

.search-type-header {
    padding: 8px 20px;
    background: #fafafa;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray);
    position: sticky;
    top: 0;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    border-bottom: 1px solid #f8f8f8;
    cursor: pointer;
    transition: background 0.15s;
}

.search-result-item:hover {
    background: #fafafa;
}

.search-result-item i {
    font-size: 16px;
    color: var(--primary);
    width: 24px;
    text-align: center;
}

.search-result-info {
    flex: 1;
}

.search-result-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--secondary);
}

.search-result-meta {
    font-size: 11px;
    color: #bbb;
}

.search-dropdown-empty {
    padding: 30px 20px;
    text-align: center;
    color: var(--gray);
    font-size: 13px;
}

.search-dropdown-empty i {
    font-size: 32px;
    display: block;
    margin-bottom: 10px;
    color: #ddd;
}

@media (max-width: 768px) {
    .modal-wrapper {
        width: 95%;
        border-radius: 12px;
    }

    .full-nav-wrapper {
        width: 98vw;
        height: 98vh;
    }

    .full-nav-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .full-nav-body {
        padding: 20px;
    }

    .community-tabs {
        flex-wrap: wrap;
    }

    .community-tab {
        padding: 10px 16px;
        font-size: 11px;
    }

    .product-filter-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .event-card {
        flex-direction: column;
    }

    .event-card-img {
        width: 100%;
        height: 180px;
    }
}
