/* UnLost — product_detail.html page styles */

.product-detail {
    padding: 40px 0 80px;
    max-width: 1100px;
}

.product-detail__grid {
    display: grid;
    grid-template-columns: minmax(0, 460px) 1fr;
    gap: 60px;
    align-items: start;
}

@media (max-width: 860px) {
    .product-detail__grid { grid-template-columns: 1fr; gap: 36px; }
}

/* ---- IMAGE PANEL ---- */
.product-images {
    width: 100%;
}

.product-images__main {
    width: 100%;
    max-width: 460px;
    aspect-ratio: 1 / 1;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--warm-white);
    position: relative;
    margin-bottom: 12px;
    border: 1.5px solid var(--rule);
}

.product-images__main img {
    width: 100%;
    height: 100%;
    object-fit: scale-down;
    object-position: center top;
}

.product-images__no-img {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--mid);
    background: var(--parchment);
}

.product-images__no-img svg { width: 48px; height: 48px; opacity: 0.4; }

.product-images__no-img p {
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

/* QR Badge overlay */
.qr-badge {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: var(--navy);
    color: var(--cream);
    padding: 10px 14px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    box-shadow: 0 4px 16px rgba(26,39,68,0.3);
}

.qr-badge svg { width: 20px; height: 20px; }

/* ---- INFO PANEL ---- */
.product-info {}

.product-info__category {
    font-family: var(--font-mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--beacon);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-info__category::before {
    content: '';
    width: 20px;
    height: 1.5px;
    background: var(--beacon);
}

.product-info__name {
    font-family: var(--font-display);
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 900;
    color: var(--navy);
    line-height: 1.05;
    margin-bottom: 20px;
}

.product-info__price {
    font-family: var(--font-mono);
    font-size: 26px;
    font-weight: 700;
    color: var(--beacon);
    margin-bottom: 24px;
}

.product-info__price-label {
    font-size: 13px;
    color: var(--mid);
    font-weight: 400;
    margin-right: 6px;
}

.product-info__desc {
    font-size: 15px;
    line-height: 1.75;
    color: #444;
    margin-bottom: 28px;
}

/* VARIATION SELECTOR */
.variation-label {
    font-family: var(--font-mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--mid);
    margin-bottom: 10px;
}

.variation-label strong { color: var(--ink); margin-left: 6px; }

.variations {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}

.variation-btn {
    padding: 10px 18px;
    border: 1.5px solid var(--rule);
    border-radius: var(--radius);
    background: #fff;
    cursor: pointer;
    font-family: var(--font-mono);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ink);
    transition: border-color 0.15s, background 0.15s, color 0.15s;
    position: relative;
}

.variation-btn:hover {
    border-color: var(--navy);
}

.variation-btn.selected {
    border-color: var(--navy);
    background: var(--navy);
    color: var(--cream);
}

.variation-btn.out-of-stock {
    opacity: 0.4;
    cursor: not-allowed;
    text-decoration: line-through;
}

.variation-price {
    display: block;
    font-size: 10px;
    color: var(--beacon);
    margin-top: 2px;
}

.variation-btn.selected .variation-price { color: rgba(250,247,242,0.7); }

/* QTY + ADD TO CART */
.add-to-cart-row {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 24px;
}

.qty-control {
    display: flex;
    align-items: center;
    border: 1.5px solid var(--rule);
    border-radius: var(--radius);
    overflow: hidden;
}

.qty-control button {
    width: 40px;
    height: 48px;
    background: var(--warm-white);
    border: none;
    cursor: pointer;
    font-size: 18px;
    color: var(--ink);
    transition: background 0.15s;
    flex-shrink: 0;
}

.qty-control button:hover { background: var(--parchment); }

.qty-control input {
    width: 50px;
    height: 48px;
    text-align: center;
    border: none;
    border-left: 1.5px solid var(--rule);
    border-right: 1.5px solid var(--rule);
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 700;
    outline: none;
    color: var(--ink);
}

.add-to-cart-btn {
    flex: 1;
    height: 48px;
    padding: 0 24px;
}

/* TRUST SIGNALS */
.trust-signals {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 28px;
}

.trust-item {
    background: var(--warm-white);
    padding: 14px 12px;
    border-radius: var(--radius);
    text-align: center;
    border: 1px solid var(--rule);
}

.trust-item svg {
    width: 20px; height: 20px;
    color: var(--beacon);
    margin: 0 auto 6px;
}

.trust-item p {
    font-family: var(--font-mono);
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--mid);
    line-height: 1.4;
}

/* TABS */
.product-tabs {
    margin-top: 60px;
}

.tab-nav {
    display: flex;
    border-bottom: 2px solid var(--rule);
    gap: 0;
    margin-bottom: 32px;
}

.tab-btn {
    font-family: var(--font-mono);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--mid);
    padding: 12px 22px;
    border: none;
    background: transparent;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: color 0.15s, border-color 0.15s;
}

.tab-btn:hover { color: var(--navy); }
.tab-btn.active { color: var(--navy); border-bottom-color: var(--beacon); }

.tab-panel { display: none; }
.tab-panel.active { display: block; }

.tab-panel p {
    font-size: 15px;
    line-height: 1.8;
    color: #444;
}

/* TESTIMONIALS */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.testimonial-card {
    background: var(--warm-white);
    border: 1.5px solid var(--rule);
    border-radius: var(--radius);
    padding: 24px;
}

.testimonial-stars {
    color: var(--gold);
    font-size: 14px;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.testimonial-quote {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 16px;
    color: var(--navy);
    line-height: 1.5;
    margin-bottom: 14px;
}

.testimonial-author {
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--mid);
}