/**
 * Farmacia Magistral Template - Main Stylesheet
 * Inspired by modern pharmacy e-commerce design
 * Compatible with Joomla 5.4+
 */

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: var(--fc-text, #212121);
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--fc-primary, #E91E63);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--fc-secondary, #1A237E);
}

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

ul, ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', 'Inter', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 0.75em;
}

/* ============================================
   CONTAINER
   ============================================ */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-fluid {
    width: 100%;
    padding: 0 20px;
}

/* ============================================
   TOP BAR
   ============================================ */
.fc-topbar {
    background: #F5F5F5;
    border-bottom: 1px solid var(--fc-border, #E0E0E0);
    font-size: 13px;
    padding: 8px 0;
}

.fc-topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.fc-topbar-left,
.fc-topbar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.fc-topbar-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--fc-text-light, #757575);
    font-weight: 400;
}

.fc-topbar-link:hover {
    color: var(--fc-primary, #E91E63);
}

.fc-topbar-link svg {
    flex-shrink: 0;
}

.fc-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--fc-text-light, #757575);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    transition: all 0.2s;
}

.fc-social-icon:hover {
    color: var(--fc-primary, #E91E63);
    background: rgba(233, 30, 99, 0.08);
}

/* ============================================
   HEADER
   ============================================ */
.fc-header {
    background: var(--fc-header-bg, #FFFFFF);
    padding: var(--fc-header-pad, 8px) 0;
    border-bottom: 1px solid transparent;
    transition: box-shadow 0.3s ease, padding 0.3s ease;
    z-index: 1000;
}

.fc-header.is-sticky {
    position: sticky;
    top: 0;
}

.fc-header.scrolled {
    box-shadow: 0 2px 16px rgba(0,0,0,0.1);
    padding: var(--fc-header-pad, 8px) 0;
}

.fc-header-inner {
    display: flex;
    align-items: var(--fc-header-align, center);
    gap: 24px;
}

/* Logo */
.fc-logo {
    flex-shrink: 0;
    line-height: 0;
    font-size: 0;
}
.fc-logo a {
    line-height: 0;
}

.fc-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.fc-logo-img {
    max-height: none;
    width: auto;
    height: auto;
    display: block;
    vertical-align: top;
}

.fc-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.fc-logo-main {
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--fc-primary, #E91E63);
    letter-spacing: -0.5px;
}

.fc-logo-accent {
    color: #9E9E9E;
    font-weight: 500;
}

.fc-logo-sub {
    font-size: 11px;
    font-weight: 500;
    color: var(--fc-text-light, #757575);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Search */
.fc-search {
    flex: 1;
    max-width: 520px;
    margin: 0 auto;
}

.fc-search-form {
    display: flex;
    align-items: center;
    background: #F5F5F5;
    border: 1px solid transparent;
    border-radius: 50px;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.fc-search-form:focus-within {
    border-color: var(--fc-primary, #E91E63);
    box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.12);
    background: #fff;
}

.fc-search-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 12px 20px;
    font-size: 14px;
    color: var(--fc-text);
    outline: none;
}

.fc-search-input::placeholder {
    color: #9E9E9E;
}

.fc-search-btn {
    background: transparent;
    border: none;
    padding: 10px 18px;
    cursor: pointer;
    color: var(--fc-text-light);
    display: flex;
    align-items: center;
    transition: color 0.2s;
}

.fc-search-btn:hover {
    color: var(--fc-primary);
}

/* Header Actions */
.fc-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.fc-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    color: var(--fc-text);
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--fc-radius);
    transition: all 0.2s;
    position: relative;
}

.fc-action-btn:hover {
    background: rgba(233, 30, 99, 0.06);
    color: var(--fc-primary);
}

.fc-action-btn svg {
    flex-shrink: 0;
}

.fc-cart-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    background: var(--fc-primary);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* ============================================
   NAVBAR
   ============================================ */
.fc-navbar {
    background: var(--fc-nav-bg, #1A1A2E);
    color: #fff;
    position: relative;
    z-index: 999;
}

.fc-navbar-inner {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 48px;
}

.fc-menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    padding: 12px 16px;
    cursor: pointer;
    border-radius: var(--fc-radius);
    transition: background 0.2s;
    white-space: nowrap;
}

.fc-menu-toggle:hover {
    background: rgba(255,255,255,0.1);
}

.fc-main-menu {
    flex: 1;
    display: flex;
    align-items: center;
    overflow-x: auto;
    scrollbar-width: none;
}

.fc-main-menu::-webkit-scrollbar {
    display: none;
}

/* Default menu styles (for Joomla menu modules) */
.fc-main-menu ul,
.fc-navbar ul.nav,
.fc-navbar .mod-menu {
    display: flex;
    align-items: center;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.fc-main-menu li,
.fc-navbar .mod-menu > li {
    position: relative;
}

.fc-main-menu a,
.fc-navbar .mod-menu > li > a {
    display: block;
    padding: 14px 16px;
    color: rgba(255,255,255,0.9);
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    transition: color 0.2s, background 0.2s;
}

.fc-main-menu a:hover,
.fc-navbar .mod-menu > li > a:hover,
.fc-navbar .mod-menu > li.active > a {
    color: #fff;
    background: rgba(255,255,255,0.08);
}

/* Dropdown */
.fc-main-menu .dropdown-menu,
.fc-navbar .mod-menu .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #fff;
    border-radius: var(--fc-radius);
    box-shadow: var(--fc-shadow-hover);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.2s ease;
    z-index: 100;
}

.fc-main-menu li:hover > .dropdown-menu,
.fc-navbar .mod-menu li:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.fc-main-menu .dropdown-menu a {
    color: var(--fc-text);
    padding: 10px 20px;
}

.fc-main-menu .dropdown-menu a:hover {
    background: rgba(233, 30, 99, 0.06);
    color: var(--fc-primary);
}

.fc-nav-extra {
    flex-shrink: 0;
    margin-left: auto;
}

.fc-nav-badge {
    display: inline-block;
    background: var(--fc-primary, #E91E63);
    color: #fff !important;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 50px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.fc-nav-badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(233, 30, 99, 0.4);
    color: #fff !important;
}

/* ============================================
   BANNER SECTION
   ============================================ */
.fc-banner-section {
    position: relative;
    overflow: hidden;
}

.fc-banner-section img {
    width: 100%;
    height: auto;
    display: block;
}

/* Placeholder banner for demo */
.fc-banner-placeholder {
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 50%, #0D47A1 100%);
    min-height: 360px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.fc-banner-placeholder::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 45%;
    background: linear-gradient(135deg, #7B1FA2 0%, #E91E63 100%);
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
}

/* ============================================
   SECTIONS
   ============================================ */
.fc-main {
    padding: 32px 0 60px;
    min-height: 50vh;
}

.fc-section {
    margin-bottom: 48px;
}

.fc-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    gap: 16px;
}

.fc-section-title {
    font-size: 26px;
    font-weight: 700;
    color: var(--fc-text);
    margin: 0;
}

.fc-section-title span {
    color: var(--fc-primary, #E91E63);
}

.fc-section-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--fc-primary);
    white-space: nowrap;
}

.fc-section-link:hover {
    text-decoration: underline;
}

/* ============================================
   PRODUCT CARDS (for e-commerce modules)
   ============================================ */
.fc-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.fc-product-card {
    background: #fff;
    border: 1px solid var(--fc-border);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.fc-product-card:hover {
    box-shadow: var(--fc-shadow-hover);
    transform: translateY(-4px);
    border-color: transparent;
}

.fc-product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.fc-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.fc-badge-discount {
    background: #7B1FA2;
    color: #fff;
}

.fc-badge-new {
    background: #E3F2FD;
    color: #1565C0;
}

.fc-badge-featured {
    background: #FFF3E0;
    color: #E65100;
}

.fc-product-image {
    aspect-ratio: 1;
    background: #FAFAFA;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    overflow: hidden;
}

.fc-product-image img {
    max-height: 160px;
    object-fit: contain;
    transition: transform 0.3s;
}

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

.fc-product-body {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.fc-product-brand {
    font-size: 12px;
    font-weight: 600;
    color: var(--fc-text-light);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 4px;
}

.fc-product-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--fc-text);
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fc-product-prices {
    margin-top: auto;
    margin-bottom: 12px;
}

.fc-price-old {
    font-size: 13px;
    color: #9E9E9E;
    text-decoration: line-through;
    margin-right: 6px;
}

.fc-price-current {
    font-size: 18px;
    font-weight: 700;
    color: var(--fc-text);
}

.fc-price-tax {
    font-size: 11px;
    color: var(--fc-text-light);
    margin-top: 2px;
}

.fc-btn-add {
    display: block;
    width: 100%;
    background: var(--fc-primary, #E91E63);
    color: #fff !important;
    border: none;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s;
}

.fc-btn-add:hover {
    background: #C2185B;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(233, 30, 99, 0.35);
}

/* ============================================
   CONTENT LAYOUT
   ============================================ */
.fc-content-wrapper {
    display: grid;
    gap: 32px;
}

.fc-content-wrapper.has-sidebar {
    grid-template-columns: 260px 1fr;
}

.fc-content-wrapper.has-sidebar:has(.fc-sidebar-right) {
    grid-template-columns: 1fr 260px;
}

.fc-content-wrapper.has-sidebar:has(.fc-sidebar-left):has(.fc-sidebar-right) {
    grid-template-columns: 240px 1fr 240px;
}

.fc-sidebar .card,
.fc-sidebar .moduletable {
    background: #fff;
    border: 1px solid var(--fc-border);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

/* ============================================
   FOOTER
   ============================================ */
.fc-footer {
    background: #1A1A2E;
    color: rgba(255,255,255,0.8);
    margin-top: auto;
}

.fc-footer a {
    color: rgba(255,255,255,0.7);
}

.fc-footer a:hover {
    color: #fff;
}

.fc-footer-main {
    padding: 48px 0 32px;
}

.fc-footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.fc-footer-title {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 20px;
}

.fc-footer-links li,
.fc-footer-contact li {
    margin-bottom: 10px;
}

.fc-footer-links a,
.fc-footer-contact a {
    font-size: 14px;
}

.fc-footer-address {
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}

.fc-footer-social {
    display: flex;
    gap: 12px;
}

.fc-footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    transition: all 0.2s;
}

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

.fc-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
}

.fc-footer-bottom-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-size: 13px;
}

.fc-footer-bottom p {
    margin: 0;
}

.fc-footer-legal {
    display: flex;
    gap: 20px;
}

/* ============================================
   FLOATING BUTTONS
   ============================================ */
.fc-whatsapp-float {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: 56px;
    height: 56px;
    background: #25D366;
    color: #fff !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: transform 0.2s, box-shadow 0.2s;
}

.fc-whatsapp-float:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
    color: #fff !important;
}

.fc-help-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: var(--fc-primary, #E91E63);
    color: #fff;
    border: none;
    padding: 14px 24px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(233, 30, 99, 0.35);
    z-index: 9999;
    transition: all 0.2s;
}

.fc-help-float:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(233, 30, 99, 0.45);
}

