/* ══════════════════════════════════════════════════════════
   SuperPC — Main CSS
   Basado en la arquitectura de Goru (goru.ec)
   Colores: Crimson #a62326 en lugar de Gold #C9A84C
   ══════════════════════════════════════════════════════════ */

/* ── Tokens ─────────────────────────────────────────────── */
:root {
    --color-accent-100: #e57373;
    --color-accent-200: #a62326;
    /* Crimson SuperPC */
    --color-accent-300: #801b1d;
    /* Crimson Hover   */
    --color-neutral-0: #ffffff;
    --color-neutral-100: #fcfcfc;
    --color-neutral-150: #f5f7fa;
    --color-neutral-200: #e4e7eb;
    --color-neutral-700: #4a5568;
    --color-neutral-900: #1a202c;

    --bg-deep: var(--color-neutral-0);
    --bg-surface: var(--color-neutral-100);
    --bg-panel: var(--color-neutral-150);
    --border-default: var(--color-neutral-200);

    --text-primary: var(--color-neutral-900);
    --text-muted: var(--color-neutral-700);

    --accent-primary: var(--color-accent-200);
    --accent-hover: var(--color-accent-300);

    --font-display: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;

    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 20px;
    --radius-full: 999px;

    --shadow-card: 0px 8px 32px rgba(0, 0, 0, 0.05);
    --shadow-panel: 0px 4px 16px rgba(0, 0, 0, 0.03);

    --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
    --duration-fast: 0.2s;
    --duration-normal: 0.3s;

    --max-w: 1280px;
}

/* ── Animaciones ────────────────────────────────────────── */
@keyframes fadeReveal {
    from {
        opacity: 0;
        transform: translateY(16px);
        filter: blur(3px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, 6px);
    }

    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

/* ── Reset ──────────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-deep);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: var(--font-body);
}

/* ══════════════════════════════════════════════════════════
   NAVBAR
   ══════════════════════════════════════════════════════════ */
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    height: 72px;
    padding-top: 12px;
    background: transparent;
}

.nav-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Island base — translúcido, mismo estilo que Goru pero en claro */
.nav-island {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-default);
    border-radius: 28px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-panel);
}

/* ── Logo island (izquierda) */
.nav-logo-island {
    position: absolute;
    left: 2rem;
    width: 140px;
    padding: 0 1rem;
}

.nav-logo-island img {
    height: 42px;
    object-fit: contain;
    transition: transform var(--duration-fast) var(--ease-smooth);
}

.nav-logo-island img:hover {
    transform: scale(1.05);
}

/* ── Links island (centro) — más ancho para los dropdowns */
.nav-links-island {
    width: 580px;
    gap: 2px;
    padding: 0 1.25rem;
}

.nav-links-island > a {
    position: relative;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
    transition: color var(--duration-fast);
    padding: 0 10px;
    border-radius: 8px;
    height: 100%;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    white-space: nowrap;
}

.nav-links-island > a::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 10px;
    right: 10px;
    width: 0;
    height: 2px;
    background: var(--accent-primary);
    transition: width var(--duration-normal) var(--ease-smooth);
}

.nav-links-island > a:hover {
    color: var(--accent-primary) !important;
}

.nav-links-island > a:hover::after {
    width: calc(100% - 20px);
}

.nav-links-island > a.active {
    color: var(--accent-primary) !important;
}

.nav-links-island > a.active::after {
    width: calc(100% - 20px) !important;
    background: var(--accent-primary) !important;
}

.nav-dropdown-link::after {
    display: none !important;
    content: none !important;
}

/* ── Language island — posición igual que Goru: a la derecha del island de links */
.nav-lang-island {
    position: absolute;
    left: calc(50% + 275px + 12px);
    width: 100px;
    justify-content: center;
}

.language-selector {
    position: relative;
    display: inline-block;
}

.lang-trigger {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    border-radius: 8px;
    padding: 6px 8px;
    transition: color var(--duration-fast), background var(--duration-fast);
}

.lang-trigger:hover {
    color: var(--accent-primary);
    background: rgba(166, 35, 38, 0.04);
}

.lang-trigger svg {
    flex-shrink: 0;
    opacity: 0.8;
}

