/* ===================================================
   KOS – Satış Bölümleri CSS  |  Siyah & Beyaz Tema
   WooCommerce ürün sayfasına eklenir
   =================================================== */

.kos-wrap *, .kos-wrap *::before, .kos-wrap *::after { box-sizing: border-box; }
.kos-wrap {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: #111;
    line-height: 1.65;
    margin-top: 32px;
}

/* ─── SECTION ─── */
.kos-section { padding: 56px 0; }
.kos-bg-dark  { background: #0a0a0a; color: #fff; padding: 56px 20px; }
.kos-section-title {
    font-size: clamp(1.4rem, 2.8vw, 1.9rem);
    font-weight: 800;
    text-align: center;
    margin: 0 0 36px;
    letter-spacing: -0.5px;
}
.kos-title-light { color: #fff; }

/* ─── INFO STRIP ─── */
.kos-info-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
}
.kos-badge {
    background: #111;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 2px;
}
.kos-shipping-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #f4f4f4;
    border: 1px solid #ddd;
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 0.84rem;
    font-weight: 600;
}
.kos-discount-badge {
    background: #111;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 2px;
}

/* ─── COUNTDOWN ─── */
.kos-countdown-bar {
    background: #111;
    color: #fff;
    padding: 16px 20px;
    text-align: center;
    margin-bottom: 0;
}
.kos-countdown-inner {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    justify-content: center;
}
.kos-countdown-label { font-weight: 700; font-size: 0.9rem; }
.kos-timer { display: flex; align-items: center; gap: 6px; }
.kos-timer-block { text-align: center; }
.kos-timer-block span {
    display: block;
    font-size: 1.8rem;
    font-weight: 900;
    line-height: 1;
    min-width: 50px;
    background: #fff;
    color: #111;
    padding: 5px 8px;
    border-radius: 3px;
}
.kos-timer-block small {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 3px;
    display: block;
    opacity: 0.75;
}
.kos-timer-sep { font-size: 1.8rem; font-weight: 900; line-height: 1; }

