/* ==========================================================================
   PMM HEALTH — LUXURY WEBSHOP DESIGN SYSTEM (shop.css)
   ========================================================================== */

:root {
  --shop-stage: #FFF5F7;
  --shop-card-bg: #FFFFFF;
  --shop-border: #FFD0DA;
  --shop-border-hover: #FF8DA4;
  --shop-pink: #FF3B6B;
  --shop-pink-light: #FFE4EA;
  --shop-pink-glow: rgba(255, 59, 107, 0.18);
  --shop-ink: #1A1214;
  --shop-muted: #6B5B60;
}

/* ==========================================================================
   1. SHOP HERO BANNER
   ========================================================================== */
.shop-hero-section {
  position: relative;
  padding: clamp(120px, 14vh, 150px) 20px clamp(40px, 6vh, 60px);
  background: linear-gradient(180deg, #FFFFFF 0%, #FFF5F7 100%);
  text-align: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 208, 218, 0.6);
}

.shop-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  border: 1.5px solid var(--shop-pink);
  padding: 6px 18px;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--shop-pink);
  text-transform: uppercase;
  box-shadow: 0 6px 20px rgba(255, 59, 107, 0.15);
  margin-bottom: 20px;
}

.shop-hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--shop-pink);
  box-shadow: 0 0 10px var(--shop-pink);
  animation: onAirBlink 1.6s ease-in-out infinite;
}

.shop-hero-title {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: clamp(2.4rem, 5.2vw, 4.2rem);
  font-weight: 900;
  color: var(--shop-ink);
  line-height: 1.1;
  letter-spacing: -0.035em;
  max-width: 960px;
  margin: 0 auto 16px;
}

.shop-hero-title span.pop-word {
  color: var(--shop-pink);
  position: relative;
  display: inline-block;
}

.shop-hero-deck {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 600;
  color: var(--shop-muted);
  max-width: 720px;
  margin: 0 auto 28px;
  line-height: 1.55;
}

.shop-trust-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px 24px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.shop-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--shop-ink);
  background: rgba(255, 255, 255, 0.85);
  padding: 6px 14px;
  border-radius: 9999px;
  border: 1px solid var(--shop-border);
}

.shop-trust-icon {
  color: var(--shop-pink);
  display: flex;
}

/* ==========================================================================
   2. UTILITY TOOLBAR (SEARCH + SORT + PRODUCT COUNT)
   ========================================================================== */
.shop-toolbar-wrap {
  padding: 30px 0 20px;
  background: var(--shop-stage);
}

.shop-toolbar-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  background: #FFFFFF;
  padding: 14px 20px;
  border-radius: 20px;
  border: 1.5px solid var(--shop-border);
  box-shadow: 0 10px 30px rgba(26, 18, 20, 0.04);
}

.shop-search-box {
  position: relative;
  flex: 1 1 300px;
  max-width: 440px;
}

.shop-search-input {
  width: 100%;
  height: 46px;
  padding: 0 16px 0 42px;
  border-radius: 9999px;
  border: 1.5px solid var(--shop-border);
  background: #FFF5F7;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--shop-ink);
  transition: all 0.25s ease;
  outline: none;
}

.shop-search-input:focus {
  background: #FFFFFF;
  border-color: var(--shop-pink);
  box-shadow: 0 0 0 4px var(--shop-pink-glow);
}

.shop-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--shop-muted);
  pointer-events: none;
}

.shop-toolbar-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.shop-count-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--shop-pink-light);
  color: var(--shop-pink);
  font-weight: 800;
  font-size: 0.88rem;
  padding: 8px 16px;
  border-radius: 9999px;
}

.shop-sort-select {
  height: 46px;
  padding: 0 36px 0 16px;
  border-radius: 9999px;
  border: 1.5px solid var(--shop-border);
  background: #FFFFFF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23FF3B6B' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--shop-ink);
  cursor: pointer;
  outline: none;
  appearance: none;
  transition: border-color 0.2s ease;
}

.shop-sort-select:focus {
  border-color: var(--shop-pink);
}

/* ==========================================================================
   3. PRODUCT CATALOG GRID & CARDS
   ========================================================================== */
.shop-catalog-section {
  padding: 20px 0 90px;
  background: var(--shop-stage);
  min-height: 500px;
}

.shop-catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px 24px;
}

.shop-product-card {
  background: #FFFFFF;
  border-radius: 24px;
  border: 1.5px solid var(--shop-border);
  box-shadow: 0 10px 28px rgba(26, 18, 20, 0.05);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
              box-shadow 0.3s ease, 
              border-color 0.25s ease;
  position: relative;
  text-decoration: none;
  color: inherit;
}

.shop-product-card:hover {
  transform: translateY(-8px);
  border-color: var(--shop-border-hover);
  box-shadow: 0 20px 44px rgba(255, 59, 107, 0.15), 0 4px 12px rgba(0, 0, 0, 0.04);
}

/* Thumbnail Stage */
.shop-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3.4;
  background: linear-gradient(180deg, #FFFFFF 0%, #FFF5F7 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 208, 218, 0.4);
}

.shop-card-media img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.06));
}

.shop-product-card:hover .shop-card-media img {
  transform: scale(1.08);
}

.shop-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--shop-pink);
  color: var(--shop-pink);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 4px 12px;
  border-radius: 9999px;
  box-shadow: 0 4px 12px rgba(255, 59, 107, 0.15);
  text-transform: uppercase;
}