.lang-current {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.lang-chevron {
    opacity: 0.5;
    transition: transform var(--duration-fast) var(--ease-smooth);
}

.language-selector.open .lang-chevron {
    transform: rotate(180deg);
}

/* Dropdown del idioma */
.lang-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 10px;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--border-default);
    border-radius: 20px;
    min-width: 160px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 300;
    padding: 6px;
}

.lang-dropdown.show {
    display: flex;
    animation: dropdownFadeIn 0.18s var(--ease-smooth);
}

.language-selector.open .lang-trigger {
    color: var(--accent-primary);
    background: rgba(166, 35, 38, 0.04);
}

.lang-option {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.7rem 1.1rem;
    text-align: left;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.875rem;
    border-radius: 14px;
    transition: background var(--duration-fast);
    cursor: pointer;
}

.lang-option:hover {
    background: var(--bg-panel);
}

.lang-option.active {
    background: rgba(166, 35, 38, 0.06);
}

.lang-name {
    color: var(--text-primary);
    font-weight: 500;
}

.lang-option.active .lang-name {
    color: var(--accent-primary);
    font-weight: 600;
}

.lang-code {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    background: var(--bg-panel);
    border: 1px solid var(--border-default);
    border-radius: 6px;
    padding: 2px 7px;
}

.lang-option.active .lang-code {
    color: var(--accent-primary);
    background: rgba(166, 35, 38, 0.06);
    border-color: rgba(166, 35, 38, 0.2);
}

/* Mobile language drawer */
.nav-drawer-lang {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.5rem;
}

.nav-drawer-lang-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-family: var(--font-body);
}

/* ── GR Logo island (derecha) */
.nav-logo-island-gr {
    position: absolute;
    right: 2rem;
    width: 140px;
    padding: 0 1rem;
}

.nav-logo-island-gr img {
    height: 34px;
    max-width: 100%;
    object-fit: contain;
    transition: transform var(--duration-fast) var(--ease-smooth);
}

.nav-logo-island-gr img:hover {
    transform: scale(1.05);
}

/* ── Mobile toggle */
.nav-mobile-toggle {
    position: absolute;
    right: 2rem;
    color: var(--text-primary);
    border: 1px solid var(--border-default);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    height: 56px;
    width: 56px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0;
    display: none;
    box-shadow: var(--shadow-panel);
}

.hamburger-line {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: transform var(--duration-fast) var(--ease-smooth), opacity var(--duration-fast) var(--ease-smooth);
}

.nav-mobile-toggle.active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-mobile-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.nav-mobile-toggle.active .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ══════════════════════════════════════════════════════════
   DROPDOWN MENUS (Desktop)
   ══════════════════════════════════════════════════════════ */
.nav-dropdown {
    position: relative;
    display: inline-block;
    height: 100%;
}

.nav-dropdown-trigger {
    background: transparent;
    border: none;
    padding: 0 10px;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
    transition: color var(--duration-fast);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    border-radius: 8px;
    white-space: nowrap;
    position: relative;
    height: 100%;
}

/* Underline igual que los links normales (como en Indegor/Spitze-Soft) */
.nav-dropdown-trigger::after {
    content:'';
    position: absolute;
    bottom: 8px; 
    left: 10px; 
    right: 10px;
    width: 0; 
    height: 2px;
    background: var(--accent-primary);
    transition: width var(--duration-normal) var(--ease-smooth);
}

.nav-dropdown-trigger:hover,
.nav-trigger-active {
    color: var(--accent-primary) !important;
}

.nav-dropdown-trigger:hover::after,
.nav-trigger-active::after {
    width: calc(100% - 20px) !important;
}

.dropdown-chevron {
    transition: transform var(--duration-fast) var(--ease-smooth);
    opacity: 0.6;
}

.nav-dropdown-trigger[aria-expanded="true"] .dropdown-chevron {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 12px;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--border-default);
    border-radius: 20px;
    min-width: 200px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 200;
    padding: 6px;
}

.nav-dropdown-menu.show {
    display: flex;
    animation: dropdownFadeIn 0.2s var(--ease-smooth) forwards;
}

.nav-dropdown.open .nav-dropdown-trigger {
    color: var(--accent-primary);
}

.nav-dropdown.open .nav-dropdown-trigger::after {
    width: calc(100% - 20px);
}

