/* TechMarleys — editorial storefront. Loaded after page-specific styles. */
:root {
  --tm-heading: #8a009f;
  --tm-ink: #24252a;
  --tm-muted: #6b6c77;
  --tm-soft: #f8f8f9;
  --tm-line: #e3e3e9;
  --tm-card: #fff;
  --account-purple: #8a009f;
  --account-purple-dark: #650075;
  --account-line: #e3e3e9;
  --account-soft: #f8f8f9;
}
body, body.tm-account-page { background: #f8f8f9; color: var(--tm-ink); animation: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
h1, h2, .tm-section-title, .tm-product-title, .tm-showcase-title { color: var(--tm-heading); letter-spacing: -.035em; }
a, button, input, select, textarea { touch-action: manipulation; }
:focus-visible { outline: 2px solid var(--tm-heading); outline-offset: 4px; }
button, input, select, textarea { font: inherit; }
.tm-section, .tm-header-inner, .tm-search-shell, .tm-footer-inner { width: min(1440px, calc(100% - 80px)); }
.tm-section-block { content-visibility: visible; contain-intrinsic-size: none; }
.tm-utility-bar { background: #2b2c30; color: #fff; font-size: 12px; }
.tm-utility-inner { width: min(1440px, calc(100% - 80px)); margin: auto; min-height: 34px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.tm-utility-inner a { text-decoration: none; color: #fff; }
.tm-store-header { background: #fff; border-bottom: 1px solid var(--tm-line); box-shadow: none; backdrop-filter: none; }
.tm-header-inner { min-height: 92px; gap: 24px; }
#siteHeader .tm-header-inner { display: flex; flex-wrap: nowrap; align-items: center; gap: 24px; padding: 8px 0; }
#siteHeader .tm-header-brand img[data-logo] { height: 76px; max-width: 110px; }
#siteHeader .tm-header-search { flex: 1; width: auto; }
.tm-header-brand { flex: 0 0 130px; }
.tm-header-brand img { width: 110px; height: 76px; object-fit: contain; }
.tm-desktop-links { display: flex; gap: 22px; align-items: center; font-size: 13px; font-weight: 600; white-space: nowrap; }
.tm-desktop-links a:hover { color: var(--tm-heading); }
.tm-home-page .tm-home-pill { display: none; }
.tm-search-box { border: 1px solid var(--tm-line); background: #f8f8fa; border-radius: 6px; box-shadow: none; min-height: 46px; }
.tm-search-box .material-symbols-outlined { color: #28292d; }
.tm-icon-btn, .tm-home-pill { color: #28292d; border: 1px solid var(--tm-line); background: #fff; border-radius: 8px; box-shadow: none; }
.tm-home-page > main { display: flex; flex-direction: column; }
.tm-editorial-intro { order: 0; padding-top: 42px; padding-bottom: 20px; }
.tm-editorial-intro .tm-eyebrow { font-size: 10px; letter-spacing: .28em; font-weight: 600; margin-bottom: 10px; }
.tm-editorial-intro h1 { font-size: clamp(32px, 3.65vw, 56px); line-height: 1.08; font-weight: 800; margin: 0; text-wrap: balance; }
.tm-editorial-intro p:last-child { color: var(--tm-muted); font-size: clamp(14px, 1.3vw, 18px); margin-top: 12px; }
.tm-editorial-head { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 32px; order: 0; padding: 34px 0 26px; }
.tm-editorial-head .tm-editorial-intro { width: auto; padding: 0; margin: 0; }
.tm-editorial-head .tm-editorial-intro h1 { font-size: clamp(30px, 3.1vw, 46px); }
.tm-editorial-head .tm-trust-strip { width: auto; padding: 0; margin: 0; }
.tm-editorial-head .tm-trust-strip > div { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tm-editorial-head .tm-trust-card { border: 0; padding: 6px 0; }
.tm-editorial-head .tm-trust-card h3 { font-size: 12px; }
.tm-editorial-head .tm-trust-card p { font-size: 11px; }
.tm-home-page .tm-trust-strip { order: 1; padding-top: 0; padding-bottom: 24px; }
.tm-trust-card { background: transparent; border: 0; border-right: 1px solid var(--tm-line); border-radius: 0; box-shadow: none; padding: 12px 20px 12px 0; gap: 12px; }
.tm-trust-card:last-child { border-right: 0; }
.tm-trust-icon { color: #303136; background: transparent; border-radius: 0; width: 34px; height: 34px; }
.tm-trust-card h3 { color: #292a30; font-weight: 700; }
.tm-home-page #catalogSection { order: 2; padding-top: 22px; border-top: 1px solid var(--tm-line); scroll-margin-top: 110px; }
.tm-home-page #catalogSection > .tm-section-head .tm-eyebrow { display: none; }
.tm-home-page #catalogSection .tm-section-title { font-size: 24px; font-weight: 800; }
.tm-catalog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 18px 0 22px; }
.tm-catalog-toolbar .tm-search-tools { flex: 1; justify-content: flex-end; gap: 8px; }
.tm-search-select { border-radius: 6px; border: 1px solid var(--tm-line); background-color: #fff; font-weight: 500; min-height: 42px; color: #383943; box-shadow: none; font-size: 12px; }
.tm-filter-bar { gap: 22px; margin: 0; overflow-x: auto; flex-shrink: 0; }
.tm-filter-chip { border: 0; border-bottom: 2px solid transparent; border-radius: 0; padding: 12px 3px; background: transparent; box-shadow: none; color: #454550; font-size: 13px; font-weight: 500; }
.tm-filter-chip.active, .tm-filter-chip:hover { color: var(--tm-heading); background: transparent; border-bottom-color: var(--tm-heading); box-shadow: none; transform: none; }
.tm-filter-chip.active { font-weight: 700; }
#productGrid, #productsGrid, .tm-seo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.tm-product-card { display: flex; flex-direction: column; min-width: 0; border: 1px solid #dedfe6; border-radius: 10px; background: #fff; box-shadow: none; padding: 10px; transition: border-color .2s, box-shadow .2s, transform .2s; }
.tm-product-card:hover { border-color: #bab1c4; box-shadow: 0 12px 30px -18px #34263f40; transform: translateY(-3px); }
.tm-product-card-new::before, .tm-product-cta::after, .tm-badge-new::before, .tm-badge-new::after { display: none; }
.tm-product-card-new, .tm-product-card-new.is-glitching *, .tm-product-image-float { animation: none !important; }
.tm-product-media { aspect-ratio: 1.22; border-radius: 5px; background: #f3f3f5; overflow: hidden; }
.tm-product-media img, .tm-product-media-link img { width: 100%; height: 100%; object-fit: contain; padding: 14px; mix-blend-mode: multiply; transform: none; animation: none; }
.tm-product-card:hover .tm-product-media-link > img { transform: scale(1.025); }
.tm-product-hover-action { top: 10px; right: 10px; bottom: auto; left: auto; width: 32px; height: 32px; padding: 0; border: 1px solid #e5e5ec; border-radius: 5px; background: #ffffffed; color: #34313b; opacity: 1; transform: none; box-shadow: none; display: grid; place-items: center; }
.tm-product-hover-action > span:not(.material-symbols-outlined) { display: none; }
.tm-product-badge-stack { top: 10px; left: 10px; }
.tm-badge-offer { background: #be167f; color: #fff; border-radius: 4px; padding: 5px 7px; font-size: 10px; }
.tm-badge-new { background: #fff; color: var(--tm-heading); border: 1px solid #dedfe6; border-radius: 4px; box-shadow: none; }
.tm-product-body { display: flex; flex: 1; flex-direction: column; padding: 14px 3px 2px; gap: 0; }
.tm-card-category { color: #696575; text-transform: uppercase; letter-spacing: .16em; font-size: 9px; font-weight: 600; margin-bottom: 7px; }
.tm-product-title { color: var(--tm-heading); font-size: clamp(15px, 1.35vw, 20px); line-height: 1.3; font-weight: 750; min-height: 2.6em; margin: 0; overflow-wrap: anywhere; }
.tm-product-meta { font-size: 11px; color: #787481; margin: 6px 0 0; font-weight: 400; }
.tm-card-specs { margin: 14px 0 16px; padding: 0; font-size: 11px; min-height: 90px; }
.tm-card-specs > div { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 8px; padding: 7px 0; border-bottom: 1px solid #efeff3; }
.tm-card-specs dt { display: flex; align-items: center; gap: 7px; color: #77727e; min-width: 0; }
.tm-card-specs .material-symbols-outlined { font-size: 17px; color: #44424d; flex-shrink: 0; }
.tm-card-specs dd { color: #37323f; text-align: right; font-weight: 500; margin: 0; overflow-wrap: anywhere; }
.tm-card-specs-empty { color: var(--tm-muted); font-size: 12px; line-height: 1.7; }
.tm-card-price-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 12px; border-top: 1px solid var(--tm-line); margin-top: auto; }
.tm-card-price-row > div { min-height: 54px; }
.tm-card-price-row del { display: block; font-size: 11px; line-height: 16px; margin: 0; }
.tm-product-price { color: #22232a; font-size: clamp(19px, 1.8vw, 27px); font-weight: 800; letter-spacing: -.045em; }
.tm-badge-stock { color: #34383b; background: transparent; font-size: 10px; padding: 0; white-space: nowrap; font-weight: 500; }
.tm-badge-stock::before { content: ''; width: 7px; height: 7px; display: inline-block; background: #43ae22; border-radius: 50%; margin-right: 5px; }
.tm-badge-stock.is-out { color: #875244; background: transparent; }
.tm-badge-stock.is-out::before { background: #b47661; }
.tm-product-cta, .tm-product-card:hover .tm-product-cta { margin-top: 14px; border-radius: 5px; background: #303135; color: #fff; border: 1px solid #303135; font-size: 12px; font-weight: 600; min-height: 42px; box-shadow: none; }
.tm-product-cta:hover, .tm-product-card:hover .tm-product-cta:hover { background: #54206c; border-color: #54206c; }
.tm-card-location { display: flex; align-items: center; gap: 5px; font-size: 10px; color: #77727e; margin: 11px 0 1px; }
.tm-card-location .material-symbols-outlined { font-size: 15px; }
.tm-primary-btn, .tm-button-primary, .tm-seo-primary { background: #303135; color: #fff; border-radius: 6px; box-shadow: none; font-weight: 600; }
.tm-primary-btn:hover, .tm-button-primary:hover, .tm-seo-primary:hover { background: #54206c; color: #fff; box-shadow: none; }
.tm-secondary-btn, .tm-button-secondary, .tm-button-ghost, .tm-seo-secondary { background: #fff; border: 1px solid var(--tm-line); color: #403848; border-radius: 6px; box-shadow: none; }
.tm-feature-card, .tm-category-card, .tm-quick-panel, .tm-account-panel, .tm-account-stat, .tm-account-hero, .tm-payment-shell { border-radius: 10px; background: #fff; border: 1px solid var(--tm-line); box-shadow: none; }
.tm-account-hero::after, .tm-seo-hero::after { display: none; }
.tm-account-hero h1, .tm-account-panel h2, .tm-payment-head h2 { color: var(--tm-heading); }
.tm-account-stat strong, .tm-reservation-total { color: var(--tm-ink); }
.tm-account-shortcut-icon, .tm-payment-head-icon { background: #f4f1f6; color: var(--tm-heading); border-radius: 6px; }
.tm-account-topbar { background: #fff; border-bottom: 1px solid var(--tm-line); }
.tm-account-nav-link, .tm-account-nav-icon, .tm-account-shortcut, .tm-reservation-card { border-radius: 7px; border-color: var(--tm-line); box-shadow: none; }
.tm-payment-panel { background: #f8f8fa; border-color: var(--tm-line); border-radius: 8px; }
.tm-payment-method { border-radius: 8px; }
.tm-payment-method.is-active { border-color: var(--tm-heading); background: #faf8fc; box-shadow: none; }
.tm-payment-step::before { background: #303135; }
.tm-seo-hero { background: #fff; color: var(--tm-ink); border: 1px solid var(--tm-line); border-radius: 10px; box-shadow: none; }
.tm-seo-hero h1 { color: var(--tm-heading); font-size: clamp(32px, 4vw, 54px); line-height: 1.1; }
.tm-seo-lead, .tm-seo-breadcrumbs { color: var(--tm-muted); }
.tm-seo-hero .tm-eyebrow { color: var(--tm-heading); }
.tm-seo-breadcrumbs a:hover { color: var(--tm-heading); }
.tm-seo-point, .tm-seo-faq-list details { border-radius: 8px; box-shadow: none; }
.tm-product-zoom { background: #f3f3f5; border-radius: 8px; max-height: 620px; }
.tm-detail-specs h2 { font-size: 13px; font-weight: 700; }
.tm-detail-specs .tm-card-specs { font-size: 12px; margin-bottom: 0; }
.tm-product-zoom > img { mix-blend-mode: multiply; }
.tm-detail-price { color: #24252a !important; }
#confirm { background: #303135; border-radius: 6px; font-weight: 600; }
.tm-auth-page { min-height: 100dvh; }
.tm-auth-page main { background: #fff; border: 1px solid var(--tm-line); border-radius: 10px; padding: 28px; flex: 0 1 auto; }
.tm-auth-page header { padding-top: 20px; padding-bottom: 20px; }
.tm-auth-page header img { width: 125px; height: 86px; object-fit: contain; }
.tm-auth-page form button[type=submit] { background: #303135; border-radius: 6px; box-shadow: none; padding: 15px; font-size: 15px; }
.tm-auth-page input, .tm-account-page input, .tm-account-page select { border-radius: 6px; border-color: #dcdde4; }
.tm-auth-page label { color: #65616d; }
.tm-auth-page h1 { color: var(--tm-heading); }
.tm-home-page #randomSection { order: 3; margin-bottom: 28px; }
.tm-home-page #bannerWrap { order: 2; width: min(1440px, calc(100% - 80px)); height: clamp(260px, 34vw, 470px); margin: 0 auto 42px; border-radius: 12px; overflow: hidden; }
.tm-home-page #bannerWrap .tm-hero-media { width: 100%; height: 100%; object-fit: cover; display: block; }
.tm-home-page #bannerWrap .tm-hero-cta { background: var(--tm-heading); color: #fff; border-color: var(--tm-heading); }
.tm-showcase-stage, .tm-showcase-feature { background: #f0eef2; border: 1px solid var(--tm-line); box-shadow: none; border-radius: 10px; }
.tm-showcase-stage::before, .tm-showcase-stage::after, .tm-showcase-glow, .tm-showcase-feature::after { display: none; }
.tm-showcase-feature { background: #fff; color: var(--tm-ink); }
.tm-showcase-title, .tm-showcase-kicker { color: var(--tm-heading); }
.tm-showcase-meta, .tm-showcase-availability { color: var(--tm-muted); }
.tm-showcase-price, .tm-showcase-price.is-offer { color: var(--tm-ink); text-shadow: none; }
.tm-showcase-quick, .tm-showcase-link { border-radius: 6px; background: #303135; color: #fff; box-shadow: none; }
.tm-showcase-card .tm-card-specs { display: none; }
.tm-site-footer { background: #292a2f; color: #e8e7ed; border: 0; border-radius: 0; }
.tm-footer-orb { display: none; }
.tm-site-footer h2 { color: #fff; letter-spacing: .12em; }
.tm-footer-logo-wrap { background: #fff; border-radius: 6px; }
.tm-page-guide, .tm-page-guide.is-useful, .tm-click-pulse { display: none; }
.tm-quick-dialog { border-radius: 10px; border: 1px solid var(--tm-line); }
.tm-quick-media { background: #f3f3f5; }
.tm-quick-media > img { mix-blend-mode: multiply; }
#quickPrice { color: #24252a; }
.tm-showcase-card.is-spotlight { border-color: #bfb4c7; box-shadow: 0 12px 25px -18px #34263f66; }
.tm-showcase-card.is-spotlight .tm-product-cta { background: #303135; }
.tm-editorial-categories main { max-width: 1440px; padding-top: 32px; }
.tm-editorial-categories main button { border-radius: 10px; border-color: var(--tm-line); box-shadow: none; }
.tm-editorial-categories main button:hover { border-color: #baadc4; }
.tm-editorial-categories main button h2 { color: var(--tm-heading); }
.tm-editorial-categories main button .bg-primary { background: #303135; border-radius: 5px; }
.tm-directory-card { display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--tm-line); text-align: left; }
.tm-directory-image { display: grid; place-items: center; aspect-ratio: 1.35; background: #f0f0f3; width: 100%; overflow: hidden; }
.tm-directory-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.tm-directory-card:hover img { transform: scale(1.035); }
.tm-directory-image > .material-symbols-outlined { color: var(--tm-heading); font-size: 64px; }
.tm-directory-copy { display: grid; gap: 8px; padding: 20px; }
.tm-directory-copy strong { color: var(--tm-heading); font-size: 20px; letter-spacing: -.03em; }
.tm-directory-copy > span { color: #6a6671; font-size: 12px; }
.tm-badge.hidden, .tm-secondary-btn.hidden, .tm-clear-btn.hidden, .tm-clear-filters.hidden { display: none; }
.tm-fade-in { opacity: 1; animation: none; transform: none; }
@media(min-width: 1024px) { #tmBottomNav { display: none; } }
@media(max-width: 1200px) {
  .tm-desktop-links { gap: 14px; font-size: 12px; }
  .tm-catalog-toolbar { flex-wrap: wrap; }
  .tm-catalog-toolbar .tm-search-tools { flex-basis: 100%; justify-content: flex-start; }
  .tm-card-specs > div { grid-template-columns: 1fr; gap: 3px; }
  .tm-card-specs dd { text-align: left; padding-left: 24px; }
}
@media(max-width: 900px) {
  .tm-editorial-head { grid-template-columns: 1fr; gap: 20px; }
  .tm-editorial-head .tm-trust-strip > div { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tm-section, .tm-header-inner, .tm-search-shell, .tm-footer-inner, .tm-utility-inner { width: calc(100% - 40px); }
  .tm-desktop-links { display: none; }
  #productGrid, #productsGrid, .tm-seo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .tm-product-title { font-size: 18px; }
  .tm-card-specs > div { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 8px; }
  .tm-card-specs dd { text-align: right; padding-left: 0; }
  .tm-home-page #bannerWrap { width: calc(100% - 40px); }
}
@media(max-width: 600px) {
  .tm-section, .tm-header-inner, .tm-search-shell, .tm-footer-inner, .tm-utility-inner { width: calc(100% - 32px); }
  .tm-utility-inner { min-height: 28px; font-size: 10px; justify-content: center; }
  .tm-utility-inner a { display: none; }
  .tm-header-inner { display: flex; flex-wrap: wrap; gap: 10px; min-height: 72px; padding: 8px 0 12px; }
  #siteHeader .tm-header-inner, #siteHeader.is-compact .tm-header-inner { display: flex; flex-wrap: wrap; gap: 10px; padding: 8px 0 12px; }
  #siteHeader .tm-header-brand img[data-logo], #siteHeader.is-compact .tm-header-brand img[data-logo] { height: 50px; max-width: 78px; }
  #siteHeader .tm-header-search, #siteHeader.is-compact .tm-header-search { flex: 0 0 100%; min-height: 42px; order: 5; }
  #siteHeader.is-compact .tm-header-brand, #siteHeader.is-compact .tm-header-cart { display: flex; }
  .tm-header-brand { flex-basis: auto; margin-right: auto; }
  .tm-header-brand img { height: 50px; width: 78px; }
  .tm-header-search { order: 5; flex: 0 0 100%; width: 100%; }
  .tm-home-page .tm-store-header.is-compact .tm-header-brand, .tm-home-page .tm-store-header.is-compact .tm-header-cart { display: inline-flex; }
  .tm-editorial-intro { padding-top: 26px; padding-bottom: 15px; }
  .tm-editorial-head { padding: 24px 0 20px; gap: 20px; }
  .tm-editorial-head .tm-trust-strip > div { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tm-editorial-head .tm-trust-card p { display: none; }
  .tm-editorial-head .tm-trust-card { align-items: center; }
  .tm-directory-copy { padding: 14px; }
  .tm-directory-copy strong { font-size: 16px; }
  .tm-editorial-intro h1 { font-size: 34px; letter-spacing: -.045em; max-width: 370px; }
  .tm-trust-card { padding: 8px 0; border: 0; gap: 7px; }
  .tm-trust-card h3 { font-size: 11px; }
  .tm-trust-card p { font-size: 10px; }
  .tm-trust-icon { font-size: 23px; width: 26px; }
  .tm-home-page .tm-trust-strip { padding-bottom: 15px; }
  .tm-home-page #catalogSection { scroll-margin-top: 150px; padding-top: 18px; }
  .tm-catalog-toolbar { gap: 10px; margin: 14px 0 18px; }
  .tm-filter-bar { width: 100%; justify-content: space-between; gap: 10px; }
  .tm-catalog-toolbar .tm-search-tools { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .tm-search-select { width: 100%; min-width: 0; font-size: 11px; }
  #productGrid, #productsGrid, .tm-seo-grid { gap: 10px; }
  .tm-product-card { padding: 7px; border-radius: 8px; }
  .tm-product-media { aspect-ratio: 1; }
  .tm-product-media img { padding: 6px; }
  .tm-product-title { font-size: 13px; min-height: 3.9em; -webkit-line-clamp: 3; }
  .tm-product-meta { font-size: 9px; }
  .tm-card-category { font-size: 8px; letter-spacing: .08em; }
  .tm-card-specs { font-size: 10px; margin-top: 10px; }
  .tm-card-specs > div { grid-template-columns: 1fr; gap: 2px; }
  .tm-card-specs dd { text-align: left; padding-left: 20px; }
  .tm-card-specs .material-symbols-outlined { font-size: 14px; }
  .tm-card-price-row { align-items: flex-start; flex-direction: column; gap: 6px; }
  .tm-card-price-row > div { min-height: 48px; }
  .tm-product-price { font-size: 22px; }
  .tm-product-cta { font-size: 11px; min-height: 42px; padding: 8px; }
  .tm-card-location { font-size: 9px; }
  .tm-product-hover-action { width: 27px; height: 27px; top: 6px; right: 6px; }
  .tm-product-body { padding-top: 10px; }
  .tm-home-page #bannerWrap { width: calc(100% - 32px); }
  .tm-auth-page main { width: calc(100% - 32px); padding: 22px; }
  .tm-account-hero { padding: 22px; }
}
@media(prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Identidad de marca: el morado vuelve a liderar las acciones principales. */
.tm-primary-btn,
.tm-button-primary,
.tm-seo-primary,
.tm-product-cta,
.tm-showcase-quick,
.tm-showcase-link,
#confirm,
.tm-auth-page form button[type="submit"],
.tm-editorial-categories main button .bg-primary {
  background: var(--tm-heading) !important;
  border-color: var(--tm-heading) !important;
  color: #fff !important;
}

.tm-primary-btn:hover,
.tm-button-primary:hover,
.tm-seo-primary:hover,
.tm-product-cta:hover,
.tm-showcase-quick:hover,
.tm-showcase-link:hover,
#confirm:hover,
.tm-auth-page form button[type="submit"]:hover,
.tm-editorial-categories main button:hover .bg-primary {
  background: #650075 !important;
  border-color: #650075 !important;
  color: #fff !important;
}

.tm-filter-chip.active {
  color: var(--tm-heading) !important;
  border-bottom-color: var(--tm-heading) !important;
}
