/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
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
*/

/* =========================================================
   SIMPLY PLEASURE CUSTOM FOOTER
   ========================================================= */

.sp-site-footer {
  --spf-bg: #080608;
  --spf-surface: #120d11;
  --spf-surface-2: #1b1017;
  --spf-text: #ffffff;
  --spf-muted: #aaa1a7;
  --spf-line: rgba(255, 255, 255, 0.1);
  --spf-pink: #d71e72;
  --spf-pink-dark: #8f0d48;
  --spf-pink-soft: rgba(215, 30, 114, 0.13);
  --spf-radius: 26px;

  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 10%, rgba(192, 22, 91, 0.16), transparent 28%),
    radial-gradient(circle at 90% 70%, rgba(105, 46, 195, 0.12), transparent 30%),
    var(--spf-bg);
  color: var(--spf-text);
}

.sp-site-footer,
.sp-site-footer *,
.sp-site-footer *::before,
.sp-site-footer *::after {
  box-sizing: border-box;
}

.sp-site-footer a {
  color: inherit;
  text-decoration: none;
}

.sp-footer-shell {
  position: relative;
  z-index: 2;
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: 80px 0 26px;
}

.sp-footer-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(10px);
}

.sp-footer-glow--one {
  top: -160px;
  left: -120px;
  width: 420px;
  height: 420px;
  background: rgba(209, 25, 103, 0.12);
}

.sp-footer-glow--two {
  right: -160px;
  bottom: -190px;
  width: 440px;
  height: 440px;
  background: rgba(93, 43, 180, 0.1);
}

/* CTA */

.sp-footer-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 48px;
  margin-bottom: 72px;
  padding: 46px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 30px;
  background:
    radial-gradient(circle at 84% 35%, rgba(255, 255, 255, 0.11), transparent 24%),
    linear-gradient(135deg, #3b071e, #9d0d4d 56%, #c91e69);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.28);
}

.sp-footer-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #f4a2c7;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.sp-footer-eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
}

.sp-footer-cta h2 {
  max-width: 760px;
  margin: 14px 0 0;
  color: #fff;
  font-size: clamp(32px, 4.5vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.sp-footer-cta p {
  max-width: 680px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  line-height: 1.7;
}

.sp-footer-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}

.sp-footer-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease;
}

.sp-footer-button:hover {
  transform: translateY(-2px);
}

.sp-footer-button svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sp-footer-button--primary {
  background: #fff;
  color: #3b071e !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.sp-footer-button--ghost {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.06);
  color: #fff !important;
}

/* Main footer */

.sp-footer-main {
  display: grid;
  grid-template-columns: minmax(260px, 1.55fr) repeat(3, minmax(150px, 0.7fr));
  gap: 48px;
  padding-bottom: 52px;
}

.sp-footer-brand {
  max-width: 390px;
}

.sp-footer-logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 22px;
}

.sp-footer-logo img {
  display: block;
  width: auto;
  max-width: 230px;
  max-height: 130px;
  object-fit: contain;
}

.sp-footer-logo__fallback {
  color: #fff;
  font-family: Georgia, serif;
  font-size: 28px;
  line-height: 1;
}

.sp-footer-logo__fallback small {
  display: block;
  margin-top: 6px;
  color: var(--spf-muted);
  font-family: inherit;
  font-size: 13px;
}

.sp-footer-brand > p {
  margin: 0;
  color: var(--spf-muted);
  font-size: 14px;
  line-height: 1.75;
}

.sp-footer-badges {
  display: grid;
  gap: 11px;
  margin-top: 26px;
}

.sp-footer-badges span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #d0c8cd;
  font-size: 12px;
  line-height: 1.4;
}

.sp-footer-badges svg {
  width: 31px;
  height: 31px;
  flex: 0 0 auto;
  padding: 7px;
  border-radius: 9px;
  background: var(--spf-pink-soft);
  color: #ef5a9d;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sp-footer-column h3 {
  position: relative;
  margin: 0 0 22px;
  padding-bottom: 14px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.sp-footer-column h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 2px;
  border-radius: 99px;
  background: var(--spf-pink);
}

