.product-page { background: var(--bg-dark); color: #fff; min-height: 100vh; }
.product-back { color: var(--text-secondary); text-decoration: none; font-size: 0.78rem; font-weight: 700; }
.product-back:hover { color: var(--zetta-blue); }
.product-nav-actions { display: flex; align-items: center; gap: 14px; }
.product-header-cart { position: relative; width: 38px; height: 38px; display: grid; place-items: center; color: #fff; text-decoration: none; border: 1px solid rgba(255,255,255,0.1); border-radius: 10px; background: rgba(255,255,255,0.04); }
.product-header-cart:hover { color: #fff; border-color: rgba(14,165,233,0.35); }
.product-header-cart > span { position: absolute; top: -6px; right: -6px; min-width: 19px; height: 19px; padding: 0 5px; display: grid; place-items: center; border: 2px solid var(--bg-dark); border-radius: 999px; color: #fff; background: #ef4444; font-size: 0.61rem; font-weight: 800; }
.product-header-cart.empty > span { display: none; }
.product-detail-shell { padding: 28px 0 58px; min-height: 72vh; }
.product-breadcrumb { display: flex; align-items: center; gap: 8px; color: var(--text-secondary); font-size: 0.72rem; margin-bottom: 18px; }
.product-breadcrumb a { color: var(--zetta-blue); text-decoration: none; }
.product-breadcrumb i { font-size: 0.55rem; }
.product-loading { min-height: 420px; display: flex; align-items: center; justify-content: center; gap: 9px; color: var(--text-secondary); }
.product-detail-card { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr); gap: 36px; background: var(--card-bg); border: 1px solid rgba(255,255,255,0.07); border-radius: 18px; padding: 28px; }
.product-main-image-wrap { position: relative; background: #fff; border-radius: 14px; overflow: hidden; aspect-ratio: 1 / 1; display: grid; place-items: center; }
.product-main-image-wrap > #detailMainImage {
    position: absolute;
    inset: 18px;
    width: calc(100% - 36px);
    height: calc(100% - 36px) !important;
    max-width: calc(100% - 36px);
    max-height: calc(100% - 36px);
    object-fit: contain !important;
    object-position: center;
    padding: 0;
}
.detail-offer { display: none; position: absolute; z-index: 2; left: 14px; top: 14px; padding: 6px 10px; border-radius: 999px; color: #fff; background: #ef4444; font-size: 0.74rem; font-weight: 800; }
.detail-offer.visible { display: inline-flex; }
.product-thumbnails { display: flex; gap: 9px; overflow-x: auto; margin-top: 12px; padding-bottom: 3px; }
.product-thumbnail { width: 72px; height: 72px; flex: 0 0 72px; border: 2px solid transparent; border-radius: 10px; background: #fff; padding: 4px; overflow: hidden; cursor: pointer; }
.product-thumbnail.active { border-color: var(--zetta-blue); }
.product-thumbnail img { width: 100%; height: 100%; object-fit: contain; }
.product-info-panel { display: flex; flex-direction: column; justify-content: center; }
.detail-category { color: var(--zetta-blue); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.7rem; font-weight: 800; }
.product-info-panel h1 { font-family: 'DM Serif Display', serif; font-size: clamp(1.8rem, 4vw, 2.65rem); line-height: 1.08; margin: 9px 0 17px; }
.detail-pricing { display: flex; align-items: baseline; flex-wrap: wrap; gap: 7px 12px; padding-bottom: 15px; border-bottom: 1px solid rgba(255,255,255,0.07); }
.detail-pricing strong { color: var(--zetta-blue); font-size: 1.7rem; }
.detail-old-price { color: var(--text-secondary); text-decoration: line-through; font-size: 0.82rem; }
.detail-saving { color: #4ade80; font-size: 0.74rem; font-weight: 700; }
.detail-facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 15px 0; }
.detail-fact { display: inline-flex; align-items: center; gap: 6px; color: #dbeafe; background: rgba(14,165,233,0.09); border: 1px solid rgba(14,165,233,0.16); border-radius: 8px; padding: 7px 9px; font-size: 0.74rem; }
.detail-fact.low { color: #fbbf24; background: rgba(245,158,11,0.08); border-color: rgba(245,158,11,0.18); }
.detail-fact.sold { color: #f87171; background: rgba(239,68,68,0.08); border-color: rgba(239,68,68,0.18); }
.detail-variants { margin-bottom: 14px; }
.detail-variants > span { display: block; color: var(--text-secondary); font-size: 0.72rem; font-weight: 700; margin-bottom: 8px; }
#detailVariantOptions { display: flex; flex-wrap: wrap; gap: 8px; }
.detail-variant { border: 1px solid rgba(255,255,255,0.12); color: #fff; background: rgba(255,255,255,0.035); border-radius: 9px; padding: 8px 10px; font-size: 0.72rem; font-weight: 700; }
.detail-variant.active { border-color: var(--zetta-blue); background: rgba(14,165,233,0.12); }
.detail-variant:disabled { opacity: 0.45; }
.detail-description { color: var(--text-secondary); line-height: 1.65; font-size: 0.88rem; margin: 0 0 20px; }
.detail-actions { display: grid; grid-template-columns: 1.25fr 1fr; gap: 10px; }
.detail-cart-button, .detail-whatsapp { min-height: 48px; border: none; border-radius: 10px; display: flex; justify-content: center; align-items: center; gap: 8px; font-weight: 800; text-decoration: none; }
.detail-cart-button { background: linear-gradient(135deg, #0ea5e9, #2563eb); color: #fff; }
.detail-cart-button.added { background: #047857; }
.detail-cart-button:disabled { opacity: 0.5; cursor: not-allowed; }
.detail-whatsapp { color: #4ade80; border: 1px solid rgba(74,222,128,0.3); background: rgba(34,197,94,0.08); }
.detail-share { align-self: flex-start; color: var(--text-secondary); border: 0; background: transparent; margin-top: 13px; padding: 5px 0; font-size: 0.74rem; }
.detail-share:hover { color: #fff; }
.detail-message { min-height: 18px; color: #4ade80; font-size: 0.74rem; margin-top: 8px; }
.detail-cart-summary { position: fixed; z-index: 40; right: 22px; bottom: 22px; min-width: 235px; display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 11px; padding: 11px 14px; color: #fff; text-decoration: none; border: 1px solid rgba(14,165,233,0.3); border-radius: 14px; background: linear-gradient(135deg, rgba(3,7,18,0.97), rgba(10,22,45,0.97)); box-shadow: 0 14px 38px rgba(0,0,0,0.38); }
.detail-cart-summary[hidden] { display: none; }
.detail-cart-summary:hover { color: #fff; border-color: var(--zetta-blue); transform: translateY(-2px); }
.detail-cart-summary-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 11px; color: #fff; background: linear-gradient(135deg, #0ea5e9, #2563eb); }
.detail-cart-summary strong, .detail-cart-summary small { display: block; }
.detail-cart-summary strong { font-size: 0.78rem; }
.detail-cart-summary small { color: var(--text-secondary); font-size: 0.66rem; margin-top: 2px; }
.detail-cart-summary > .bi-arrow-right { color: var(--zetta-blue); }
.product-related { margin-top: 46px; }
.product-related-head { display: flex; align-items: end; justify-content: space-between; margin-bottom: 17px; }
.product-related-head span { color: var(--zetta-blue); font-size: 0.68rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.09em; }
.product-related-head h2 { font-family: 'DM Serif Display', serif; font-size: 1.5rem; margin: 3px 0 0; }
.product-related-head a { color: var(--text-secondary); text-decoration: none; font-size: 0.76rem; }
.product-related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; }
.product-related-card { display: block; color: #fff; text-decoration: none; background: var(--card-bg); border: 1px solid rgba(255,255,255,0.06); border-radius: 12px; overflow: hidden; }
.product-related-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; background: #fff; padding: 10px; }
.product-related-card div { padding: 12px; }
.product-related-card strong { display: block; font-size: 0.76rem; line-height: 1.3; min-height: 2.6em; }
.product-related-card span { display: block; color: var(--zetta-blue); font-weight: 800; font-size: 0.8rem; margin-top: 7px; }
.product-not-found { text-align: center; padding: 80px 20px; }
.product-not-found > i { font-size: 2rem; color: var(--zetta-blue); }
.product-not-found h1 { font-family: 'DM Serif Display', serif; margin: 15px 0 7px; }
.product-not-found p { color: var(--text-secondary); }
.product-not-found a { display: inline-block; background: var(--zetta-blue); color: #00111c; text-decoration: none; border-radius: 9px; padding: 10px 16px; font-weight: 800; }
@media (max-width: 900px) {
    .product-detail-card { grid-template-columns: 1fr; gap: 24px; }
    .product-main-image-wrap { max-height: 560px; }
}
@media (max-width: 575px) {
    .product-detail-shell { padding-top: 18px; }
    .product-back { font-size: 0; }
    .product-back i { font-size: 1rem; }
    .product-nav-actions { gap: 9px; }
    .product-detail-card { padding: 14px; border-radius: 14px; }
    .product-info-panel h1 { font-size: 1.65rem; }
    .detail-actions { grid-template-columns: 1fr; }
    .product-related-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
    .detail-cart-summary { left: 12px; right: 12px; bottom: 12px; min-width: 0; }
}
