/* ═══════════════════════════════════════════════════════════
   CHETHI BATIK — QUICK VIEW MODAL & TRUST BADGES STYLES
   ═══════════════════════════════════════════════════════════ */

/* ─── Luxury Trust Badges Section ─── */
.trust-badges-section {
    padding: 3rem 0;
    background: #FFFFFF;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 5;
}

.trust-badges-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

@media (max-width: 992px) {
    .trust-badges-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

@media (max-width: 576px) {
    .trust-badges-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.trust-badge-card {
    display: flex;
    align-items: center;
    gap: 1.15rem;
    padding: 1.25rem 1.4rem;
    border-radius: 8px;
    background: #FAFAFA;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.trust-badge-card:hover {
    background: #FFFFFF;
    border-color: rgba(211, 47, 47, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.trust-badge-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(211, 47, 47, 0.15) 0%, rgba(211, 47, 47, 0.08) 100%);
    color: var(--gold-dark, #8E0000);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.trust-badge-card:hover .trust-badge-icon {
    transform: scale(1.1);
    color: var(--red, #D32F2F);
}

.trust-badge-text h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0 0 0.25rem 0;
    color: #111111;
    font-family: var(--font-body, 'Inter', sans-serif);
    letter-spacing: -0.2px;
}

.trust-badge-text p {
    font-size: 0.78rem;
    color: #666666;
    margin: 0;
    line-height: 1.4;
}

/* ─── Product Card Secondary Image Hover & Quick View Pill ─── */
.product-img {
    position: relative;
    overflow: hidden;
}

.product-img a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.product-img .product-img-primary {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-img .product-img-secondary {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2;
}

.product-card:hover .product-img-secondary {
    opacity: 1;
    transform: scale(1.06);
}

.product-card:hover .product-img-primary {
    opacity: 0.2;
    transform: scale(1.06);
}

/* Quick View Hover Button */
.btn-quick-view {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -40%);
    background: rgba(255, 255, 255, 0.95);
    color: #111111;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 30px;
    padding: 0.6rem 1.15rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    opacity: 0;
    visibility: hidden;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    z-index: 6;
    white-space: nowrap;
}

.btn-quick-view i {
    font-size: 0.85rem;
    color: var(--red, #D32F2F);
}

.product-card:hover .btn-quick-view {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%);
}

.btn-quick-view:hover {
    background: #111111;
    color: #FFFFFF;
    border-color: #111111;
    transform: translate(-50%, -50%) scale(1.05);
}

.btn-quick-view:hover i {
    color: var(--gold, #D32F2F);
}

/* ─── Quick View Modal ─── */
.quick-view-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10010;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.quick-view-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

.quick-view-modal {
    background: #FFFFFF;
    border-radius: 12px;
    width: 900px;
    max-width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
    transform: scale(0.92);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: grid;
    grid-template-columns: 1fr 1fr;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.quick-view-overlay.is-active .quick-view-modal {
    transform: scale(1);
}

@media (max-width: 768px) {
    .quick-view-modal {
        grid-template-columns: 1fr;
        max-height: 85vh;
    }
}

.quick-view-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.06);
    border: none;
    color: #444444;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer !important;
    z-index: 10;
    transition: all 0.2s ease;
}

.quick-view-close:hover {
    background: var(--red, #D32F2F);
    color: #FFFFFF;
    transform: rotate(90deg);
}

/* Modal Left: Gallery */
.qv-gallery {
    padding: 2rem;
    background: #FBFBFB;
    border-right: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.qv-main-img-wrap {
    width: 100%;
    aspect-ratio: 3/4;
    border-radius: 8px;
    overflow: hidden;
    background: #f0f0f0;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.qv-main-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.3s ease;
}

.qv-thumbs {
    display: flex;
    gap: 0.6rem;
    overflow-x: auto;
    padding-bottom: 0.4rem;
}

.qv-thumb {
    width: 60px;
    height: 75px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer !important;
    border: 2px solid transparent;
    opacity: 0.65;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.qv-thumb.is-active,
.qv-thumb:hover {
    opacity: 1;
    border-color: var(--red, #D32F2F);
}

.qv-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Modal Right: Details */
.qv-details {
    padding: 2.25rem 2rem;
    display: flex;
    flex-direction: column;
}

.qv-cat {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gold-dark, #8E0000);
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.qv-title {
    font-family: var(--font-display, 'Playfair Display', serif);
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0 0 0.6rem 0;
    color: #111111;
    line-height: 1.3;
}

.qv-rating {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    color: #e5a910;
    margin-bottom: 1rem;
}

.qv-rating span {
    color: #777777;
    font-size: 0.78rem;
}

.qv-price-wrap {
    display: flex;
    align-items: baseline;
    gap: 0.8rem;
    margin-bottom: 1.25rem;
}

.qv-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--red, #D32F2F);
    font-family: var(--font-display, 'Playfair Display', serif);
}

.qv-base-price {
    font-size: 1rem;
    color: #999999;
    text-decoration: line-through;
}

.qv-discount-badge {
    background: #1b7a37;
    color: #FFFFFF;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
}

.qv-desc {
    font-size: 0.88rem;
    color: #555555;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Options */
.qv-option-group {
    margin-bottom: 1.25rem;
}

.qv-option-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #333333;
    margin-bottom: 0.5rem;
}

.qv-sizes {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.qv-size-btn {
    min-width: 42px;
    height: 38px;
    padding: 0 10px;
    border-radius: 4px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    background: #FFFFFF;
    color: #222222;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer !important;
    transition: all 0.2s ease;
}

.qv-size-btn:hover {
    border-color: #000000;
}

.qv-size-btn.is-selected {
    background: #111111;
    color: #FFFFFF;
    border-color: #111111;
}

/* Actions */
.qv-actions {
    display: flex;
    gap: 0.8rem;
    margin-top: 0.5rem;
    margin-bottom: 1.25rem;
}

.qv-stepper {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    background: #FFFFFF;
    overflow: hidden;
    height: 48px;
}

.qv-stepper button {
    width: 38px;
    height: 100%;
    border: none;
    background: transparent;
    font-size: 1rem;
    color: #333333;
    cursor: pointer !important;
    transition: background 0.15s ease;
}

.qv-stepper button:hover {
    background: #f0f0f0;
}

.qv-stepper span {
    min-width: 36px;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 700;
}

.qv-add-btn {
    flex: 1;
    height: 48px;
    background: var(--red, #D32F2F);
    color: #FFFFFF;
    border: none;
    border-radius: 4px;
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    cursor: pointer !important;
    transition: all 0.3s ease;
}

.qv-add-btn:hover {
    background: #b51c1c;
    box-shadow: 0 6px 20px rgba(211, 47, 47, 0.35);
}

.qv-view-full {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #333333;
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: color 0.2s ease;
}

.qv-view-full:hover {
    color: var(--red, #D32F2F);
}
