/* Siman El Salvador — estilo alineado a sv.siman.com (es-SV) */
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap");

:root {
  /* Siman home: fondo negro + acentos rojos */
  --tia-red: #e72a36;
  --tia-red-dark: #a93239;
  --tia-action: #a93239;
  --tia-blue: #1f1f1f;
  --tia-navy: #1f1f1f;
  --tia-text: #ffffff;
  --tia-text-on-light: #1f1f1f;
  --tia-muted: #979899;
  --tia-muted-2: #b5b3b3;
  --tia-border: transparent;
  --tia-bg: #1f1f1f;
  --tia-cream: #1f1f1f;
  --tia-surface: #ffffff;
  --tia-font: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --tia-header-bg: #1f1f1f;
  --tia-radius: 16px;
  --tia-header-grad: #e72a36;
}

html,
body {
  margin: 0;
  padding: 0;
  background: #1f1f1f;
  color: #fff;
  overflow-x: hidden;
  overflow-x: clip;
}

.tia-shell,
.tia-shell *,
.tia-shell *::before,
.tia-shell *::after {
  box-sizing: border-box;
}

.tia-shell {
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  background: #1f1f1f;
  color: #ffffff;
  font-family: var(--tia-font);
  font-size: 14px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── Header（对齐 ScrapBook / sv.siman.com 手机顶栏） ── */
.tia-site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  width: 100%;
  background: #1f1f1f;
}
.tia-topbar { display: none; }
.tia-header {
  background: #1f1f1f;
  border-bottom: 0;
  box-shadow: none;
}
.tia-header__row {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 15px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}
.tia-header__left {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 23%;
  min-width: 0;
  flex: 0 0 auto;
}
.tia-header__right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 auto;
  min-width: 40px;
}
.tia-icon-btn {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  border-radius: 0;
  order: 0;
}
.tia-icon-btn svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
}
.tia-logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  text-decoration: none;
  min-width: 0;
  order: 0;
}
.tia-header .tia-logo img {
  height: 30px;
  width: auto;
  max-width: 36px;
  object-fit: contain;
  object-position: left center;
  display: block;
  filter: none;
}
.tia-official img {
  height: 36px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  display: block;
  filter: none;
}
.tia-official {
  color: #fff;
}
.tia-search {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  width: 60%;
  min-width: 0;
  height: 40px;
  margin: 0;
  padding: 0 14px;
  border: 0;
  border-radius: 16px;
  background: #fff;
  gap: 8px;
}
.tia-search svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: #1f1f1f;
}
.tia-search input {
  flex: 1;
  min-width: 0;
  height: 38px;
  border: 0;
  background: transparent;
  font-family: var(--tia-font);
  font-size: 14px;
  font-weight: 400;
  color: #1f1f1f;
}
.tia-search input::placeholder { color: #979899; }
.tia-search input:focus { outline: none; }
.tia-search button { display: none; }
.tia-header-cta { display: none; }
.tia-header-nav { display: none; }
.tia-actions { display: none; }
.tia-cart {
  position: relative;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #f1f1f1;
  text-decoration: none;
}
.tia-cart img {
  width: 28px;
  height: 28px;
  display: block;
  object-fit: contain;
}
.tia-cart-badge {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: #e72a36;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
}
.tia-cats {
  display: flex;
  gap: 16px;
  padding: 12px 16px;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  font-size: 12px;
  color: #1f1f1f;
  background: #f1f1f1;
  border-bottom: 1px solid #d3d3d3;
}
.tia-cats a,
.tia-cats span {
  flex: 0 0 auto;
  color: #1f1f1f;
  text-decoration: none;
  font-family: Roboto, sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
}
.tia-cats a:first-child,
.tia-cats span:first-child {
  font-weight: 700;
}

/* ── Nav + strip（次级信息条，贴合官网浅底） ── */
.tia-nav {
  display: none !important;
}
.tia-nav__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
}
.tia-nav a,
.tia-nav span {
  display: inline-block;
  padding: 12px 18px;
  font-size: 13px;
  font-weight: 700;
  color: var(--tia-navy);
  text-decoration: none;
}
.tia-nav span.on,
.tia-nav a.on {
  color: var(--tia-red);
  box-shadow: inset 0 -3px 0 var(--tia-red);
}
.tia-delivery { display: none !important; }
.tia-delivery span {
  min-width: 0;
  overflow-wrap: anywhere;
}
.tia-delivery svg {
  width: 16px;
  height: 16px;
  stroke: var(--tia-red);
  fill: none;
  stroke-width: 2;
}

