/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra child theme for IDEI Plugins.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/

:root {
  --idei-ink: #10233f;
  --idei-ink-soft: #36506f;
  --idei-sky: #eef5ff;
  --idei-line: #d7e3f5;
  --idei-gold: #ffbf3f;
  --idei-gold-deep: #f59e0b;
  --idei-accent: #3f63f3;
  --idei-navy: #0d2240;
  --idei-navy-2: #17345f;
  --idei-white: #ffffff;
  --idei-shadow: 0 18px 50px rgba(16, 35, 63, 0.12);
}

body {
  color: var(--idei-ink);
  background: linear-gradient(180deg, #f7faff 0%, #ffffff 20%, #f8fbff 100%);
}

body,
button,
input,
select,
textarea,
.ast-button,
.ast-custom-button {
  font-family: "Poppins", "Segoe UI", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
.entry-content :where(h1, h2, h3, h4, h5, h6),
.site-title,
.site-title a {
  color: var(--idei-ink);
  font-family: "Roboto Slab", Georgia, serif;
}

a {
  color: var(--idei-accent);
}

a:hover,
a:focus {
  color: var(--idei-navy);
}

.ast-site-header-wrap {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(16, 35, 63, 0.08);
}

.site-header-primary-section-left .site-title a {
  letter-spacing: -0.03em;
}

.site-content > .ast-container {
  max-width: 1280px;
}

.idei-homepage {
  display: block;
  padding: 24px 0 0;
}

.idei-hero {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  background:
    radial-gradient(circle at top right, rgba(255, 191, 63, 0.18), transparent 24%),
    radial-gradient(circle at left center, rgba(141, 179, 255, 0.14), transparent 28%),
    linear-gradient(135deg, #0d2240 0%, #17345f 45%, #3f63f3 100%);
  box-shadow: var(--idei-shadow);
}

.idei-hero::before,
.idei-hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.idei-hero::before {
  width: 280px;
  height: 280px;
  right: -80px;
  top: -70px;
  background: rgba(255, 255, 255, 0.08);
}

.idei-hero::after {
  width: 180px;
  height: 180px;
  left: -40px;
  bottom: -40px;
  background: rgba(255, 191, 63, 0.16);
}

.idei-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 92px 40px 56px;
  text-align: center;
}

.idei-badge,
.idei-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.idei-badge {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #f6f8ff;
}

.idei-homepage h1 {
  margin: 22px 0 18px;
  font-size: clamp(2.6rem, 5.2vw, 4.8rem);
  line-height: 1.02;
  color: var(--idei-white);
  letter-spacing: -0.045em;
}

.idei-hero p {
  max-width: 760px;
  margin: 0 auto;
  font-size: 1.16rem;
  line-height: 1.8;
  color: rgba(243, 247, 255, 0.9);
}

.idei-hero__actions,
.idei-section__actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.idei-hero__actions {
  margin-top: 34px;
}

.idei-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 16px;
  border: 1px solid transparent;
  font-size: 0.98rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.idei-btn:hover,
.idei-btn:focus {
  transform: translateY(-1px);
  text-decoration: none;
}

.idei-btn--primary {
  color: var(--idei-navy);
  background: linear-gradient(135deg, #ffd15d 0%, #ffbf3f 100%);
  box-shadow: 0 12px 28px rgba(255, 191, 63, 0.28);
}

.idei-btn--primary:hover,
.idei-btn--primary:focus {
  color: var(--idei-navy);
  background: linear-gradient(135deg, #ffd978 0%, #ffca58 100%);
}

.idei-btn--ghost {
  color: var(--idei-white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.4);
}

.idei-btn--ghost:hover,
.idei-btn--ghost:focus {
  color: var(--idei-white);
  background: rgba(255, 255, 255, 0.14);
}

.idei-btn--ghost-light {
  color: var(--idei-white);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
}

.idei-btn--ghost-light:hover,
.idei-btn--ghost-light:focus {
  color: var(--idei-white);
  background: rgba(255, 255, 255, 0.1);
}

.idei-btn--dark {
  color: var(--idei-white);
  background: linear-gradient(135deg, #0d2240 0%, #17345f 100%);
  box-shadow: 0 12px 28px rgba(13, 34, 64, 0.16);
}

.idei-btn--dark:hover,
.idei-btn--dark:focus {
  color: var(--idei-white);
  background: linear-gradient(135deg, #17345f 0%, #224777 100%);
}

.idei-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 42px;
}

.idei-stat {
  padding: 20px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.idei-stat strong {
  display: block;
  margin-bottom: 6px;
  color: var(--idei-white);
  font-size: 1.5rem;
  line-height: 1;
}

.idei-stat span {
  color: rgba(243, 247, 255, 0.82);
  font-size: 0.92rem;
}

.idei-section {
  padding: 84px 0;
}

.idei-section--soft {
  margin-top: 26px;
  padding: 88px 36px;
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(244, 248, 255, 0.98) 0%, rgba(255, 255, 255, 0.98) 100%);
  border: 1px solid rgba(63, 99, 243, 0.08);
  box-shadow: 0 20px 48px rgba(16, 35, 63, 0.06);
}

.idei-section__head {
  max-width: 760px;
  margin: 0 auto 36px;
  text-align: center;
}

.idei-kicker {
  color: var(--idei-accent);
}

.idei-kicker--light {
  color: rgba(255, 255, 255, 0.78);
}

.idei-section__head h2,
.idei-cta h2 {
  margin: 14px 0 14px;
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.idei-section__head p,
.idei-cta p {
  margin: 0;
  color: var(--idei-ink-soft);
  font-size: 1.04rem;
  line-height: 1.85;
}

.idei-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.idei-card {
  padding: 28px 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--idei-line);
  box-shadow: 0 18px 40px rgba(16, 35, 63, 0.06);
}

.idei-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(63, 99, 243, 0.12), rgba(255, 191, 63, 0.22));
  color: var(--idei-navy);
  font-size: 0.95rem;
  font-weight: 800;
}

.idei-card h3 {
  margin: 0 0 10px;
  font-size: 1.18rem;
  line-height: 1.2;
}

.idei-card p {
  margin: 0;
  color: var(--idei-ink-soft);
  line-height: 1.8;
}

.idei-cta {
  margin: 12px 0 20px;
  padding: 0 0 30px;
}

.idei-cta__inner {
  padding: 54px 34px;
  border-radius: 32px;
  background:
    radial-gradient(circle at top left, rgba(255, 191, 63, 0.18), transparent 22%),
    linear-gradient(135deg, #0d2240 0%, #17345f 55%, #264f87 100%);
  box-shadow: var(--idei-shadow);
  text-align: center;
}

.idei-cta h2,
.idei-cta p {
  color: var(--idei-white);
}

.idei-cta p {
  max-width: 720px;
  margin: 0 auto 28px;
  color: rgba(243, 247, 255, 0.88);
}

.home .woocommerce.columns-4 ul.products,
.home .woocommerce-page.columns-4 ul.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.home ul.products li.product,
.archive.post-type-archive-product ul.products li.product {
  width: auto !important;
  margin: 0 !important;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(16, 35, 63, 0.08);
  box-shadow: 0 16px 38px rgba(16, 35, 63, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.home ul.products li.product:hover,
.archive.post-type-archive-product ul.products li.product:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 46px rgba(16, 35, 63, 0.12);
}

.home ul.products li.product a img,
.archive.post-type-archive-product ul.products li.product a img {
  border-radius: 18px;
  margin-bottom: 16px;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.archive.post-type-archive-product ul.products li.product .woocommerce-loop-product__title {
  color: var(--idei-ink);
  font-family: "Roboto Slab", Georgia, serif;
  font-size: 1.02rem;
  line-height: 1.35;
}

.woocommerce ul.products li.product .price {
  color: var(--idei-accent);
  font-weight: 700;
}

.woocommerce ul.products li.product .button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce .button.single_add_to_cart_button {
  border-radius: 14px;
  background: linear-gradient(135deg, #0d2240 0%, #17345f 100%);
  color: var(--idei-white);
  font-weight: 700;
}

.woocommerce ul.products li.product .button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce .button.single_add_to_cart_button:hover {
  color: var(--idei-white);
  background: linear-gradient(135deg, #17345f 0%, #224777 100%);
}

.single-product div.product {
  padding: 30px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 20px 45px rgba(16, 35, 63, 0.08);
}

.single-product .product_title {
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.single-product .summary .price {
  color: var(--idei-accent);
  font-size: 1.45rem;
  font-weight: 700;
}

@media (max-width: 1100px) {
  .idei-feature-grid,
  .home .woocommerce.columns-4 ul.products,
  .home .woocommerce-page.columns-4 ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .idei-stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 921px) {
  .idei-homepage {
    padding-top: 10px;
  }

  .idei-hero,
  .idei-section--soft,
  .idei-cta__inner,
  .single-product div.product {
    border-radius: 24px;
  }

  .idei-hero__inner,
  .idei-section--soft,
  .idei-cta__inner {
    padding-left: 22px;
    padding-right: 22px;
  }
}

@media (max-width: 768px) {
  .idei-homepage h1 {
    font-size: 2.35rem;
  }

  .idei-hero p,
  .idei-section__head p,
  .idei-card p,
  .idei-cta p {
    font-size: 0.98rem;
  }

  .idei-feature-grid,
  .home .woocommerce.columns-4 ul.products,
  .home .woocommerce-page.columns-4 ul.products {
    grid-template-columns: 1fr;
  }

  .idei-section {
    padding: 64px 0;
  }
}
