@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/lato-1.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/lato-2.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/lato-3.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/lato-4.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --to-navy: #010136;
  --to-blue: #3737fa;
  --to-orange: #d26e4b;
  --to-orange-text: #9b3f22;
  --to-gray: #777777;
  --to-muted: #5f6270;
  --to-light: #f1f1f1;
  --to-soft-blue: #f2f5fb;
  --to-dark: #111111;
  --to-white: #ffffff;
  --to-border: #e4e6ef;
  --to-radius-sm: 10px;
  --to-radius: 18px;
  --to-radius-lg: 28px;
  --to-shadow: 0 10px 28px rgba(1, 1, 54, 0.07);
  --to-shadow-hover: 0 16px 36px rgba(1, 1, 54, 0.12);
  --to-content: 1240px;
  --to-section-space: clamp(2.75rem, 5.5vw, 5rem);
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--to-dark);
  background: var(--to-white);
  font-family: "Lato", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

img { max-width: 100%; height: auto; }
a { color: var(--to-blue); text-decoration-thickness: 0.08em; text-underline-offset: 0.18em; }
a:hover { color: var(--to-navy); }

:where(a, button, input, textarea, select, summary, [tabindex]):focus-visible {
  outline: 3px solid #ffb79d;
  outline-offset: 3px;
  border-radius: 6px;
}

.topoferta-skip-link {
  position: fixed;
  z-index: 999999;
  inset: 0 auto auto 1rem;
  transform: translateY(-140%);
  padding: 0.8rem 1rem;
  border-radius: 0 0 10px 10px;
  background: var(--to-orange);
  color: var(--to-white);
  font-weight: 700;
}

.topoferta-skip-link:focus { transform: translateY(0); }

.to-section,
.to-main {
  padding-block: var(--to-section-space);
  padding-inline: clamp(1rem, 4vw, 2rem);
}

.to-section--light { background: var(--to-soft-blue); }
.to-section--navy { background: var(--to-navy); color: var(--to-white); }
.to-section--products { background: var(--to-white); }

.to-section-title {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}

.to-section-title--left { max-width: none; margin-inline: 0; text-align: left; }

.to-section-title h2,
.to-section-title .elementor-heading-title {
  margin: 0;
  color: var(--to-navy);
  font-size: clamp(1.65rem, 3vw, 2.4rem);
  line-height: 1.15;
}

.to-section-title p { margin: 0; color: var(--to-muted); }

