/* Shop / product styling matched to Consul Trade BD look */
.product-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
    transition: all .25s ease;
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(13, 110, 253, .12);
    border-color: #0d6efd;
}
.product-thumb {
    display: block;
    position: relative;
    overflow: hidden;
    background: #f8f9fa;
}
.product-thumb img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform .4s ease;
}
.product-card:hover .product-thumb img { transform: scale(1.06); }
.product-badge {
    position: absolute;
    top: 12px; left: 12px;
    background: #dc3545;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    letter-spacing: .04em;
}
.product-badge.badge-out { background: #6c757d; left: auto; right: 12px; }
.product-card-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.product-cat {
    font-size: 11px;
    font-weight: 600;
    color: #0d6efd;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 6px;
}
.product-name {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 6px;
    min-height: 42px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-name a { color: #212529; text-decoration: none; }
.product-name a:hover { color: #0d6efd; }
.product-desc { font-size: 12px; color: #6c757d; margin-bottom: 10px; min-height: 32px; }
.product-price-row { margin-top: auto; margin-bottom: 12px; }
.product-price .sale { font-size: 20px; font-weight: 800; color: #198754; margin-right: 6px; }
.product-price span:not(.sale) { font-size: 20px; font-weight: 800; color: #0d6efd; }
.product-price del { font-size: 13px; color: #adb5bd; }
.product-actions { display: flex; gap: 8px; align-items: stretch; }
.product-actions .btn { border-radius: 8px; font-size: 13px; font-weight: 600; }

/* Filters sidebar */
.filter-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 22px;
    margin-bottom: 20px;
}
.filter-card h5 {
    font-size: 15px; font-weight: 700; margin-bottom: 14px;
    padding-bottom: 10px; border-bottom: 1px solid #e9ecef;
}
.filter-list { list-style: none; padding: 0; margin: 0; }
.filter-list li { margin-bottom: 4px; }
.filter-list a {
    display: flex; justify-content: space-between;
    padding: 8px 12px; border-radius: 8px;
    color: #495057; font-size: 13px; text-decoration: none;
    transition: all .15s;
}
.filter-list a:hover { background: #f8f9fa; color: #0d6efd; }
.filter-list a.active { background: #e7f1ff; color: #0d6efd; font-weight: 600; }
.filter-list .count { color: #adb5bd; font-size: 12px; }

/* Product detail */
.pd-gallery-main {
    border: 1px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
    background: #f8f9fa;
}
.pd-gallery-main img { width: 100%; height: 480px; object-fit: cover; }
.pd-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 10px; }
.pd-thumbs img {
    width: 100%; height: 80px; object-fit: cover;
    border: 2px solid transparent; border-radius: 8px;
    cursor: pointer; transition: all .2s;
}
.pd-thumbs img.active, .pd-thumbs img:hover { border-color: #0d6efd; }
.pd-title { font-size: 26px; font-weight: 800; margin-bottom: 8px; }
.pd-price { font-size: 32px; font-weight: 800; color: #198754; }
.pd-price del { font-size: 18px; color: #adb5bd; font-weight: 400; margin-left: 8px; }
.pd-meta-list { list-style: none; padding: 0; margin: 20px 0; }
.pd-meta-list li {
    display: flex; padding: 8px 0; font-size: 13px;
    border-bottom: 1px dashed #e9ecef;
}
.pd-meta-list li strong { width: 130px; color: #495057; }
.qty-input {
    display: inline-flex; align-items: center;
    border: 1px solid #ced4da; border-radius: 8px; overflow: hidden;
}
.qty-input button {
    background: #f8f9fa; border: none; padding: 10px 14px;
    font-size: 16px; cursor: pointer;
}
.qty-input input {
    width: 60px; text-align: center; border: none; padding: 10px 0; font-weight: 600;
}
.qty-input input:focus { outline: none; }

/* Cart */
.cart-table td { vertical-align: middle; }
.cart-thumb { width: 70px; height: 70px; object-fit: cover; border-radius: 8px; }
.cart-summary {
    background: #f8f9fa; border: 1px solid #e9ecef;
    border-radius: 12px; padding: 24px;
}
.cart-summary .row-line {
    display: flex; justify-content: space-between;
    padding: 8px 0; font-size: 14px;
}
.cart-summary .total-line {
    border-top: 2px solid #dee2e6; margin-top: 10px; padding-top: 14px;
    font-size: 20px; font-weight: 800; color: #0d6efd;
}

/* Empty state */
.empty-state {
    text-align: center; padding: 80px 20px;
    background: #fff; border: 1px solid #e9ecef; border-radius: 12px;
}
.empty-state i { font-size: 64px; color: #dee2e6; margin-bottom: 20px; }

/* Checkout */
.checkout-steps {
    display: flex; gap: 12px; justify-content: center;
    margin-bottom: 40px;
}
.checkout-steps .step {
    padding: 8px 18px; background: #fff; border: 1px solid #e9ecef;
    border-radius: 30px; font-size: 13px; font-weight: 600; color: #6c757d;
}
.checkout-steps .step.active {
    background: #0d6efd; color: #fff; border-color: #0d6efd;
}