/* ============================================
   SeraphimStore — Storefront Styles
   Tienda Nube "Dart" theme: white + black + teal
   ============================================ */

:root {
    --accent: #16a085;
    --accent-hover: #0f7a63;
    --accent-light: rgba(22, 160, 133, 0.1);
    --text: #000000;
    --text-secondary: #555555;
    --text-tertiary: #8a8a8a;
    --bg: #ffffff;
    --bg-secondary: #f5f8f7;
    --bg-card: #ffffff;
    --border: #e8ecec;
    --border-hover: #c9d2d0;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.05);
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --radius: 12px;
    --radius-sm: 8px;
    --radius-xs: 6px;
    --font: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --store-heading-font: 'Lexend Exa', 'Playfair Display', serif;
}

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

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

body {
    font-family: var(--font);
    color: var(--body-text-color, var(--text));
    background-color: var(--body-bg-color, var(--bg));
    background-image: var(--body-bg-image, none);
    background-repeat: repeat;
    background-size: auto;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.2s;
}

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

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    line-height: 1.4;
    font-family: inherit;
}

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

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

.btn-secondary {
    background: var(--bg-secondary);
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--border-hover);
    background: #f3f4f6;
}

.btn-sm {
    padding: 6px 16px;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 14px 32px;
    font-size: 1.05rem;
}

.btn-block {
    width: 100%;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Header / Nav */
.store-header {
    background-color: var(--header-bg-color, var(--bg));
    background-image: var(--header-bg-image, none);
    background-repeat: repeat;
    background-size: auto;
    color: var(--header-text-color, var(--text));
    border-bottom: 1px solid var(--header-border-color, var(--border));
}

.store-nav {
    max-width: var(--container-width, 1200px);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height, 64px);
}

/* Centered Header Layout */
.store-header--centered .store-nav-centered-top {
    display: flex;
    justify-content: center;
    padding: 15px 20px 10px;
}
.store-header--centered .store-nav-centered-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 56px;
    position: relative;
    max-width: var(--container-width, 1200px);
    margin: 0 auto;
    padding: 0 20px;
}
.store-header--centered .store-nav-centered-bottom .nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}
.store-header--centered .store-nav-centered-bottom .store-search {
    position: absolute;
    right: 160px;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
}
.store-header--centered .store-nav-centered-bottom .cart-link {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.store-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.store-name-text {
    font-family: var(--store-heading-font, var(--store-font));
}

.store-logo span.store-name-text {
    color: var(--accent);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: inherit;
    opacity: 0.7;
    transition: color 0.2s, opacity 0.2s;
}

.nav-link:hover {
    color: inherit;
    opacity: 1;
}

.cart-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--header-text-color, var(--text));
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s;
}

.cart-link:hover {
    background: var(--accent-light);
    color: var(--accent);
}

.cart-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 10px;
    background: var(--accent);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
}

.cart-total {
    font-weight: 600;
    font-size: 0.85rem;
    color: inherit;
    white-space: nowrap;
}

/* Header search */
.store-search {
    display: flex;
    align-items: center;
    gap: 6px;
    background: color-mix(in srgb, currentColor 10%, transparent);
    border: 1px solid color-mix(in srgb, currentColor 30%, transparent);
    border-radius: 999px;
    padding: 6px 6px 6px 14px;
    max-width: 220px;
    flex: 0 1 200px;
    color: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.store-search:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent);
}

.store-search input {
    background: transparent;
    border: none;
    outline: none;
    color: inherit;
    font-family: inherit;
    font-size: 0.85rem;
    width: 100%;
    min-width: 0;
}

.store-search input::placeholder {
    color: inherit;
    opacity: 0.6;
}

.store-search button {
    background: none;
    border: none;
    cursor: pointer;
    color: inherit;
    opacity: 0.75;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    border-radius: 50%;
    transition: opacity 0.2s;
}

.store-search button:hover {
    opacity: 1;
}

/* Main content */
.store-main {
    max-width: var(--container-width, 1200px);
    margin: 0 auto;
    padding: 32px 20px;
    min-height: calc(100vh - 64px - 80px);
}

/* Info bar — above footer */
.store-info-bar {
    background: #fbfbfb;
    border-top: 1px solid #eaeaea;
    border-bottom: 1px solid #eaeaea;
    padding: 36px 20px;
}

.info-bar-inner {
    max-width: var(--container-width, 1200px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.info-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
}

.info-block-icon {
    flex-shrink: 0;
    width: auto;
    height: auto;
    background: none !important;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111111;
}

.info-block-icon svg {
    width: 28px;
    height: 28px;
    stroke: currentColor;
}

.info-block h4 {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0 0 2px;
    color: #111111;
}

.info-block p {
    font-size: 0.8rem;
    color: #666666;
    margin: 0;
    line-height: 1.4;
}

/* Footer */
.store-footer {
    background-color: var(--footer-bg-color, #1a1a2e);
    background-image: var(--footer-bg-image, none);
    background-repeat: repeat;
    background-size: auto;
    color: var(--footer-text-color, rgba(255,255,255,0.85));
    padding: 32px 20px 0;
    font-size: 0.9rem;
}

.footer-content {
    max-width: var(--container-width, 1200px);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 32px;
    padding-bottom: 24px;
}

.footer-col {
    flex: 1;
    min-width: 160px;
    margin-bottom: 16px;
}

.footer-col--payments {
    flex: 1.5;
    min-width: 220px;
}

.payment-logos-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-top: 4px;
}

.payment-logos-grid svg {
    border-radius: 6px;
    transition: opacity 0.2s, transform 0.15s;
    opacity: 0.9;
}

.payment-logos-grid svg:hover {
    opacity: 1;
    transform: translateY(-1px);
}

/* Consistent card for all payment/shipping logos (img-based) */
.payment-logo-card {
    display: block;
    width: 120px;
    height: 40px;
    object-fit: contain;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: #ffffff;
    transition: opacity 0.2s, transform 0.15s, box-shadow 0.15s;
    opacity: 0.92;
}

.payment-logo-card:hover {
    opacity: 1;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.10);
}

.footer-col h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: inherit;
    opacity: 0.5;
    margin: 0 0 16px;
    font-weight: 600;
}

.footer-links a {
    display: block;
    color: inherit;
    opacity: 0.7;
    text-decoration: none;
    padding: 5px 0;
    font-size: 0.88rem;
    transition: opacity 0.2s;
}

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

