/* ===================================
   HOME PAGE STYLES
   Stamp and Bake - Homepage Styling
   =================================== */

/* ===================================
   HOME HERO - single static band
   -----------------------------------
   One message, one image, two calls to action. This replaced a
   three-slide Bootstrap carousel: the slides split the pitch across
   a rotation most visitors never watched, and the auto-advance kept
   moving the headline and buttons. The removed slides' claims now sit
   as trust points under the buttons.
   =================================== */

.home-hero {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  margin-top: -2rem;
  /* No bottom margin. The hero is a full-bleed dark band and the section
     under it has 80px of its own top padding, so 2rem of body white in
     between read as a seam across the page rather than as spacing. */
  margin-bottom: 0;
  padding: 4.5rem 0 5rem;
  background:
    radial-gradient(60rem 32rem at 85% 0%, rgba(232, 130, 159, 0.16), transparent 60%),
    radial-gradient(44rem 26rem at 0% 100%, rgba(232, 130, 159, 0.1), transparent 60%),
    linear-gradient(135deg, #4a2231 0%, #5e3040 55%, #46202e 100%);
  overflow: hidden;
}

/* Faint horizontal grain carried over from the old slide pattern - it
   keeps the large flat plum areas from banding on big screens. */
.home-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg,
      transparent,
      transparent 2px,
      rgba(201, 58, 99, 0.02) 2px,
      rgba(201, 58, 99, 0.02) 4px);
  pointer-events: none;
}

.home-hero .container {
  position: relative;
  z-index: 2;
}

/* Eyebrow pill above the heading */
.home-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(232, 130, 159, 0.14);
  border: 1px solid rgba(232, 130, 159, 0.45);
  color: #f6c3d2;
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-pill, 999px);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  margin-bottom: 1.5rem;
}

.home-hero-eyebrow i {
  color: #e8829f;
}

/* Title - Fraunces comes from brand-typography.css via .jp-title-line */
.home-hero .jp-title {
  font-size: clamp(2.5rem, 5.5vw, 4.75rem);
  font-weight: 900;
  line-height: 1.05;
  margin: 0;
}

.home-hero .jp-title-line {
  display: block;
  color: #fff;
  letter-spacing: -2px;
}

.home-hero .jp-title-line.accent {
  color: #e8829f;
}

.home-hero .jp-description {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.8;
  max-width: 500px;
}

/* CTA buttons */
.home-hero .jp-cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.home-hero .jp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 2rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-radius: var(--radius-pill, 999px);
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease,
    background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

/* Deep plum label on the pink fill - the same pairing brand-colour.css
   enforces on every other pink button (white here is only ~2.6:1). The
   colour is restated because .home-hero .jp-btn-primary outranks that
   file's bare .jp-btn-primary despite loading first. */
