/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */
 .page-header .entry-title, .site-footer .footer-inner, .site-footer:not(.dynamic-footer), .site-header .header-inner, .site-header:not(.dynamic-header), body:not([class*=elementor-page-]) .site-main {
    max-width: 1280px;
}


a {
    color: #001325;
}

a:hover {
    color: #CBAB4F;
}

.hidden {
    display: none;
}

.woocommerce-form-row.form-row-first {
    width: calc(50% - 10px);
    float: inline-start;
}

.woocommerce-form-row.form-row-last {
    width: calc(50% - 10px);
    float: inline-end;
}

.woocommerce-form-row input:not([type=radio],[type=checkbox]),
.woocommerce-form-row select {
    height: 48px;
    font-size: 14px;
    border: 1px solid #C8C8C8;
    border-radius: 6px;
}

.woocommerce-form-row input:focus,
.woocommerce-form-row select:focus {
    outline: none;
    border-color: #CBAB4F;
}

.woocommerce-form-row label,
.checkbox-wrapper > span,
.checkbox-wrapper > label {
    font-size: 14px;
    margin-bottom: 6px;
}

div.checkbox-wrapper {
    margin-bottom: 8px;
}

.checkbox-wrapper > div {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 14px;
}

.checkbox-wrapper > div p.form-row {
    margin-bottom: 0;
}

.checkbox-wrapper > div .required {
    display: none;
}

.woocommerce form .checkbox-wrapper .form-row {
    padding: 0;
}

.woocommerce-form-row:has(input[type="radio"]) {
    display: flex;
    border-bottom: 1px solid #CBAB4F;
    margin-bottom: 36px;
}

.woocommerce-form-row:has(input[type="radio"]) input {
    display: none;
}

.woocommerce-form-row:has(input[type="radio"]) label {
    width: 50%;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    border-radius: 10px;
    transition: .3s;
    cursor: pointer;
}

.woocommerce-form-row:has(input[type="radio"]:checked) input[type="radio"]:checked+label {
    background-color: #CBAB4F;
    color: #fff;
    transition: .3s;
}

.woocommerce-form-row button[type=submit],
.woocommerce-form-row input[type=submit],
.woocommerce-form-login button {
    position: relative;
    height: 48px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #001325;
    color: #fff;
    border: 1px solid #001325;
    border-radius: 10px;
    transition: .3s;
}

.woocommerce-form-row button[type=submit]:hover,
.woocommerce-form-row input[type=submit]:hover,
.woocommerce-form-login button:hover {
    background-color: #00132500;
    color: #001325;
    transition: .3s;
}

.woocommerce-form-row button[type=submit]::after,
.woocommerce-form-row input[type=submit]::after,
.woocommerce-form-login button::after {
    content: url("data:image/svg+xml,%3Csvg width='25' height='24' viewBox='0 0 25 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cellipse cx='11.7477' cy='12' rx='11.7477' ry='12' transform='matrix(-1 0 0 1 24.2222 0)' fill='url(%23paint0_linear_1_899)'/%3E%3Cpath d='M17.2803 10.9994H18.2803V12.9994H17.2803V10.9994ZM6.96137 12.7065C6.57085 12.316 6.57085 11.6828 6.96137 11.2923L13.3253 4.92832C13.7159 4.5378 14.349 4.5378 14.7395 4.92832C15.1301 5.31885 15.1301 5.95201 14.7395 6.34254L9.08269 11.9994L14.7395 17.6562C15.1301 18.0468 15.1301 18.6799 14.7395 19.0705C14.349 19.461 13.7159 19.461 13.3253 19.0705L6.96137 12.7065ZM17.2803 12.9994H7.66848V10.9994H17.2803V12.9994Z' fill='%233A321C'/%3E%3Cdefs%3E%3ClinearGradient id='paint0_linear_1_899' x1='0' y1='0' x2='23.9946' y2='23.4902' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%23FBE39A'/%3E%3Cstop offset='1' stop-color='%23DDBF6A'/%3E%3C/linearGradient%3E%3C/defs%3E%3C/svg%3E%0A");;
    position: absolute;
    left: 20px;
    height: 24px;
    top: 50%;
    font-size: 14px;
    font-weight: 700;
    transform: translateY(-50%);
}

