:root {
  --tsc-red: #c8102e;
  --tsc-red-dark: #8b0a1e;
  --tsc-red-soft: #fde8ec;
  --tsc-ink: #161616;
  --tsc-muted: #5c5c5c;
  --tsc-bg: #fffaf9;
}

body {
  background: var(--tsc-bg);
}

.tsc-site-branding-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none !important;
}

.tsc-site-logo-img {
  display: block;
  width: auto;
  height: 40px;
  max-height: 40px;
  object-fit: contain;
}

.tsc-site-branding-name {
  color: var(--tsc-red-dark);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.01em;
}

.ast-site-identity .tsc-site-branding .tsc-site-branding-link,
.ast-site-identity .tsc-site-branding .tsc-site-branding-name {
  color: var(--tsc-red-dark) !important;
}

.ast-site-identity .tsc-site-branding .tsc-site-branding-link:hover .tsc-site-branding-name {
  color: var(--tsc-red) !important;
}

#masthead {
  position: relative;
}

.tsc-header-cart-fallback {
  position: absolute;
  top: 50%;
  right: max(1rem, env(safe-area-inset-right, 0px));
  z-index: 5;
  transform: translateY(-50%);
}

.tsc-header-cart-wrap {
  display: inline-flex;
  align-items: center;
  margin-left: 0.75rem;
}

.site-header-section-right .tsc-header-cart-wrap,
.site-header-primary-section-right .tsc-header-cart-wrap {
  margin-left: 0.5rem;
}

.tsc-header-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  color: var(--tsc-red-dark) !important;
  text-decoration: none !important;
  background: #fff;
  border: 1px solid #f0d0d6;
  box-shadow: 0 4px 14px rgba(200, 16, 46, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.tsc-header-cart:hover,
.tsc-header-cart:focus-visible {
  color: var(--tsc-red) !important;
  border-color: #e8a8b4;
  box-shadow: 0 6px 18px rgba(200, 16, 46, 0.14);
  transform: translateY(-1px);
}

.tsc-header-cart__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
}

.tsc-header-cart__icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.tsc-header-cart__count {
  position: absolute;
  top: -0.2rem;
  right: -0.2rem;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 0.28rem;
  border-radius: 999px;
  background: var(--tsc-red);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.15rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(200, 16, 46, 0.35);
  transform-origin: center center;
}

.tsc-header-cart__count.is-empty {
  display: none;
}

.tsc-header-cart.is-bump {
  animation: tsc-cart-bump 0.52s ease;
}

.tsc-header-cart__count.is-pop {
  animation: tsc-cart-pop 0.52s cubic-bezier(0.22, 1.12, 0.42, 1);
}

@keyframes tsc-cart-bump {
  0%,
  100% {
    transform: scale(1);
  }

  35% {
    transform: scale(1.1);
  }

  70% {
    transform: scale(0.96);
  }
}

@keyframes tsc-cart-pop {
  0%,
  100% {
    transform: scale(1);
  }

  45% {
    transform: scale(1.45);
  }
}

.button,
button.button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.wp-element-button,
.wp-block-button__link {
  background: var(--tsc-red) !important;
  border-color: var(--tsc-red) !important;
  color: #fff !important;
  border-radius: 999px !important;
  transition: transform 0.2s ease, background 0.2s ease;
}

.button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover {
  background: var(--tsc-red-dark) !important;
  transform: translateY(-1px);
}

.woocommerce div.product form.cart {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.woocommerce div.product form.cart .quantity {
  margin: 0;
}

.tsc-product-ctas {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem 0.85rem;
}

.tsc-product-ctas--loop {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.4rem;
  width: 100%;
  max-width: 100%;
  margin-top: 0.5rem;
}

.woocommerce ul.products li.product .tsc-product-ctas--loop {
  box-sizing: border-box;
}

.tsc-product-ctas .single_add_to_cart_button,
.tsc-product-ctas--loop .button {
  margin: 0 !important;
}

.woocommerce ul.products li.product .tsc-product-ctas--loop .button {
  display: block;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
}

.tsc-amazon-link {
  display: inline-flex !important;
  align-items: center;
  align-self: center;
  gap: 0.35rem;
  margin: 0;
  padding: 0 !important;
  background: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: #007185 !important;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: underline !important;
  text-underline-offset: 0.12em;
  transform: none !important;
  vertical-align: middle;
  white-space: nowrap;
}

.tsc-amazon-link:hover,
.tsc-amazon-link:focus {
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #c7511f !important;
  text-decoration: underline !important;
  transform: none !important;
}

.tsc-amazon-link--loop {
  align-self: center;
  font-size: 0.75rem;
  gap: 0.25rem;
}

.tsc-amazon-link__icon {
  display: block;
  width: 16px;
  height: 16px;
  max-width: 16px;
  max-height: 16px;
  min-width: 0;
  flex: 0 0 16px;
  object-fit: contain;
  object-position: center;
}

.tsc-amazon-link--loop .tsc-amazon-link__icon {
  width: 12px;
  height: 12px;
  max-width: 12px;
  max-height: 12px;
  flex-basis: 12px;
}

/* Astra/WooCommerce set all product-card link images to width:100% */
.woocommerce ul.products li.product a.tsc-amazon-link img.tsc-amazon-link__icon,
.woocommerce-js ul.products li.product a.tsc-amazon-link img.tsc-amazon-link__icon {
  width: 12px !important;
  height: 12px !important;
  max-width: 12px !important;
  max-height: 12px !important;
  display: inline-block;
  margin: 0;
  box-shadow: none;
}

.tsc-amazon-link__text {
  text-decoration: inherit;
}

.tsc-hero {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  margin: 0 0 2.5rem;
  min-height: clamp(320px, 52vh, 520px);
}

.tsc-hero__track {
  position: relative;
  min-height: inherit;
}

.tsc-hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s ease;
  display: grid;
  place-items: center;
  padding: 3rem 1.5rem;
  color: #fff;
}

