/* Ürünlerimiz — teklif listesi sayfası */
.shop-block {
    padding: 36px 0 90px !important;
    background: #f4f6fb;
}
.shop-block .wrap {
    width: min(1240px, 94%);
}
.shop-layout {
    display: flex !important;
    align-items: flex-start;
    gap: 28px;
}
.shop-main {
    flex: 1 1 auto;
    min-width: 0;
}
.shop-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.shop-card {
    background: #fff;
    border: 1px solid #e6ebf4;
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 28px -18px rgba(10, 31, 68, 0.35);
}
.shop-card-img {
    aspect-ratio: 1 / 1;
    height: auto;
    background: #f7f8fb;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
}
.shop-card-img img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}
.shop-card-body {
    padding: 16px 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-top: 1px solid #eef1f6;
}
.shop-card-body h3 {
    font-family: "Plus Jakarta Sans", system-ui, sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #0A1F44;
    line-height: 1.35;
    min-height: 2.6em;
    margin: 0;
}
.shop-card-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
}
.qty-field {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background: #f7f8fb;
    border: 1.5px solid #dde3ee;
    border-radius: 12px;
    padding: 6px 8px 6px 14px;
}
.qty-field span {
    font-size: 13px;
    font-weight: 600;
    color: #2C3A5A;
}
.qty-controls {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.qty-field .qty-btn {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    border-radius: 6px;
    background: transparent;
    border: 0;
    color: #5a6a85;
    font-size: 15px;
    font-weight: 400;
    line-height: 1;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.qty-field .qty-btn:active { background: #e8ecf3; color: #0A1F44; }
.qty-input {
    width: 36px;
    border: 0;
    background: transparent;
    font: inherit;
    font-weight: 700;
    color: #0A1F44;
    text-align: center;
    padding: 6px 0;
    -moz-appearance: textfield;
}
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.qty-input:focus { outline: none; }
.cat-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 16px;
}
.cat-filter-btn {
    border: 1px solid #dde3ee;
    background: #fff;
    color: #2C3A5A;
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    line-height: 1.2;
}
.cat-filter-btn.active {
    background: #0A1F44;
    border-color: #0A1F44;
    color: #fff;
}
.shop-count {
    margin: 0 0 16px;
    color: #7A879F;
    font-weight: 600;
    font-size: 14px;
}
.shop-filter-empty {
    color: #7A879F;
    font-weight: 600;
    padding: 18px 4px;
}
.shop-card[hidden] { display: none !important; }
.btn-add-quote {
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
}

.quote-sidebar {
    flex: 0 0 320px;
    width: 320px;
    position: sticky;
    top: 130px;
}
.quote-panel {
    background: #fff;
    border: 1px solid #e6ebf4;
    border-radius: 20px;
    padding: 22px;
    box-shadow: 0 18px 40px -24px rgba(10, 31, 68, 0.4);
}
.quote-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 16px;
}
.quote-panel-head h2 {
    font-family: "Plus Jakarta Sans", system-ui, sans-serif;
    font-size: 18px;
    color: #0A1F44;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}
.quote-panel-head h2 i { color: #FF6A1A; }
.quote-count {
    min-width: 28px;
    height: 28px;
    border-radius: 999px;
    background: #FF6A1A;
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 12px;
    font-weight: 800;
    padding: 0 8px;
}
.quote-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 420px;
    overflow: auto;
    margin-bottom: 16px;
    min-height: 80px;
}
.quote-empty {
    color: #7A879F;
    font-size: 14px;
    padding: 18px 8px;
    text-align: center;
}
.quote-item {
    display: grid;
    grid-template-columns: 52px 1fr auto;
    gap: 10px;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid #eef1f6;
}
.quote-item img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    background: #f7f8fb;
    border-radius: 10px;
}
.quote-item-info strong {
    display: block;
    font-size: 13px;
    color: #0A1F44;
    line-height: 1.3;
    margin-bottom: 6px;
}
.quote-item-qty {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f7f8fb;
    border-radius: 999px;
    padding: 2px 6px;
    font-size: 13px;
    font-weight: 700;
}
.qty-btn {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #dde3ee;
    color: #0A1F44;
    font-size: 14px;
    line-height: 1;
}
.quote-item-remove {
    color: #7A879F;
    width: 32px;
    height: 32px;
    border-radius: 8px;
}
.quote-submit { width: 100%; }
.quote-submit:disabled { opacity: .45; cursor: not-allowed; }

.quote-modal[hidden] { display: none !important; }
.quote-modal {
    position: fixed;
    inset: 0;
    z-index: 400;
    display: grid;
    place-items: center;
    padding: 20px;
}
.quote-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 31, 68, .55);
}
.quote-modal-card {
    position: relative;
    z-index: 1;
    width: min(520px, 100%);
    background: #fff;
    border-radius: 22px;
    padding: 32px;
}
.quote-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #f7f8fb;
}

.quote-mobile-bar { display: none; }

@media (max-width: 1100px) {
    .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
    .shop-layout { flex-direction: column; }
    .quote-sidebar {
        width: 100%;
        flex-basis: auto;
        position: static;
    }
}
@media (max-width: 640px) {
    .shop-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .shop-card-img { height: 150px; padding: 10px; }
    .shop-card-body h3 { font-size: 13px; min-height: 0; }
    .qty-field { padding: 4px 4px 4px 10px; }
    .qty-field .qty-btn { width: 26px; height: 26px; font-size: 14px; font-weight: 400; }
    .cat-filter-btn { font-size: 11px; padding: 6px 10px; }
}
