/* ===== LAYOUT CARD ===== */
.layout-card {
    display: grid;
    grid-template-columns: minmax(480px, 600px) 1fr;
    grid-template-rows: auto auto;
    grid-template-areas: "content content" "media actions";
    gap: 32px;
    padding: 32px;
    margin-bottom: 30px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0,0,0,.06);
    transition: box-shadow .3s, transform .3s, border-color .3s;
}

.layout-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 20px 48px rgba(0,0,0,.12);
}

.layout-media {
    grid-area: media;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.layout-content {
    grid-area: content;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.layout-actions {
    grid-area: actions;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ===== MEDYA ===== */
.layout-media-image {
    width: 100%;
    background: #f4f4f4;
    border-radius: 12px;
    overflow: hidden;
}

.layout-media-image > img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.layout-media-actions {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.layout-toggle, .layout-media-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 500;
    border-radius: 10px;
    border: 1px solid #d0d0d0;
    background: #fff;
    cursor: pointer;
    text-decoration: none;
    transition: all .25s;
}

.layout-toggle[data-target="day"].active { background: #ffe08a; border-color: #f5c542; color: #5a4300; }
.layout-toggle[data-target="night"].active { background: #1e2a44; color: #fff; }
.layout-media-btn:hover { background: rgba(0,0,0,.04); border-color: #111; }

/* ===== İÇERİK ===== */
.layout-title {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
}

.layout-desc {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
    text-align: justify;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===== SPEC STRIP ===== */
.card-spec-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
    padding: 14px 18px;
    text-align: center;
    background: #fff;
}

.card-spec-inline {
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

.spec-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.spec-item i {
    font-size: 18px;
    color: #666;
}

.spec-text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.spec-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .4px;
    color: #777;
    text-transform: uppercase;
}

.spec-value {
    font-size: 14px;
    font-weight: 600;
    color: #222;
}

/* ===== THUMBNAILS ===== */
.layout-thumb-strip {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.layout-thumb {
    width: 64px;
    height: 48px;
    border-radius: 6px;
    border: 1px solid #ddd;
    overflow: hidden;
    cursor: pointer;
    transition: all .25s;
}

.layout-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.layout-thumb:hover {
    border-color: #111;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0,0,0,.12);
}

.layout-thumb.active {
    border-color: #0b3a6e;
    box-shadow: 0 0 0 2px rgba(11,58,110,.25);
}

/* ===== CTA BUTTONS ===== */
.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    color: #222;
    background: transparent;
    border: 1px solid #d0d0d0;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    transition: all .25s;
}

.cta-btn:hover {
    color: #111;
    border-color: #111;
    background: rgba(0,0,0,.02);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
}

.cta-primary {
    background: #0b3a6e !important;
    color: #fff !important;
    border-color: #0b3a6e;
}

.cta-primary:hover {
    background: #082c55 !important;
    box-shadow: 0 12px 32px rgba(11,58,110,.35);
    transform: translateY(-2px);
}

/* ===== FİYAT CARD (TÜM FİYATLAR İÇİN) ===== */
.price-card {
    flex: 1 1 280px;
    max-width: 360px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,.06);
    transition: all .3s;
    text-align: center;
}

.price-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
    transform: translateY(-2px);
}

/* Variant header (sadece variantlı için) */
.price-card-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 1px dashed #e5e7eb;
}

.price-card-header img {
    width:300px;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.price-card-variant-name {
    font-size: 16px;
    font-weight: 700;
    color: #111;
}

/* Price sections */
.price-section-main {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.price-section-title {
    font-size: 11px;
    text-transform: uppercase;
    color: #6b7280;
    letter-spacing: 0.8px;
    font-weight: 600;
}

.price-section-value {
    font-size: 32px;
    font-weight: 800;
    color: #0b3a6e;
    line-height: 1.1;
}

.price-section-meta {
    font-size: 13px;
    color: #6b7280;
    margin-top: 4px;
}

.price-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, #e5e7eb 20%, #e5e7eb 80%, transparent);
    margin: 4px 0;
}

.price-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 4px;
}

.price-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-detail-label {
    font-size: 13px;
    color: #6b7280;
    text-align: left;
}

.price-detail-value {
    font-size: 15px;
    font-weight: 700;
    color: #111;
}

.price-card-cta {
    margin-top: auto;
}

.price-card-cta .cta-btn {
    width: 100%;
}

/* ===== RESPONSIVE ===== */

@media (min-width: 1200px) and (max-width: 1440px) {
    .layout-card {
        grid-template-columns: minmax(450px, 550px) 1fr;
    }

    .price-card {
        flex: 1 1 260px;
        max-width: 340px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .layout-card {
        grid-template-columns: 1fr;
        grid-template-areas: "media" "content" "actions";
        gap: 24px;
        padding: 24px;
    }

    .layout-actions {
        justify-content: center;
    }

    .price-card {
        flex: 1 1 280px;
        max-width: 320px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .layout-card {
        grid-template-columns: 1fr;
        grid-template-areas: "media" "content" "actions";
        gap: 20px;
        padding: 20px;
    }

    .layout-actions {
        justify-content: center;
    }

    .price-card {
        flex: 1 1 100%;
        max-width: 480px;
    }
}

@media (max-width: 767px) {
    .layout-card {
        grid-template-columns: 1fr;
        grid-template-areas: "media" "content" "actions";
        gap: 18px;
        padding: 18px;
    }

    .layout-actions {
        flex-direction: column;
    }

    .price-card {
        flex: 1 1 100%;
        max-width: 100%;
    }
}
