 :root {
     --primary: #ffff;
     --primary-dark: #f19d00;
     --azul: #0067aa;
     --accent: #1f2937;
     --bg: #f5f5f5;
     --card: #ffffff;
     --muted: #6b7280;
     --stroke: #e5e7eb;
     --shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
     --green: #0ca44a;
     --orange: #ff8a00;
     --red: #ef4444;
     --text-color: #333;
 }

 * {
     box-sizing: border-box;
 }

 body {
     margin: 0;
     font-family: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
     background: var(--bg);
     color: #111827;
     line-height: 1.5;
 }

 a {
     color: #000;
     text-decoration: none;
 }

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

 .container {
     max-width: 1240px;
     margin: 0 auto;
     padding: 0 16px;
 }

 /* Top utility line */
 .top-mini {
     background: #f8f8f9;
     color: #4b5563;
     font-size: 13px;
     border-bottom: 1px solid var(--stroke);
     padding: 6px 0;
 }

 .mini-row {
     display: flex;
     align-items: center;
     justify-content: space-between;
     gap: 10px;
     flex-wrap: wrap;
 }

 .mini-row span {
     display: inline-flex;
     align-items: center;
     gap: 6px;
 }

 /* Header */
 header {
     background: var(--card);
     box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
     position: sticky;
     top: 0;
     z-index: 20;
 }

 .nav-row {
     display: grid;
     grid-template-columns: 200px 1fr 260px;
     align-items: center;
     gap: 16px;
     padding: 14px 16px;
 }

 .header-main {
     background: var(--card);
     border-bottom: 1px solid var(--stroke);
 }

.header-row {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 2px 0;
    flex-wrap: nowrap;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #0067aa;
    margin-left: auto;
}

.nav-links.is-open {
    display: flex !important;
}

 .header-row .brand {
     justify-content: flex-start;
     flex: 0 0 auto;
    padding-top: 3px;
    padding-bottom: 3px;
 }

.nav-links {
    list-style: none;
    margin: 0 10px;
    padding: 5px;
    display: flex;
    gap: 25px;
    font-size: 15px;
    flex: 0 0 auto;
    justify-content: center;
}

 .nav-links a {
     color: #0067aa;
     padding: 8px 0;
     display: inline-flex;
     position: relative;
     transition: color 0.25s ease;
     text-decoration: none;
     font-family: Arial, Helvetica, sans-serif;
     font-size: 17px;
 }

 /* Keep the active item highlighted */
 .nav-links li.active a,
 .nav-links a.active {
     color: #f19d00;
 }

 .nav-links li.active a::after,
 .nav-links a.active::after {
     transform: scaleX(1);
 }

 .nav-links a::after {
     content: "";
     position: absolute;
     left: 0;
     bottom: -4px;
     width: 100%;
     height: 2px;
     background: #f19d00;
     transform: scaleX(0);
     transform-origin: left;
     transition: transform 0.25s ease;
 }
  .nav-links a:active {
     color: #f19d00;
 }

 .nav-links a:hover {
     color: #f19d00;
 }

 .nav-links a:hover::after {
     transform: scaleX(1);
 }

 .header-actions {
     display: flex;
     align-items: center;
     gap: 16px;
     flex: 1;
     justify-content: flex-end;
 }

 .header-actions .search-box {
     flex: 1;
     min-width: 280px;
 }

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

 .header-icon {
      color: var(--red);
     background: none;
     border: none;
     font-size:18px;
     cursor: pointer;
     position: relative;
     color: #111111;
 }

 .header-icon .notif {
     position: absolute;
     top: -6px;
     right: -4px;
     background: #ef4444;
     color: #fff;
     border-radius: 999px;
     padding: 2px 6px;
     font-size: 10px;
     font-weight: 700;
 }

 .brand {
     display: flex;
     gap: 10px;
     align-items: center;
     font-weight: 800;
     letter-spacing: 0.4px;
 }

 .brand-mark {
     width: 44px;
     height: 44px;
     border-radius: 12px;
     background: linear-gradient(135deg, var(--primary), var(--primary-dark));
     display: grid;
     place-items: center;
     font-weight: 800;
     color: #111;
 }

 .brand small {
     display: block;
     color: var(--muted);
     font-weight: 600;
 }

 .search {
     display: grid;
     grid-template-columns: 1fr auto;
     gap: 8px;
     background: #f3f4f6;
     padding: 4px;
     border-radius: 12px;
     border: 1px solid var(--stroke);
 }

 .search input {
     border: none;
     background: transparent;
     padding: 10px 14px;
     font-size: 14px;
     outline: none;
 }

 .btn {
     border: none;
     cursor: pointer;
     border-radius: 10px;
     font-weight: 700;
     transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
 }

 .btn-primary {
     background: var(--accent);
     color: #fff;
     padding: 10px 16px;
     gap: 12px;             
     justify-content: flex-start;
    
 }

 .btn-primary:hover {
     transform: translateY(-1px);
     box-shadow: var(--shadow);
 }

 .utility {
     display: flex;
     gap: 10px;
     justify-content: flex-end;
     align-items: center;
 }

 .icon-btn {
     width: 44px;
     height: 44px;
     border-radius: 12px;
     border: 1px solid var(--stroke);
     background: #fff;
     display: grid;
     place-items: center;
     font-size: 18px;
     position: relative;
     transition: transform 0.2s ease, box-shadow 0.2s ease;
 }

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

 .badge {
     position: absolute;
     top: 6px;
     right: 6px;
     background: var(--red);
     color: #fff;
     border-radius: 999px;
     padding: 2px 6px;
     font-size: 11px;
     font-weight: 700;
 }

 /* Categories bar */
 .nav-bar {
     background: var(--primary);
     color: #fa8d07;
 
 }

 .nav-bar ul {
     list-style: none;
     margin: 0;
     padding: 0;
     display: flex;
     gap: 18px;
     align-items: center;
     flex-wrap: wrap;
     font-weight: 700;
     font-size: 14px;
 }

 .nav-bar ul.nav-links {
     justify-content: flex-end;
     width: 100%;
 }

 .nav-bar a {
     padding: 12px 0;
     display: inline-flex;
     align-items: center;
     gap: 6px;
 }

 .nav-bar .all {
     background: #111827;
     color: #fff;
     padding: 10px 12px;
     border-radius: 10px;
 }

.hero {
    background: #f4f7fb;
    padding: 0px 0 0px;
    
}

.hero--fullwidth {
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    width: 100vw;
    padding: 0;
}

.hero--fullwidth .hero-slider-stage,
.hero--fullwidth .hero-main {
    border-radius: 0;
    margin: 0;
}

.hero-slider .container {
     max-width: none;
     padding: 0px;
}

.hero-slider-stage {
    position: relative;
    width: 100%;
    min-height: 300px;
    overflow: hidden;
}

