/**
 * ABCTIC PrestaShop Theme Reference - CSS Styles
 * Compatible with PrestaShop 1.7.6.2
 *
 * Este archivo contiene todos los estilos del tema para usar como referencia.
 * Deberás adaptar las clases según la estructura de PrestaShop.
 */
@media (min-width: 640px) {
    .sm\:hidden {
        display: none;
    }
}
/* ============================================
   1. CSS VARIABLES / DESIGN TOKENS
   ============================================ */
:root {
    /* Colors */
    --color-background: #ffffff;
    --color-foreground: #1e293b;
    --color-card: #ffffff;
    --color-card-foreground: #1e293b;
    --color-primary: #0284c7;
    --color-primary-foreground: #ffffff;
    --color-secondary: #06b6d4;
    --color-secondary-foreground: #ffffff;
    --color-muted: #dbeafe;
    --color-muted-foreground: #4b5563;
    --color-accent: #0891b2;
    --color-accent-foreground: #ffffff;
    --color-destructive: #ef4444;
    --color-border: #93c5fd;
    --color-input: #bfdbfe;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #0284c7 0%, #0891b2 100%);
    --gradient-hero: linear-gradient(180deg, #dbeafe 0%, #cffafe 100%);

    /* Shadows */
    --shadow-card: 0 2px 8px -2px rgba(30, 41, 59, 0.08);
    --shadow-card-hover: 0 8px 24px -4px rgba(2, 132, 199, 0.15);
    --shadow-elevated: 0 12px 32px -8px rgba(2, 132, 199, 0.2);

    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* Border Radius */
    --radius: 0.75rem;
    --radius-md: 0.5rem;
    --radius-sm: 0.25rem;
}

#footer {
    float: left;
    width: 100%;
    clear: both;
    position: relative;
    color: #000000 !important;
    background: #ffffff !important;
    margin-top: 20px;
}
/* ============================================
   2. RESET & BASE STYLES
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Outfit', 'Segoe UI', system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: var(--color-foreground);
    background-color: var(--color-background);
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   3. TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

.text-primary { color: var(--color-primary); }
.text-muted { color: var(--color-muted-foreground); }
.text-accent { color: var(--color-accent); }

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   4. LAYOUT UTILITIES
   ============================================ */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .container { padding: 0 2rem; }
}

.grid {
    display: grid;
    gap: 1rem;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
.grid-8 { grid-template-columns: repeat(8, 1fr); }

@media (max-width: 1024px) {
    .grid-5 { grid-template-columns: repeat(3, 1fr); }
    .grid-8 { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 768px) {
    .grid-3, .grid-4, .grid-5 { grid-template-columns: repeat(2, 1fr); }
    .grid-8 { grid-template-columns: repeat(4, 1fr); }
}

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

/* ============================================
   5. HEADER STYLES
   ============================================ */
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    width: 100%;
    border-bottom: 1px solid var(--color-border);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.header-main {
    display: flex;
    height: 4rem;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.header-logo img {
    height: 2.5rem;
    width: auto;
}

.header-search {
    flex: 1;
    max-width: 28rem;
}

.header-search-input {
    width: 100%;
    height: 2.75rem;
    padding: 0 1rem 0 2.75rem;
    border: 2px solid var(--color-primary);
    border-radius: var(--radius);
    background-color: var(--color-card);
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.header-search-input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.2);
}

.header-search-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Header Navigation */
.header-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 0.75rem 0;
    border-top: 1px solid rgba(147, 197, 253, 0.5);
}

.header-nav a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-muted-foreground);
    transition: var(--transition-smooth);
}

.header-nav a:hover,
.header-nav a.active {
    color: var(--color-foreground);
}

/* ============================================
   6. BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--color-primary-foreground);
}

.btn-primary:hover {
    opacity: 0.9;
}

.btn-secondary {
    background-color: var(--color-secondary);
    color: var(--color-secondary-foreground);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-foreground);
}

.btn-outline:hover {
    background-color: var(--color-muted);
}

.btn-ghost {
    background-color: transparent;
    color: var(--color-foreground);
}

.btn-ghost:hover {
    background-color: var(--color-muted);
}

.btn-sm {
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
}

.btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
}

.btn-icon {
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
}

/* ============================================
   7. CARDS
   ============================================ */
