/* ========================================
   BREADCRUMB
   ======================================== */

.breadcrumb {
  max-width: 1400px;
  margin: 0 auto;
  padding: 24px 40px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb-link {
  color: #666;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  padding-bottom: 2px;
}

.breadcrumb-link:hover {
  color: #43BDAB;
}

.breadcrumb-link:hover::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: #43BDAB;
}

.breadcrumb-separator {
  color: #ccc;
  margin: 0 4px;
  user-select: none;
}

.breadcrumb-current {
  color: #000;
  font-weight: 600;
}

@media (max-width: 768px) {
  .breadcrumb {
    padding: 16px 20px;
    font-size: 13px;
  }
}

/* ========================================
   PRODUCT PAGE
   ======================================== */

.product-page {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px;
}

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

/* ========================================
   IMAGES
   ======================================== */

.product-images {
  position: sticky;
  top: 120px;
  max-height: calc(100vh - 140px);
  overflow: hidden;
  align-self: flex-start;
}

.main-image {
  width: 100%;
  max-height: 55vh;
  background: #FFFFFF;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-image img {
  width: 100%;
  height: 100%;
  max-height: 55vh;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.main-image:hover img {
  transform: scale(1.05);
}

.product-thumbnails {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
}

.product-thumbnails::-webkit-scrollbar {
  height: 6px;
}

.product-thumbnails::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.product-thumbnails::-webkit-scrollbar-thumb {
  background: #43BDAB;
  border-radius: 3px;
}

.product-thumbnails::-webkit-scrollbar-thumb:hover {
  background: #2da893;
}

.product-thumbnail {
  flex: 0 0 80px;
  width: 80px;
  height: 80px;
  object-fit: contain;
  background: #f8f8f8;
  border: 2px solid #e8e8e8;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  scroll-snap-align: start;
}

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

.product-thumbnail.active {
  border-color: #43BDAB;
  box-shadow: 0 0 0 2px rgba(67, 189, 171, 0.2);
}

/* ========================================
   INFO
   ======================================== */

.product-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.product-category {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #43BDAB;
  background: rgba(67, 189, 171, 0.1);
  padding: 6px 12px;
  border-radius: 4px;
  width: fit-content;
}

.product-title {
  font-family: 'Outfit', sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: #000;
  line-height: 1.2;
  margin: 0;
}

.product-price {
  font-family: 'Outfit', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: #000;
}

.product-stock {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  color: #666;
}

.stock-dot {
  width: 8px;
  height: 8px;
  background: #43BDAB;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.product-description {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #666;
}

/* ========================================
   VARIANTS
   ======================================== */

.product-variants {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-variants label {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #333;
}

.variant-dropdown {
  width: 100%;
  padding: 14px 16px;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  border: 2px solid #e8e8e8;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.3s ease;
}

.variant-dropdown:hover {
  border-color: #43BDAB;
}

.variant-dropdown:focus {
  outline: none;
  border-color: #43BDAB;
  box-shadow: 0 0 0 3px rgba(67, 189, 171, 0.1);
}

/* ========================================
   ADD TO CART
   ======================================== */

.btn-add-to-cart {
  width: 100%;
  padding: 18px;
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
  background: #000;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-add-to-cart:hover {
  background: #43BDAB;
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.btn-add-to-cart:active {
  transform: translateY(0);
}

/* ========================================
   TRUST BADGES
   ======================================== */

.product-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 24px 0;
  border-top: 1px solid #e8e8e8;
  border-bottom: 1px solid #e8e8e8;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  color: #666;
}

.trust-check {
  color: #43BDAB;
  font-weight: 700;
}

/* ========================================
   FEATURES
   ======================================== */

.product-features {
  padding-top: 24px;
}

.product-features h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
}

#featuresList {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#featuresList li {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  color: #666;
  padding-left: 24px;
  position: relative;
}

#featuresList li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #43BDAB;
  font-weight: 700;
}

/* ========================================
   SPECIFICATIONS
   ======================================== */

.product-specs {
  padding-top: 24px;
}

.product-specs h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
}

/* ========================================
   HOW TO USE (accordion) - match howtouse aesthetics
   ======================================== */
.product-how-to-use {
  margin-top: 20px;
}

.product-how-to-use .how-to-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 14px 18px;
  background: rgba(67, 189, 171, 0.05);
  border: 2px solid rgba(67, 189, 171, 0.08);
  border-radius: 12px;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #043838;
}

.product-how-to-use .how-to-toggle .how-to-title {
  color: #000;
}

