/* 3S Sistemas — editorial hardware identity */
:root {
    --bg-body: #080d1a;
    --bg-card: #101a2a;
    --bg-surface: #142033;
    --bg-hover: #1a2a40;
    --primary: #00d9ff;
    --secondary: #a4c7d4;
    --accent: #00d9ff;
    --text-primary: #f3f5f2;
    --text-secondary: #a9b7c5;
    --text-muted: #788ca3;
    --border: #2a3a4e;
    --border-hover: #00d9ff;
    --glass-bg: #0c1422;
    --glass-border: #2a3a4e;
    --font-main: 'IBM Plex Sans', Arial, sans-serif;
    --radius-md: 4px;
    --radius-lg: 6px;
}

html { scroll-padding-top: 90px; }
body { background: #080d1a; color: #f3f5f2; font-family: 'IBM Plex Sans', Arial, sans-serif; }
button, input, select, textarea { font-family: inherit; }
a { color: inherit; }
a:hover { color: #00d9ff; }
:focus-visible { outline: 2px solid #00d9ff; outline-offset: 3px; }
::selection { background: #00d9ff; color: #08111c; }

.site-preloader { position: fixed; inset: 0; z-index: 10000; display: none; align-items: center; justify-content: center; overflow: hidden; background: radial-gradient(ellipse at 50% 42%, #111e32 0%, #090f1c 48%, #060a13 100%); color: #eff7fb; opacity: 1; transition: opacity .42s ease, visibility .42s ease; }
.js-enabled .site-preloader { display: flex; }
.site-preloader.is-leaving { visibility: hidden; opacity: 0; pointer-events: none; }
.site-preloader::before { position: absolute; inset: 0; background-image: linear-gradient(rgba(107, 147, 177, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(107, 147, 177, .035) 1px, transparent 1px); background-size: 52px 52px; content: ''; mask-image: linear-gradient(transparent, #000 22%, #000 78%, transparent); }
.site-preloader__content { position: relative; display: flex; width: min(360px, calc(100vw - 40px)); flex-direction: column; align-items: center; gap: 15px; }
.site-preloader__visual { position: relative; display: grid; width: 164px; height: 164px; margin-bottom: 7px; place-items: center; }
.site-preloader__visual::before { position: absolute; inset: 22px; border: 1px solid rgba(0, 217, 255, .13); border-radius: 50%; box-shadow: 0 0 36px rgba(0, 217, 255, .08), inset 0 0 28px rgba(0, 217, 255, .04); content: ''; }
.site-preloader__orbit { position: absolute; border-radius: 50%; }
.site-preloader__orbit--outer { inset: 0; border: 1px solid transparent; background: conic-gradient(from 15deg, transparent 0 22%, #00d9ff 33%, #7866ff 47%, transparent 63% 100%) border-box; mask: radial-gradient(farthest-side, transparent calc(100% - 1.5px), #000 calc(100% - 1px)); animation: preloader-spin 3.8s linear infinite; }
.site-preloader__orbit--inner { inset: 11px; border: 1px dashed rgba(125, 157, 190, .28); animation: preloader-spin 16s linear infinite reverse; }
.site-preloader__orbit-dot { position: absolute; top: 12px; right: 29px; z-index: 3; width: 7px; height: 7px; border-radius: 50%; background: #a5ff1e; box-shadow: 0 0 14px rgba(165, 255, 30, .76); }
.site-preloader__logo-glow { position: absolute; width: 82px; height: 82px; border-radius: 50%; background: rgba(0, 217, 255, .12); filter: blur(18px); animation: preloader-breathe 2.2s ease-in-out infinite; }
.site-preloader__logo { position: relative; z-index: 2; display: block; width: 72px; height: 72px; object-fit: contain; filter: drop-shadow(0 4px 14px rgba(0, 217, 255, .18)); animation: preloader-float 2.8s ease-in-out infinite; }
.site-preloader__wordmark { display: flex; align-items: baseline; gap: 9px; }
.site-preloader__wordmark strong { color: #f4f8fc; font-size: 1.42rem; font-weight: 700; letter-spacing: -.08em; }
.site-preloader__wordmark span { color: #93a9bd; font: 500 .71rem 'IBM Plex Mono', monospace; letter-spacing: .22em; }
.site-preloader__label { display: flex; align-items: center; gap: 10px; margin-top: 2px; color: #b6c6d4; font: 500 .65rem 'IBM Plex Mono', monospace; letter-spacing: .12em; }
.site-preloader__signal { width: 6px; height: 6px; flex: none; border-radius: 50%; background: #00d9ff; box-shadow: 0 0 12px rgba(0, 217, 255, .75); animation: preloader-pulse 1.2s ease-in-out infinite; }
.site-preloader__progress { position: relative; width: 190px; height: 2px; margin-top: 3px; overflow: hidden; background: rgba(99, 131, 158, .2); }
.site-preloader__progress span { position: absolute; inset: 0 auto 0 -44%; width: 44%; background: linear-gradient(90deg, transparent, #00d9ff 55%, #9d89ff); box-shadow: 0 0 12px rgba(0, 217, 255, .7); animation: preloader-progress 1.25s cubic-bezier(.62, .02, .38, .98) infinite; }
.site-preloader__brand { margin-top: 1px; color: #60788e; font: 500 .55rem 'IBM Plex Mono', monospace; letter-spacing: .2em; }
.site-preloader__brand i { color: #00d9ff; font-style: normal; padding: 0 5px; }
@keyframes preloader-spin { to { transform: rotate(360deg); } }
@keyframes preloader-pulse { 50% { opacity: .42; transform: scale(.72); } }
@keyframes preloader-breathe { 50% { transform: scale(1.26); opacity: .62; } }
@keyframes preloader-float { 50% { transform: translateY(-3px); } }
@keyframes preloader-progress { 0% { transform: translateX(0); } 100% { transform: translateX(330%); } }
@media (prefers-reduced-motion: reduce) {
    .site-preloader, .site-preloader__signal { transition-duration: .01ms; animation: none; }
    .site-preloader *, .site-preloader *::before, .site-preloader *::after { animation: none !important; transition-duration: .01ms !important; }
}

/* The narrow cyan stroke and squared monogram form the shared 3S signature. */
.navbar, .navbar.scrolled, .page-home .navbar, .page-home .navbar.scrolled {
    background: rgba(8, 13, 26, .97);
    border-bottom: 1px solid #263549;
    box-shadow: none;
    backdrop-filter: blur(14px);
    padding: 10px 0;
}
.navbar__inner { min-height: 58px; gap: 24px; }
.navbar__brand { gap: 11px; flex: none; }
.navbar__brand-icon, .footer__brand-icon {
    background: #00d9ff; color: #08101b; border-radius: 2px;
    box-shadow: none; font-family: 'IBM Plex Mono', monospace; font-weight: 600;
}
.navbar__brand-icon { display: grid; width: 42px; height: 42px; place-items: center; overflow: visible; background: transparent; }
.page-home .navbar__brand-icon { background: transparent; box-shadow: none; }
.navbar__brand-icon img { display: block; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 0 8px rgba(0, 217, 255, .16)); }
.navbar__brand-lockup { display: flex; flex-direction: column; line-height: 1.03; }
.navbar__brand-text, .page-home .navbar__brand-text { color: #f5f7f4; font-family: 'IBM Plex Sans', sans-serif; font-size: 1.6rem; font-weight: 700; letter-spacing: .055em; line-height: 1; text-transform: uppercase; }
.navbar__brand-lockup small { margin-top: 5px; color: #7f9bad; font: 500 .56rem 'IBM Plex Mono', monospace; letter-spacing: .065em; }
.navbar__menu { gap: 3px; }
.navbar__link, .page-home .navbar__link { border-radius: 0; color: #b6c4d0; font-size: .84rem; font-weight: 600; padding: 12px 13px; }
.navbar__link--active, .navbar__link[aria-current="page"], .page-home .navbar__link--active, .page-home .navbar__link[aria-current="page"] { background: none; color: #f5f7f4; }
.navbar__link--active::after, .navbar__link[aria-current="page"]::after { content: ''; position: absolute; height: 2px; bottom: 4px; left: 13px; right: 13px; background: #00d9ff; }
.navbar__link:not(.navbar__link--active):hover { background: none; color: #00d9ff; }
.navbar__search, .page-home .navbar__search { position: relative; height: 42px; border: 1px solid #34445a; border-radius: 3px; background: #111b2b; }
.navbar__search:focus-within { border-color: #00d9ff; background: #111b2b; box-shadow: 0 0 0 2px rgba(0, 217, 255, .12); }
.navbar__search-input, .page-home .navbar__search-input { color: #eef4f7; }
.navbar__search-input::placeholder { color: #8295a6; }
.navbar__search-btn, .navbar__toggle, .page-home .navbar__search-btn, .page-home .navbar__toggle { color: #d9e5ed; border-radius: 3px; }
.navbar__search .navbar__search-btn { color: #c1dce8; }
.navbar__admin-btn { display: inline-flex; flex: none; align-items: center; justify-content: center; gap: 9px; min-height: 40px; padding: 0 14px; border: 1px solid #3b566a; border-radius: 3px; background: #122438; color: #e4edf2; font-size: .8rem; font-weight: 600; text-decoration: none; white-space: nowrap; transition: border-color .18s ease, background .18s ease, color .18s ease; }
.navbar__admin-btn > i { color: #45d8ef; font-size: .84rem; }
.navbar__admin-btn:hover, .page-home .navbar__admin-btn:hover { border-color: #00d9ff; background: #153346; color: #fff; }
.navbar__filter-btn { flex: none; display: grid; place-items: center; width: 42px; height: 40px; padding: 0; border: 0; border-left: 1px solid #34445a; border-radius: 0 2px 2px 0; background: transparent; color: #c1dce8; font-size: 1rem; cursor: pointer; }
.navbar__filter-btn:hover, .navbar__filter-btn[aria-expanded="true"], .navbar__filter-btn.has-filters { color: #00d9ff; background: #1a3140; }
.navbar__filter-panel[hidden] { display: none !important; }
.navbar__filter-panel { position: absolute; top: calc(100% + 14px); right: 0; width: min(690px, calc(100vw - 36px)); padding: 25px; border: 1px solid #3a5266; border-top: 2px solid #00d9ff; border-radius: 3px; background: #101d2d; box-shadow: 0 24px 55px rgba(0, 0, 0, .48); color: #f1f5f5; z-index: 1100; }
.navbar__filter-panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; color: #00d9ff; font: 500 .72rem 'IBM Plex Mono', monospace; letter-spacing: .09em; }
.navbar__filter-panel-head button { display: grid; place-items: center; width: 29px; height: 29px; border: 1px solid #41566a; border-radius: 2px; background: transparent; color: #c3d3dd; cursor: pointer; }
.navbar__filter-panel-head button:hover { color: #00d9ff; border-color: #00d9ff; }
.navbar__filter-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.navbar__filter-fields label { display: grid; gap: 8px; min-width: 0; }
.navbar__filter-fields label > span { color: #b8c9d2; font: 500 .68rem 'IBM Plex Mono', monospace; letter-spacing: .07em; text-transform: uppercase; }
.navbar__filter-fields select { width: 100%; min-width: 0; height: 46px; padding: 0 12px; border: 1px solid #455a6d; border-radius: 2px; outline: 0; color: #f3f7f8; background: #0a1625; color-scheme: dark; font-size: .85rem; }
.navbar__filter-fields select:focus { border-color: #00d9ff; }
.navbar__filter-extras { display: flex; align-items: center; gap: 24px; margin-top: 18px; }
.navbar__filter-extras label { display: inline-flex; align-items: center; gap: 8px; color: #bdcbd4; font-size: .82rem; cursor: pointer; }
.navbar__filter-extras input { width: 16px; height: 16px; accent-color: #00d9ff; }
.navbar__filter-panel-actions { display: flex; align-items: center; justify-content: flex-end; gap: 20px; margin-top: 22px; }
.navbar__filter-panel-actions button { border: 0; cursor: pointer; font-weight: 600; }
#headerFilterReset { color: #a7c5d2; background: none; font-size: .8rem; }
#headerFilterReset:hover { color: #00d9ff; }
#headerFilterApply { display: inline-flex; align-items: center; gap: 10px; padding: 11px 15px; border-radius: 2px; color: #08111c; background: #00d9ff; font-size: .82rem; }
#headerFilterApply:hover { background: #7beaff; }
.navbar__search-btn:hover, .navbar__toggle:hover { color: #00d9ff; background: #1b2b3d; }
.navbar__dropdown-menu, .page-home .navbar__dropdown-menu { background: #111c2b; border: 1px solid #34445a; border-radius: 3px; box-shadow: 0 22px 36px rgba(0,0,0,.35); }
.navbar__dropdown-item { color: #c2d1dc; }
.navbar__dropdown-item:hover { color: #00d9ff; background: #1c2d40; padding-left: 20px; }
.navbar__mobile-menu, .page-home .navbar__mobile-menu { background: #0b1321; }
.navbar__mobile-link, .page-home .navbar__mobile-link { color: #eaf1f5; }
.navbar__mobile-link--sub { color: #aabdc9; }
.navbar__mobile-label { color: #00d9ff; font-family: 'IBM Plex Mono', monospace; }

.btn, .page-home .btn { border-radius: 3px; font-weight: 600; box-shadow: none; }
.btn--primary, .page-home .hero__actions .btn--primary { background: #00d9ff; color: #08111c; border: 1px solid #00d9ff; box-shadow: none; }
.btn--primary:hover, .page-home .hero__actions .btn--primary:hover { background: #80ebff; border-color: #80ebff; color: #08111c; box-shadow: none; }
.btn--secondary, .btn--outline, .page-home .hero__actions .btn--secondary { background: transparent; color: #e4eef4; border: 1px solid #526477; box-shadow: none; }
.btn--secondary:hover, .btn--outline:hover, .page-home .hero__actions .btn--secondary:hover { color: #00d9ff; background: #172538; border-color: #00d9ff; box-shadow: none; }
.btn--whatsapp { color: #9de9c2; background: #122b2b; border: 1px solid #29554b; }
.btn--whatsapp:hover { color: #d3ffe4; background: #174338; border-color: #49a17d; }

/* Hero keeps its real-time scene; typography and chrome carry the brand. */
.page-home .hero--future { background: #080d1a; }
.page-home .hero__ambient { opacity: .22; }
.page-home .hero__eyebrow { border: 0; border-left: 2px solid #00d9ff; border-radius: 0; padding: 4px 0 4px 13px; background: none; color: #9cc6d6; font: 500 .67rem 'IBM Plex Mono', monospace; letter-spacing: .065em; }
.page-home .hero__signal { display: none; }
.page-home .hero__title { font-family: 'IBM Plex Sans', sans-serif; font-weight: 700; letter-spacing: -.065em; }
.page-home .hero__title .hero__title-line--glow { text-shadow: none; }
.page-home .hero__subtitle { color: #b5c4d0; }
.page-home .hero__actions .btn { border-radius: 3px; box-shadow: none; }
.hero__product-link, .hero__floating-card { border-radius: 3px; box-shadow: none; }
.hero__scene-tag, .hero__product-link small, .hero__floating-card span, .hero__scroll-cue, .hero__meta { font-family: 'IBM Plex Mono', monospace; letter-spacing: .035em; }

/* Catalogue rhythm: rules, indexes and quiet surfaces. */
.page-home #categorias, .page-home #productos, .page-home #destacados, #categorias, #productos, #destacados { background: #080d1a; }
.page-home #destacados { background: #0d1726; }
.page-home #categorias::before, .page-home #destacados::before { display: none; }
.section__header { position: relative; border-top: 1px solid #344357; padding-top: 20px; margin-bottom: 26px; }
.section__eyebrow, .page-home .section__eyebrow { color: #00d9ff; font: 500 .68rem 'IBM Plex Mono', monospace; letter-spacing: .09em; }
.section__title, .page-home .section__title { color: #f3f5f2; font-family: 'IBM Plex Sans', sans-serif; font-weight: 700; letter-spacing: -.06em; }
.section__subtitle, .page-home .section__subtitle { color: #a0b1c0; }
.page-home .service-strip { padding: 7px 0; border-color: rgba(105, 163, 208, .12); background: #0a1220; }
.page-home .service-strip__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.page-home .service-strip__item { display: flex; align-items: center; justify-content: center; gap: 13px; min-height: 76px; padding: 12px 24px; }
.page-home .service-strip__item + .service-strip__item { border-left: 1px solid rgba(105, 163, 208, .14); }
.page-home .service-strip__icon { flex: 0 0 auto; color: #35c8e3; font-size: .95rem; }
.page-home .service-strip__copy { display: grid; gap: 3px; }
.page-home .service-strip__copy strong { color: #e7edf4; font-size: .8rem; font-weight: 600; line-height: 1.35; }
.page-home .service-strip__copy small { color: #8295aa; font-size: .72rem; line-height: 1.4; }
.page-home .category-carousel__track { counter-reset: category; }
.page-home .category-carousel__track .category-card { position: relative; display: block; min-height: 252px; overflow: hidden; padding: 22px; border: 1px solid #2b4057; border-radius: 4px; background: linear-gradient(145deg, #142236 0%, #101a29 72%); box-shadow: inset 0 1px rgba(255, 255, 255, .025); counter-increment: category; text-align: left; transform: none; transition: border-color .24s ease, background .24s ease, box-shadow .24s ease; }
.page-home .category-carousel__track .category-card::before { content: '0' counter(category); position: absolute; z-index: 2; top: 24px; right: 23px; color: #70869d; font: 500 .7rem 'IBM Plex Mono', monospace; letter-spacing: .08em; }
.page-home .category-carousel__track .category-card::after { position: absolute; inset: 0; z-index: 0; background: radial-gradient(ellipse at 78% 55%, rgba(0, 217, 255, .12), transparent 52%); content: ''; pointer-events: none; opacity: .62; transition: opacity .24s ease; }
.page-home .category-carousel__track .category-card:hover { background: linear-gradient(145deg, #172a40 0%, #121d30 72%); border-color: #4b8298; box-shadow: 0 12px 34px rgba(0, 0, 0, .2), inset 0 1px rgba(255, 255, 255, .045); transform: translateY(-3px); }
.page-home .category-carousel__track .category-card:hover::after { opacity: 1; }
.page-home .category-card__icon { position: relative; z-index: 2; display: grid; width: 46px; height: 46px; place-items: center; margin: 0; border: 1px solid #31546a; border-radius: 4px; color: #54e2fa; background: linear-gradient(145deg, #1b3a4b, #15283a); font-size: 1.05rem; }
.page-home .category-card__preview { position: absolute; right: 22px; bottom: 104px; z-index: 1; display: flex; width: 47%; height: 90px; align-items: center; justify-content: flex-end; pointer-events: none; }
.page-home .category-card__preview::before { position: absolute; inset: 0 -8px 0 0; z-index: 2; background: linear-gradient(90deg, #121f30 0%, rgba(18, 31, 48, .28) 28%, transparent 72%); content: ''; }
.page-home .category-card__preview-item { position: relative; display: block; width: 66px; height: 66px; flex: 0 0 66px; margin-left: -15px; overflow: hidden; border: 1px solid rgba(113, 168, 194, .34); border-radius: 5px; background: linear-gradient(145deg, #1a2d42, #0d1725); box-shadow: 0 8px 20px rgba(0, 0, 0, .25); transform: rotate(4deg); transition: transform .24s ease, border-color .24s ease; }
.page-home .category-card__preview-item:first-child { z-index: 1; width: 78px; height: 78px; flex-basis: 78px; margin-left: 0; transform: rotate(-5deg); }
.page-home .category-card__preview-item:nth-child(2) { z-index: 2; transform: translateY(4px) rotate(4deg); }
.page-home .category-card__preview-item:nth-child(3) { z-index: 3; transform: translateY(-3px) rotate(-3deg); }
.page-home .category-card__preview-item:only-child { width: 88px; height: 88px; flex-basis: 88px; margin-right: 4px; transform: rotate(-3deg); }
.page-home .category-card__preview-item img { width: 100%; height: 100%; padding: 4px; object-fit: contain; }
.page-home .category-card__preview-empty { display: grid; width: 76px; height: 76px; place-items: center; border: 1px solid rgba(113, 168, 194, .28); border-radius: 5px; color: #56dff4; background: #142b3d; font-size: 1.5rem; }
.page-home .category-carousel__track .category-card:hover .category-card__preview-item { border-color: rgba(91, 215, 239, .68); }
.page-home .category-carousel__track .category-card:hover .category-card__preview-item:first-child { transform: translateY(-3px) rotate(-7deg); }
.page-home .category-card__name { position: absolute; bottom: 58px; left: 22px; z-index: 2; width: 64%; margin: 0; color: #f2f6fb; font-size: 1.04rem; font-weight: 650; line-height: 1.25; }
.page-home .category-card__count { position: absolute; bottom: 22px; left: 22px; z-index: 2; display: inline-flex; width: auto; align-items: center; gap: 8px; padding: 0; border: 0; color: #91a8bd; font: 400 .68rem 'IBM Plex Mono', monospace; }
.page-home .category-card__count-dot { width: 6px; height: 6px; border-radius: 50%; background: #00d9ff; box-shadow: 0 0 10px rgba(0, 217, 255, .55); }
.page-home .category-card__arrow { position: absolute; right: 21px; bottom: 20px; z-index: 2; display: grid; width: 30px; height: 30px; place-items: center; border: 1px solid #344a60; border-radius: 50%; color: #78cfe0; background: rgba(8, 17, 29, .45); font-size: .68rem; transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease; }
.page-home .category-card:hover .category-card__arrow { color: #07121d; border-color: #55d7ed; background: #55d7ed; transform: translateX(2px); }
.page-home .category-carousel__button { border-radius: 2px; background: transparent; border-color: #3b5267; }
.page-home .featured-carousel__header { margin-bottom: 24px; }
.featured-carousel__viewport { overflow: hidden; margin: -6px -2px 0; }
.page-home .featured-carousel__track { display: flex; grid-template-columns: none; gap: 18px; overflow-x: auto; padding: 6px 2px 16px; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-inline: contain; }
.featured-carousel__track::-webkit-scrollbar { display: none; }
.featured-carousel__track:focus-visible { outline: 2px solid #00d9ff; outline-offset: -2px; }
.page-home .featured-carousel__track .product-card { flex: 0 0 calc((100% - 54px) / 4); min-width: 0; scroll-snap-align: start; }
.page-home .catalog-shelf { background: #0b1422; border-top: 1px solid #1c3044; }
.page-home .catalog-shelf:nth-of-type(even) { background: #0d1828; }
.page-home .catalog-shelf .section__header { border-top: 0; }
.catalog-shelf__actions { display: flex; align-items: center; gap: 22px; }
.catalog-shelf__all { flex: none; color: #a6d9e8; font: 600 .75rem 'IBM Plex Mono', monospace; text-decoration: none; }
.catalog-shelf__all:hover { color: #00d9ff; }
.catalog-shelf__all i { margin-left: 5px; }
.catalog-access { padding-block: 20px; background: #080d1a; }
.catalog-access__inner { display: flex; justify-content: center; }
.catalog-access__link { display: inline-flex; align-items: center; justify-content: center; gap: 11px; min-height: 44px; padding: 0 19px; border: 1px solid #00d9ff; border-radius: 3px; background: #00d9ff; color: #07131e; box-shadow: 0 5px 16px rgba(0, 217, 255, .12); font-size: .8rem; font-weight: 700; text-decoration: none; transition: background .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.catalog-access__link:hover { border-color: #63e8f5; background: #63e8f5; color: #07131e; box-shadow: 0 7px 20px rgba(0, 217, 255, .2); transform: translateY(-1px); }
.catalog-access__link:active { transform: translateY(0); }
.catalog-access__link:focus-visible { outline: 2px solid #d7fbff; outline-offset: 3px; }
.catalog-access__link i { transition: transform .18s ease; }
.catalog-access__link:hover i { transform: translateX(3px); }
.page-productos #productos { min-height: 70vh; padding-top: 138px; background: #080d1a; }
.product-card__placeholder { display: grid; width: 100%; height: 100%; place-items: center; color: #698093; }
.catalog-pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin-top: 34px; }
.catalog-pagination a { display: grid; min-width: 40px; height: 40px; place-items: center; padding: 0 10px; border: 1px solid #3b5267; border-radius: 3px; background: #142236; color: #d9e8ef; font: 600 .82rem 'IBM Plex Mono', monospace; text-decoration: none; }
.catalog-pagination a:hover, .catalog-pagination a.is-current { border-color: #00d9ff; background: #193748; color: #00d9ff; }
.catalog-pagination a.is-current { pointer-events: none; }

.product-card, .page-home .product-card { display: flex; flex-direction: column; height: 100%; background: #111d2c; border: 1px solid #2b3c4e; border-radius: 3px; box-shadow: none; transition: border-color .2s ease, background .2s ease; }
.product-card:hover, .page-home .product-card:hover { background: #142235; border-color: #00d9ff; box-shadow: none; transform: none; }
.product-card__image, .page-home .product-card__image { flex: 0 0 auto; aspect-ratio: 1.2; background: #0d1725; border-bottom: 1px solid #2b3c4e; }
.product-card__image img { width: 100%; height: 100%; padding: 10px; box-sizing: border-box; object-fit: contain; }
.product-card__content { display: flex; flex: 1 1 auto; flex-direction: column; min-height: 250px; padding: 20px; }
.product-card__category, .page-home .product-card__category { min-height: 1.1em; margin-bottom: 8px; overflow: hidden; color: #74bccc; font: 500 .65rem 'IBM Plex Mono', monospace; letter-spacing: .065em; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.product-card__name, .page-home .product-card__name, .page-home .product-card__name a { display: -webkit-box; min-height: 2.7em; margin-bottom: 12px; overflow: hidden; color: #f2f5f3; font-size: 1.02rem; font-weight: 600; line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.product-card__name a:hover { color: #00d9ff; }
.product-card__pricing { flex: 0 0 66px; min-height: 66px; margin-bottom: 14px; align-content: flex-start; overflow: hidden; }
.product-card__price, .page-home .product-card__price { color: #f4f7f5; font-family: 'IBM Plex Mono', monospace; font-size: 1.23rem; font-weight: 600; }
.product-card__old-price { color: #8397a7; }
.product-card__discount, .page-home .product-card__discount { color: #82e8d1; background: #153637; border-radius: 2px; }
.product-card__badge, .product-card__badge--offer, .product-card__badge--new, .page-home .product-card__badge--offer, .page-home .product-card__badge--new { top: 0 !important; left: 0 !important; padding: 6px 10px !important; border-radius: 0 0 3px 0 !important; background: #00d9ff !important; color: #08111c !important; font: 600 .63rem 'IBM Plex Mono', monospace !important; letter-spacing: .06em; }
.product-card__badge--new, .page-home .product-card__badge--new { background: #cbb7ff !important; }
.product-card__btn, .page-home .product-card__btn { border-radius: 3px; }
.product-card__btn.btn--outline, .page-home .product-card__btn.btn--outline { color: #dcebf1; border: 1px solid #496075; background: transparent; }
.product-card__btn.btn--outline:hover, .page-home .product-card__btn.btn--outline:hover { color: #08111c; border-color: #00d9ff; background: #00d9ff; }
.product-card__btn.btn--whatsapp, .page-home .product-card__btn.btn--whatsapp { color: #88dfb3; border: 1px solid #376456; background: #15302c; }
.product-card__actions { display: grid; grid-template-columns: minmax(0, 1fr) 48px; flex: 0 0 48px; min-height: 48px; gap: 10px; margin-top: auto; }
.product-card__actions .product-card__btn { display: inline-flex; width: 100%; min-width: 0; align-items: center; justify-content: center; gap: 9px; padding: 0 12px; border-radius: 3px; font-size: .78rem; font-weight: 700; text-decoration: none; transition: color .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.product-card__actions .product-card__btn.btn--outline { color: #e6edf7; border: 1px solid #3c4b66; background: linear-gradient(135deg, #1b293c, #20283f); box-shadow: inset 0 1px rgba(255, 255, 255, .04); }
.product-card__actions .product-card__btn.btn--outline i { color: #a99aff; font-size: .72rem; transition: transform .18s ease; }
.product-card__actions .product-card__btn.btn--outline:hover { color: #fff; border-color: #7764d5; background: linear-gradient(135deg, #293856, #342c55); box-shadow: 0 5px 16px rgba(93, 79, 177, .18); transform: translateY(-1px); }
.product-card__actions .product-card__btn.btn--outline:hover i { transform: translateX(3px); }
.product-card__actions .product-card__btn.btn--whatsapp { padding: 0; font-size: 1rem; }
.product-card__actions .product-card__btn.btn--whatsapp:hover { color: #071811; border-color: #54d69b; background: #54d69b; transform: translateY(-1px); }

.catalog-results, .page-home .catalog-results { color: #9aabba; font-family: 'IBM Plex Mono', monospace; }
.catalog-results strong, .page-home .catalog-results strong { color: #f4f7f4; }
.catalog-empty, .page-home .catalog-empty { background: #111d2c; border: 1px dashed #476176; border-radius: 3px; color: #e9f0f4; }
.catalog-empty h3, .page-home .catalog-empty h3 { color: #f4f7f4; }
.catalog-empty p, .page-home .catalog-empty p { color: #a9b9c6; }
.page-home .catalog-access + .section { padding-top: 26px; }
.page-home .advice-banner { position: relative; overflow: hidden; background: linear-gradient(110deg, #10221f, #10202d 72%); border: 1px solid #2b4c47; border-left: 3px solid #25d366; border-radius: 4px; box-shadow: none; }
.page-home .advice-banner .section__eyebrow { color: #6fdda0; }
.page-home .advice-banner h2 { color: #f1f6f3; }
.page-home .advice-banner p { color: #a7b9b0; }
.page-home .advice-banner .btn { background: #25d366; border-color: #25d366; border-radius: 3px; color: #082014; box-shadow: none; }
.page-home .advice-banner .btn:hover { background: #56e184; border-color: #56e184; color: #082014; transform: translateY(-1px); }

/* Search, category and product views share the same editorial frame. */
.page-categoria > .container.section, .page-buscar > .container.section, .page-\34 04 > .container.section { padding-top: 132px; }
.listing-head { display: grid; grid-template-columns: 88px minmax(0,1fr); gap: 28px; align-items: start; margin-bottom: 31px; padding: 40px; background: #101b2a; border: 1px solid #324357; border-left: 3px solid #00d9ff; }
.listing-head--search { grid-template-columns: 1fr; }
.listing-head__icon { width: 80px; height: 80px; display: grid; place-items: center; background: #183448; border: 1px solid #38677b; color: #00d9ff; font-size: 1.75rem; }
.listing-head__eyebrow { color: #00d9ff; font: 500 .7rem 'IBM Plex Mono', monospace; letter-spacing: .09em; }
.listing-head h1 { margin: 8px 0 8px; color: #f5f7f4; font-size: clamp(2.1rem,4vw,3.5rem); line-height: 1.06; letter-spacing: -.06em; }
.listing-head p { color: #a8b9c6; max-width: 650px; line-height: 1.55; }
.listing-head__count { margin-top: 17px; color: #9ac7d2; font: 500 .73rem 'IBM Plex Mono', monospace; text-transform: uppercase; letter-spacing: .06em; }
.catalogue-tabs { display: flex; gap: 4px; overflow-x: auto; margin: 0 0 34px; padding: 0 0 9px; border-bottom: 1px solid #33465a; scrollbar-width: none; overscroll-behavior-inline: contain; }
.catalogue-tabs::-webkit-scrollbar { display: none; }
.catalogue-tabs__link { flex: none; padding: 10px 13px; color: #aebfca; font-size: .85rem; font-weight: 600; text-decoration: none; border-bottom: 2px solid transparent; }
.catalogue-tabs__link:hover { color: #00d9ff; }
.catalogue-tabs__link--active { color: #f5f7f4; border-color: #00d9ff; }
.catalogue-empty { padding: 55px 24px; text-align: center; background: #111d2c; border: 1px dashed #476176; color: #f5f7f4; }
.catalogue-empty i { color: #00d9ff !important; }
.catalogue-empty p { color: #aebfca !important; }
.catalogue-empty__search { max-width: 550px; margin: 0 auto; display: flex; gap: 10px; }
.catalogue-empty__search input { min-width: 0; flex: 1; padding: 12px 15px; color: #f2f6f4; background: #0a1422; border: 1px solid #46586b; border-radius: 2px; }
.product-page { padding-top: 132px; }
.product-breadcrumb { margin-bottom: 28px !important; color: #8da3b2 !important; font: 400 .74rem 'IBM Plex Mono', monospace !important; }
.product-breadcrumb a { color: #a8bdca !important; }
.product-breadcrumb a:hover { color: #00d9ff !important; }
.product-detail { gap: 52px; }
.product-detail__gallery { background: #111d2b; border: 1px solid #304255; border-radius: 3px; }
.product-detail__gallery img { border-radius: 0; }
.product-detail__category { color: #00d9ff; font: 500 .73rem 'IBM Plex Mono', monospace; }
.product-detail__title { color: #f5f7f4; font-size: clamp(2.1rem,3.5vw,3.6rem); letter-spacing: -.06em; line-height: 1.1; }
.product-detail__pricing { border-color: #3a4b5d; }
.product-detail__price { color: #f5f7f4; font-family: 'IBM Plex Mono', monospace; }
.product-detail__old-price { color: #8b9eaa; }
.product-detail__description, .product-detail__specs, .product-detail__specs div { color: #aebfca !important; }
.product-detail__specs h3 { color: #f5f7f4; }
.product-detail__actions .btn--secondary { background: #111d2c; }
.page-productos > .section .section__header { text-align: left !important; }

.footer, .page-home .footer { margin-top: 0; padding: 72px 0 25px; background: #060b13; border-top: 1px solid #34495a; }
.footer__grid { gap: 42px; }
.footer__lead { margin-bottom: 8px; color: #f5f7f4; font-size: 1.25rem; font-weight: 700; letter-spacing: -.05em; }
.footer__brand-logo { display: block; width: 112px; height: 112px; margin: -15px 0 -7px -8px; object-fit: contain; }
.footer__title, .page-home .footer__title { color: #f5f7f4; font: 600 .74rem 'IBM Plex Mono', monospace; letter-spacing: .07em; text-transform: uppercase; }
.footer__section:first-child .footer__title { color: #00d9ff; }
.footer__text, .footer__link, .footer__bottom, .page-home .footer__text, .page-home .footer__link, .page-home .footer__bottom { color: #9badbb; }
.footer__link:hover { color: #00d9ff; transform: none; }
.footer__social-link { border-radius: 2px; background: #162435; }
.footer__social-link:hover { background: #1d3c4c; box-shadow: none; }
.footer__bottom { border-color: #25384a; font: 400 .73rem 'IBM Plex Mono', monospace; }

@media (max-width: 1024px) {
    .page-home .service-strip__item { padding-inline: 18px; }
    .navbar__brand-lockup small { display: none; }
    .navbar__inner { gap: 14px; }
}
@media (max-width: 768px) {
    .page-home .service-strip { padding: 0; }
    .page-home .service-strip__grid { grid-template-columns: 1fr; }
    .page-home .service-strip__item { justify-content: flex-start; min-height: 62px; padding: 12px 4px; }
    .page-home .service-strip__item + .service-strip__item { border-top: 1px solid rgba(105, 163, 208, .12); border-left: 0; }
    .catalog-shelf__actions { flex-wrap: wrap; gap: 12px; }
    .navbar__filter-panel { position: fixed; top: 76px; left: 16px; right: 16px; width: auto; }
    .navbar__filter-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .page-home .featured-carousel__track .product-card { flex-basis: calc((100% - 18px) / 2); }
    .navbar__brand-text { font-size: 1.35rem; }
    .listing-head { padding: 28px; grid-template-columns: 60px minmax(0,1fr); gap: 18px; }
    .listing-head__icon { width: 60px; height: 60px; font-size: 1.4rem; }
    .listing-head--search { grid-template-columns: 1fr; }
    .product-detail { gap: 24px; }
}
@media (max-width: 480px) {
    .navbar__search, .page-home .navbar__search { flex: 1 1 0; min-width: 0; }
    .navbar__admin-btn { width: 36px; min-height: 38px; padding: 0; }
    .navbar__admin-label { display: none; }
    .navbar__search .navbar__search-btn { width: 32px; }
    .navbar__filter-btn { width: 34px; }
    .navbar__filter-panel { position: fixed; top: 76px; left: 12px; right: 12px; width: auto; padding: 20px; }
    .navbar__filter-fields { grid-template-columns: 1fr; gap: 12px; }
    .navbar__filter-extras { flex-direction: column; align-items: flex-start; gap: 11px; }
    .navbar__filter-panel-actions { justify-content: space-between; gap: 10px; }
    .navbar__brand-icon { width: 36px; height: 36px; }
    .navbar__brand-lockup small { display: none; }
    .navbar__brand-text { font-size: 1.15rem; }
    .navbar__inner { gap: 5px; }
    .navbar__search { flex-basis: 128px; }
    .page-home .category-carousel__track .category-card { min-height: 252px; }
    .page-home .featured-carousel__track .product-card { flex-basis: calc((100% - 36px) / 3); }
    .listing-head { grid-template-columns: 1fr; }
    .catalogue-empty__search { flex-direction: column; }
    .catalogue-empty__search .btn { width: 100%; }
}

/* WhatsApp stays available at every scroll position and viewport size. */
.whatsapp-float {
    position: fixed !important;
    right: max(20px, env(safe-area-inset-right)) !important;
    bottom: max(20px, env(safe-area-inset-bottom)) !important;
    z-index: 1200 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

@media (max-width: 600px) {
    .whatsapp-float {
        right: max(16px, env(safe-area-inset-right)) !important;
        bottom: max(16px, env(safe-area-inset-bottom)) !important;
    }

    .whatsapp-float__btn {
        width: 54px;
        height: 54px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .page-home .category-card, .product-card { transition-duration: .01ms; }
}

@media (max-width: 480px) {
    .page-home .featured-carousel__header { align-items: flex-start; flex-direction: column; gap: 16px; }
    .page-home .featured-carousel__header .category-carousel__controls { align-self: flex-end; }
    .page-home .featured-carousel__track .product-card { flex-basis: 100%; }
}
