/* Peptis Design System */

/* ---------- Brand palette (overrides Astra's blue defaults) ---------- */
:root {
  --ast-global-color-0: #3A6B58;
  --ast-global-color-1: #2F5646;
  --ast-global-color-2: #1A1D20;
  --ast-global-color-3: #2B2D42;
  --ast-global-color-4: #F8F9FA;
  --ast-global-color-5: #FFFFFF;
  --ast-global-color-6: #E5E7EB;
  --ast-global-color-7: #E5E7EB;
  --ast-global-color-8: #6B7280;
}
body { color: #2B2D42; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
a { color: #3A6B58; }
a:hover { color: #2F5646; }

/* ---------- Header ---------- */
.ast-above-header-wrap, .ast-above-header { background: #F8F9FA !important; border-bottom: 1px solid #E5E7EB; min-height: 38px; }
.ast-above-header .ast-builder-html-element, .ast-above-header .ast-builder-html-element p {
  color: #2B2D42 !important; font-size: 13px; text-align: center; margin: 0; letter-spacing: .01em;
}
.ast-primary-header-bar .site-primary-header-wrap { padding-left: clamp(20px, 4vw, 56px); padding-right: clamp(20px, 4vw, 56px); }
.ast-site-title-wrap { display: none !important; }
.main-header-menu .menu-link, .ast-builder-menu-1 .menu-item > .menu-link { color: #1A1D20 !important; font-weight: 500; font-size: 15px; white-space: nowrap; }
.main-header-menu .menu-item:hover > .menu-link,
.main-header-menu .current-menu-item > .menu-link,
.ast-builder-menu-1 .menu-item:hover > .menu-link { color: #3A6B58 !important; }
.main-header-menu .sub-menu { border-top: 2px solid #3A6B58; border-radius: 0 0 10px 10px; box-shadow: 0 10px 30px rgba(26,29,32,.08); }
.ast-header-account-wrap a, .ast-header-search a, .ast-site-header-cart a { color: #1A1D20 !important; }
.ast-site-header-cart .count, .ast-cart-menu-wrap .count { color: #1A1D20; }

/* Logo */
.pp-logo { display: inline-flex !important; align-items: center; gap: 10px; text-decoration: none !important; }
.pp-logo-text { font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 24px; line-height: 1; letter-spacing: -.02em; color: #1A1D20; white-space: nowrap; }
.pp-logo-text span { color: #3A6B58; margin-left: 5px; }
@media (max-width: 544px) { .pp-logo-text { font-size: 19px; } .pp-logo-icon { width: 30px; height: 30px; } }

/* ---------- Buttons ---------- */
.elementor-button, .elementor-button:hover, .elementor-button:focus { text-decoration: none !important; }
.pp-btn .elementor-button {
  border-radius: 999px !important; padding: 15px 32px !important; font-weight: 500; font-size: 15px;
  line-height: 1.2; white-space: nowrap; transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}
.pp-btn .elementor-button:hover { transform: translateY(-1px); }
.pp-btn-solid .elementor-button { background: #3A6B58 !important; color: #FFFFFF !important; border: 2px solid #3A6B58; }
.pp-btn-solid .elementor-button:hover { background: #2F5646 !important; border-color: #2F5646; color: #FFFFFF !important; }
.pp-btn-outline .elementor-button { background: transparent !important; color: #3A6B58 !important; border: 2px solid #3A6B58; }
.pp-btn-outline .elementor-button:hover { background: #3A6B58 !important; color: #FFFFFF !important; }
.pp-btn-light .elementor-button { background: #FFFFFF !important; color: #1A1D20 !important; border: 2px solid #FFFFFF; }
.pp-btn-light .elementor-button:hover { background: #E5E7EB !important; border-color: #E5E7EB; color: #1A1D20 !important; }
.pp-btn-ghost .elementor-button { background: transparent !important; color: #FFFFFF !important; border: 2px solid rgba(255,255,255,.65); }
.pp-btn-ghost .elementor-button:hover { background: rgba(255,255,255,.12) !important; border-color: #FFFFFF; }
.pp-btn-link .elementor-button { background: none !important; padding: 0 !important; color: #3A6B58 !important; font-weight: 600; font-size: 15px; border: 0; }
.pp-btn-link .elementor-button:hover { color: #2F5646 !important; }

/* ---------- Sections: responsive side padding ---------- */
.e-con.pp-sec { padding: clamp(56px, 8vw, 96px) clamp(24px, 6vw, 80px) !important; }
.e-con.pp-sec-tight { padding-top: 40px !important; padding-bottom: 40px !important; }
.e-con.pp-bg-white { background: #FFFFFF !important; }
.e-con.pp-bg-gray { background: #F8F9FA !important; }
.e-con.pp-bg-dark { background: #1A1D20 !important; }
.e-con.pp-hero { background: linear-gradient(180deg, #FFFFFF 0%, #EAF1ED 100%) !important; text-align: center; }
.e-con.pp-bordered { border-top: 1px solid #E5E7EB; border-bottom: 1px solid #E5E7EB; }
.pp-center, .pp-center p, .pp-center .elementor-heading-title { text-align: center; }

/* ---------- Typography ---------- */
.pp-eyebrow p { color: #3A6B58 !important; font-weight: 600; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin: 0; }
.pp-h1 .elementor-heading-title { font-family: 'Outfit', sans-serif !important; font-weight: 600 !important; font-size: clamp(34px, 5.2vw, 60px) !important; line-height: 1.1 !important; letter-spacing: -.02em; color: #1A1D20 !important; }
.pp-h2 .elementor-heading-title { font-family: 'Outfit', sans-serif !important; font-weight: 600 !important; font-size: clamp(28px, 3.4vw, 38px) !important; line-height: 1.2 !important; letter-spacing: -.01em; color: #1A1D20 !important; }
.pp-h3 .elementor-heading-title { font-family: 'Outfit', sans-serif !important; font-weight: 600 !important; font-size: 20px !important; line-height: 1.3 !important; color: #1A1D20 !important; }
.pp-lead, .pp-lead p { font-size: clamp(16px, 1.6vw, 19px); line-height: 1.7; color: #2B2D42 !important; }
.pp-muted, .pp-muted p { font-size: 15px; line-height: 1.75; color: #4B5563 !important; margin-bottom: 0; }
.pp-hero .pp-lead { max-width: 700px; margin-left: auto; margin-right: auto; }
.pp-narrow { max-width: 680px; margin-left: auto; margin-right: auto; }
.pp-on-dark .elementor-heading-title { color: #FFFFFF !important; }
.pp-on-dark.pp-muted, .pp-on-dark.pp-muted p { color: rgba(255,255,255,.85) !important; }

/* Hero stats */
.pp-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; max-width: 900px; margin: 12px auto 0; }
.pp-stats div { background: #FFFFFF; border: 1px solid #E5E7EB; border-radius: 14px; padding: 16px 12px; text-align: center; }
.pp-stats strong { display: block; font-family: 'Outfit', sans-serif; font-size: 22px; font-weight: 600; color: #3A6B58; line-height: 1.2; }
.pp-stats span { display: block; font-size: 13px; color: #4B5563; margin-top: 4px; }

/* ---------- Grids and cards ---------- */
.e-con.pp-grid { display: grid !important; gap: 24px; width: 100%; }
.e-con.pp-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.e-con.pp-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.e-con.pp-split { display: grid !important; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 72px); align-items: center; width: 100%; }
.pp-grid > .e-con, .pp-split > .e-con { width: auto !important; min-width: 0; }
.e-con.pp-card { background: #FFFFFF; border: 1px solid #E5E7EB; border-radius: 16px; padding: 28px !important; transition: box-shadow .25s ease, transform .25s ease; }
.e-con.pp-card:hover { box-shadow: 0 10px 32px rgba(26,29,32,.08); transform: translateY(-2px); }
.e-con.pp-card-gray { background: #F8F9FA; }
.pp-ico .elementor-icon { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: #E3EDE8; color: #3A6B58 !important; font-size: 24px; }
.pp-ico .elementor-icon i { color: #3A6B58 !important; }
.pp-ico .elementor-icon svg { width: 24px; height: 24px; fill: #3A6B58 !important; }
.pp-stepnum .elementor-heading-title { font-family: 'Outfit', sans-serif !important; font-size: 40px !important; font-weight: 600 !important; color: #3A6B58 !important; line-height: 1 !important; }
.pp-check .elementor-icon-list-text { color: #2B2D42 !important; font-size: 16px; }
.pp-check .elementor-icon-list-icon i { color: #3A6B58 !important; }
.pp-check .elementor-icon-list-icon svg { fill: #3A6B58 !important; }

/* ---------- FAQ accordion ---------- */
.pp-faq .elementor-accordion-item { border: 1px solid #E5E7EB !important; border-radius: 12px; margin-bottom: 12px; overflow: hidden; }
.pp-faq .elementor-tab-title { background: #F8F9FA; padding: 18px 22px; transition: background-color .2s ease; }
.pp-faq .elementor-tab-title a { color: #1A1D20 !important; font-weight: 500; font-size: 16px; }
.pp-faq .elementor-tab-title.elementor-active a { color: #3A6B58 !important; }
.pp-faq .elementor-accordion-icon, .pp-faq .elementor-accordion-icon i, .pp-faq .elementor-accordion-icon svg { color: #3A6B58 !important; fill: #3A6B58 !important; }
.pp-faq .elementor-tab-content { color: #2B2D42 !important; font-size: 15px; line-height: 1.8; padding: 18px 22px; border-top: 1px solid #E5E7EB !important; }

.pp-disclaimer { font-size: 13px; line-height: 1.7; color: #4B5563; text-align: center; max-width: 760px; margin: 0 auto; }

/* ---------- WooCommerce product cards ---------- */
.pp-products ul.products { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 0 !important; padding: 0; }
.pp-products ul.products::before, .pp-products ul.products::after { display: none !important; }
.woocommerce ul.products li.product, .pp-products ul.products li.product {
  background: #F8F9FA; border: 1px solid #E5E7EB; border-radius: 16px; padding: 16px !important;
  transition: box-shadow .25s ease, transform .25s ease; display: flex; flex-direction: column;
  width: auto !important; margin: 0 !important; float: none !important;
}
.woocommerce ul.products li.product:hover { box-shadow: 0 10px 32px rgba(26,29,32,.08); transform: translateY(-2px); }
.woocommerce ul.products li.product img { border-radius: 10px; background: #FFFFFF; width: 100%; height: auto; margin-bottom: 12px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-family: 'Outfit', sans-serif; font-weight: 500; font-size: 15px !important; line-height: 1.35; color: #1A1D20 !important; padding: 0 !important; }
.woocommerce ul.products li.product .price { color: #2F5646 !important; font-weight: 600; font-size: 16px; }
.woocommerce ul.products li.product .star-rating { color: #3A6B58; }
.woocommerce ul.products li.product .button, .woocommerce ul.products li.product .add_to_cart_button {
  margin-top: auto; background: #3A6B58 !important; color: #FFFFFF !important; border-radius: 999px !important;
  font-weight: 500; font-size: 14px; padding: 11px 20px !important; text-align: center; transition: background-color .25s ease;
}
.woocommerce ul.products li.product .button:hover { background: #2F5646 !important; color: #FFFFFF !important; }

/* Single product */
.woocommerce div.product .price { color: #1A1D20; font-size: 28px; font-weight: 600; }
.woocommerce div.product .single_add_to_cart_button { background: #3A6B58 !important; color: #FFFFFF !important; border-radius: 999px !important; font-weight: 500; padding: 16px 32px; transition: background-color .25s ease; }
.woocommerce div.product .single_add_to_cart_button:hover { background: #2F5646 !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { border-radius: 0; border: none; border-bottom: 2px solid transparent; background: transparent; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { border-bottom-color: #3A6B58; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { color: #4B5563; font-weight: 500; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: #1A1D20; }

/* Mobile menu button and drawer */
#ast-mobile-header .menu-toggle, .ast-mobile-menu-buttons .menu-toggle { color: #1A1D20 !important; border: 2px solid #1A1D20 !important; border-radius: 10px; background: transparent !important; }
#ast-mobile-header .menu-toggle svg, .ast-mobile-menu-buttons .menu-toggle svg, .menu-toggle .ast-mobile-svg { fill: #1A1D20 !important; color: #1A1D20 !important; }
.ast-mobile-popup-drawer .ast-mobile-popup-inner { background: #FFFFFF !important; }
.ast-mobile-popup-drawer .main-header-menu .menu-link, .ast-mobile-popup-drawer .menu-link { color: #1A1D20 !important; font-weight: 500; font-size: 17px; }
.ast-mobile-popup-drawer .menu-item:hover > .menu-link, .ast-mobile-popup-drawer .current-menu-item > .menu-link { color: #3A6B58 !important; }
.ast-mobile-popup-drawer .menu-toggle-close, .ast-mobile-popup-drawer .menu-toggle-close svg { color: #1A1D20 !important; fill: #1A1D20 !important; }
.ast-mobile-popup-drawer .ast-mobile-popup-header { background: #FFFFFF; }

/* Polish */
.pp-products ul.products li.product .ast-woo-product-category, .pp-products ul.products li.product .ast-woo-product-category a { display: none !important; }
.woocommerce ul.products li.product .ast-woo-product-category { color: #4B5563 !important; }
.woocommerce span.onsale { background: #3A6B58 !important; color: #FFFFFF !important; }
.e-con.pp-card { display: flex; }
.e-con.pp-card > .elementor-widget-button:last-child { margin-top: auto; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .e-con.pp-grid-4, .e-con.pp-grid-3, .pp-products ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .e-con.pp-split { grid-template-columns: 1fr; }
  .pp-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .e-con.pp-grid-4, .e-con.pp-grid-3 { grid-template-columns: 1fr; }
  .pp-products ul.products { gap: 14px; }
  .woocommerce ul.products li.product { padding: 12px !important; }
  .pp-btn .elementor-button { padding: 14px 26px !important; }
  .woocommerce div.product form.cart { position: sticky; bottom: 0; background: #FFFFFF; padding: 14px 20px; box-shadow: 0 -2px 12px rgba(0,0,0,.08); z-index: 99; border-top: 1px solid #E5E7EB; }
}