.to-eyebrow {
  margin: 0 0 0.45rem !important;
  color: var(--to-orange-text) !important;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

/* Utility bar, clean menu and compact category rail. */
.to-header { background: var(--to-white); border-bottom: 1px solid var(--to-border); }

.to-topbar {
  min-height: 34px;
  gap: 0.35rem !important;
  padding: 0.3rem clamp(1rem, 4vw, 2rem);
  background: var(--to-navy);
  color: var(--to-white);
  font-size: 0.78rem;
}

.to-topbar p { margin: 0; color: rgba(255, 255, 255, 0.9) !important; }

.to-nav { min-height: 74px; padding: 0.65rem clamp(1rem, 4vw, 2rem); }

.to-nav .elementor-widget-image img,
.to-footer .elementor-widget-image img { width: auto; max-height: 52px; }

.to-nav .elementor-nav-menu a,
.to-nav .elementor-nav-menu--dropdown a {
  min-height: 44px;
  padding-inline: 0.72rem !important;
  border-radius: 999px;
  color: var(--to-navy) !important;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease;
}

.to-nav .elementor-nav-menu a::after,
.to-nav .elementor-nav-menu a::before,
.to-nav .elementor-item::after,
.to-nav .elementor-item::before { display: none !important; }

.to-nav .elementor-nav-menu a:hover,
.to-nav .elementor-nav-menu a:focus-visible,
.to-nav .elementor-nav-menu .current-menu-item > a {
  background: var(--to-soft-blue);
  color: var(--to-blue) !important;
}

.to-nav .elementor-menu-toggle {
  min-width: 44px;
  min-height: 44px;
  border-radius: 999px;
  color: var(--to-navy);
}

.to-category-nav {
  min-height: 68px;
  padding: 0.55rem clamp(1rem, 4vw, 2rem);
  border-top: 1px solid var(--to-border);
  background: var(--to-soft-blue);
}

.to-category-nav > .e-con-inner { gap: clamp(0.8rem, 2vw, 2.1rem) !important; }
.to-category-shortcut { min-width: 0; }

.to-category-shortcut .elementor-image-box-wrapper {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 0.65rem;
  text-align: left;
}

.to-category-shortcut .elementor-image-box-img { margin: 0 !important; }
.to-category-shortcut img { width: 42px; height: 42px; object-fit: contain; }
.to-category-shortcut .elementor-image-box-title { margin: 0; color: var(--to-navy); font-size: 0.83rem; line-height: 1.2; }
.to-category-shortcut .elementor-image-box-description { margin: 0.15rem 0 0; color: var(--to-muted); font-size: 0.68rem; line-height: 1.2; }

/* Navy actions on light surfaces, white actions on dark surfaces. */
.elementor-widget-button .elementor-button,
.woocommerce a.button,
.woocommerce button.button,
.to-button-disabled {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  border: 2px solid var(--to-navy) !important;
  border-radius: 999px;
  background: var(--to-navy) !important;
  color: var(--to-white) !important;
  font-family: inherit;
  font-weight: 700;
  line-height: 1.15;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.elementor-widget-button .elementor-button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover {
  transform: translateY(-2px);
  border-color: var(--to-blue) !important;
  background: var(--to-blue) !important;
  color: var(--to-white) !important;
  box-shadow: 0 10px 22px rgba(55, 55, 250, 0.2);
}

.to-hero {
  position: relative;
  min-height: clamp(480px, 61vh, 610px);
  overflow: hidden;
  padding: clamp(3.25rem, 6.5vw, 5.75rem) clamp(1rem, 4vw, 2rem);
  background:
    radial-gradient(circle at 82% 18%, rgba(55, 55, 250, 0.72), transparent 34%),
    radial-gradient(circle at 12% 88%, rgba(210, 110, 75, 0.2), transparent 28%),
    linear-gradient(135deg, #010136 0%, #11117a 100%);
  color: var(--to-white);
}

.to-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.28;
  background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to right, transparent, #000);
}

.to-hero > .e-con-inner { position: relative; z-index: 1; }

.to-hero h1,
.to-hero .elementor-heading-title {
  max-width: 700px;
  margin: 0;
  color: var(--to-white);
  font-size: clamp(2.3rem, 5vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.to-hero-copy p {
  max-width: 560px;
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
}

.to-hero-visual img { width: min(100%, 500px); filter: drop-shadow(0 30px 45px rgba(0, 0, 0, 0.3)); }
.to-hero-photo::before { background: linear-gradient(90deg,rgba(1,1,54,.35),transparent 65%); opacity: 1; mask-image: none; }
.to-hero-photo .to-hero-content { max-width: 58%; }
@media(max-width:767px) {
 .elementor .to-hero-photo {
  background-color: #010136;
  background-size: auto 360px !important;
  background-position: 82% bottom !important;
  background-repeat: no-repeat;
  padding-bottom: 370px;
 }
 .to-hero-photo .to-hero-content { max-width: 100%; }
 .to-hero-photo::before { background: linear-gradient(180deg,#010136 0%,transparent 70%); }
}
.to-actions { margin-top: 1.4rem; }

.to-hero .to-eyebrow,
.to-mini-banner .to-eyebrow,
.to-blog-hero .to-eyebrow { color: #ff9a75 !important; }

.to-mini-banner .to-eyebrow { background-color: var(--to-navy) !important; }

.to-hero .elementor-button,
.to-mini-banner .elementor-button {
  border-color: var(--to-white) !important;
  background: var(--to-white) !important;
  color: var(--to-navy) !important;
}

.to-hero .elementor-button:hover,
.to-mini-banner .elementor-button:hover {
  border-color: var(--to-white) !important;
  background: var(--to-white) !important;
  color: var(--to-blue) !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.to-button-secondary .elementor-button {
  border-color: rgba(255, 255, 255, 0.8) !important;
  background: transparent !important;
  color: var(--to-white) !important;
}

.to-button-secondary .elementor-button:hover { background: var(--to-white) !important; color: var(--to-navy) !important; }

/* Promotional mosaic and compact trust strip. */
.to-promo-grid > .e-con-inner {
  display: grid !important;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: clamp(0.9rem, 2vw, 1.4rem) !important;
  width: 100%;
}

.to-promo-grid { padding-top: clamp(1.5rem, 3vw, 2.5rem); padding-bottom: 1rem; }

.to-promo-card {
  min-width: 0;
  overflow: hidden;
  padding: clamp(1rem, 2.2vw, 1.5rem);
  border-radius: var(--to-radius);
  background: #eaf1ff;
  box-shadow: var(--to-shadow);
}

.to-promo-card--home { background: #fff1ec; }
.to-promo-card--games { background: #ececff; }

.to-promo-card .elementor-image-box-wrapper {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(110px, 42%);
  align-items: center;
  gap: 0.75rem;
  text-align: left;
}

.to-promo-card .elementor-image-box-img { grid-column: 2; grid-row: 1 / 3; margin: 0 !important; }
.to-promo-card .elementor-image-box-content { grid-column: 1; grid-row: 1 / 3; }
.to-promo-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; }
.to-promo-card .elementor-image-box-title { margin: 0 0 0.45rem; color: var(--to-navy); font-size: clamp(1rem, 1.6vw, 1.35rem); line-height: 1.2; }
.to-promo-card .elementor-image-box-description { margin: 0; color: var(--to-blue); font-size: 0.78rem; font-weight: 700; }

.to-category-grid,
.to-category-grid > .e-con-inner,
.to-footer-grid,
.to-footer-grid > .e-con-inner {
  display: grid !important;
  width: 100%;
  gap: clamp(0.85rem, 2vw, 1.25rem) !important;
}

.to-benefit-grid > .e-con-inner {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.85rem, 2vw, 1.25rem) !important;
  width: 100%;
}
.to-category-grid,
.to-category-grid > .e-con-inner { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.to-benefit-strip { margin-block: 0; padding-top: 0.75rem; padding-bottom: 2rem; }

.to-benefit-card {
  height: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--to-border);
  border-radius: var(--to-radius-sm);
  background: var(--to-white);
}

.to-benefit-card .elementor-icon-box-wrapper {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 0.75rem;
  text-align: left;
}

.to-benefit-card .elementor-icon-box-icon { grid-row: 1 / 3; margin: 0 !important; }
.to-benefit-card .elementor-icon { color: var(--to-blue); }
.to-benefit-card .elementor-icon-box-title { margin: 0; color: var(--to-navy); font-size: 0.94rem; }
.to-benefit-card .elementor-icon-box-description { margin: 0.08rem 0 0; color: var(--to-muted); font-size: 0.76rem; }

.to-category-card {
  height: 100%;
  padding: clamp(0.8rem, 1.8vw, 1.15rem);
  border: 1px solid var(--to-border);
  border-radius: var(--to-radius);
  background: var(--to-white);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.to-category-card:hover,
.to-category-card:focus-within { transform: translateY(-4px); border-color: rgba(55, 55, 250, 0.34); box-shadow: var(--to-shadow-hover); }

.to-category-card .elementor-image-box-img img { aspect-ratio: 1 / 1; object-fit: contain; }
.to-category-card .elementor-image-box-title { margin-bottom: 0.1rem; color: var(--to-navy); font-size: 0.98rem; line-height: 1.25; }
.to-category-card .elementor-image-box-description { color: var(--to-blue); font-size: 0.76rem; font-weight: 700; }

.to-mini-banner {
  width: min(calc(100% - 2rem), var(--to-content));
  margin: 0 auto;
  padding: clamp(1.5rem, 3vw, 2.4rem);
  border-radius: var(--to-radius-lg);
  background-color: var(--to-navy) !important;
  background-image: linear-gradient(115deg, var(--to-navy), var(--to-blue)) !important;
  color: var(--to-white);
}

.to-mini-banner .elementor-heading-title { color: var(--to-white); font-size: clamp(1.55rem, 3vw, 2.5rem); }
.to-mini-banner p { margin: 0; color: rgba(255,255,255,.82); }

/* WooCommerce remains a catalog of external affiliate products. */
.woocommerce ul.products,
.elementor-loop-container { gap: clamp(0.85rem, 2vw, 1.25rem) !important; }

.woocommerce ul.products li.product {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 0 !important;
  padding: 0.9rem !important;
  border: 1px solid var(--to-border);
  border-radius: var(--to-radius);
  background: var(--to-white);
  box-shadow: 0 6px 20px rgba(1, 1, 54, 0.05);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.woocommerce ul.products li.product:hover { transform: translateY(-4px); box-shadow: var(--to-shadow-hover); }

.woocommerce ul.products li.product img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 12px;
  background: var(--to-soft-blue);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  flex: 1;
  padding: 0.35rem 0 0;
  color: var(--to-navy);
  font-size: 0.98rem;
  line-height: 1.35;
}

.woocommerce ul.products li.product .price { color: var(--to-dark); font-size: 1rem; font-weight: 700; }
.woocommerce ul.products li.product .button { width: 100%; margin-top: 0.7rem; font-size: 0.85rem; }

.to-product-category {
  margin-top: 0.45rem;
  color: var(--to-muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.to-demo-badge {
  position: absolute;
  z-index: 2;
  inset: 1.4rem auto auto 1.4rem;
  padding: 0.32rem 0.52rem;
  border-radius: 999px;
  background: var(--to-orange);
  color: var(--to-navy);
  font-size: 0.66rem;
  font-weight: 700;
}

.to-price-notice { display: block; margin-top: 0.3rem; color: var(--to-muted); font-size: 0.72rem; }
.to-button-disabled { opacity: 0.68; cursor: not-allowed; }

.to-affiliate-notice {
  width: min(100%, var(--to-content));
  margin-inline: auto;
  padding: clamp(1.1rem, 2.4vw, 1.65rem);
  border: 1px solid rgba(210, 110, 75, 0.42);
  border-left: 5px solid var(--to-orange);
  border-radius: var(--to-radius);
  background: #fff7f3;
  color: #38231c;
}

.to-affiliate-notice strong { display: block; margin-bottom: 0.25rem; color: #7a321a; }
.to-affiliate-notice p { margin: 0; }

/* Editorial cards and blog. */
.to-loop-card {
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--to-border);
  border-radius: var(--to-radius);
  background: var(--to-white);
  box-shadow: var(--to-shadow);
}

.to-loop-card .elementor-widget-theme-post-featured-image {
  width: 100% !important;
  align-self: stretch !important;
}

.to-loop-card .elementor-widget-theme-post-featured-image a {
  display: block;
  width: 100%;
}

.to-loop-card .elementor-widget-theme-post-featured-image img {
  display: block !important;
  width: 100% !important;
  min-width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.to-loop-card .elementor-widget-theme-post-title,
.to-loop-card .elementor-widget-post-info,
.to-loop-card .elementor-widget-theme-post-excerpt,
.to-loop-card .elementor-widget-button { padding-inline: 1.05rem; }

.to-loop-card .elementor-widget-theme-post-title .elementor-heading-title { color: var(--to-navy); font-size: 1.08rem; line-height: 1.32; }
.to-loop-card .elementor-widget-theme-post-excerpt { color: var(--to-muted); font-size: 0.9rem; }
.to-loop-card .elementor-widget-theme-post-excerpt p { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.to-loop-card .elementor-widget-button { padding-bottom: 1rem; }

.to-loop-card .elementor-widget-button .elementor-button {
  min-height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--to-blue);
  box-shadow: none;
}

.to-loop-card .elementor-widget-button .elementor-button:hover { transform: none; color: var(--to-navy); }

.to-blog-page { gap: clamp(1.6rem, 4vw, 3rem) !important; }
.to-blog-page > .to-blog-breadcrumbs { margin-bottom: -1rem; }

.to-blog-hero {
  padding: clamp(1.8rem, 5vw, 4rem);
  border-radius: var(--to-radius-lg);
  background: linear-gradient(125deg, var(--to-navy), #101078 72%, var(--to-blue));
  color: var(--to-white);
}

.to-blog-hero .elementor-heading-title { color: var(--to-white); font-size: clamp(2rem, 4.5vw, 4rem); }
.to-blog-hero p { margin: 0; color: rgba(255,255,255,.82); }
.to-blog-hero .elementor-widget-search-form { max-width: 620px; margin-top: 0.5rem; }
.to-blog-hero .elementor-search-form { border-radius: 999px; overflow: hidden; background: var(--to-white); }
.to-blog-hero .elementor-search-form__input { border-radius: 999px 0 0 999px !important; }
.to-blog-hero .elementor-search-form__submit { min-width: 52px; background: var(--to-white); color: var(--to-navy); }

.to-featured-loop .to-loop-card {
  display: grid !important;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  align-items: center;
  column-gap: clamp(1rem, 3vw, 2.5rem) !important;
}

.to-featured-loop .to-loop-card .elementor-widget-theme-post-featured-image { grid-column: 1; grid-row: 1 / 6; height: 100%; }
.to-featured-loop .to-loop-card .elementor-widget-theme-post-featured-image img { min-height: 320px; object-fit: cover; }
.to-featured-loop .to-loop-card .elementor-widget-post-info { padding-top: 1.5rem; }
.to-featured-loop .to-loop-card .elementor-widget-button { padding-bottom: 1.5rem; }
.to-featured-loop .to-loop-card .elementor-widget-theme-post-title .elementor-heading-title { font-size: clamp(1.35rem, 2.5vw, 2rem); }

.to-breadcrumbs { width: min(100%, var(--to-content)); margin: 0 auto 1rem; color: var(--to-muted); font-size: 0.84rem; }
.to-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0; padding: 0; list-style: none; }
.to-breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 0.4rem; color: #a4a5ad; }

.to-category-filter { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 0; }
.to-category-filter a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--to-border);
  border-radius: 999px;
  background: var(--to-white);
  color: var(--to-navy);
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
}

.to-category-filter a:hover,
.to-category-filter a:focus-visible { border-color: var(--to-navy); background: var(--to-navy); color: var(--to-white); }

.to-post-shell,
.to-product-shell { padding: clamp(2.5rem, 5vw, 5rem) clamp(1rem, 4vw, 2rem); }
.to-blog-single > .e-con-inner { max-width: 980px; }
.to-post-content { width: min(100%, 760px); margin-inline: auto; }
.to-post-content :where(p, ul, ol, blockquote, table) { margin-block: 0 1.35em; }
.to-post-content h2 { margin-top: 2em; color: var(--to-navy); font-size: clamp(1.55rem, 3vw, 2.2rem); line-height: 1.2; }
.to-post-content h3 { margin-top: 1.6em; color: var(--to-navy); font-size: clamp(1.25rem, 2vw, 1.6rem); }
.to-post-content table { display: block; width: 100%; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.to-post-content th, .to-post-content td { padding: 0.75rem; border: 1px solid var(--to-border); text-align: left; }

.to-toc { width: min(100%, 760px); margin: 1.5rem auto 2rem; padding: 1.15rem; border: 1px solid var(--to-border); border-radius: var(--to-radius); background: var(--to-soft-blue); }
.to-toc ol { margin: 0.65rem 0 0; padding-left: 1.4rem; }
.to-toc .level-3 { margin-left: 1rem; }

/* Footer and forms. */
.to-footer { padding: clamp(3rem, 6vw, 5rem) clamp(1rem, 4vw, 2rem) 1.25rem; background: var(--to-navy); color: rgba(255,255,255,.82); }
.to-footer-grid, .to-footer-grid > .e-con-inner { grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); }
.to-footer h2, .to-footer h3, .to-footer .elementor-heading-title { color: var(--to-white); font-size: 1rem; }
.to-footer, .to-footer p, .to-footer .elementor-nav-menu a { color: rgba(255,255,255,.88) !important; }
.to-footer a { color: rgba(255,255,255,.9); }
.to-footer .to-affiliate-notice p { color: #38231c !important; }
.to-footer .elementor-nav-menu a { min-height: 38px; padding: 0.15rem 0; }
.to-footer-bottom { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.16); font-size: 0.84rem; }

.elementor-search-form__input,
.elementor-field,
input[type="search"],
input[type="email"],
input[type="text"],
textarea,
select {
  min-height: 48px;
  border: 1px solid #b6b6c7 !important;
  border-radius: 999px !important;
  background: var(--to-white);
  color: var(--to-dark);
}

.elementor-field-type-textarea textarea { min-height: 150px; border-radius: var(--to-radius-sm) !important; }
.elementor-field-label { color: var(--to-navy) !important; font-weight: 700; }
.to-legal-note { padding: 1rem; border-left: 4px solid var(--to-orange); background: #fff7f3; }

@media (max-width: 1180px) {
  .to-nav .elementor-widget-search-form { display: none; }
}

@media (max-width: 1023px) {
  .to-nav .elementor-widget-search-form { display: none; }

  .to-category-grid,
  .to-category-grid > .e-con-inner { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .to-footer-grid,
  .to-footer-grid > .e-con-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .to-category-nav { overflow-x: auto; scrollbar-width: thin; }
  .to-category-nav > .e-con-inner { width: max-content; min-width: 100%; }
  .to-category-shortcut { flex: 0 0 170px; }
}

@media (max-width: 767px) {
  :root { --to-section-space: 3rem; }

  .to-topbar { text-align: center; }
  .to-topbar .elementor-widget-text-editor:last-child { display: none; }
  .to-nav { min-height: 66px; }
  .to-nav .elementor-widget-search-form,
  .to-nav .elementor-widget-button { display: none; }
  .to-nav .elementor-widget-image img { max-width: 145px; max-height: 46px; }

  .to-category-nav { min-height: 58px; }
  .to-category-shortcut { flex-basis: 145px; }
  .to-category-shortcut .elementor-image-box-wrapper { grid-template-columns: 34px minmax(0, 1fr); }
  .to-category-shortcut img { width: 34px; height: 34px; }
  .to-category-shortcut .elementor-image-box-description { display: none; }

  .to-hero { min-height: auto; text-align: center; }
  .to-hero h1 { margin-inline: auto; }
  .to-hero-copy p { margin-inline: auto; }
  .to-hero-visual img { width: min(82vw, 360px); }
  .to-actions, .to-actions > .e-con-inner { align-items: stretch !important; }
  .to-actions .elementor-widget-button, .to-actions .elementor-button { width: 100%; }

  .to-promo-grid,
  .to-promo-grid > .e-con-inner { grid-template-columns: 1fr; }
  .to-promo-card .elementor-image-box-wrapper { grid-template-columns: minmax(0, 1fr) 110px; }

  .to-benefit-grid,
  .to-benefit-grid > .e-con-inner { grid-template-columns: 1fr; }

  .to-category-grid,
  .to-category-grid > .e-con-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .to-category-card { padding: 0.7rem; }
  .to-category-card .elementor-image-box-title { font-size: 0.88rem; }
  .to-category-card .elementor-image-box-description { font-size: 0.7rem; }

  .to-mini-banner { text-align: center; }
  .to-mini-banner .elementor-widget-button, .to-mini-banner .elementor-button { width: 100%; }

  .woocommerce ul.products { column-gap: 0.65rem !important; row-gap: 0.85rem !important; }
  .woocommerce ul.products li.product { padding: 0.65rem !important; border-radius: 14px; }
  .woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 0.86rem; }
  .woocommerce ul.products li.product .button { min-height: 44px; padding-inline: 0.55rem; font-size: 0.74rem; }
  .to-demo-badge { inset: 1rem auto auto 1rem; }

  .to-featured-loop .to-loop-card { grid-template-columns: 1fr; }
  .to-featured-loop .to-loop-card .elementor-widget-theme-post-featured-image { grid-column: 1; grid-row: auto; }
  .to-featured-loop .to-loop-card .elementor-widget-theme-post-featured-image img { min-height: 0; }

  .to-footer-grid,
  .to-footer-grid > .e-con-inner { grid-template-columns: 1fr; }
}

/* Reference assets and alignment refinement, shared by native widgets. */
.to-nav > .e-con-inner { justify-content: space-between; }
.to-category-nav > .e-con-inner { display: flex; justify-content: space-between; gap: 0 !important; }
.to-category-shortcut { flex: 1 1 20%; padding: 0 18px; }
.to-category-shortcut + .to-category-shortcut { border-left: 1px solid #d9dfeb; }
.to-category-shortcut .elementor-image-box-wrapper { grid-template-columns: 44px minmax(0,1fr); gap: 12px; }
.to-category-shortcut .elementor-image-box-img { width: 44px !important; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--to-blue); }
.to-category-shortcut:nth-child(2n) .elementor-image-box-img { background: var(--to-navy); }
.to-category-shortcut:nth-child(3n) .elementor-image-box-img { background: var(--to-orange); }
.to-category-shortcut .elementor-image-box-img a { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.to-category-shortcut .elementor-image-box-img img { width: 26px !important; height: 26px !important; }
.to-category-shortcut .elementor-image-box-title { font-size: .9rem; }
.to-category-shortcut .elementor-image-box-description { margin-top: 4px; font-size: .74rem; }
.to-benefit-strip > .e-con-inner { background: var(--to-soft-blue); border-radius: 16px; padding: 22px 12px; }
.to-benefit-card { border: 0; background: transparent; padding: 8px 24px; }
.to-benefit-card + .to-benefit-card { border-left: 1px solid #d9dfeb; border-radius: 0; }
.to-benefit-card .elementor-image-box-wrapper { display: grid; grid-template-columns: 50px 1fr; gap: 16px; align-items: center; text-align: left; }
.to-benefit-card .elementor-image-box-img { display: flex; width: 50px !important; height: 50px; padding: 12px; margin: 0 !important; border-radius: 50%; background: var(--to-blue); }
.to-benefit-card:nth-child(2) .elementor-image-box-img { background: var(--to-orange); }
.to-benefit-card:nth-child(3) .elementor-image-box-img { background: var(--to-navy); }
.to-benefit-card .elementor-image-box-img img { width: 26px !important; height: 26px !important; }
.to-benefit-card .elementor-image-box-title { font-size: 1rem; margin: 0 0 4px; color: var(--to-navy); }
.to-benefit-card .elementor-image-box-description { margin: 0; font-size: .8rem; color: var(--to-muted); }
.to-promo-grid > .e-con-inner { grid-template-columns: 1.15fr 1fr 1.15fr; grid-template-rows: repeat(2,230px); }
.to-promo-card { position: relative; padding: 28px; box-shadow: none; }
.to-promo-card--large { grid-column: 1; grid-row: 1 / 3; background: linear-gradient(145deg,#010136,#3737fa); }
.to-promo-card--home { grid-column: 3; grid-row: 1 / 3; background: #fff0e9; }
.to-promo-card--camera { grid-column: 2; grid-row: 1; background: #e9edff; }
.to-promo-card--games { grid-column: 2; grid-row: 2; background: #f2f5fb; }
.to-promo-card .elementor-image-box-wrapper { display: flex; flex-direction: column-reverse; align-items: stretch; height: 100%; text-align: left; gap: 12px; }
.to-promo-card .elementor-image-box-img { width: 100% !important; flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; }
.to-promo-card .elementor-image-box-img a { display: block; width: 100%; height: 100%; }
.to-promo-card .elementor-image-box-img img { display: block; width: 100% !important; height: 100%; max-height: 310px; aspect-ratio: auto; object-fit: contain; }
.to-promo-card .elementor-image-box-title { font-size: clamp(1.1rem,1.8vw,1.6rem); }
.to-promo-card--large .elementor-image-box-title, .to-promo-card--large .elementor-image-box-description { color: white; }
.to-promo-card--camera .elementor-image-box-img img, .to-promo-card--games .elementor-image-box-img img { max-height: 135px; }
.to-mini-banner { overflow: hidden; position: relative; }
.to-mini-banner > .e-con-inner { display: grid !important; grid-template-columns: minmax(0,1.3fr) minmax(220px,.8fr); gap: 14px 32px !important; align-items: center; }
.to-mini-banner-copy { grid-column: 1; text-align: center; }
.to-mini-banner > .e-con-inner > .elementor-widget-button { grid-column: 1; justify-self: center; }
.to-mini-banner .to-banner-product { grid-column: 2; grid-row: 1 / 3; align-self: stretch; }
.to-banner-product img { display: block; width: 100% !important; height: 250px !important; object-fit: contain; }
.to-mini-banner .to-eyebrow { background: transparent !important; }
.elementor-widget-button .elementor-button, .woocommerce a.button { text-align: center !important; justify-content: center !important; }
.elementor-button-content-wrapper { display: flex; align-items: center; justify-content: center; width: 100%; }
.elementor-button-text { flex: 0 1 auto; text-align: center; }
.woocommerce ul.products li.product { display: flex !important; flex-direction: column !important; align-items: stretch !important; }
.woocommerce ul.products li.product > .woocommerce-LoopProduct-link { display: flex; flex-direction: column; flex: 1 0 auto; width: 100%; align-self: stretch; }
.woocommerce ul.products li.product .button { margin-top: auto; min-height: 46px; }
.woocommerce ul.products li.product .to-price-notice { margin-bottom: 14px; }
.to-loop-card { display: flex; flex-direction: column; }
.to-loop-card > .elementor-widget-button { margin-top: auto; width: 100%; padding: 8px 20px 20px; }
.to-loop-card .elementor-widget-button .elementor-button { min-width: 148px; min-height: 46px; padding: 12px 24px; border: 2px solid var(--to-navy) !important; background: var(--to-navy) !important; color: white !important; }
.to-loop-card .elementor-widget-theme-post-excerpt { margin-bottom: 8px; }
.to-featured-loop .to-loop-card > .elementor-widget-button { margin-top: 0; }
@media(max-width:1023px) {
 .to-category-shortcut { flex: 0 0 190px; }
 .to-promo-grid > .e-con-inner { grid-template-rows: repeat(2,210px); }
 .to-promo-card { padding: 20px; }
 .to-benefit-card { padding: 8px 12px; }
}
@media(max-width:767px) {
 .to-category-nav > .e-con-inner { justify-content: flex-start; }
 .to-category-shortcut { flex: 0 0 182px; padding: 0 12px; }
 .to-promo-grid > .e-con-inner { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
 .to-promo-card--large { grid-column: 1 / -1; grid-row: auto; min-height: 350px; }
 .to-promo-card--home { grid-column: 1 / -1; grid-row: 3; min-height: 330px; }
 .to-promo-card--camera, .to-promo-card--games { grid-column: auto; grid-row: 2; min-height: 240px; padding: 16px; }
 .to-promo-card--large .elementor-image-box-img img, .to-promo-card--home .elementor-image-box-img img { height: 245px; }
 .to-benefit-card + .to-benefit-card { border-left: 0; border-top: 1px solid #d9dfeb; padding-top: 20px; }
 .to-mini-banner > .e-con-inner { grid-template-columns: 1fr; }
 .to-mini-banner .to-banner-product { grid-column: 1; grid-row: 3; }
 .to-mini-banner > .e-con-inner > .elementor-widget-button { justify-self: stretch; }
 .to-banner-product img { height: 210px !important; }
}

/* Header and transparency polish — shared Elementor styling. */
.to-nav > .e-con-inner, .to-category-nav > .e-con-inner {
  max-width: var(--to-content); margin-inline: auto; padding-inline: 0;
}
.to-nav .elementor-widget-image { width: 120px; flex-shrink: 0; text-align: left; }
.to-nav .elementor-widget-image img { width: 100px !important; height: 64px !important; max-height: 64px; object-fit: contain; }
.to-category-shortcut:first-child { padding-left: 0; }
.to-category-shortcut:last-child { padding-right: 0; }
.to-mini-banner { margin-bottom: clamp(32px, 4vw, 56px) !important; }
.to-transparency-banner .to-affiliate-notice {
  padding: clamp(28px, 4vw, 56px);
  border: 0; border-radius: var(--to-radius-lg);
  background-color: var(--to-navy) !important;
  background-image: linear-gradient(115deg, var(--to-navy), #101078 65%, var(--to-blue)) !important;
  color: white; text-align: center;
}
.to-transparency-banner .to-affiliate-notice strong {
  color: white; font-size: clamp(1.6rem, 3vw, 2.5rem); line-height: 1.2;
  margin-bottom: 20px;
}
.to-transparency-banner .to-affiliate-notice p { max-width: 940px; margin-inline: auto; color: white; line-height: 1.8; }
@media(max-width:767px) {
 .to-nav .elementor-widget-image img { max-height: 54px; }
 .to-category-nav > .e-con-inner { max-width: none; }
 .to-transparency-banner .to-affiliate-notice { padding: 28px 22px; }
}

/* WooCommerce shop archive and footer refinement. */
.to-shop-layout { display: flex; flex-direction: row !important; align-items: flex-start; gap: 32px !important; }
.to-shop-sidebar { width: 260px !important; flex: 0 0 260px; }
.to-shop-results { flex: 1 1 0; min-width: 0; width: auto !important; }
.to-shop-results ul.products { display: grid !important; grid-template-columns: repeat(3,minmax(0,1fr)) !important; }
.to-shop-results ul.products li.product { width: 100% !important; }
.to-shop-filter-form { padding: 24px; border: 1px solid var(--to-border); border-radius: 20px; background: var(--to-soft-blue); display: flex; flex-direction: column; gap: 12px; }
.to-shop-filter-form h2 { font-size: 1.3rem; margin: 0 0 8px; color: var(--to-navy); }
.to-shop-filter-form label,.to-shop-filter-form legend { color: var(--to-navy); font-weight: 700; font-size: .9rem; }
.to-shop-filter-form input,.to-shop-filter-form select { width: 100%; min-width: 0; min-height: 44px; border: 1px solid #b6bdd0; border-radius: 10px; background: white; color: #111; padding: 10px; font: inherit; font-size: .9rem; }
.to-shop-filter-form fieldset { margin: 8px 0; padding: 0; border: 0; min-width: 0; }
.to-price-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.to-price-fields label { display: block; margin-bottom: 6px; }
.to-filter-help { margin: 10px 0 0; font-size: .78rem; line-height: 1.5; color: var(--to-muted); }
.to-shop-filter-form button { min-height: 46px; border-radius: 999px; background: var(--to-navy); color: white; border: 0; font-weight: 700; margin-top: 8px; }
.to-clear-filters { text-align: center; padding: 10px; text-decoration: underline; }
.to-footer .elementor-widget-image { text-align: left !important; align-self: flex-start; }
.to-footer .elementor-widget-image img { filter: brightness(0) invert(1); }
.to-footer .elementor-nav-menu a,.to-footer .elementor-nav-menu a:hover { background: transparent !important; color: rgba(255,255,255,.88) !important; transform: none !important; text-decoration: none !important; box-shadow: none !important; transition: none !important; }
.to-footer .elementor-nav-menu a::before,.to-footer .elementor-nav-menu a::after { display: none !important; }
@media(max-width:1023px) {
 .to-shop-layout { gap: 20px !important; }
 .to-shop-sidebar { width: 230px !important; flex-basis: 230px; }
 .to-shop-filter-form { padding: 18px; }
 .to-shop-results ul.products { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
}
@media(max-width:767px) {
 .to-shop-layout { flex-direction: column !important; }
 .to-shop-sidebar,.to-shop-results { width: 100% !important; flex: 1 1 auto; }
}

/* Product gallery: click-to-zoom without opening the media file. */
.single-product .woocommerce-product-gallery__image {
  overflow: hidden;
  border-radius: var(--to-radius);
  background: var(--to-soft-blue);
}

.single-product .woocommerce-product-gallery__image > a {
  display: block;
  overflow: hidden;
  cursor: zoom-in;
  touch-action: manipulation;
}

.single-product .woocommerce-product-gallery__image > a > img:not(.zoomImg) {
  display: block;
  transform: scale(1);
  transform-origin: var(--to-zoom-x, 50%) var(--to-zoom-y, 50%);
  transition: transform 240ms ease;
}

.single-product .woocommerce-product-gallery__image.to-product-image-zoomed > a {
  cursor: zoom-out;
}

.single-product .woocommerce-product-gallery__image.to-product-image-zoomed > a > img:not(.zoomImg) {
  transform: scale(1.65);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