/* ── Breadcrumb ── */
.tia-breadcrumb {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 16px;
  font-size: 12px;
  color: #b5b3b3;
  overflow-wrap: anywhere;
}
.tia-breadcrumb a,
.tia-breadcrumb span {
  color: inherit;
}
.tia-breadcrumb strong {
  color: #ffffff;
  font-weight: 700;
}

/* ── Promo ribbon ── */
.tia-promo-ribbon {
  max-width: none;
  margin: 0 0 16px;
  padding: 0;
}
.tia-promo-ribbon__inner {
  background: #e72a36;
  color: #fff;
  text-align: center;
  padding: 12px 16px;
  border-radius: 0;
  font-size: 14px;
  font-weight: 700;
  font-family: Roboto, sans-serif;
  overflow-wrap: anywhere;
}
.tia-promo-ribbon__inner strong {
  font-weight: 800;
}

/* ── PDP ── */
.tia-main {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px 48px;
  min-width: 0;
}
.tia-pdp {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 24px;
  background: #ffffff;
  border: 0;
  border-radius: 16px;
  padding: 16px;
  max-width: 100%;
  min-width: 0;
  box-shadow: none;
  color: #1f1f1f;
}
.tia-info {
  min-width: 0;
}
.tia-gallery {
  text-align: center;
}
.tia-gallery__frame {
  border: 0;
  background: #fafafa;
  padding: 12px;
  min-height: 280px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.tia-gallery__frame img {
  max-width: 100%;
  max-height: 420px;
  width: auto;
  height: auto;
  object-fit: cover;
  border-radius: 0;
}
.tia-gallery__label {
  margin-top: 10px;
  font-size: 11px;
  color: var(--tia-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.tia-info__sku {
  margin: 0 0 6px;
  font-size: 12px;
  color: var(--tia-muted);
}
.tia-info__title {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
  text-transform: none;
  color: #1f1f1f;
  font-family: Roboto, sans-serif;
  overflow-wrap: anywhere;
}
.tia-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.tia-tag {
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 16px;
  text-transform: none;
  font-family: Roboto, sans-serif;
  letter-spacing: .004em;
}
.tia-tag--deal {
  background: #e72a36;
  color: #fff;
  border: 1px solid #e72a36;
}
.tia-tag--club {
  background: #fff;
  color: #a93239;
  border: 1px solid #a93239;
}
.tia-tag--ship {
  background: #f1f1f1;
  color: #1f1f1f;
  border: 0;
}
.tia-price-block {
  padding: 14px 0;
  border-top: 1px solid #ececec;
  border-bottom: 1px solid #ececec;
  margin-bottom: 16px;
}
.tia-price-line {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-bottom: 6px;
}
.tia-price-line--now {
  margin-bottom: 0;
}
.tia-price-lbl {
  font-size: 13px;
  color: var(--tia-muted);
  min-width: 7.5rem;
}
.tia-price-old {
  font-size: 18px;
  color: var(--tia-muted);
  text-decoration: line-through;
  font-weight: 500;
}
.tia-p2-prices {
  display: inline-block;
  margin-top: 4px;
  font-size: 13px;
}
.tia-p2-prices .tia-price-old {
  font-size: 14px;
  margin-right: 6px;
}
.tia-p2-prices .tia-price-now {
  font-size: 16px;
  color: #e72a36;
  font-weight: 900;
}
.tia-price-now {
  font-size: 28px;
  font-weight: 900;
  color: #e72a36;
  line-height: 1;
  font-family: Roboto, sans-serif;
  letter-spacing: .004em;
}
.tia-price-note {
  margin: 6px 0 0;
  font-size: 12px;
  color: var(--tia-muted);
}
.tia-specs {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}
.tia-specs li {
  position: relative;
  padding: 6px 0 6px 16px;
  font-size: 13px;
  color: #4f4f4f;
  border-bottom: 1px solid #ececec;
}
.tia-specs li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--tia-red);
}
.tia-stock {
  margin-bottom: 18px;
  padding: 12px 14px;
  background: #fafafa;
  border: 0;
  border-radius: 16px;
}
.tia-stock__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  margin-bottom: 8px;
}
.tia-stock__row strong {
  color: var(--tia-red);
  font-size: 17px;
  font-variant-numeric: tabular-nums;
}
.tia-stock__bar {
  height: 6px;
  background: #ececec;
  overflow: hidden;
  border-radius: 999px;
}
.tia-stock__bar i {
  display: block;
  height: 100%;
  background: var(--tia-red);
  transition: width 0.4s ease;
}
.tia-lead label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #1f1f1f;
}
.tia-phone {
  display: flex;
  gap: 8px;
}
.tia-phone .tia-cc {
  flex: 0 0 52px;
  width: 52px;
  height: 44px;
  padding: 0 2px;
  border: 1px solid #ececec;
  border-radius: 4px;
  text-align: center;
  font-size: 13px;
  background: #fff;
  color: #1f1f1f;
}
.tia-phone input[type="tel"] {
  flex: 1;
  min-width: 0;
  height: 44px;
  border: 1px solid #ececec;
  border-radius: 4px;
  padding: 0 12px;
  font-size: 16px;
  font-family: inherit;
  color: #1f1f1f;
}
.tia-phone input:focus,
.tia-phone .tia-cc:focus {
  outline: none;
  border-color: #e72a36;
  box-shadow: 0 0 0 2px rgba(231, 42, 54, 0.2);
}
.tia-hint {
  margin: 8px 0 0;
  font-size: 12px;
  color: #727273;
  line-height: 1.55;
}

