/* Ultra Pen Showcase Section */
.product-showcase {
  max-width: 1400px;
  margin: 80px auto;
  padding: 0 40px;
  background: #FFFFFF;
}

.showcase-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

/* Left Side - Visual */
.showcase-visual {
  position: relative;
}

.badge-featured {
  display: inline-block;
  background: rgba(67, 189, 171, 0.15);
  color: #43BDAB;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 8px 16px;
  border-radius: 20px;
  margin-bottom: 25px;
}

.main-image {
  width: 100%;
  height: 550px;
  background: #F8F8F8;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 20px;
}

.main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.thumbnails {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 25px;
}

.thumbnail {
  width: 100%;
  height: 100px;
  background: #F8F8F8;
  border: 2px solid transparent;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumbnail:hover {
  border-color: rgba(67, 189, 171, 0.5);
  transform: translateY(-2px);
}

.thumbnail.active {
  border-color: #43BDAB;
}

.product-showcase .trust-badges {
  display: flex;
  gap: 15px;
  padding: 18px 20px;
  background: rgba(67, 189, 171, 0.08);
  border-radius: 8px;
  border: 1px solid rgba(67, 189, 171, 0.2);
}

.product-showcase .trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.product-showcase .trust-check {
  color: #43BDAB;
  font-size: 16px;
  font-weight: 700;
}

.product-showcase .trust-badges .trust-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: #1a1a1a;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Right Side - Info */
.showcase-info {
  padding-top: 10px;
}

.product-category {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: #43BDAB;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

.product-title {
  font-family: 'Outfit', 'Montserrat', sans-serif;
  font-size: 42px;
  font-weight: 700;
  color: #000000;
  margin-bottom: 8px;
  line-height: 1.2;
}

.product-subtitle {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #666666;
  margin-bottom: 25px;
}

.product-stock {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 0;
  margin-bottom: 25px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.stock-indicator {
  color: #22C55E;
  font-size: 12px;
}

.stock-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #666666;
}

.product-description {
  margin-bottom: 30px;
}

.product-description p {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: #333333;
  line-height: 1.7;
}

.product-features {
  margin-bottom: 30px;
}

.feature-item {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
}

.feature-bullet {
  color: #43BDAB;
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.feature-content strong {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #000000;
}

.feature-content span {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: #666666;
  line-height: 1.5;
}

.product-pricing {
  margin-bottom: 25px;
}

.price-main {
  font-family: 'Outfit', 'Montserrat', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: #000000;
}

/* Promo price visuals for Ultra Pen showcase (scoped to avoid conflicts) */
.product-showcase .price-display-container {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.product-showcase .promo-badge-large {
  background: linear-gradient(135deg, #FF6B35 0%, #FF8C42 100%);
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  box-shadow: 0 6px 18px rgba(255, 107, 53, 0.12);
}

.product-showcase .price-was {
  color: #777;
  text-decoration: line-through;
  font-size: 1.15rem;
  font-weight: 600;
}

.product-showcase .price-now {
  color: #0f9f88;
  font-size: 1.9rem;
  font-weight: 900;
  line-height: 1;
}

.product-showcase .price-savings {
  color: #FF6B35;
  font-size: 0.95rem;
  font-weight: 700;
  margin-left: 6px;
}

/* Hide legacy single price when promo container exists to avoid duplicate prices */
.product-showcase .price-display-container + .price-main,
.product-showcase .price-main:empty {
  display: none;
}

@media (max-width: 768px) {
  .product-showcase .price-display-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .product-showcase .price-now {
    font-size: 1.35rem;
  }
}

/* Desktop-only: compact the trust-badges area for a leaner look */
@media (min-width: 1025px) {
  .product-showcase .trust-badges {
    display: flex;
    align-items: center;
    flex-wrap: nowrap; /* keep items on one line */
    padding: 8px 12px; /* reduced padding for compact look */
    gap: 18px; /* space between each trust item */
    border-radius: 6px;
    background: rgba(67, 189, 171, 0.06);
    border: 1px solid rgba(67, 189, 171, 0.12);
  }


  /* Make each trust item visually consistent (desktop only). Keeps
     the group compact while giving each item a subtle pill and a
     circular check token for clarity. */
  .product-showcase .trust-item {
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(67, 189, 171, 0.02);
    gap: 10px;
    align-items: center;
    display: inline-flex;
  }

  .product-showcase .trust-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #E8F8F4;
    color: #0f9f88;
    font-weight: 800;
    font-size: 14px;
    flex-shrink: 0;
    border: 1px solid rgba(67, 189, 171, 0.12);
  }

  /* Make left and right columns behave as vertical flex containers
     so we can align the small trust badges and the guarantee box
     to the same vertical position (desktop only). */
  .product-showcase .showcase-visual,
  .product-showcase .showcase-info {
    display: flex;
    flex-direction: column;
    min-height: 0; /* allow flex children to shrink correctly inside CSS Grid */
  }

  /* Ensure the two grid columns stretch to equal height so bottom-alignment
     (using margin-top:auto on inner items) lines up precisely. */
  .product-showcase .showcase-container {
    align-items: stretch;
  }

  /* Push these elements toward the bottom of their column so they
     align horizontally across the two-column layout. */
  .product-showcase .trust-badges,
  .product-guarantee {
    margin-top: auto;
  }
}

.product-actions {
  margin-bottom: 20px;
}

/* Split action: WhatsApp (left) + Add to Cart (right) */
.product-showcase .product-actions {
  display: flex;
  gap: 2px;
  align-items: center;
  overflow: visible;
}

.product-showcase .product-actions .btn-whatsapp-order {
  flex: 1 1 50%;
  width: auto;
  padding: 16px 20px;
  border-radius: 12px 0 0 12px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
}

.product-showcase .product-actions .btn-add-to-cart {
  flex: 1 1 50%;
  width: auto;
  padding: 16px 20px;
  border-radius: 0 12px 12px 0;
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
  background: #000;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
  z-index: 1;
}

.product-showcase .product-actions .btn-add-to-cart:hover {
  background: #43BDAB;
  color: #000;
  transform: translateY(-2px);
}

.btn-whatsapp-order {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 18px 32px;
  background: #25D366;
  color: #FFFFFF;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2);
}

.btn-whatsapp-order:hover {
  background: #20BA5A;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

/* Ensure both action buttons have identical sizing and box model */
.product-showcase .product-actions .btn-whatsapp-order,
.product-showcase .product-actions .btn-add-to-cart {
  height: 52px;
  padding: 0 20px;
  font-size: 16px;
  font-family: 'Outfit', sans-serif;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.wa-icon {
  width: 24px;
  height: 24px;
}

.product-guarantee {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px;
  background: rgba(67, 189, 171, 0.05);
  border-radius: 8px;
  border-left: 3px solid #43BDAB;
}

.guarantee-icon {
  color: #43BDAB;
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
}

.guarantee-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #333333;
  line-height: 1.5;
}

/* Tablet */
@media (max-width: 1024px) {
  .product-showcase {
    margin: 60px auto;
    padding: 0 30px;
  }

  .showcase-container {
    gap: 50px;
  }

  .main-image {
    height: 450px;
  }

  .product-title {
    font-size: 36px;
  }

  .product-showcase .trust-badges {
    flex-wrap: wrap;
    gap: 15px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .product-showcase {
    margin: 50px auto;
    padding: 0 20px;
  }

  .showcase-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .main-image {
    height: 350px;
  }

  .thumbnails {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
  }

  .thumbnail {
    height: 80px;
  }

  .trust-badges {
    flex-direction: row;
    gap: 10px;
    padding: 16px;
  }

  .product-showcase .trust-badges {
    flex-direction: row;
    gap: 10px;
    padding: 16px;
  }

  .product-showcase .trust-item {
    flex-direction: column;
    text-align: center;
    gap: 4px;
  }

  .product-showcase .trust-text {
    font-size: 10px;
  }

  .product-title {
    font-size: 32px;
  }

  .product-subtitle {
    font-size: 16px;
  }

  /* Accordion para Features */
  .product-features {
    margin-bottom: 25px;
  }

  .features-accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: rgba(67, 189, 171, 0.08);
    border-radius: 8px;
    cursor: pointer;
    margin-bottom: 12px;
    transition: all 0.3s ease;
  }

  .features-accordion-header:hover {
    background: rgba(67, 189, 171, 0.12);
  }

  .features-accordion-title {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #000000;
  }

  .features-accordion-icon {
    font-size: 18px;
    color: #43BDAB;
    transition: transform 0.3s ease;
  }

  .features-accordion-icon.open {
    transform: rotate(180deg);
  }

  .features-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .features-accordion-content.open {
    max-height: 500px;
  }

  .feature-item {
    margin-bottom: 16px;
  }

  .product-description {
    margin-bottom: 20px;
  }

  .product-description p {
    font-size: 14px;
    line-height: 1.6;
  }

  .price-main {
    font-size: 30px;
  }

  .btn-whatsapp-order {
    padding: 16px 24px;
    font-size: 15px;
  }

  /* Stack on mobile for better tap targets */
  .product-showcase .product-actions {
    flex-direction: column;
    gap: 12px;
  }

  .product-showcase .product-actions .btn-whatsapp-order,
  .product-showcase .product-actions .btn-add-to-cart {
    border-radius: 12px !important;
    width: 100%;
    z-index: 0;
    padding: 14px 22px;
    font-size: 16px;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    height: auto;
  }
}