.card {
    background-color: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
}

.card:hover {
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-2px);
}

.card-header {
    padding: 1.5rem 1.5rem 0;
}

.card-content {
    padding: 1.5rem;
}

.card-footer {
    padding: 0 1.5rem 1.5rem;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
}

.card-description {
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
}

/* ============================================
   8. BADGES
   ============================================ */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.625rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 9999px;
    background-color: var(--color-primary);
    color: var(--color-primary-foreground);
}

.badge-secondary {
    background-color: var(--color-secondary);
    color: var(--color-secondary-foreground);
}

.badge-accent {
    background-color: var(--color-accent);
    color: var(--color-accent-foreground);
}

.badge-destructive {
    background-color: var(--color-destructive);
    color: white;
}

.badge-outline {
    background-color: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-foreground);
}

/* ============================================
   9. BANNER SLIDER
   ============================================ */
.banner-section {
    padding: 0.5rem 0 1rem;
    background-color: var(--color-background);
}

.banner-slide {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    min-height: 200px;
}

@media (min-width: 768px) {
    .banner-slide { min-height: 250px; }
}

.banner-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.banner-overlay {
    position: absolute;
    inset: 0;
}

.banner-overlay.purple {
    background: linear-gradient(to right, rgba(147, 51, 234, 0.9), rgba(219, 39, 119, 0.9), rgba(220, 38, 38, 0.9));
}

.banner-overlay.red {
    background: linear-gradient(to right, rgba(220, 38, 38, 0.9), rgba(234, 88, 12, 0.9), rgba(234, 179, 8, 0.9));
}

.banner-overlay.blue {
    background: linear-gradient(to right, rgba(37, 99, 235, 0.9), rgba(6, 182, 212, 0.9), rgba(20, 184, 166, 0.9));
}

.banner-content {
    position: relative;
    z-index: 10;
    max-width: 42rem;
    padding: 2rem;
}

@media (min-width: 768px) {
    .banner-content { padding: 3rem; }
}

.banner-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.banner-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
    .banner-title { font-size: 3rem; }
}

.banner-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .banner-description { font-size: 1rem; }
}