.tsc-hero__slide.is-active {
  opacity: 1;
  pointer-events: auto;
  position: relative;
}

.tsc-hero__content {
  max-width: 720px;
  text-align: center;
}

.tsc-hero__brand {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin: 0 0 0.75rem;
  opacity: 0.95;
}

.tsc-hero__content h2 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.05;
  margin: 0 0 0.75rem;
  color: #fff;
}

.tsc-hero__content p {
  font-size: 1.05rem;
  margin: 0 0 1.4rem;
  color: rgba(255, 255, 255, 0.92);
}

.tsc-hero__cta {
  display: inline-block;
  background: #fff;
  color: var(--tsc-red);
  font-weight: 700;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  text-decoration: none;
}

.tsc-hero__dots {
  position: absolute;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  display: flex;
  gap: 0.45rem;
  z-index: 2;
}

.tsc-hero__dot {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  padding: 0;
}

.tsc-hero__dot.is-active {
  background: #fff;
  width: 1.4rem;
}

.tsc-tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin: 1rem 0 2.5rem;
}

.tsc-tile {
  background: #fff;
  border: 1px solid #f0d0d6;
  border-radius: 1rem;
  padding: 1.25rem;
  text-decoration: none;
  color: var(--tsc-ink);
  box-shadow: 0 8px 24px rgba(200, 16, 46, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tsc-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(200, 16, 46, 0.12);
}

.tsc-tile strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
  color: var(--tsc-red-dark);
}

.tsc-tile span {
  color: var(--tsc-muted);
  font-size: 0.9rem;
}

.tsc-age-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin: 0 0 1.25rem;
}

.tsc-age-filters__label {
  font-weight: 700;
  margin-right: 0.25rem;
}

.tsc-age-filters__chip {
  display: inline-flex;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #ecc0c8;
  color: var(--tsc-ink);
  text-decoration: none;
  font-size: 0.9rem;
}

.tsc-age-filters__chip.is-active,
.tsc-age-filters__chip:hover {
  background: var(--tsc-red);
  border-color: var(--tsc-red);
  color: #fff;
}

.tsc-whatsapp {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #25d366;
  color: #fff !important;
  text-decoration: none !important;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  font-weight: 700;
}

.tsc-whatsapp:hover {
  filter: brightness(1.05);
}

.woocommerce span.onsale {
  background: var(--tsc-red) !important;
}

.woocommerce div.product p.price,
.woocommerce ul.products li.product .price {
  color: var(--tsc-red-dark) !important;
}

.tsc-price {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.45rem 0.7rem;
}

.tsc-mrp {
  color: var(--tsc-muted) !important;
  font-size: 0.88em;
  font-weight: 500;
  text-decoration: none;
}

.tsc-mrp-amount {
  text-decoration: line-through;
}

.tsc-mrp--plain,
.tsc-mrp-label {
  text-decoration: none !important;
}

.tsc-mrp .woocommerce-Price-amount,
.tsc-mrp .woocommerce-Price-amount bdi {
  color: inherit !important;
}

.tsc-mrp-label {
  font-size: 0.78em;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-right: 0.15rem;
}

.woocommerce div.product p.price ins,
.woocommerce ul.products li.product .price ins {
  text-decoration: none;
}

.form-row.place-order .button,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
  width: 100%;
}

@media (max-width: 640px) {
  .woocommerce div.product form.cart {
    gap: 0.65rem;
  }

  .tsc-amazon-link {
    margin: 0;
  }

  .single_add_to_cart_button {
    width: 100%;
  }
}