.hero-slider--content .hero-slider-stage {
    min-height: auto;
    overflow: visible;
}

 .hero-main {
     background: linear-gradient(135deg, #ffffff, #eef1f9);
     border-radius: 0;
     padding: 0;
     position: relative;
     width: 100%;
     box-shadow: 0 50px 75px rgba(15, 23, 42, 0.15);
     border: none;
     background-size: 220% 220%;
     animation: heroAura 16s ease-in-out infinite;
 }

 .hero-main::before {
     content: "";
     position: absolute;
     inset: 0;
     border-radius: 0;
     padding: 1px;
     background: linear-gradient(140deg, rgba(249, 115, 22, 0.05), rgba(59, 130, 246, 0.08));
     z-index: 0;
 }

.hero-slides {
    position: relative;
    width: 100%;
}

.hero-slider--content .hero-slides {
    position: static;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: clamp(24px, 4vw, 48px);
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    padding-top: 0;
    align-items: center;
}

.hero-slider--content .hero-slide {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transform: none;
}

.hero-slider--content .hero-slide:not(.active) {
    display: none;
}

 .hero-slide.active {
    opacity: 1;
    transform: translateY(0);
    z-index: 1;
    pointer-events: auto;
}

.hero-slider--content .hero-slide img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.hero-text,
.hero-visual {
    position: relative;
    z-index: 1;
}

 .hero-text {
     width: 100%;
     padding-right: clamp(4px, 3vw, 32px);
 }

 .hero-text::before {
     content: "";
     position: absolute;
     inset: -8px 0 -8px 0;
     background: linear-gradient(120deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.35));
     z-index: -1;
     border-radius: 44px;
     width: 100%;
 }

 .hero-subtitle {
     display: inline-block;
     font-size: 14px;
     text-transform: uppercase;
     letter-spacing: 0.2em;
     color: #7c8aa4;
     margin-bottom: 12px;
 }

 .hero-text h1 {
     font-size: clamp(32px, 5vw, 54px);
     margin: 0;
     color: #0f172a;
     line-height: 1.15;
 }

 .hero-text p {
     margin: 0;
     color: #475569;
     max-width: 520px;
     line-height: 1.6;
 }

 .hero-visual figure {
     margin: 0;
     border-radius: 28px;
     overflow: hidden;
     box-shadow: 0 25px 45px rgba(15, 23, 42, 0.25);
 }

 .hero-visual figure img {
    width: 100%;
    height: 400px;        /* altura real del banner */
    object-fit: contain; /* 👈 CLAVE */
    background: #000;    /* opcional */

 }

 .hero-main:hover .hero-visual figure img {
     transform: scale(1.02);
     filter: brightness(1.05);
     box-shadow: 0 35px 60px rgba(15, 23, 42, 0.35);
 }

 @keyframes heroAura {
     0% {
         background-position: 0% 50%;
     }

     50% {
         background-position: 100% 50%;
     }

     100% {
         background-position: 0% 50%;
     }
 }

 .hero-mini {
     display: flex;
     gap: 14px;
     margin-top: 18px;
 }

 .hero-mini img {
     width: 72px;
     height: 56px;
     border-radius: 16px;
     object-fit: cover;
     border: 2px solid rgba(255, 255, 255, 0.8);
     box-shadow: 0 12px 24px rgba(15, 23, 42, 0.25);
 }

 .hero-controls {
     position: absolute;
     bottom: 28px;
     left: 50%;
     transform: translateX(-50%);
     display: flex;
     align-items: center;
     gap: 16px;
     z-index: 2;
 }

 .hero-control {
     border: none;
     width: 42px;
     height: 42px;
     border-radius: 999px;
     background: rgba(17, 24, 39, 0.15);
     color: #0f172a;
     font-size: 18px;
     cursor: pointer;
     transition: background 0.3s ease;
 }

 .hero-control:hover {
     background: rgba(17, 24, 39, 0.3);
 }

 .hero-dots {
     display: flex;
     gap: 10px;
 }

 .hero-dot {
     border: none;
     width: 12px;
     height: 12px;
     border-radius: 999px;
     background: rgba(15, 23, 42, 0.3);
     cursor: pointer;
     transition: background 0.2s ease;
 }

 .hero-dot.active {
     background: #f97316;
 }

 .btn-bright {
     background: linear-gradient(135deg, #facc15, #f97316);
     color: #111;
     border-radius: 999px;
     padding: 12px 28px;
     font-size: 15px;
     box-shadow: 0 12px 20px rgba(250, 204, 21, 0.35);
 }

 .hero-cta {
     display: flex;
     gap: 10px;
     flex-wrap: wrap;
     align-items: center;
 }

.btn-ghost {
    background: transparent;
     color: #fff;
     border: 1px solid rgba(255, 255, 255, 0.3);
     padding: 10px 16px;
 }

 .hero-side {
     display: grid;
     gap: 10px;
 }

 .card-mini {
     background: var(--card);
     border: 1px solid var(--stroke);
     border-radius: 12px;
     padding: 14px;
     display: grid;
     grid-template-columns: 1fr 0.9fr;
     gap: 10px;
     align-items: center;
     box-shadow: var(--shadow);
 }

 .card-mini figure {
     margin: 0;
     background: #f3f4f6;
     border-radius: 10px;
     min-height: 80px;
     display: grid;
     place-items: center;
     color: var(--muted);
     font-weight: 700;
     position: relative;
     overflow: hidden;
 }

 .card-mini figure::after {
     content: "IMG";
     position: absolute;
     color: rgba(0, 0, 0, 0.06);
     font-size: 36px;
 }

 /* Feature row */
 .features {
     background: #fff;
     border: 1px solid var(--stroke);
     border-radius: 12px;
     padding: 12px;
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
     gap: 10px;
     box-shadow: var(--shadow);
 }

 .feat {
     display: flex;
     align-items: center;
     gap: 10px;
     font-weight: 700;
 }

 .feat .icon {
     width: 40px;
     height: 40px;
     border-radius: 10px;
     background: rgba(17, 24, 39, 0.08);
     display: grid;
     place-items: center;
     font-size: 18px;
 }

 /* Category icons */
 .section {
     padding: 15px 0;
 }

 .about-hero {
     background: #eef1f5;
     padding: 70px 0 60px;
 }

 .about-hero__grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
     gap: 40px;
     align-items: center;
 }

 .about-hero__text h2 {
     margin-top: 8px;
     font-size: clamp(32px, 3.6vw, 44px);
     color: #0f172a;
 }

.about-hero__text p {
    color: #1f2937;
    line-height: 1.8;
}

.about-hero__visual {
    position: relative;
}

.about-hero__carousel {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 30px 55px rgba(15, 23, 42, 0.25);
    background: #fff;
    min-height: 360px;
}

.about-hero__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.6s ease;
    display: grid;
}

.about-hero__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-hero__slide[data-active] {
    opacity: 1;
    position: relative;
}

.about-hero__carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: rgba(235, 234, 234, 0.268);
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, background 0.2s ease;
}

.about-hero__carousel-control:hover {
    transform: translateY(-50%) scale(1.05);
    background: rgba(15, 23, 42, 0.95);
}

.about-hero__carousel-control--prev {
    left: 12px;
}

.about-hero__carousel-control--next {
    right: 12px;
}