/* ============================================
   JOOMLA CORE OVERRIDES
   ============================================ */
.alert {
    border-radius: var(--fc-radius);
    padding: 16px 20px;
    margin-bottom: 20px;
}

/* Forms */
.form-control,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="number"],
select,
textarea {
    border: 1px solid var(--fc-border);
    border-radius: var(--fc-radius);
    padding: 10px 14px;
    font-size: 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus,
input:focus,
select:focus,
textarea:focus {
    border-color: var(--fc-primary);
    box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.12);
    outline: none;
}

.btn,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--fc-radius);
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary,
.button-primary {
    background: var(--fc-primary);
    color: #fff;
}

.btn-primary:hover {
    background: #C2185B;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .fc-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .fc-content-wrapper.has-sidebar {
        grid-template-columns: 1fr;
    }
    
    .fc-sidebar {
        order: 2;
    }
}

@media (max-width: 768px) {
    .fc-topbar {
        display: none;
    }
    
    .fc-header-inner {
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .fc-logo {
        order: 1;
    }
    
    .fc-header-actions {
        order: 2;
        margin-left: auto;
    }
    
    .fc-search {
        order: 3;
        max-width: 100%;
        flex-basis: 100%;
    }
    
    .fc-action-btn span {
        display: none;
    }
    
    .fc-navbar-inner {
        flex-wrap: wrap;
    }
    
    .fc-main-menu {
        display: none;
        width: 100%;
        flex-direction: column;
        background: var(--fc-nav-bg);
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: 8px 0;
        box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    }
    
    .fc-main-menu.is-open {
        display: flex;
    }
    
    .fc-main-menu ul,
    .fc-navbar .mod-menu {
        flex-direction: column;
        width: 100%;
    }
    
    .fc-main-menu a {
        padding: 12px 20px;
    }
    
    .fc-section-title {
        font-size: 22px;
    }
    
    .fc-product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .fc-footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    
    .fc-footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }
    
    .fc-help-float {
        bottom: 90px;
        right: 16px;
        padding: 12px 18px;
        font-size: 13px;
    }
    
    .fc-whatsapp-float {
        bottom: 16px;
        left: 16px;
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .fc-product-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .fc-product-body {
        padding: 12px;
    }
    
    .fc-price-current {
        font-size: 16px;
    }
    
    .fc-btn-add {
        padding: 10px;
        font-size: 13px;
    }
}

/* ============================================
   UTILITIES
   ============================================ */
.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.d-none { display: none; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }

/* ============================================
   DEMO HOMEPAGE CONTENT
   ============================================ */
.fc-main-demo {
    padding-top: 0;
}

/* Banner Slider Demo */
.fc-demo-banner {
    position: relative;
}

.fc-banner-slider {
    position: relative;
    overflow: hidden;
}

.fc-slide {
    min-height: 380px;
    display: flex;
    align-items: center;
    color: #fff;
    padding: 40px 0;
}

.fc-slide-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    width: 100%;
}

