/* ============================================
   MOTOS - Estilos
   Version optimizada para Hostinger
   ============================================ */

/* --- Variables CSS --- */
:root {
    --color-bg: #0a0a0a;
    --color-card: #141414;
    --color-border: #262626;
    --color-text: #ffffff;
    --color-text-muted: #9ca3af;
    --color-accent: #ff4500;
    --color-accent-hover: #e03e00;
    --color-success: #22c55e;
    --color-warning: #f59e0b;
    --color-error: #ef4444;
    --font-oswald: 'Oswald', sans-serif;
    --font-roboto: 'Roboto', sans-serif;
}

[data-theme="light"] {
    --color-bg: #f3f4f6;
    --color-card: #ffffff;
    --color-border: #d1d5db;
    --color-text: #111827;
    --color-text-muted: #4b5563;
    --color-accent: #ff4500;
    --color-accent-hover: #e03e00;
}

/* --- Reset & Base --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-roboto);
    background-color: var(--color-bg);
    color: var(--color-text);
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
    text-decoration: none;
}

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--color-bg); }
::-webkit-scrollbar-thumb { background: var(--color-accent); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--color-accent-hover); }

/* --- Utilities --- */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .container { padding: 0 1.5rem; }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* --- Animaciones --- */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

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

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

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

@keyframes typing {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.6; }
    30% { transform: translateY(-4px); opacity: 1; }
}

.fade-in {
    animation: fadeIn 0.5s ease-out forwards;
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* --- Header / Navigation --- */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 50;
    background: rgba(17, 17, 17, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    transition: background 0.3s ease;
}

.header.scrolled {
    background: rgba(17, 17, 17, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    padding: 0 1rem;
    max-width: 1280px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .header-inner { height: 72px; padding: 0 1.5rem; }
}

.logo {
    font-family: var(--font-oswald);
    font-size: 1.5rem;
    font-weight: 700;
    font-style: italic;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    transition: color 0.3s ease;
}

.logo:hover {
    color: var(--color-accent);
}

@media (min-width: 768px) {
    .logo { font-size: 1.875rem; }
}

/* Desktop Nav */
.desktop-nav {
    display: none;
}

@media (min-width: 768px) {
    .desktop-nav {
        display: flex;
        justify-content: center;
        gap: 2rem;
        padding: 0.75rem 0;
        background: #111;
    }
}

.nav-link {
    color: #fff;
    font-size: 0.813rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: width 0.3s ease;
}

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

.nav-link:hover::after {
    width: 100%;
}

/* Dropdown */
.nav-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #111;
    min-width: 200px;
    z-index: 50;
    border-top: 2px solid var(--color-accent);
    padding: 0.5rem 0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.group:hover .nav-dropdown {
    display: block;
    animation: fadeIn 0.2s ease-out;
}

.nav-dropdown a {
    display: block;
    padding: 0.5rem 1.5rem;
    color: #d1d5db;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.nav-dropdown a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .header-actions { gap: 1.5rem; }
}

.header-action-btn {
    color: #fff;
    font-size: 1.25rem;
    cursor: pointer;
    transition: color 0.3s ease;
    background: none;
    border: none;
    position: relative;
}

.header-action-btn:hover {
    color: var(--color-accent);
}

.cart-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--color-accent);
    color: #fff;
    font-size: 0.625rem;
    font-weight: 700;
    padding: 0.125rem 0.375rem;
    border-radius: 9999px;
    min-width: 18px;
    text-align: center;
    line-height: 1.2;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.25rem;
    transition: color 0.3s ease;
}

.mobile-menu-btn:hover {
    color: var(--color-accent);
}

@media (min-width: 768px) {
    .mobile-menu-btn { display: none; }
}

#mobile-menu {
    display: none;
    background: #111;
    border-bottom: 1px solid var(--color-accent);
    position: absolute;
    width: 100%;
    left: 0;
    top: 100%;
    flex-direction: column;
    font-family: var(--font-oswald);
    font-size: 1.125rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    max-height: 80vh;
    overflow-y: auto;
}

#mobile-menu.open {
    display: flex;
    animation: fadeIn 0.3s ease-out;
}

#mobile-menu a {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #1f2937;
    color: #fff;
    transition: all 0.3s ease;
}

#mobile-menu a:hover {
    color: var(--color-accent);
    background: rgba(255, 255, 255, 0.05);
}

/* --- Hero Section --- */
.hero-swiper {
    width: 100%;
    height: 75vh;
    min-height: 400px;
}

@media (min-width: 768px) {
    .hero-swiper { min-height: 500px; }
}

.swiper-slide {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
}

.swiper-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(15, 15, 15, 0.9) 0%, rgba(15, 15, 15, 0.4) 100%);
}

.hero-search-box {
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: 0.75rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    padding: 1.5rem;
}

@media (min-width: 768px) {
    .hero-search-box {
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translate(-50%, 50%);
        width: 100%;
        max-width: 896px;
    }
}

/* --- Product Cards --- */
.product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 640px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .product-grid { grid-template-columns: repeat(4, 1fr); }
}

.product-card {
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: 0.75rem;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(255, 69, 0, 0.2);
}