.home-hero .jp-btn-primary {
  background: #e8829f;
  color: var(--brand-plum-ink, #4a2231);
  box-shadow: 0 12px 30px rgba(232, 130, 159, 0.35);
}

.home-hero .jp-btn-primary:hover {
  background: #f09ab2;
  color: var(--brand-plum-ink, #4a2231);
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(232, 130, 159, 0.45);
}

.home-hero .jp-btn-secondary {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.65);
}

.home-hero .jp-btn-secondary:hover {
  background: #fff;
  color: var(--brand-plum, #5e3040);
  border-color: #fff;
  transform: translateY(-2px);
}

/* Image panel - an offset blush slab behind the photo, instead of the
   old triple-ring box-shadow frame */
.home-hero-media {
  position: relative;
  max-width: 620px;
  margin: 0 auto;
}

.home-hero-media::before {
  content: '';
  position: absolute;
  inset: 0;
  transform: translate(16px, 16px);
  background: rgba(232, 130, 159, 0.35);
  border-radius: var(--radius-lg, 26px);
}

.home-hero-media img {
  position: relative;
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg, 26px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
}

/* Hero responsive */
@media (max-width: 991px) {
  .home-hero {
    margin-top: 0;
    padding: 2.75rem 0 3.25rem;
    text-align: center;
  }

  .home-hero-eyebrow {
    margin-bottom: 1.25rem;
  }

  .home-hero .jp-title-line {
    letter-spacing: -1px;
  }

  .home-hero .jp-description {
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1rem;
    line-height: 1.6;
  }

  .home-hero .jp-cta-group {
    justify-content: center;
  }

  .home-hero-media {
    max-width: 480px;
  }

  .home-hero-media::before {
    transform: translate(10px, 10px);
  }
}

@media (max-width: 576px) {
  .home-hero {
    padding: 2.25rem 0 2.75rem;
  }

  .home-hero .jp-btn {
    flex: 1 1 100%;
    padding: 0.85rem 1.5rem;
    font-size: 0.9rem;
  }
}

/* Featured Products Section */
.featured-products-section {
  background: linear-gradient(180deg, #f8f9fa 0%, #fff 100%);
  padding-top: 5rem !important;
  padding-bottom: 5rem !important;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  position: relative;
}

/* 5 Column Grid Layout */
@media (min-width: 992px) {
  .col-lg-2-4 {
    flex: 0 0 auto;
    width: 20%;
  }}

@media (min-width: 768px) and (max-width: 991px) {
  .col-md-4 {
    flex: 0 0 auto;
    width: 33.333333%;
  }}

@media (max-width: 767px) {
  .col-6 {
    flex: 0 0 auto;
    width: 50%;
  }}

/* Featured Badge Styling */
.featured-badge-wrapper {
  display: inline-block;
  /* animation: float 3s ease-in-out infinite; */
  /* REMOVED: Distracting on mobile */
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }}

.featured-badge {
  background: linear-gradient(135deg, #5e3040 0%, #78485a 100%);
  color: #fff;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 2px solid #e8829f;
  position: relative;
  overflow: hidden;
}

.featured-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(201, 58, 99, 0.3), transparent);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% {
    left: -100%;
  }

  100% {
    left: 100%;
  }}

/* Featured Title Styling */
.featured-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.featured-title-top {
  font-size: 1.2rem;
  font-weight: 600;
  color: #e8829f;
  text-transform: none;
  letter-spacing: 3px;
  position: relative;
  display: inline-block;
}

.featured-title-top::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #e8829f, transparent);
}