.fc-slide-text {
    flex: 1;
    max-width: 520px;
}

.fc-slide-badge {
    display: inline-block;
    background: #FFEB3B;
    color: #1A1A2E;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 4px;
    margin-bottom: 12px;
}

.fc-slide-text h2 {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 12px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.fc-slide-highlight {
    font-size: 18px;
    margin-bottom: 16px;
}

.fc-slide-highlight strong {
    background: #000;
    padding: 2px 10px;
    border-radius: 4px;
}

.fc-slide-brands {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.fc-slide-brands span {
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(4px);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.fc-slide-offer {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 12px;
}

.fc-off-big {
    font-size: 28px;
    font-weight: 800;
}

.fc-off-big strong {
    font-size: 48px;
    color: #FFEB3B;
}

.fc-btn-comprar {
    display: inline-block;
    background: #E91E63;
    color: #fff !important;
    font-size: 18px;
    font-weight: 800;
    padding: 14px 32px;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 16px rgba(233,30,99,0.4);
    transition: all 0.2s;
}

.fc-btn-comprar:hover {
    background: #C2185B;
    transform: scale(1.05);
    color: #fff !important;
}

.fc-slide-note {
    font-size: 11px;
    opacity: 0.8;
    margin: 0;
}

.fc-slide-products {
    display: flex;
    gap: 16px;
    flex-shrink: 0;
}

.fc-product-mock {
    text-align: center;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    border-radius: 16px;
    padding: 20px 16px;
    min-width: 110px;
}

.fc-mock-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 10px;
}

.fc-product-mock span {
    font-size: 13px;
    font-weight: 600;
}

.fc-slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 16px 0;
    background: #fff;
}

.fc-slider-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #E0E0E0;
    cursor: pointer;
    transition: background 0.2s;
}

