@font-face {
  font-family: "Thmanyah Sans";
  src: url("../fonts/thmanyahsans-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Thmanyah Sans";
  src: url("../fonts/thmanyahsans-Medium.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Thmanyah Sans";
  src: url("../fonts/thmanyahsans-Bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Thmanyah Sans";
  src: url("../fonts/thmanyahsans-Black.woff2") format("woff2");
  font-style: normal;
  font-weight: 900;
  font-display: swap;
}

:root {
  --trio-font-family: "Thmanyah Sans", Tahoma, Arial, sans-serif;
}

html,
body,
button,
input,
select,
textarea,
.elementor,
.woocommerce,
.wd-nav,
.wd-title,
.wd-text-block,
.menu,
.button,
.btn {
  font-family: var(--trio-font-family) !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
.title,
.widget-title,
.product-title,
.woocommerce-loop-product__title {
  font-family: var(--trio-font-family) !important;
  font-weight: 700;
}

body {
  line-height: 1.7;
}

.elementor-button,
.elementor-widget-button .elementor-button {
  background-color: #bf984d !important;
  color: #21150b !important;
  border-color: #bf984d !important;
  border-radius: 999px;
}

.elementor-button:hover,
.elementor-widget-button .elementor-button:hover {
  background-color: #21150b !important;
  color: #ffffff !important;
  border-color: #21150b !important;
}

.entry-content details {
  margin-block: 12px;
  padding: 16px 18px;
  border: 1px solid rgba(33, 21, 11, 0.14);
  border-radius: 14px;
  background: #f8f5ef;
}

.entry-content summary {
  cursor: pointer;
  color: #21150b;
}

.entry-content details p {
  margin: 12px 0 0;
}

/* App-inspired home page — scoped to the custom Trio layout. */
body.home {
  background:
    radial-gradient(circle at 8% 8%, rgba(191, 152, 77, 0.14), transparent 28rem),
    linear-gradient(180deg, #f5f7fb 0, #ffffff 38rem);
}

.trio-home-app {
  --trio-gold: #bf984d;
  --trio-ink: #21150b;
  --trio-surface: #ffffff;
  --trio-muted: #6d665f;
  --trio-line: rgba(33, 21, 11, 0.09);
  --trio-shadow: 0 18px 50px rgba(33, 21, 11, 0.08);
  overflow: hidden;
  padding: 18px 14px 76px;
}

.trio-home-app > .e-con-inner {
  gap: 26px;
}

.trio-app-hero {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 30px;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.96), transparent 30%),
    linear-gradient(135deg, #efe8dc 0%, #dce8f5 100%);
  box-shadow: var(--trio-shadow);
}

.trio-app-hero::before,
.trio-app-hero::after {
  position: absolute;
  border-radius: 50%;
  background: rgba(191, 152, 77, 0.16);
  content: "";
  pointer-events: none;
}

.trio-app-hero::before {
  width: 220px;
  height: 220px;
  inset: -90px auto auto -70px;
}

.trio-app-hero::after {
  width: 160px;
  height: 160px;
  inset: auto -55px -65px auto;
}

.trio-app-hero-copy,
.trio-app-device {
  position: relative;
  z-index: 1;
}

.trio-app-eyebrow .elementor-heading-title {
  display: inline-flex;
  align-items: center;
  width: auto;
  padding: 8px 13px;
  border: 1px solid rgba(191, 152, 77, 0.32);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--trio-ink);
  font-size: 13px !important;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.trio-app-title .elementor-heading-title {
  color: var(--trio-ink);
  font-size: clamp(36px, 8vw, 68px) !important;
  font-weight: 900;
  line-height: 0.98 !important;
  letter-spacing: -0.04em;
}

.trio-app-lead {
  color: var(--trio-muted);
  font-size: 17px;
  line-height: 1.8;
}

.trio-app-primary .elementor-button {
  min-height: 52px;
  padding-inline: 25px !important;
  box-shadow: 0 12px 24px rgba(33, 21, 11, 0.16);
}

.trio-app-device {
  padding: 14px !important;
  border: 1px solid rgba(255, 255, 255, 0.94);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 20px 45px rgba(58, 70, 89, 0.14);
  transform: rotate(-1.5deg);
  backdrop-filter: blur(12px);
}

.trio-app-device img {
  aspect-ratio: 1 / 1;
  border-radius: 21px !important;
  object-fit: cover;
}

.trio-app-mini-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.trio-app-mini-stats > .e-con-inner,
.trio-app-mini-stats {
  width: 100%;
}

.trio-app-stat {
  min-height: 72px;
  padding: 12px 8px !important;
  border: 1px solid var(--trio-line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  text-align: center;
}

.trio-app-stat .elementor-heading-title {
  color: var(--trio-ink);
  font-size: 14px !important;
  line-height: 1.35 !important;
}

.trio-section-head {
  margin-bottom: 0 !important;
}

.trio-section-head .elementor-heading-title {
  color: var(--trio-ink);
  font-size: clamp(25px, 5vw, 38px) !important;
  font-weight: 900;
}

.trio-section-subtitle {
  color: var(--trio-muted);
}

.trio-chip-row {
  display: flex;
  flex-wrap: nowrap !important;
  gap: 10px !important;
  overflow-x: auto;
  padding: 4px 2px 12px;
  scrollbar-width: none;
}

.trio-chip-row::-webkit-scrollbar {
  display: none;
}

.trio-chip-row > .elementor-element {
  flex: 0 0 auto !important;
  width: auto !important;
}

.trio-chip .elementor-button {
  min-height: 44px;
  padding: 11px 18px !important;
  border: 1px solid var(--trio-line) !important;
  background: var(--trio-surface) !important;
  color: var(--trio-ink) !important;
  box-shadow: 0 8px 22px rgba(33, 21, 11, 0.06);
  white-space: nowrap;
}

.trio-chip.is-active .elementor-button,
.trio-chip .elementor-button:hover {
  border-color: var(--trio-gold) !important;
  background: var(--trio-gold) !important;
  color: var(--trio-ink) !important;
}

.trio-app-products {
  padding: 22px 14px 10px !important;
  border: 1px solid var(--trio-line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--trio-shadow);
  backdrop-filter: blur(10px);
}

.trio-app-products .products {
  gap: 14px 0;
}

.trio-app-products .wd-product-wrapper {
  height: 100%;
  padding: 9px;
  border: 1px solid var(--trio-line);
  border-radius: 21px;
  background: #fff;
  box-shadow: 0 10px 25px rgba(33, 21, 11, 0.055);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.trio-app-products .wd-product:hover .wd-product-wrapper {
  box-shadow: 0 16px 34px rgba(33, 21, 11, 0.1);
  transform: translateY(-3px);
}

.trio-app-products .wd-product-thumb,
.trio-app-products .product-element-top {
  overflow: hidden;
  border-radius: 16px;
  background: #f3f4f6;
}

.trio-app-products .wd-product-img-link img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.trio-app-products .wd-entities-title,
.trio-app-products .woocommerce-loop-product__title {
  margin-top: 4px;
  color: var(--trio-ink);
  font-size: 15px;
  line-height: 1.45;
}

.trio-app-products .price {
  display: inline-flex;
  width: fit-content;
  margin-top: 5px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(191, 152, 77, 0.18);
  color: var(--trio-ink) !important;
  font-weight: 700;
}

.trio-app-products .wd-add-btn a {
  border-radius: 999px !important;
}

.trio-app-benefits {
  gap: 12px !important;
}

.trio-app-benefit {
  min-height: 128px;
  padding: 20px 16px !important;
  border: 1px solid var(--trio-line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 10px 25px rgba(33, 21, 11, 0.05);
}

.trio-app-benefit .elementor-heading-title {
  color: var(--trio-ink);
  font-size: 18px !important;
}

.trio-app-benefit .elementor-widget-text-editor {
  color: var(--trio-muted);
  font-size: 14px;
}

.trio-app-cta {
  overflow: hidden;
  padding: 28px 20px !important;
  border-radius: 28px;
  background: var(--trio-ink);
  box-shadow: 0 20px 40px rgba(33, 21, 11, 0.16);
}

.trio-app-cta .elementor-heading-title,
.trio-app-cta .elementor-widget-text-editor {
  color: #fff;
}

@media (max-width: 767px) {
  .trio-app-hero {
    padding: 24px 18px 20px !important;
  }

  .trio-app-hero-copy {
    text-align: center;
  }

  .trio-app-eyebrow .elementor-heading-title {
    margin-inline: auto;
  }

  .trio-app-primary .elementor-button {
    width: 100%;
    justify-content: center;
  }

  .trio-app-device {
    margin-top: 4px;
  }

  .trio-app-products {
    padding-inline: 9px !important;
  }

  .trio-app-products .wd-product-wrapper {
    padding: 7px;
    border-radius: 18px;
  }

  .trio-app-products .wd-entities-title,
  .trio-app-products .woocommerce-loop-product__title {
    font-size: 13px;
  }

  .trio-app-products .price {
    padding: 4px 8px;
    font-size: 13px;
  }

  .wd-toolbar,
  .wd-sticky-toolbar {
    right: 12px !important;
    bottom: 10px !important;
    left: 12px !important;
    width: auto !important;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.94) !important;
    box-shadow: 0 16px 40px rgba(33, 21, 11, 0.18) !important;
    backdrop-filter: blur(14px);
  }
}

@media (min-width: 768px) {
  .trio-home-app {
    padding: 30px 24px 88px;
  }

  .trio-home-app > .e-con-inner {
    gap: 42px;
  }

  .trio-app-hero {
    min-height: 590px;
    padding: 48px !important;
  }

  .trio-app-hero-copy {
    width: 53% !important;
  }

  .trio-app-device {
    width: 43% !important;
    padding: 18px !important;
    transform: rotate(-2.5deg);
  }

  .trio-app-products {
    padding: 32px 26px 18px !important;
  }

  .trio-app-benefits {
    flex-wrap: nowrap !important;
  }

  .trio-app-benefit {
    width: 25% !important;
  }

  .trio-app-cta {
    padding: 44px !important;
  }
}
