/*
Theme Name: Astra Child
Template: astra
Version: 1.0
*/

:root {
  --primary: #1B4332;
  --primary-dark: #123024;
  --accent: #C9A84C;
  --accent-soft: #F1E6BD;
  --background: #FAFAF5;
  --hero: #F4EFDD;
  --text: #1A2E22;
  --muted: #52685D;
  --soft: #F2F1E8;
  --border: #D8D2BC;
  --white: #ffffff;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: Arial, sans-serif;
  background: var(--background);
}

.po-page,
.po-page * {
  box-sizing: border-box;
}

.po-page {
  width: 100%;
  color: var(--text);
  background: var(--background);
}

.po-container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.po-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: var(--background);
  border-bottom: 1px solid var(--border);
}

.admin-bar .po-header {
  top: 32px;
}

.po-nav {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.po-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.po-logo img {
  width: 180px;
  max-height: 72px;
  object-fit: contain;
  display: block;
}

.po-menu {
  display: flex;
  gap: 34px;
  align-items: center;
}

.po-menu a {
  color: var(--text);
  text-decoration: none;
  font-size: 17px;
  font-weight: 500;
}

.po-menu a:hover {
  color: var(--accent);
}

.po-cart {
  background: var(--primary);
  color: #fff !important;
  padding: 15px 30px;
  border-radius: 10px;
  font-weight: 700;
}

.po-hero {
  background: var(--hero);
  padding: 90px 0 76px;
}

.po-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 70px;
  align-items: center;
}

.po-pill {
  display: inline-block;
  background: var(--accent);
  color: var(--text);
  padding: 11px 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 34px;
}

.po-hero h1 {
  font-size: clamp(46px, 5.8vw, 86px);
  line-height: 1.04;
  margin: 0 0 28px;
  color: var(--primary);
  font-weight: 800;
  letter-spacing: 0;
}

.po-hero p {
  font-size: 22px;
  line-height: 1.65;
  max-width: 760px;
  color: var(--text);
  margin: 0;
}

.po-actions {
  display: flex;
  gap: 16px;
  margin-top: 34px;
}

.po-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 30px;
  border-radius: 10px;
  border: 1px solid var(--primary);
  text-decoration: none;
  font-weight: 700;
}

.po-btn-primary {
  background: var(--primary);
  color: #fff !important;
}

.po-btn-primary:hover {
  background: var(--primary-dark);
}

.po-btn-secondary {
  color: var(--primary) !important;
  background: transparent;
}

.po-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  gap: 26px;
}

.po-feature-box {
  background: rgba(250, 250, 245, 0.9);
  border: 1px solid var(--accent);
  border-radius: 16px;
  min-height: 185px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 28px;
  color: var(--text);
  font-size: 18px;
}

.po-feature-box strong {
  display: block;
  font-size: 42px;
  margin-bottom: 16px;
}

.po-strip {
  background: var(--primary);
  color: #F8EDC8;
  padding: 24px 0;
}

.po-strip-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  text-align: center;
  gap: 18px;
}

.po-strip strong {
  display: block;
  color: #fff;
  font-size: 18px;
  margin-bottom: 6px;
}

.po-section {
  padding: 70px 0;
  background: var(--background);
}

.po-section-soft {
  background: var(--soft);
}

.po-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 34px;
}

.po-section h2 {
  font-size: 38px;
  margin: 0 0 10px;
  color: var(--primary);
  font-weight: 800;
}

.po-section p {
  margin: 0;
  color: var(--text);
}

.po-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 700;
}

.po-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.po-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 36px 30px;
  text-align: center;
  color: var(--text);
}

.po-card h3 {
  color: var(--primary);
  font-size: 24px;
  margin: 12px 0 10px;
}

.po-card p {
  font-size: 16px;
  line-height: 1.55;
}

.po-card-icon {
  font-size: 42px;
  margin-bottom: 18px;
}

.po-tag {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--primary);
  border-radius: 999px;
  padding: 7px 18px;
  font-size: 14px;
  margin-top: 18px;
}

.po-products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.po-product {
  overflow: hidden;
  padding: 0;
  text-align: left;
}

