:root {
  --am-bg: #090b10;
  --am-surface: #ffffff;
  --am-ink: #141821;
  --am-muted: #697180;
  --am-line: rgba(20, 24, 33, 0.1);
  --am-red: #e42535;
  --am-red-dark: #a60f1e;
  --am-charcoal: #171b22;
  --am-radius: 8px;
  --am-shadow: 0 22px 55px rgba(11, 13, 18, 0.14);
}

html {
  scroll-behavior: smooth;
}

.acustodio-modern-home {
  background: #f5f6f8;
}

.acustodio-modern-home .body-wrapper,
.acustodio-modern-home .body-wrapper-inner {
  overflow: visible;
}

.acustodio-modern-home #header,
.acustodio-modern-home header.header,
.acustodio-modern-home .header {
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow 0.25s ease, background-color 0.25s ease, backdrop-filter 0.25s ease;
}

.acustodio-modern-home #header.am-header-scrolled,
.acustodio-modern-home header.header.am-header-scrolled,
.acustodio-modern-home .header.am-header-scrolled {
  background: rgba(10, 12, 18, 0.9);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(14px);
}

.acustodio-modern-home #contents.main-page {
  padding: 0;
}

.acustodio-modern-home #contents.main-page,
.acustodio-modern-home .main-page.content,
.acustodio-modern-home .container > .row > .main-page {
  width: 100%;
}

.am-container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.am-home {
  color: var(--am-ink);
  font-family: inherit;
}

.am-section {
  padding: 72px 0;
}

.am-hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
  background:
    radial-gradient(circle at 82% 18%, rgba(228, 37, 53, 0.34), transparent 28%),
    linear-gradient(135deg, #080910 0%, #151821 46%, #090b10 100%);
}

.am-hero::before,
.am-gaming-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateY(var(--am-parallax-y, 0));
  background:
    linear-gradient(120deg, rgba(228, 37, 53, 0.2), transparent 38%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 86px);
  opacity: 0.55;
  pointer-events: none;
  z-index: -1;
}

.am-hero::after {
  content: "";
  position: absolute;
  right: min(8vw, 110px);
  width: min(42vw, 520px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02)),
    radial-gradient(circle at 35% 25%, rgba(228, 37, 53, 0.4), transparent 34%);
  box-shadow: inset 0 0 80px rgba(228, 37, 53, 0.12), 0 28px 90px rgba(0, 0, 0, 0.32);
  transform: rotate(-8deg);
  border-radius: var(--am-radius);
  z-index: -1;
}

.am-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 0.72fr);
  gap: 42px;
  align-items: center;
  padding: 78px 0;
}

.am-hero-copy {
  max-width: 730px;
}

.am-kicker,
.am-section-heading span,
.am-gaming-content span,
.am-hero-proof span {
  display: inline-flex;
  color: var(--am-red);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: uppercase;
}

.am-hero h1 {
  margin: 18px 0 18px;
  color: #fff;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
  font-weight: 800;
}

.am-hero p {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  line-height: 1.7;
}

.am-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.am-button,
.am-add-to-cart,
.am-view-all {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--am-radius);
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.am-button {
  padding: 0 22px;
}

.am-button-primary,
.am-add-to-cart {
  background: var(--am-red);
  color: #fff;
  box-shadow: 0 14px 30px rgba(228, 37, 53, 0.25);
}

.am-button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.am-button:hover,
.am-add-to-cart:hover,
.am-view-all:hover {
  transform: translateY(-2px);
}

.am-button-primary:hover,
.am-add-to-cart:hover {
  background: var(--am-red-dark);
  color: #fff;
}

.am-hero-showcase {
  position: relative;
  min-height: 500px;
  isolation: isolate;
}

.am-hero-showcase::before {
  content: "";
  position: absolute;
  inset: 40px 10px 28px 54px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background:
    radial-gradient(circle at 68% 18%, rgba(228, 37, 53, 0.3), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035));
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
  transform: rotate(-4deg);
  z-index: -1;
}

.am-hero-product {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.32);
}

.am-hero-product img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.am-hero-product span,
.am-hero-product strong,
.am-hero-proof span,
.am-hero-proof strong {
  letter-spacing: 0;
}

.am-hero-product-main {
  left: 42px;
  top: 38px;
  width: min(82%, 480px);
  height: 300px;
  background: #0f1118;
}