.woocommerce-form-row .required {
    color: red;
}

.div-h {
    width: 100%;
    height: 1px;
    display: flex;
    background-color: #eee;
    margin-top: 16px;
    margin-bottom: 16px;
}

.woocommerce form .form-row {
    margin-bottom: 20px;
}

.login-link {
    width: 100%;
    display: flex;
    justify-content: center;
}

.register-link {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 14px;
}

p.lost_password {
    display: flex;
    font-size: 14px;
}

p.lost_password a {
    display: flex;
    font-size: 14px;
    text-decoration: underline;
}

.woocommerce-form-login__rememberme {
    font-size: 14px;
}

.woocommerce-form-login__rememberme input {
    width: 12px !important;
    height: 12px !important;
}

.woocommerce-privacy-policy-text {
    font-size: 14px;
}


.woocommerce-account main {
    background-color: #F7F7F7;
    max-width: unset !important;
    padding-inline-start: 20px !important;
    padding-inline-end: 20px !important;
}

.woocommerce-account main > .page-content > .woocommerce {
    max-width: 1280px;
    padding-top: 36px;
    padding-bottom: 36px;
    margin: auto;
}

.woocommerce-account .woocommerce-MyAccount-navigation {
    background: #FFFFFF;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    overflow: hidden;
}

.woocommerce-account .woocommerce-MyAccount-navigation .navigation-head {
    width: 100%;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    background-color: #253137;
    color: #fff;
    font-weight: 700;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 8px;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
    height: 48px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #F6F6F6;
    color: #807D74;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 10px;
    transition: .3s;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover,
.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a {
    background-color: #CBAB4F;
    color: #fff;
    transition: .3s;
}

.woocommerce-account .account-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #FFFFFF;
    padding: 48px;
    border-radius: 10px;
}

.woocommerce form .form-row {
    padding: 0;
    margin: 0 0 20px 0;
}

form .form-row > span {
    font-size: 12px;
}

.woocommerce form .form-row-first, .woocommerce form .form-row-last, .woocommerce-page form .form-row-first, .woocommerce-page form .form-row-last {
    width: calc(50% - 10px);
}

.woocommerce-account .woocommerce-MyAccount-content h2 {
    font-size: 20px;
    font-weight: 700;
}

form.edit-account {
    background: #FFFFFF;
    padding: 48px;
    border-radius: 10px;
}

form.edit-account fieldset {
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 20px;
}

.woocommerce-notices-wrapper:focus-visible,
.woocommerce-message:focus-visible {
    outline: none !important;
}

.my-account-orders-racing-list {

}

.my-account-orders-racing-list .cart-item.product {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    text-decoration: none;
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 10px;
}

.my-account-orders-racing-list .cart-item.product.single-orders-racing {
    border: none;
    padding: 0;
    border-bottom: 1px solid #eee;
    padding-bottom: 16px;
    border-radius: 0;
}

