/* ==========================================
   Legacy Path Law - Premium EDD Styling
   ========================================== */

/* PRODUCT CARD */
.edd-blocks__download {
    background: #ffffff;
    border: 1px solid rgba(170,182,251,.35);
    border-radius: 18px;
    padding: 40px;
    box-shadow: 0 8px 30px rgba(3,27,136,.05);
    transition: all .35s ease;
    overflow: hidden;
    position: relative;
}

.edd-blocks__download:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 45px rgba(3,27,136,.10);
    border-color: rgba(96,150,253,.45);
}

/* SIGNATURE TOP BAR */
.edd-blocks__download::before {
    content: "";
    position: absolute;
    top: 0;
    left: 10%;
    width: 80%;
    height: 4px;
    border-radius: 0 0 4px 4px;
    background: linear-gradient(
        90deg,
        #031B88,
        #6096FD,
        #34D399
    );
}

/* IMAGE */
.edd-blocks__download-image {
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 28px;
}

.edd-blocks__download-image img {
    border-radius: 12px;
    transition: transform .4s ease;
}

.edd-blocks__download:hover .edd-blocks__download-image img {
    transform: scale(1.03);
}

/* TITLE */
.edd-blocks__download-header h3 {
    margin-bottom: 18px;
}

.edd-blocks__download-header h3 a {
    font-family: "Cormorant Garamond", serif;
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.25;
    color: #031B88 !important;
    text-decoration: none;
    transition: color .25s ease;
}

.edd-blocks__download-header h3 a:hover {
    color: #6096FD !important;
}

/* DESCRIPTION */
.edd-blocks__download-content p {
    color: #5b6675;
    line-height: 1.85;
    font-size: 1rem;
    margin-bottom: 28px;
}

/* PRICE */
.edd-blocks__download-price {
    margin: 24px 0;
}

.edd_price {
    color: #34D399 !important;
    font-size: 1.85rem;
    font-weight: 700;
    letter-spacing: .5px;
}

/* BUTTON */
.edd-submit,
.edd-add-to-cart,
.edd_go_to_checkout,
.edd-submit.button {
    background: transparent !important;
    border: 1.5px solid #031B88 !important;
    color: #031B88 !important;
    border-radius: 50px !important;
    padding: 14px 32px !important;
    font-size: .9rem;
    font-weight: 600 !important;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    transition: all .25s ease !important;
    box-shadow: none !important;
}

.edd-submit:hover,
.edd-add-to-cart:hover,
.edd_go_to_checkout:hover,
.edd-submit.button:hover {
    background: #031B88 !important;
    color: white !important;
    border-color: #031B88 !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(3,27,136,.18) !important;
}

/* OPTIONAL SECONDARY BUTTON ACCENT */
.edd_go_to_checkout {
    border-color: #6096FD !important;
    color: #6096FD !important;
}

.edd_go_to_checkout:hover {
    background: #6096FD !important;
    border-color: #6096FD !important;
}

/* GRID */
.edd-blocks__downloads {
    gap: 40px !important;
}

/* SUBTLE SECTION BACKGROUND */
.edd-blocks__downloads-wrapper {
    background: linear-gradient(
        180deg,
        rgba(170,182,251,.05),
        rgba(168,221,181,.04)
    );
    padding: 30px;
    border-radius: 24px;
}

/* MOBILE */
@media (max-width: 768px) {
    .edd-blocks__download {
        padding: 28px;
    }

    .edd-blocks__download-header h3 a {
        font-size: 1.6rem;
    }

    .edd_price {
        font-size: 1.5rem;
    }
}
/* ==========================================
   LEGACY PATH LAW
   PREMIUM PRODUCT PAGE
   ========================================== */

/* Main page width */
.single-download .site-main {
    max-width: 1250px;
    margin: 0 auto;
}

/* Product title */
.single-download .entry-title,
.single-download h1 {
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(3rem,5vw,4.75rem);
    font-weight: 500;
    line-height: 1.05;
    color: #031B88;
    margin-bottom: 24px;
    letter-spacing: -.03em;
}

/* Small accent rule */
.single-download .entry-title::after {
    content: "";
    display: block;
    width: 72px;
    height: 3px;
    margin-top: 24px;
    background: #34D399;
}

/* Product image */
.single-download .wp-post-image,
.single-download .edd_download_image img {
    border: 1px solid #EEF2FF;
    box-shadow: 0 20px 60px rgba(3,27,136,.06);
}

/* Main body text */
.single-download .entry-content,
.single-download .edd_download_content {
    font-size: 1.1rem;
    line-height: 1.95;
    color: #556070;
}

/* Section headings */
.single-download .entry-content h2,
.single-download .entry-content h3,
.single-download .entry-content h4 {
    font-family: "Cormorant Garamond", serif;
    color: #031B88;
    font-size: 2.1rem;
    font-weight: 500;
    margin-top: 3rem;
    margin-bottom: 1rem;
}

/* Lists */
.single-download .entry-content ul {
    padding-left: 0;
    list-style: none;
}

.single-download .entry-content li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 14px;
}

.single-download .entry-content li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #34D399;
}

/* ==========================================
   PURCHASE PANEL
   ========================================== */

.single-download .edd_download_purchase_form,
.single-download .edd_purchase_submit_wrapper {
    background: #FCFDFF;
    border: 1px solid #E7ECFF;
    padding: 48px;
    position: relative;
}

/* subtle top border */
.single-download .edd_download_purchase_form::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #031B88;
}

/* Price */
.single-download .edd_price,
.single-download .edd_price_option_price {
    display: block;
    font-family: "Cormorant Garamond", serif;
    color: #031B88 !important;
    font-size: 4rem;
    font-weight: 500;
    line-height: 1;
    margin-bottom: 32px;
}

/* Purchase button */
.single-download .edd-submit,
.single-download .edd-add-to-cart,
.single-download .button {
    width: 100%;
    background: #031B88 !important;
    color: white !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 18px 28px !important;
    font-size: .92rem;
    font-weight: 600 !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all .25s ease;
}

/* Hover */
.single-download .edd-submit:hover,
.single-download .edd-add-to-cart:hover,
.single-download .button:hover {
    background: #6096FD !important;
}

/* Trust text */
.single-download .edd_purchase_submit_wrapper::after {
    content: "Instant download • Lifetime access • Attorney created";
    display: block;
    text-align: center;
    margin-top: 20px;
    color: #7D8795;
    font-size: .85rem;
    letter-spacing: .03em;
}

/* Mobile */
@media (max-width:768px) {

    .single-download .entry-title {
        font-size: 2.5rem;
    }

    .single-download .edd_download_purchase_form,
    .single-download .edd_purchase_submit_wrapper {
        padding: 32px;
    }

    .single-download .edd_price {
        font-size: 3rem;
    }
}
@media (max-width: 768px) {

    .single-download .edd_download_purchase_form,
    .single-download .edd_purchase_submit_wrapper,
    .wp-block-group,
    .wp-block-cover,
    .wp-block-columns {
        padding-left: 5px !important;
        padding-right: 8px !important;
    }

}