.fc-slider-dots span.active {
    background: var(--fc-primary, #E91E63);
}

/* Promo strip */
.fc-demo-promos-strip {
    margin-bottom: 0;
    padding: 12px 0;
    background: #fff;
    border-bottom: 1px solid var(--fc-border);
}

.fc-promo-badges {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 4px;
}

.fc-promo-badges::-webkit-scrollbar { display: none; }

.fc-promo-chip {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
    font-size: 12px;
    font-weight: 700;
}

.fc-promo-chip .chip-label {
    background: #7B1FA2;
    color: #fff;
    padding: 6px 12px;
}

.fc-promo-chip .chip-off {
    background: #1A1A2E;
    color: #FFEB3B;
    padding: 6px 12px;
}

/* Categories grid */
.fc-categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.fc-category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 28px 16px;
    background: var(--cat-bg, #F5F5F5);
    border-radius: 16px;
    text-decoration: none;
    color: var(--fc-text);
    transition: all 0.25s ease;
    border: 2px solid transparent;
}

.fc-category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--fc-shadow-hover);
    border-color: var(--fc-primary);
    color: var(--fc-primary);
}

.fc-cat-icon {
    font-size: 40px;
    line-height: 1;
}

.fc-cat-name {
    font-size: 15px;
    font-weight: 600;
    text-align: center;
}

/* Brands grid */
.fc-brands-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.fc-brand-card {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px 16px;
    background: #fff;
    border: 1px solid var(--fc-border);
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    color: var(--fc-text);
    transition: all 0.25s;
    cursor: pointer;
}

.fc-brand-card:hover {
    border-color: var(--fc-primary);
    box-shadow: var(--fc-shadow);
    color: var(--fc-primary);
}

