.premium-product-detail { padding-top: .5rem; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.2rem;
  color: var(--premium-green, #234e32);
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  padding: 0.5rem 1rem;
  background: rgba(35, 78, 50, 0.06);
  border: 1px solid rgba(35, 78, 50, 0.15);
  border-radius: 12px;
  transition: all 0.2s ease;
}

.back-link:hover {
  background: var(--premium-green, #234e32);
  color: #ffffff;
  transform: translateX(-3px);
}
.detail-panel { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 2rem; padding: clamp(1rem, 3vw, 2rem); border: 1px solid var(--premium-line); border-radius: 18px; background: var(--premium-white); }
.detail-gallery { min-width: 0; overflow: hidden; border-radius: 14px; background: #e5ebe3; }
.detail-gallery .carousel, .detail-gallery .carousel-inner, .detail-gallery .carousel-item { height: 100%; min-height: 460px; }
.detail-image-trigger { display: block; width: 100%; height: 100%; min-height: inherit; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.detail-gallery img, .detail-main-image { display: block; width: 100%; height: 100%; min-height: 460px; object-fit: contain; object-position: center; }
.product-image-modal .modal-content { border: 0; background: #101410; }
.product-image-modal .modal-header { justify-content: flex-end; border: 0; }
.product-image-modal .modal-body { display: grid; min-height: 50vh; place-items: center; padding: 0 1rem 1rem; }
.product-image-modal img { display: block; max-width: 100%; max-height: 80vh; object-fit: contain; }
.detail-copy { display: flex; flex-direction: column; justify-content: center; padding: .5rem 0; }
.detail-kicker { color: var(--premium-orange); font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.detail-copy h1 { margin: .7rem 0 .8rem; color: var(--premium-ink); font-family: "Playfair Display", serif; font-size: clamp(2rem, 4vw, 3.6rem); line-height: 1.05; }
.detail-store { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--premium-line); color: var(--premium-muted); font-size: .9rem; font-weight: 700; }
.detail-price { display: flex; align-items: center; flex-wrap: wrap; gap: .65rem; margin: 1.35rem 0 1rem; }
.detail-price strong { color: var(--premium-green); font-size: 1.8rem; }
.detail-price del { color: #8b968e; }
.sale-badge { padding: .35rem .55rem; border-radius: 999px; color: #fff; background: var(--premium-orange); font-size: .72rem; font-weight: 800; }
.detail-description, .rich-description { color: #5b6860; line-height: 1.75; }
.detail-stats { display: flex; flex-wrap: wrap; gap: 1rem; margin: 1rem 0; color: var(--premium-muted); font-size: .82rem; font-weight: 700; }
.detail-stats i { color: var(--premium-orange); }
.detail-actions { display: flex; gap: .65rem; margin: 1rem 0 1.2rem; }
.detail-cart-button { display: inline-flex; flex: 1; align-items: center; justify-content: center; gap: .5rem; min-height: 46px; border-radius: 9px; color: #fff; background: var(--premium-green); font-weight: 800; text-decoration: none; }
.detail-cart-button:hover { color: #fff; background: var(--premium-green-dark); }
.detail-contact-button { display: inline-flex; flex: 1; align-items: center; justify-content: center; gap: .5rem; min-height: 46px; border: 0; border-radius: 9px; color: #fff; background: var(--premium-orange); font-weight: 800; }
.detail-contact-button:hover { color: #fff; background: #a96019; }
.detail-like-button { display: inline-flex; min-width: 58px; align-items: center; justify-content: center; gap: .35rem; border: 1px solid #d3dbd2; border-radius: 9px; color: var(--premium-green); background: #f3f6f1; font-weight: 800; }
.detail-like-button.liked { color: #b84b3d; background: #fff0ed; }
.seller-note { display: flex; gap: .7rem; padding: .9rem; border-radius: 10px; color: var(--premium-green); background: #f0f5e9; }
.seller-note i { font-size: 1.25rem; }
.seller-note strong, .seller-note span { display: block; }.seller-note span { margin-top: .2rem; color: var(--premium-muted); font-size: .8rem; }
.detail-lower { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 1rem; margin-top: 1.25rem; }
.detail-lower > div, .detail-lower > aside, .recommendations { padding: 1.35rem; border: 1px solid var(--premium-line); border-radius: 14px; background: var(--premium-white); }
.detail-lower h2, .recommendations h2 { margin: 0 0 .8rem; color: var(--premium-ink); font-family: "Playfair Display", serif; font-size: 1.35rem; }
.detail-lower aside { color: var(--premium-muted); }.review-count { display: block; color: var(--premium-green); font-size: 2rem; }.text-link { display: block; margin-top: 1rem; color: var(--premium-green); font-size: .82rem; font-weight: 800; text-decoration: none; }
.recommendations { margin-top: 1.25rem; }.recommendation-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }.recommendation-card { overflow: hidden; border: 1px solid var(--premium-line); border-radius: 10px; color: var(--premium-ink); background: #fff; text-decoration: none; }.recommendation-card img { display: block; width: 100%; aspect-ratio: 1.2; object-fit: cover; }.recommendation-card strong, .recommendation-card span { display: block; padding: .6rem .7rem 0; }.recommendation-card span { padding-top: .2rem; padding-bottom: .7rem; color: var(--premium-green); font-size: .85rem; font-weight: 800; }
.detail-tabs-panel { margin-top: 1.25rem; overflow: hidden; border: 1px solid var(--premium-line); border-radius: 14px; background: var(--premium-white); }
.detail-tabs { display: flex; gap: 1.25rem; padding: 0 1.35rem; margin: 0; border-bottom: 1px solid var(--premium-line); list-style: none; }
.detail-tab { position: relative; padding: 1rem 0 .8rem; border: 0; color: var(--premium-muted); background: transparent; font-weight: 800; }
.detail-tab.active { color: var(--premium-green); }
.detail-tab.active::after { position: absolute; right: 0; bottom: -1px; left: 0; height: 3px; content: ""; background: var(--premium-orange); }
.tab-count { display: inline-flex; min-width: 1.4rem; justify-content: center; margin-left: .25rem; padding: .15rem .35rem; border-radius: 999px; color: var(--premium-green); background: #edf3df; font-size: .72rem; }
.detail-tab-content { padding: 1.35rem; }.detail-tab-pane[hidden] { display: none; }
.review-list { display: grid; gap: 1rem; }.review-item { display: flex; gap: .75rem; padding-bottom: 1rem; border-bottom: 1px solid var(--premium-line); }.review-avatar { display: grid; flex: 0 0 36px; width: 36px; height: 36px; place-items: center; border-radius: 50%; color: #fff; background: var(--premium-green); font-weight: 800; }.review-body { flex: 1; min-width: 0; }.review-heading { display: flex; justify-content: space-between; gap: 1rem; }.review-stars { color: var(--premium-orange); letter-spacing: .08em; }.review-body p { margin: .35rem 0; color: #5b6860; line-height: 1.6; }.review-body small { color: var(--premium-muted); }.empty-review { padding: 1rem 0; color: var(--premium-muted); text-align: center; }.empty-review i { color: var(--premium-orange); font-size: 1.7rem; }.empty-review p { margin: .4rem 0 0; }.review-action-link { display: inline-flex; gap: .35rem; align-items: center; margin-top: 1rem; color: var(--premium-green); font-size: .84rem; font-weight: 800; text-decoration: none; }
.premium-review-form { margin-top: 1.35rem; padding-top: 1.2rem; border-top: 1px solid var(--premium-line); }
.premium-review-form h3 { margin: 0 0 .9rem; color: var(--premium-ink); font-family: "Playfair Display", serif; font-size: 1.15rem; }
.review-form-grid { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: .65rem .8rem; align-items: center; }
.review-form-grid label { color: var(--premium-muted); font-size: .82rem; font-weight: 800; }
.review-form-grid select, .review-form-grid textarea { width: 100%; border: 1px solid var(--premium-line); border-radius: 8px; color: var(--premium-ink); background: #fff; padding: .65rem .75rem; }
.review-form-grid textarea { resize: vertical; }
.review-submit-button { display: inline-flex; align-items: center; gap: .4rem; margin-top: .9rem; padding: .7rem 1rem; border: 0; border-radius: 8px; color: #fff; background: var(--premium-green); font-weight: 800; }
.review-submit-button:hover { background: var(--premium-green-dark); }
.seller-modal { overflow: hidden; border: 1px solid var(--premium-line); border-radius: 16px; }
.seller-modal .modal-header { color: #fff; background: var(--premium-green); }
.seller-modal .modal-title { color: #fff; font-family: "Playfair Display", serif; font-size: 1.35rem; }
.seller-modal .modal-body { padding: 1.35rem; }
.seller-modal-name { display: flex; align-items: center; gap: .65rem; padding-bottom: 1rem; margin-bottom: .5rem; border-bottom: 1px solid var(--premium-line); color: var(--premium-green); font-size: 1.1rem; }
.seller-modal-name i { font-size: 1.35rem; color: var(--premium-orange); }
.seller-detail-row { display: flex; gap: .75rem; padding: .8rem 0; border-bottom: 1px solid #edf0eb; }
.seller-detail-row:last-child { border-bottom: 0; }
.seller-detail-row > i { width: 1.2rem; padding-top: .15rem; color: var(--premium-orange); font-size: 1.05rem; }
.seller-detail-row small, .seller-detail-row span, .seller-detail-row a { display: block; }
.seller-detail-row small { margin-bottom: .15rem; color: var(--premium-muted); font-size: .75rem; font-weight: 800; text-transform: uppercase; }
.seller-detail-row span, .seller-detail-row a { color: var(--premium-ink); font-size: .92rem; }
.seller-detail-row a { font-weight: 700; text-decoration: none; }
@media (max-width: 800px) { .detail-panel, .detail-lower { grid-template-columns: 1fr; }.detail-gallery .carousel, .detail-gallery .carousel-inner, .detail-gallery .carousel-item, .detail-gallery img, .detail-main-image { min-height: 340px; }.recommendation-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .detail-panel { gap: 1rem; padding: .75rem; }.detail-gallery .carousel, .detail-gallery .carousel-inner, .detail-gallery .carousel-item, .detail-gallery img, .detail-main-image { min-height: 260px; max-height: 300px; }.detail-copy h1 { font-size: 2rem; }.detail-store { flex-direction: column; gap: .35rem; }.detail-description { font-size: .92rem; }.detail-actions { flex-direction: column; }.detail-like-button { min-height: 44px; }.recommendation-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .review-form-grid { grid-template-columns: 1fr; gap: .35rem; }.review-form-grid label { margin-top: .35rem; } }