.nav-dropdown-link {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.7rem 1.1rem;
    text-align: left;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 0.875rem;
    text-decoration: none;
    border-radius: 14px;
    transition: all var(--duration-fast);
    cursor: pointer;
}

.nav-dropdown-link::after {
    display: none !important;
}

.nav-dropdown-link:hover:not(.nav-dropdown-link-active) {
    background: rgba(166, 35, 38, 0.05);
    color: var(--accent-primary);
}

.nav-dropdown-link-active {
    background: rgba(166, 35, 38, 0.06);
    color: var(--accent-primary);
    font-weight: 600;
}

.nav-dropdown-link-main {
    font-weight: 700;
    color: var(--accent-primary);
    background: rgba(166, 35, 38, 0.04);
}

.nav-dropdown-link-main:hover {
    background: rgba(166, 35, 38, 0.08) !important;
}

/* Contacto dropdown extras */
.nav-dropdown-contact {
    min-width: 230px;
}

.dropdown-contact-details {
    border-top: 1px solid var(--border-default);
    margin-top: 4px;
    padding-top: 4px;
    display: flex;
    flex-direction: column;
}

.dropdown-contact-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 1.1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    border-radius: 10px;
    transition: background var(--duration-fast), color var(--duration-fast);
    text-decoration: none;
}

.dropdown-contact-item:hover {
    background: var(--bg-panel);
    color: var(--text-primary);
}

.dropdown-contact-item svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════
   MOBILE DRAWER — sigue estructura de Goru
   ══════════════════════════════════════════════════════════ */
.nav-drawer {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    background: var(--bg-surface);
    padding: 2rem 1.5rem;
    flex-direction: column;
    gap: 1rem;
    overflow-y: auto;
}

.nav-drawer.open {
    display: flex;
}

.nav-drawer>a {
    font-size: 1.1rem;
    color: var(--text-primary);
    font-weight: 500;
    transition: color var(--duration-fast);
    padding: 0.4rem 0;
}

.nav-drawer>a:hover,
.nav-drawer>a.active {
    color: var(--accent-primary);
}

/* Drawer accordion — igual que Goru drawer-dropdown */
.drawer-accordion {
    width: 100%;
}

.drawer-accordion-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 500;
    padding: 0.4rem 0;
    cursor: pointer;
    text-align: left;
}

.drawer-accordion-trigger .dropdown-chevron {
    transition: transform var(--duration-fast) var(--ease-smooth);
    opacity: 0.7;
}

.drawer-accordion-trigger[aria-expanded="true"] .dropdown-chevron {
    transform: rotate(180deg);
    opacity: 1;
}

.drawer-accordion.open .drawer-accordion-trigger {
    color: var(--accent-primary);
}

.drawer-accordion-body {
    max-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding-left: 1rem;
    border-left: 1px solid var(--border-default);
    opacity: 0;
    transition: max-height var(--duration-normal) var(--ease-smooth), opacity var(--duration-normal) var(--ease-smooth), margin var(--duration-normal) var(--ease-smooth);
    margin-top: 0;
    margin-bottom: 0;
    gap: 0.25rem;
}

.drawer-accordion-body.open {
    max-height: 350px;
    opacity: 1;
    margin-top: 0.25rem;
    margin-bottom: 0.5rem;
}

.drawer-sub-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
    padding: 0.4rem 0;
    text-decoration: none;
    transition: color var(--duration-fast);
}

.drawer-sub-link:hover,
.drawer-sub-link.active {
    color: var(--accent-primary);
}

.nav-drawer-divider {
    border: none;
    border-top: 1px solid var(--border-default);
    margin: 0.25rem 0;
}

.nav-drawer-social {
    display: flex;
    gap: 1rem;
}

.nav-drawer-social a {
    color: var(--text-muted);
    display: flex;
    font-size: 0;
}

.nav-drawer-social a:hover {
    color: var(--accent-primary);
}

.nav-drawer-social svg {
    width: 24px;
    height: 24px;
}