.product-how-to-use .how-to-toggle[aria-expanded="true"] {
  background: linear-gradient(135deg, #43BDAB 0%, #2a9d8f 100%);
  color: #fff;
  border-color: #43BDAB;
}

.product-how-to-use .how-to-toggle .how-to-arrow {
  transition: transform 0.25s ease;
  color: #43BDAB;
  font-weight: 800;
}

.product-how-to-use .how-to-toggle[aria-expanded="true"] .how-to-arrow {
  transform: rotate(180deg);
  color: #fff;
}

.product-how-to-use .how-to-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.3s ease, padding 0.25s ease;
  opacity: 0;
  padding: 0;
}

.product-how-to-use .how-to-content.active {
  max-height: 600px;
  opacity: 1;
  padding: 12px 0 0 0;
}

.product-how-to-use #howToSteps {
  margin: 0;
  padding: 0 0 0 18px;
}

.product-how-to-use #howToSteps li {
  margin-bottom: 12px;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  color: #444;
  line-height: 1.6;
  position: relative;
  padding-left: 26px;
}

.product-how-to-use #howToSteps li::before {
  content: '→';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #43BDAB;
  font-weight: 700;
  font-size: 13px;
}

@media (max-width: 968px) {
  .product-how-to-use .how-to-toggle {
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 15px;
  }
}

/* Thumbnail inside toggle */
.how-to-toggle-left {
  display: flex;
  align-items: center;
  gap: 12px;
}


.spec-item {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #e8e8e8;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
}

.spec-item:last-child {
  border-bottom: none;
}

.spec-label {
  font-weight: 600;
  color: #333;
  text-transform: capitalize;
}

.spec-value {
  color: #666;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1024px) {
  .product-container {
    grid-template-columns: 40% 60%;
    gap: 40px;
  }
  
  .product-title {
    font-size: 28px;
  }
  
  .product-price {
    font-size: 26px;
  }
  
  .main-image {
    max-height: 48vh;
  }
  
  .main-image img {
    max-height: 48vh;
  }
}

@media (max-width: 768px) {
  .product-page {
    padding: 20px;
  }
  
  .product-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .product-images {
    position: static;
    max-height: none;
  }
  
  /* Reorganização de elementos para mobile */
  .product-info {
    display: flex;
    flex-direction: column;
  }
  
  .product-category { order: 1; }
  .product-title { order: 2; }
  .product-tagline { order: 3; }
  .product-price { order: 4; }
  .product-stock { order: 5; }
  .product-variants { order: 6; }
  .btn-add-to-cart { order: 7; }
  .product-how-to-use { order: 8; }
  .product-description { order: 9; }
  .product-trust { order: 10; }
  .product-usage { order: 11; }
  .product-materials { order: 12; }
  .product-warning { order: 13; }
  .product-features { order: 14; }
  .product-specs { order: 15; }
  .product-applications { order: 16; }
  .product-disclaimer { order: 17; }
  
  .product-how-to-use {
    margin: 24px 0;
    padding: 20px 0;
  }
  
  .how-to-title {
    font-size: 16px;
  }
  
  .how-to-content li {
    font-size: 14px;
    padding-left: 36px;
  }
  
  .how-to-content li::before {
    width: 24px;
    height: 24px;
    font-size: 12px;
  }
  
  .main-image {
    max-height: 70vh;
  }
  
  .main-image img {
    max-height: 70vh;
  }
  
  .product-thumbnails {
    gap: 8px;
    padding-bottom: 12px;
  }
  
  .product-thumbnail {
    flex: 0 0 70px;
    width: 70px;
    height: 70px;
  }
  
  .product-title {
    font-size: 24px;
  }
  
  .product-price {
    font-size: 24px;
  }
  
  .product-trust {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

@media (max-width: 768px) {
  /* Variant link/text color fix on mobile */
  .product-variants a,
  .product-variants a:link,
  .product-variants a:visited {
    color: #000;
    text-decoration: none;
  }

  .product-variants .variant-dropdown,
  .product-variants select {
    color: #000;
  }
}

/* ========================================
   NEW CONTENT SECTIONS
   ======================================== */

/* Tagline */
.product-tagline {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-style: italic;
  color: #666;
  margin-top: 8px;
}

/* ========================================
   HOW TO USE ACCORDION
   ======================================== */

.product-how-to-use {
  margin: 32px 0;
  padding: 24px 0;
  border-top: 1px solid #e8e8e8;
  border-bottom: 1px solid #e8e8e8;
}

.how-to-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.how-to-toggle:hover {
  opacity: 0.7;
}

.how-to-title {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #000;
  text-align: left;
}

.how-to-arrow {
  font-size: 16px;
  color: #43BDAB;
  transition: transform 0.3s ease;
}

.how-to-toggle[aria-expanded="true"] .how-to-arrow {
  transform: rotate(180deg);
}

.how-to-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.3s ease;
  padding: 0;
}

.how-to-content.active {
  max-height: 1000px;
  opacity: 1;
  padding: 20px 0 0 0;
}

.how-to-content ol {
  list-style: none;
  counter-reset: step-counter;
  padding: 0;
  margin: 0;
}

.how-to-content li {
  counter-increment: step-counter;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: #666;
  margin-bottom: 16px;
  padding-left: 32px;
  position: relative;
}

.how-to-content li::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #43BDAB;
  color: #FFF;
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.how-to-content li:last-child {
  margin-bottom: 0;
}

/* Usage Instructions (old static version - keep for backwards compatibility) */
.product-usage {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid #e8e8e8;
}

.product-usage h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
}