.am-hero-product-main img {
  object-fit: contain;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(10, 12, 18, 0.96), rgba(28, 32, 42, 0.94)),
    radial-gradient(circle at 50% 35%, rgba(228, 37, 53, 0.24), transparent 42%);
}

.am-hero-product-main > div {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  padding-top: 68px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.78));
}

.am-hero-product-main span,
.am-hero-product-main strong {
  display: block;
}

.am-hero-product-main span {
  color: var(--am-red);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.am-hero-product-main strong {
  max-width: 210px;
  color: #fff;
  font-size: 19px;
  line-height: 1.12;
}

.am-hero-product-chair {
  right: 0;
  top: 86px;
  width: 190px;
  height: 216px;
}

.am-hero-product-phone {
  left: 0;
  bottom: 36px;
  width: 188px;
  height: 188px;
}

.am-hero-product-watch {
  right: 68px;
  bottom: 20px;
  width: 172px;
  height: 172px;
}

.am-hero-product-chair span,
.am-hero-product-phone span,
.am-hero-product-watch span {
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(15, 17, 24, 0.8);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.am-hero-proof {
  position: absolute;
  right: 6px;
  bottom: 72px;
  width: 244px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(16, 18, 27, 0.78);
  backdrop-filter: blur(12px);
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.28);
}

.am-hero-proof strong {
  display: block;
  margin-top: 8px;
  color: #fff;
  font-size: 18px;
  line-height: 1.32;
}

.am-section-heading {
  margin-bottom: 28px;
}

.am-section-heading h2,
.am-gaming-content h2 {
  margin: 8px 0 0;
  color: var(--am-ink);
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.1;
  letter-spacing: 0;
  font-weight: 800;
}

.am-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.am-view-all {
  min-width: 104px;
  padding: 0 16px;
  border: 1px solid var(--am-line);
  color: var(--am-ink);
  background: #fff;
}

.am-category-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.am-category-card {
  display: flex;
  min-height: 188px;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
  border: 1px solid var(--am-line);
  border-radius: var(--am-radius);
  background: #fff;
  color: var(--am-ink);
  box-shadow: 0 10px 28px rgba(13, 16, 24, 0.06);
  text-decoration: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.am-category-card:hover {
  color: var(--am-ink);
  transform: translateY(-5px);
  border-color: rgba(228, 37, 53, 0.32);
  box-shadow: var(--am-shadow);
}

.am-category-media {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: var(--am-radius);
  background:
    linear-gradient(145deg, rgba(228, 37, 53, 0.12), rgba(20, 24, 33, 0.08)),
    #f4f5f7;
  overflow: hidden;
}

.am-category-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.am-category-media:empty::before,
.am-category-media:not(:has(img))::before {
  content: "";
  width: 28px;
  height: 28px;
  border: 2px solid var(--am-red);
  border-radius: 6px;
}

.am-category-title {
  margin-top: 18px;
  font-size: 17px;
  font-weight: 800;
}

.am-category-count {
  color: var(--am-muted);
  font-size: 13px;
}

.am-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.am-product-card,
.acustodio-modern-home ul.products-loop li,
.acustodio-modern-home .products li.product {
  border: 1px solid var(--am-line);
  border-radius: var(--am-radius);
  background: #fff;
  box-shadow: 0 12px 30px rgba(12, 15, 22, 0.06);
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.am-product-card:hover,
.acustodio-modern-home ul.products-loop li:hover,
.acustodio-modern-home .products li.product:hover {
  transform: translateY(-5px);
  border-color: rgba(228, 37, 53, 0.24);
  box-shadow: var(--am-shadow);
}

.am-product-image {
  position: relative;
  display: flex;
  height: 245px;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: linear-gradient(180deg, #f8f9fb, #eef1f5);
}

.am-product-image img,
.acustodio-modern-home .products-loop img,
.acustodio-modern-home .products img {
  width: 100%;
  height: 100%;
  max-height: 210px;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.am-product-card:hover .am-product-image img {
  transform: scale(1.04);
}

.am-sale-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--am-red);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.am-product-body {
  padding: 18px;
}

.am-product-body h3 {
  min-height: 46px;
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 800;
}

.am-product-body h3 a {
  color: var(--am-ink);
}

.am-product-price {
  min-height: 28px;
  margin-bottom: 14px;
  color: var(--am-red);
  font-size: 16px;
  font-weight: 800;
}

.am-product-price del {
  color: var(--am-muted);
  font-size: 13px;
  font-weight: 500;
}

.am-add-to-cart {
  width: 100%;
  padding: 0 14px;
  border: 0;
}

.am-gaming-banner {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 80% 20%, rgba(228, 37, 53, 0.38), transparent 30%),
    linear-gradient(135deg, #11141c 0%, #20121a 46%, #07080d 100%);
  isolation: isolate;
}

.am-gaming-banner .am-container {
  min-height: 330px;
  display: flex;
  align-items: center;
}

.am-gaming-content {
  max-width: 560px;
}

.am-gaming-content h2,
.am-gaming-content p {
  color: #fff;
}

.am-gaming-content p {
  margin: 16px 0 26px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 17px;
  line-height: 1.7;
}

.am-legacy-home {
  padding-top: 30px;
}

.am-legacy-home > .am-container {
  padding: 34px;
  border-radius: var(--am-radius);
  background: #fff;
  box-shadow: 0 16px 40px rgba(12, 15, 22, 0.07);
}

.am-legacy-home .elementor-section,
.am-legacy-home .vc_row {
  border-radius: var(--am-radius);
}

.am-js [data-am-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.am-js [data-am-reveal].am-in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1199px) {
  .am-hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
    gap: 28px;
  }

  .am-hero-showcase {
    min-height: 430px;
  }

  .am-hero-product-main {
    width: min(82%, 420px);
    height: 260px;
  }

  .am-hero-product-chair {
    width: 156px;
    height: 184px;
  }

  .am-hero-product-phone {
    width: 150px;
    height: 150px;
  }

  .am-hero-product-watch {
    right: 36px;
    width: 142px;
    height: 142px;
  }

  .am-hero-proof {
    right: 0;
    width: 216px;
  }

  .am-category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .am-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .am-section {
    padding: 48px 0;
  }

  .am-hero {
    min-height: auto;
  }

  .am-hero-inner {
    grid-template-columns: 1fr;
    padding: 62px 0;
    gap: 34px;
  }

  .am-hero::after {
    right: -120px;
    width: 320px;
    opacity: 0.5;
  }

  .am-hero h1 {
    font-size: 42px;
  }

  .am-hero p {
    font-size: 16px;
  }

  .am-hero-showcase {
    min-height: 420px;
    max-width: 520px;
    width: 100%;
    margin: 0 auto;
  }

  .am-hero-showcase::before {
    inset: 36px 0 18px 30px;
  }

  .am-hero-product-main {
    left: 28px;
    top: 24px;
    width: min(86%, 420px);
    height: 238px;
  }

  .am-hero-product-chair {
    right: 8px;
    top: 78px;
    width: 142px;
    height: 166px;
  }

  .am-hero-product-phone {
    left: 0;
    bottom: 26px;
    width: 142px;
    height: 142px;
  }

  .am-hero-product-watch {
    right: 22px;
    bottom: 20px;
    width: 132px;
    height: 132px;
  }

  .am-hero-proof {
    right: 4px;
    bottom: 78px;
    width: min(56%, 230px);
    padding: 14px;
  }

  .am-hero-proof strong {
    font-size: 15px;
  }

  .am-heading-row {
    align-items: start;
    flex-direction: column;
  }

  .am-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .am-category-card {
    min-height: 160px;
    padding: 14px;
  }

  .am-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .am-product-image {
    height: 180px;
    padding: 14px;
  }

  .am-product-body {
    padding: 14px;
  }

  .am-product-body h3 {
    font-size: 13px;
  }

  .am-legacy-home > .am-container {
    padding: 18px;
  }
}

@media (max-width: 420px) {
  .am-container {
    width: min(100% - 22px, 1180px);
  }

  .am-hero-actions,
  .am-button {
    width: 100%;
  }

  .am-hero-showcase {
    min-height: 360px;
  }

  .am-hero-product-main {
    left: 12px;
    width: calc(100% - 24px);
    height: 210px;
  }

  .am-hero-product-chair {
    right: 0;
    top: 160px;
    width: 118px;
    height: 134px;
  }

  .am-hero-product-phone {
    width: 118px;
    height: 118px;
  }

  .am-hero-product-watch,
  .am-hero-proof {
    display: none;
  }

  .am-product-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .am-js [data-am-reveal],
  .am-button,
  .am-add-to-cart,
  .am-category-card,
  .am-product-card {
    transition: none;
    transform: none;
  }
}
