body.store-page {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: #02050b;
  color: #e2efff;
  font-family: 'Public Sans', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.store-page a:focus-visible,
.store-page button:focus-visible {
  outline: 2px solid #8fb9ff;
  outline-offset: 4px;
}

.store-page__skip {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 20;
  padding: 10px 14px;
  background: #fff;
  color: #02050b;
}

.store-page__skip:focus { top: 16px; }

.store-page__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 40px));
  min-height: 76px;
  margin-inline: auto;
  padding: 14px 0;
  border-bottom: 1px solid rgba(143, 185, 255, 0.18);
}

.store-page__brand img { width: 156px; height: auto; }
.store-page__nav { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 8px 22px; color: rgba(226, 239, 255, 0.72); font-size: 0.78rem; font-weight: 700; }
.store-page__nav a:hover { color: #fff; }
.store-page__contact { padding: 10px 14px; background: #4d8dff; color: #02050b !important; }

#tienda-estrella-motortrust.ecom-vault {
  min-height: calc(100svh - 76px);
  padding-top: clamp(36px, 6vw, 78px);
  padding-bottom: clamp(48px, 7vw, 92px);
}

#tienda-estrella-motortrust .ecom-vault__shell {
  width: min(1180px, calc(100% - 40px));
}

#tienda-estrella-motortrust .ecom-vault__title {
  max-width: 18ch;
  font-size: clamp(2rem, 4.6vw, 4.2rem);
  line-height: 1;
}

.store-page__noscript {
  width: min(760px, calc(100% - 40px));
  margin: 48px auto;
  padding: 20px;
  border: 1px solid rgba(143, 185, 255, 0.2);
  color: rgba(226, 239, 255, 0.76);
  text-align: center;
}

@media (max-width: 680px) {
  .store-page__header { align-items: flex-start; flex-direction: column; gap: 12px; }
  .store-page__nav { justify-content: flex-start; gap: 6px 14px; font-size: 0.7rem; }
  #tienda-estrella-motortrust .ecom-vault__shell { width: min(100% - 24px, 560px); }
}

@media (prefers-reduced-motion: reduce) {
  .store-page * { scroll-behavior: auto !important; }
}

/* Tienda: precisión en movimiento. Estas reglas prevalecen sobre los estilos
   compartidos de la antigua vitrina para conservar una identidad propia. */
body.store-page {
  min-height: 100vh;
  background: #02050b !important;
  color: #e2efff !important;
}

.store-page::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(rgba(143,185,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143,185,255,.035) 1px, transparent 1px),
    radial-gradient(ellipse at 80% -10%, rgba(77,141,255,.2), transparent 38%);
  background-size: 54px 54px, 54px 54px, auto;
}

.store-page__header {
  position: relative;
  z-index: 2;
  width: min(1240px, calc(100% - 48px));
  min-height: 84px;
  border-bottom-color: rgba(143,185,255,.18) !important;
}

.store-page__brand { display: inline-flex; padding: 8px 12px; background: #fff; }
.store-page__brand img { width: 164px; }
.store-page__nav { color: rgba(226,239,255,.72) !important; }
.store-page__nav a { color: inherit; text-decoration: none; }
.store-page__contact { border: 1px solid rgba(143,185,255,.3); background: #4d8dff !important; }

body.store-page #tienda-estrella-motortrust.ecom-vault {
  min-height: 0;
  padding: clamp(32px, 5vw, 72px) 0 clamp(60px, 8vw, 112px);
  overflow: visible;
  background: transparent !important;
  border: 0 !important;
}

body.store-page #tienda-estrella-motortrust.ecom-vault::before,
body.store-page #tienda-estrella-motortrust.ecom-vault::after { display: none; }

body.store-page #tienda-estrella-motortrust .ecom-vault__shell {
  width: min(1240px, calc(100% - 48px));
  display: grid;
  gap: clamp(22px, 3vw, 42px);
}