.product-usage ol {
  padding-left: 24px;
}

.product-usage li {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: #666;
  margin-bottom: 8px;
}

/* Materials/Ingredients */
.product-materials {
  margin-top: 24px;
}

.product-materials h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.product-materials p {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #666;
}

/* Warning Box */
.product-warning {
  display: flex;
  gap: 16px;
  padding: 16px;
  background: rgba(67,189,171,0.06);
  border: 2px solid rgba(67,189,171,0.16);
  border-radius: 8px;
  margin-top: 24px;
  align-items: center;
}

.warning-icon {
  font-size: 24px;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.warning-content strong {
.warning-content p {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  color: #666;
  margin: 0;
  display: flex;
  align-items: center;
}

/* Important badge inside warning paragraph */
.product-warning .important-note {
  display: inline-block;
  background: #43BDAB;
  color: #fff;
  padding: 4px 8px;
  border-radius: 6px;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 12px;
  margin-right: 10px;
}
}

/* Important badge inside warning paragraph */
.product-warning .important-note {
  display: inline-block;
  background: #fff1f0;
  color: #7a1f1f;
  border: 1px solid rgba(122,31,31,0.08);
  padding: 4px 8px;
  border-radius: 6px;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 6px;
  margin-right: 8px;
}

.product-warning .warning-content p {
  margin-top: 8px;
}

/* Applications */
.product-applications {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid #e8e8e8;
}

.product-applications h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
}

.product-applications ul {
  list-style: none;
  padding: 0;
}

.product-applications li {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #000;
  padding-left: 24px;
  margin-bottom: 8px;
  position: relative;
}

.product-applications li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #43BDAB;
  font-weight: 700;
}

/* Disclaimer */
.product-disclaimer {
  margin-top: 24px;
  padding: 16px;
  background: #f8f8f8;
  border-radius: 8px;
}

.product-disclaimer p {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  color: #666;
  margin: 0;
  text-align: center;
}

/* Variant Description */
.variant-description,
.variant-selected-description {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  color: #666;
  margin-top: 8px;
  font-style: italic;
}


/* ============================================
   PROMOTIONAL PRICING - Product Detail Page
   ============================================ */

.promo-badge-large {
  background: linear-gradient(135deg, #FF6B35 0%, #FF8C42 100%);
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 1rem;
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.25);
}

.product-page .price-display-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0.75rem 0;
}

.product-page .price-was {
  color: #999;
  text-decoration: line-through;
  font-size: 1.25rem;
  font-weight: 400;
}

.product-page .price-now {
  color: #43BDAB;
  font-size: 2rem;
  font-weight: 700;
}

.product-page .price-savings {
  color: #FF6B35;
  font-size: 0.95rem;
  font-weight: 600;
  margin-top: 0.5rem;
}

@media (max-width: 768px) {
  .product-page .price-now {
    font-size: 1.5rem;
  }
  
  .product-page .price-was {
    font-size: 1rem;
  }
}


/* Ultra Pen specific visuals on product detail (targets image src for Ultra Pen) */
.product-container:has(#mainProductImage[src*="ultra-pen-2-cover"]) {
  position: relative;
}

.product-container:has(#mainProductImage[src*="ultra-pen-2-cover"]) .product-info::before {
  content: "SPECIAL OFFER";
  display: inline-block;
  background: linear-gradient(135deg, #FF6B35 0%, #FF8C42 100%);
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  box-shadow: 0 4px 12px rgba(255,107,53,0.25);
}

.product-container:has(#mainProductImage[src*="ultra-pen-2-cover"]) #productPrice::before {
  content: "€1034.80";
  color: #999;
  text-decoration: line-through;
  margin-right: 0.75rem;
  font-size: 1.25rem;
  display: inline-block;
  vertical-align: middle;
}

.product-container:has(#mainProductImage[src*="ultra-pen-2-cover"]) #productPrice {
  color: #43BDAB;
  font-weight: 800;
  font-size: 2rem;
}

.product-container:has(#mainProductImage[src*="ultra-pen-2-cover"]) #productPrice::after {
  content: " Save €184.80";
  display: block;
  color: #FF6B35;
  font-size: 0.95rem;
  margin-top: 0.5rem;
}


