/* Custom Layout for JBS Donation Product #1579 */
.product_cat-support {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.product_cat-support .woocommerce-product-gallery {
    flex: 1;
    max-width: 30%;
    margin-right: 0;
}

.product_cat-support .summary.entry-summary {
    flex: 1;
    max-width: 100%;
    float: none;
    clear: none;
    margin-bottom: 0;
}

.product_cat-support .product-description {
    flex: 0 0 100%;
    width: 100%;
    clear: both;
    border-top: 1px solid #eee;
}

.product_cat-support .product_title {
    color: var(--gray-900, #131921);
    font-family: var(--typeface-display, "DM Serif Display");
    font-size: var(--size-3xl-30, 30px);
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
}

.product_cat-support .price {
    color: var(--gray-800, #252C31) !important;
    font-family: var(--typeface-text, "Open Sans");
    font-size: var(--size-xl-20, 20px) !important;
    font-style: normal;
    font-weight: 600;
    line-height: 150%;
    margin: 8px 0 20px 0 !important;
    display: flex;
    align-items: center;
    gap: 12px;
}

.product_cat-support .woocommerce-product-details__short-description {
    color: var(--gray-800, #252C31);
    font-family: var(--typeface-text, "Open Sans");
    font-size: var(--size-base-16, 16px);
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    margin-bottom: 20px;
}

/* .product_cat-support .product_meta {
    margin-bottom: 20px;
    font-size: 0.9em;
    color: #777;
    padding-bottom: 15px;
    display: block;
}

.product_cat-support .product_meta>span {
    display: block;
    margin-bottom: 5px;
}

.product_cat-support .product_meta a {
    color: #007bff;
    text-decoration: none;
} */

/* Refined Form Styles for Layout Match */
.product_cat-support form.cart,
.product_cat-support .variations_button {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 20px;
    padding-top: 0 !important;
}

.product_cat-support form.cart::before,
.product_cat-support .variations_button::before {
    display: none !important;
}

/* "Enter Amount" container */
.product_cat-support .woonp-type-default {
    margin-bottom: 0;
    flex: 0 0 auto;
    display: block;
}

.product_cat-support .woonp label {
    display: block;
    margin-bottom: 8px;
    color: var(--gray-900);
    font-family: var(--typeface-text, "Open Sans");
    font-size: var(--size-sm-14, 14px);
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
    /* 19.6px */
}


.product_cat-support .woonp input.woonp-input {
    border-radius: 8px;
    border: 1px solid var(--gray-300, #C0C8D0);
    background: var(--gray-50, #F6F7F8);
    padding: 8px 12px 8px 25px;
    height: 40px;
    min-width: 140px;
    max-width: 140px;
    font-size: 16px;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%23555555" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><line x1="12" y1="1" x2="12" y2="23"></line><path d="M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6"></path></svg>');
    background-repeat: no-repeat;
    background-position: 8px center;
    background-size: 14px 14px;
    color: var(--gray-500);
    font-family: var(--typeface-text, "Open Sans");
    font-size: var(--size-sm-14, 14px);
    font-style: normal;
    font-weight: 400;
    line-height: 125%;
    /* 17.5px */
}

.product_cat-support .woonp input.woonp-input:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
    background-color: #fff;
}


/* Quantity */
.product_cat-support .quantity {
    margin: 0 !important;
    margin-bottom: 0;
    flex: 0 0 auto;
    position: relative;
    padding-top: 25px;
    /* Space for the absolute label */
}

/* Quantity Label Fix: Hide original text, show "Quantity" */
.product_cat-support .quantity label.screen-reader-text {
    position: absolute;
    top: 0;
    left: 0;
    width: auto;
    height: auto;
    clip: auto;
    clip-path: none;
    overflow: visible;
    font-size: 0;
    /* Hide "JBS Donation quantity" */
    display: block !important;
    margin-bottom: 8px;
    line-height: 1;
}

.product_cat-support .quantity label.screen-reader-text::before {
    content: "Quantity" !important;
    color: var(--gray-900);
    font-family: var(--typeface-text, "Open Sans");
    font-size: var(--size-sm-14, 14px);
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
}

.product_cat-support .quantity {
    display: flex;
    align-items: center;
}

.product_cat-support .quantity button.minus,
.product_cat-support .quantity button.plus {
    width: 44px;
    height: 44px;
    background-color: #eee;
    border: 1px solid #ddd;
    color: #333;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
}

.product_cat-support .quantity button.minus:hover,
.product_cat-support .quantity button.plus:hover {
    background-color: #ddd;
}

.product_cat-support .quantity input.qty {
    height: 44px;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    border-left: none;
    border-right: none;
    background-color: #fff;
    width: 50px;
    font-size: 16px;
    border-radius: 0;
    box-sizing: border-box;
    text-align: center;
    margin: 0;
    -moz-appearance: textfield;
}

.product_cat-support .quantity input.qty::-webkit-outer-spin-button,
.product_cat-support .quantity input.qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}


/* Add to Cart Button */
.product_cat-support button.single_add_to_cart_button {
    background-color: #004085;
    color: white;
    height: 44px;
    padding: 0 20px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    margin-bottom: 0;
    /* Alignment fix */
}

.product_cat-support button.single_add_to_cart_button:hover {
    background-color: #002752;
}

.product_cat-support button.single_add_to_cart_button::before {
    content: var(--cart-white-icon);
    display: block;
    height: 20px;
}

.product_cat-support.product_tag-csc .summary p.price {
    color: var(--gray-500, #647484) !important;
    font-family: var(--typeface-text, "Open Sans");
    font-size: var(--size-sm-14, 14px) !important;
    font-style: normal;
    font-weight: 400 !important;
    line-height: 140%;
    gap: 4px !important;
}

.product_cat-support.product_tag-csc .summary p.price::before {
    display: none !important;
}

/* Responsive */
@media (max-width: 768px) {

    .product_cat-support .woocommerce-product-gallery,
    .product_cat-support .summary.entry-summary {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (max-width: 480px) {

    .product_cat-support button.single_add_to_cart_button,
    .product_cat-support .variations_button button.single_add_to_cart_button {
        width: 100%;
        justify-content: center;
    }
}

/* ONLY for this product */
.single-product.postid-64 .summary {
    display: flex;
    flex-direction: column;
}

/* ---------- PLEDGE + PRICE INLINE ---------- */
.single-product.postid-64 .pledge-level,
.single-product.postid-64 .summary>.pledge-level {
    order: 10;
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Price inline */
.single-product.postid-64 .pledge-level .price,
.single-product.postid-64 .summary .price {
    margin: 0;
    font-weight: 600;
    white-space: nowrap;
}

/* ---------- META BELOW ---------- */
.single-product.postid-64 .product_meta {
    order: 20;
    margin: 10px 0;
    font-size: 14px;
}

/* ---------- QUANTITY + BUTTON LAST ---------- */
.single-product.postid-64 form.cart {
    order: 30;
    margin-top: 10px;
}

/* continuing support club */


.product_tag-csc .description p {
    display: flex;
    align-items: center;
}

.product_tag-csc .description p:nth-child(2) {
    display: flex;
    padding: var(--5, 20px);
    flex-direction: column;
    align-items: flex-start;
    align-self: stretch;
    border-radius: var(--rounded-3xl, 24px);
    border: 1px solid var(--gray-200, #DADEE3);
    background: var(--white, #FFF);
}

.product_tag-csc .description p:nth-child(3)::before {
    content: var(--info-icon);
    display: inline-block;
    margin-right: 8px;
    height: 24px;
}

.product_tag-csc .description p:nth-child(4)::before {
    content: var(--phone-icon);
    display: inline-block;
    margin-right: 8px;
    height: 24px;
}

/* tna subscriptions */

.product_cat-subscribe .summary form .quantity,
.product.downloadable .summary form .quantity,
#product-33869.product_cat-support .summary form .quantity {
    display: none !important;
}

/* membership */

#product-33869.product_cat-support .summary h3 {
    margin-top: 1rem !important;
}

#product-33869.product_cat-support .summary form table.variations tbody {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
}

#product-33869.product_cat-support .summary form table.variations tbody tr {
    flex: 1;
    width: 100%;
}

#product-33869.product_cat-support .summary form table.variations tbody select {
    width: 100%;
    max-width: 100% !important;
}

#product-33869.product_cat-support .summary form table.variations tbody tr:last-child .value {
    display: flex !important;
    align-items: flex-end;
}

#product-33869.product_cat-support .summary form .single_variation_wrap {
    display: flex;
    padding: 12px 0 12px 16px;
    align-items: center;
    justify-content: space-between;
    gap: var(--4, 16px);
    align-self: stretch;
    border-radius: var(--rounded-2xl, 16px);
    background: var(--primary-500, #006CD1);
    flex-wrap: wrap;
}

#product-33869.product_cat-support .summary form .single_variation_wrap .woocommerce-variation-price {
    display: flex;
    align-items: center;
    gap: 8px;
}

#product-33869.product_cat-support .summary form .single_variation_wrap .price,
#product-33869.product_cat-support .summary form .single_variation_wrap .amount {
    color: var(--white, #FFF) !important;
    font-family: var(--typeface-text, "Open Sans");
    font-size: var(--size-xl-20, 20px) !important;
    font-style: normal;
    font-weight: 600;
    line-height: 150%;
    margin: 0 !important;
}

#product-33869.product_cat-support .summary form .single_variation_wrap .woocommerce-variation-price::before {
    content: var(--price-tag-white);
    display: block;
    height: 24px;
    width: 24px;
}

#product-33869.product_cat-support .summary form .single_variation_wrap .woocommerce-variation-availability {
    display: none !important;
}

#product-33869.product_cat-support .summary form .single_variation_wrap button.single_add_to_cart_button {
    border-radius: var(--rounded-lg, 8px);
    background-color: var(--white, #FFF) !important;
    color: var(--gray-900) !important;
}

#product-33869.product_cat-support .summary form .single_variation_wrap button.single_add_to_cart_button::before {
    content: var(--cart-icon) !important;
}