.about-hero__carousel-indicators {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.about-hero__indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(15, 23, 42, 0.3);
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.about-hero__indicator--active {
    background: #f97316;
    transform: scale(1.15);
}

.about-hero__eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.3em;
     color: #f97316;
     font-weight: 600;
     margin: 0;
     font-size: 0.85rem;
 }

 .about-hero__image-inner {
     border-radius: 22px;
     overflow: hidden;
     box-shadow: 0 20px 50px rgba(15, 23, 42, 0.18);
 }

 .about-hero__image img {
     width: 100%;
     display: block;
     object-fit: cover;
     height: 100%;
     min-height: 320px;
 }

 .about-gallery {
     padding: 40px 0;
     background: #fff;
 }

 .about-gallery__image {
     border-radius: 20px;
     overflow: hidden;
     box-shadow: 0 24px 70px rgba(0, 0, 0, 0.12);
 }

 .about-gallery__image img {
     width: 100%;
     display: block;
     object-fit: cover;
     max-height: 360px;
 }

 .mission-vision {
     padding: 60px 0;
     background: #f9fafb;
 }

 .mission-vision__grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
     gap: 48px;
 }

 .mission-vision__grid article {
     background: #fff;
     border-radius: 20px;
     padding: 32px;
     box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
     display: flex;
     flex-direction: column;
     gap: 16px;
 }

 .mission-vision h3 {
     margin: 0;
     font-size: 1.85rem;
     color: #0f172a;
 }

 .divider {
     width: 60px;
     height: 4px;
     background: #0067aa;
     border-radius: 999px;
 }

 .mission-vision__list {
     list-style: disc;
     padding-left: 20px;
     color: #475569;
     margin: 0;
     display: grid;
     gap: 8px;
 }

 .timeline-section {
     padding-bottom: 60px;
 }

.timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.timeline-item {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.timeline-item h4 {
    margin: 0;
    font-size: 1.35rem;
    color: #f97316;
}

.timeline-item p {
    margin: 8px 0 0;
    color: #475569;
}

.timeline-card__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.timeline-card {
    background: #fff;
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
    border: 1px solid rgba(15, 23, 42, 0.05);
}

.timeline-card__year {
    font-size: 2rem;
    font-weight: 700;
    color: #f97316;
    margin: 0 0 12px;
}

.timeline-card p {
    margin: 0;
    line-height: 1.6;
    color: #475569;
}

.values-section {
    padding: 60px 0 80px;
    background: #fff;
    text-align: center;
}

.values-section__title {
    font-size: clamp(1.5rem, 2vw, 2rem);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 32px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 30px;
    align-items: center;
    justify-items: center;
}

.value-card {
    display: grid;
    gap: 10px;
    place-items: center;
    color: #0f172a;
}

.value-card i {
    font-size: 2rem;
    color: #f97316;
}

.value-card p {
    margin: 0;
    font-weight: 600;
}

.section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.section-title h2 {
    margin: 0;
    font-size: 22px;
}

.section-title p {
    margin: 0;
    color: var(--muted);
}

.contact-card {
    background: #fff;
    border: 1px solid var(--stroke);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-form label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-weight: 600;
    color: #1f2937;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border-radius: 10px;
    border: 1px solid var(--stroke);
    padding: 10px 12px;
    font-family: inherit;
    font-size: 0.95rem;
    resize: vertical;
}

.contact-form button {
    align-self: flex-start;
    padding: 10px 24px;
}

.contact-section {
    background: #f6f7f9;
    border-radius: 24px;
    margin: 18px 0 40px;
    padding: 24px 0;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(320px, 1.15fr) minmax(320px, 0.85fr);
    gap: 28px;
    margin-top: 28px;
    align-items: start;
}

.contact-map-column {
    display: grid;
    gap: 20px;
}

.contact-map {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
    border: 1px solid rgba(15, 23, 42, 0.08);
    min-height: 360px;
}

.contact-map iframe {
    width: 100%;
    min-height: 390px;
    border: 0;
    display: block;
}

.contact-info-block {
    background: #fff;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.contact-info-block h3 {
    margin-top: 0;
    margin-bottom: 14px;
    font-size: 1.4rem;
}

.contact-form-panel {
    background: #f3f4f7;
    border-radius: 20px;
    padding: 26px;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.1);
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.contact-form-panel h3 {
    margin-top: 0;
    margin-bottom: 16px;
    font-size: 1.4rem;
}

.contact-form-panel .contact-form label {
    background: #fff;
    border-radius: 12px;
    padding: 10px 14px;
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.08);
}

.contact-form-panel .contact-form label:last-of-type {
    padding-bottom: 8px;
}

.contact-form-panel .contact-form input,
.contact-form-panel .contact-form textarea {
    border: 1px solid #e2e8f0;
    background: #fff;
}

.contact-form-panel .contact-form button {
    background: #2563eb;
    border: none;
    color: #fff;
    border-radius: 8px;
    font-weight: 700;
}

.contact-form-panel .contact-form button:hover {
    background: #1d4ed8;
}

@media (max-width: 980px) {
    .contact-section {
        border-radius: 0;
        margin: 0;
        padding: 18px 0 10px;
    }

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

/* Disable banner zoom/scale across hero sliders */
.hero-slider--content .hero-slide img {
    transform: none;
    animation: none;
    transition: filter 0.8s ease;
}

.hero-slide.active img {
    transform: none;
    animation: none;
}

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

.cat {
    background: #fafafa;
    border: 1px solid var(--stroke);
    border-radius: 10px;
    padding: 14px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
    display: block;
    text-decoration: none;
    color: #f19d00;
}

 .cat .dot {
     width: 48px;
     height: 48px;
     border-radius: 12px;
     border: 1px solid var(--stroke);
     background: #fff;
     display: grid;
     place-items: center;
     font-size: 20px;
     margin: 0 auto 8px;
 }

 .cat .dot i {
     font-size: 20px;
     color: var(--orange);
     font-style: normal;
 }

 /* Products */
.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}

 .product {
     background: var(--card);
     border: 1px solid var(--stroke);
     border-radius: 12px;
     padding: 12px;
     position: relative;
     box-shadow: 0 10px 26px rgba(0, 0, 0, 0.05);
     display: grid;
     gap: 8px;
 }

 .product .flag {
     position: absolute;
     top: 10px;
     left: 10px;
     background: var(--red);
     color: #fff;
     padding: 4px 8px;
     border-radius: 8px;
     font-size: 11px;
     font-weight: 800;
 }

 .product figure {
     margin: 0;
     height: 140px;
     border-radius: 10px;
    
     display: grid;
     place-items: center;
     color: #111;
     font-weight: 800;
     position: relative;
     overflow: hidden;
 }

 .product figure::after {
     content: "IMG";
     position: absolute;
     color: rgba(0, 0, 0, 0.06);
     font-size: 50px;
 }

 .product h3 {
     margin: 0;
     font-size: 16px;
 }

 .product p {
     margin: 0;
     color: var(--muted);
     font-size: 13px;
 }

 .meta {
     display: flex;
     justify-content: space-between;
     align-items: center;
     gap: 6px;
 }

 .price {
     font-weight: 800;
     font-size: 18px;
 }

 .old {
     color: var(--muted);
     text-decoration: line-through;
     font-size: 13px;
 }

 .rating {
     color: #f59e0b;
     font-weight: 700;
 }

 .btn-cart {
     background: var(--green);
     color: #fff;
     border: none;
     border-radius: 8px;
     padding: 10px 12px;
     font-weight: 700;
     cursor: pointer;
     display: flex;
     flex-direction: column;
     margin-top: auto;
 }

 /* Hot deals strip */
 .strip {
     background: #111827;
     color: #fff;
     border-radius: 12px;
     padding: 14px 16px;
     margin: 16px 0;
     display: flex;
     align-items: center;
     gap: 10px;
     justify-content: space-between;
     box-shadow: var(--shadow);
 }

 .strip strong {
     font-size: 18px;
 }

/* Trio banners */
.triad {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 10px;
}

.tile {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    color: #fff;
    padding: 18px;
    min-height: 120px;
    box-shadow: var(--shadow);
    display: flex;
    justify-content: center;
    align-items: center;
}

