/* =========================================================================
   JustForPetStore child-theme — modular custom styles
   Extracted from functions.php (new-arrivals shortcode + subscribe popup).
   Enqueued globally via inc/assets.php.
   ========================================================================= */

/* --- New Arrivals (last 15 days) shortcode --- */
.new-arrivals-wrapper { margin: 20px 0; }
.date-group { margin-bottom: 50px; }
.date-title { font-size: 24px; margin-bottom: 15px; }

.product-item {
    border: 1px solid #eee;
    padding: 10px;
    text-align: center;
    background: #fff;
    transition: box-shadow 0.3s ease;
}
.product-item:hover { box-shadow: 0 2px 8px rgba(0,0,0,0.15); }
.product-item img { max-width: 100%; margin-bottom: 10px; }
.product-item h3 { font-size: 16px; margin: 0 0 8px; }
.product-item .price { font-weight: bold; color: #e74c3c; }

.swiper-button-prev, .swiper-button-next {
    background: rgba(255,255,255,0.8);
    border-radius: 50%;
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.swiper-button-prev:hover, .swiper-button-next:hover {
    background: #fff;
}

/* --- Subscribe Popup --- */
/* Popup Background */
#petbw-popup {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    justify-content: center;
    align-items: center;
    padding: 15px;
}
/* Popup Container */
#petbw-popup .popup-content {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    max-width: 420px;
    width: 100%;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    text-align: center;
    animation: fadeInUp 0.4s ease;
    position: relative;
}
#petbw-popup h2 {
    font-size: 20px;
    margin-bottom: 12px;
    color: #333;
}
#petbw-popup p {
    font-size: 15px;
    margin: 6px 0;
    color: #555;
}
#petbw-popup .coupon-box {
    border: 2px dashed #ff9800;
    padding: 16px;
    margin: 15px 0;
    border-radius: 12px;
    background: #fff7e6;
}
#petbw-popup input[type="email"] {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 14px;
}
#petbw-popup button {
    width: 100%;
    padding: 12px;
    background: #ff9800;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    color: #fff;
    cursor: pointer;
    transition: background 0.3s;
}
#petbw-popup button:hover {
    background: #e68900;
}
#petbw-popup .close-btn {
    position: absolute;
    top: 12px; right: 18px;
    font-size: 24px;
    cursor: pointer;
    color: #888;
}
@keyframes fadeInUp {
    from {transform: translateY(40px); opacity:0;}
    to {transform: translateY(0); opacity:1;}
}

/* =====================================================================
   JustForPetStore — Homepage SEO long-tail content block
   Clean B2B card layout matching the blocksy blue/amber brand palette.
   ===================================================================== */

.jfps-seo-lt {
  background: #f8f4ee;
  border-top: 1px solid #e7ded0;
  padding: 72px 0 64px;
  margin-top: 48px;
}

.jfps-seo-lt__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.jfps-seo-lt__head {
  text-align: center;
  margin-bottom: 40px;
}

.jfps-seo-lt__eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #c1762f;
  margin-bottom: 12px;
}

.jfps-seo-lt__head h2 {
  font-size: 32px;
  color: #123f36;
  margin-bottom: 14px;
  line-height: 1.25;
}

.jfps-seo-lt__head p {
  font-size: 17px;
  color: #4a534c;
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.65;
}

.jfps-seo-lt__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.jfps-seo-lt__card {
  background: #fff;
  border: 1px solid #e7ded0;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 4px 12px rgba(18, 63, 54, .04);
  transition: transform .25s ease, box-shadow .25s ease;
}

.jfps-seo-lt__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(18, 63, 54, .08);
}

.jfps-seo-lt__card h3 {
  font-size: 20px;
  color: #123f36;
  margin-bottom: 10px;
  line-height: 1.3;
}

.jfps-seo-lt__card p {
  font-size: 15px;
  color: #4a534c;
  line-height: 1.6;
  margin: 0;
}

.jfps-seo-lt__body h2 {
  font-size: 26px;
  color: #123f36;
  margin-top: 40px;
  margin-bottom: 14px;
}

.jfps-seo-lt__body h2:first-child {
  margin-top: 0;
}

.jfps-seo-lt__body p {
  font-size: 16px;
  color: #4a534c;
  line-height: 1.65;
  margin-bottom: 16px;
}

.jfps-seo-lt__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 28px;
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.jfps-seo-lt__list li {
  position: relative;
  padding-left: 24px;
  font-size: 15px;
  color: #4a534c;
  line-height: 1.5;
}

.jfps-seo-lt__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c1762f;
}

.jfps-seo-lt a {
  color: #c1762f;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .2s ease;
}

.jfps-seo-lt a:hover {
  color: #a35f1f;
}

@media (max-width: 768px) {
  .jfps-seo-lt {
    padding: 48px 0 40px;
  }

  .jfps-seo-lt__head h2 {
    font-size: 26px;
  }

  .jfps-seo-lt__grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 36px;
  }

  .jfps-seo-lt__card {
    padding: 22px;
  }

  .jfps-seo-lt__body h2 {
    font-size: 22px;
  }

  .jfps-seo-lt__list {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}