.store-command {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .72fr);
  gap: clamp(28px, 5vw, 76px);
  min-height: 480px;
  padding: clamp(28px, 4.6vw, 68px);
  overflow: hidden;
  border: 1px solid rgba(143,185,255,.22);
  background:
    linear-gradient(115deg, rgba(2,5,11,.98) 0%, rgba(7,16,31,.98) 56%, rgba(9,30,72,.88) 100%);
  box-shadow: 0 36px 100px rgba(0,0,0,.38), inset 0 1px rgba(255,255,255,.06);
}

.store-command::before {
  content: '';
  position: absolute;
  width: 60%;
  height: 160%;
  right: 6%;
  top: -44%;
  border: 1px solid rgba(143,185,255,.16);
  transform: rotate(28deg);
}

.store-command__copy { position: relative; z-index: 1; min-width: 0; align-self: center; }
.store-command__eyebrow,
.store-command__status { margin: 0; color: #8fb9ff; font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.store-command h1 {
  width: 100%;
  max-width: 12ch;
  margin: 18px 0 22px;
  color: #fff;
  font-size: clamp(2.7rem, 5.5vw, 5.65rem);
  font-weight: 900;
  letter-spacing: -.075em;
  line-height: .88;
  text-wrap: balance;
}
.store-command__copy > p:not(.store-command__eyebrow):not(.store-command__status) { max-width: 56ch; margin: 0; color: rgba(226,239,255,.7); font-size: 1rem; line-height: 1.68; }
.store-command__search { max-width: 630px; margin-top: 32px; }
.store-command__search label { display: block; margin-bottom: 10px; color: rgba(226,239,255,.7); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.store-command__search-field {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 0 14px 0 18px;
  border: 1px solid rgba(143,185,255,.32);
  background: rgba(255,255,255,.06);
  color: #8fb9ff;
  box-shadow: inset 0 1px rgba(255,255,255,.06);
}
.store-command__search-field:focus-within { border-color: #8fb9ff; box-shadow: 0 0 0 4px rgba(77,141,255,.16), inset 0 1px rgba(255,255,255,.08); }
.store-command__search-field input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: #fff; font: inherit; }
.store-command__search-field input::placeholder { color: rgba(226,239,255,.44); }
.store-command__search-field button { flex: 0 0 auto; border: 0; background: transparent; color: #8fb9ff; font: inherit; font-size: .7rem; font-weight: 800; cursor: pointer; }
.store-command__status { min-height: 20px; margin-top: 14px; color: rgba(143,185,255,.72); font-size: .65rem; letter-spacing: .08em; }

.store-command__media {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 340px;
  margin: 0;
  overflow: hidden;
  border-left: 1px solid rgba(143,185,255,.16);
  background: radial-gradient(circle at 52% 45%, rgba(143,185,255,.22), transparent 34%);
}
.store-command__media::before { content: ''; position: absolute; inset: 9% 6%; border: 1px solid rgba(143,185,255,.2); transform: skewY(-8deg); }
.store-command__media img { position: relative; z-index: 1; width: min(115%, 520px); max-height: 410px; object-fit: contain; filter: drop-shadow(0 35px 45px rgba(0,0,0,.48)); transform: rotate(-7deg) translateY(8px); }
.store-command__media figcaption { position: absolute; z-index: 2; right: 22px; bottom: 22px; display: grid; min-width: 150px; padding: 13px 16px; border: 1px solid rgba(143,185,255,.3); background: rgba(2,5,11,.78); box-shadow: 0 14px 32px rgba(0,0,0,.28); }
.store-command__media figcaption span { color: #8fb9ff; font-size: .58rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.store-command__media figcaption strong { margin-top: 4px; color: #fff; font-size: 2.25rem; line-height: 1; }
.store-command__media figcaption small { margin-top: 3px; color: rgba(226,239,255,.65); font-size: .65rem; }

body.store-page .ecom-vault__top { grid-template-columns: minmax(0, 1fr) auto; gap: 24px; margin: 0; }
body.store-page .ecom-vault__header { max-width: 760px; }
body.store-page .ecom-vault__eyebrow { color: #8fb9ff !important; }
body.store-page .ecom-vault__title { width: auto; margin-top: 8px; color: #fff !important; font-size: clamp(1.8rem, 3.8vw, 3.6rem); line-height: .92; }
body.store-page .ecom-vault__sub { color: rgba(226,239,255,.63) !important; }
body.store-page .ecom-vault__metric { min-width: 155px; border-radius: 0; border-color: rgba(143,185,255,.24) !important; background: linear-gradient(145deg, rgba(77,141,255,.18), rgba(2,5,11,.72)) !important; box-shadow: none !important; }
body.store-page .ecom-vault__metric-value { color: #fff !important; }
body.store-page .ecom-vault__metric-label { color: #8fb9ff !important; }
body.store-page .ecom-vault__tabs { width: 100%; justify-self: stretch; border-radius: 0; border-color: rgba(143,185,255,.2) !important; background: rgba(2,5,11,.68) !important; box-shadow: none !important; }
body.store-page .ecom-vault__tab { min-height: 66px; border-radius: 0; background: transparent !important; color: rgba(226,239,255,.58) !important; }
body.store-page .ecom-vault__tab.is-active { border-color: rgba(143,185,255,.22) !important; background: linear-gradient(135deg, #0d2f6f, #4d8dff) !important; color: #fff !important; }
body.store-page .ecom-vault__tab small { color: inherit !important; opacity: .72; }

body.store-page .ecom-showroom { border-radius: 0; border-color: rgba(143,185,255,.2) !important; background: rgba(2,5,11,.7) !important; box-shadow: 0 28px 72px rgba(0,0,0,.28) !important; }
body.store-page .ecom-showroom::before { opacity: .9; }
body.store-page .ecom-showroom__bar { padding: 22px 24px; border-bottom-color: rgba(143,185,255,.14); }
body.store-page .ecom-showroom__bar strong { color: #fff !important; font-size: clamp(1rem, 1.1vw, 1.28rem); }
body.store-page .ecom-showroom__kicker, body.store-page .ecom-showroom__status { color: #8fb9ff !important; }
body.store-page .ecom-showroom__status { background: rgba(77,141,255,.1); }
body.store-page .ecom-vault__grid { gap: 14px; padding: 16px; }
body.store-page .epc { border-radius: 0; border-color: rgba(143,185,255,.15) !important; background: linear-gradient(150deg, rgba(13,47,111,.44), rgba(3,8,18,.96) 58%) !important; box-shadow: none !important; }
body.store-page .epc:hover { transform: translateY(-6px) rotate(-.25deg); border-color: #8fb9ff !important; box-shadow: 0 22px 45px rgba(0,0,0,.32) !important; }
body.store-page .epc__media { background: radial-gradient(circle at 50% 45%, rgba(143,185,255,.2), transparent 35%), linear-gradient(135deg, #0d2f6f, #02050b) !important; }
body.store-page button.epc__media { display: block; padding: 0; border: 0; cursor: pointer; color: inherit; font: inherit; }
body.store-page .epc__badge { border-radius: 0; background: rgba(2,5,11,.8); color: #dceaff; }
body.store-page .epc__info { padding: 16px; }
body.store-page .epc__name { font-size: .98rem; }
body.store-page .epc__btn { border-radius: 0; background: #8fb9ff !important; color: #02050b !important; }
body.store-page .ecom-showroom__footer { border-radius: 0; background: rgba(13,47,111,.22) !important; }
body.store-page .ecom-showroom__footer p { color: rgba(226,239,255,.72) !important; }
body.store-page .ecom-search-empty { position: relative; z-index: 1; display: grid; gap: 8px; grid-column: 1 / -1; min-height: 220px; place-content: center; padding: 28px; text-align: center; color: rgba(226,239,255,.7); }
body.store-page .ecom-search-empty strong { color: #fff; font-size: 1.25rem; }
body.store-page .ecom-search-empty span { font-size: .88rem; }

@media (max-width: 760px) {
  .store-page__header, body.store-page #tienda-estrella-motortrust .ecom-vault__shell { width: calc(100vw - 32px) !important; max-width: 560px !important; margin-inline: auto !important; }
  body.store-page #tienda-estrella-motortrust .ecom-vault__shell,
  body.store-page .ecom-vault__top,
  body.store-page .ecom-vault__metric { box-sizing: border-box !important; }
  body.store-page #tienda-estrella-motortrust .ecom-vault__shell { padding-inline: 0 !important; }
  body.store-page .ecom-vault__top,
  body.store-page .ecom-vault__metric { width: 100% !important; min-width: 0 !important; }
  .store-page__header { min-height: 72px; }
  .store-page__brand img { width: 134px; }
  .store-page__nav { gap: 8px 14px; }
  .store-page__nav a:not(.store-page__contact) { display: none; }
  .store-command { grid-template-columns: 1fr; min-height: 0; padding: 28px 20px 0; }
  .store-command__copy,
  .store-command h1,
  .store-command__copy > p { inline-size: 100% !important; min-width: 0 !important; max-inline-size: 100% !important; }
  .store-command h1 { max-width: 100%; font-size: clamp(2.15rem, 10vw, 3rem); overflow-wrap: anywhere; text-wrap: wrap !important; }
  .store-command__media { min-height: 280px; border-top: 1px solid rgba(143,185,255,.16); border-left: 0; }
  .store-command__media img { width: min(108%, 400px); max-height: 280px; }
  body.store-page .ecom-vault__top { grid-template-columns: 1fr; }
  body.store-page .ecom-vault__metric { min-width: 0; }
  body.store-page .ecom-showroom__bar { padding: 18px; }
  body.store-page .ecom-showroom,
  body.store-page .ecom-showroom__bar,
  body.store-page .ecom-showroom__actions,
  body.store-page .ecom-vault__grid { width: 100% !important; min-width: 0 !important; box-sizing: border-box; }
  body.store-page .ecom-showroom__actions { flex-wrap: wrap; justify-content: flex-start; }
  body.store-page .ecom-vault__grid { padding: 10px; }
}

@media (prefers-reduced-motion: no-preference) {
  .store-command__media img { animation: storeProductFloat 7s ease-in-out infinite; }
  .store-command__media figcaption { animation: storeCaptionIn .7s cubic-bezier(.22,1,.36,1) both; }
}

@keyframes storeProductFloat {
  0%, 100% { transform: rotate(-7deg) translateY(8px); }
  50% { transform: rotate(-5deg) translateY(-4px); }
}

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

/* Tienda: acabado claro, manteniendo intacta la vitrina y sus controles. */
body.store-page { background: #f7faff !important; color: #07101d !important; }
.store-page::before {
  background:
    linear-gradient(rgba(13,47,111,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13,47,111,.05) 1px, transparent 1px),
    radial-gradient(ellipse at 80% -10%, rgba(77,141,255,.2), transparent 38%) !important;
}
.store-page__header { border-bottom-color: rgba(13,47,111,.13) !important; }
.store-page__brand { border: 1px solid rgba(13,47,111,.13); box-shadow: 0 8px 18px rgba(13,47,111,.07); }
.store-page__nav { color: #203b66 !important; }
.store-page__nav a:hover { color: #0d2f6f; }
.store-page__contact { background: linear-gradient(120deg, #0d2f6f, #4d8dff) !important; color: #fff !important; box-shadow: 0 8px 18px rgba(13,47,111,.15); }
body.store-page #tienda-estrella-motortrust.ecom-vault { background: transparent !important; }
.store-command {
  border-color: rgba(13,47,111,.15);
  background:
    radial-gradient(circle at 78% 35%, rgba(77,141,255,.22), transparent 24%),
    linear-gradient(118deg, #fff 0%, #f8fbff 54%, #e5f0ff 100%);
  box-shadow: 0 24px 62px rgba(13,47,111,.1), inset 0 1px rgba(255,255,255,.9);
}
.store-command::before { border-color: rgba(13,47,111,.13); }
.store-command__eyebrow,
.store-command__status { color: #0d2f6f; }
.store-command h1 { color: #07101d; }
.store-command__copy > p:not(.store-command__eyebrow):not(.store-command__status) { color: #52627a; }
.store-command__search label { color: #52627a; }
.store-command__search-field { border-color: rgba(13,47,111,.24); background: rgba(255,255,255,.7); color: #0d2f6f; box-shadow: inset 0 1px rgba(255,255,255,.9); }
.store-command__search-field:focus-within { border-color: #0d2f6f; box-shadow: 0 0 0 4px rgba(77,141,255,.15); }
.store-command__search-field input { color: #07101d; }
.store-command__search-field input::placeholder { color: #71809a; }
.store-command__search-field button { color: #0d2f6f; }
.store-command__status { color: #52627a; }
.store-command__media { border-left-color: rgba(13,47,111,.14); background: radial-gradient(circle at 52% 45%, rgba(77,141,255,.2), transparent 34%); }
.store-command__media::before { border-color: rgba(13,47,111,.15); }
.store-command__media img { filter: drop-shadow(0 30px 30px rgba(7,16,29,.22)); }
.store-command__media figcaption { border-color: rgba(13,47,111,.16); background: rgba(255,255,255,.9); box-shadow: 0 14px 32px rgba(13,47,111,.12); }
.store-command__media figcaption span { color: #2865cc; }
.store-command__media figcaption strong { color: #07101d; }
.store-command__media figcaption small { color: #52627a; }
body.store-page .ecom-vault__eyebrow { color: #0d2f6f !important; }
body.store-page .ecom-vault__title { color: #07101d !important; }
body.store-page .ecom-vault__sub { color: #52627a !important; }
body.store-page .ecom-vault__metric { border-color: rgba(13,47,111,.16) !important; background: linear-gradient(145deg, #fff, #e5f0ff) !important; }
body.store-page .ecom-vault__metric-value { color: #07101d !important; }
body.store-page .ecom-vault__metric-label { color: #2865cc !important; }
body.store-page .ecom-vault__tabs { border-color: rgba(13,47,111,.16) !important; background: #fff !important; box-shadow: 0 10px 24px rgba(13,47,111,.05) !important; }
body.store-page .ecom-vault__tab { color: #52627a !important; }
body.store-page .ecom-vault__tab.is-active { border-color: #0d2f6f !important; background: linear-gradient(120deg, #0d2f6f, #2865cc) !important; color: #fff !important; }
body.store-page .ecom-showroom { border-color: rgba(13,47,111,.16) !important; background: #fff !important; box-shadow: 0 24px 62px rgba(13,47,111,.09) !important; }
body.store-page .ecom-showroom::before { opacity: .42; }
body.store-page .ecom-showroom__bar { border-bottom-color: rgba(13,47,111,.13); }
body.store-page .ecom-showroom__bar strong { color: #07101d !important; }
body.store-page .ecom-showroom__kicker,
body.store-page .ecom-showroom__status { color: #0d2f6f !important; }
body.store-page .ecom-showroom__status { background: #edf5ff; }
body.store-page .epc { border-color: rgba(13,47,111,.14) !important; background: #fff !important; box-shadow: 0 8px 20px rgba(13,47,111,.04) !important; }
body.store-page .epc:hover { border-color: #4d8dff !important; box-shadow: 0 20px 34px rgba(13,47,111,.12) !important; }
body.store-page .epc__media { background: radial-gradient(circle at 50% 45%, rgba(77,141,255,.18), transparent 37%), linear-gradient(135deg, #f8fbff, #e4f0ff) !important; }
body.store-page .epc__badge { background: rgba(255,255,255,.88); color: #0d2f6f; }
body.store-page .epc__name { color: #07101d !important; }
body.store-page .epc__btn { background: #0d2f6f !important; color: #fff !important; }
body.store-page .ecom-showroom__footer { background: #edf5ff !important; }
body.store-page .ecom-showroom__footer p { color: #52627a !important; }
body.store-page .ecom-search-empty { color: #52627a; }
body.store-page .ecom-search-empty strong { color: #07101d; }

@media (max-width: 760px) {
  body.store-page { overflow-x: hidden; }
  body.store-page #tienda-estrella-motortrust .ecom-vault__shell,
  .store-command { width: calc(100vw - 32px) !important; max-width: calc(100vw - 32px) !important; }
  .store-command h1 { max-width: 100% !important; font-size: clamp(1.95rem, 8.8vw, 2.45rem) !important; line-height: .92; overflow-wrap: anywhere; text-wrap: pretty !important; }
  .store-command__media { border-top-color: rgba(13,47,111,.14); }
}
