/*
 Theme Name:     LTMTF
 Description:    Divi Child Theme
 Template:       Divi
 Version:        1.0.0
*/


:root {
    --deep-black: #101923;
    --obsidian-black: #08100C;
    --smoke-black: #23262A;
    --alien-black: #1A2228;
    --neutral-black: #232325;
    --secondary-color: #CD2033;
    --primary-color: #0e1b3f;
}

@font-face {
    font-family: "Industry";
    src: url("fonts/349C61_3_0.eot");
    src: url("fonts/349C61_3_0.eot?#iefix") format("embedded-opentype"), url("fonts/349C61_3_0.woff2") format("woff2"), url("fonts/349C61_3_0.woff") format("woff"), url("fonts/349C61_3_0.ttf") format("truetype");
    font-weight: 800;
}

@font-face {
    font-family: "Industry";
    src: url("fonts/349C61_2_0.eot");
    src: url("fonts/349C61_2_0.eot?#iefix") format("embedded-opentype"), url("fonts/349C61_2_0.woff2") format("woff2"), url("fonts/349C61_2_0.woff") format("woff"), url("fonts/349C61_2_0.ttf") format("truetype");
    font-weight: normal;
}

@font-face {
    font-family: "Industry";
    src: url("fonts/349C61_B_0.eot");
    src: url("fonts/349C61_B_0.eot?#iefix") format("embedded-opentype"), url("fonts/349C61_B_0.woff2") format("woff2"), url("fonts/349C61_B_0.woff") format("woff"), url("fonts/349C61_B_0.ttf") format("truetype");
    font-weight: 600;
}

@font-face {
    font-family: "Industry";
    src: url("fonts/349C61_7_0.eot");
    src: url("fonts/349C61_7_0.eot?#iefix") format("embedded-opentype"), url("fonts/349C61_7_0.woff2") format("woff2"), url("fonts/349C61_7_0.woff") format("woff"), url("fonts/349C61_7_0.ttf") format("truetype");
    font-weight: 700;
}

body {
    font-family: "Industry", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Industry", sans-serif;

}

h1 {
    font-size: 50px;
    font-weight: 800;
}

h2 {
    font-size: 40px;
    font-weight: 800;
}

.et_pb_row,
.container {
    width: 90%;
}

.button,
.woocommerce .button {
    background-color: var(--secondary-color) !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    border-color: var(--secondary-color) !important;
    text-transform: uppercase;
    line-height: 1;
}


@media (max-width: 767px) {

    .et_pb_row,
    .container {
        width: 94%;
    }

    h1 {
        font-size: 36px;
    }

    h2 {
        font-size: 32px;
    }
}

/* mobile menu */

.et-db #et-boc .et-l .et_pb_menu_inner_container {
    flex-direction: row;
}

.et-db #et-boc .et-l .nav li ul {
    width: 300px;
}

.et-db #et-boc .et-l .et-menu li li a {
    padding: 6px 10px;
    width: 260px;
    line-height: 1.3;
}

.et-db #et-boc .et-l .nav li li {
    padding: 0 10px;
    margin: 0;
}

.et-db #et-boc .et-l .nav li.current-menu-item {
    background-color: var(--secondary-color);
}

.et-db #et-boc .et-l .et-menu a:hover {
    opacity: 1;
    background-color: var(--secondary-color);
}




.et-db #et-boc .et-l .et_pb_menu--with-logo .et_pb_menu__menu>nav>ul>li>a {
    padding-left: 10px;
    padding-right: 20px;
}

/* #et_mobile_nav_menu:before  {
    content: 'MENU';
    position: absolute;
    right: 33px;
    bottom:30px;
    color: #ffffff;
    font-size:16px;
} */


.et-db #et-boc .et-l .et_pb_menu__cart-count {
    font-size: 10px;
    background: red;
    width: 15px;
    height: 15px;
    border-radius: 10px;
    color: #ffffff;
    text-align: center;
    margin-top: -10px;
    margin-left: -3px;
}


.et-db #et-boc .et-l .mobile_nav.opened .mobile_menu_bar:before {
    content: '\4d';
}


.et-db #et-boc .et-l .et_mobile_menu {
    border-top: 0;
    background-color: var(--primary-color);
}



.et-db #et-boc .et-l .et_mobile_menu li {
    text-align: center !important;
}