/* Social icons in footer */
.social-icons {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #333;
    color: #fff !important;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
    flex-shrink: 0;
}

.social-icon svg {
    display: block;
    fill: #fff !important;
    color: #fff !important;
    flex-shrink: 0;
}

.social-icon[title="Instagram"] {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.social-icon[title="TikTok"] {
    background: #000;
}

.social-icon[title="Facebook"] {
    background: #1877F2;
}

.social-icon[title="X (Twitter)"] {
    background: #000;
}

.social-icon[title="YouTube"] {
    background: #FF0000;
}

.social-icon:hover {
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 6px 18px rgba(0,0,0,0.30);
}

.footer-payment-row {
    max-width: var(--container-width, 1200px);
    margin: 0 auto;
    border-top: 1px solid rgba(127,127,127,0.15);
    padding: 24px 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.fps-group {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.fps-group-label {
    font-size: 0.75rem;
    opacity: 0.4;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    flex-shrink: 0;
}

.card-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.card-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 30px;
    border-radius: 4px;
    background: rgba(255,255,255,0.1);
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: inherit;
    opacity: 0.8;
    transition: opacity 0.2s;
    text-transform: uppercase;
}

.card-logo:hover {
    opacity: 1;
}

.card-logo--visa { background: #1a1f71; color: #fff; }
.card-logo--mastercard { background: linear-gradient(135deg,#f79e1b 30%,#eb001b); color: #fff; }
.card-logo--amex { background: #2e77bc; color: #fff; }
.card-logo--diners { background: #0079be; color: #fff; }
.card-logo--cabal { background: #005b9f; color: #fff; }
.card-logo--naranja { background: #ff6b00; color: #fff; }
.card-logo--argencard { background: #e4002b; color: #fff; }
.card-logo--maestro { background: #1a1f71; color: #fff; }
.card-logo--visadebit { background: #1a1f71; color: #fff; }
.card-logo--rapipago { background: #00a650; color: #fff; }
.card-logo--mercadopago { background: #00b9e7; color: #fff; }
.card-logo--correoarg { background: #003d7a; color: #fff; }
.card-logo--pickup { background: rgba(255,255,255,0.08); color: inherit; }

.footer-bottom {
    border-top: 1px solid rgba(127,127,127,0.15);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.78rem;
    color: inherit;
    opacity: 0.8;
}

.footer-bottom p {
    margin: 0;
}

.footer-legal-links {
    margin-top: 0;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-legal-links a {
    color: inherit;
    opacity: 0.75;
    text-decoration: none;
    transition: opacity 0.2s, color 0.2s;
    margin: 0;
}

.footer-legal-links a:hover {
    opacity: 1;
    text-decoration: underline;
    color: var(--accent);
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: all 0.25s;
}

.social-icon:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-2px);
}

/* Social Feed Section */
.social-feed-section {
    padding: 48px 0;
    text-align: center;
}

.social-feed-section .section-title {
    margin-bottom: 4px;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0 0 28px;
}

/* ── Social Feed Widget ──────────────────────────────────────────────── */
.social-feed-section {
    padding: 48px 20px;
    max-width: var(--container-width, 1200px);
    margin: 0 auto;
}

.social-feed-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.social-feed-title-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.social-feed-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #fff;
    flex-shrink: 0;
}

.social-feed-title {
    margin: 0 !important;
    font-size: 1.4rem;
}

.social-feed-follow-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 999px;
    background: var(--bg-secondary);
    color: var(--text);
    font-size: 0.88rem;
    font-weight: 600;
    border: 1px solid var(--border);
    transition: all 0.25s ease;
    text-decoration: none;
}

.social-feed-follow-btn:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.social-feed-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

/* Skeleton Loading */
.feed-skeleton {
    aspect-ratio: 1;
    border-radius: 12px;
    background: var(--bg-secondary);
    overflow: hidden;
    position: relative;
}

.feed-skeleton-shimmer {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255,255,255,0.4) 50%,
        transparent 100%
    );
    animation: feedShimmer 1.5s infinite;
}

@keyframes feedShimmer {
    0%   { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Feed Items */
.feed-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1;
    background: var(--bg-secondary);
    transition: transform 0.35s cubic-bezier(0.25,0.46,0.45,0.94), box-shadow 0.35s ease;
    display: block;
    text-decoration: none;
}

.feed-item:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    z-index: 2;
}

.feed-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.feed-item:hover img {
    transform: scale(1.08);
}

.feed-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
        rgba(0,0,0,0.7) 0%,
        rgba(0,0,0,0.2) 40%,
        transparent 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 14px;
    gap: 6px;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.feed-item:hover .feed-item-overlay {
    opacity: 1;
}

.feed-item-overlay span {
    color: #fff;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 5px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.feed-item-overlay span svg {
    flex-shrink: 0;
}

.feed-item-caption {
    font-size: 0.75rem !important;
    opacity: 0.85;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-top: 2px;
}

.feed-video-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    pointer-events: none;
    transition: background 0.3s;
}

.feed-item:hover .feed-video-badge {
    background: rgba(0,0,0,0.75);
}

/* Staggered fade-in animation */
@keyframes feedItemIn {
    from {
        opacity: 0;
        transform: translateY(16px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.feed-item-anim {
    animation: feedItemIn 0.45s cubic-bezier(0.25,0.46,0.45,0.94) both;
}

/* Fallback CTA */
.social-feed-fallback-cta {
    padding: 0 20px 20px;
}

.feed-cta-inner {
    text-align: center;
    padding: 48px 32px;
    border-radius: 16px;
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #fff;
}

.feed-cta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    margin-bottom: 16px;
}

.feed-cta-icon svg {
    width: 32px;
    height: 32px;
}

.feed-cta-inner h3 {
    font-family: var(--store-heading-font);
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.feed-cta-inner p {
    opacity: 0.9;
    font-size: 0.95rem;
    margin-bottom: 20px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.feed-cta-btn {
    background: #fff !important;
    color: #dc2743 !important;
    border: none;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 999px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feed-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
    color: #bc1888 !important;
}

.feed-loading,
.feed-error,
.feed-empty {
    grid-column: 1 / -1;
    padding: 40px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Masonry on desktop */
@media (min-width: 769px) {
    .social-feed-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .social-feed-grid .feed-item:first-child {
        grid-column: span 2;
        grid-row: span 2;
    }
}

/* Tablet */
@media (max-width: 768px) {
    .info-bar-inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .store-footer {
        padding: 32px 16px 0;
    }

    .social-feed-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    .social-feed-section {
        padding: 32px 16px;
    }
    .social-feed-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .feed-skeleton-hide-mobile {
        display: none;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .social-feed-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }
    .social-feed-section {
        padding: 32px 0;
    }
    .feed-skeleton-hide-tablet {
        display: none;
    }
    .feed-item {
        border-radius: 8px;
    }
    .social-feed-title {
        font-size: 1.15rem;
    }
    .social-feed-icon {
        width: 36px;
        height: 36px;
        border-radius: 10px;
    }
    .social-feed-icon svg {
        width: 20px;
        height: 20px;
    }
}

/* Page title */
.page-title {
    font-family: var(--store-heading-font, 'Playfair Display', serif);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    display: inline-block;
    padding: 12px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-bottom: 3px solid var(--accent);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* Section title (featured, etc) */
.section-title {
    font-family: var(--store-heading-font, 'Playfair Display', serif);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-block;
    padding: 10px 26px;
    background: var(--accent);
    color: #fff;
    border-radius: 999px;
    box-shadow: var(--shadow);
}

/* Featured section */
.featured-section {
    margin-bottom: 48px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border);
}

.featured-section .product-grid {
    margin-bottom: 0;
}

/* Category menu */
.category-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
    padding: 12px 16px;
    background: var(--bg-secondary);
    border-radius: var(--radius);
}

.category-link {
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    background: var(--bg);
    color: var(--text-secondary);
    transition: all 0.2s;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.category-link:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-1px);
}

.category-link.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    box-shadow: 0 2px 8px rgba(255, 107, 157, 0.3);
}

/* Suggestions */
.suggestions-section {
    margin-top: 56px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.suggestions-section .section-title {
    font-size: 1.3rem;
    margin-bottom: 20px;
}

/* Product grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.25s;
}

.product-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.product-card-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.product-card-badges {
    position: absolute;
    top: 8px;
    left: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 2;
}

.badge-sale,
.badge-featured,
.badge-agotado {
    font-size: 0.75rem;
    font-weight: 800;
    padding: 6px 12px;
    border-radius: 20px;
    letter-spacing: 0.05em;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    backdrop-filter: blur(4px);
    display: inline-block;
}

.badge-sale {
    background: #ff3b30; /* Vibrant modern red */
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
}

.badge-featured {
    background: #007aff; /* Modern blue */
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
}

.badge-agotado {
    background: rgba(0, 0, 0, 0.65); /* Modern dark translucent */
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
}

.product-card-body {
    padding: 16px;
}

.product-card-category {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.product-card-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.product-card-price {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.product-card-price .sale-price {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-tertiary);
    text-decoration: line-through;
}

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

.product-card-footer {
    padding: 12px 16px 16px;
    border-top: 1px solid var(--border);
}

.product-card-footer .btn {
    width: 100%;
}

/* Product detail */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.product-gallery {
    position: sticky;
    top: 88px;
}

.product-main-image {
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-secondary);
    aspect-ratio: 1;
    margin-bottom: 12px;
}

.product-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-thumbnails {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.product-thumb {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-xs);
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    flex-shrink: 0;
    transition: border-color 0.2s;
    background: var(--bg-secondary);
}

.product-thumb:hover,
.product-thumb.active {
    border-color: var(--accent);
}

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

.product-info {
    position: relative;
    background: rgba(255, 255, 255, 0.82);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow-lg);
}

.product-info h1 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.product-info .price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 16px;
}

.product-info .sale-price,
.price .sale-price {
    font-size: 1rem;
    color: var(--text-tertiary);
    text-decoration: line-through;
    margin-left: 8px;
}

.price .current-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent);
}

.product-info .description {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

.product-info .description p {
    margin-bottom: 8px;
}

/* Variant selector */
.variant-selector {
    margin-bottom: 20px;
}

.variant-label {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-secondary);
}

.variant-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.variant-option {
    padding: 8px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-xs);
    background: var(--bg);
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s;
}

.variant-option:hover {
    border-color: var(--accent);
}

.variant-option.selected {
    border-color: var(--accent);
    background: var(--accent-light);
    color: var(--accent);
}

.stock-info {
    font-size: 0.85rem;
    margin-bottom: 20px;
}

.stock-info.in-stock {
    color: var(--success);
}

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

.product-dimensions {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    font-size: 0.85rem;
    color: var(--text-tertiary);
}

.product-dimensions span {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Cart */
.cart-container {
    max-width: 800px;
    margin: 0 auto;
}

.cart-empty {
    text-align: center;
    padding: 64px 24px;
}

.cart-empty h2 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.cart-empty p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.cart-item {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    align-items: center;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-xs);
    overflow: hidden;
    background: var(--bg-secondary);
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-info h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.cart-item-info .variant {
    font-size: 0.8rem;
    color: var(--text-tertiary);
    margin-bottom: 4px;
}

.cart-item-info .unit-price {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.qty-btn {
    width: 32px;
    height: 32px;
    border: 1px solid var(--border);
    border-radius: var(--radius-xs);
    background: var(--bg);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.2s;
}

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

.qty-input {
    width: 48px;
    text-align: center;
    border: 1px solid var(--border);
    border-radius: var(--radius-xs);
    padding: 6px;
    font-size: 0.9rem;
    font-weight: 500;
}

.cart-item-total {
    font-weight: 600;
    font-size: 1rem;
    text-align: right;
    min-width: 80px;
}

.cart-item-remove {
    color: var(--text-tertiary);
    cursor: pointer;
    transition: color 0.2s;
    background: none;
    border: none;
    font-size: 0.85rem;
}

.cart-item-remove:hover {
    color: var(--danger);
}

.cart-summary {
    margin-top: 24px;
    padding: 24px;
    background: var(--bg-secondary);
    border-radius: var(--radius);
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.cart-summary-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: 700;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    margin-top: 16px;
}

/* Checkout */
.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 32px;
    align-items: start;
}

.checkout-form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
}

.checkout-form h2 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 6px;
    color: var(--text-secondary);
}

.form-group .input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-xs);
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.2s;
    background: var(--bg);
}

.form-group .input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-light);
}

.form-group .form-control {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-xs);
    font-size: 0.95rem;
    font-family: inherit;
    background: var(--bg);
    color: var(--text);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group .form-control:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-light);
}