/* Dark promo banner */
.fc-dark-promo-banner {
    background: linear-gradient(135deg, #1A1A2E 0%, #2D1B4E 50%, #1A237E 100%);
    border-radius: 16px;
    padding: 40px;
    color: #fff;
    text-align: center;
}

.fc-dark-promo-content h3 {
    font-size: 28px;
    margin: 12px 0 8px;
    color: #fff;
}

.fc-dark-promo-content p {
    opacity: 0.85;
    margin-bottom: 20px;
}

/* Newsletter demo */
.fc-demo-newsletter {
    margin-bottom: 0;
}

.fc-newsletter-box {
    background: linear-gradient(135deg, var(--fc-primary, #E91E63) 0%, #C2185B 100%);
    border-radius: 16px;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    color: #fff;
}

.fc-newsletter-text h3 {
    font-size: 24px;
    margin: 0 0 8px;
    color: #fff;
}

.fc-newsletter-text p {
    margin: 0;
    opacity: 0.9;
}

.fc-newsletter-form {
    display: flex;
    gap: 0;
    flex-shrink: 0;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.fc-newsletter-form input {
    border: none;
    padding: 14px 24px;
    font-size: 15px;
    min-width: 260px;
    outline: none;
}

.fc-newsletter-form button {
    background: #1A1A2E;
    color: #fff;
    border: none;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}

.fc-newsletter-form button:hover {
    background: #000;
}

/* Responsive demo */
@media (max-width: 900px) {
    .fc-slide-content {
        flex-direction: column;
        text-align: center;
    }
    .fc-slide-text {
        max-width: 100%;
    }
    .fc-slide-text h2 {
        font-size: 32px;
    }
    .fc-slide-offer {
        justify-content: center;
        flex-wrap: wrap;
    }
    .fc-slide-brands {
        justify-content: center;
    }
    .fc-categories-grid,
    .fc-brands-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .fc-newsletter-box {
        flex-direction: column;
        text-align: center;
    }
    .fc-newsletter-form {
        width: 100%;
    }
    .fc-newsletter-form input {
        min-width: 0;
        flex: 1;
    }
}

@media (max-width: 600px) {
    .fc-slide {
        min-height: 320px;
        padding: 28px 0;
    }
    .fc-slide-text h2 {
        font-size: 26px;
    }
    .fc-off-big {
        font-size: 20px;
    }
    .fc-off-big strong {
        font-size: 36px;
    }
    .fc-slide-products {
        display: none;
    }
    .fc-categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .fc-category-card {
        padding: 20px 12px;
    }
    .fc-cat-icon {
        font-size: 32px;
    }
}


/* Categories dropdown in navbar */
.fc-cats-dropdown{position:relative;flex-shrink:0}
.fc-cats-panel{
  position:absolute;top:100%;left:0;z-index:1000;min-width:280px;max-width:360px;
  background:#fff;color:#212121;border-radius:0 0 12px 12px;
  box-shadow:0 12px 32px rgba(0,0,0,.18);padding:8px 0;margin-top:0
}
.fc-cats-panel[hidden]{display:none!important}
.fc-cats-dropdown.is-open .fc-cats-panel{display:block!important}
.fc-cats-panel-list{list-style:none;margin:0;padding:0}
.fc-cats-panel-list a{
  display:flex;align-items:center;gap:10px;padding:10px 16px;
  color:#212121!important;text-decoration:none;font-weight:600;font-size:14px
}
.fc-cats-panel-list a:hover{background:#f5f5f5;color:var(--fc-primary,#E91E63)!important}
.fc-cats-ico{font-size:18px;width:28px;text-align:center}
.fc-cats-panel-empty{margin:0;padding:14px 16px;color:#666;font-size:13px}
.fc-cats-inline{display:flex;list-style:none;margin:0;padding:0;gap:0;align-items:center;flex-wrap:nowrap}
.fc-cats-inline a{color:inherit;text-decoration:none;padding:8px 12px;font-size:13px;font-weight:600;white-space:nowrap;opacity:.9}
.fc-cats-inline a:hover{opacity:1;color:var(--fc-primary,#E91E63)}

/* Topbar announce full width */
.fc-topbar-inner{display:flex;align-items:center;justify-content:space-between;gap:12px}
.fc-topbar-left{flex:1 1 auto;min-width:0;overflow:hidden}
.fc-topbar-right{flex:0 0 auto}
