/*
 * SoftwareBay product detail layout
 * Visual hierarchy aligned with the SoftwareKing24 product detail pages.
 */

.product-detail-page-12345 {
    padding: 24px 0 56px;
    background: #fff;
}

.product-main-row-12345 {
    display: grid;
    grid-template-columns: minmax(360px, 46%) minmax(0, 1fr);
    gap: clamp(28px, 4vw, 58px);
    align-items: start;
    margin-top: 18px;
}

.product-main-image-12345 {
    min-width: 0;
}

.product-gallery-12345 {
    position: relative;
}

.main-image-wrapper-12345 {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    padding: clamp(18px, 3vw, 42px);
    border: 0;
    border-radius: 0;
    background: #fff;
    align-items: center;
    justify-content: center;
}

.main-image-12345,
.main-image-wrapper-12345 img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.digital-product-badge-12345 {
    top: 12px;
    right: 12px;
    border: 1px solid #d8af00;
    background: rgba(255, 226, 51, .94);
    color: #20242c;
    box-shadow: none;
}

.product-share-12345 {
    margin-top: 10px;
    padding: 10px 0 0;
    border-top: 1px solid #eceff3;
}

.product-main-short-12345 {
    display: flex;
    flex-direction: column;
    min-width: 0;
    color: #20242c;
}

.product-header-row-12345 { order: 1; }
.product-short-12345 { order: 2; }
.product-rating-row-12345 { order: 3; }
.product-header-meta-12345 { order: 4; }
.product-price-bar-12345 { order: 5; }
.product-trust-checklist-12345 { order: 6; }

.product-header-row-12345 {
    display: block;
    margin: 0 0 14px;
    padding: 0;
    border: 0;
}

.product-header-left-12345 {
    display: block;
}