/* Banner Dots */
.banner-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.banner-dot {
    height: 0.5rem;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.banner-dot.inactive {
    width: 0.5rem;
    background-color: rgba(107, 114, 128, 0.3);
}

.banner-dot.active {
    width: 2rem;
    background-color: var(--color-primary);
}

/* ============================================
   10. CATEGORIES GRID
   ============================================ */
.categories-section {
    padding: 1rem 0;
    background-color: var(--color-background);
    border-bottom: 1px solid var(--color-border);
}

.category-card {
    position: relative;
    background-color: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 0.625rem;
    cursor: pointer;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.category-card:hover {
    border-color: rgba(2, 132, 199, 0.5);
    box-shadow: var(--shadow-card-hover);
}

.category-card:hover .category-bg {
    opacity: 1;
}

.category-bg {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-bg.blue { background: linear-gradient(to bottom right, rgba(59, 130, 246, 0.2), rgba(6, 182, 212, 0.2)); }
.category-bg.purple { background: linear-gradient(to bottom right, rgba(168, 85, 247, 0.2), rgba(236, 72, 153, 0.2)); }
.category-bg.green { background: linear-gradient(to bottom right, rgba(34, 197, 94, 0.2), rgba(16, 185, 129, 0.2)); }
.category-bg.orange { background: linear-gradient(to bottom right, rgba(249, 115, 22, 0.2), rgba(234, 179, 8, 0.2)); }
.category-bg.indigo { background: linear-gradient(to bottom right, rgba(99, 102, 241, 0.2), rgba(59, 130, 246, 0.2)); }
.category-bg.red { background: linear-gradient(to bottom right, rgba(239, 68, 68, 0.2), rgba(244, 63, 94, 0.2)); }
.category-bg.teal { background: linear-gradient(to bottom right, rgba(20, 184, 166, 0.2), rgba(6, 182, 212, 0.2)); }
.category-bg.violet { background: linear-gradient(to bottom right, rgba(139, 92, 246, 0.2), rgba(168, 85, 247, 0.2)); }

.category-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

.category-icon {
    width: 2rem;
    height: 2rem;
    margin: 0 auto 0.375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(2, 132, 199, 0.1);
    border-radius: var(--radius);
    transition: transform 0.3s ease;
}

.category-card:hover .category-icon {
    transform: scale(1.1);
}

.category-icon svg {
    width: 1rem;
    height: 1rem;
    color: var(--color-primary);
}

.category-name {
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.2;
    transition: color 0.3s ease;
}

.category-card:hover .category-name {
    color: var(--color-primary);
}

.category-count {
    font-size: 0.75rem;
    color: var(--color-muted-foreground);
    display: none;
}

@media (min-width: 640px) {
    .category-count { display: block; }
}

/* ============================================
   11. FLASH DEALS SECTION
   ============================================ */
.flash-deals-section {
    padding: 1.5rem 0;
    background: linear-gradient(to bottom right, rgba(2, 132, 199, 0.05), rgba(8, 145, 178, 0.05), var(--color-background));
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.flash-deals-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.flash-deals-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.flash-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
}

.flash-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    color: white;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Countdown Timer */
.countdown {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 0.5rem 1rem;
    box-shadow: var(--shadow-card);
}

.countdown-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--color-primary);
}

.countdown-time {
    display: flex;
    gap: 0.25rem;
    font-family: monospace;
    font-weight: 700;
    font-size: 1.125rem;
}

.countdown-unit {
    background-color: rgba(2, 132, 199, 0.1);
    color: var(--color-primary);
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
}

.countdown-separator {
    color: var(--color-muted-foreground);
}

/* Deal Card */
.deal-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(2, 132, 199, 0.2);
    background-color: var(--color-card);
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
}

.deal-card:hover {
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(2, 132, 199, 0.4);
}

.deal-badge-discount {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    z-index: 10;
    background: var(--gradient-primary);
    color: white;
    font-size: 0.875rem;
    font-weight: 700;
    padding: 0.125rem 0.5rem;
    border-radius: 9999px;
    box-shadow: var(--shadow-elevated);
}

.deal-badge-stock {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    z-index: 10;
    background-color: var(--color-destructive);
    color: white;
    font-size: 0.75rem;
    padding: 0.125rem 0.375rem;
    border-radius: 9999px;
}

.deal-image {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background-color: var(--color-muted);
}

.deal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.deal-card:hover .deal-image img {
    transform: scale(1.1);
}

.deal-content {
    padding: 0.75rem;
}

.deal-category {
    font-size: 0.75rem;
    color: var(--color-muted-foreground);
}

.deal-name {
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.25;
    margin: 0.25rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.deal-card:hover .deal-name {
    color: var(--color-primary);
}

.deal-pricing {
    margin-top: 0.5rem;
}

.deal-price-current {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-primary);
}

.deal-price-original {
    font-size: 0.75rem;
    color: var(--color-muted-foreground);
    text-decoration: line-through;
    margin-left: 0.5rem;
}

.deal-savings {
    font-size: 0.75rem;
    font-weight: 500;
    color: #22c55e;
}

/* ============================================
   12. NEW ARRIVALS SECTION
   ============================================ */
.new-arrivals-section {
    position: relative;
    padding: 4rem 0;
    border-bottom: 1px solid var(--color-border);
}

.new-arrivals-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, rgba(8, 145, 178, 0.1), var(--color-background), rgba(2, 132, 199, 0.1));
}

.new-arrivals-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.new-arrivals-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.new-arrivals-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--radius);
    background-color: rgba(8, 145, 178, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.new-arrivals-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--color-accent);
}