.form-group select.form-control {
    padding-right: 32px;
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-row-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--accent);
}

.checkbox-group label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* Order summary sidebar */
.order-summary {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    position: sticky;
    top: 88px;
}

.order-summary h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.order-item {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.order-item-img {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-xs);
    overflow: hidden;
    flex-shrink: 0;
    background: var(--bg-secondary);
}

.order-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.order-item-info {
    flex: 1;
}

.order-item-info h4 {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.order-item-info .qty {
    font-size: 0.8rem;
    color: var(--text-tertiary);
}

.order-item-price {
    font-size: 0.9rem;
    font-weight: 600;
}

/* Notifications */
.store-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1000;
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    color: #fff;
    box-shadow: var(--shadow-lg);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s;
}

.store-toast.show {
    transform: translateY(0);
    opacity: 1;
}

.store-toast.success {
    background: var(--success);
}

.store-toast.error {
    background: var(--danger);
}

.store-toast.info {
    background: var(--accent);
}

/* Spinner */
.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid var(--border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

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

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 32px;
}

.pagination a {
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-xs);
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s;
}

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

.pagination a.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.pagination a.disabled {
    opacity: 0.4;
    pointer-events: none;
}

/* Logo image */
.store-logo-img {
    height: auto;
    width: auto;
    max-height: 40px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
    background: transparent;
    vertical-align: middle;
}

