/* Product Detail Page - Modern E-Commerce Presentation */
.denti-product-page { padding-block: 1.5rem 3.5rem; }

/* Breadcrumb */
.denti-product-breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; color: #64748b; font-size: .875rem; margin-bottom: 1.75rem; }
.denti-product-breadcrumb a { color: #64748b; text-decoration: none; transition: color .15s ease; }
.denti-product-breadcrumb a:hover { color: var(--denti-green); }
.denti-breadcrumb-separator { color: #cbd5e1; user-select: none; }

/* Product Hero Layout */
.denti-native-product-hero { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 2rem; padding-bottom: 2rem; }

/* Product Media Frame (Pure white, seamless canvas) */
.denti-native-product-media { position: relative; min-height: 320px; align-self: start; display: flex; align-items: center; justify-content: center; background: #ffffff; border: 1px solid #e5e9ec; border-radius: 16px; padding: 1.5rem; box-shadow: 0 4px 20px -4px rgba(0,0,0,0.04); }
.denti-media-image-frame { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; }
.denti-native-product-media img { display: block; max-width: 100%; max-height: 300px; width: auto; height: auto; object-fit: contain; transition: transform .35s cubic-bezier(0.16,1,0.3,1); }
.denti-native-product-media:hover img { transform: scale(1.04); }

.denti-media-category-badge { position: absolute; top: 1.25rem; left: 1.25rem; background: rgba(255,255,255,0.94); backdrop-filter: blur(6px); border: 1px solid rgba(18,101,119,0.18); border-radius: 20px; color: var(--denti-green); font-size: .78rem; font-weight: 700; padding: .3rem .85rem; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.denti-media-promo-badge { position: absolute; top: 1.25rem; left: 1.25rem; display: inline-flex; align-items: center; gap: .35rem; background: linear-gradient(135deg, #e11d48 0%, #ea580c 100%); color: #ffffff; border-radius: 20px; font-size: .82rem; font-weight: 750; padding: .35rem .95rem; box-shadow: 0 4px 14px rgba(225, 29, 72, 0.35); }
.denti-media-variant-badge { position: absolute; top: 1.25rem; right: 1.25rem; background: #eef7f6; border: 1px solid rgba(18,101,119,0.15); border-radius: 20px; color: var(--denti-green); font-size: .75rem; font-weight: 700; padding: .25rem .75rem; }

.denti-product-no-image { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem; color: #94a3b8; }
.denti-product-no-image svg { color: #cbd5e1; }
.denti-product-no-image span { font-size: .88rem; font-weight: 600; color: #94a3b8; letter-spacing: .02em; }

/* Product Copy & Metadata */
.denti-native-product-copy { min-width: 0; display: flex; flex-direction: column; overflow-wrap: anywhere; }
.denti-product-eyebrow { display: flex; align-items: center; gap: .65rem; margin-bottom: .4rem; }
.denti-product-brand-tag { font-size: .78rem; font-weight: 800; color: var(--denti-green); text-transform: uppercase; letter-spacing: .05em; background: #eef7f6; padding: .2rem .6rem; border-radius: 6px; }
.denti-product-category-link { font-size: .85rem; color: #64748b; text-decoration: none; font-weight: 500; }
.denti-product-category-link:hover { color: var(--denti-green); text-decoration: underline; }

.denti-product-main-title { font-size: clamp(1.8rem, 2.5vw, 2.3rem); line-height: 1.25; font-weight: 700; color: #0f172a; margin: .5rem 0 .75rem; }
.denti-native-product-intro { color: #64748b; font-size: 1rem; line-height: 1.5; margin: 0 0 1.25rem; }

/* Fact Cards Grid */
.denti-native-product-facts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: .5rem; margin-block: .5rem 1rem; }
.denti-fact-card { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 10px; padding: .5rem .75rem; display: flex; flex-direction: column; gap: .2rem; }
.denti-fact-label { font-size: .72rem; text-transform: uppercase; font-weight: 700; letter-spacing: .04em; color: #64748b; }
.denti-fact-val { font-size: .95rem; font-weight: 650; color: #0f172a; }

/* Promotion Banner */
.denti-product-promo-banner { display: flex; align-items: center; gap: 1rem; background: linear-gradient(135deg, #fff1f2 0%, #fff7ed 100%); border: 1.5px solid #fecdd3; border-left: 5px solid #e11d48; border-radius: 12px; padding: .9rem 1.25rem; margin-block: .75rem 1.25rem; box-shadow: 0 2px 8px rgba(225, 29, 72, 0.06); }
.denti-promo-banner-badge { background: #e11d48; color: #ffffff; font-size: .82rem; font-weight: 800; padding: .35rem .85rem; border-radius: 20px; white-space: nowrap; box-shadow: 0 2px 6px rgba(225, 29, 72, 0.25); flex-shrink: 0; }
.denti-promo-banner-info { display: flex; flex-direction: column; gap: .2rem; }
.denti-promo-banner-info strong { font-size: .92rem; color: #991b1b; }
.denti-promo-banner-info span { font-size: .84rem; color: #78350f; line-height: 1.35; }

/* Purchase Box (Elevated white card) */
.denti-native-product-purchase { background: #ffffff; border: 1.5px solid #e2e8f0; border-radius: 14px; padding: 1.75rem; box-shadow: 0 4px 18px -4px rgba(0,0,0,0.04); margin-top: .5rem; }
.denti-purchase-status-bar { display: flex; align-items: center; gap: .5rem; font-size: .82rem; font-weight: 600; color: #166534; margin-bottom: 1.25rem; padding-bottom: .85rem; border-bottom: 1px solid #f1f5f9; }
.denti-status-dot-pulse { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; display: inline-block; box-shadow: 0 0 0 2px rgba(34,197,94,.25); }

/* Variant Selector: Visual Pills / Swatches */
.denti-product-variant-group { margin-bottom: 1.25rem; display: flex; flex-direction: column; gap: .6rem; }
.denti-variant-header-row { display: flex; align-items: center; gap: .5rem; font-size: .92rem; }
.denti-variant-title { color: #475569; font-weight: 600; }
.denti-variant-active-display { color: #0f172a; font-weight: 700; background: #f1f5f9; padding: .15rem .55rem; border-radius: 4px; font-size: .88rem; }

.denti-variant-pills-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.denti-variant-pill-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 48px; min-height: 42px; padding: .5rem 1.15rem; border: 1.5px solid #e2e8f0; border-radius: 8px; background: #ffffff; color: #1e293b; font-size: .92rem; font-weight: 600; cursor: pointer; transition: all .18s cubic-bezier(0.16,1,0.3,1); }
.denti-variant-pill-btn:hover { border-color: var(--denti-green); background: #f0f8f8; color: var(--denti-green); }
.denti-variant-pill-btn.is-active { border-color: var(--denti-green); background: var(--denti-green); color: #ffffff; box-shadow: 0 4px 10px rgba(18,101,119,0.22); transform: translateY(-1px); }

/* Quantity and Purchase Action Row */
.denti-native-product-purchase-row { display: flex; align-items: flex-end; gap: 1rem; margin-block: .75rem; }
.denti-qty-box { display: flex; flex-direction: column; gap: .35rem; }
.denti-qty-box label { font-size: .75rem; font-weight: 700; text-transform: uppercase; color: #64748b; letter-spacing: .02em; }
.denti-qty-box input { width: 80px; min-height: 48px; border: 1.5px solid #e2e8f0; border-radius: 8px; text-align: center; font-size: 1.05rem; font-weight: 650; background: #ffffff; color: #0f172a; transition: border-color .15s, box-shadow .15s; }
.denti-qty-box input:focus { border-color: var(--denti-green); outline: none; box-shadow: 0 0 0 3px rgba(18,101,119,.12); }
.denti-native-product-purchase-row button.denti-button { flex: 1 1 auto; min-height: 48px; font-size: 1rem; font-weight: 650; border-radius: 8px; box-shadow: 0 3px 8px rgba(18,101,119,.2); transition: all .18s ease; }
.denti-native-product-purchase-row button.denti-button:hover { box-shadow: 0 6px 14px rgba(18,101,119,.3); transform: translateY(-1px); }

.denti-purchase-note { display: flex; align-items: center; gap: .5rem; margin-top: 1rem; font-size: .82rem; color: #64748b; line-height: 1.4; }
.denti-purchase-note svg { color: var(--denti-green); flex-shrink: 0; }
.denti-back-to-catalog { margin-top: 1.5rem; font-size: .9rem; font-weight: 600; }
.denti-back-to-catalog a { color: var(--denti-green); text-decoration: none; }
.denti-back-to-catalog a:hover { text-decoration: underline; }

/* Technical Section */
.denti-native-product-technical { border-top: 1px solid #e5e9ec; padding-block: 2.5rem; margin-top: 2rem; }
.denti-native-product-technical > h2 { font-size: clamp(1.4rem, 2vw, 1.8rem); line-height: 1.2; margin-bottom: 1.25rem; color: #0f172a; }
.denti-product-description-body { max-width: 75ch; color: #334155; line-height: 1.65; font-size: .95rem; margin-bottom: 1.5rem; }
.denti-pdf-link { display: inline-flex; align-items: center; gap: .5rem; margin-block: .5rem; }

/* Related Products Grid */
.denti-native-product-related { border-top: 1px solid #e5e9ec; padding-block: 2.5rem; }
.denti-native-product-related-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.denti-native-product-related-heading h2 { font-size: clamp(1.4rem, 2vw, 1.8rem); margin: 0; color: #0f172a; }
.denti-native-product-related-heading a { color: var(--denti-green); text-decoration: none; font-weight: 600; font-size: .9rem; }
.denti-native-product-related-heading a:hover { text-decoration: underline; }
.denti-related-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; margin-top: 0; }
.denti-related-grid .denti-store-card { box-shadow: 0 2px 6px rgba(0,0,0,0.03); }

/* Responsive Media Queries */
@media (max-width: 950px) {
  .denti-native-product-hero { grid-template-columns: 1fr; gap: 2rem; }
  .denti-native-product-media { min-height: 300px; padding: 1.5rem; }
  .denti-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .denti-native-product-media { min-height: 280px; padding: 1.25rem; }
  .denti-native-product-media img { max-height: 240px; }
  .denti-media-category-badge { top: .85rem; left: .85rem; font-size: .72rem; padding: .25rem .65rem; }
  .denti-product-main-title { font-size: 1.6rem; }
  .denti-native-product-facts-grid { grid-template-columns: 1fr 1fr; }
  .denti-native-product-purchase { padding: 1.25rem; }
  .denti-native-product-purchase-row { flex-wrap: wrap; }
  .denti-qty-box { flex: 1 1 100%; }
  .denti-qty-box input { width: 100%; }
  .denti-native-product-purchase-row button.denti-button { flex: 1 1 100%; }
  .denti-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
}