.product-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

@media (min-width: 640px) {
    .product-card-image { height: 224px; }
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

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

.product-card-body {
    padding: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-card-category {
    color: var(--color-text-muted);
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.product-card-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.5rem;
    flex: 1;
    transition: color 0.3s ease;
}

.product-card:hover .product-card-title {
    color: var(--color-accent);
}

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

/* --- Product List (Catalog View) --- */
.product-list-item {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: 1rem;
    padding: 1rem;
    transition: all 0.3s ease;
    position: relative;
}

@media (min-width: 640px) {
    .product-list-item {
        flex-direction: row;
        align-items: center;
    }
}

.product-list-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 69, 0, 0.12);
    border-color: var(--color-accent);
}

.product-list-image {
    width: 100%;
    height: 180px;
    background: #fff;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

@media (min-width: 640px) {
    .product-list-image {
        width: 160px;
        height: 160px;
    }
}

@media (min-width: 768px) {
    .product-list-image {
        width: 192px;
        height: 192px;
    }
}

.product-list-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.product-list-item:hover .product-list-image img {
    transform: scale(1.05);
}

.product-list-content {
    flex: 1;
    text-align: center;
}

@media (min-width: 640px) {
    .product-list-content { text-align: left; }
}

/* --- Stats Section --- */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
}

@media (min-width: 768px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .stats-grid { grid-template-columns: repeat(4, 1fr); }
}

.stat-item {
    text-align: center;
    padding: 1.5rem 1rem;
    position: relative;
}

@media (min-width: 1024px) {
    .stat-item:not(:last-child)::after {
        content: '';
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 1px;
        height: 4rem;
        background: var(--color-border);
    }
}

.stat-number {
    font-family: var(--font-oswald);
    font-size: 3rem;
    font-weight: 900;
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
    .stat-number { font-size: 3.75rem; }
}

.stat-label {
    color: #9ca3af;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* --- CTA Section --- */
.cta-section {
    position: relative;
    background: linear-gradient(to bottom, #0f0f0f, #1a1a1a);
    padding: 5rem 0;
    text-align: center;
}

@media (min-width: 768px) {
    .cta-section { padding: 8rem 0; }
}

.cta-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150%;
    height: 300px;
    background: rgba(255, 69, 0, 0.05);
    filter: blur(80px);
    border-radius: 50%;
    pointer-events: none;
}

@media (min-width: 768px) {
    .cta-glow {
        width: 800px;
        height: 400px;
        filter: blur(120px);
    }
}

/* --- Forms --- */
.form-input {
    width: 100%;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    color: var(--color-text);
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    outline: none;
    font-family: var(--font-roboto);
    font-size: 0.875rem;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 2px rgba(255, 69, 0, 0.15);
}

.form-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
    margin-bottom: 0.25rem;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-roboto);
    border-radius: 0.375rem;
}

.btn-primary {
    background: var(--color-accent);
    color: #fff;
    padding: 0.75rem 2rem;
}

.btn-primary:hover {
    background: var(--color-accent-hover);
    box-shadow: 0 5px 20px rgba(255, 69, 0, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--color-accent);
    border: 2px solid var(--color-accent);
    padding: 0.75rem 2rem;
}

.btn-outline:hover {
    background: rgba(255, 69, 0, 0.1);
}

.btn-success {
    background: var(--color-success);
    color: #fff;
    padding: 0.75rem 2rem;
}

.btn-success:hover {
    background: #16a34a;
}

/* --- Custom Alert --- */
#custom-alert {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    transform: translateX(150%);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    max-width: 90vw;
    background: var(--color-card);
    border-left: 4px solid var(--color-accent);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    padding: 1rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

#custom-alert.show {
    transform: translateX(0);
}

/* --- Filter Sidebar --- */
.filter-sidebar {
    background: var(--color-card);
    border: 1px solid var(--color-border);
    padding: 1.25rem;
    border-radius: 0.5rem;
}

@media (min-width: 1024px) {
    .filter-sidebar {
        position: sticky;
        top: 6rem;
    }
}

.filter-section {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--color-border);
}

.filter-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.filter-title {
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.875rem;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    color: var(--color-text-muted);
    transition: color 0.3s ease;
    padding: 0.25rem 0;
}

.filter-option:hover {
    color: var(--color-text);
}

.filter-option input[type="radio"],
.filter-option input[type="checkbox"] {
    accent-color: var(--color-accent);
    width: 1rem;
    height: 1rem;
}

/* --- Payment --- */
#card-element {
    padding: 14px 16px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.StripeElement--focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 1px var(--color-accent);
}

.payment-method {
    padding: 0.75rem;
    border: 2px solid var(--color-border);
    border-radius: 0.5rem;
    background: var(--color-bg);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    font-weight: 600;
    font-size: 0.875rem;
}

.payment-method:hover,
.payment-method.active {
    border-color: var(--color-accent);
    background: rgba(255, 69, 0, 0.1);
}

/* --- Contact Cards --- */
.contact-card {
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

@media (min-width: 768px) {
    .contact-card { padding: 2rem; }
}

.contact-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-4px);
}