/* Hamburger menu toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    margin-left: auto;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--header-text-color, var(--text));
    border-radius: 2px;
    transition: all 0.2s;
}

/* Mobile nav drawer */
.mobile-nav {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100vh;
    background: var(--bg);
    z-index: 200;
    transition: left 0.3s ease;
    box-shadow: 2px 0 12px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
}

.mobile-nav.open {
    left: 0;
}

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

.mobile-nav-header .store-logo {
    font-size: 1.1rem;
}

.mobile-nav-header .store-logo-img {
    height: 32px;
}

.menu-close {
    background: none;
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
    color: var(--text-secondary);
    padding: 4px;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    padding: 16px 0;
}

.mobile-nav-links a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text);
    transition: background 0.2s;
}

.mobile-nav-links a:hover {
    background: var(--bg-secondary);
}

.mobile-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 199;
}

.mobile-nav-overlay.show {
    display: block;
}

.cart-count-mobile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 10px;
    background: var(--accent);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
}

/* WhatsApp float button */
.wa-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: all 0.25s;
    text-decoration: none;
}

.wa-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
    .product-detail {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .product-gallery {
        position: static;
    }

    .checkout-layout {
        grid-template-columns: 1fr;
    }

    .store-nav {
        height: var(--header-height, 56px);
    }

    .store-main {
        padding: 20px 16px;
    }

    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 12px;
    }

    .form-row-2,
    .form-row-3 {
        grid-template-columns: 1fr;
    }

    .cart-item {
        grid-template-columns: 60px 1fr;
    }

    .cart-item-actions {
        grid-column: 1 / -1;
        justify-content: flex-end;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-links a.nav-link {
        display: none;
    }

    .nav-links .nav-item-wrap {
        display: none;
    }

    .store-search {
        display: none;
    }

    .cart-total {
        display: none;
    }
}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .product-card-body {
        padding: 10px;
    }

    .product-card-title {
        font-size: 0.85rem;
    }

    .product-card-price {
        font-size: 1rem;
    }

    .product-card-footer {
        padding: 8px 10px 10px;
    }

    .product-card-footer .btn {
        font-size: 0.8rem;
        padding: 8px 12px;
    }

    .page-title {
        font-size: 1.3rem;
        margin-bottom: 16px;
    }

    .category-bar {
        gap: 6px;
        margin-bottom: 20px;
        padding-bottom: 12px;
    }

    .category-link {
        font-size: 0.78rem;
        padding: 5px 12px;
    }

    .store-logo {
        font-size: 1.1rem;
    }

    .store-logo-img {
        height: 32px;
    }

    .nav-links {
        gap: 12px;
    }

    .product-info h1 {
        font-size: 1.3rem;
    }

    .product-info .price {
        font-size: 1.4rem;
    }

    .product-main-image {
        aspect-ratio: 3/4;
    }
}

/* ============================================
   Secciones con Slider (Destacados y Ofertas)
   ============================================ */
.featured-section,
.offers-section {
    padding: 60px 20px;
    border-bottom: 1px solid var(--border);
}

.featured-section {
    background: transparent;
}

.offers-section {
    background: transparent;
}

.slider-inner {
    max-width: var(--container-width, 1200px);
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 32px;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-top: 6px;
}

.slider-track-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    overflow: hidden;
}

.slider-track {
    display: flex;
    gap: 16px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    flex: 1;
    min-width: 0;
}

.slider-card {
    width: 240px; /* Tamaño de tarjeta controlado */
    background: var(--bg-card, #fff);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s, transform 0.2s;
}

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

.slider-card-img-link {
    display: block;
}

.slider-card-image {
    position: relative;
    aspect-ratio: 1/1;
    overflow: hidden;
    background: var(--bg-secondary);
}

.slider-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.slider-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-tertiary);
}

.slider-out-of-stock {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 0.05em;
}

.slider-card-body {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.slider-card-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 10px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.6em; /* Altura máxima fija para títulos */
}

.slider-card-title a,
.slider-card-body > a {
    color: inherit;
}

/* Navegación del slider */
.slider-nav {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--bg-card, #fff);
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s;
    z-index: 2;
    color: var(--text);
}

.slider-nav:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

/* Dots del slider */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border);
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    display: inline-block;
}

.slider-dot.active {
    background: var(--accent);
    transform: scale(1.3);
}

/* ============================================
   Sección Newsletter
   ============================================ */