.et-db #et-boc .et-l .et_mobile_menu li li,
.et-db #et-boc .et-l .et_mobile_menu li ul {
    padding-left: 0 !important;
}

.et-db #et-boc .et-l .et_mobile_menu {
    min-width: 100vw;
    margin-left: 0;
}



.et-db #et-boc .et-l .et_mobile_menu {
    min-height: 100vh !important;
    min-height: -webkit-fill-available;
    padding-top: 40px !important;
    top: 0;
    z-index: -1;
    -webkit-transition: -webkit-transform 0.4s 0s;
    -moz-transition: -moz-transform 0.4s 0s;
    transition: transform 0.4s 0s;
    -overflow-scrolling: touch !important;
    -webkit-overflow-scrolling: touch !important;
}

.et-db #et-boc .et-l .mobile_nav.closed #mobile_menu {
    -webkit-transform: translateX(100%);
    -moz-transform: translateX(100%);
    -ms-transform: translateX(100%);
    -o-transform: translateX(100%);
    transform: translateX(100%);
}

.et-db #et-boc .et-l .mobile_nav.opened #mobile_menu {
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
    transform: translateX(0);
}

.et-db #et-boc .et-l .et_pb_bg_layout_dark.et_pb_menu ul li a:hover {
    color: #ffffff;
}

@media (max-width: 980px) {
    .et-db #et-boc .et-l .et_pb_menu__wrap {
        flex-direction: row;
        flex-wrap: nowrap;
    }
}

/* end mobile menu */

/* opentrack */

.opentrack-event-date {
    font-size: 24px;
    font-weight: 800;
    padding: 10px 0 20px 0;
    margin-bottom: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;

}

.opentrack-event-date strong {
    color: #333;
    font-weight: 600;
}

.event-date-value {
    color: var(--secondary-color);
    font-size: 1.05em;
}

.opentrack-custom-fields {
    margin-bottom: 24px;
}

.opentrack-custom-fields label {
    display: block;
    font-weight: 600;
    font-size: 16px;
    color: #555;
}

.required {
    color: #999;
    font-weight: normal;
}

.opentrack-custom-fields select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 3px;
    background: white;
    font-weight: 700;
    font-size: 16px;
    margin-top: 10px;
}

.opentrack-custom-fields select:focus {
    outline: none;
    border-color: #333;
}

.opentrack-packages-field,
.opentrack-addons-field,
.opentrack-sessions-field {
    margin-bottom: 24px;
    padding: 15px;
    border: 1px solid #e0e0e0;
    background: #fafafa;
    border-radius: 3px;
}



.opentrack-addons-list .addon-item {
    margin: 0;
    padding: 0;
    font-size: 18px;
    font-weight: 700;
}


.opentrack-addons-list label,
.opentrack-sessions-list label {
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: space-between;
    flex-wrap: wrap;
}

.opentrack-addons-list input[type="checkbox"],
.opentrack-sessions-list input[type="checkbox"] {
    margin: 0;
    flex-shrink: 0;
}

.addon-item {
    padding: 10px 0;
}

.session-item {
    padding: 0 0 10px;
}

.addon-name,
.session-time {
    font-weight: 700;
    font-size: 18px;
    line-height: 1;
}

.opentrack-sessions-list {
    margin-top: 10px;
}

.addon-price {
    color: var(--secondary-color);
    font-weight: 800;

}

.addon-description {
    display: block;
    font-size: 14px;
    color: #555;
    font-weight: 600;
    flex-grow: 1;
    text-align: right;
}

.opentrack-helmet-field {
    margin-bottom: 20px;
}

.session-availability {

    font-size: 0.85em;
    margin-left: auto;
}

.available-count {
    font-weight: 600;
    color: #555;
}

.sold-out {
    color: #d32f2f;
    font-weight: 500;
}

.session-unavailable {
    opacity: 0.5;
}

.session-unavailable label {
    text-decoration: line-through;
    color: #999;
}

.opentrack-total-price {
    padding: 20px;
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 3px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
    margin-bottom: 24px;
}

.price-label {
    font-weight: 600;
    color: #333;
    font-size: 0.95em;
}

.price-value {
    font-size: 24px;
    font-weight: 800;
    color: var(--secondary-color);
}

