/* GS Solution 3.0: productos completos y composición legible. */
.gs-header { display: grid; grid-template-columns: auto minmax(220px,1fr) auto auto; gap: 22px; }
.gs-header .gs-mobile-menu { display: none; }
.gs-header-actions { gap: 20px; }
.gs-account small { display: block; font-size: 11px; line-height: 1.6; font-weight: 400; color: var(--muted); white-space: nowrap; }
.gs-branches { position: relative; min-width: 175px; }
.gs-branches summary { list-style: none; display: flex; align-items: center; gap: 10px; cursor: pointer; min-height: 44px; }
.gs-branches summary::-webkit-details-marker { display: none; }
.gs-branches summary > svg { width: 25px; height: 25px; color: #41464c; flex-shrink: 0; }
.gs-branches summary small { display: block; color: var(--muted); font-size: 12px; font-weight: 400; line-height: 1.5; }
.gs-branches summary strong { font-size: 14px; }
.gs-branches-chevron { font-size: 18px; margin-left: auto; }
.gs-branches[open] .gs-branches-chevron { transform: rotate(180deg); }
.gs-branches-panel { position: absolute; z-index: 45; top: calc(100% + 12px); right: 0; width: 270px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 12px 35px #17202820; }
.gs-branches-panel > strong { font-size: 18px; }
.gs-branches-panel p { font-size: 14px; color: var(--muted); margin: 6px 0 12px; }
.gs-phone-link { display: block; font-weight: 700; font-size: 21px; margin-bottom: 18px; }
.gs-branch-whatsapp { display: flex; align-items: center; gap: 8px; border-top: 1px solid var(--line); padding-top: 15px; font-size: 14px; }
.gs-branch-whatsapp img { width: 24px; height: 24px; }
.gs-whatsapp { padding: 0; background: #fff; border: 0; overflow: hidden; box-shadow: 0 4px 18px #12312226; }
.gs-whatsapp:hover { background: #fff; }
.gs-whatsapp img { display: block; width: 100%; height: 100%; object-fit: contain; }
.gs-quick-categories > a .gs-category-symbol { border: 1px solid #e8eaed; box-shadow: none; border-radius: 18px; }
.gs-category-symbol::before, .gs-category-symbol::after { display: none; }
.gs-category-symbol svg { animation: none; filter: none; stroke-width: 1.5; }
.gs-quick-categories > a:hover .gs-category-symbol { background: #fff; color: var(--red-dark); border-color: #e9b1bc; transform: translateY(-3px); box-shadow: 0 6px 16px #17202808; }
.gs-recommendations { margin-top: 30px; }
.gs-recommendations-heading { display: flex; align-items: center; gap: 9px; margin-bottom: 17px; }
.gs-recommendations-heading h3 { margin: 0; font-size: 16px; letter-spacing: -.02em; }
.gs-recommendations-accent { width: 3px; height: 18px; background: var(--red); border-radius: 2px; }
.gs-recommendations-list { display: grid; gap: 16px; }
.gs-sidebar-product { display: block; min-width: 0; padding: 13px; border: 1px solid #e5e7eb; border-radius: 12px; background: #fff; transition: border-color .2s, box-shadow .2s, transform .2s; }
.gs-sidebar-product-photo { position: relative; padding: 6px; background: #f7f8fa; border-radius: 7px; }
.gs-sidebar-product img { display: block; width: 100%; height: auto; aspect-ratio: 1.2; object-fit: contain; mix-blend-mode: multiply; }
.gs-sidebar-sale { position: absolute; top: 5px; left: 5px; z-index: 1; padding: 4px 8px; border-radius: 4px; background: var(--red); color: #fff; font-size: 12px; font-weight: 700; }
.gs-sidebar-product h4 { font-size: 14px; line-height: 1.55; margin: 14px 0 10px; font-weight: 600; }
.gs-sidebar-product .price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; font-size: 20px; font-weight: 750; }
.gs-sidebar-product .price del { font-size: 13px; color: #777d84; font-weight: 400; }
.gs-sidebar-product .price ins { text-decoration: none; background: transparent; }
.gs-sidebar-product-link { display: flex; align-items: center; justify-content: space-between; margin-top: 13px; padding-top: 11px; border-top: 1px solid #eef0f2; font-size: 13px; font-weight: 600; color: var(--red-dark); }
.gs-sidebar-product:hover { border-color: #c9cdd3; color: var(--ink); transform: translateY(-2px); box-shadow: 0 7px 20px #151b260a; }
.gs-search-item .price.is-loading { color: #6c7178; font-size: 12px; font-weight: 500; }
.gs-account-help { margin-top: 28px; border-top: 1px solid var(--line); padding: 24px 0; }
.gs-account-help h2 { font-size: 25px; }
.gs-account-help p { font-size: 16px; max-width: 650px; color: var(--muted); }
.gs-account-help a { font-size: 15px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }

/* La luz se difumina detrás del video; el fotograma completo queda limpio. */
.gs-slide-contained { background: #030405; color: #fff; isolation: isolate; }
.gs-slide-ambience { position: absolute; inset: -10% -5% -10% 35%; pointer-events: none; opacity: .23; filter: blur(65px); mask-image: radial-gradient(ellipse, #000 15%, transparent 70%); }
.gs-slide-ambience img { width: 100%; height: 100%; object-fit: cover; }
.gs-slide-contained::after { display: none; }
.gs-slide-contained .gs-slide-media { inset: auto 5.5% auto 44%; top: 50%; transform: translateY(-50%); aspect-ratio: 16/9; height: auto; border-radius: 0; overflow: visible; background: #000; mask-image: none; z-index: 2; box-shadow: 0 0 55px 30px #000; }
.gs-slide-contained .gs-slide-media img, .gs-slide-contained .gs-slide-media video { object-fit: contain; object-position: center; }
.gs-slide-contained .gs-slide-media::after { content: ''; position: absolute; inset: -1px; box-shadow: inset 0 0 20px 10px #000; pointer-events: none; }
.gs-slide-contained .gs-slide-copy { width: 36%; }
.gs-slide-contained .gs-slide-copy h2 { font-size: clamp(34px,3.2vw,50px); line-height: 1.06; }
.gs-slide-contained .gs-slide-inner { min-height: max(530px, 32vw); }
.gs-slide-contained .gs-slide-signature { display: none; }
.gs-slide-contained .gs-eyebrow { color: #a8bdc7; }
.gs-slide-contained .gs-slide-description { color: #c1c8ce; }
.gs-slide-contained .gs-button, .gs-slide-studio .gs-button { background: #fff; color: #151a20; border-color: #fff; box-shadow: none; }
.gs-slide-contained .gs-button:hover, .gs-slide-studio .gs-button:hover { background: #e7edf0; border-color: #e7edf0; }
.gs-slide-studio { background: #090c0f; }
.gs-slide-studio::after { background: linear-gradient(90deg, #090c0ff5 0%, #090c0fe0 23%, #090c0f88 42%, transparent 66%); }
.gs-slide-studio .gs-slide-copy { width: 43%; max-width: 520px; }
.gs-slide-studio .gs-slide-copy h2 { font-size: clamp(42px,4vw,62px); }
.gs-slide-studio .gs-eyebrow { color: #b9cbd0; }
@media (max-width: 1200px) {
    .gs-header { gap: 18px; }
    .gs-header .gs-logo img { width: 49px; height: 49px; }
    .gs-header .gs-wordmark { font-size: 19px; }
    .gs-header .gs-wordmark small { font-size: 8px; }
    .gs-account small { display: none; }
    .gs-header-actions { gap: 15px; }
    .gs-cart-label { display: none; }
}
@media (max-width: 900px) {
    .gs-catalog-layout { display: flex; flex-direction: column; }
    .gs-catalog-sidebar { display: block; order: 2; min-width: 0; }
    .gs-catalog-sidebar > h3, .gs-catalog-sidebar > .gs-category-list { display: none; }
    .gs-recommendations-list { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .gs-header { display: flex; flex-wrap: wrap; gap: 12px 16px; padding-block: 15px 0; }
    .gs-header .gs-mobile-menu { display: grid; }
    .gs-header .gs-logo { flex: 1; }
    .gs-header-actions { margin-left: auto; }
    .gs-header .gs-search { order: 4; flex: 0 0 100%; }
    .gs-header .gs-branches { order: 5; width: 100%; border-top: 1px solid #eef0f2; }
    .gs-branches summary { min-height: 42px; gap: 8px; }
    .gs-branches summary > span:not(.gs-branches-chevron) { display: flex; align-items: center; gap: 10px; }
    .gs-branches summary strong { font-size: 13px; }
    .gs-branches summary > svg { width: 21px; height: 21px; }
    .gs-branches-panel { top: 100%; left: 0; right: auto; width: min(300px,100%); }
    .gs-slide-contained .gs-slide-copy h2 { font-size: 37px; }
    .gs-slide-contained .gs-slide-actions { gap: 12px; }
}
@media (max-width: 600px) {
    .gs-carousel-controls .gs-carousel-prev { left: calc(50% - 46px); }
    .gs-carousel-controls .gs-carousel-next { right: calc(50% - 46px); }
    .gs-carousel-controls button { bottom: 18px; }
    .gs-recommendations-list { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; gap: 12px; overflow-x: auto; padding: 3px 2px 12px; scroll-snap-type: x proximity; }
    .gs-sidebar-product { scroll-snap-align: start; }
    .gs-header .gs-logo img { width: 38px; height: 38px; }
    .gs-header .gs-wordmark { font-size: 16px; }
    .gs-header .gs-wordmark small { font-size: 7px; letter-spacing: 1px; }
    .gs-header-actions { gap: 14px; }
    .gs-header-actions .gs-account > span { display: none; }
    .gs-slide-contained { display: flex; flex-direction: column; }
    .gs-slide-contained .gs-slide-inner { order: -1; display: block; min-height: 0; padding-block: 35px 28px; flex: none; }
    .gs-slide-contained .gs-slide-copy { width: 100%; }
    .gs-slide-contained .gs-slide-copy h2 { font-size: 42px; }
    .gs-slide-contained .gs-slide-media { position: relative; inset: auto; width: calc(100% - 32px); margin: 0 16px 64px; height: auto; transform: none; aspect-ratio: 16/9; border-radius: 0; flex-shrink: 0; box-shadow: 0 0 25px 15px #000; }
    .gs-slide-contained .gs-slide-media img, .gs-slide-contained .gs-slide-media video { object-position: center; }
    .gs-slide-contained .gs-slide-media::after { box-shadow: inset 0 0 9px 3px #000; }
    .gs-slide-ambience { inset: 25% -10% -10%; filter: blur(35px); }
    .gs-slide-studio .gs-slide-copy { width: 100%; }
    .gs-slide-studio .gs-slide-copy h2 { font-size: 45px; }
    .gs-slide-studio .gs-slide-media img { object-position: 80% center; }
    .gs-slide-studio::after { background: linear-gradient(180deg, #090c0f 0%, #090c0ff5 33%, #090c0f88 50%, transparent 75%); }
    .gs-showcase:has(.gs-slide-contained:not([inert])) .gs-carousel-controls button { bottom: 14px; }
}
@media (max-width: 360px) {
    .gs-header { gap: 10px; }
    .gs-header .gs-wordmark { font-size: 15px; }
    .gs-header .gs-wordmark small { font-size: 7px; }
    .gs-header .gs-logo { gap: 5px; }
    .gs-header-actions { gap: 10px; }
    .gs-branches summary > span:not(.gs-branches-chevron) { gap: 7px; }
    .gs-slide-contained .gs-slide-copy h2 { font-size: 37px; }
    .gs-slide-studio .gs-slide-copy h2 { font-size: 39px; }
}

/* Las tres campañas fotográficas conservan el color original y un encuadre fijo.
   contain muestra el producto completo, incluso en pantallas muy anchas. */
.gs-slide-product { background: #000; }
.gs-slide-product::after { display: none; }
.gs-slide-product .gs-slide-inner { z-index: 2; }
.gs-slide-product .gs-slide-copy { width: 40%; max-width: 500px; }
.gs-slide-product .gs-slide-copy h2 { font-size: clamp(38px,3.7vw,58px); line-height: 1.06; }
.gs-slide-product .gs-slide-media { inset: 24px max(54px,calc((100% - 1400px)/2)) 24px max(43%,calc(50% - 130px)); height: auto; mask-image: none; mix-blend-mode: normal; z-index: 1; }
.gs-slide-product .gs-slide-media img { top: 50%; height: auto; max-height: 100%; object-fit: contain; object-position: center; transform: translateY(-50%); filter: none; opacity: 1; animation: none; transition: none; mask-image: linear-gradient(90deg,transparent,#000 4%,#000 96%,transparent),linear-gradient(0deg,transparent,#000 5%,#000 95%,transparent); mask-composite: intersect; }
.gs-slide-product .gs-eyebrow { color: #b9cbd0; }
.gs-slide-product .gs-slide-description { color: #c6d0d7; }
/* Ambiente reservado a las campañas de video de periféricos y laptops. */
.gs-slide-motion { --campaign-light: 0, 174, 218; background: #04070c; isolation: isolate; }
.gs-motion-violet { --campaign-light: 119, 78, 231; }
.gs-motion-rgb { --campaign-light: 0, 168, 217; }
.gs-campaign-light { position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; background: radial-gradient(ellipse at 77% 60%,rgba(var(--campaign-light),.23),transparent 52%),linear-gradient(115deg,#04070c 28%,#080e19 72%,#06080e); }
.gs-campaign-light::before { content: ''; position: absolute; inset: -15% -4% -10% 38%; background: radial-gradient(ellipse at 30% 50%,rgba(var(--campaign-light),.27),transparent 55%),radial-gradient(ellipse at 85% 25%,#ec14582b,transparent 45%); filter: blur(35px); animation: gs-campaign-glow 12s ease-in-out infinite alternate; animation-play-state: paused; }
.gs-campaign-light::after { content: ''; position: absolute; width: 60%; height: 1px; right: -10%; bottom: 16%; background: linear-gradient(90deg,transparent,rgba(var(--campaign-light),.5),transparent); box-shadow: 0 0 20px 2px rgba(var(--campaign-light),.18); transform: rotate(-24deg); }
.gs-showcase.is-motion-running .gs-slide-motion:not([inert]) .gs-campaign-light::before { animation-play-state: running; }
.gs-slide-motion.gs-slide-contained .gs-slide-media { background: #030407; box-shadow: 0 0 45px 16px #04070c; }
.gs-slide-motion.gs-slide-contained .gs-slide-media::after { box-shadow: inset 0 0 16px 6px #04070c; }
.gs-slide-motion .gs-slide-ambience { opacity: .32; }
@keyframes gs-campaign-glow { from { transform: translate(-3%,3%) scale(.96); opacity: .65; } to { transform: translate(3%,-3%) scale(1.06); opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
    .gs-campaign-light::before { animation: none; }
}
.gs-editorial-card-product { background: #000; display: grid; grid-template-columns: 40% 60%; align-items: center; }
.gs-editorial-card-product > img { position: relative; inset: auto; order: 2; object-fit: contain; opacity: 1; transform: none; }
.gs-editorial-card-product:hover > img { transform: none; }
.gs-editorial-card-product > div { padding: 24px; background: none; }
.gs-editorial-card-product h2 { font-size: clamp(24px,2vw,32px); }
@media (max-width: 700px) {
    .gs-slide-product { display: flex; flex-direction: column; }
    .gs-slide-product .gs-slide-inner { order: -1; display: block; width: calc(100% - 40px); min-height: 0; padding-block: 35px 24px; flex: none; }
    .gs-slide-product .gs-slide-copy { width: 100%; max-width: none; }
    .gs-slide-product .gs-slide-copy h2 { font-size: clamp(37px,9vw,45px); }
    .gs-slide-product .gs-slide-signature { display: none; }
    .gs-slide-product .gs-slide-media { position: relative; inset: auto; width: calc(100% - 24px); margin: 20px 12px 70px; height: auto; aspect-ratio: 1672/941; flex: none; }
    .gs-slide-product .gs-slide-media img { object-position: center; }
    .gs-showcase:has(.gs-slide-product:not([inert])) .gs-carousel-controls button { top: auto; bottom: 18px; transform: none; }
    .gs-showcase:has(.gs-slide-product:not([inert])) .gs-carousel-prev { left: calc(50% - 46px); }
    .gs-showcase:has(.gs-slide-product:not([inert])) .gs-carousel-next { right: calc(50% - 46px); }
    .gs-editorial-card-product { grid-template-columns: 1fr; }
    .gs-editorial-card-product > img { height: 200px; order: 0; }
    .gs-editorial-card-product > div { order: 1; padding: 0 24px 24px; }
}