.tile::after {
    display: none;
}

.tile img {
    width: 100%;
    max-height: 200px;
    object-fit: contain;
    display: block;
    pointer-events: none;
}

 /* Testimonials */
 .testimonials {
     background: #fff;
     border: 1px solid var(--stroke);
     border-radius: 12px;
     padding: 18px;
     box-shadow: var(--shadow);
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
     gap: 12px;
 }

 .quote {
     background: #f9fafb;
     border: 1px solid var(--stroke);
     border-radius: 10px;
     padding: 14px;
 }

 .quote strong {
     display: block;
     margin-bottom: 6px;
 }

 /* Brands */
 .brands {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
     gap: 12px;
     text-align: center;
 }

 .brand-chip {
     background: #fff;
     border: 1px dashed var(--stroke);
     padding: 12px;
     max-width: 292px;
     border-radius: 20px;
     font-weight: 700;
     box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
     display: flex;
     justify-content: center;
     cursor: pointer;
 }

 /* Blog */
 .blog {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
     gap: 12px;
 }

 .post {
     background: #fff;
     border: 1px solid var(--stroke);
     border-radius: 12px;
     overflow: hidden;
     box-shadow: var(--shadow);
 }

 .post figure {
     margin: 0;
     height: 150px;
     background: linear-gradient(135deg, #e5e7eb, #d1d5db);
     display: grid;
     place-items: center;
     position: relative;
 }

 .post figure::after {
     content: "IMG";
     position: absolute;
     color: rgba(0, 0, 0, 0.08);
     font-size: 46px;
     font-weight: 800;
 }

 .post .body {
     padding: 12px;
 }

 .post h4 {
     margin: 0 0 6px;
 }

 .post p {
     margin: 0;
     color: var(--muted);
     font-size: 14px;
 }

 /* Newsletter */
 .newsletter {
     background: #fff;
     border: 1px solid var(--stroke);
     border-radius: 12px;
     padding: 18px;
     box-shadow: var(--shadow);
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
     gap: 12px;
     align-items: center;
 }

 .news-input {
     display: grid;
     grid-template-columns: 1fr auto;
     gap: 10px;
 }

 .news-input input {
     padding: 12px 14px;
     border: 1px solid var(--stroke);
     border-radius: 10px;
     font-size: 14px;
 }

 /* Footer */
 footer {
     background: #0067aa;
     color: #fff;
     /* padding: 10px 0 0;
     margin-top: 10px; */
 }

 .footer-grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
     gap: 16px;
 }

 .footer-grid h4 {
     margin: 0 0 10px;
     color: #fff;
 }

 .footer-grid ul {
     list-style: none;
     margin: 0;
     padding: 0;
     display: grid;
     gap: 6px;
 }

 .footer-grid li {
     color: #94a3b8;
 }

 .footer-bottom {
     background: var(--primary);
     color: #111;
     margin-top: 18px;
     padding: 12px 0;
 }

 .footer-bottom .row {
     display: flex;
     align-items: center;
     justify-content: space-between;
     gap: 12px;
     flex-wrap: wrap;
     font-weight: 700;
 }

 .pay {
     display: flex;
     gap: 8px;
     align-items: center;
 }

 .pay span {
     background: #fff;
     border-radius: 6px;
     padding: 6px 10px;
     font-weight: 700;
     border: 1px solid #f2d64d;
 }

 /* Reveal */
 .reveal {
     opacity: 0;
     transform: translateY(12px);
     transition: all 0.6s ease;
 }

 .reveal.visible {
     opacity: 1;
     transform: translateY(0);
 }

@media (max-width: 960px) {
   .header-row {
       flex-wrap: wrap;
       gap: 16px;
   }

   .brand {
       flex: 1 1 100%;
       justify-content: center;
   }

   .menu-toggle {
       display: block;
       margin-left: auto;
   }

    .nav-links {
        flex: 1 1 100%;
        justify-content: center;
        margin: 0;
        padding: 0;
        gap: 20px;
        display: none;
        flex-direction: column;
        align-items: center;
    }

    .header-actions {
        flex: 1 1 100%;
        justify-content: center;
    }

    .search-box {
        min-width: 0;
        width: 100%;
    }

    .icon-group {
        justify-content: center;
    }

    .top-bar .container {
        flex-direction: column;
        gap: 6px;
    }

    .top-bar .feat {
        margin-left: 0;
        display: none;
    }

    .social-media {
        display: none;
    }
}

@media (max-width: 768px) {
    .top-bar .container {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .top-bar .feat {
        margin-left: 0;
        display: none;
    }

    .nav-links {
        margin: 0;
        gap: 16px;
    }

    .header-actions {
        flex-direction: column;
        width: 100%;
    }

    .header-actions .search-box {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        font-size: 16px;
    }

    .header-actions {
        flex-direction: column;
        gap: 10px;
    }

    .search-box {
        width: 100%;
    }

    .brand img {
        height: 60px !important;
    }
}

@media (max-width: 960px) {
    .top-bar .feat,
    .social-media {
        display: none !important;
    }
}

     .nav-bar a {
         padding: 10px 0;
     }

     .slide {
         grid-template-columns: 1fr;
     }
 
.search-box {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    /* Espacio entre input y bot?n */
    flex: 1;
    flex-wrap: nowrap;
}

/* Input del buscador */
 .buscador {
    padding: 10px;
    flex: 1;
    min-width: 0;
    font-size: 16px;
    border-radius: 10px;
    border: 1px solid var( --azul);
    height: 28px;
    /* MISMA ALTURA QUE EL BOTON */
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
 }
 
 .buscador:focus {
    border-color: var( --azul);
    /* box-shadow: 0 0 0 2px rgba(0, 103, 170, 0.2); */
    outline: none;
 }
.bi{
    color:  var(--azul);
}
.search-button{
    border-radius: 10px;
    background-color: transparent;
    border: 0px ;
    color: var( --azul);
    padding: 7px;
}
/* --- 1. Barra Superior (Top Bar) --- */
.top-bar {
    background: #0067aa;
    color: white;
    font-size: 0.8em;
    padding: 4px 0;
}

.top-bar .container {
      display: flex;
      justify-content: space-between;
      align-items: center;
      /* gap: 14px; */
      
  }
  .top-bar .feat {
       margin-left: auto;
      margin-right: 20px;
      display: flex;
      align-items: center;
      gap: 14px;
      font-weight: 700;
      color: #fff;
  }

  .top-bar .feat .icon {
      width: auto;
      height: auto;
      border: none;
      background: transparent;
      font-size: 16px;
  }
  .social-media a {
      color: white;
      margin-left: 10px;
   }

.brand-carousel {
    display: block;
    overflow: hidden;
}

.brand-carousel .brand-track {
    display: flex;
    gap: 18px;
    align-items: center;
    width: max-content;
    will-change: transform;
}

.brand-carousel .brand-chip {
    flex: 0 0 auto;
    min-width: 150px;
    padding: 10px 20px;
    background: #fff;
}

.brand-carousel .brand-chip img {
    width: 140px;
    height: 60px;
    object-fit: contain;
    filter: grayscale(0.2);
    opacity: 0.9;
    transition: opacity 0.2s ease, filter 0.2s ease;
}

.brand-carousel .brand-chip img:hover {
    opacity: 1;
    filter: none;
}
.brand-logo-card {
    border-radius: 18px;
    background: #fff;
    padding: 16px;
}
.brand-logo-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  
}
.brand-logo-card .card-body {
    padding: 24px;
    min-height: 140px;
}
.img_figure{
    width: 150px;
    height: auto;
}