#product-33869.product_cat-support .description {
    margin-top: 2rem !important;
}

#product-33869.product_cat-support .description .one-year,
#product-33869.product_cat-support .description .lifetime {
    display: flex;
    padding: var(--5, 20px);
    flex-direction: column;
    align-items: flex-start;
    align-self: stretch;
    border-radius: var(--rounded-3xl, 24px);
    border: 1px solid var(--gray-200, #DADEE3);
    background: var(--white, #FFF);
    margin-bottom: 1.5rem !important;
}

#product-33869.product_cat-support .description ul {
    margin-bottom: 0 !important;
}

#product-33869.product_cat-support .description p:nth-of-type(6) {
    display: none !important;
}

#product-33869.product_cat-support .description p:last-child {
    display: flex;
    padding: var(--8, 32px) var(--6, 24px);
    justify-content: center;
    align-items: center;
    align-self: stretch;
    border-radius: var(--rounded-3xl, 24px);
    background: var(--gray-50, #F6F7F8);
}

#product-33869.product_cat-support .description p small {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    flex-wrap: wrap;
    color: var(--gray-800, #252C31);
    font-family: var(--typeface-Open-Sans, "Open Sans");
    font-size: var(--size-base-16, 16px);
    font-style: normal;
    font-weight: 400;
    line-height: 145%;
    gap: 4px;
}