.newsletter-section {
    padding: 60px 20px;
    background: transparent;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.newsletter-inner {
    max-width: 420px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.newsletter-icon {
    display: none !important;
}

.newsletter-text {
    width: 100%;
    text-align: center;
}

.newsletter-text h2 {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #111111;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: 100%;
}

.newsletter-text h2::before,
.newsletter-text h2::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e0e0e0;
}

.newsletter-text p {
    display: none !important;
}

.newsletter-form {
    width: 100%;
}

.newsletter-fields {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.nl-input {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 16px;
    border: 1px solid #dcdcdc;
    border-radius: 2px;
    font-size: 0.9rem;
    font-family: inherit;
    background: #ffffff;
    color: #333333;
    transition: border-color 0.2s;
    outline: none;
    text-align: center;
}

.nl-input:focus {
    border-color: #111111;
}

.newsletter-fields button.btn-primary {
    width: 100%;
    padding: 12px;
    background: #333333;
    color: #ffffff;
    border: none;
    border-radius: 2px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-fields button.btn-primary:hover {
    background: #111111;
    color: #ffffff;
}

.newsletter-success {
    color: #10b981;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 10px;
    background: rgba(16, 185, 129, 0.08);
    border-radius: 2px;
    margin-top: 8px;
}

/* Responsive Ofertas */
@media (max-width: 900px) {
    .offer-card {
        min-width: calc(50% - 8px);
    }
}

@media (max-width: 600px) {
    .offer-card {
        min-width: 80vw;
    }
    .offers-section {
        padding: 40px 12px;
    }
    .newsletter-section {
        padding: 40px 16px;
    }
    .newsletter-fields {
        flex-direction: column;
    }
    .nl-input {
        min-width: unset;
        width: 100%;
    }
}

@media (max-width: 700px) {
    .newsletter-inner {
        flex-direction: column;
        text-align: center;
    }
    .newsletter-text {
        text-align: center;
    }
}

@media (max-width: 600px) {
    .product-thumb {
        width: 56px;
        height: 56px;
    }

    .cart-summary {
        padding: 16px;
    }

    .checkout-form {
        padding: 20px;
    }

    .wa-float {
        bottom: 16px;
        right: 16px;
        width: 48px;
        height: 48px;
    }
}

/* ==========================================================================
   Nuevos Estilos de Estructura de Navegación — Seraphim Store
   ========================================================================== */

/* Mega-Menú Dropdown */
.nav-item-wrap {
    position: relative;
}

.nav-item-wrap.has-dropdown:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 16px;
    min-width: 320px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    z-index: 1000;
}

.mega-menu-inner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.mega-menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    border-radius: var(--radius-sm);
    transition: background-color 0.2s, color 0.2s;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text);
}

.mega-menu-item:hover {
    background-color: var(--bg-secondary);
    color: var(--accent);
}

.mega-thumb {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-xs);
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
}

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

.mega-thumb--empty svg {
    color: var(--text-tertiary);
}

.mega-special {
    color: var(--warning);
    margin-left: auto;
    font-size: 0.9rem;
}

.nav-caret {
    margin-left: 4px;
    transition: transform 0.2s;
}

.nav-item-wrap:hover .nav-caret {
    transform: rotate(180deg);
}

/* "Productos" dropdown button */
.nav-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
}

/* "Productos" mega-menu (todas las categorías) */
.productos-menu {
    left: 0;
    transform: translateX(0) translateY(10px);
    min-width: 320px;
}

.nav-item-wrap.has-dropdown:hover .productos-menu {
    transform: translateX(0) translateY(0);
}

.productos-menu-inner {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.productos-all {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--accent);
    padding: 4px 8px;
    border-radius: var(--radius-sm);
}

.productos-all:hover {
    background: var(--accent-light);
}

.productos-cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
}

.productos-col {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.productos-root {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text);
    padding: 6px 8px;
    border-radius: var(--radius-sm);
    transition: background-color 0.2s, color 0.2s;
}

.productos-root:hover {
    background: var(--bg-secondary);
    color: var(--accent);
}

.productos-root.active {
    color: var(--accent);
}

.productos-sub {
    font-size: 0.8rem;
    color: var(--text-secondary);
    padding: 4px 8px 4px 14px;
    border-left: 2px solid var(--border);
    margin-left: 10px;
    transition: color 0.2s, border-color 0.2s;
}

.productos-sub:hover {
    color: var(--accent);
    border-left-color: var(--accent);
}

.productos-sub.active {
    color: var(--accent);
    border-left-color: var(--accent);
}

/* Mobile drawer search */
.mobile-search {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 14px 20px;
    padding: 8px 8px 8px 14px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--bg-secondary);
}

.mobile-search input {
    background: transparent;
    border: none;
    outline: none;
    font-family: inherit;
    font-size: 0.9rem;
    color: var(--text);
    width: 100%;
    min-width: 0;
}

.mobile-search button {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    padding: 4px;
}

/* Category Section Banner */
.section-banner {
    position: relative;
    padding: 60px 20px;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 32px;
    text-align: center;
    background-size: cover;
    background-position: center;
}

.section-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(2px);
    z-index: 1;
}

.section-banner-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
}

.section-banner-title {
    font-family: var(--store-heading-font, 'Playfair Display', serif);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.section-banner-desc {
    font-size: 1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/* Sub-category Grids & Tiles */
.home-categories .section-header {
    text-align: center;
}

.home-categories .subcategory-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 200px));
    justify-content: center;
}

.subcategory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 16px;
}

.subcategory-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.subcategory-tile:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.subcategory-tile-img {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 12px;
    border: 2px solid var(--border);
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.3s;
}

.subcategory-tile:hover .subcategory-tile-img {
    border-color: var(--accent);
}

.subcategory-tile-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.subcategory-tile-placeholder svg {
    color: var(--text-tertiary);
}

.subcategory-tile-special {
    position: absolute;
    top: 4px;
    right: 4px;
    background: var(--warning);
    color: #fff;
    font-size: 0.7rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.subcategory-tile-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
}

/* Baby Tees Horizontal Carousel */
.baby-tees-carousel-wrap {
    position: relative;
    display: flex;
    align-items: center;
    margin: 20px 0 40px;
}

.baby-tees-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 4px;
    width: 100%;
    scrollbar-width: none; /* Firefox */
}

.baby-tees-carousel::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.bt-card {
    flex: 0 0 240px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s, box-shadow 0.2s;
}

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

.bt-card-image {
    position: relative;
    width: 100%;
    padding-top: 125%; /* 4:5 Aspect Ratio */
    background: var(--bg-secondary);
}

.bt-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bt-card-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-tertiary);
}

.bt-card-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.bt-card-title {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 6px;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bt-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    font-size: 1.1rem;
    transition: all 0.2s;
}