/* Arrival Card */
.arrival-card {
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.arrival-card:hover {
    box-shadow: var(--shadow-card-hover);
}

.arrival-badges {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 20;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.arrival-badge-new {
    background-color: rgba(8, 145, 178, 0.9);
    backdrop-filter: blur(4px);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.arrival-badge-trending {
    background-color: rgba(2, 132, 199, 0.9);
    backdrop-filter: blur(4px);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.arrival-days {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 20;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    font-size: 0.75rem;
    font-weight: 600;
}

.arrival-image {
    position: relative;
    overflow: hidden;
    background-color: var(--color-muted);
    aspect-ratio: 1 / 1;
}

.arrival-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.arrival-card:hover .arrival-image img {
    transform: scale(1.1);
}

.arrival-content {
    padding: 1rem;
}

.arrival-category {
    font-size: 0.75rem;
    color: var(--color-muted-foreground);
    margin-bottom: 0.25rem;
}

.arrival-name {
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.arrival-card:hover .arrival-name {
    color: var(--color-primary);
}

.arrival-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.arrival-price {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-primary);
}

/* ============================================
   13. BLOG CARDS
   ============================================ */
.blog-card {
    overflow: hidden;
    height: 100%;
    transition: var(--transition-smooth);
}

.blog-card:hover {
    transform: translateY(-4px);
}

.blog-image {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background-color: var(--color-muted);
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-badge-featured {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--color-accent);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.blog-badge-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--color-foreground);
    backdrop-filter: blur(4px);
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.blog-content {
    padding: 1.5rem;
}

.blog-title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.blog-card:hover .blog-title {
    color: var(--color-primary);
}

.blog-excerpt {
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
    margin-top: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem 1.5rem;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.75rem;
    color: var(--color-muted-foreground);
}

.blog-meta-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.blog-meta-item svg {
    width: 0.75rem;
    height: 0.75rem;
}

/* ============================================
   14. SIDEBAR
   ============================================ */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Top Products Widget */
.sidebar-products .product-item {
    display: flex;
    gap: 0.75rem;
    cursor: pointer;
}

.sidebar-products .product-item:hover .product-name {
    color: var(--color-primary);
}

.sidebar-products .product-image {
    width: 4rem;
    height: 4rem;
    border-radius: var(--radius);
    overflow: hidden;
    background-color: var(--color-muted);
    flex-shrink: 0;
}

.sidebar-products .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.sidebar-products .product-item:hover .product-image img {
    transform: scale(1.1);
}

.sidebar-products .product-name {
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.sidebar-products .product-price {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-top: 0.25rem;
}

/* Newsletter Widget */
.sidebar-newsletter {
    background: var(--gradient-primary);
    color: white;
}

.sidebar-newsletter .card-title {
    color: white;
}

.sidebar-newsletter .card-description {
    color: rgba(255, 255, 255, 0.8);
}

.sidebar-newsletter input {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.sidebar-newsletter input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

/* Tags Widget */
.sidebar-tags .tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.sidebar-tags .tag {
    display: inline-block;
    padding: 0.25rem 0.625rem;
    font-size: 0.75rem;
    font-weight: 500;
    background-color: var(--color-muted);
    border-radius: 9999px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.sidebar-tags .tag:hover {
    background-color: var(--color-primary);
    color: white;
}

/* ============================================
   15. FOOTER
   ============================================ */
.footer {
    border-top: 1px solid var(--color-border);
    background-color: var(--color-card);
    margin-top: 4rem;
}

.footer-main {
    padding: 3rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
}

@media (min-width: 768px) {
    .footer-grid { grid-template-columns: repeat(4, 1fr); }
}

.footer-brand p {
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
    margin-top: 1rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.footer-social a {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: var(--radius);
    background-color: #11c1d4;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.footer-social a:hover {
    background-color: #0673ef;
    color: white;
}

.footer-social svg {
    width: 1rem;
    height: 1rem;
}

.footer-links h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    border-top: 1px solid var(--color-border);
    padding: 2rem 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
}

.footer-bottom a {
    color: var(--color-primary);
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* ============================================
   16. FORM ELEMENTS
   ============================================ */
.input {
    width: 100%;
    height: 2.5rem;
    padding: 0 0.75rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background-color: var(--color-background);
    font-size: 0.875rem;
    transition: var(--transition-smooth);
}

.input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.1);
}

.input::placeholder {
    color: var(--color-muted-foreground);
}

/* ============================================
   17. PRODUCT CARDS (General)
   ============================================ */
.product-card {
    position: relative;
    overflow: hidden;
    background-color: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    transition: var(--transition-smooth);
}

.product-card:hover {
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(2, 132, 199, 0.3);
}

.product-image-container {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background-color: var(--color-muted);
}

.product-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image-container img {
    transform: scale(1.1);
}

.product-info {
    padding: 1rem;
}

.product-category {
    font-size: 0.75rem;
    color: var(--color-muted-foreground);
    margin-bottom: 0.25rem;
}

.product-name {
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card:hover .product-name {
    color: var(--color-primary);
}

.product-price {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-top: 0.5rem;
}

.product-price-old {
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
    text-decoration: line-through;
    margin-left: 0.5rem;
}

.product-actions {
    margin-top: 0.75rem;
}

/* ============================================
   18. UTILITIES
   ============================================ */
.hidden { display: none !important; }
.block { display: block; }
.inline-block { display: inline-block; }

.w-full { width: 100%; }
.h-full { height: 100%; }

.relative { position: relative; }
.absolute { position: absolute; }
.sticky { position: sticky; }

.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.top-0 { top: 0; }
.right-0 { right: 0; }
.left-0 { left: 0; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-50 { z-index: 50; }

.overflow-hidden { overflow: hidden; }
.object-cover { object-fit: cover; }

.rounded { border-radius: var(--radius); }
.rounded-lg { border-radius: var(--radius); }
.rounded-full { border-radius: 9999px; }

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }

.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.transition { transition: var(--transition-smooth); }

.opacity-0 { opacity: 0; }
.opacity-100 { opacity: 1; }

.pointer-events-none { pointer-events: none; }
.cursor-pointer { cursor: pointer; }

/* Responsive visibility */
@media (max-width: 768px) {
    .md\:hidden { display: none !important; }
}

@media (min-width: 768px) {
    .hidden-md { display: none !important; }
}

/* ============================================
   19. ANIMATIONS
   ============================================ */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-fadeIn { animation: fadeIn 0.3s ease; }
.animate-slideUp { animation: slideUp 0.4s ease; }
.animate-scaleIn { animation: scaleIn 0.3s ease; }

/* ============================================
   20. PRESTASHOP SPECIFIC NOTES
   ============================================ */
/*
  NOTAS PARA IMPLEMENTACIÓN EN PRESTASHOP 1.7.6.2:

  1. Las clases de este archivo están diseñadas para ser compatibles
     con la estructura de PrestaShop pero necesitarán adaptación.

  2. Estructura de directorios sugerida para el tema:
     /themes/abctic/
     ├── assets/
     │   ├── css/
     │   │   └── theme.css
     │   ├── js/
     │   └── img/
     ├── templates/
     │   ├── _partials/
     │   │   ├── header.tpl
     │   │   ├── footer.tpl
     │   │   └── ...
     │   ├── catalog/
     │   ├── checkout/
     │   └── ...
     ├── config/
     │   └── theme.yml
     └── preview.png

  3. Para los iconos, puedes usar:
     - Font Awesome (incluido en PrestaShop)
     - O descargar Lucide Icons como SVG

  4. Las fuentes Outfit pueden añadirse via Google Fonts:
     <link href="https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700&display=swap" rel="stylesheet">

  5. El slider de banners puede implementarse con:
     - Slick Carousel
     - Swiper
     - O el módulo nativo de PrestaShop
*/
