/* Product Box with Pros and Cons - Modern 2026 Design */
.product-box {
    position: relative;
    padding: 1.5rem;
    box-sizing: border-box;
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
    max-width: 100%;
    margin: 1.5rem 0 2rem;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.04),
        0 4px 12px rgba(0, 0, 0, 0.03);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.product-box:hover {
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.08),
        0 8px 24px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

/* Label Badge - Top ribbon style */
.product-box .box-label {
    font-size: 0.75rem;
    line-height: 1;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    position: absolute;
    top: -1px;
    left: 20px;
    margin: 0;
    padding: 8px 14px 10px;
    color: #fff;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    border-radius: 0 0 8px 8px;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
    z-index: 10;
}

.product-box .box-label:after {
    display: none;
}

/* Product Title Badge */
.product-box .product-title {
    display: inline-block;
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8125rem;
    font-weight: 600;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    margin-bottom: 0.75rem;
    margin-top: 0;
    line-height: 1.4;
    letter-spacing: -0.01em;
}

/* Subtitle */
.product-box .product-sub-title {
    font-size: 1.25rem;
    line-height: 1.4;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 700;
    color: #111827;
    margin: 0 0 0.5rem;
}

/* Description */
.product-box .product-description {
    font-size: 0.9375rem;
    line-height: 1.6;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 400;
    color: #4b5563;
    margin: 0;
    padding: 0;
}

/* Flex Layout */
.product-box .product-box-inside {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 0.5rem;
}

@media (min-width: 540px) {
    .product-box .product-box-inside {
        flex-direction: row;
        align-items: flex-start;
        gap: 1.5rem;
    }
}

/* Image Container */
.product-box .image-left {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    margin: 0;
}

.product-box .image-left figure {
    margin: 0;
    padding: 0;
}

.product-box .image-left img {
    max-width: 180px;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.product-box:hover .image-left img {
    transform: scale(1.02);
}

@media (min-width: 540px) {
    .product-box .image-left {
        width: 180px;
        min-width: 180px;
    }

    .product-box .image-left img {
        max-width: 100%;
    }
}

/* Text Content */
.product-box .pb-text-right {
    flex: 1;
    min-width: 0;
}

/* Has label - add top padding */
.product-box:has(.box-label) .product-box-inside {
    margin-top: 2rem;
}

/* CTA Button - High Conversion Design */
.product-box .product-button {
    margin-top: 1rem;
}

.product-box .product-button .product-button-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1rem;
    line-height: 1.25;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 600;
    min-width: 200px;
    padding: 14px 28px;
    border-radius: 10px;
    border: none;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #000;
    text-decoration: none;
    text-align: center;
    box-shadow:
        0 2px 4px rgba(245, 158, 11, 0.2),
        0 4px 12px rgba(245, 158, 11, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.2s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.product-box .product-button .product-button-link::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.product-box .product-button .product-button-link:hover {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    transform: translateY(-2px);
    box-shadow:
        0 4px 8px rgba(245, 158, 11, 0.25),
        0 8px 20px rgba(245, 158, 11, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
    color: #000;
    text-decoration: none;
}

.product-box .product-button .product-button-link:hover::after {
    left: 100%;
}

.product-box .product-button .product-button-link:active {
    transform: translateY(0);
    box-shadow:
        0 1px 2px rgba(245, 158, 11, 0.2),
        0 2px 8px rgba(245, 158, 11, 0.15);
}

/* Disclosure Text */
.product-box .box-disclosure {
    font-size: 0.75rem;
    line-height: 1.4;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 400;
    color: #9ca3af;
    margin: 12px 0 0;
}

/* Links */
.product-landing-link,
.product-link,
.product_link {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
    transition: color 0.15s ease;
}

.product-landing-link:link,
.product-landing-link:visited,
.product-link:link,
.product-link:visited,
.product_link:link,
.product_link:visited {
    color: #2563eb;
}

.product-landing-link:hover,
.product-link:hover,
.product_link:hover {
    color: #1d4ed8;
}

/* =============================================
   PROS & CONS SECTION - Clean List Design
   ============================================= */

.product-box .pro-con-wrapper {
    margin: 1.25rem 0 0;
    padding-top: 1.25rem;
    border-top: 1px solid #e5e7eb;
}

.product-box .pro-con-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 540px) {
    .product-box .pro-con-row {
        grid-template-columns: 1fr 1fr;
        gap: 1.25rem;
    }
}

.product-box .pro-con-column {
    display: flex;
    flex-direction: column;
    background: #f9fafb;
    border-radius: 10px;
    padding: 0.875rem 1rem;
}

/* Pros/Cons Headings */
.product-box .pro-con-heading {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 700;
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 0.375rem;
    padding: 0;
}

/* Pros heading */
.product-box .pro-con-column:first-child .pro-con-heading {
    color: #059669;
}

/* Cons heading */
.product-box .pro-con-column:last-child .pro-con-heading {
    color: #dc2626;
}

/* Shared list item base */
.product-box .icon-plus-text-pc-block,
.product-box .icon-minus-text-pc-block {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.3125rem 0;
    margin: 0;
    background: none;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: #374151;
    text-indent: 0;
}

.product-box .icon-plus-text-pc-block:last-child,
.product-box .icon-minus-text-pc-block:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* Pro icon */
.product-box .icon-plus-text-pc-block::before {
    content: '';
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2310b981'%3E%3Cpath fill-rule='evenodd' d='M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z' clip-rule='evenodd'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* Con icon */
.product-box .icon-minus-text-pc-block::before {
    content: '';
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23ef4444'%3E%3Cpath fill-rule='evenodd' d='M10 18a8 8 0 100-16 8 8 0 000 16zM8.707 7.293a1 1 0 00-1.414 1.414L8.586 10l-1.293 1.293a1 1 0 101.414 1.414L10 11.414l1.293 1.293a1 1 0 001.414-1.414L11.414 10l1.293-1.293a1 1 0 00-1.414-1.414L10 8.586 8.707 7.293z' clip-rule='evenodd'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* Mobile Responsive */
@media (max-width: 539px) {
    .product-box {
        padding: 1.25rem;
    }

    .product-box .image-left {
        margin: 0 auto 0.5rem;
    }

    .product-box .image-left img {
        max-width: 160px;
    }

    .product-box .product-title {
        font-size: 0.75rem;
    }

    .product-box .product-sub-title {
        font-size: 1.125rem;
    }

    .product-box .product-description {
        font-size: 0.875rem;
    }

    .product-box .product-button .product-button-link {
        width: 100%;
        min-width: unset;
        padding: 12px 20px;
    }

    .product-box .pro-con-wrapper {
        margin-top: 1rem;
        padding-top: 1rem;
    }

    .product-box .pro-con-column {
        padding: 0.75rem 0.875rem;
    }

    .product-box .icon-plus-text-pc-block,
    .product-box .icon-minus-text-pc-block {
        font-size: 0.75rem;
        padding: 0.25rem 0;
    }
}