.product-title-12345 {
    margin: 0;
    color: #151821;
    font-size: clamp(30px, 2.3vw, 42px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -.025em;
}

.short-description-modern {
    min-height: 0;
    margin: 0 0 14px;
    padding: 5px 14px;
    border: 0;
    border-left: 4px solid #5067ee;
    border-radius: 0;
    background: #f5f7fa;
    color: #354052;
    font-size: 14px;
    line-height: 1.48;
}

.short-description-modern p {
    margin: 0 0 7px;
}

.short-description-modern p:last-child {
    margin-bottom: 0;
}

.product-rating-row-12345 {
    min-height: 20px;
    margin: 6px 0 2px;
}

.product-header-meta-12345 {
    display: block;
    margin: 0 0 16px;
}

.product-header-price-12345 {
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    gap: 10px;
}

.price-main-block-12345 {
    width: auto !important;
    align-items: flex-start !important;
}

.price-value-12345 {
    color: #1d1f24;
    font-size: clamp(48px, 5vw, 76px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -.045em;
    text-shadow: 0 3px 4px rgba(0, 0, 0, .18);
}

.price-tax-line-12345 {
    margin-top: 4px !important;
    color: #6d737d !important;
    font-size: 12px !important;
    text-align: left !important;
}

.product-trust-checklist-12345 {
    height: auto;
    margin: 20px 0 0;
    padding: 0;
    overflow: visible;
}

.trust-checklist-list-12345 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 10px;
}

.trust-checklist-item-12345 {
    min-height: 52px;
    padding: 9px 11px;
    border: 1px solid #e3e6eb;
    border-left: 3px solid #1f2630;
    border-radius: 3px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(19, 25, 34, .05);
}

.trust-icon-12345 {
    width: 30px;
    height: 30px;
    border-radius: 3px;
    background: linear-gradient(135deg, #4b5662, #1e242b);
}

.product-price-bar-12345 {
    display: block;
    margin: 0;
}

.product-cta-inline-12345 {
    display: flex;
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
}

.product-region-check-12345 {
    order: 2;
    flex: 0 0 auto;
    min-height: 48px;
    margin: 0;
    padding: 10px 16px;
    border: 1px solid #69d9ab;
    border-radius: 7px;
    background: #eafff4;
    box-shadow: none;
}

.product-actions-wrapper-12345 {
    order: 1;
    flex: 1 1 auto;
    min-width: 0;
}

.add-to-cart-form-12345 {
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    gap: 9px;
    width: 100%;
}

.variant-wrapper-12345 {
    flex: 1 1 100%;
    width: 100%;
    border: 1px solid #cfd4dc;
    border-radius: 6px;
}

.variant-select-12345 {
    width: 100%;
    min-width: 0;
    height: 48px;
    padding: 0 42px 0 14px;
    font-size: 14px;
    line-height: 48px;
}

.qty-wrapper-12345 {
    flex: 0 0 auto;
    height: 48px;
    margin: 0;
    border-color: #ccd1d8;
    border-radius: 6px;
}

.qty-btn-12345 {
    width: 42px;
    height: 46px;
    font-size: 18px;
}

.add-to-cart-form-12345 input[type="number"] {
    width: 48px;
    height: 46px;
    line-height: 46px;
}

.add-to-cart-form-12345 .btn-12345,
#add-to-cart-btn-12345 {
    min-height: 48px;
    padding: 0 23px;
    border: 1px solid #d39700;
    border-radius: 6px;
    background: linear-gradient(180deg, #ffcb35, #f3a800);
    color: #17191d;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 3px 7px rgba(165, 104, 0, .22);
}

.add-to-cart-form-12345 .btn-buy-now-12345 {
    min-height: 48px;
    padding: 0 24px;
    border: 1px solid #000;
    border-radius: 6px;
    background: #050505;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: none;
}

.add-to-cart-form-12345 .btn-12345:hover,
#add-to-cart-btn-12345:hover {
    background: linear-gradient(180deg, #ffd75f, #ef9f00);
    color: #111;
    transform: translateY(-1px);
}

.add-to-cart-form-12345 .btn-buy-now-12345:hover {
    background: #232323;
    color: #fff;
    transform: translateY(-1px);
}

#stripe-express-product-12345 {
    width: 100%;
    max-width: none;
    margin-top: 10px;
}

.product-question-link-12345 {
    display: inline-block;
    margin-top: 10px;
    color: #1769d1;
    font-size: 14px;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.product-question-link-12345:hover {
    color: #0b4ea2;
}

.product-tabs-container-12345 {
    margin-top: 52px;
}

@media (max-width: 1100px) {
    .product-main-row-12345 {
        grid-template-columns: minmax(320px, 44%) minmax(0, 1fr);
        gap: 28px;
    }

    .trust-checklist-list-12345 {
        grid-template-columns: 1fr;
    }

    .product-region-check-12345 {
        align-self: flex-start;
    }
}

@media (max-width: 768px) {
    .product-detail-page-12345 {
        padding: 14px 0 36px;
    }

    .product-main-row-12345 {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 8px;
    }

    .main-image-wrapper-12345 {
        max-height: none;
        aspect-ratio: 1 / 1;
        padding: 18px;
    }

    .product-title-12345 {
        font-size: clamp(25px, 8vw, 34px);
    }

    .price-value-12345 {
        font-size: clamp(44px, 15vw, 62px) !important;
    }

    .trust-checklist-list-12345 {
        grid-template-columns: 1fr;
    }

    .product-region-check-12345 {
        width: 100%;
        justify-content: center;
    }

    .add-to-cart-form-12345 {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .variant-wrapper-12345 {
        flex-basis: 100%;
    }

    .qty-wrapper-12345 {
        width: auto;
        flex: 0 0 auto;
    }

    #add-to-cart-btn-12345 {
        flex: 1 1 180px;
        width: auto;
        min-height: 48px;
        padding: 0 16px;
        font-size: 15px;
    }

    .btn-buy-now-12345 {
        flex: 1 1 180px;
        min-height: 48px;
    }

    .product-tabs-container-12345 {
        margin-top: 32px;
    }
}

@media (max-width: 420px) {
    .add-to-cart-form-12345 {
        flex-direction: column;
    }

    .qty-wrapper-12345,
    #add-to-cart-btn-12345,
    .btn-buy-now-12345 {
        width: 100%;
    }

    #add-to-cart-btn-12345,
    .btn-buy-now-12345 {
        flex: 0 0 52px;
    }

    .qty-wrapper-12345 {
        justify-content: center;
    }
}