.tia-btn-primary {
  margin-top: 14px;
  width: 100%;
  min-height: 44px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  background: #e72a36;
  color: #fff;
  box-shadow: 0 4px 12px rgba(231, 42, 54, 0.35);
  font-family: var(--tia-font);
  font-size: 15px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  cursor: pointer;
}
.tia-btn-primary:hover {
  background: #a93239;
}
.tia-btn-primary:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.tia-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 16px;
}
.tia-step {
  background: #ffffff;
  border: 0;
  border-radius: 16px;
  padding: 14px 12px;
  text-align: center;
  font-size: 12px;
  color: #4f4f4f;
}
.tia-step b {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin: 0 auto 8px;
  border-radius: 50%;
  background: var(--tia-red);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.tia-footer {
  max-width: none;
  margin: 32px 0 0;
  padding: 28px 16px 36px;
  background: transparent;
  border: 0;
  border-radius: 0;
  text-align: center;
  color: #f1f1f1;
}
.tia-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 14px;
  font-size: 12px;
  color: #f1f1f1;
  margin-bottom: 10px;
}
.tia-footer__links span {
  margin: 0;
  color: #f1f1f1;
}
.tia-footer__copy {
  font-size: 11px;
  color: #979899;
  line-height: 1.65;
}

/* Page 2 / 3 */
.tia-p2-card {
  background: #ffffff;
  border: 0;
  border-radius: 16px;
  padding: 24px 20px;
  text-align: center;
  color: #1f1f1f;
}
.tia-success-card {
  position: relative;
  overflow: hidden;
  border: 0;
  border-radius: 16px;
  padding: 0;
  background: #fff;
  text-align: left;
  box-shadow: none;
}
.tia-success-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: auto;
  width: auto;
  height: 5px;
  background: #e72a36;
}
.tia-success-head {
  padding: 28px 24px 20px 28px;
  text-align: center;
  background: #fff;
  border-bottom: 1px solid #ececec;
}
.tia-success-card .tia-p2-check {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--tia-red);
  box-shadow: 0 0 0 8px rgba(231, 42, 54, 0.12);
}
.tia-success-card .tia-p2-check svg {
  width: 30px;
  height: 30px;
}
.tia-success-kicker {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tia-red);
}
.tia-success-card .tia-p2-title {
  margin: 0 0 16px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--tia-navy);
  text-align: center;
}
.tia-success-amount {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 180px;
  padding: 12px 22px;
  border-radius: 16px;
  background: #fafafa;
  border: 0;
}
.tia-success-amount__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #a93239;
}
.tia-success-amount strong {
  font-size: 28px;
  font-weight: 800;
  color: var(--tia-navy);
  line-height: 1.1;
}
.tia-success-amount__cur {
  font-size: 12px;
  font-weight: 600;
  color: var(--tia-muted);
}
.tia-success-card .tia-p2-desc {
  margin: 0;
  padding: 18px 24px 8px 28px;
  border-radius: 0;
  background: transparent;
  border: 0;
  font-size: 14px;
  line-height: 1.7;
  color: #555;
  text-align: left;
}
.tia-success-card .tia-p2-desc strong {
  color: var(--tia-red);
  font-weight: 700;
}
.tia-success-steps {
  list-style: none;
  margin: 8px 20px 0 24px;
  padding: 0;
  display: grid;
  gap: 10px;
}
.tia-success-steps li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #fafafa;
  border: 0;
}
.tia-success-steps li span {
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #e72a36;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  display: grid;
  place-items: center;
}
.tia-success-steps li strong {
  display: block;
  font-size: 13px;
  color: var(--tia-navy);
  margin-bottom: 2px;
}
.tia-success-steps li em {
  display: block;
  font-style: normal;
  font-size: 12px;
  color: var(--tia-muted);
  line-height: 1.45;
}
.tia-success-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 8px;
  margin: 16px 20px 22px 28px;
}
.tia-success-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #fafafa;
  border: 0;
  font-size: 11px;
  font-weight: 600;
  color: #727273;
}
.tia-success-meta span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--tia-red);
}
.tia-p2-check {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--tia-red);
  display: grid;
  place-items: center;
}
.tia-p2-check svg {
  width: 28px;
  height: 28px;
  stroke: #fff;
  stroke-width: 3;
  fill: none;
}
.tia-p2-title {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.tia-p2-desc {
  margin: 0;
  font-size: 14px;
  color: #555;
  line-height: 1.65;
}
.tia-p2-desc strong {
  color: var(--tia-red);
}
.tia-p2-product {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
  padding: 12px;
  border: 0;
  border-radius: 12px;
  text-align: left;
  background: #fafafa;
  color: #1f1f1f;
  min-width: 0;
}
.tia-p2-product > div {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}
.tia-p2-product img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  background: #fff;
  border: 0;
  border-radius: 10px;
}
.tia-p2-product strong {
  display: block;
  font-size: 13px;
  text-transform: none;
  line-height: 1.4;
  color: #1f1f1f;
}
.tia-p2-product span {
  font-size: 12px;
  color: #727273;
}
.tia-p2-rows {
  margin-top: 12px;
  background: #fff;
  border: 0;
  border-radius: 14px;
  padding: 4px 16px;
}
.tia-p2-row {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #ececec;
  text-align: left;
  font-size: 14px;
  color: #555;
  min-width: 0;
}
.tia-p2-row > div {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}
.tia-p2-row:last-child {
  border-bottom: 0;
}
.tia-p2-num {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--tia-red);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.tia-p2-row strong {
  display: block;
  color: var(--tia-text);
  margin-bottom: 2px;
}
.tia-dock{position:fixed;left:0;right:0;bottom:0;z-index:30;background:#1f1f1f;border-top:1px solid rgba(255,255,255,.08);padding:12px 16px calc(12px + env(safe-area-inset-bottom,0px));}
.tia-dock__inner {
  max-width: 640px;
  margin: 0 auto;
}
.tia-dock__note{margin:8px 0 0;font-size:11px;line-height:1.45;color:#b5b3b3;text-align:center;}

@media (max-width: 900px) {
  .tia-pdp {
    grid-template-columns: 1fr;
    padding: 16px;
  }
  .tia-steps {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 900px) {
  .tia-header__row {
    height: 56px;
    padding: 0 24px;
    gap: 16px;
  }
  .tia-header .tia-logo img {
    height: 30px;
    width: auto;
    max-width: 36px;
  }
}
@media (max-width: 360px) {
  .tia-header .tia-logo img {
    height: 28px;
    max-width: 32px;
  }
  .tia-search {
    padding: 0 10px;
  }
}

@media (max-width: 640px) {
  .tia-main {
    padding: 0 12px 120px;
  }
  .tia-promo-ribbon {
    padding: 0 12px;
  }
  .tia-promo-ribbon__inner {
    font-size: 14px;
    padding: 10px 12px;
  }
  .tia-breadcrumb {
    padding: 10px 12px;
    font-size: 11px;
  }
  .tia-pdp {
    padding: 12px;
    gap: 16px;
  }
  .tia-gallery__frame {
    min-height: 200px;
    padding: 8px;
  }
  .tia-info__title {
    font-size: 18px;
  }
  .tia-price-lbl {
    min-width: 0;
    flex: 0 0 auto;
  }
  .tia-price-line {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }
  .tia-price-now {
    font-size: 28px;
  }
  .tia-stock__row {
    flex-wrap: wrap;
    gap: 4px 8px;
  }
  .tia-stock__row strong {
    font-size: 15px;
  }
  .tia-step {
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
  }
  .tia-step b {
    margin: 0;
    flex: 0 0 auto;
  }
  .tia-p2-card {
    padding: 20px 14px;
  }
  .tia-p2-title {
    font-size: 18px;
  }
  .tia-p2-rows {
    padding: 4px 12px;
  }
  .tia-delivery {
    padding: 9px 12px;
    font-size: 12px;
  }
  .tia-nav a,
  .tia-nav span {
    padding: 10px 14px;
    font-size: 12px;
  }
}

@media (max-width: 360px) {
  .tia-phone .tia-cc {
    flex: 0 0 48px;
    width: 48px;
    font-size: 12px;
  }
  .tia-phone input[type="tel"] {
    font-size: 16px;
    padding: 0 8px;
  }
}