/* Card Body */
.shop-card-body {
  padding: 22px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.shop-card-category {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--shop-pink);
  margin-bottom: 6px;
}

.shop-card-title {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 1.14rem;
  font-weight: 800;
  color: var(--shop-ink);
  line-height: 1.35;
  margin: 0 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
}

.shop-card-desc {
  font-size: 0.88rem;
  color: var(--shop-muted);
  line-height: 1.5;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.shop-card-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 208, 218, 0.4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.shop-card-price {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--shop-ink);
  letter-spacing: -0.02em;
}

.shop-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #FF3B6B 0%, #FF6B8A 100%);
  color: #FFFFFF !important;
  font-size: 0.88rem;
  font-weight: 800;
  padding: 10px 18px;
  border-radius: 9999px;
  box-shadow: 0 6px 16px rgba(255, 59, 107, 0.3);
  text-decoration: none;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.shop-product-card:hover .shop-card-btn {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(255, 59, 107, 0.45);
}

/* ==========================================================================
   4. PRODUCT DETAIL PAGE STYLING
   ========================================================================== */
.product-detail-section {
  padding: clamp(110px, 13vh, 140px) 0 80px;
  background: linear-gradient(180deg, #FFFFFF 0%, #FFF5F7 100%);
}

.product-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 60px);
  align-items: start;
}

/* Gallery Stage */
.product-gallery-stage {
  position: sticky;
  top: 100px;
  background: #FFFFFF;
  border-radius: 32px;
  border: 1.5px solid var(--shop-border);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: 0 16px 40px rgba(26, 18, 20, 0.05);
}

.product-main-canvas {
  width: 100%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.product-main-canvas img {
  max-width: 95%;
  max-height: 95%;
  object-fit: contain;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.08));
  transition: transform 0.3s ease;
}

.product-thumbs-strip {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.product-thumb-item {
  width: 70px;
  height: 70px;
  border-radius: 16px;
  border: 2px solid var(--shop-border);
  background: #FFF5F7;
  padding: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.product-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-thumb-item.active,
.product-thumb-item:hover {
  border-color: var(--shop-pink);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 59, 107, 0.2);
}

/* Information Panel */
.product-info-wrap {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.product-info-header {
  border-bottom: 1px solid var(--shop-border);
  padding-bottom: 24px;
}

.product-detail-title {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 900;
  color: var(--shop-ink);
  line-height: 1.15;
  margin: 12px 0;
  letter-spacing: -0.025em;
}

.product-detail-price {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 900;
  color: var(--shop-pink);
  letter-spacing: -0.02em;
}

/* Rich Description Container with Clean Typography (ZERO <p> text artifact) */
.product-rich-desc {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--shop-ink);
}

.product-rich-desc p {
  margin-bottom: 1.25rem;
  color: #2D2426;
}

.product-rich-desc ul {
  margin: 1rem 0 1.5rem 1.5rem;
  padding: 0;
}

.product-rich-desc li {
  margin-bottom: 0.6rem;
  line-height: 1.65;
  color: #2D2426;
}

.product-rich-desc strong {
  color: var(--shop-ink);
  font-weight: 800;
}

/* Guarantee / Trust 4-Grid */
.product-guarantee-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.product-guarantee-box {
  background: #FFFFFF;
  border: 1px solid var(--shop-border);
  padding: 14px 16px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--shop-ink);
}

.product-guarantee-box svg {
  color: var(--shop-pink);
  flex-shrink: 0;
}

/* High-End Order / Inquiry Card */
.product-inquiry-card {
  background: #FFFFFF;
  border-radius: 28px;
  border: 2px solid var(--shop-border);
  padding: clamp(24px, 3.5vw, 36px);
  box-shadow: 0 16px 40px rgba(255, 59, 107, 0.08);
}

.inquiry-card-title {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--shop-ink);
  margin-bottom: 8px;
}

.inquiry-card-desc {
  font-size: 0.92rem;
  color: var(--shop-muted);
  line-height: 1.5;
  margin-bottom: 20px;
}

.inquiry-form-group {
  margin-bottom: 16px;
}

.inquiry-form-label {
  display: block;
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--shop-ink);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.inquiry-form-control {
  width: 100%;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1.5px solid var(--shop-border);
  background: #FFF5F7;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--shop-ink);
  outline: none;
  transition: all 0.2s ease;
}

.inquiry-form-control:focus {
  background: #FFFFFF;
  border-color: var(--shop-pink);
  box-shadow: 0 0 0 4px var(--shop-pink-glow);
}

.inquiry-submit-btn {
  width: 100%;
  padding: 16px;
  border-radius: 9999px;
  background: linear-gradient(135deg, #FF3B6B 0%, #FF6B8A 100%);
  color: #FFFFFF;
  border: none;
  font-size: 1.05rem;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(255, 59, 107, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.25s ease;
}

.inquiry-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(255, 59, 107, 0.5);
}

/* Empty State */
.shop-empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  background: #FFFFFF;
  border-radius: 24px;
  border: 1.5px solid var(--shop-border);
}

/* Responsive */
@media (max-width: 992px) {
  .product-detail-layout {
    grid-template-columns: 1fr;
  }
  .product-gallery-stage {
    position: static;
  }
}

@media (max-width: 768px) {
  .shop-catalog-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
  }
  .shop-toolbar-card {
    flex-direction: column;
    align-items: stretch;
  }
  .shop-search-box {
    max-width: 100%;
  }
  .product-guarantee-grid {
    grid-template-columns: 1fr;
  }
}