.my-account-orders-racing-list .cart-item.product .thumb {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.my-account-orders-racing-list .cart-item.product .details-wrapper {
    display: flex;
    gap: 16px;
}

.my-account-orders-racing-list .cart-item.product .details {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.my-account-orders-racing-list .cart-item.product .details .name-wrapper {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.my-account-orders-racing-list .cart-item.product .details .name-wrapper .name {
    color: #000;
    font-size: 16px;
    font-weight: 700;
    margin: 0;
}

.my-account-orders-racing-list .cart-item.product .details .name-wrapper span {
    color: #757575;
    font-size: 12px;
    padding-right: 8px;
    border-right: 1px solid #eeeeee;
}

.my-account-orders-racing-list .cart-item.product .details .date-wrapper {
    display: flex;
    gap: 4px;
    color: #000;
    font-size: 12px;
}

.my-account-orders-racing-list .cart-item.product .details .address-wrapper,
.my-account-orders-racing-list .cart-item.product .details-extra .address-wrapper {
    display: flex;
    gap: 4px;
    color: #000;
    font-size: 12px;
    margin-top: 8px;
}

.my-account-orders-racing-list .cart-item.product .details .address-wrapper svg,
.my-account-orders-racing-list .cart-item.product .details-extra .address-wrapper svg {
    width: 16px;
    height: 16px;
}

.my-account-orders-racing-list .cart-item.product .details .race-category-wrapper,
.my-account-orders-racing-list .cart-item.product .details-extra .race-category-wrapper {
    display: flex;
    gap: 8px;
    font-size: 12px;
}

.my-account-orders-racing-list .cart-item.product .details .race-category-wrapper > span,
.my-account-orders-racing-list .cart-item.product .details-extra .race-category-wrapper > span {
    background-color: #CBAB4F;
    color: #fff;
    padding: 2px 10px;
    border-radius: 99px;
}

.my-account-orders-racing-list .cart-item.product .details .race-category-wrapper > span.race-barrier-height,
.my-account-orders-racing-list .cart-item.product .details-extra .race-category-wrapper > span.race-barrier-height {
    background-color: #001325;
}

.my-account-orders-racing-list .cart-item.product .details-extra {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: end;
    gap: 8px;
}

.my-account-orders-racing-list .cart-item.product .details-extra .status [data-value]{
    font-size: 12px;
    padding: 2px 12px;
    border-radius: 99px;
}

.my-account-orders-racing-list .cart-item.product .details-extra .status [data-value="غیرفعال"]{
    background-color: var(--wc-red);
    color: #fff;
}

.my-account-orders-racing-list .cart-item.product .details-extra .status [data-value="فعال"]{
    background-color: var(--wc-green);
    color: #001325;
}

.my-account-orders-racing-list .cart-item.product .details-extra .status [data-value="خاتمه یافته"]{
    background-color: var(--wc-secondary);
    color: #001325;
}

.woocommerce-form-register:has([name="user_type"][value="حقیقی"]:checked) .hoghooghi {
    display: none;
}

.woocommerce-form-register:has([name="user_type"][value="حقوقی"]:checked) .haghighi {
    display: none;
}

.woocommerce form.register {
    border: none;
    padding: 0;
    margin: 0;
    text-align: initial;
    border-radius: 0;
}



@media only screen and (max-width:1023px) {
    .woocommerce-form-row.form-row-first {
        width: 100%;
        float: none;
    }
    
    .woocommerce-form-row.form-row-last {
        width: 100%;
        float: none;
    }

    .woocommerce-account .woocommerce-MyAccount-content {
        margin-top: 36px;
    }

    .woocommerce-account .account-content {
        padding: 20px;
    }

    .my-account-orders-racing-list .cart-item.product {
        flex-direction: column;
        gap: 16px;
    }

    .my-account-orders-racing-list .cart-item.product .details {
        justify-content: center;
    }

    .my-account-orders-racing-list .cart-item.product .details .name-wrapper {
        flex-direction: column;
        align-items: normal;
        gap: 4px;
    }

    .my-account-orders-racing-list .cart-item.product .details .name-wrapper span {
        border-right: none;
        padding-right: 0;
    }

    .my-account-orders-racing-list .cart-item.product .details .address-wrapper {
        display: none;
    }

    .my-account-orders-racing-list .cart-item.product .details .race-category-wrapper {
        display: none;
    }

    .my-account-orders-racing-list .cart-item.product .details-extra {
        align-items: start;
        padding-top: 4px;
        border-top: 1px solid #eee;
    }
}

@media only screen and (min-width: 1024px) {
    .my-account-orders-racing-list .cart-item.product .details-extra .address-wrapper,
    .my-account-orders-racing-list .cart-item.product .details-extra .race-category-wrapper {
        display: none;
    }
}