.opentrack-sessions-info {
    margin-bottom: 12px;
    font-size: 14px;
    color: #555;
}

.single_add_to_cart_button {
    width: 100%;
    padding: 14px;
    background: #333;
    color: white;
    border: none;
    border-radius: 3px;
    font-weight: 600;
    font-size: 0.95em;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.single_add_to_cart_button:hover {
    background: #555;
}

.single_add_to_cart_button:active {
    background: #222;
}


@media (max-width:767px) {
    .opentrack-event-date {
        font-size: 20px;

    }

    .opentrack-addons-list label {
        gap: 0;
    }


}

@media (max-width:600px) {

    .addon-name,
    .session-time {
        font-size: 15px;
        line-height: 1.2;
    }

    .available-count {
        font-size: 13px;
        line-height: 1;
    }

    .addon-checkbox {
        width: 70%;
        line-height: 1;
    }


}

/* end opentrack */





/* koszyk */

.wc-block-cart__submit-container .wc-block-components-button {
    background-color: var(--secondary-color);
    color: #ffffff !;
    font-weight: 800;
    border-color: var(--secondary-color);
    text-transform: uppercase;
    line-height: 1;
    transition: all 0.2s ease;
}

.wc-block-cart__submit-container .wc-block-components-button:hover {
    background-color: var(--smoke-black);
}

.woocommerce .woocommerce-message button {
    font-size: 16px !important;
}

.woocommerce-cart table.wc-block-cart-items .wc-block-cart-item__product .wc-block-components-product-name {
    font-weight: 700;
    font-size: 24px;
    color: var(--primary-color);
}

.woocommerce-cart table.wc-block-cart-items .wc-block-cart-item__product .wc-block-cart-item__prices {
    font-weight: 700;
    font-size: 20px;
    color: var(--secondary-color);
}

.woocommerce-cart table.wc-block-cart-items .wc-block-cart-item__product .wc-block-components-product-metadata__description {
    display: none;
}

.wc-block-cart .wc-block-components-sidebar .wc-block-cart__totals-title {
    font-weight: 700;
    font-size: 24px;
    color: var(--primary-color);
}

:root :where(.wp-element-button, .wp-block-button__link) {
    background-color: var(--secondary-color);
    border-width: 0;
    color: #fff;
    font-size: 18px;
    font-weight: 700;


}

.wc-block-components-totals-coupon__form .wc-block-components-button {
    font-size: 16px;
    line-height: 1;
    transition: all 0.2s ease;
    text-transform: uppercase;
}

.wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
    font-weight: 800 !important;
}

.wc-block-components-title.wc-block-components-title {
    font-weight: 700 !important;
}

.wp-block-woocommerce-checkout-order-summary-block .wc-block-components-checkout-order-summary__title .wc-block-components-checkout-order-summary__title-text {
    font-weight: 700 !important;
}

.wp-block-woocommerce-checkout-order-summary-block .wc-block-components-product-name {
    font-size: 18px;
    font-weight: 700 !important;
}

.wc-block-components-order-summary-item__description .wc-block-components-product-metadata__description {
    display: none;
}

.woocommerce-thankyou-order-details {
    background-color: #f7f7f7;
    display: flex;
    justify-content: space-between;
    padding: 20px !important;
}

.woocommerce ul.order_details li {
    flex-grow: 1;
}

.woocommerce .woocommerce-customer-details,
.woocommerce .woocommerce-order-details,
.woocommerce .woocommerce-order-downloads {
    margin-bottom: 80px;
}

.woocommerce .woocommerce-customer-details address {
    border: 0;
}

.woocommerce-table--order-details .woocommerce-table__product-name a {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    display: inline-block;
}

.woocommerce-message a.button.wc-forward {
    font-size: 16px;
}

@media (max-width:767px) {
    .woocommerce-thankyou-order-details {
        overflow: auto;
    }

    .woocommerce ul.order_details li {
        margin-right: 15px;
        padding-right: 10px;
    }

    .woocommerce ul.order_details li strong {
        white-space: nowrap;
    }

    .woocommerce td.product-name .wc-item-meta {
        list-style: none !important;
        padding-left: 0 !important;
        font-size: 14px;
    }

    .woocommerce-table--order-details .woocommerce-table__product-name a {
        font-size: 20px;

    }
}

/* end koszyk */