.bt-nav:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.bt-prev { left: -20px; }
.bt-next { right: -20px; }

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.breadcrumb a {
    color: var(--text-secondary);
}

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

/* Aesthetic Filter Toggles */
.aesthetic-toggle-wrap {
    display: flex;
    justify-content: center;
    margin: 10px 0 30px;
}

.aesthetic-toggle {
    display: inline-flex;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    padding: 4px;
    border-radius: 30px;
}

.aes-pill {
    border: none;
    background: transparent;
    padding: 8px 20px;
    border-radius: 20px;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    color: var(--text-secondary);
    transition: all 0.2s;
}

.aes-pill.active {
    background: var(--accent);
    color: #ffffff;
    box-shadow: var(--shadow-sm);
}

/* Mobile Nav Custom Accordeons */
.mobile-nav-group {
    display: flex;
    flex-direction: column;
}

.mobile-nav-parent {
    font-weight: 600 !important;
}

.mobile-nav-sub {
    display: flex;
    flex-direction: column;
    padding-left: 12px;
    border-left: 2px solid var(--border);
    margin: 4px 0 10px 8px;
}

.mobile-nav-child {
    font-size: 0.95rem !important;
    opacity: 0.85;
    padding: 6px 0 !important;
}

/* Admin Categories Styling */
.category-item--child {
    border-left: 3px solid var(--accent-light) !important;
    background-color: var(--bg-secondary);
}

.cat-thumb {
    width: 32px;
    height: 32px;
    border-radius: 4px;
    object-fit: cover;
    border: 1px solid var(--border);
}

.cat-thumb--empty {
    width: 32px;
    height: 32px;
    border-radius: 4px;
    border: 1px dashed var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
}

.category-item-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cat-badge {
    display: inline-block;
    padding: 2px 6px;
    font-size: 0.7rem;
    font-weight: 600;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-secondary);
}

.cat-badge--special {
    background: #fffbeb;
    border-color: #fde68a;
    color: #b45309;
}

.cat-img-uploader {
    border: 2px dashed var(--border);
    border-radius: var(--radius-sm);
    padding: 16px;
    text-align: center;
    cursor: pointer;
    background: var(--bg-secondary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 120px;
    transition: border-color 0.2s;
}

.cat-img-uploader:hover {
    border-color: var(--accent);
}

.cat-img-preview {
    max-height: 100px;
    border-radius: var(--radius-xs);
    object-fit: contain;
}

.cat-img-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-secondary);
    font-size: 0.8rem;
    gap: 4px;
}

.cat-img-placeholder span.material-icons-round {
    font-size: 32px;
}

.cat-img-actions {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    cursor: pointer;
}

@media (max-width: 600px) {
    .bt-prev { left: -10px; }
    .bt-next { right: -10px; }
    .bt-card { flex: 0 0 200px; }
    .mega-menu { display: none !important; } /* Desactivar dropdowns hover en mobile */
}

/* ==========================================================================
   Páginas de Contacto e Información Importante
   ========================================================================== */

/* Hero compartido contacto e info */
.contact-hero,
.info-hero {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    padding: 56px 20px 48px;
    text-align: center;
    color: #fff;
    margin-bottom: 40px;
}

.contact-hero-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-hero-icon {
    width: 72px;
    height: 72px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    backdrop-filter: blur(4px);
}

