/* Product Page 2.0 */
/* =========================
   Product Page 2.0
========================= */

.licensesok-pv2 {
    --pv2-bg: #f5f5f5;
    --pv2-border: #ebebeb;
    --pv2-text: #383d40;
    --pv2-dark: #111111;
    --pv2-radius: 20px;
    --pv2-radius-sm: 14px;
    --pv2-gap: 28px;
    --pv2-shadow: 0 8px 24px rgba(0,0,0,0.04);
    color: var(--pv2-text);
}

.licensesok-pv2 .licensesok-pv2-main {
    gap: var(--pv2-gap);
    align-items: flex-start;
}

.licensesok-pv2 .licensesok-pv2-left {
    flex: 0 0 30%;
    max-width: 30%;
}

.licensesok-pv2 .licensesok-pv2-center {
    flex: 0 0 45%;
    max-width: 45%;
}

.licensesok-pv2 .licensesok-pv2-right {
    flex: 0 0 25%;
    max-width: 25%;
}

.licensesok-pv2 .licensesok-pv2-card {
    background: var(--pv2-bg);
    border-radius: var(--pv2-radius);
    box-shadow: none;
}

.licensesok-pv2 .licensesok-pv2-image-box,
.licensesok-pv2 .licensesok-pv2-note-box,
.licensesok-pv2 .licensesok-pv2-payments-box,
.licensesok-pv2 .licensesok-pv2-buy-box,
.licensesok-pv2 .licensesok-pv2-trusted-box {
    background: var(--pv2-bg);
    border-radius: var(--pv2-radius);
}

/* Left column */
.licensesok-pv2 .licensesok-pv2-image-box {
    padding: 18px;
}

.licensesok-pv2 .licensesok-pv2-left .trustpilot-widget,
.licensesok-pv2 .licensesok-pv2-left .elementor-widget-html {
    margin-top: 12px;
}

/* Title + price */
.licensesok-pv2 .licensesok-pv2-title-row {
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 8px;
}

.licensesok-pv2 .licensesok-pv2-title-row .glozin-product-title,
.licensesok-pv2 .licensesok-pv2-title-row .glozin-product-price {
    margin: 0;
}