/* ─── FEATURES ─── */
.kos-features { padding: 56px 0; }
.kos-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}
.kos-feature-card {
    border: 2px solid #111;
    padding: 24px 20px;
    text-align: center;
    transition: box-shadow .2s;
}
.kos-feature-card:hover { box-shadow: 5px 5px 0 #111; }
.kos-feature-icon { font-size: 1.9rem; display: block; margin-bottom: 10px; }
.kos-feature-card h3 { font-size: 0.95rem; font-weight: 800; margin: 0 0 6px; }
.kos-feature-card p  { font-size: 0.85rem; color: #555; margin: 0; }

/* ─── REVIEWS ─── */
.kos-reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}
.kos-review-card {
    background: #1a1a1a;
    border: 1px solid #333;
    padding: 22px;
    border-radius: 4px;
}
.kos-stars { margin-bottom: 10px; }
.kos-star     { font-size: 1rem; color: #444; }
.kos-star-on  { color: #ffd700; }
.kos-review-text {
    font-size: 0.9rem;
    color: #ccc;
    margin: 0 0 12px;
    font-style: italic;
    line-height: 1.6;
}
.kos-reviewer { font-size: 0.85rem; color: #fff; font-weight: 700; }

/* ─── ORDER FORM ─── */
.kos-order-section { padding: 56px 0; }
.kos-form-subtitle { text-align: center; color: #555; margin: -26px 0 28px; font-size: 0.95rem; }

.kos-out-of-stock {
    background: #fff5f5;
    border: 2px solid #c00;
    color: #c00;
    padding: 16px 20px;
    text-align: center;
    font-weight: 700;
    border-radius: 4px;
}
.kos-low-stock {
    background: #fff8e1;
    border: 2px solid #f0ad4e;
    color: #856404;
    padding: 10px 16px;
    border-radius: 4px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    text-align: center;
}
.kos-success-box {
    background: #f0faf0;
    border: 2px solid #111;
    color: #111;
    padding: 18px 20px;
    border-radius: 4px;
    font-weight: 700;
    margin-bottom: 24px;
    text-align: center;
    font-size: 1.05rem;
}
.kos-error-box {
    background: #fff5f5;
    border: 2px solid #c00;
    color: #c00;
    padding: 12px 18px;
    border-radius: 4px;
    font-weight: 600;
    margin-bottom: 18px;
    font-size: 0.9rem;
}

.kos-form { max-width: 680px; }
.kos-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}
.kos-form-group { display: flex; flex-direction: column; gap: 5px; }
.kos-form-group label { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.2px; }
.kos-form-group small { font-weight: 400; color: #888; font-size: 0.8rem; }
.kos-req { color: #c00; }
.kos-form-group input,
.kos-form-group textarea {
    padding: 10px 13px;
    border: 2px solid #ccc;
    border-radius: 4px;
    font-size: 0.93rem;
    font-family: inherit;
    transition: border-color .15s;
    background: #fff;
    color: #111;
}
.kos-form-group input:focus,
.kos-form-group textarea:focus { outline: none; border-color: #111; }
.kos-form-group textarea { resize: vertical; }
.kos-full-width { grid-column: span 2; }

/* Qty */
.kos-qty-wrap { display: flex; align-items: center; }
.kos-qty-btn {
    width: 38px; height: 42px;
    background: #111; color: #fff;
    border: 2px solid #111;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.kos-qty-btn:hover { background: #333; }
.kos-qty-wrap input[type=number] {
    width: 52px; text-align: center;
    border-left: none; border-right: none;
    border-radius: 0;
    -moz-appearance: textfield;
}
.kos-qty-wrap input[type=number]::-webkit-inner-spin-button { -webkit-appearance: none; }

/* Summary */
.kos-order-summary {
    border: 2px solid #111;
    padding: 18px 22px;
    margin-bottom: 20px;
    border-radius: 4px;
    background: #fafafa;
    max-width: 680px;
}
.kos-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 0.93rem;
    border-bottom: 1px solid #eee;
}
.kos-summary-row:last-child { border-bottom: none; }
.kos-summary-free { font-weight: 700; }
.kos-summary-total { font-size: 1.1rem; font-weight: 900; padding-top: 10px; }
.kos-cod-note {
    display: flex; align-items: center; gap: 5px;
    margin-top: 10px; font-size: 0.8rem; color: #666;
}

/* Button */
.kos-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 15px 28px;
    font-size: 1rem;
    font-weight: 700;
    border: 2px solid #111;
    cursor: pointer;
    transition: background .18s, color .18s, transform .1s;
    border-radius: 4px;
    font-family: inherit;
}
.kos-btn-submit {
    background: #111;
    color: #fff;
    width: 100%;
    max-width: 680px;
    font-size: 1.08rem;
    padding: 16px;
}
.kos-btn-submit:hover:not(:disabled) {
    background: #333;
    transform: translateY(-1px);
}
.kos-btn-submit:disabled { opacity: .7; cursor: not-allowed; }

/* ─── FAQ ─── */
.kos-faq { padding: 56px 0; }
.kos-faq-list { max-width: 680px; }
.kos-faq-item { border-bottom: 2px solid #eee; }
.kos-faq-item:first-child { border-top: 2px solid #eee; }
.kos-faq-q {
    width: 100%; text-align: left;
    background: none; border: none;
    padding: 16px 0; font-size: 0.95rem; font-weight: 700;
    cursor: pointer;
    display: flex; justify-content: space-between; align-items: center; gap: 10px;
    color: #111; font-family: inherit;
}
.kos-faq-icon { font-size: 1.3rem; font-weight: 400; flex-shrink: 0; transition: transform .2s; line-height: 1; }
.kos-faq-item.kos-open .kos-faq-icon { transform: rotate(45deg); }
.kos-faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.kos-faq-item.kos-open .kos-faq-a { max-height: 300px; }
.kos-faq-a p { padding: 0 0 18px; margin: 0; font-size: 0.9rem; color: #555; line-height: 1.7; }

/* ─── RESPONSIVE ─── */
@media (max-width: 640px) {
    .kos-form-grid { grid-template-columns: 1fr; }
    .kos-full-width { grid-column: span 1; }
    .kos-timer-block span { font-size: 1.4rem; min-width: 42px; }
    .kos-section { padding: 40px 0; }
}