.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    display: none;
    z-index: 900;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.cart-overlay.is-visible {
    display: block;
    opacity: 1;
}

.cart-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 320px;
    max-width: 90vw;
    height: 100vh;
    background: var(--card, #fff);
    border-left: 1px solid var(--stroke);
    box-shadow: -12px 0 40px rgba(15, 23, 42, 0.3);
    transform: translateX(110%);
    transition: transform 0.25s ease;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    padding: 10px;
    overflow-x: hidden;
}

.cart-panel.is-open {
    transform: translateX(0);
}

.cart-panel__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.cart-panel__header h3 {
    margin: 0;
    font-size: 1.2rem;
}

.cart-panel__close {
    border: none;
      color: #ef4444; 
    background: transparent;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    color: var(--muted);
}

.cart-panel__content {
    flex: 1;
    overflow-y: auto;
    margin-bottom: 12px;
}

.cart-empty {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
}

.cart-items {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}





.cart-item__meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.9rem;
    min-width: 0; /* CLAVE para evitar overflow */
}

.cart-item strong {
    font-weight: 600;
}

.cart-remove-btn {
    border: none;
    background: transparent;
    padding: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    cursor: pointer;
    color: var(--red);
}

.cart-remove-btn:hover {
    background: rgba(239, 68, 68, 0.1);
}

.cart-remove-btn:focus-visible {
    outline: 2px solid rgba(59, 130, 246, 0.5);
    outline-offset: 2px;
}

.cart-remove-btn .bi {
    color: var(--red);
}


.cart-panel__footer {
    border-top: 1px solid var(--stroke);
    padding-top: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-panel__summary span {
    font-size: 0.85rem;
    color: var(--muted);
}

.cart-panel__summary strong {
    font-size: 1.2rem;
    margin-left: 8px;
}

.cart-panel button.btn {
    padding: 8px 18px;
    font-weight: 600;
}

@media (max-width: 640px) {
    .cart-panel {
        width: 100%;
        max-width: 100%;
    }
}


.cart-qty {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
}

.cart-qty button {
  width: 28px;
  height: 28px;
  border: 1px solid #ddd;
  background: #f8fafc;
  cursor: pointer;
  font-size: 16px;
  border-radius: 4px;
}

.cart-qty input {
  width: 42px;
  /* pointer-events: auto; */
  text-align: center;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.account-wrap {
  position: relative;
}

/* Account panel styles */
.account-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 950;
}

.account-overlay.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.account-panel {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -48%);
    background: linear-gradient(180deg, #f8fafc, #eaecf0);
    width: min(480px, 92vw);
    max-height: calc(100vh - 48px);
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.35);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 960;
    display: grid;
    gap: 16px;
}

.account-panel.is-open {
    opacity: 1;
    transform: translate(-50%, -50%);
    pointer-events: auto;
}
/* 
 .account-panel__scroll {
    display: grid;
    gap: 16px;
    overflow-y: auto;
    max-height: 100%;
    padding-right: 4px; 
}  */

.account-card {
    background: #fff;
    border-radius: 18px;
    padding: 20px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 12px 25px rgba(15, 23, 42, 0.12);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.account-card--hidden {
    display: none;
}

.account-card--welcome {
    text-align: center;
}

.account-card__title {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #111827;
}

.account-card__subtitle {
    margin: 0;
    color: #6b7280;
    font-size: 0.95rem;
}

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

.account-form--single {
    grid-template-columns: 1fr;
}

.account-form__field:nth-child(odd) {
    grid-column: span 1;
}

.account-form__field {
    width: 100%;
}

.account-form__field {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.85rem;
    color: #475569;
    font-weight: 600;
}

.account-form__field--wide {
    grid-column: span 2;
}

.account-form__field input {
    border-radius: 8px;
    border: 1px solid #d1d5db;
    padding: 12px 12px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background: #fdfdfd;
}

.account-form__field input:focus {
    outline: none;
    border-color: #0067aa;
    box-shadow: 0 0 0 2px rgba(0, 103, 170, 0.18);
}

.account-btn {
    border: none;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    background: #0067aa;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.account-btn--full {
    width: 100%;
    grid-column: 1 / -1;
}

.account-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(0, 103, 170, 0.25);
}

.account-btn--accent {
    background: #0067aa;
}

.account-card__note {
    margin: 0;
    font-size: 0.9rem;
    color: #475569;
}

.account-link {
    font-weight: 700;
    color:  #0067aa;
    cursor: pointer;
}

.account-link:hover {
    text-decoration: underline;
}

.account-status {
    padding: 10px 14px;
    border-radius: 10px;
    background: #ecfdf5;
    border: 1px solid #86efac;
    color: #065f46;
    font-size: 0.9rem;
}

.account-status--error {
    background: #fef9c3;
    border-color: #fde68a;
    color: #92400e;
}

.account-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: transparent;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #6b7280;
}

@media (max-width: 600px) {
    .account-panel {
        width: calc(100vw - 32px);
        padding: 20px;
    }

    .account-card {
        padding: 18px;
    }
}



.search-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(0,0,0,.15);
  display: none;
  z-index: 9999;
}

.search-suggestions.active {
  display: block;
}

.search-suggestion {
  padding: 10px 14px;
  cursor: pointer;
  font-size: 14px;
  border-bottom: 1px solid #eee;
}

.search-suggestion:hover {
  background: #f97316;
  color: #fff;
}

.highlight-product {
  outline: 2px solid #ff7a00;
  border-radius: 6px;
}


.product-actions {
  display: flex;
  gap: 10px;          /* espacio entre botones */
  margin-top: 12px;
  align-items: center;
}
.product-actions .btn-cart,
.product-actions .btn {
  height: 42px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}



.cart-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #e5e7eb;
  overflow-x: hidden;
}

.cart-item img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 8px;
}

.cart-item strong {
  display: block;
}


.cart-actions {
  margin-top: 20px;
  display: flex;
  gap: 14px;              /* 👈 ESPACIO ENTRE BOTONES */
  justify-content: flex-start;
  align-items: center;
}


.cart-remove{
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px; /* tamaño del icono */
  color: #e53935;
}

.cart-remove:hover{
  color: #b71c1c;
  transform: scale(1.08);
}

.cart-remove .bi {
  color: var(--red);
}



.product-detail {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 48px;               /* ⬅ MÁS ESPACIO ENTRE IMAGEN Y TEXTO */
  align-items: flex-start;
}

.product-detail__image img {
  width: 100%;
  max-width: 320px;
  border-radius: 12px;
  object-fit: contain;
}

.product-detail__info h1 {
  margin-top: 0;

}

/* Botones alineados */
.product-actions {
  display: flex;
  gap: 12px;
  margin: 20px 0;
  flex-wrap: wrap;
}

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

  .product-detail__image {
    text-align: center;
  }

  .product-detail__image img {
    max-width: 260px;
  }
}

/* Separar marcas del producto */
.marcas-section {
  margin-top: 30px;      
  padding-top: 20px;     

}

#clearCartBtn {
  width: 100%;
  padding: 6px 10px;
  font-size: 14px;
  border-radius: 6px;
  border: 1px solid #ef4444;
  background: transparent;
  color: #ef4444;
  font-weight: 600;
  cursor: pointer;
}

#clearCartBtn:hover {
  background: #ef4444;
  color: #fff;
}