.featured-title-main {
  font-size: 4rem;
  font-weight: 900;
  color: #5e3040;
  line-height: 1;
  text-transform: none;
  letter-spacing: -2px;
  position: relative;
  background: linear-gradient(135deg, #5e3040 0%, #78485a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Featured Subtitle */
.featured-subtitle {
  font-size: 1.15rem;
  color: #666;
  max-width: 650px;
  margin: 0 auto;
  font-weight: 500;
  line-height: 1.6;
}

/* Product Card */
.product-card {
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
}

.product-card .product-ribbon {
  background: linear-gradient(135deg, #e8829f 0%, #d76b8c 100%);
  padding: 0.4rem 0.8rem;
  border-radius: 50px;
  font-size: 0.75rem;
  box-shadow: 0 2px 10px rgba(201, 58, 99, 0.3);
}

/* The frame itself is products.css's - both stylesheets load on every page
   that shows a card, and these higher-specificity copies were quietly winning
   with a different height. Only the tint is set here. */
.product-card .product-image-wrapper {
  background: #f8f9fa;
}

.product-card:hover .product-image {
  transform: scale(1.1);
}

.product-card .product-overlay {
  background: rgba(0, 0, 0, 0.7);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
  opacity: 1 !important;
}

.product-card .product-overlay .btn {
  border-radius: 50px;
  padding: 0.5rem 1.5rem;
}

.product-card .card-body {
  padding: 1.25rem;
}

.product-card .card-title {
  color: #5e3040;
  font-size: 1rem;
  line-height: 1.4;
  height: 2.8em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.product-card .card-text.price {
  /* light rose on white is only 2.58:1 - use the deeper rose */
  color: var(--brand-pink-deep);
  font-size: 1.3rem;
}

.product-card .btn-dark {
  border-radius: 50px;
  padding: 0.65rem;
  transition: all 0.3s ease;
  font-weight: 600;
}

.product-card .btn-dark:hover {
  background: #e8829f !important;
  border-color: #e8829f !important;
  transform: scale(1.02);
}

/* View All Button */
.view-all-btn {
  border-radius: 50px;
  padding: 0.75rem 3rem;
  border-width: 2px;
  transition: all 0.3s ease;
}

/* ===================================
   NEW ARRIVALS SECTION - Horizontal Scroll
   =================================== */

.new-arrivals-section {
  background: #fff;
  padding-top: 5rem !important;
  padding-bottom: 5rem !important;
}

/* Arrivals Header */
.arrivals-badge {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, #e8829f 0%, #d76b8c 100%);
  color: #fff;
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: none;
  box-shadow: 0 4px 15px rgba(201, 58, 99, 0.4);
  animation: pulse 2s ease-in-out infinite;
  margin-bottom: 1rem;
}

.arrivals-title {
  font-size: 4rem;
  font-weight: 900;
  color: #5e3040;
  line-height: 1.1;
  margin: 0;
  letter-spacing: -2px;
  text-transform: none;
  background: linear-gradient(135deg, #5e3040 0%, #333 50%, #5e3040 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.arrivals-subtitle {
  font-size: 1.2rem;
  color: #666;
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.5px;
  margin-top: 0.5rem;
}

.arrivals-view-all {
  border-radius: 50px;
  padding: 0.75rem 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.arrivals-view-all:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* ===================================
   THEME & OCCASION SECTION
   =================================== */

/* Responsive Design */
@media (max-width: 768px) {
  .product-card:hover {
    transform: translateY(-5px);
  }}

/* ===================================
   SHOP BY THEME & OCCASION SECTION
   =================================== */

.theme-section {
  background: #fff;
  padding-top: 5rem !important;
  padding-bottom: 5rem !important;
}

/* Series Header */
.series-badge {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, #5e3040 0%, #333 100%);
  color: #fff;
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.series-title {
  font-size: 3.5rem;
  font-weight: 900;
  color: #5e3040;
  line-height: 1.2;
  letter-spacing: -1px;
}

.series-subtitle {
  font-size: 1.2rem;
  color: #666;
  font-weight: 400;
}

/* Theme Cards */
.theme-card {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  background: #fff;
  height: 100%;
}

.theme-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.theme-card-image {
  position: relative;
  overflow: hidden;
  height: 300px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.theme-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.theme-card:hover .theme-card-image img {
  transform: scale(1.1);
}

.theme-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.theme-card:hover .theme-card-overlay {
  opacity: 1;
}

.theme-card-overlay .btn {
  border-radius: 50px;
  padding: 0.75rem 2rem;
  font-weight: 700;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.theme-card:hover .theme-card-overlay .btn {
  transform: translateY(0);
}

.theme-card-content {
  padding: 1.5rem;
  text-align: center;
}

.theme-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #5e3040;
  margin-bottom: 0.5rem;
}

/* Clamped here rather than cut with truncatewords:9 - the blurbs run 5 to
   13 words, so the filter chopped one-sentence lines a word from the end
   ("forgiving to …") and its spaced ellipsis wrapped onto a line alone. */
.theme-card-text {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* More Occasions Button */
.more-themes-btn {
  border-radius: 50px;
  padding: 1rem 2.5rem;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.more-themes-btn:hover {
  background: #e8829f;
  border-color: #e8829f;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(201, 58, 99, 0.3);
}

.more-themes-btn i {
  transition: transform 0.3s ease;
}

.more-themes-btn:hover i {
  transform: rotate(90deg);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .theme-section {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }

  .new-arrivals-section {
    padding-top: 2rem !important;
    padding-bottom: 3rem !important;
  }

  .series-title {
    font-size: 2.5rem;
  }

  .theme-card-image {
    height: 250px;
  }}

@media (max-width: 576px) {
  .series-title {
    font-size: 2rem;
  }

  .theme-card-image {
    height: 200px;
  }

  .more-themes-btn {
    padding: 0.85rem 2rem;
    font-size: 1rem;
  }}

/* ===================================
   MOBILE SECTION LAYOUT
   =================================== */

@media (max-width: 767px) {

  /* Bestsellers - Match Competitor Layout */
  body .featured-products-section {
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-bottom: 2rem !important;
  }

  body .featured-products-section .container-fluid {
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
    max-width: 100% !important;
  }

  body .featured-products-section .mx-auto {
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 100% !important;
  }

  body .featured-products-section .row.g-4 {
    margin-left: -0.25rem !important;
    margin-right: -0.25rem !important;
    row-gap: 0.75rem !important;
  }

  body .featured-products-section .col-6 {
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
    flex: 0 0 auto !important;
    width: 50% !important;
    max-width: 50% !important;
  }

  body .featured-products-section .product-card {
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
  }

  /* Height deliberately not set: the frame is a square that follows the
     column width, so it needs no per-breakpoint pixel value. */
  body .featured-products-section .product-image-wrapper {
    margin: 0 !important;
    padding: 0 !important;
    background: #f0f0f0 !important;
  }

  body .featured-products-section .card-body {
    padding: 0.5rem 0.6rem 0.6rem 0.6rem !important;
  }

  body .featured-products-section .card-title {
    font-size: 0.85rem !important;
    line-height: 1.25 !important;
    margin-bottom: 0.3rem !important;
    padding: 0 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    height: 2.125rem !important;
    max-height: 2.125rem !important;
    font-weight: 600 !important;
  }

  body .featured-products-section .text-warning,
  body .featured-products-section .text-muted {
    font-size: 0.75rem !important;
  }

  body .featured-products-section .card-text.price {
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    margin-bottom: 0 !important;
  }

  body .featured-products-section .product-price {
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    margin-bottom: 0.5rem !important;
    color: #e8829f !important;
  }

  body .featured-products-section .btn {
    font-size: 0.8rem !important;
    padding: 0.5rem 1rem !important;
    width: 100% !important;
    border-radius: 6px !important;
  }

  /* Hide Featured badge on mobile */
  .product-ribbon {
    display: none !important;
  }

  /* Hide quick view overlay on mobile */
  body .featured-products-section .product-overlay {
    display: none !important;
  }

  /* Theme cards - smaller text on mobile */
  .theme-card-title {
    font-size: 0.95rem !important;
    margin-bottom: 0.3rem !important;
  }

  .theme-card-text {
    font-size: 0.75rem !important;
  }

  .theme-card-content {
    padding: 0.6rem !important;
  }}

/* ===================================
   TABLET RESPONSIVE (768px - 991px)
   =================================== */

@media (min-width: 768px) and (max-width: 991px) {

  /* Bestsellers - 3 products per row on tablet - WIDER CARDS */
  body .featured-products-section .container-fluid {
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
  }

  body .featured-products-section .row.g-4 {
    margin-left: -0.25rem !important;
    margin-right: -0.25rem !important;
    row-gap: 0.75rem !important;
  }

  /* Maximum specificity to override Bootstrap col-md-4 */
  html body .featured-products-section .row.g-4>.col-6.col-md-4,
  html body .featured-products-section .row.g-4>div.col-6,
  html body .featured-products-section .row.g-4>div.col-md-4,
  html body .featured-products-section .row>.col-6,
  html body .featured-products-section .row>.col-md-4 {
    flex: 0 0 auto !important;
    width: 33.333333% !important;
    max-width: 33.333333% !important;
    min-width: 33.333333% !important;
    padding-left: 0.25rem !important;
    padding-right: 0.25rem !important;
  }

  body .featured-products-section .product-card {
    padding: 0 !important;
    margin: 0 !important;
  }

  body .featured-products-section .card-body {
    padding: 0.5rem !important;
  }

  /* Hide Featured badge on tablet */
  .product-ribbon {
    display: none !important;
  }

  /* Hide 10th product using dedicated class - MAXIMUM SPECIFICITY */
  html body div.tablet-hide-product,
  html body .tablet-hide-product,
  div.tablet-hide-product.col-6.col-md-4,
  .featured-products-section .tablet-hide-product,
  .row .tablet-hide-product {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    left: -99999px !important;
  }}

/* ===================================
   SMALL MOBILE RESPONSIVE (< 576px)
   =================================== */

@media (max-width: 576px) {

  /* Even more compact on small screens */
  body .featured-products-section .container-fluid {
    padding-left: 0.4rem !important;
    padding-right: 0.4rem !important;
  }

  body .featured-products-section .row.g-4 {
    margin-left: -0.2rem !important;
    margin-right: -0.2rem !important;
    row-gap: 0.6rem !important;
  }

  body .featured-products-section .col-6 {
    padding-left: 0.2rem !important;
    padding-right: 0.2rem !important;
  }

  body .featured-products-section .card-title {
    font-size: 0.8rem !important;
  }

  body .featured-products-section .product-price {
    font-size: 0.85rem !important;
  }

  /* Theme cards - even smaller on small screens */
  .theme-card-title {
    font-size: 0.9rem !important;
  }

  .theme-card-text {
    font-size: 0.7rem !important;
  }}

/* ===================================
   YOU MAY ALSO LIKE SECTION
   =================================== */

.recommended-section {
  margin-top: 0;
  padding-top: 3rem;
  padding-bottom: 3rem;
  background: #f8f9fa;
}

.recommended-section .section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.recommended-section .section-header h2 {
  color: #5e3040;
  font-size: 2rem;
  font-weight: 900;
  text-transform: none;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.recommended-section .header-line {
  width: 100px;
  height: 4px;
  background: #28a745;
  margin: 0 auto;
}

/* Desktop Grid Layout */
.recommended-grid .recommended-product-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.recommended-grid .recommended-product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  border-color: #28a745;
}

.recommended-grid .recommended-product-image-wrapper {
  position: relative;
  height: 280px;
  overflow: hidden;
  background: #f8f9fa;
}

.recommended-grid .recommended-product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.recommended-grid .recommended-product-card:hover .recommended-product-image {
  transform: scale(1.15);
}

.recommended-grid .recommended-product-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.recommended-grid .recommended-product-card:hover .recommended-product-overlay {
  opacity: 1;
}

.recommended-grid .recommended-product-overlay .btn {
  border-radius: 50px;
  padding: 0.5rem 1rem;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.recommended-grid .recommended-product-info {
  padding: 1.25rem;
  background: #fff;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.recommended-grid .recommended-product-name {
  color: #5e3040;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

.recommended-grid .recommended-product-price {
  color: #28a745;
  font-weight: 900;
  font-size: 1.2rem;
}

.recommended-grid .recommended-product-rating {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #ffc107;
}

.recommended-grid .recommended-product-rating span {
  color: #5e3040;
}

.recommended-grid .recommended-product-rating.text-muted {
  color: #999 !important;
}

.recommended-grid .recommended-product-rating.text-muted i {
  color: #ccc;
}

/* Custom column for 5 items per row on XL screens */
.col-xl-2-4 {
  flex: 0 0 auto;
  width: 20%;
}

/* Mobile Horizontal Scroll Container */
.recommended-section .horizontal-scroll-wrapper {
  position: relative;
  margin: 0 -1rem;
  padding: 1rem 0;
}

.recommended-section .horizontal-scroll-container {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  padding: 1rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #28a745 #f0f0f0;
}

.recommended-section .horizontal-scroll-container::-webkit-scrollbar {
  height: 8px;
}

.recommended-section .horizontal-scroll-container::-webkit-scrollbar-track {
  background: #f0f0f0;
  border-radius: 10px;
}

.recommended-section .horizontal-scroll-container::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, #28a745 0%, #20c997 100%);
  border-radius: 10px;
  transition: background 0.3s ease;
}

.recommended-section .horizontal-scroll-container::-webkit-scrollbar-thumb:hover {
  background: #28a745;
}

/* Horizontal Product Card (Mobile Only) */
.recommended-section .horizontal-product-card {
  flex: 0 0 280px;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
}

.recommended-section .horizontal-product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  border-color: #28a745;
}

/* Horizontal Product Image */
.recommended-section .horizontal-product-image-wrapper {
  position: relative;
  height: 280px;
  overflow: hidden;
  background: #f8f9fa;
}

.recommended-section .horizontal-product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.recommended-section .horizontal-product-card:hover .horizontal-product-image {
  transform: scale(1.15);
}

/* Horizontal Product Overlay */
.recommended-section .horizontal-product-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.recommended-section .horizontal-product-card:hover .horizontal-product-overlay {
  opacity: 1;
}

.recommended-section .horizontal-product-overlay .btn {
  border-radius: 50px;
  padding: 0.5rem 1rem;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

/* Horizontal Product Info */
.recommended-section .horizontal-product-info {
  padding: 1.25rem;
  background: #fff;
}

.recommended-section .horizontal-product-name {
  color: #5e3040;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.recommended-section .horizontal-product-price {
  color: #28a745;
  font-weight: 900;
  font-size: 1.2rem;
}

.recommended-section .horizontal-product-rating {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #ffc107;
}

.recommended-section .horizontal-product-rating span {
  color: #5e3040;
}

.recommended-section .horizontal-product-rating.text-muted {
  color: #999 !important;
}

.recommended-section .horizontal-product-rating.text-muted i {
  color: #ccc;
}

/* Responsive for You May Also Like */
@media (max-width: 1199px) {
  .col-xl-2-4 {
    width: 25%;
    /* 4 items per row on large screens */
  }}

@media (max-width: 991px) {
  .col-xl-2-4 {
    width: 33.333333%;
    /* 3 items per row on medium screens */
  }}

@media (max-width: 768px) {
  .recommended-section .horizontal-product-card {
    flex: 0 0 200px;
  }

  .recommended-section .horizontal-product-image-wrapper {
    height: 200px;
  }

  .recommended-section .horizontal-product-info {
    padding: 1rem;
  }

  .recommended-section .horizontal-product-name {
    font-size: 0.85rem;
  }

  .recommended-section .horizontal-product-price {
    font-size: 1rem;
  }

  .recommended-section .section-header h2 {
    font-size: 1.5rem;
  }}

@media (max-width: 576px) {
  .recommended-section .horizontal-product-card {
    flex: 0 0 160px;
  }

  .recommended-section .horizontal-product-image-wrapper {
    height: 160px;
  }

  .recommended-section .horizontal-product-info {
    padding: 0.75rem;
  }

  .recommended-section .horizontal-product-name {
    font-size: 0.75rem;
  }

  .recommended-section .horizontal-product-price {
    font-size: 0.9rem;
  }

  .recommended-section .section-header h2 {
    font-size: 1.25rem;
  }}

/* ===================================
   HOMEPAGE JAPANESE STYLE CAROUSEL
   Enhanced 'You May Also Like' Section
   =================================== */

.home-recommended-section-jp {
  margin-top: 2rem;
  padding: 3rem 0;
  background: #ffffff;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  position: relative;
}

/* Japanese Section Header */
.home-recommended-section-jp .jp-section-header {
  text-align: center;
  margin-bottom: 3.5rem;
  position: relative;
}

.home-recommended-section-jp .jp-header-badge {
  display: inline-block;
  background: #5e3040;
  color: #fff;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: none;
}

.home-recommended-section-jp .jp-header-badge .jp-kanji {
  font-size: 1.2rem;
  margin-right: 0.5rem;
  font-weight: 900;
}

.home-recommended-section-jp .jp-section-title {
  margin: 0 0 2.5rem 0;
  position: relative;
  padding-bottom: 1.5rem;
}

.home-recommended-section-jp .jp-section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: #e8829f;
  border-radius: 2px;
}

.home-recommended-section-jp .jp-title-main {
  display: block;
  font-size: 2.25rem;
  font-weight: 800;
  color: #5e3040;
  text-transform: none;
  letter-spacing: 4px;
  line-height: 1.2;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.home-recommended-section-jp .jp-title-sub {
  display: block;
  font-size: 1.2rem;
  color: #666;
  font-weight: 400;
  letter-spacing: 2px;
}

.home-recommended-section-jp .jp-header-line {
  width: 120px;
  height: 5px;
  background: linear-gradient(90deg, #5e3040 0%, #e8829f 50%, #5e3040 100%);
  margin: 1.5rem auto 0;
  border-radius: 10px;
  position: relative;
}

.home-recommended-section-jp .jp-header-line::before,
.home-recommended-section-jp .jp-header-line::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  background: #e8829f;
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
}

.home-recommended-section-jp .jp-header-line::before {
  left: -15px;
}

.home-recommended-section-jp .jp-header-line::after {
  right: -15px;
}

@keyframes slideUpFadeHome {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }}

/* Spinner Animation */
.spinner {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }}

/* Tablet (768px - 991px) */
@media (max-width: 991px) {
  .home-recommended-section-jp {
    padding: 3rem 0;
  }

  .home-recommended-section-jp .jp-section-header {
    margin-bottom: 2.5rem;
    padding: 0 1rem;
  }

  .home-recommended-section-jp .jp-title-main {
    font-size: 2rem;
  }

  .home-recommended-section-jp .jp-title-sub {
    font-size: 1rem;
  }}

/* Mobile (< 768px) */
@media (max-width: 767px) {
  .home-recommended-section-jp {
    padding: 2.5rem 0;
    margin-top: 3rem;
  }

  .home-recommended-section-jp .jp-section-header {
    margin-bottom: 2rem;
    padding: 0 1rem;
  }

  .home-recommended-section-jp .jp-header-badge {
    padding: 0.4rem 1.2rem;
    font-size: 0.75rem;
  }

  .home-recommended-section-jp .jp-header-badge .jp-kanji {
    font-size: 1rem;
  }

  .home-recommended-section-jp .jp-title-main {
    font-size: 1.5rem;
    letter-spacing: 2px;
  }

  .home-recommended-section-jp .jp-title-sub {
    font-size: 0.9rem;
    letter-spacing: 1.5px;
  }

  .home-recommended-section-jp .jp-header-line {
    width: 80px;
    height: 4px;
  }}

/* Extra Small Mobile (< 400px) */
@media (max-width: 399px) {
  .home-recommended-section-jp .jp-title-main {
    font-size: 1.3rem;
  }

  .home-recommended-section-jp .jp-title-sub {
    font-size: 0.85rem;
  }}

/* ===================================
   INSTAGRAM FEED SECTION - Task 18
   =================================== */

.instagram-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  padding: 4rem 0;
  margin-top: 3rem;
}

.instagram-header {
  position: relative;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 900;
  color: #5e3040;
  text-transform: none;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.section-title i {
  color: #E4405F;
  /* Instagram brand color */
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 2rem;
}

.instagram-tag {
  font-weight: 700;
  color: #e8829f;
}

.instagram-follow-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2.5rem;
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: none;
  letter-spacing: 1px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(228, 64, 95, 0.3);
}

.instagram-follow-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(228, 64, 95, 0.5);
  color: #fff;
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .instagram-grid {
    grid-template-columns: repeat(3, 1fr);
  }}

@media (min-width: 1200px) {
  .instagram-grid {
    grid-template-columns: repeat(6, 1fr);
  }}

.instagram-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.instagram-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.instagram-link {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.instagram-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.instagram-item:hover .instagram-image {
  transform: scale(1.1);
}

.instagram-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(240, 148, 51, 0.9) 0%, rgba(230, 104, 60, 0.9) 25%, rgba(220, 39, 67, 0.9) 50%, rgba(204, 35, 102, 0.9) 75%, rgba(188, 24, 136, 0.9) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  color: #fff;
}

.instagram-item:hover .instagram-overlay {
  opacity: 1;
}

.instagram-overlay i {
  font-size: 3rem;
}

.instagram-overlay span {
  font-size: 1rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 1px;
}

.instagram-cta {
  margin-top: 3rem;
}

.instagram-cta-text {
  font-size: 1.15rem;
  color: #333;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.instagram-hashtags {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hashtag {
  display: inline-block;
  padding: 0.65rem 1.5rem;
  background: #fff;
  border: 2px solid #e0e0e0;
  border-radius: 25px;
  color: #e8829f;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.hashtag:hover {
  border-color: #e8829f;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(201, 58, 99, 0.2);
}

/* Hide desktop-only items on mobile */
@media (max-width: 767px) {
  .instagram-item.desktop-only {
    display: none;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .section-subtitle {
    font-size: 0.95rem;
  }

  .instagram-follow-btn {
    padding: 0.85rem 1.75rem;
    font-size: 0.95rem;
  }

  .instagram-cta-text {
    font-size: 1rem;
  }}

@media (min-width: 768px) and (max-width: 1199px) {
  .instagram-item.desktop-only:nth-child(n+4) {
    display: none;
  }}


/* ===================================================================
   "YOU MAY ALSO LIKE" CARDS - shared with the product page
   -------------------------------------------------------------------
   product-detail.css's recommendation carousel, re-emitted under the
   jp-home- names the homepage markup uses. The homepage carried its own
   drifted clone of the same component: 360px cards with a fixed 380px
   image box, against the product page's 300px cards with a square 1:1 box.

   The prefix stays rather than the markup switching to the plain .jp-
   names, because products.css declares its OWN .jp-product-card,
   .jp-product-image and .jp-product-name and IS loaded on the homepage -
   the bare names would pick those up instead of these.

   The section shell and its heading are NOT from the product page: it has
   no equivalent rules for them, so they stay as they were.
   =================================================================== */

.jp-home-carousel-wrapper {
  position: relative;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 3rem;
}
.jp-home-carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  background: #fff;
  color: var(--pd-plum, #5e3040);
  border: 1px solid var(--pd-line-strong, #ddcdd4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  z-index: 10;
  box-shadow: var(--pd-shadow, 0 1px 3px rgba(94, 48, 64, 0.07));
}
.jp-home-carousel-nav:hover {
  border-color: var(--pd-rose, #c9557a);
  color: var(--pd-rose, #c9557a);
  box-shadow: var(--pd-shadow-lift, 0 10px 28px rgba(94, 48, 64, 0.12));
}
.jp-home-carousel-nav i {
  font-size: 1.15rem;
}
.jp-home-carousel-prev { left: 0.25rem; }
.jp-home-carousel-next { right: 0.25rem; }
.jp-home-carousel-container {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  padding: 0.5rem 0.25rem 1.5rem;
  -webkit-overflow-scrolling: touch;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.jp-home-carousel-container::-webkit-scrollbar {
  display: none;
}
.jp-home-product-card {
  flex: 0 0 300px;
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid var(--pd-line, #ece4e7);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}
.jp-home-product-card:hover {
  transform: translateY(-4px);
  border-color: var(--pd-line-strong, #ddcdd4);
  box-shadow: var(--pd-shadow-lift, 0 10px 28px rgba(94, 48, 64, 0.12));
}
.jp-home-product-image-container {
  position: relative;
  aspect-ratio: 1 / 1;
  height: auto;
  overflow: hidden;
  background: var(--pd-surface, #fbf8f9);
  border-radius: 0;
}
.jp-home-product-link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}
.jp-home-product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.jp-home-product-card:hover .jp-home-product-image {
  transform: scale(1.06);
}
.jp-home-product-overlay {
  position: absolute;
  inset: 0;
  background: rgba(74, 34, 49, 0.78);
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.jp-home-product-card:hover .jp-home-product-overlay {
  opacity: 1;
}
.jp-home-view-product {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
}
.jp-home-view-product i {
  font-size: 1.6rem;
  color: #fff;
}
.jp-home-rating-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: #fff;
  color: var(--pd-ink, #4a2231);
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-weight: 600;
  font-size: 0.8rem;
  box-shadow: var(--pd-shadow, 0 1px 3px rgba(94, 48, 64, 0.07));
  z-index: 10;
}
.jp-home-rating-badge i {
  color: #f0b429;
  font-size: 0.8em;
}
.jp-home-product-info {
  padding: 1.15rem 1.25rem 1.25rem;
  background: #fff;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.jp-home-series-tag {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 0.4rem;
  background: var(--pd-tint, #fdf4f7);
  color: var(--pd-rose, #c9557a);
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
  border: none;
}
.jp-home-series-tag i {
  font-size: 0.85em;
}
.jp-home-product-name {
  display: -webkit-box;
  color: var(--pd-ink, #4a2231);
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.45;
  margin-bottom: 1rem;
  text-decoration: none;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.85rem;
  transition: color 0.2s ease;
}
.jp-home-product-name:hover {
  color: var(--pd-rose, #c9557a);
}
.jp-home-product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 0.9rem;
  border-top: 1px solid var(--pd-line, #ece4e7);
  border-radius: 0;
}
.jp-home-price-tag {
  display: flex;
  flex-direction: column;
}
.jp-home-price-value {
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1;
  letter-spacing: -0.02em;
}
.jp-home-footer-cart-form {
  margin: 0;
}
.jp-home-add-to-cart-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  background: var(--pd-plum, #5e3040);
  color: #fff;
  padding: 0.55rem 1.05rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
  white-space: nowrap;
}
.jp-home-add-to-cart-btn i {
  font-size: 0.95rem;
}
.jp-home-add-to-cart-btn:hover {
  background: var(--pd-ink, #4a2231);
  color: #fff;
}
.jp-home-add-to-cart-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.jp-home-add-to-cart-btn.success-state {
  background: #2f7d4f !important;
  color: #fff !important;
}
.jp-home-add-to-cart-btn .spinner {
  animation: pdSpin 0.8s linear infinite;
}
.jp-home-carousel-dots {
  display: none;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  padding: 0.5rem 0 0;
}
.jp-home-carousel-dot {
  width: 7px;
  height: 7px;
  background: var(--pd-line-strong, #ddcdd4);
  border-radius: 999px;
  cursor: pointer;
  transition: width 0.25s ease, background-color 0.25s ease;
  border: none;
}
.jp-home-carousel-dot.active {
  background: var(--pd-rose, #c9557a);
  width: 20px;
}

@media (max-width: 1199.98px) {
.jp-home-carousel-prev { left: 0; }
.jp-home-carousel-next { right: 0; }
}

@media (max-width: 991.98px) {
.jp-home-carousel-wrapper {
    padding: 0 1.5rem;
  }
.jp-home-carousel-nav {
    display: none;
  }
.jp-home-carousel-dots {
    display: flex;
  }
.jp-home-product-card {
    flex: 0 0 270px;
  }
}

@media (max-width: 767.98px) {
.jp-home-carousel-wrapper {
    padding: 0 1rem;
  }
.jp-home-carousel-container {
    gap: 1rem;
    scroll-snap-type: x mandatory;
  }
.jp-home-product-card {
    flex: 0 0 min(78vw, 300px);
  }
.jp-home-product-info {
    padding: 1rem 1.1rem 1.1rem;
  }
.jp-home-product-name {
    font-size: 0.92rem;
    min-height: 2.65rem;
  }
.jp-home-add-to-cart-btn {
    padding: 0.5rem 0.9rem;
    font-size: 0.78rem;
  }
}

@media (prefers-reduced-motion: reduce) {
.main-image,
  .main-image:hover,
  .jp-home-product-image,
  .jp-home-product-card:hover .jp-home-product-image,
  .jp-home-product-card:hover {
    transform: none;
  }
.tab-pane,
  .share-copy.copied i,
  .jp-home-add-to-cart-btn .spinner {
    animation: none;
  }
}
