/* ==========================================
   MUSEUM ZONE COMPACT PREMIUM DESIGN SYSTEM
   ========================================== */

/* Fix brand item image zoom/containment for FG United logos */
#category-page .brand-item[data-brand="fg-united"] img,
#category-page .brand-item img[alt*="FG United"],
#category-page .brand-item img[src*="fg-united"] {
  object-fit: contain !important;
  padding: 8px !important;
  background: #ffffff !important;
}

/* --- Minimalistic Breadcrumbs --- */
.breadcrumb-nav ol {
  list-style: none;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.3rem;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  margin: 0 0 1rem 0 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.breadcrumb-nav li {
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.breadcrumb-link {
  color: #9ca3af !important;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}
.breadcrumb-link:hover {
  color: #2ECC71 !important;
}
.breadcrumb-current {
  color: #ffffff;
  font-weight: 600;
}

/* --- Ultra-Compact Products Grid Layout --- */
.brand-products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  max-width: 660px; /* Reduced for a much more compact, elegant fit */
  margin: 0 auto;
}
@media (min-width: 576px) {
  .brand-products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- Compact Product Card Styling --- */
.product-card {
  background: rgba(37, 50, 51, 0.6) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}
.product-card:hover {
  transform: translateY(-4px); /* Tighter translation */
  border-color: #2ECC71 !important;
  box-shadow: 0 12px 28px rgba(46, 204, 113, 0.12);
}
.product-img-container {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #0d1314;
}
.product-img-container img {
  width: 100%;
  height: 100%;
  object-fit: contain !important; /* Full view without crop */
  padding: 8px; /* Safe bounds */
}
.product-card:hover .product-img-container img {
  transform: none !important; /* Disable zoom completely as requested */
}
.product-card .badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: #2ECC71 !important;
  color: #1c2526 !important;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.5rem;
  border-radius: 3px;
  box-shadow: 0 2px 6px rgba(46, 204, 113, 0.3);
  z-index: 10;
}
.product-card-body {
  padding: 1rem; /* Compact padding */
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.product-card-brand {
  font-size: 0.65rem;
  font-weight: 800;
  color: #2ECC71;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.15rem;
  display: block;
}
.product-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem; /* Tighter typography */
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 0.35rem 0;
  line-height: 1.25;
}
.product-card-desc {
  font-size: 0.8rem;
  color: #9ca3af;
  margin-bottom: 0.75rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card-specs {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
  color: #d1d5db;
}
.product-card-specs i {
  color: #2ECC71;
  margin-right: 0.25rem;
}

/* --- Dynamic View Buttons --- */
.view-details-btn {
  background: #2ECC71 !important;
  color: #1C2526 !important;
  border: none;
  border-radius: 6px;
  padding: 0.5rem 0.75rem; /* Thinner button */
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  margin-top: auto;
  font-family: 'Roboto', sans-serif;
}
.view-details-btn:hover {
  background: #27AE60 !important;
  box-shadow: 0 3px 10px rgba(46, 204, 113, 0.3);
  transform: translateY(-1px);
}

/* --- Premium Details Container Layout (Natural Scroll Flow) --- */
.product-details-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  background: rgba(37, 50, 51, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  max-width: 980px; /* Wider comfortable design */
  margin: 0 auto 2rem auto;
}
@media (min-width: 769px) {
  .product-details-container {
    grid-template-columns: repeat(12, 1fr);
    gap: 2.5rem;
    padding: 2.25rem;
    align-items: start; /* Flows naturally from the top */
  }
  .product-gallery-col {
    grid-column: span 5;
  }
  .product-info-col {
    grid-column: span 7;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
  }
}

/* --- Large Display Image Gallery --- */
.main-image-viewer {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #0d1314;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
  margin-bottom: 1rem;
}
.main-image-viewer img {
  width: 100%;
  height: 100%;
  object-fit: contain !important; /* Full view uncropped */
  padding: 12px;
}
#detail-thumbnails-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  width: 100%;
  margin: 0 auto;
}
.detail-thumb {
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  aspect-ratio: 1 / 1;
  border-radius: 6px;
  overflow: hidden;
  background: #000;
}
.detail-thumb:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(46, 204, 113, 0.25);
}
.detail-thumb.active {
  border-color: #2ECC71;
  box-shadow: 0 0 8px rgba(46, 204, 113, 0.4);
}
.detail-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  padding: 4px;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}
.detail-thumb.active img, .detail-thumb:hover img {
  opacity: 1;
}