.sp-footer-links {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sp-footer-links li {
  margin: 0;
}

.sp-footer-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: var(--spf-muted);
  font-size: 13px;
  line-height: 1.45;
  transition:
    color 0.18s ease,
    transform 0.18s ease;
}

.sp-footer-links a::before {
  content: "";
  width: 0;
  height: 1px;
  margin-right: 0;
  background: var(--spf-pink);
  transition:
    width 0.18s ease,
    margin-right 0.18s ease;
}

.sp-footer-links a:hover {
  color: #fff;
  transform: translateX(2px);
}

.sp-footer-links a:hover::before {
  width: 14px;
  margin-right: 7px;
}

/* Payment row */

.sp-footer-payments {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
  border-top: 1px solid var(--spf-line);
  border-bottom: 1px solid var(--spf-line);
}

.sp-footer-payments__label {
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.sp-footer-payments__items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sp-footer-payments__items span {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 11px;
  border: 1px solid var(--spf-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: #ddd5da;
  font-size: 10px;
  font-weight: 800;
}

.sp-footer-payments__notice {
  color: var(--spf-muted);
  font-size: 11px;
  text-align: right;
}

/* Bottom row */

.sp-footer-bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding-top: 25px;
}

.sp-footer-bottom p {
  margin: 0;
  color: var(--spf-muted);
  font-size: 11px;
  line-height: 1.5;
}

.sp-footer-bottom__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.sp-footer-bottom__links a {
  color: var(--spf-muted);
  font-size: 11px;
  font-weight: 600;
}

.sp-footer-bottom__links a:hover,
.sp-footer-credit a:hover {
  color: #fff;
}

.sp-footer-credit {
  text-align: right;
}

.sp-footer-credit a {
  color: #ddd5da;
  font-weight: 700;
}

/* Remove Astra's legacy footer if still rendered */

.site-primary-footer-wrap,
.site-below-footer-wrap,
.ast-small-footer,
.ast-footer-overlay {
  display: none !important;
}

/* Responsive */

@media (max-width: 980px) {
  .sp-footer-cta {
    grid-template-columns: 1fr;
  }

  .sp-footer-main {
    grid-template-columns: 1.4fr repeat(2, 1fr);
  }

  .sp-footer-column:last-child {
    grid-column: 2 / 4;
  }

  .sp-footer-payments {
    grid-template-columns: auto 1fr;
  }

  .sp-footer-payments__notice {
    grid-column: 1 / -1;
    text-align: left;
  }
}

@media (max-width: 720px) {
  .sp-footer-shell {
    width: min(100% - 30px, 1240px);
    padding-top: 50px;
  }

  .sp-footer-cta {
    gap: 30px;
    padding: 32px 24px;
    border-radius: 22px;
  }

  .sp-footer-cta__actions {
    flex-direction: column;
  }

  .sp-footer-button {
    width: 100%;
  }

  .sp-footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 38px 24px;
  }

  .sp-footer-brand {
    grid-column: 1 / -1;
    max-width: none;
  }

  .sp-footer-column:last-child {
    grid-column: auto;
  }

  .sp-footer-bottom {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .sp-footer-credit {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .sp-footer-main {
    grid-template-columns: 1fr;
  }

  .sp-footer-column:last-child,
  .sp-footer-brand {
    grid-column: auto;
  }

  .sp-footer-payments {
    grid-template-columns: 1fr;
  }

  .sp-footer-payments__notice {
    grid-column: auto;
  }

  .sp-footer-logo img {
    max-width: 190px;
  }
}

/* =========================================================
   GLOBAL HEADER CART
   ========================================================= */

.sp-global-cart[hidden] {
  display: none !important;
}

.sp-global-cart {
  position: relative;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  align-items: center;
  justify-content: center;
  margin-left: 10px;
  padding: 0 !important;
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: #fff !important;
  text-decoration: none !important;
  line-height: 1;
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.sp-global-cart.is-visible {
  display: inline-flex !important;
}

.sp-global-cart:hover,
.sp-global-cart:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(211, 30, 111, 0.70);
  background: rgba(179, 18, 89, 0.18);
  color: #fff !important;
  box-shadow: 0 9px 22px rgba(179, 18, 89, 0.18);
}

.sp-global-cart:focus-visible {
  outline: 2px solid #d31e70;
  outline-offset: 3px;
}

.sp-global-cart__icon {
  width: 21px;
  height: 21px;
  display: block;
  pointer-events: none;
}

.sp-global-cart__icon svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sp-global-cart__count {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 21px;
  height: 21px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  border: 2px solid #080608;
  border-radius: 999px;
  background: #d31e70;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 5px 14px rgba(179, 18, 89, 0.34);
  pointer-events: none;
}

/* Keep Astra desktop header controls aligned when the cart is injected. */
#ast-desktop-header .site-header-primary-section-right,
.site-primary-header-wrap .site-header-primary-section-right {
  align-items: center;
}


/* =========================================================
   GLOBAL FLOATING WHATSAPP
   ========================================================= */

.sp-whatsapp-float {
  position: fixed;
  z-index: 99990;
  right: 24px;
  bottom: 24px;
  min-height: 58px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 7px 19px 7px 7px;
  border: 0;
  border-radius: 999px;
  background: #25d366;
  color: #fff !important;
  text-decoration: none !important;
  box-shadow:
    0 16px 38px rgba(0, 0, 0, 0.23),
    0 7px 18px rgba(37, 211, 102, 0.25);
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.sp-whatsapp-float:hover,
.sp-whatsapp-float:focus-visible {
  transform: translateY(-4px);
  background: #20bd5a;
  color: #fff !important;
  box-shadow:
    0 21px 45px rgba(0, 0, 0, 0.27),
    0 10px 25px rgba(37, 211, 102, 0.32);
}

.sp-whatsapp-float:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.sp-whatsapp-float__icon {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.sp-whatsapp-float__icon svg {
  width: 27px;
  height: 27px;
  display: block;
  fill: currentColor;
}

.sp-whatsapp-float__label {
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}


/* =========================================================
   SINGLE PRODUCT STICKY CART COMPENSATION
   ========================================================= */

/*
 * Single product pages have a sticky add-to-cart bar that rises from the
 * bottom. Keep WhatsApp above it instead of allowing the controls to overlap.
 */
body.single-product .sp-whatsapp-float {
  bottom: 108px;
}

/* Keep WhatsApp clear of cart / checkout actions on smaller screens. */
body.woocommerce-cart .sp-whatsapp-float,
body.woocommerce-checkout .sp-whatsapp-float {
  bottom: 88px;
}


/* =========================================================
   ASTRA MOBILE HEADER + CART
   Astra switches header layouts at approximately 921px.
   ========================================================= */

@media (max-width: 921px) {
  #ast-mobile-header .site-header-primary-section-right,
  .ast-mobile-header-wrap .site-header-primary-section-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
  }

  .sp-global-cart {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    margin: 0 7px 0 0 !important;
    padding: 0 !important;
    border-color: rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.07);
  }

  .sp-global-cart.is-visible {
    display: inline-flex !important;
  }

  .sp-global-cart__icon {
    width: 20px;
    height: 20px;
  }

  .sp-global-cart__count {
    top: -5px;
    right: -5px;
    min-width: 19px;
    height: 19px;
    padding: 0 4px;
    font-size: 9px;
  }

  .sp-whatsapp-float {
    right: 15px;
    bottom: 15px;
    width: 58px;
    height: 58px;
    min-height: 58px;
    padding: 7px;
    justify-content: center;
    border-radius: 50%;
  }

  .sp-whatsapp-float__icon {
    width: 44px;
    height: 44px;
  }

  .sp-whatsapp-float__label {
    display: none;
  }

  body.single-product .sp-whatsapp-float {
    bottom: 96px;
  }

  body.woocommerce-cart .sp-whatsapp-float,
  body.woocommerce-checkout .sp-whatsapp-float {
    bottom: 82px;
  }
}


/* =========================================================
   VERY SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {
  .sp-global-cart {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
    margin-right: 5px !important;
  }

  .sp-global-cart__icon {
    width: 19px;
    height: 19px;
  }

  .sp-whatsapp-float {
    right: 12px;
  }
}