.licensesok-pv2 .licensesok-pv2-title-row h1,
.licensesok-pv2 .licensesok-pv2-title-row .elementor-heading-title {
    margin: 0;
    font-size: 26px;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.licensesok-pv2 .licensesok-pv2-title-row .glozin-product-price,
.licensesok-pv2 .licensesok-pv2-title-row .price,
.licensesok-pv2 .licensesok-pv2-title-row .woocommerce-Price-amount {
    font-size: 24px;
    font-weight: 700;
    color: var(--pv2-text);
}

/* ACF / note box */
.licensesok-pv2 .licensesok-pv2-note-box {
    padding: 14px 18px;
    margin-top: 12px;
    margin-bottom: 14px;
}

.licensesok-pv2 .licensesok-pv2-note-box p {
    margin: 0;
    font-size: 15px;
    line-height: 1.8;
}

/* Share row */
.licensesok-pv2 .licensesok-pv2-share-row {
    align-items: center;
    gap: 18px;
    margin-top: 6px;
    margin-bottom: 4px;
}

.licensesok-pv2 .licensesok-pv2-share-row a,
.licensesok-pv2 .licensesok-pv2-share-row span,
.licensesok-pv2 .licensesok-pv2-share-row .elementor-widget-container {
    font-size: 15px;
}

/* Feature boxes + detail column */
.licensesok-pv2 .licensesok-pv2-feature-col,
.licensesok-pv2 .licensesok-pv2-detail-col {
    gap: 14px;
}

.licensesok-pv2 .licensesok-pv2-feature-col > .e-con,
.licensesok-pv2 .licensesok-pv2-feature-col > .elementor-element {
    background: var(--pv2-bg);
    border-radius: 12px;
    padding: 10px 12px;
}

.licensesok-pv2 .licensesok-pv2-detail-col {
    padding-top: 2px;
}

.licensesok-pv2 .licensesok-pv2-detail-col .elementor-widget-divider {
    margin: 0;
}

.licensesok-pv2 .licensesok-pv2-detail-col .elementor-widget-container {
    font-size: 15px;
    line-height: 1.8;
}

/* Payments box */
.licensesok-pv2 .licensesok-pv2-payments-box {
    padding: 20px;
    margin-top: 18px;
}

.licensesok-pv2 .licensesok-pv2-payments-box .elementor-heading-title {
    font-size: 16px;
    margin: 0 0 10px 0;
    text-align: center;
}

.licensesok-pv2 .licensesok-pv2-payments-box .swiper,
.licensesok-pv2 .licensesok-pv2-payments-box .elementor-image-carousel-wrapper {
    margin-top: 4px;
}

.licensesok-pv2 .licensesok-pv2-payments-box .elementor-divider {
    margin: 14px 0;
}

/* Right column - buy box */
.licensesok-pv2 .licensesok-pv2-buy-box {
    padding: 24px;
}

.licensesok-pv2 .licensesok-pv2-buy-box .elementor-heading-title {
    font-size: 26px;
    line-height: 1.1;
    margin: 0 0 18px 0;
}

.licensesok-pv2 .licensesok-custom-atc-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.licensesok-pv2 .licensesok-custom-qty {
    background: #efefef;
    border-radius: 14px;
    overflow: hidden;
}

.licensesok-pv2 .licensesok-custom-qty button {
    width: 40px;
    height: 40px;
    background: #efefef;
    border: 0;
    font-size: 22px;
    font-weight: 300;
    color: #333;
}

.licensesok-pv2 .licensesok-custom-qty input {
    width: 44px;
    min-width: 44px;
    height: 40px;
    background: #f8f8f8;
    font-size: 16px;
    font-weight: 500;
}

.licensesok-pv2 .licensesok-custom-stock {
    min-height: 40px;
    padding: 0 16px;
    background: #ffffff;
    border-radius: 999px;
    font-size: 14px;
    color: #555;
}

.licensesok-pv2 .licensesok-custom-add-to-cart,
.licensesok-pv2 .licensesok-custom-add-to-cart.button,
.licensesok-pv2 .licensesok-custom-add-to-cart.alt {
    width: 100%;
    min-height: 54px;
    border: 0;
    border-radius: 14px;
    background: #111111;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    transition: 0.25s ease;
}

.licensesok-pv2 .licensesok-custom-add-to-cart:hover {
    background: #111111;
    color: #ffffff;
    opacity: 0.96;
}

/* Trusted box */
.licensesok-pv2 .licensesok-pv2-trusted-box {
    padding: 20px;
    margin-top: 16px;
}

/* Main add-to-cart / variations center column */
.licensesok-pv2 .licensesok-main-atc {
    margin-top: 10px;
    margin-bottom: 8px;
}

.licensesok-pv2 .licensesok-main-atc table.variations {
    margin: 0;
    border: 0;
}

.licensesok-pv2 .licensesok-main-atc table.variations tr,
.licensesok-pv2 .licensesok-main-atc table.variations tbody,
.licensesok-pv2 .licensesok-main-atc table.variations td,
.licensesok-pv2 .licensesok-main-atc table.variations th {
    display: block;
    width: 100%;
    border: 0;
    padding: 0;
}

.licensesok-pv2 .licensesok-main-atc table.variations tr {
    margin-bottom: 18px;
}

.licensesok-pv2 .licensesok-main-atc table.variations th.label {
    margin-bottom: 8px;
}

.licensesok-pv2 .licensesok-main-atc table.variations th.label label {
    display: inline-block;
    font-size: 15px;
    font-weight: 400;
    color: var(--pv2-text);
}

.licensesok-pv2 .licensesok-main-atc .value {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.licensesok-pv2 .licensesok-main-atc select {
    min-height: 54px;
    border-radius: 16px;
    background: #f1f1f1;
    border: 1px solid rgba(0,0,0,0.12);
}

/* Generic pill style for labels/buttons */
.licensesok-pv2 .licensesok-main-atc .value label,
.licensesok-pv2 .licensesok-main-atc .value .product__item-option,
.licensesok-pv2 .licensesok-main-atc .value .swatch-option,
.licensesok-pv2 .licensesok-main-atc .value .variable-item {
    min-width: 108px;
    min-height: 56px;
    padding: 14px 18px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: none;
    transition: 0.2s ease;
    text-align: center;
    font-size: 15px;
    line-height: 1.2;
}

/* Selected state */
.licensesok-pv2 .licensesok-main-atc input[type="radio"]:checked + label,
.licensesok-pv2 .licensesok-main-atc input[type="radio"]:checked + .product__item-option,
.licensesok-pv2 .licensesok-main-atc .active,
.licensesok-pv2 .licensesok-main-atc .selected {
    background: #efefef;
    border-color: rgba(0,0,0,0.22);
    box-shadow: 0 6px 16px rgba(0,0,0,0.05);
    color: var(--pv2-dark);
}

.licensesok-pv2 .licensesok-main-atc input[type="radio"]:checked + label::after,
.licensesok-pv2 .licensesok-main-atc input[type="radio"]:checked + .product__item-option::after {
    content: "✓";
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #111111;
    color: #ffffff;
    font-size: 11px;
    line-height: 18px;
    text-align: center;
}

/* Out of stock / disabled */
.licensesok-pv2 .licensesok-main-atc .option-disabled + label,
.licensesok-pv2 .licensesok-main-atc .option-disabled + .product__item-option,
.licensesok-pv2 .licensesok-main-atc input:disabled + label,
.licensesok-pv2 .licensesok-main-atc .disabled {
    opacity: 0.5;
    background: #f0f0f0;
    color: #9a9a9a;
    cursor: not-allowed;
    box-shadow: none;
}

/* Spacing cleanup */
.licensesok-pv2 .elementor-widget-divider {
    --divider-color: #ebebeb;
}

.licensesok-pv2 .elementor-divider-separator {
    border-color: #ebebeb !important;
}

/* =========================
   Responsive
========================= */

@media (max-width: 1200px) {
    .licensesok-pv2 .licensesok-pv2-main {
        gap: 22px;
    }

    .licensesok-pv2 .licensesok-pv2-left {
        flex: 0 0 32%;
        max-width: 32%;
    }

    .licensesok-pv2 .licensesok-pv2-center {
        flex: 0 0 68%;
        max-width: 68%;
    }

    .licensesok-pv2 .licensesok-pv2-right {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .licensesok-pv2 .licensesok-pv2-buy-box,
    .licensesok-pv2 .licensesok-pv2-trusted-box {
        margin-top: 0;
    }
}

@media (max-width: 1024px) {
    .licensesok-pv2 .licensesok-pv2-main {
        flex-direction: column;
    }

    .licensesok-pv2 .licensesok-pv2-left,
    .licensesok-pv2 .licensesok-pv2-center,
    .licensesok-pv2 .licensesok-pv2-right {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .licensesok-pv2 .licensesok-pv2-title-row {
        flex-direction: column;
        gap: 8px;
    }

    .licensesok-pv2 .licensesok-pv2-title-row h1,
    .licensesok-pv2 .licensesok-pv2-title-row .elementor-heading-title {
        font-size: 30px;
    }

    .licensesok-pv2 .licensesok-pv2-right {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }
}

@media (max-width: 767px) {
    .licensesok-pv2 {
        --pv2-gap: 18px;
        --pv2-radius: 18px;
    }

    .licensesok-pv2 .licensesok-pv2-image-box,
    .licensesok-pv2 .licensesok-pv2-note-box,
    .licensesok-pv2 .licensesok-pv2-payments-box,
    .licensesok-pv2 .licensesok-pv2-buy-box,
    .licensesok-pv2 .licensesok-pv2-trusted-box {
        padding: 16px;
    }

    .licensesok-pv2 .licensesok-pv2-title-row h1,
    .licensesok-pv2 .licensesok-pv2-title-row .elementor-heading-title {
        font-size: 24px;
    }

    .licensesok-pv2 .licensesok-pv2-title-row .glozin-product-price,
    .licensesok-pv2 .licensesok-pv2-title-row .price,
    .licensesok-pv2 .licensesok-pv2-title-row .woocommerce-Price-amount {
        font-size: 22px;
    }

    .licensesok-pv2 .licensesok-main-atc .value {
        gap: 10px;
    }

    .licensesok-pv2 .licensesok-main-atc .value label,
    .licensesok-pv2 .licensesok-main-atc .value .product__item-option,
    .licensesok-pv2 .licensesok-main-atc .value .swatch-option,
    .licensesok-pv2 .licensesok-main-atc .value .variable-item {
        min-width: calc(50% - 5px);
        min-height: 52px;
        padding: 12px 14px;
        border-radius: 16px;
        font-size: 14px;
    }

    .licensesok-pv2 .licensesok-custom-atc-top {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .licensesok-pv2 .licensesok-custom-qty {
        width: auto;
    }

    .licensesok-pv2 .licensesok-custom-stock {
        width: auto;
    }
}