/* --- Product Spec Badges --- */
.spec-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.25rem;
}
.spec-badge {
  background: rgba(255, 255, 255, 0.05);
  color: #e5e7eb;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.85rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.product-info-col h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem; /* Rich premium title */
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  line-height: 1.25;
}
.accords-title {
  font-size: 0.65rem;
  font-weight: 700;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
}
#detail-accords {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.accord-pill {
  background: rgba(46, 204, 113, 0.08);
  border: 1px solid rgba(46, 204, 113, 0.25);
  color: #2ECC71;
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 9999px;
  letter-spacing: 0.01em;
}

/* --- Compact Accordions --- */
.accordion-item {
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  background: rgba(26, 35, 36, 0.45);
  overflow: hidden;
  margin-bottom: 0.5rem;
}
.accordion-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 0.75rem; /* Thinner triggers */
  background: transparent;
  border: none;
  font-family: 'Roboto', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
}
.accordion-trigger i {
  font-size: 0.75rem;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.accordion-content {
  padding: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.8rem;
  line-height: 1.5;
  color: #d1d5db;
}

/* --- Fragrance Notes Cards Grid --- */
.notes-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}
@media (min-width: 480px) {
  .notes-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.note-card {
  background: rgba(13, 19, 20, 0.5);
  padding: 0.65rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.04);
}
.note-card h4 {
  font-family: 'Roboto', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  color: #2ECC71;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.note-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.note-card li {
  color: #d1d5db;
  font-size: 0.75rem;
  position: relative;
  padding-left: 0.75rem;
}
.note-card li::before {
  content: '•';
  color: #2ECC71;
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* --- Product Specifications Table --- */
.specs-table {
  width: 100%;
  border-collapse: collapse;
}
.specs-table tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.specs-table tr:last-child {
  border-bottom: none;
}
.specs-table td {
  padding: 0.4rem 0;
  font-size: 0.8rem;
}
.specs-table td:first-child {
  font-weight: 600;
  color: #ffffff;
  width: 40%;
}
.specs-table td:last-child {
  color: #9ca3af;
}

/* --- Why You'll Love It Bullet List --- */
.love-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.love-list li {
  font-size: 0.8rem;
  color: #d1d5db;
  position: relative;
  padding-left: 1rem;
  line-height: 1.35;
}
.love-list li::before {
  content: '✓';
  color: #2ECC71;
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* --- Compact Action CTA Button --- */
#inquiry-cta-btn {
  background: #2ECC71 !important;
  color: #1C2526 !important;
  border: none;
  border-radius: 6px;
  padding: 0.7rem 1.25rem; /* Sleeker padding */
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  width: 100%;
  font-family: 'Roboto', sans-serif;
  box-shadow: 0 3px 10px rgba(46, 204, 113, 0.25);
  margin-top: 0.5rem;
}
#inquiry-cta-btn:hover {
  background: #27AE60 !important;
  box-shadow: 0 4px 14px rgba(46, 204, 113, 0.35);
  transform: translateY(-1px);
}
#inquiry-cta-btn:active {
  transform: translateY(1px);
}

/* --- Premium Price Displays --- */
.product-price-container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.price-current {
  font-size: 1.15rem;
  font-weight: 700;
  color: #2ECC71;
}
.price-original {
  font-size: 0.85rem;
  text-decoration: line-through;
  color: #9ca3af;
}
.price-discount {
  font-size: 0.7rem;
  font-weight: 700;
  color: #ffffff;
  background: #e74c3c !important;
  padding: 0.15rem 0.4rem;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