#product-33869.product_cat-support .description p small strong {
    color: var(--gray-900, #131921);
    font-family: var(--typeface-display, "DM Serif Display");
    font-size: var(--size-2xl-24, 24px);
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
    margin-right: 12px;
}

#product-33869.product_cat-support .description p small a {
    color: var(--primary-500, #006CD1);
    font-family: var(--typeface-Open-Sans, "Open Sans");
    font-size: var(--size-base-16, 16px);
    font-style: normal;
    font-weight: 700;
    line-height: 145%;
}

#product-33869.product_cat-support .description p small a:hover {
    text-decoration: underline;
}

#product-33869.product_cat-support .description p small br {
    display: none !important;
}

@media (min-width: 1024px) {

    #product-33869.product_cat-support .woocommerce-product-gallery {
        width: 35% !important;
        max-width: 35% !important;
        margin-right: 0 !important;
        margin-bottom: 0 !important;
        margin-left: 0 !important;
    }

    #product-33869.product_cat-support .summary {
        width: 65% !important;
    }
}


@media (min-width: 769px) and (max-width: 1280px) {
    #product-33869.product_cat-support .summary form table.variations tbody {
        flex-direction: column;
        gap: 0px;
    }
}

@media (max-width: 570px) {
    #product-33869.product_cat-support .summary form table.variations tbody {
        flex-direction: column;
        gap: 0px;
    }

    #product-33869.product_cat-support .summary form .single_variation_wrap {
        flex-direction: column;
        align-items: flex-start;
        padding: 12px 16px 8px 16px;
    }

    #product-33869.product_cat-support .summary form .single_variation_wrap .variations_button {
        width: 100%;
    }

    #product-33869.product_cat-support .summary form .single_variation_wrap button.single_add_to_cart_button {
        width: 100%;
        justify-content: center;
    }
}

