/* --- Shell --- */
.css-qv-modal .modal-dialog {
    max-width: 1040px;
}

.css-qv-modal .modal-body {
    padding: 0;
    overflow: visible;
}

.css-qv-content {
    overflow: visible;
    border: 0;
    border-radius: 18px;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.28);
}

.css-qv-header {
    align-items: center;
    padding: 14px 20px;
    border-bottom: 1px solid #eef0f4;
    background: #ffffff;
}

.css-qv-modal-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: #1f2733;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.2px;
    text-transform: uppercase;
}

.css-qv-modal-title i {
    color: #ee1a19;
    font-size: 14px;
}

.css-qv-modal .css-qv-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #f3f4f7;
    color: #4b5563;
    font-size: 22px;
    font-weight: 400;
    line-height: 1;
    opacity: 1;
    text-shadow: none;
}

.css-qv-modal .css-qv-close:hover {
    background: #ee1a19;
    color: #ffffff;
    opacity: 1;
}

.css-qv-error {
    padding: 48px 24px;
    color: #5c6570;
    font-size: 15px;
    text-align: center;
}

/* --- Media --- */
.css-qv-modal .css-qv-media {
    padding: 22px;
}

.css-qv-modal .css-qv-stage,
.css-qv-modal .css-qv-hero {
    display: flex;
    align-items: center;
    justify-content: center;
}

.css-qv-modal .css-qv-stage {
    position: relative;
    padding: 18px;
    border-radius: 14px;
    background: #ffffff;
}

.css-qv-modal .css-qv-hero {
    position: relative;
    width: 100%;
}

.css-qv-modal .css-qv-hero-img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 380px;
    margin: 0 auto;
    object-fit: contain;
}

.css-qv-modal .css-qv-zoom {
    position: absolute;
    right: 0;
    bottom: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(17, 24, 39, 0.78);
    color: #ffffff;
    font-size: 14px;
    opacity: 0;
}

.css-qv-modal .css-qv-hero:hover .css-qv-zoom {
    opacity: 1;
}

.css-qv-modal .css-qv-badges {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    pointer-events: none;
}

.css-qv-modal .css-qv-badges .css-badge-new,
.css-qv-modal .css-qv-badges .css-badge-sale {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.25;
}

.css-qv-modal .css-qv-badges .css-badge-new {
    border: 1px solid #ee1a19;
    background: #ffffff;
    color: #ee1a19;
}

.css-qv-modal .css-qv-badges .css-badge-sale {
    background: #fff4e5;
    color: #c56a00;
}

.css-qv-modal .css-qv-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.css-qv-modal .css-qv-thumb {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 62px;
    width: 62px;
    height: 62px;
    padding: 6px;
    overflow: hidden;
    appearance: none;
    border: 0;
    border-radius: 12px;
    background: #ffffff;
    cursor: pointer;
}

.css-qv-modal .css-qv-thumb:hover {
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
}

.css-qv-modal .css-qv-thumb-on {
    box-shadow: 0 0 0 2px #ee1a19;
}

.css-qv-modal .css-qv-thumb img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* --- Info --- */
.css-qv-modal .css-qv-info {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    padding: 26px 26px 30px 6px;
}

.css-qv-modal .css-qv-title-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
}

.css-qv-modal .css-qv-title {
    margin: 0;
    color: #111827;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
}

.css-qv-modal .css-stock-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.25;
    white-space: nowrap;
}

.css-qv-modal .css-stock-in {
    background: #e7f6ec;
    color: #1b7a3c;
}

.css-qv-modal .css-stock-out {
    background: #fdecea;
    color: #c0392b;
}

.css-qv-modal .css-qv-desc {
    margin-top: 18px;
    color: #4b5563;
    font-size: 14px;
    line-height: 1.6;
}

.css-qv-modal .css-qv-specs {
    display: flex;
    flex-wrap: wrap;
    margin: 18px 0 0;
    padding-top: 14px;
    border-top: 1px solid #eef0f4;
}