.contact-hero h1 {
    font-family: var(--store-heading-font, 'Playfair Display', serif);
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.contact-hero p,
.info-hero p {
    font-size: 1.05rem;
    opacity: 0.95;
}

/* Contact Cards Grid */
.contact-grid-section {
    padding: 0 20px 48px;
    max-width: var(--container-width);
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.contact-card--wa {
    border-left: 4px solid #25D366;
}

.contact-card--wa .contact-card-icon {
    background: #25D366;
    color: #fff;
}

.contact-card--social {
    border-left: 4px solid var(--scolor, var(--accent));
}

.contact-card--social .contact-card-icon {
    background: var(--scolor, var(--accent));
    color: #fff;
}

.contact-card-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-card-body h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.contact-card-body p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 8px;
}

.contact-card-action {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
}

/* Contact Form Section */
.contact-form-section {
    background: var(--bg-secondary);
    padding: 56px 20px;
}

.contact-form-wrap {
    max-width: 960px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 48px;
    align-items: start;
}

.contact-form-info h2 {
    font-family: var(--store-heading-font, 'Playfair Display', serif);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.contact-form-info p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

.contact-info-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-info-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.contact-info-list li svg {
    color: var(--accent);
    flex-shrink: 0;
}

.contact-form {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact-success {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    margin-top: 12px;
}

.contact-error {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    margin-top: 12px;
}

@media (max-width: 700px) {
    .contact-form-wrap { grid-template-columns: 1fr; }
    .contact-form-row  { grid-template-columns: 1fr; }
}

/* Info Page Layout */
.info-layout {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px 60px;
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 40px;
    align-items: start;
}

.info-sidebar {
    font-size: 0.9rem;
}

.info-toc-title {
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.info-toc-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.info-toc-nav a {
    padding: 7px 10px;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 0.85rem;
    transition: all 0.2s;
}

.info-toc-nav a:hover,
.info-toc-nav a.active {
    background: var(--bg-secondary);
    color: var(--accent);
}

/* Info Content */
.info-intro {
    background: linear-gradient(135deg, rgba(var(--accent-rgb, 255,107,157), 0.08), transparent);
    border: 1px solid var(--border);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius-sm);
    padding: 18px 20px;
    margin-bottom: 32px;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.info-section {
    margin-bottom: 40px;
    scroll-margin-top: 100px;
}

.info-section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.info-section-icon {
    font-size: 1.8rem;
    line-height: 1;
}

.info-section-header h2 {
    font-family: var(--store-heading-font, 'Playfair Display', serif);
    font-size: 1.5rem;
    font-weight: 700;
}

.info-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-item {
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.info-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.info-item strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.info-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.info-item--highlight {
    background: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
}

.info-item--highlight strong {
    color: #dc2626;
}

/* Timeline */
.info-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    padding-left: 28px;
    margin-top: 12px;
}

.info-timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 12px;
    bottom: 12px;
    width: 2px;
    background: var(--border);
}

.info-timeline-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 12px 0;
    position: relative;
}

.info-timeline-dot {
    position: absolute;
    left: -24px;
    top: 18px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent);
    border: 2px solid var(--bg-card);
    box-shadow: 0 0 0 2px var(--accent);
    flex-shrink: 0;
}

.info-timeline-item--end .info-timeline-dot {
    background: #ef4444;
    box-shadow: 0 0 0 2px #ef4444;
}

.info-timeline-item > div strong {
    display: block;
    font-weight: 700;
    font-size: 0.95rem;
}

.info-timeline-item > div span {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* CTA final */
.info-cta {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    border-radius: var(--radius);
    padding: 32px;
    text-align: center;
    color: #fff;
    margin-top: 40px;
}

.info-cta p {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.info-cta-btns {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-outline {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.6);
    color: #fff;
    padding: 10px 22px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
}

.btn-outline:hover {
    background: rgba(255,255,255,0.15);
    border-color: #fff;
}

.info-cta .btn-primary {
    background: #fff;
    color: var(--accent);
}

.info-cta .btn-primary:hover {
    background: rgba(255,255,255,0.9);
}

@media (max-width: 900px) {
    .info-layout {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Announcement Bar & Utility Bar
   ========================================================================== */

.announcement-wrapper {
    position: relative;
    z-index: 200;
}

.announcement-bar {
    background: var(--header-bg-color, #fff);
    color: var(--header-text-color, #1a1a2e);
    text-align: center;
    padding: 7px 20px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.utility-bar {
    background: #1a1a2e;
    color: rgba(255,255,255,0.8);
    font-size: 0.78rem;
}

.utility-bar-container {
    max-width: var(--container-width, 1200px);
    margin: 0 auto;
    padding: 5px 20px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.utility-bar-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.utility-bar-right a {
    color: rgba(255,255,255,0.8);
    font-size: 0.78rem;
    transition: color 0.15s;
}

.utility-bar-right a:hover {
    color: var(--accent);
}

.bar-separator {
    color: rgba(255,255,255,0.3);
    font-size: 0.7rem;
}

/* ==========================================================================
   Auth Forms (Login, Registro)
   ========================================================================== */

.auth-section {
    min-height: calc(100vh - 280px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 64px 20px;
    background: linear-gradient(135deg, #fce7f3 0%, #e0e7ff 100%);
    position: relative;
    overflow: hidden;
}

.auth-section::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--accent-light) 0%, transparent 70%);
    top: -50px;
    left: -100px;
    border-radius: 50%;
    opacity: 0.6;
    animation: float-pulse 8s ease-in-out infinite alternate;
}

.auth-section::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(167, 139, 250, 0.2) 0%, transparent 70%);
    bottom: -100px;
    right: -100px;
    border-radius: 50%;
    opacity: 0.6;
    animation: float-pulse 10s ease-in-out infinite alternate-reverse;
}

@keyframes float-pulse {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.1) translate(20px, 20px); }
}

.auth-box {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08), 0 1px 3px rgba(0,0,0,0.05);
    padding: 48px;
    width: 100%;
    max-width: 460px;
    position: relative;
    z-index: 1;
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.auth-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.1), 0 2px 6px rgba(0,0,0,0.05);
}

.auth-box--wide {
    max-width: 760px;
}

.auth-header {
    text-align: center;
    margin-bottom: 32px;
}

.auth-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--accent) 0%, #ec4899 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    box-shadow: 0 10px 20px rgba(236, 72, 153, 0.3);
    transform: rotate(-5deg);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.auth-icon svg {
    color: white;
    stroke-width: 2;
}

.auth-box:hover .auth-icon {
    transform: rotate(0deg) scale(1.05);
}

.auth-header h1 {
    font-family: var(--store-heading-font, 'Playfair Display', serif);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
    letter-spacing: -0.02em;
}

.auth-header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.auth-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 600px) {
    .auth-grid-2 { grid-template-columns: 1fr; }
    .auth-box { padding: 32px 24px; border-radius: 20px; }
    .auth-header h1 { font-size: 1.8rem; }
}

.auth-section-label {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    margin-bottom: 4px;
    grid-column: 1 / -1;
}

.auth-error {
    background: rgba(239,68,68,0.1);
    border: 1px solid rgba(239,68,68,0.2);
    color: #b91c1c;
    border-radius: 12px;
    padding: 14px 16px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    font-weight: 500;
    overflow-wrap: anywhere;
    word-break: break-word;
    min-width: 0;
}

.auth-error::before {
    content: "!";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: #ef4444;
    color: white;
    border-radius: 50%;
    font-size: 12px;
    font-weight: bold;
    flex-shrink: 0;
}

.auth-success {
    background: rgba(16,185,129,0.1);
    border: 1px solid rgba(16,185,129,0.2);
    color: #047857;
    border-radius: 12px;
    padding: 14px 16px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    font-weight: 500;
    overflow-wrap: anywhere;
    word-break: break-word;
    min-width: 0;
}

.auth-success::before {
    content: "✓";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: #10b981;
    color: white;
    border-radius: 50%;
    font-size: 12px;
    font-weight: bold;
    flex-shrink: 0;
}

.auth-success > *,
.auth-error > * {
    min-width: 0;
}

.auth-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.auth-footer a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
    position: relative;
}

.auth-footer a::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: var(--accent);
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}

.auth-footer a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.password-wrap {
    position: relative;
    width: 100%;
}

.password-wrap .form-control,
.password-wrap .input {
    padding-right: 48px !important;
}

.auth-form .form-group {
    margin-bottom: 0;
}

.auth-form label {
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.auth-form .form-control {
    width: 100% !important;
    display: block !important;
    padding: 12px 16px;
    font-size: 1rem;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.1);
    background: rgba(255,255,255,0.7);
    transition: all 0.25s ease;
    box-sizing: border-box;
}

.auth-form .form-control:hover {
    border-color: rgba(0,0,0,0.2);
    background: #fff;
}

.auth-form .form-control:focus {
    border-color: var(--accent);
    background: #fff;
    box-shadow: 0 0 0 4px var(--accent-light);
    outline: none;
}

.auth-form .btn {
    padding: 14px 20px;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent) 0%, #ec4899 100%);
    border: none;
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.25);
    transition: all 0.3s ease;
    margin-top: 12px;
    color: white;
}

.auth-form .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(236, 72, 153, 0.4);
    color: white;
}

