:root {
  --tst-blue: #1027a6;
  --tst-blue-deep: #07165f;
  --tst-blue-soft: #eef1ff;
  --tst-red: #e10600;
  --tst-yellow: #ffea00;
  --tst-cream: #fffdf7;
  --tst-ink: #10183c;
  --tst-muted: #65708a;
  --tst-line: #e7e9f1;
  --tst-green: #25d366;
  --tst-radius: 24px;
  --tst-shadow: 0 20px 60px rgba(16, 39, 166, .12);
}

body.tst-astra-store {
  color: var(--tst-ink);
  background: var(--tst-cream);
  font-family: Inter, ui-rounded, "Segoe UI", Tahoma, Arial, sans-serif;
}

body.tst-astra-store a { text-decoration: none; }
body.tst-astra-store img { max-width: 100%; height: auto; }

/* Astra owns the global frame. */
.tst-astra-store .ast-primary-header-bar {
  border-bottom: 3px solid var(--tst-yellow);
  background: #fff;
}

.tst-astra-store .site-branding img,
.tst-astra-store .custom-logo-link img {
  width: auto;
  max-height: 78px;
  object-fit: contain;
}

.tst-astra-store .main-header-menu > .menu-item > .menu-link {
  color: var(--tst-blue-deep);
  font-weight: 800;
}

.tst-astra-store .main-header-menu > .menu-item:hover > .menu-link,
.tst-astra-store .main-header-menu > .current-menu-item > .menu-link {
  color: var(--tst-red);
}

.tst-astra-store .ast-header-account-link,
.tst-astra-store .ast-site-header-cart a,
.tst-astra-store .ast-search-menu-icon .search-form {
  color: var(--tst-blue-deep);
}

.tst-astra-store .site-above-footer-wrap,
.tst-astra-store .site-primary-footer-wrap,
.tst-astra-store .site-below-footer-wrap {
  color: #fff;
  background: var(--tst-blue-deep);
}

.tst-astra-store .site-footer a { color: #fff; }
.tst-astra-store .site-footer a:hover { color: var(--tst-yellow); }

/* Elementor owns the page body between Astra's header and footer. */
.tst-astra-store.home .site-content .ast-container {
  width: 100%;
  max-width: none;
  padding: 0;
}

.tst-astra-store.home #primary,
.tst-astra-store.home .site-main,
.tst-astra-store.home .entry-content {
  width: 100%;
  margin: 0;
}

.tst-astra-store.home .entry-header { display: none; }
.tst-astra-store.home .entry-content > .elementor { margin: 0; }

.tst-el-section { width: 100%; }
.tst-el-shell {
  width: min(calc(100% - 40px), 1320px);
  margin-inline: auto;
}

.tst-el-eyebrow .elementor-heading-title {
  color: var(--tst-yellow);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.tst-el-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: radial-gradient(circle at 78% 20%, #2947dd 0, #1027a6 36%, #07165f 90%);
}

.tst-el-hero::before,
.tst-el-hero::after {
  position: absolute;
  content: "";
  border-radius: 50%;
  pointer-events: none;
}

.tst-el-hero::before {
  width: 130px;
  height: 160px;
  top: 30px;
  right: 8%;
  background: var(--tst-red);
  box-shadow: -190px -45px 0 -15px var(--tst-yellow), 90px 230px 0 -25px #2947dd;
}

.tst-el-hero::after {
  left: -10%;
  bottom: -190px;
  width: 70%;
  height: 260px;
  background: var(--tst-yellow);
  transform: rotate(-4deg);
}

.tst-el-hero-grid {
  position: relative;
  z-index: 2;
  display: grid !important;
  grid-template-columns: minmax(0, 1.1fr) minmax(350px, .9fr);
  gap: 60px;
  align-items: center;
  min-height: 650px;
  padding-block: 82px 115px;
}

.tst-el-hero-copy { max-width: 720px; }
.tst-el-hero-title .elementor-heading-title {
  color: #fff;
  font-size: clamp(54px, 6vw, 90px);
  font-weight: 950;
  line-height: .9;
  letter-spacing: -.055em;
}

.tst-el-hero-text,
.tst-el-hero-text p {
  color: #e7ebff;
  font-size: 19px;
  line-height: 1.65;
}

.tst-el-actions {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap;
  gap: 12px;
}

.tst-el-button .elementor-button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border: 2px solid transparent;
  border-radius: 15px;
  font-weight: 900;
}

.tst-el-button-primary .elementor-button {
  color: var(--tst-blue-deep);
  background: var(--tst-yellow);
}

.tst-el-button-secondary .elementor-button {
  color: #fff;
  border-color: rgba(255,255,255,.55);
  background: rgba(255,255,255,.08);
}

.tst-el-stats {
  display: flex !important;
  flex-direction: row !important;
  gap: 34px;
  margin-top: 20px;
}

.tst-el-stat-number .elementor-heading-title {
  color: #fff;
  font-size: 25px;
  font-weight: 950;
}

.tst-el-stat-label,
.tst-el-stat-label p { color: #cfd6ff; font-size: 13px; }

.tst-el-logo-card {
  display: grid !important;
  place-items: center;
  min-height: 470px;
  padding: 48px;
  border: 8px solid rgba(255,255,255,.4);
  border-radius: 48% 52% 47% 53% / 52% 44% 56% 48%;
  background: #fff;
  box-shadow: 0 40px 80px rgba(0,0,0,.24);
  transform: rotate(2deg);
}

.tst-el-logo-card img {
  max-height: 360px;
  object-fit: contain;
  transform: rotate(-2deg);
}

.tst-el-trust {
  position: relative;
  z-index: 4;
  margin-top: -52px;
}

.tst-el-trust-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--tst-line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--tst-shadow);
}