.css-qv-modal .css-qv-spec-label,
.css-qv-modal .css-qv-spec-value {
    margin: 0;
    padding: 5px 0;
    font-size: 13px;
}

.css-qv-modal .css-qv-spec-label {
    flex: 0 0 40%;
    max-width: 40%;
    color: #8b93a1;
    font-weight: 500;
}

.css-qv-modal .css-qv-spec-value {
    flex: 0 0 60%;
    max-width: 60%;
    color: #1f2733;
    font-weight: 600;
}

.css-qv-modal .css-qv-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    color: #ee1a19;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.css-qv-modal .css-qv-more i {
    font-size: 12px;
}

.css-qv-modal .css-qv-more:hover {
    color: #c41716;
    text-decoration: underline;
}

.css-qv-modal .css-qv-more:hover i {
    transform: translateX(3px);
}

.css-qv-modal .css-qv-bottom {
    margin-top: auto;
    padding-top: 18px;
    padding-bottom: 4px;
}

/* --- Price / cart --- */
.css-qv-modal .css-qv-price-box {
    padding: 14px 16px;
    border-radius: 14px;
    background: #f7f8fa;
}

.css-qv-modal .css-qv-price-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 10px;
}

.css-qv-modal .css-qv-price {
    color: #111827;
    font-size: 30px;
    font-weight: 800;
    line-height: 1;
}

.css-qv-modal .css-qv-price small,
.css-qv-modal .css-qv-price sup {
    font-size: 18px;
}

.css-qv-modal .css-qv-price small {
    font-weight: 700;
}

.css-qv-modal .css-qv-price sup {
    top: -0.35em;
}

.css-qv-modal .css-qv-price-sale {
    color: #ee1a19;
}

.css-qv-modal .css-qv-price-dual {
    color: #6b7280;
    font-size: 14px;
    font-weight: 600;
}

.css-qv-modal .css-qv-price-old {
    color: #9ca3af;
    font-size: 15px;
    text-decoration: line-through;
}

.css-qv-modal .css-qv-price-off {
    padding: 3px 8px;
    border-radius: 6px;
    background: #ee1a19;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
}

.css-qv-modal .css-qv-price-note {
    margin-top: 6px;
    color: #8b93a1;
    font-size: 12px;
}

.css-qv-modal .css-qv-cart {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 10px;
    margin-top: 16px;
}

.css-qv-modal .css-qv-qty {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-width: 110px;
    height: 44px;
    padding: 0 6px;
    border: 1px solid #D8061A;
    border-radius: 4px;
    background: #f5f5f5;
}

.css-qv-modal .css-qv-qty-btn,
.css-qv-modal .css-qv-qty-input {
    height: 32px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #333333;
    font-weight: 700;
}

.css-qv-modal .css-qv-qty-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
}

.css-qv-modal .css-qv-qty-btn:hover {
    color: #ee1a19;
}

.css-qv-modal .css-qv-qty-input {
    width: 22px;
    font-size: 13px;
    text-align: center;
    box-shadow: none;
}

.css-qv-modal .css-qv-qty-input:focus {
    outline: none;
}

.css-qv-modal a.css-qv-buy.btn-add-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex: 1 1 180px;
    min-height: 44px;
    padding: 0 16px;
    margin: 0;
    border: 1px solid #D8061A;
    border-radius: 4px;
    background: linear-gradient(90deg, #D8061A 0%, #F24A1A 50%, #FB7413 100%) !important;
    box-shadow: none;
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
}

.css-qv-modal a.css-qv-buy.btn-add-cart i {
    font-size: 13px;
    color: #ffffff;
}

.css-qv-modal a.css-qv-buy.btn-add-cart:hover {
    box-shadow: 0 4px 14px rgba(216, 6, 26, 0.28);
    text-decoration: none;
}