.po-product-img {
  min-height: 190px;
  background: linear-gradient(135deg, #FAFAF5, #E8D88F);
  display: grid;
  place-items: center;
  font-size: 70px;
}

.po-product-img img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.po-product-body {
  padding: 24px;
}

.po-product h3 {
  margin: 0 0 10px;
  color: var(--primary);
  font-size: 22px;
}

.po-product .price {
  display: block;
  font-size: 22px;
  color: var(--primary);
  font-weight: 800;
  margin-top: 22px;
}

.po-product del {
  color: #777;
  font-size: 14px;
  margin-left: 6px;
}

.po-product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.po-add {
  border: 1px solid var(--accent);
  color: var(--primary);
  padding: 10px 18px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
}

.po-add:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.po-banner {
  background: linear-gradient(135deg, var(--primary), #2D6A4F);
  color: #fff;
  border-radius: 18px;
  padding: 56px 58px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 36px;
}

.po-banner h2 {
  color: #fff;
  font-size: 34px;
  margin: 0 0 16px;
}

.po-banner p {
  color: #fff;
  margin-bottom: 24px;
}

.po-discount {
  border: 1px solid var(--accent);
  border-radius: 16px;
  padding: 32px 58px;
  font-size: 46px;
  font-weight: 800;
  text-align: center;
  color: #fff;
}

.po-discount small {
  display: block;
  font-size: 18px;
  margin-top: 8px;
  color: #F8EDC8;
}

.po-reviews .po-card {
  text-align: left;
  background: #fff;
}

.po-stars {
  color: var(--accent);
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.po-newsletter {
  background: var(--hero);
  text-align: center;
}

.po-newsletter h2 {
  color: var(--primary);
}

.po-form {
  margin-top: 26px;
  display: flex;
  justify-content: center;
}

.po-form input {
  width: min(430px, 100%);
  height: 56px;
  padding: 0 18px;
  border: 1px solid var(--border);
  border-radius: 10px 0 0 10px;
  font-size: 18px;
  background: #fff;
  color: var(--text);
}

.po-form button {
  height: 56px;
  padding: 0 28px;
  border: 1px solid var(--primary);
  background: var(--primary);
  color: #fff;
  border-radius: 0 10px 10px 0;
  font-size: 17px;
  font-weight: 700;
}

.po-footer {
  background: var(--primary);
  color: #F8EDC8;
  padding: 52px 0 26px;
}

.po-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 42px;
}

.po-footer h3,
.po-footer h4 {
  color: #fff;
}

.po-footer a {
  color: #F8EDC8;
  text-decoration: none;
  display: block;
  margin-bottom: 12px;
}

.po-footer a:hover {
  color: var(--accent);
}

.po-copy {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  margin-top: 34px;
  padding-top: 20px;
  font-size: 14px;
}

/* Astra landing page cleanup */
.po-landing-body .site-header,
.po-landing-body .site-footer,
.po-landing-body .entry-header,
.po-landing-body .ast-breadcrumbs-wrapper {
  display: none !important;
}

.po-landing-body .site-content,
.po-landing-body .ast-container,
.po-landing-body .content-area,
.po-landing-body .site-main,
.po-landing-body article,
.po-landing-body .entry-content {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.po-landing-body .entry-content > * {
  max-width: none !important;
}

@media (max-width: 900px) {
  .po-nav {
    min-height: auto;
    padding: 16px 0;
    flex-direction: column;
  }

  .po-menu {
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .po-hero {
    padding: 64px 0;
  }

  .po-hero-grid,
  .po-card-grid,
  .po-products,
  .po-footer-grid {
    grid-template-columns: 1fr;
  }

  .po-strip-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .po-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .po-discount {
    width: 100%;
  }
}

@media (max-width: 782px) {
  .admin-bar .po-header {
    top: 46px;
  }
}

@media (max-width: 640px) {
  .po-container {
    width: min(100% - 24px, 1180px);
  }

  .po-logo img {
    width: 125px;
  }

  .po-menu a {
    font-size: 15px;
  }

  .po-cart {
    padding: 12px 20px;
  }

  .po-hero h1 {
    font-size: 42px;
  }

  .po-hero p {
    font-size: 18px;
  }

  .po-actions,
  .po-form {
    flex-direction: column;
  }

  .po-form input,
  .po-form button {
    border-radius: 10px;
    width: 100%;
  }

  .po-feature-grid,
  .po-strip-grid {
    grid-template-columns: 1fr;
  }

  .po-banner {
    padding: 36px 24px;
  }

  .po-discount {
    padding: 26px 24px;
    font-size: 36px;
  }
}




@media (max-width: 640px) {
  .po-header {
    position: sticky;
    top: 0;
    background: var(--background);
  }

  .admin-bar .po-header {
    top: 0;
  }

  .po-nav {
    min-height: auto;
    padding: 12px 0 14px;
    gap: 10px;
  }

  .po-logo img {
    width: 112px;
    max-height: 42px;
  }

  .po-menu {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(5, auto);
    justify-content: center;
    gap: 12px;
    align-items: center;
  }

  .po-menu a {
    font-size: 13px;
    line-height: 1;
    white-space: nowrap;
  }

  .po-menu .po-cart {
    grid-column: 1 / -1;
    justify-self: center;
    margin-top: 10px;
    padding: 12px 22px;
    border-radius: 8px;
    font-size: 14px;
  }

  .po-hero {
    padding-top: 56px;
  }
}


.po-mobile-menu-btn,
.po-mobile-icons {
  display: none;
}

@media (max-width: 640px) {
  .po-header {
    position: sticky;
    top: 0;
    z-index: 9999;
    background: #fff;
    border-bottom: 1px solid var(--border);
  }

  .admin-bar .po-header {
    top: 0;
  }

  .po-nav {
    width: 100%;
    min-height: 72px;
    padding: 0 14px;
    display: grid;
    grid-template-columns: 36px 1fr 96px;
    align-items: center;
    gap: 8px;
  }

  .po-mobile-menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 0;
    background: transparent;
    color: var(--text);
    padding: 0;
  }

  .po-mobile-menu-btn svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
  }

  .po-logo {
    justify-content: center;
  }

  .po-logo img {
    width: 150px;
    max-height: 54px;
    object-fit: contain;
    display: block;
  }

  .po-menu {
    display: none !important;
  }

  .po-mobile-icons {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 11px;
  }

  .po-mobile-icons a {
    width: 22px;
    height: 22px;
    color: var(--text);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .po-mobile-icons svg {
  width: 22px;
  height: 22px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}


  .po-hero {
    padding-top: 34px;
  }
}



@media (max-width: 640px) {
  .po-nav {
    grid-template-columns: 36px 1fr 96px;
  }

  .po-mobile-icons {
    display: flex;
    justify-content: flex-end;
    align-items: center;
  }

  .po-mobile-icons .po-mobile-cart-button {
    width: 88px;
    height: 44px;
    background: var(--primary);
    color: #fff !important;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
  }

  .po-mobile-icons .po-mobile-cart-button svg {
    display: none;
  }
}


.po-mobile-drawer {
  display: none;
}

@media (max-width: 640px) {
  body.po-drawer-open {
    overflow: hidden;
  }

  .po-mobile-drawer {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: block;
    pointer-events: none;
    background: rgba(0, 0, 0, 0);
    transition: background 0.2s ease;
  }

  .po-mobile-drawer.is-open {
    pointer-events: auto;
    background: rgba(26, 46, 34, 0.35);
  }

    .po-mobile-drawer-panel {
      width: min(74vw, 280px);
      height: 100%;
      background: var(--background);
      padding: 18px;
      transform: translateX(-100%);
      transition: transform 0.25s ease;
      box-shadow: 16px 0 34px rgba(0, 0, 0, 0.18);
    }


  .po-mobile-drawer.is-open .po-mobile-drawer-panel {
    transform: translateX(0);
  }

  .po-mobile-drawer-close {
  width: 46px;
  height: 46px;
  border: 0;
  background: var(--primary);
  color: #fff;
  border-radius: 10px;
  font-size: 30px;
  line-height: 1;
  margin-bottom: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
}


  .po-mobile-drawer-panel a {
  display: block;
  padding: 14px 2px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  font-size: 17px;
  font-weight: 700;
}

}