/* ══════════════════════════════════════════════════════════
   BOTONES
   ══════════════════════════════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    border-radius: var(--radius-lg);
    transition: all var(--duration-fast) var(--ease-smooth);
    cursor: pointer;
    border: none;
    height: 48px;
}

.btn svg {
    flex-shrink: 0;
}

.btn-primary {
    background: var(--accent-primary);
    color: #ffffff;
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: scale(1.03);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--accent-primary);
    color: var(--accent-primary);
}

.btn-secondary:hover {
    background: rgba(166, 35, 38, 0.05);
}

/* ══════════════════════════════════════════════════════════
   HERO / SLIDER
   ══════════════════════════════════════════════════════════ */
.hero-slider-container {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

.slide-item {
    position: relative;
    width: 100%;
    height: 600px;
}

.slide-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    filter: brightness(60%);
}

.slide-overlay {
    position: relative;
    max-width: var(--max-w);
    margin: 0 auto;
    height: 100%;
    padding: 0 2rem;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    z-index: 2;
    padding-bottom: 5rem;
}

.slide-text-box {
    max-width: 500px;
    background: var(--accent-primary);
    color: #ffffff;
    padding: 1.5rem 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.3;
}

/* ══════════════════════════════════════════════════════════
   SECTIONS
   ══════════════════════════════════════════════════════════ */
.section {
    padding: 6rem 2rem;
}

.section-container {
    max-width: var(--max-w);
    margin: 0 auto;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.section-sub {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 700;
    color: var(--accent-primary);
    text-align: center;
    margin-bottom: 1.5rem;
}

.section-desc {
    font-family: var(--font-body);
    font-size: 1.125rem;
    color: var(--text-muted);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.7;
}

/* ══════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════ */
.site-footer {
    background: #111;
    color: #fff;
    border-top: 1px solid #222;
    padding: 4rem 2rem 2rem;
}

.footer-grid {
    max-width: var(--max-w);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.footer-logo img {
    height: 48px;
    margin-bottom: 1rem;
    object-fit: contain;
}

.footer-tagline {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: #aaa;
    max-width: 260px;
    line-height: 1.6;
}

.footer-col-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    color: var(--accent-primary);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: #aaa;
    transition: color var(--duration-fast);
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    max-width: var(--max-w);
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid #222;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-copy {
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: #666;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-social a {
    color: #aaa;
    display: flex;
    align-items: center;
    transition: color var(--duration-fast);
}

.footer-social a:hover {
    color: var(--accent-primary);
}

/* ── Product Card Carousel ── */
.product-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-panel);
    transition: transform var(--duration-fast) var(--ease-smooth), box-shadow var(--duration-fast) var(--ease-smooth), border-color var(--duration-fast) var(--ease-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card);
    border-color: rgba(166, 35, 38, 0.2);
}

.product-img-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    background: #f8f9fa;
}

.product-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s var(--ease-smooth);
}

.product-card:hover .product-img-wrapper img {
    transform: scale(1.06);
}

.product-info {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 0.75rem;
}

.product-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.8em;
}

.product-desc {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 3em;
}

.product-btn {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: rgba(166, 35, 38, 0.06);
    color: var(--accent-primary);
    border: none;
    border-radius: var(--radius-md);
    padding: 0.65rem 1rem;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: background var(--duration-fast), color var(--duration-fast), transform var(--duration-fast);
}

.product-btn:hover {
    background: var(--accent-primary);
    color: #ffffff;
    transform: translateY(-1px);
}

.product-btn svg {
    transition: transform var(--duration-fast);
}

.product-btn:hover svg {
    transform: translate(2px, -2px);
}

/* Product Meta, Price & Badges */
.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.25rem;
    margin-bottom: 0.5rem;
}

.product-price {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--accent-primary);
}

.product-stock {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.product-stock.in-stock {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.product-stock.out-of-stock {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.product-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #ffffff;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.product-badge.on-sale {
    background: #ffc107;
    color: #212529;
}

.product-badge.stock-out {
    background: #6c757d;
}

/* ══════════════════════════════════════════════════════════
   TIENDAS PAGE
   ══════════════════════════════════════════════════════════ */
.tiendas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.tienda-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tienda-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent-primary);
}

.tienda-detail {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
}

.tienda-detail svg {
    color: var(--accent-primary);
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.tienda-map {
    margin-top: 1rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 200px;
    border: 1px solid var(--border-default);
}

.tienda-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.tienda-phone-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    transition: color var(--duration-fast);
}