.tst-el-trust-card {
  min-height: 105px;
  padding: 22px;
  border-left: 1px solid var(--tst-line);
}

.tst-el-trust-card:first-child { border-left: 0; }
.tst-el-trust-title .elementor-heading-title { color: var(--tst-ink); font-size: 16px; font-weight: 900; }
.tst-el-trust-text,
.tst-el-trust-text p { color: var(--tst-muted); font-size: 13px; }

.tst-el-content-section { padding-block: 88px; }
.tst-el-content-section:nth-of-type(even) { background: #fff; }

.tst-el-section-heading {
  display: flex !important;
  flex-direction: row !important;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 32px;
}

.tst-el-kicker .elementor-heading-title {
  color: var(--tst-red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.tst-el-section-title .elementor-heading-title {
  color: var(--tst-ink);
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 950;
  line-height: 1;
  letter-spacing: -.035em;
}

.tst-el-text-link .elementor-button {
  padding: 0;
  color: var(--tst-blue);
  background: transparent;
  font-weight: 900;
}

.tst-el-category-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.tst-el-category-card {
  min-height: 150px;
  padding: 24px;
  border: 1px solid var(--tst-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(16,39,166,.06);
  transition: transform .2s ease, box-shadow .2s ease;
}

.tst-el-category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--tst-shadow);
}

.tst-el-category-emoji .elementor-heading-title { font-size: 35px; }
.tst-el-category-title .elementor-heading-title { color: var(--tst-blue-deep); font-size: 18px; font-weight: 900; }
.tst-el-category-meta,
.tst-el-category-meta p { color: var(--tst-muted); font-size: 13px; }

.tst-el-products .woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
}

.tst-el-products .woocommerce ul.products::before,
.tst-el-products .woocommerce ul.products::after { display: none; }

.tst-el-products .woocommerce ul.products li.product {
  width: auto !important;
  margin: 0 !important;
  padding: 10px 10px 16px;
  border: 1px solid var(--tst-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 8px 30px rgba(16,39,166,.07);
}

.tst-el-products .woocommerce ul.products li.product img {
  aspect-ratio: 1;
  margin-bottom: 15px;
  border-radius: 15px;
  object-fit: contain;
  background: #f6f7fb;
}

.tst-el-products .woocommerce-loop-product__title {
  min-height: 52px;
  color: var(--tst-ink);
  font-size: 15px !important;
  font-weight: 850;
  line-height: 1.35;
}

.tst-el-products .price { color: var(--tst-red) !important; font-weight: 900 !important; }
.tst-el-products .button {
  width: 100%;
  margin-top: 12px !important;
  border-radius: 12px !important;
  color: var(--tst-blue-deep) !important;
  background: var(--tst-yellow) !important;
  text-align: center;
  font-weight: 900 !important;
}

.tst-el-promo-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.tst-el-promo-card {
  min-height: 330px;
  padding: 42px;
  border-radius: 28px;
  box-shadow: var(--tst-shadow);
}

.tst-el-promo-birthday { background: linear-gradient(135deg, #ffe9e8 0 67%, var(--tst-red) 67%); }
.tst-el-promo-outdoor { background: linear-gradient(135deg, #eff1ff 0 67%, var(--tst-blue) 67%); }
.tst-el-promo-title .elementor-heading-title { color: var(--tst-ink); font-size: 38px; font-weight: 950; }
.tst-el-promo-text,
.tst-el-promo-text p { max-width: 70%; color: var(--tst-muted); }

.tst-el-help {
  margin-block: 40px 88px;
  overflow: hidden;
  border-radius: 30px;
  color: #fff;
  background: linear-gradient(120deg, var(--tst-blue-deep), var(--tst-blue) 70%, var(--tst-yellow) 70%);
  box-shadow: var(--tst-shadow);
}

.tst-el-help-inner {
  display: grid !important;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
  padding: 48px;
}

.tst-el-help-title .elementor-heading-title { color: #fff; font-size: 42px; font-weight: 950; }
.tst-el-help-text,
.tst-el-help-text p { max-width: 780px; color: #dfe4ff; }
.tst-el-whatsapp .elementor-button { color: #fff; background: var(--tst-green); }

/* Native Astra/WooCommerce pages keep the same brand language. */
.tst-astra-store.woocommerce-page .site-content { background: var(--tst-cream); }
.tst-astra-store.woocommerce-page ul.products li.product {
  padding: 10px 10px 16px;
  border: 1px solid var(--tst-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 8px 30px rgba(16,39,166,.07);
}
.tst-astra-store.woocommerce-page ul.products li.product img { border-radius: 15px; object-fit: contain; }
.tst-astra-store.woocommerce-page ul.products li.product .price { color: var(--tst-red); font-weight: 900; }
.tst-astra-store.woocommerce-page ul.products li.product .button,
.tst-astra-store .single_add_to_cart_button,
.tst-astra-store .checkout-button {
  border-radius: 12px !important;
  color: var(--tst-blue-deep) !important;
  background: var(--tst-yellow) !important;
  font-weight: 900 !important;
}

@media (max-width: 1024px) {
  .tst-el-hero-grid { grid-template-columns: 1fr; }
  .tst-el-logo-card { width: min(100%, 560px); margin-inline: auto; }
  .tst-el-trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tst-el-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tst-el-products .woocommerce ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .tst-el-shell { width: min(calc(100% - 28px), 1320px); }
  .tst-el-hero-grid { min-height: 0; gap: 36px; padding-block: 58px 88px; }
  .tst-el-hero-title .elementor-heading-title { font-size: clamp(44px, 14vw, 64px); }
  .tst-el-actions { flex-direction: column !important; }
  .tst-el-logo-card { min-height: 300px; padding: 28px; border-width: 5px; }
  .tst-el-stats { gap: 18px; }
  .tst-el-trust-grid,
  .tst-el-category-grid { grid-template-columns: 1fr; }
  .tst-el-content-section { padding-block: 62px; }
  .tst-el-section-heading { align-items: flex-start; flex-direction: column !important; }
  .tst-el-products .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .tst-el-products .woocommerce ul.products li.product { padding: 8px 8px 12px; }
  .tst-el-products .woocommerce-loop-product__title { min-height: 58px; font-size: 13px !important; }
  .tst-el-promo-grid { grid-template-columns: 1fr; }
  .tst-el-promo-card { min-height: 300px; padding: 30px; }
  .tst-el-promo-text,
  .tst-el-promo-text p { max-width: 100%; }
  .tst-el-help-inner { grid-template-columns: 1fr; padding: 34px 26px; }
  .tst-el-help-title .elementor-heading-title { font-size: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}
