:root {
    --rt-primary: #1d4ed8;
    --rt-primary-dark: #1e40af;
    --rt-text: #0f172a;
    --rt-muted: #64748b;
    --rt-border: #d9e2ef;
    --rt-soft: #f4f7fb;
    --rt-white: #ffffff;
}

* {
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    margin: 0;
    background: var(--rt-soft);
    color: var(--rt-text);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 14px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
}

.navbar {
    min-height: 58px;
    padding-top: 8px;
    padding-bottom: 8px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-weight: 800;
    color: var(--rt-text);
    text-decoration: none;
}

.brand:hover {
    color: var(--rt-primary);
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: var(--rt-primary);
    color: var(--rt-white);
    font-weight: 900;
}

.intro-panel {
    padding: 18px 20px;
    border: 1px solid var(--rt-border);
    border-radius: 14px;
    background: var(--rt-white);
}

.intro-panel h1 {
    margin: 0 0 6px;
    font-size: 22px;
    font-weight: 800;
}

.intro-panel p {
    max-width: 820px;
    margin: 0;
    color: var(--rt-muted);
    line-height: 1.55;
}

.product-card {
    overflow: hidden;
    border: 1px solid var(--rt-border);
    border-radius: 14px;
    background: var(--rt-white);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}

.product-image-link {
    display: block;
    background: #f8fafc;
}

.product-image {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.product-card-body {
    padding: 14px;
}

.product-card h2 {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.3;
}

.product-card p {
    min-height: 62px;
    margin: 0 0 12px;
    color: var(--rt-muted);
    line-height: 1.45;
}

.product-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.product-price,
.detail-price {
    color: var(--rt-primary);
    font-size: 16px;
    font-weight: 900;
    white-space: nowrap;
}

.detail-image-card,
.detail-panel,
.content-section {
    border: 1px solid var(--rt-border);
    border-radius: 14px;
    background: var(--rt-white);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}

.detail-image-card {
    padding: 12px;
}

.detail-image {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 10px;
}

.detail-panel,
.content-section {
    padding: 18px;
}

.detail-panel h1 {
    margin: 0 0 8px;
    font-size: 22px;
    font-weight: 850;
    line-height: 1.25;
}

.content-section h2 {
    margin: 0 0 12px;
    font-size: 17px;
    font-weight: 850;
}

.product-description {
    color: #334155;
    line-height: 1.65;
}

.product-video {
    display: block;
    width: 100%;
    max-height: 520px;
    border-radius: 12px;
    background: #000000;
}

.video-placeholder,
.bank-hidden-box {
    padding: 16px;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    background: #f8fafc;
    color: var(--rt-muted);
}

.purchase-form .form-label {
    font-size: 13px;
    font-weight: 700;
    color: #334155;
}

.btn-primary {
    background: var(--rt-primary);
    border-color: var(--rt-primary);
}

.btn-primary:hover,
.btn-primary:focus {
    background: var(--rt-primary-dark);
    border-color: var(--rt-primary-dark);
}

.site-footer {
    margin-top: 28px;
    text-align: center;
}

/* Banka bilgileri */
.bank-info-content {
    display: grid;
    gap: 8px;
}

.bank-info-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid #d9e2ef;
    border-radius: 10px;
    background: #ffffff;
}

.bank-info-text {
    min-width: 0;
}

.bank-info-label {
    display: block;
    margin-bottom: 2px;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
}

.bank-info-value {
    display: block;
    color: #0f172a;
    font-size: 14px;
    font-weight: 800;
    word-break: break-word;
}

.bank-copy-button {
    white-space: nowrap;
}

/* Sepet */
.product-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-inline-message {
    font-weight: 700;
}

.cart-list {
    display: grid;
    gap: 12px;
}

.cart-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 12px;
    border: 1px solid #d9e2ef;
    border-radius: 12px;
    background: #ffffff;
}

.cart-item-main {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
}

.cart-item-image {
    width: 88px;
    height: 88px;
    flex: 0 0 auto;
    border: 1px solid #d9e2ef;
    border-radius: 10px;
    object-fit: cover;
    background: #f8fafc;
}

.cart-item h2 {
    margin: 0 0 5px;
    font-size: 15px;
    font-weight: 850;
}

.cart-item p {
    margin: 0 0 4px;
    color: #64748b;
    line-height: 1.45;
}

.cart-item-side {
    display: grid;
    justify-items: end;
    gap: 8px;
    width: 180px;
    flex: 0 0 auto;
}

.cart-item-side-compact {
    align-self: stretch;
    align-content: space-between;
}

.cart-trash-button {
    min-width: 38px;
    font-size: 16px;
    line-height: 1;
}

.cart-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px;
    border: 1px solid #d9e2ef;
    border-radius: 12px;
    background: #f8fafc;
}

.cart-summary strong {
    display: block;
    color: #1d4ed8;
    font-size: 20px;
    font-weight: 900;
}

/* İlgili ürünler */
.related-product-card {
    display: block;
    height: 100%;
    padding: 10px;
    border: 1px solid #d9e2ef;
    border-radius: 12px;
    background: #ffffff;
    color: #0f172a;
    text-align: center;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.related-product-card:hover {
    color: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.related-product-card img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    margin-bottom: 8px;
    border-radius: 10px;
    object-fit: cover;
    background: #f8fafc;
}

.related-product-card span {
    display: block;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.3;
}

@media (max-width: 767.98px) {
    body {
        font-size: 13px;
    }

    .intro-panel {
        padding: 14px;
    }

    .intro-panel h1,
    .detail-panel h1 {
        font-size: 19px;
    }

    .product-card-body,
    .detail-panel,
    .content-section {
        padding: 14px;
    }

    .product-card p {
        min-height: auto;
    }

    .product-bottom {
        align-items: stretch;
        flex-direction: column;
    }

    .product-bottom .btn {
        width: 100%;
    }

    .detail-price {
        display: block;
        margin-top: 4px;
    }

    .product-actions {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .product-actions .btn {
        width: 100%;
    }

    .cart-item {
        flex-direction: column;
    }

    .cart-item-main {
        width: 100%;
    }

    .cart-item-side {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    .cart-summary {
        align-items: stretch;
        flex-direction: column;
    }

    .cart-summary .btn {
        width: 100%;
    }
}

@media (max-width: 575.98px) {
    .bank-info-row {
        align-items: stretch;
        flex-direction: column;
    }

    .bank-copy-button {
        width: 100%;
    }
}
