/* ============================
   Product Detail Sayfası CSS
   ============================ */

/* Product detail layout */
.product-hero {
    padding: 18px 0 54px;
}

.product-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 22px;
    align-items: start;
}

/* Breadcrumbs */
.crumbs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
    color: var(--muted);
    font-size: 13px;
}

.crumb:hover {
    color: var(--text);
}

.crumb.current {
    color: var(--text);
    font-weight: 600;
}

.crumb-sep {
    color: #a3a7ae;
}

/* Product heading */
.product-h1 {
    margin: 12px 0 0;
    font-size: 30px;
    letter-spacing: -0.04em;
}

.product-lead {
    margin: 10px 0 0;
    color: var(--muted);
    max-width: 80ch;
}

/* Product preview */
.product-preview {
    margin-top: 16px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    background: #f5f7f7;
}

.product-preview img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    padding: 22px;
}

/* Product sections */
.product-section {
    margin-top: 18px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    background: var(--surface);
    padding: 16px;
}

.h2 {
    margin: 0;
    font-size: 15px;
    letter-spacing: -0.01em;
}

.bullets {
    margin: 12px 0 0;
    padding-left: 18px;
    color: var(--muted);
}

.facts {
    margin-top: 12px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.fact {
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    background: #fbfbfb;
    padding: 12px;
}

.fact-k {
    font-size: 12px;
    color: var(--muted);
}

.fact-v {
    margin-top: 4px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

/* Buy box & Seller box */
.buybox,
.sellerbox,
.summary {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    background: var(--surface);
    padding: 16px;
}

.buy-top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.buy-price {
    font-size: 22px;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.buy-rating {
    color: var(--muted);
    font-size: 13px;
    display: inline-flex;
    gap: 6px;
}

.buy-meta {
    margin-top: 12px;
    display: grid;
    gap: 10px;
}

.kv {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    color: var(--muted);
    font-size: 13px;
}

.kv .v {
    color: var(--text);
    font-weight: 600;
}

.buy-actions {
    margin-top: 14px;
    display: grid;
    gap: 10px;
}

.buy-note {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 12px;
}

.sellerbox {
    margin-top: 12px;
}

.seller-head {
    display: flex;
    gap: 12px;
    align-items: center;
}

.seller-avatar {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: #fff;
}

.seller-name {
    font-weight: 800;
    letter-spacing: -0.02em;
}

.seller-sub {
    color: var(--muted);
    font-size: 13px;
    margin-top: 2px;
}

.seller-stats {
    margin-top: 12px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.stat {
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    background: #fbfbfb;
    padding: 12px;
}

.stat-k {
    font-size: 12px;
    color: var(--muted);
}

.stat-v {
    margin-top: 4px;
    font-weight: 800;
}

/* ============================
   Premium overrides (product)
   ============================ */

.product-section,
.buybox,
.sellerbox,
.summary {
    border-color: rgba(15, 23, 42, 0.10);
}

.product-preview {
    border-radius: 16px;
    border-color: rgba(15, 23, 42, 0.10);
}

.product-preview img {
    padding: 28px;
}

.product-section {
    border-radius: 16px;
    padding: 18px;
}

.fact,
.stat {
    background: rgba(248, 250, 252, 0.65);
    border-color: rgba(15, 23, 42, 0.08);
}

.buy-top {
    border-bottom-color: rgba(15, 23, 42, 0.08);
}

.buy-price {
    font-weight: 950;
    font-size: 24px;
}

/* Responsive (product) */
@media (max-width: 980px) {
    .product-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .facts {
        grid-template-columns: 1fr;
    }
}