.contact-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-accent), #ff6b2e);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

/* --- Chatbot --- */
.chat-window {
    display: none;
    width: calc(100vw - 2rem);
    max-width: 384px;
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: 0.75rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    flex-direction: column;
    margin-bottom: 1rem;
    max-height: 70vh;
}

.chat-window.open {
    display: flex;
    animation: fadeInUp 0.3s ease-out;
}

.chat-header {
    background: linear-gradient(to right, var(--color-accent), #ff6b2e);
    padding: 0.75rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    flex-shrink: 0;
}

.chat-messages {
    flex: 1;
    padding: 0.75rem 1rem;
    overflow-y: auto;
    background: var(--color-bg);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 250px;
    scroll-behavior: smooth;
}

.chat-input-area {
    background: var(--color-card);
    border-top: 1px solid var(--color-border);
    flex-shrink: 0;
}

.chat-quick-btns {
    display: flex;
    gap: 0.5rem;
    padding: 0.5rem;
    overflow-x: auto;
}

.chat-quick-btns::-webkit-scrollbar { display: none; }

.chat-quick-btn {
    white-space: nowrap;
    padding: 0.25rem 0.75rem;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    color: var(--color-accent);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.chat-quick-btn:hover {
    background: var(--color-accent);
    color: #fff;
}

.chat-input-wrapper {
    display: flex;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
}

.chat-input {
    flex: 1;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 0.5rem;
    padding: 0.5rem 0.75rem;
    outline: none;
    color: var(--color-text);
    font-size: 0.875rem;
    transition: border-color 0.3s ease;
}

.chat-input:focus {
    border-color: var(--color-accent);
}

.chat-send-btn {
    background: var(--color-accent);
    color: #fff;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

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

.chat-fab {
    width: 56px;
    height: 56px;
    background: linear-gradient(to top right, var(--color-accent), #ff6b2e);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 10px 25px rgba(255, 69, 0, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.chat-fab:hover {
    transform: scale(1.1);
}

@media (min-width: 640px) {
    .chat-fab {
        width: 64px;
        height: 64px;
        font-size: 1.875rem;
    }
}

/* --- Stores / Map --- */
.store-item {
    background: var(--color-card);
    padding: 1.5rem;
    border-bottom: 1px solid var(--color-border);
    transition: background 0.3s ease;
    cursor: pointer;
}

.store-item:hover {
    background: var(--color-bg);
}

.store-item.active {
    border-left: 3px solid var(--color-accent);
}

/* --- Footer --- */
.footer {
    background: #000;
    color: #fff;
    padding: 3rem 0;
    border-top: 1px solid #1f2937;
}

@media (min-width: 768px) {
    .footer { padding: 5rem 0; }
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

@media (min-width: 640px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
    .footer-grid { grid-template-columns: repeat(4, 1fr); gap: 3rem; }
}

.footer-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-link {
    color: #9ca3af;
    font-size: 0.875rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #f97316;
}

.footer-contact {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    color: #9ca3af;
    font-size: 0.875rem;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid #1f2937;
    padding-top: 2rem;
    text-align: center;
    color: #6b7280;
    font-size: 0.875rem;
}

/* --- Skeleton Loader --- */
.skeleton {
    background: linear-gradient(90deg, var(--color-border) 25%, var(--color-card) 50%, var(--color-border) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 0.375rem;
}

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

/* --- Responsive helpers --- */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    -webkit-line-clamp: 2;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    -webkit-line-clamp: 3;
}

.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* --- Stores Toggle --- */
.toggle-checkbox:checked {
    right: 0;
    border-color: #68D391;
}

.toggle-checkbox:checked + .toggle-label {
    background-color: #68D391;
}

.toggle-checkbox:checked + .toggle-label:after {
    transform: translateX(100%);
}

.toggle-label {
    width: 40px;
    height: 20px;
    background-color: #ccc;
    border-radius: 9999px;
    position: relative;
    cursor: pointer;
    transition: background-color .3s;
}

.toggle-label:after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    background-color: white;
    border-radius: 50%;
    transition: transform .3s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Product view - sizes */
.size-btn {
    border: 1px solid var(--color-border);
    background: var(--color-card);
    color: var(--color-text);
    padding: 0.5rem;
    border-radius: 0.375rem;
    font-weight: 700;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.size-btn:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.size-btn.selected {
    background: var(--color-accent);
    color: #fff;
    border-color: var(--color-accent);
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--color-text-muted);
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--color-accent);
}

.breadcrumb span:last-child {
    color: var(--color-text);
}

/* No products found */
.empty-state {
    text-align: center;
    padding: 2.5rem;
    color: var(--color-text-muted);
    border: 1px solid var(--color-border);
    background: var(--color-card);
    border-radius: 0.5rem;
}

.empty-state i {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    opacity: 0.5;
}

/* Price filter */
.price-input {
    width: 100%;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    color: var(--color-text);
    border-radius: 0.375rem;
    padding: 0.5rem;
    text-align: center;
    font-size: 0.875rem;
    outline: none;
}

.price-input:focus {
    border-color: var(--color-accent);
}