/* My Account */

.authentication-wrapper,
.woocommerce-lost-password .entry-content {
    background: var(--gray-50);
    padding: 48px;
}

.my-account-container,
.woocommerce-lost-password .entry-content .woocommerce {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    padding: 48px;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
    align-self: stretch;
    border-radius: 1rem;
    background: #fff;
}

.woocommerce-lost-password .entry-content .woocommerce {
    gap: 24px;
}

.woocommerce-lost-password .entry-content .woocommerce .woocommerce-notices-wrapper {
    display: none !important;
}

/* My Account heading */
.my-account-heading,
.lost-password-title {
    color: var(--gray-800, #252C31);
    font-family: var(--typeface-display, "DM Serif Display");
    font-size: var(--size-3xl-30, 30px);
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
    /* 36px */
}

.my-account-login-section,
.my-account-register-section {
    width: 100%;
}

.my-account-login-section h2,
.my-account-register-section h2 {
    color: var(--gray-800, #252C31);
    font-family: var(--typeface-text, "Open Sans");
    font-size: var(--size-xl-20, 20px);
    font-style: normal;
    font-weight: 600;
    line-height: 150%;
    margin-bottom: 20px !important;
}

.my-account-login-section form,
.my-account-register-section form,
.woocommerce-lost-password .entry-content .woocommerce form.lost_reset_password {
    width: 100%;
    margin-bottom: 0 !important;
}

/* Horizontal login fields */
.login-fields-row {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
}

.login-fields-row .form-row-first,
.login-fields-row .form-row-last {
    flex: 1;
    margin: 0;
}

.login-fields-row .form-row-first {
    margin-right: 0;
}

.login-fields-row .form-row-last {
    margin-left: 0;
}

/* Form field styling */
.my-account-container .woocommerce-form-row label,
.woocommerce-lost-password .entry-content .woocommerce form.lost_reset_password label {
    display: block;
    margin-bottom: 6px;
    color: var(--gray-900);
    font-family: var(--typeface-text, "Open Sans");
    font-size: var(--size-sm-14, 14px);
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
    /* 19.6px */
}

.my-account-container .woocommerce-Input,
.woocommerce-lost-password .entry-content .woocommerce form.lost_reset_password .woocommerce-Input{
    width: 100%;
    display: flex;
    padding: var(--25, 10px) var(--4, 16px);
    align-items: center;
    gap: var(--25, 10px);
    align-self: stretch;
    border-radius: 8px;
    border: 1px solid var(--gray-300, #C0C8D0);
    background: var(--gray-50, #F6F7F8);
    box-shadow: none !important;
    overflow: hidden;
    color: var(--gray-500);
    font-family: var(--typeface-text, "Open Sans");
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 125%;
    /* 17.5px */
}

.my-account-container .woocommerce-Input:focus,
.woocommerce-lost-password .entry-content .woocommerce form.lost_reset_password .woocommerce-Input:focus {
    border: 1px solid var(--primary-500) !important;
    background: var(--gray-50, #F6F7F8) !important;
}

.show-password-input {
    background-color: transparent !important;
    right: 4px !important;
}

/* Remember me checkbox */
.my-account-container .woocommerce-form-login__rememberme,
.woocommerce-form__label-for-checkbox {
    display: flex !important;
    align-items: flex-start;
    margin: 0;
    color: var(--gray-900);
    font-family: var(--typeface-text, "Open Sans");
    font-size: var(--size-sm-14, 14px);
    font-style: normal;
    font-weight: 400;
    line-height: 14px;
    /* 100% */
}

.my-account-container .woocommerce-form-login__rememberme input[type="checkbox"],
.woocommerce-form__label-for-checkbox input[type="checkbox"] {
    display: flex;
    width: 16px !important;
    height: 16px !important;
    padding: var(--25, 10px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--25, 10px);
    border-radius: 4px;
    border: 0.5px solid var(--gray-300, #C0C8D0);
    background: var(--gray-50, #F6F7F8);
    margin-right: 8px;
}

/* Button styling - Blue theme */
.custom-login-button,
.custom-register-button,
.lost_reset_password .woocommerce-Button {
    display: flex;
    padding: var(--25, 10px) var(--5, 20px);
    justify-content: center;
    align-items: center;
    gap: var(--2, 8px);
    border-radius: var(--rounded-lg, 8px);
    background-color: var(--primary-600, #0062BE);
    color: var(--white, #FFF);
    font-family: var(--typeface-text, "Open Sans");
    font-size: var(--size-sm-14, 14px);
    font-style: normal;
    font-weight: 600;
    line-height: 140%;
    margin-top: 1.5rem;
}

.lost_reset_password .woocommerce-Button {
    margin-top: 0 !important;
}

.custom-login-button:hover,
.custom-register-button:hover {
    background-color: var(--primary-700) !important;
    color: var(--white, #FFF) !important;
}

.custom-login-button:active,
.custom-register-button:active {
    background-color: var(--primary-700) !important;
    color: var(--white, #FFF) !important;
}

/* Lost password link */
.my-account-container .lost_password {
    margin-top: 1.5rem;
    font-size: 14px;
}

.my-account-container .lost_password a {
    color: var(--primary-500, #006CD1);
    font-family: var(--typeface-text, "Open Sans");
    font-size: var(--size-sm-14, 14px);
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: none;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
}

.my-account-container .lost_password a:hover {
    text-decoration: underline;
}

/* OR separator */
.or-separator {
    position: relative;
    text-align: center;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 0 auto;
    color: var(--gray-800, #252C31);
    font-family: var(--typeface-display, "DM Serif Display");
    font-size: var(--size-xl-20, 20px);
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
    width: 100%;
    max-width: 620px;
}

.or-separator .line {
    height: 1px;
    background: #DADEE3;
    flex: 1;
}

/* .or-separator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #ddd;
    z-index: 1;
} */

/* Ensure proper spacing */

.my-account-container .form-row:last-child {
    margin-bottom: 0;
}

/* Register section form fields */
.my-account-register-section .woocommerce-form-row {
    margin-bottom: 24px;
}

/* Privacy policy text */
.my-account-register-section p:not(.woocommerce-form-row) {
    color: var(--gray-600, #5B6977);
    font-family: var(--typeface-text, "Open Sans");
    font-size: var(--size-sm-14, 14px);
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
    /* 19.6px */
}

.my-account-register-section p a {
    color: var(--gray-600, #5B6977);
    font-family: var(--typeface-text, "Open Sans");
    font-size: var(--size-sm-14, 14px);
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: none;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
}

.woocommerce-lost-password .entry-content .woocommerce form.lost_reset_password p:nth-of-type(1) {
    color: var(--gray-600, #5B6977);
    font-family: var(--typeface-text, "Open Sans");
    font-size: var(--size-base-16, 16px);
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    padding-bottom: 2rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--gray-200);
}

.woocommerce-lost-password .entry-content .woocommerce p:nth-of-type(2) {
    margin-bottom: 1.5rem !important;
}

.woocommerce-lost-password .entry-content .woocommerce p:nth-of-type(3) {
    margin-bottom: 0 !important;
}

/* Responsive design */
@media (max-width: 767px) {
    .authentication-wrapper,
    .woocommerce-lost-password .entry-content {
        padding: 1.5rem 1rem;
    }

    .my-account-container,
    .woocommerce-lost-password .entry-content .woocommerce {
        padding: 20px;
    }

    .login-fields-row {
        flex-direction: column;
        gap: 0;
    }

    .login-fields-row .form-row-first,
    .login-fields-row .form-row-last {
        margin-bottom: 24px;
    }

    .my-account-heading,
    .lost-password-title {
        font-size: 24px;
    }
}

/* Remove default WooCommerce two-column layout */
.woocommerce-account .u-columns.col2-set,
.woocommerce-account .u-column1,
.woocommerce-account .u-column2 {
    width: 100%;
    float: none;
    margin: 0;
}

/* Order Details Page Custom Styling */
.woocommerce-view-order-header {
    margin-bottom: 5px;
}

.woocommerce-view-order-title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin: 0;
    font-family: serif;
    /* Matches the serif font in mockup */
}

.woocommerce-view-order-divider {
    border: 0;
    border-top: 1px solid #eee;
    margin: 15px 0 20px 0;
}

.woocommerce-view-order-meta {
    font-size: 14px;
    color: #666;
    margin-bottom: 30px;
}

.woocommerce-view-order-meta mark {
    background: transparent;
    color: #333;
    font-weight: 500;
}

/* Table Styling */
.woocommerce-order-details__title {
    font-size: 18px;
    font-weight: 600;
    margin: 30px 0 15px 0;
    color: #333;
}

.shop_table.order_details,
.shop_table.woocommerce-table--order-downloads {
    border: 1px solid #eee !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    width: 100% !important;
    margin-bottom: 30px !important;
}

.shop_table.order_details thead th,
.shop_table.woocommerce-table--order-downloads thead th {
    background-color: #f0f2f5 !important;
    color: #555 !important;
    font-size: 11px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    padding: 12px 20px !important;
    border: none !important;
}

.shop_table.order_details tbody td,
.shop_table.order_details tfoot td,
.shop_table.order_details tfoot th,
.shop_table.woocommerce-table--order-downloads tbody td {
    padding: 15px 20px !important;
    border-top: 1px solid #eee !important;
    font-size: 14px !important;
}

.shop_table.order_details tbody tr:first-child td {
    border-top: none !important;
}

.shop_table.order_details tfoot th {
    font-weight: 600 !important;
    color: #333 !important;
    text-align: left !important;
}

.shop_table.order_details .product-name a {
    color: #2271b1 !important;
    text-decoration: none !important;
    font-weight: 500 !important;
}

.shop_table.order_details .product-name a:hover {
    text-decoration: underline !important;
}

/* Downloads Button */
.shop_table.woocommerce-table--order-downloads .button.download {
    background-color: var(--primary-600) !important;
    color: #fff !important;
    border-radius: 6px !important;
    padding: 8px 20px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
}