.tienda-phone-link:hover {
    color: #25d366;
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE — sigue exactamente el patrón de Goru
   ══════════════════════════════════════════════════════════ */
@media (max-width:1024px) {
    .nav-links-island {
        display: none;
    }

    .nav-logo-island-gr {
        display: none;
    }

    .nav-lang-island {
        display: none;
    }

    .nav-mobile-toggle {
        display: flex;
    }

    .footer-grid {
        grid-template-columns: 1.2fr 1fr 1fr 1fr;
    }
}

@media (max-width:768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width:640px) {
    .nav-lang-island {
        display: none;
    }

    .hero-slider-container {
        height: 400px;
    }

    .slide-item {
        height: 400px;
    }

    .slide-text-box {
        font-size: 1.25rem;
        padding: 1rem 1.5rem;
    }

    .section {
        padding: 4rem 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (prefers-reduced-motion:reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Google Translate Widget Oculto */
.goog-te-banner-frame,
.goog-te-banner,
.goog-te-menu-value,
.goog-te-gadget-icon,
#goog-gt-tt,
.goog-te-balloon-frame,
body>.skiptranslate,
.goog-tooltip,
.goog-tooltip:hover {
    display: none !important;
}

body {
    top: 0 !important;
}

/* ── Toast Notification System ── */
.admin-toast-container {
    position: fixed;
    top: 100px;
    /* modified to clear header */
    right: 24px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-end;
    pointer-events: none;
}

.admin-toast {
    pointer-events: auto;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 14px 24px;
    border-radius: 12px;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.9rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 320px;
    max-width: 480px;
    animation: toastSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    position: relative;
    overflow: hidden;
}

.admin-toast::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 100%;
    animation: toastProgress 4s linear forwards;
}

.admin-toast.toast-success::before {
    background: #10b981;
}

.admin-toast.toast-error::before {
    background: #ef4444;
}

.admin-toast.toast-success {
    border-color: rgba(16, 185, 129, 0.3);
}

.admin-toast.toast-error {
    border-color: rgba(239, 68, 68, 0.3);
}

@keyframes toastSlideIn {
    from {
        transform: translateX(40px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes toastSlideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(40px);
        opacity: 0;
    }
}

@keyframes toastProgress {
    from {
        width: 100%;
    }

    to {
        width: 0%;
    }
}

/* ==========================================================================
   LULIG CARD AND TECH HERO STYLES ADAPTED TO DIPROMACOM
   ========================================================================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-panel);
    transition: transform 0.25s var(--ease-smooth), box-shadow 0.25s var(--ease-smooth);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card);
}

.product-img-wrapper {
    width: 100%;
    height: 230px;
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-default);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    position: relative;
}

.product-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.product-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-tags-row {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.tag-pill {
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: 6px;
}

.accent-bg { background-color: rgba(226, 88, 23, 0.1); color: var(--accent-primary); }
.secondary-bg { background-color: #e0f2fe; color: #0284c7; }

.product-name {
    font-size: 17px;
    color: var(--text-primary);
    font-weight: 700;
    margin-bottom: 6px;
    line-height: 1.3;
}

.product-description {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-price {
    font-size: 20px;
    font-weight: 800;
    color: #10b981;
}

.price-block {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.promo-badge-pill {
    display: inline-block;
    background: #ff5500;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 20px;
    letter-spacing: 0.3px;
    width: fit-content;
}

.price-original {
    font-size: 13px;
    color: #94a3b8;
    text-decoration: line-through;
    font-weight: 500;
}

.price-final {
    font-size: 20px;
    font-weight: 800;
    color: #10b981;
    line-height: 1;
}

.product-card.has-promo {
    border-color: rgba(226, 88, 23, 0.2);
    box-shadow: 0 2px 12px rgba(226, 88, 23, 0.08);
}

.product-card.has-promo:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 10px 24px rgba(226, 88, 23, 0.12);
}

.promo-corner-label {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, #ff5500, #ff9900);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(255, 85, 0, 0.3);
}

.btn-add-submit {
    background-color: var(--accent-primary);
    color: #ffffff;
    border: none;
    padding: 10px 18px;
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s;
    text-decoration: none;
}
.btn-add-submit:hover {
    background-color: var(--accent-hover);
}