#checkoutBtn {
  padding: 6px 12px;
  font-size: 14px;
  border-radius: 6px;
  font-weight: 600;
}


.cart-panel__footer {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cart-panel__actions {
  display: flex;
  gap: 10px;
}

.cart-panel__actions button {
  flex: 1;
}

/* Footer contact base */
.footer-contact {
  padding: 20px 0;
  padding-top: 20px;
  color: #fff;
  padding-left: 40px;   /* separa del borde izquierdo */
  padding-right: 40px;
}


.footer-contact-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(18px, 3vw, 48px);
  flex-wrap: wrap;
  text-align: center;
}

.footer-contact-items {
  display: flex;
  flex-direction: column;
  gap: 12px; /* espacio entre cada línea */
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 8px; /* espacio entre ícono y texto */
}

.footer-icon {
  color: #ffd15c;
  font-size: 1rem;
  width: 18px;
  text-align: center;
}

.footer-contact-horizontal {
  background: #004c85;
  padding: 20px 0 20px 24px;
}
.footer-contact-horizontal .footer-contact-items {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  flex-wrap: wrap;
  padding-left: 12px;
}
.contacto-footer {
  padding-left: 16px;
  padding-right: 16px;
  padding-top: 24px;
  padding-bottom: 24px;
}
.footer-contact-vertical {
  background: #004c85;
  padding: 20px 0;
}
.footer-contact-vertical .footer-contact-items {
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding-left: 24px;
}









body {
      font-family: 'Poppins', 'Segoe UI', sans-serif;
      background: #f4f6fb;
      margin: 0;
    }
    .top-bar {
      background: #0f2a66;
      color: #fff;
      padding: 8px 0;
      font-size: 0.85rem;
    }
    .top-bar .container {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 1rem;
    }
    .top-bar span {
      margin-right: 1rem;
    }
    header {
      background: #fff;
      box-shadow: 0 8px 25px rgba(15, 42, 102, 0.08);
    }
   
    .brand img {
      height: 48px;
      width: auto;
    }
    .user-panel__header {
      background: linear-gradient(90deg, #0f2a66, #0d4a91);
      color: #fff;
    }
    .user-panel__header .header-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 1rem;
      flex-wrap: wrap;
    }
    .user-panel__nav {
      display: flex;
      gap: 0.75rem;
    }
    .user-panel__nav-item {
      position: relative;
    }
    .user-panel__nav-btn {
      border: 1px solid rgba(255, 255, 255, 0.5);
      background: transparent;
      color: #fff;
      padding: 8px 18px;
      border-radius: 999px;
      font-weight: 500;
      display: inline-flex;
      align-items: center;
      gap: 0.35rem;
      cursor: pointer;
      font-size: 1rem;
    }
    .user-panel__nav-btn:focus-visible {
      outline: 2px solid #fff;
      outline-offset: 2px;
    }
    .user-panel__dropdown {
      position: absolute;
      top: calc(100% + 0.4rem);
      right: 0;
      background: #fff;
      border-radius: 12px;
      box-shadow: 0 10px 25px rgba(15, 42, 102, 0.15);
      min-width: 180px;
      display: none;
      z-index: 2;
    }
    .user-panel__dropdown a {
      display: block;
      padding: 0.65rem 1rem;
      color: #0f2a66;
      font-weight: 500;
      text-decoration: none;
    }
    .user-panel__dropdown a:hover {
      background: #f2f5ff;
    }
    .user-panel__nav-item:hover .user-panel__dropdown,
    .user-panel__nav-item:focus-within .user-panel__dropdown {
      display: block;
    }
    .user-panel__nav-product.is-active {
      background: #fff;
      color: #0f2a66;
    }
    #productos {
      display: none;
    }
    #productos.visible {
      display: block;
    }
    main {
      max-width: 1200px;
      margin: 2rem auto;
      padding: 0 1.25rem 3rem;
    }
    .section-panel {
      background: #fff;
      border-radius: 16px;
      padding: 1.75rem;
      margin-bottom: 1.5rem;
      box-shadow: 0 12px 35px rgba(15, 42, 102, 0.08);
    }
    .section-panel h2 {
      margin: 0;
      font-size: 1.8rem;
      color: #0f2a66;
    }
    .section-panel p {
      margin: 6px 0 0;
      color: #68768c;
    }
    .product-grid {
      margin-top: 1rem;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
      gap: 1rem;
    }
    .product-card {
      border: 1px solid #e2e8f0;
      border-radius: 16px;
      background: #fff;
      padding: 0.75rem;
      display: flex;
      flex-direction: column;
      min-height: 360px;
      gap: 0.75rem;
    }
    .product-card__image {
      min-height: 170px;
      border-radius: 14px;
      background: linear-gradient(180deg, #f8fafc, #e2e8f0);
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      padding: 1rem;
    }
    .product-card__image img {
      max-width: 100%;
      max-height: 100%;
      object-fit: contain;
    }
    .product-card__body {
      display: flex;
      flex-direction: column;
      gap: 0.45rem;
      flex: 1;
    }
    .product-card__brand {
      font-size: 0.85rem;
      color: #64748b;
    }
    .product-card__name {
      font-size: 1rem;
      margin: 0;
      color: #0f172a;
    }
    .product-card__meta {
        display: flex;
        justify-content: space-between;
        color: #0f2a66;
        font-weight: 600;
      }
    .product-card button {
        border-radius: 999px;
        padding: 10px 22px;
        border: none;
        background: #0f2a66;
        color: #fff;
        font-weight: 600;
        cursor: pointer;
        margin-top: auto;
        align-self: flex-start;
        min-width: 240px;
        text-align: center;
      }

    .section-panel .product-grid {
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 16px;
    }

    .section-panel .product-card {
      border-radius: 12px;
      padding: 10px;
      box-shadow: 0 10px 20px rgba(15, 23, 42, 0.08);
      min-height: 320px;
    }

    .section-panel .product-card__image {
      min-height: 160px;
      border-radius: 10px;
      background: #f3f4f6;
      padding: 0px;
    }

    .section-panel .product-card__image img {
      width: 100%;
      height: 100%;
      object-fit: contain;
    }

    .section-panel .product-card__name {
      font-size: 0.95rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.02em;
    }

    .section-panel .product-card__meta span {
      font-size: 0.82rem;
      color: #475569;
      font-weight: 600;
    }

    .section-panel .product-card button {
      width: 100%;
      border-radius: 8px;
      background: var(--red);
      min-width: unset;
      text-transform: uppercase;
      letter-spacing: 0.04em;
    }

    .section-panel .product-card button:hover {
      background: #c81c25;
    }
    .cart-table {
      width: 100%;
      list-style: none;
      margin: 0;
      padding: 0;
    }
    .cart-table li {
      display: grid;
      grid-template-columns: 72px minmax(150px, 2fr) minmax(120px, 1fr) minmax(120px, 1fr) minmax(120px, 0.8fr) minmax(120px, 1fr);
      gap: 1rem;
      padding: 1rem 0;
      align-items: center;
      border-bottom: 1px solid #f0f5fb;
    }
    .cart-table li.heading {
      font-size: 0.78rem;
      font-weight: 500;
      color: #424344;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      border-bottom: 1px solid #d5e1f0;
    }
    .cart-entry__name {
      font-weight: 600;
      color: #0f2a66;
    }
    .cart-entry__category {
      color: #525354;
      font-weight: 500;
      text-transform: uppercase;
      font-size: 0.85rem;
      letter-spacing: 0.08em;
    }
    .cart-entry__brand {
      font-weight: 600;
      color: #1f2937;
      font-size: 0.9rem;
    }
    .cart-entry__media {
      width: 56px;
      height: 56px;
      border-radius: 12px;
      border: 1px solid #e2e8f0;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      background: #fff;
    }
    .cart-entry__media img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    .cart-entry__price {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 0.75rem;
      color: #0f2a66;
      font-weight: 700;
      width: 100%;
      justify-self: end;
    }
    .cart-entry__price span {
      min-width: 80px;
      text-align: right;
      display: inline-block;
    }
    .cart-entry__quantity {
      display: flex;
      justify-content: center;
      margin-right: 0.75rem;
    }
    .quantity-control {
      display: inline-flex;
      align-items: center;
      border: 1px solid #d1d5db;
      border-radius: 999px;
      padding: 2px;
      gap: 4px;
      background: #fff;
    }
    .quantity-control__button {
      width: 30px;
      height: 28px;
      border: none;
      background: transparent;
      font-weight: 600;
      color: #0f2a66;
      cursor: pointer;
      border-radius: 50%;
      transition: background 0.2s ease;
    }
    .quantity-control__button:hover {
      background: rgba(15, 42, 102, 0.08);
    }
    .quantity-control__value {
      min-width: 24px;
      text-align: center;
      font-weight: 600;
      color: #0f2a66;
    }
    .cart-entry__price .cart-remove {
      margin-left: auto;
    }
    .cart-remove {
      border: none;
      background: rgba(239, 68, 68, 0.1);
      color: #ef4444;
      font-size: 1.1rem;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      height: 34px;
      width: 34px;
      border-radius: 12px;
      transition: transform 0.15s ease, filter 0.15s ease;
    }
    .cart-remove:hover,
    .cart-remove:focus-visible {
      transform: translateY(-1px);
      filter: brightness(95%);
    }
    .cart-search {
      margin-top: 2rem;
      width: 100%;
      padding: 1rem 1.25rem;
      border: 1px dashed #cbd5f5;
      border-radius: 12px;
      display: flex;
      gap: 0.75rem;
      align-items: center;
      flex-wrap: wrap;
      background: #fff;
    }
    .cart-search input {
      flex: 1;
      min-width: 0;
      padding: 0.75rem 1rem;
      border-radius: 999px;
      border: 1px solid #cbd5f5;
      font-size: 0.95rem;
    }
    .cart-search button {
      border-radius: 999px;
      padding: 0.75rem 1.5rem;
      border: none;
      background: #0f2a66;
      color: #fff;
      font-weight: 600;
      cursor: pointer;
      min-width: 120px;
    }
    .cart-search-results {
      margin-top: 1rem;
      display: flex;
      flex-direction: column;
      gap: 0.75rem;
      max-height: 320px;
      overflow-y: auto;
      padding-right: 2px;
    }
    .cart-search-result {
      background: #fff;
      border-radius: 12px;
      border: 1px solid #e2e8f0;
      padding: 0.75rem 1rem;
      display: flex;
      align-items: center;
      gap: 1rem;
      justify-content: space-between;
      box-shadow: 0 4px 15px rgba(15, 42, 102, 0.05);
    }
    .cart-search-result__media {
      width: 48px;
      height: 48px;
      border-radius: 12px;
      background: #f8fafc;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
    }
    .cart-search-result__media img {
      width: 100%;
      height: 100%;
      object-fit: contain;
    }
    .cart-search-result__info {
      flex: 1;
      display: flex;
      flex-direction: column;
      gap: 0.15rem;
    }
    .cart-search-result__title {
      font-weight: 600;
      color: #0f172a;
    }
    .cart-search-result__meta {
      font-size: 0.85rem;
      color: #2f2f2f;
      display: flex;
      gap: 0.5rem;
      flex-wrap: wrap;
      align-items: center;
    }
    .cart-search-result__actions button {
      border-radius: 999px;
      padding: 0.4rem 1rem;
      border: none;
      background: #0f2a66;
      color: #fff;
      font-weight: 600;
      cursor: pointer;
    }
    .cart-search-result__price {
      font-weight: 600;
      color: #0f2a66;
      font-size: 0.9rem;
    }
    .cart-summary {
      margin-top: 1rem;
      display: flex;
      justify-content: space-between;
      justify-content: flex-end; /* ⬅️ manda todo a la derecha */
      align-items: center;
      flex-wrap: wrap;
      gap: 0.75rem;
    }
    .cart-summary__total {
      font-size: 1.1rem;
    }
    .cart-actions {
      display: flex;
      gap: 0.75rem;
      flex-wrap: wrap;
    }
    .cart-header-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 1rem;
      flex-wrap: wrap;
    }
    .btn-outline-danger {
      border-radius: 999px;
      padding: 10px 22px;
      border: 1px solid #ef4444;
      background: transparent;
      color: #ef4444;
      font-weight: 600;
      cursor: pointer;
    }
    @media (max-width: 768px) {
      main {
        padding: 0 1rem 2rem;
      }
      .cart-table li {
        grid-template-columns: 1fr;
        row-gap: 0.5rem;
      }
      .cart-entry__price {
        justify-content: flex-start;
      }
    }

    .cart-header {
    width: 100%;
    }

    .cart-search--full {
  display: flex;
  width: 100%;
}