.auth-form .btn:active {
    transform: translateY(0);
}

.toggle-pw {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-secondary);
    opacity: 0.5;
    display: flex;
    align-items: center;
    padding: 4px;
    border-radius: 50%;
    transition: all 0.2s;
}

.toggle-pw:hover {
    opacity: 0.9;
    background: rgba(0,0,0,0.04);
}

/* ==========================================================================
   Customer Dashboard
   ========================================================================== */

.dashboard-layout {
    max-width: var(--container-width, 1200px);
    margin: 0 auto;
    padding: 32px 20px 60px;
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 32px;
    align-items: start;
}

.dashboard-sidebar {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 90px;
}

.dashboard-avatar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.avatar-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
    flex-shrink: 0;
}

.dashboard-username {
    font-weight: 700;
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dashboard-email {
    font-size: 0.75rem;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dashboard-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.dash-nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    color: var(--text-secondary);
    transition: all 0.2s;
}

.dash-nav-link:hover,
.dash-nav-link.active {
    background: var(--bg-secondary);
    color: var(--accent);
}

.dash-nav-link--danger { color: #ef4444 !important; }
.dash-nav-link--danger:hover { background: rgba(239,68,68,0.06) !important; }

.dashboard-content {
    min-width: 0;
}

.dash-title {
    font-family: var(--store-heading-font, 'Playfair Display', serif);
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.dash-tab { }

.dash-welcome {
    background: linear-gradient(135deg, var(--accent-light), transparent);
    border: 1px solid var(--border);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    margin-bottom: 20px;
    font-size: 0.92rem;
}

.dash-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
}

.dash-empty svg { margin: 0 auto 16px; display: block; opacity: 0.4; }
.dash-empty p { margin-bottom: 20px; }

/* Orders Table */
.orders-table-wrap {
    overflow-x: auto;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.orders-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}

.orders-table th {
    background: var(--bg-secondary);
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
}

.orders-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

.orders-table tr:last-child td { border-bottom: none; }
.orders-table tr:hover td { background: var(--bg-secondary); }

.tracking-link {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.82rem;
}

.tracking-empty { color: var(--text-secondary); }

/* Badges */
.badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}
.badge-warning  { background: rgba(245,158,11,0.12); color: #b45309; }
.badge-success  { background: rgba(16,185,129,0.12); color: #047857; }
.badge-info     { background: rgba(59,130,246,0.12); color: #1d4ed8; }
.badge-primary  { background: rgba(99,102,241,0.12); color: #4338ca; }
.badge-danger   { background: rgba(239,68,68,0.12); color: #b91c1c; }

@media (max-width: 768px) {
    .dashboard-layout { grid-template-columns: 1fr; }
    .dashboard-sidebar { position: static; }
}

/* ==========================================================================
   Customizer: Modern & Customizable Styles (Header, Footer, Announcement)
   ========================================================================== */

/* Logo color */
.store-logo, .store-logo span.store-name-text {
    color: var(--logo-color, var(--accent)) !important;
}

/* Info bar overrides */
.store-info-bar {
    background-color: var(--footer-info-bg, var(--bg-secondary)) !important;
    border-top: 1px solid var(--border) !important;
    border-bottom: 1px solid var(--border) !important;
}
.store-info-bar .info-block h4 {
    color: var(--footer-info-color, var(--text)) !important;
}
.store-info-bar .info-block p {
    color: var(--footer-info-color, var(--text-secondary)) !important;
    opacity: 0.8;
}

/* Announcement Bar and Marquee scroll animation */
.announcement-bar {
    background-color: var(--announcement-bg, #ffdcd2) !important;
    color: var(--announcement-color, #1a1a2e) !important;
    font-size: 0.8rem !important;
    padding: 8px 20px !important;
}

.announcement-marquee {
    overflow: hidden !important;
    white-space: nowrap !important;
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
}

.announcement-marquee .marquee-track {
    display: inline-block !important;
    padding-left: 100% !important;
    animation: marquee-scroll 20s linear infinite !important;
    white-space: nowrap !important;
}

@keyframes marquee-scroll {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-100%, 0, 0); }
}

/* Minimalist Footer Layout */
.store-footer.footer-layout-minimal {
    padding: 20px !important;
    font-size: 0.85rem !important;
}

.footer-minimal-inner {
    max-width: var(--container-width, 1200px);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Top row: nav links + social icons */
.footer-minimal-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-minimal-row--top {
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.12);
}

.footer-minimal-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
}

.footer-minimal-links a {
    color: inherit;
    opacity: 0.7;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: opacity 0.2s, color 0.2s;
}

.footer-minimal-links a:hover {
    opacity: 1;
    color: var(--accent);
}

.footer-minimal-socials {
    display: flex;
    align-items: center;
}

/* Inline payment badges row */
.footer-minimal-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-minimal-badges .card-logo {
    transform: scale(0.8);
    transform-origin: center center;
    margin: 0;
    filter: grayscale(0.4) opacity(0.75);
    transition: filter 0.2s, transform 0.2s;
}

.footer-minimal-badges .card-logo:hover {
    filter: none;
    transform: scale(0.9);
}

/* Pay logo wrap – minimal mode */
.pay-logo-wrap {
    display: inline-flex;
    align-items: center;
    transition: opacity 0.2s, transform 0.15s;
    opacity: 0.85;
}

.pay-logo-wrap:hover {
    opacity: 1;
    transform: translateY(-1px);
}

.pay-logo-wrap svg {
    border-radius: 5px;
    display: block;
}

/* Footer classic – responsive columns */
@media (max-width: 600px) {
    .footer-content {
        flex-direction: column;
        gap: 24px;
    }
    .footer-col {
        width: 100%;
        margin-bottom: 8px;
    }
}

/* Bottom row: copyright + legal links */
.footer-minimal-row--bottom {
    font-size: 0.78rem;
    opacity: 0.7;
    padding-top: 0;
}

.footer-minimal-copy {
    white-space: nowrap;
}

.footer-minimal-legal {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-minimal-legal a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.2s;
}

.footer-minimal-legal a:hover {
    opacity: 1;
    color: var(--accent);
}

@media (max-width: 768px) {
    .footer-minimal-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
    }
    .footer-minimal-links {
        justify-content: center;
        gap: 14px;
    }
    .footer-minimal-legal {
        justify-content: center;
    }
}