/**
 * =============================================================================
 * NUR ENERJİ — ENDÜSTRİYEL EKİPMAN & B2B ÜRÜNLER MİKRO-MODÜLÜ
 * -----------------------------------------------------------------------------
 * @module      : urunler.css
 * @description : Ürün kataloğu, teklif sepeti çekmecesi, teknik özellik tabloları.
 * @version     : 1.0.0
 * =============================================================================
 */

/* ==========================================================================
   1. GÜVENCE VE DEPO SAYAÇ BANDI
   ========================================================================== */
.depo-guvence-bar {
    background: #0f172a;
    padding: 25px 0;
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.guvence-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    align-items: center;
}

.guvence-item {
    text-align: center;
    padding: 10px;
}

.guvence-val {
    font-size: 1.15rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.guvence-lbl {
    font-size: 0.82rem;
    color: #94a3b8;
    font-weight: 500;
}

/* ==========================================================================
   2. KATALOG VE MARKETPLACE DÜZENİ
   ========================================================================== */
.marketplace-wrapper {
    padding: 40px 0 80px;
    background: #f8fafc;
}

.marketplace-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 35px;
    align-items: start;
}

/* Görünüm Modları: Grid / List */
.products-container.mode-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 25px;
}

.products-container.mode-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.products-container.mode-list .product-card-modern {
    display: flex;
    flex-direction: row;
    height: auto;
}

.products-container.mode-list .product-media-wrap {
    width: 260px;
    flex-shrink: 0;
}

/* Ürün Kartı */
.product-card-modern {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.product-card-modern:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.09);
    border-color: #059669;
}

.product-media-wrap {
    position: relative;
    height: 220px;
    background: #f1f5f9;
    overflow: hidden;
}

.product-media-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card-modern:hover .product-media-wrap img {
    transform: scale(1.06);
}

.product-badge-stock {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(16, 185, 129, 0.9);
    backdrop-filter: blur(6px);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
}

.product-content-wrap {
    padding: 22px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-title {
    font-size: 1.12rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.4;
    margin-bottom: 10px;
}

.product-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.product-title a:hover {
    color: #059669;
}

.product-specs-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.product-spec-pill {
    background: #f1f5f9;
    color: #475569;
    font-size: 0.76rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 6px;
}

/* ==========================================================================
   3. TEKLİF SEPETİ ÇEKMECESİ (DRAWER)
   ========================================================================== */
.quote-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.quote-drawer-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.quote-drawer {
    position: fixed;
    top: 0;
    right: -450px;
    width: 100%;
    max-width: 420px;
    height: 100vh;
    background: #ffffff;
    z-index: 9999;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.quote-drawer.active {
    right: 0;
}

.quote-drawer-header {
    padding: 22px 24px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #0f172a;
    color: #ffffff;
}

.quote-drawer-body {
    padding: 20px 24px;
    flex-grow: 1;
    overflow-y: auto;
}

.quote-drawer-footer {
    padding: 20px 24px;
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
}

.btn-whatsapp-quote {
    background: #25d366;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 14px 20px;
    border-radius: 12px;
    border: none;
    width: 100%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    transition: background 0.2s;
}

.btn-whatsapp-quote:hover {
    background: #1ebc59;
}

/* ==========================================================================
   4. DETAY SAYFASI TEKNİK PARAMETRELER TABLOSU
   ========================================================================== */
.product-specs-table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
}

.product-specs-table tr {
    border-bottom: 1px solid #e2e8f0;
}

.product-specs-table tr:nth-child(even) {
    background: #f8fafc;
}

.product-specs-table th {
    padding: 12px 16px;
    text-align: left;
    font-size: 0.88rem;
    color: #64748b;
    font-weight: 600;
    width: 38%;
}

.product-specs-table td {
    padding: 12px 16px;
    font-size: 0.92rem;
    color: #0f172a;
    font-weight: 700;
}

@media (max-width: 992px) {
    .marketplace-layout {
        grid-template-columns: 1fr;
    }
}