.cart-search--full input {
  flex: 1;        /* ⬅️ ESTA ES LA CLAVE */
  min-width: 0;
}



/* HEADER USUARIO */
.user-panel__header .header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* bloque logo + usuario */
.header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* usuario */
.user-status {
  color: #fff;
  font-size: 0.9rem;
  line-height: 1.2;
  white-space: nowrap;
}

.user-status strong {
  display: block;
  font-size: 0.75rem;
  opacity: 0.85;
}

.user-status span {
  font-weight: 500;
}


html, body {
  overflow-x: hidden;
}

/* Alex visual refresh (home) */
:root {
  --red: #d41b1f;
  --green: #1a8f3f;
  --azul: #1c1c1c;
  --bg: #efece6;
  --card: #ffffff;
  --muted: #5b5b5b;
}

body {
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  background-color: var(--bg);
  background-image:
    linear-gradient(0deg, rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0.65)),
    repeating-linear-gradient(45deg, rgba(0, 0, 0, 0.035) 0, rgba(0, 0, 0, 0.035) 2px, transparent 2px, transparent 6px);
  color: #1a1a1a;
}

h1, h2, h3, h4,
.nav-links a,
.section-title h2 {
  font-family: "Oswald", "Segoe UI", sans-serif;
  letter-spacing: 0.02em;
}

.top-bar {
  background: #1a1a1a;
  color: #f5f5f5;
  border-top: 4px solid var(--red);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.08);
}

header {
  background: #fdfdfb;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.header-main {
  border-bottom: 4px solid var(--green);
}

.nav-links {
  gap: 22px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.nav-links a {
  color: #1a1a1a;
  font-weight: 600;
}

.nav-links a::after {
  background: var(--red);
  height: 3px;
  bottom: -6px;
}

.nav-links li.active a,
.nav-links a.active,
.nav-links a:hover {
  color: var(--red);
}

.menu-toggle {
  color: var(--red);
}

.header-actions .search-box {
  max-width: 360px;
}

.buscador {
  border-radius: 6px;
  border: 1px solid #bdbdbd;
  height: 34px;
  background: #fff;
  font-size: 0.95rem;
}

.search-button {
  background: var(--red);
  border-radius: 6px;
  padding: 7px 10px;
  /* box-shadow: 0 8px 16px rgba(212, 27, 31, 0.2); */
}

.search-button .bi {
  color: #fff;
}

.header-icon {
  color: #1a1a1a;
}

.hero {
  background: #dedad2;
  padding: 10px 0;
}

.hero-main {
  background: #f8f5ef;
  border: 1px solid #cfcfcf;
  border-radius: 10px;
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.18);
  animation: none;
  overflow: hidden;
}

.hero-slider-stage {
  min-height: 300px;
  height: clamp(240px, 32vw, 360px);
  position: relative;
}

.hero-slider--content .hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slider-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(23, 23, 23, 0.42) 0%, rgba(23, 23, 23, 0.18) 55%, rgba(23, 23, 23, 0) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-slides {
  position: relative;
  z-index: 0;
}

.hero-slide {
  transition: opacity 0.9s ease, transform 1.2s ease;
}

.hero-slider--content .hero-slide img {
  filter: saturate(1.05) contrast(1.02);
  transform: scale(1.04);
  transition: transform 7s ease, filter 0.8s ease;
}

.hero-slide.active img {
  transform: scale(1);
  animation: heroZoom 9s ease-in-out both;
}

@keyframes heroZoom {
  0% {
    transform: scale(1.06);
  }
  100% {
    transform: scale(1);
  }
}

.hero-controls {
  bottom: 18px;
}

.hero-control {
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
}

.hero-dot.active {
  background: var(--red);
}

.section {
  padding: 22px 0;
}

.section-title h2 {
  font-size: 28px;
  color: #1a1a1a;
  border-bottom: 3px solid var(--red);
  padding-bottom: 6px;
  display: inline-block;
}

.section-title p {
  color: #4a4a4a;
}

.cat-grid {
  gap: 16px;
}

.cat {
  border-radius: 10px;
  border: 1px solid #d6d6d6;
  border-top: 4px solid var(--green);
  background: #fff;
  color: #1a1a1a;
  text-transform: uppercase;
  font-weight: 600;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.cat .dot {
  border-radius: 8px;
  background: #f4f4f4;
  border: 1px solid #d9d9d9;
}

.product {
  border-radius: 12px;
  border: 1px solid #d9d9d9;
  background: #fff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.product .flag {
  background: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.product h3 {
  font-size: 17px;
  color: #1a1a1a;
  text-transform: uppercase;
  text-align: center;
}

.btn-cart {
  background: linear-gradient(180deg, #e12a2e 0%, #c0171a 100%);
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  /* box-shadow: 0 10px 18px rgba(225, 42, 46, 0.25); */
}

.btn-cart:hover {
  filter: brightness(1.05);
}

footer {
  background: #1a1a1a;
  border-top: 4px solid var(--red);
}

.footer-contact {
  color: #f3f3f3;
}

.footer-icon {
  color: var(--green);
}

@media (max-width: 768px) {
  .nav-links {
    text-transform: none;
    letter-spacing: 0.02em;
  }

  .header-actions .search-box {
    max-width: 100%;
  }
}

/* Construction hero (index) */
.hero--construction {
  position: relative;
  min-height: 430px;
  height: 430px;
  padding: 0;
  overflow: hidden;
  background: #101010;
  width: 100vw;
  /* margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw); */
 border-bottom: 4px solid var(--green);
}

.hero--construction .hero-image {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  background: #000;
}

.hero--construction .hero-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top !important;
  opacity: 0;
  transition: opacity 1.6s ease-in-out !important;
  transform: none !important;
  animation: none !important;
}

.hero--construction .hero-frame.active {
  opacity: 1;
  transform: none !important;
  animation: none !important;
}

.hero--construction .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(18, 18, 18, 0.85) 0%, rgba(18, 18, 18, 0.35) 55%, rgba(18, 18, 18, 0) 100%);
  z-index: 2;
}

.hero--construction .hero-content {
  position: relative;
  z-index: 3;
  min-height: 550px;
  display: flex;
  padding: 12px 0;
}

.hero--construction .hero-text {
  max-width: 560px;
  color: #fff;
}

.hero--construction .hero-text::before {
  content: none;
}

.hero--construction .eyebrow {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 12px;
  display: inline-block;
  opacity: 0;
}

.hero--construction .hero-title {
  font-family: "Oswald", "Segoe UI", sans-serif;
  font-size: clamp(28px, 4.2vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 16px;
  min-height: 82px;
}

.hero--construction .typewriter-line {
  display: inline-block;
  position: relative;
  overflow: hidden;
}

.hero--construction .typewriter-line.line1 {
  color: #fff;
}

.hero--construction .typewriter-line::after {
  content: "|";
  position: absolute;
  right: -6px;
  color: var(--red);
  animation: blink 0.7s infinite;
  font-size: inherit;
  line-height: 1;
  top: 0;
}

.hero--construction .typewriter-line.typewriter-done::after {
  display: none;
}

.hero--construction .highlight {
  color: #ffd15c;
}

.hero--construction .hero-lead {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 24px;
  opacity: 0;
}

.hero--construction .hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero--construction .btn-large {
  padding: 12px 22px;
  font-size: 14px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 700;
}

.hero--construction .btn-primary {
  background: var(--red);
  border: 2px solid var(--red);
  color: #fff;
  box-shadow: 0 10px 24px rgba(212, 27, 31, 0.35);
  text-decoration: none;
}

.hero--construction .btn-secondary {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.7);
  color: #fff;
  text-decoration: none;
}

.hero--construction .btn-secondary:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  box-shadow: 0 10px 24px rgba(212, 27, 31, 0.35);
}

.hero--construction .hero-stats {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.hero--construction .stat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
}

.hero--construction .stat-number {
  font-size: 18px;
  font-weight: 700;
  color: #ffd15c;
}

.hero--construction .stat-text {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.85);
}

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

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-28px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(28px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.animate-fade-in {
  animation: fadeInUp 0.9s ease-out forwards;
}

.animate-left {
  animation: fadeInLeft 0.9s ease-out forwards;
}

.animate-right {
  animation: fadeInRight 0.9s ease-out forwards;
}

.delay-1 { animation-delay: 0.3s; }
.delay-2 { animation-delay: 0.6s; }
.delay-3 { animation-delay: 0.9s; }

@media (max-width: 768px) {
  .hero--construction .hero-content {
    padding: 36px 0;
  }

  .hero--construction .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}

.cat-grid--hero {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.cat--hero {
  position: relative;
  min-height: 200px;
  padding: 16px;
  background-size: cover;
  background-position: center;
  text-transform: uppercase;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

.cat--hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.1));
  transition: background 0.25s ease;
}

.cat--hero:hover::before {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.25));
}

.cat--hero .cat-title {
  position: relative;
  z-index: 1;
  display: inline-block;
  margin-top: 4px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: 1.9rem;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
}

.cat--hero .cat-subtitle {
  position: relative;
  z-index: 1;
  display: block;
  /* margin-top: 2px; */
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: none;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
}

.cat-grid--cards {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.cat-grid--cards .cat {
  padding: 12px;
  text-transform: none;
}

.cat-grid--cards .cat .dot {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  padding: 0;
}

.cat-grid--cards .cat .dot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cat-grid--cards .cat span {
  display: block;
  margin-top: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
}



