/* ================================PRESET===============================*/

i {
    font-size: 1.2rem;
    color: #0a369d;
}

li {
    display: flex;
    gap: 7px;
}

form {
    padding: 50px 0px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 75px;
    width: 100%;
}


.form_input_radio {
    min-height: 18px;
    min-width: 18px;
    margin: 6px;
    transform: translateY(-45%);
    width: 1em;
    height: 1em;
    border-radius: 50%;
    cursor: pointer;
    display: inline-block;
}

.packeta-widget-button {
    width: auto;
    max-width: 3em;
    margin-right: 1em;
    border-radius: 5px;
    cursor: pointer;
}

.form_input_radio:checked {
    border: 1px solid hsl(0 0% 7% / .8);
}

.wp-block-woocommerce-checkout-fields-block .wc-block-components-radio-control__option.wc-block-components-radio-control__option, .wp-block-woocommerce-checkout-fields-block .wc-block-components-radio-control__option.wc-block-components-radio-control__option:first-child, .wp-block-woocommerce-checkout-fields-block .wc-block-components-radio-control__option.wc-block-components-radio-control__option:last-child {
    padding-inline-start: calc(var(--wp--preset--spacing--2-xl) - 4px);
}

.wc-block-checkout__shipping-option .wc-block-components-radio-control__option {
    margin: 0;
    padding: .875em .875em .875em 3.5em;
}

.wc-block-components-radio-control__option-layout {
    display: table;
    width: 100%;
}

.wc-block-components-radio-control__label-group {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: start;
}

.wc-block-components-radio-control__secondary-label {
    width: 100%;
    min-width: 50%;
    text-align: right;
    justify-content: space-between;
}

.input_type_radio_hidden {
    position: absolute !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
}


/*input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}*/
input[type="checkbox"] {
    cursor: pointer;
    height: 1rem;
    width: 1rem !important;
    accent-color: var(--primary);
}

section#form-step-1 input[type="checkbox"] {
    display: none;
}

/* ================================SWITCH===============================*/

#switch-section {
    overflow: hidden;
    box-shadow: var(--shadow);
    border: solid 1px lightgray;
    border-radius: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

label[for="yearly"],
label[for="monthly"] {
    border-radius: 30px;
    padding: 12px 16px;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    color: var(--primary);/* rgb(161, 161, 161); */
}

#yearly:checked ~ label[for="yearly"],
#monthly:checked ~ label[for="monthly"] {
    color: white;
    background-color: var(--primary);
    font-weight: bold;
    transition: all 0.2s ease-in-out;
}

/* ================================LICENCE===============================*/

section#plans {
    width: 100%;
    display: flex;
    gap: 30px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

section#plans-table {
    width: 100%;
    max-width: 1070px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-row: 1fr;
    gap: 30px;
}

article.plan {
    display: flex;
    gap: 30px;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    border: solid 1px lightgray;
    padding: 25px;
    background-color: white;
    border-radius: 12px;
}

.invisibleplan {
    display: none;
}


article#plus-plan {
    transform: scale(1);
    border: solid 2px #0a369d;
}

article.plan > span {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

ul.features-list {
    gap: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

article.plan button {
    width: 100%;
}

.price {
    font-size: 3rem;
    color: var(--primary);
    font-weight: 500;
}

span.pricing-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

    span.pricing-wrapper p {
        margin-top: -5px;
        color: var(--primary);
    }

section#plans-table label {
    width: 100%;
}

section#plans h2,
section#form-step-2 h2 {
    text-align: center;
    font-size: 2.5rem;
}

/* ================================HARDWARE & EXTENSIONS===============================*/
section#hardware,
section#extensions {
    width: 100%;
    display: flex;
    gap: 30px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

section.box {
    padding: 10px 30px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /*box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;*/
    /*border: solid 1px lightgray;*/
    background-color: white;
    border-radius: 12px;
}

.box-option {
    margin-top: 5px;
    width: 100%;
    display: grid;
    grid-template-columns: 5fr 5fr 3fr;
    justify-content: center;
    align-items: center;
}

    .box-option p {
        max-width: 350px;
        width: 100%;
    }

.box-price-wrapper {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.image-and-name {
    display: flex;
    gap: 30px;
    justify-content: start;
    align-items: center;
}

section.product-image-wrapper {
    padding: 10px;
    width: 100%;
    max-width: 110px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

section.double-image {
    display: flex;
    gap: 5px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.box-image {
    height: 100%;
}

/* ================================CALCULATION===============================*/

section#calculation {
    width: 100%;
    display: flex;
    gap: 30px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

section#calculation-box {
    width: 100%;
    display: flex;
    gap: 10px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

article.calculation-field {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

section#continue-field {
    margin-top: 20px;
    width: 100%;
    display: flex;
    justify-content: end;
    align-items: center;
}

input[type="number"] {
    width: 75px;
}

#total-no-tax,
#total-with-tax {
    font-weight: bold;
}

div.form-box {
    width: 100%;
    max-width: 650px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    gap: 20px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: solid 2px var(--primary);
}

div.form-boxz {
    width: 100%;
    max-width: 650px;
    padding: 0px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    gap: 00px;
}


div.form-box3 {
    width: 100%;
    max-width: 715px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    gap: 20px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: solid 2px var(--primary);
}


.step-title {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: start;
}

.delivery-option {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 7px;
}

.step-bottom {
    width: 100%;
    display: flex;
    align-items: start;
    margin-bottom: 10px;
}

.step-title p {
        color: var(--primary);
        font-weight: bold;
    }

.form-fields {
    width: 100%;
    display: flex;
    gap: 15px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.form-row {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.form-field {
    width: 100%;
    display: flex;
    gap: 3px;
    flex-direction: column;
    justify-content: start;
    align-items: start;
}

img.title-icon {
    width: 120px;
}

#form-payment-wrapper {
    margin-top: 20px;
    gap: 25px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#form-step-2 h2 {
    margin-bottom: 25px;
}

#form-price {
    font-weight: bold;
}

section#form-step-1 {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 75px;
}

section#form-step-2 {
    width: 100%;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

section#form-step-3 {
    width: 100%;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

section#delivery-address-checkbox-field {
    margin-top: 10px;
    width: 100%;
    display: flex;
    justify-content: start;
    gap: 10px;
    align-items: center;
}

div#final-buttons {
    margin-top: 10px;
    width: 100%;
    max-width: 650px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

section#delivery-address-checkbox-field label {
    cursor: pointer;
}

.delivery-address-wrapper {
    display: none;
}

.delivery-address-wrapper-visible {
    display: flex;
    width: 100%;
}

#form-price {
    color: var(--primary);
}

#form-2-price {
    font-size: 1.5rem;
}

/* ================================ZASILKOVNA===============================*/

.packeta-primary-button {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    width: auto;
    text-align: center;
    cursor: pointer;
    box-shadow: var(--shadow);
    border: none;
    border-radius: 8px;
    background-color: #ba1b02;
    font-size: 20px;
    font-weight: 600;
    color: white;
    padding: 12px 20px;
    max-height: 50px;
    height: 50px;
}

.packeta-secondary-button {
    /*border: solid 2px #ba1b02;*/
    background-color: #BA1B02;
    color: white; /*#ba1b02;*/
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    width: auto;
    text-align: center;
    cursor: pointer;
    box-shadow: var(--shadow);
    border-radius: 8px;
    padding: 12px 20px;
    max-height: 50px;
    height: 50px;
}

.zasilkovna-icon {
    width: 30px;
    height: 30px;
}

article.form-field:has(textarea) {
    margin-top: 30px;
}

/* ================================FORM-STEP-ERROR===============================*/
section#form-step-error {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

    section#form-step-error h2 {
        color: red;
    }

/* ================================KOUPIT ARTICLE===============================*/

.koupit_article-frame {
    /*background-color: var(--inactive) !important;*/
    display: block;
    unicode-bidi: isolate;
    /*padding-top: 2.3rem !important;*/
}

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0, 0, 0, .125);
    border-radius: .25rem;
}

.carousel-item-next, .carousel-item-prev, .carousel-item.active {
    display: block
}

.row {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    display: flex;
    flex-wrap: wrap;
    margin-top: calc(var(--bs-gutter-y)* -1);
    margin-right: calc(var(--bs-gutter-x) / -2);
    margin-left: calc(var(--bs-gutter-x) / -2);
}

.card-img, .card-img-top {
    border-top-left-radius: calc(.25rem - 1px);
    border-top-right-radius: calc(.25rem - 1px);
}
.card-img, .card-img-bottom, .card-img-top {
    width: 100%;
}


.carousel-item {
    position: relative;
    display: none;
    float: left;
    width: 100%;
    margin-right: -100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transition: transform .6sease-in-out;
}

.card-img, .card-img-bottom {
    border-bottom-right-radius: calc(.25rem - 1px);
    border-bottom-left-radius: calc(.25rem - 1px);
}

.row>* {
    flex-shrink: 0;
    width: 100%;
    max-width: 100%;
    padding-right: calc(var(--bs-gutter-x) / 2);
    padding-left: calc(var(--bs-gutter-x) / 2);
    margin-top: var(--bs-gutter-y);
}


.align-self-center {
    align-self: center !important;
}


.col-1 {
    flex: 0 0 auto;
    width: 8.3333333333%
}

.col-2 {
    flex: 0 0 auto;
    width: 16.6666666667%
}

.col-3 {
    flex: 0 0 auto;
    width: 25%
}

.col-4 {
    flex: 0 0 auto;
    width: 33.3333333333%
}

.col-5 {
    flex: 0 0 auto;
    width: 41.6666666667%
}

.col-6 {
    flex: 0 0 auto;
    width: 50%
}

.col-7 {
    flex: 0 0 auto;
    width: 58.3333333333%
}

.col-8 {
    flex: 0 0 auto;
    width: 66.6666666667%
}

.col-9 {
    flex: 0 0 auto;
    width: 75%
}

.col-10 {
    flex: 0 0 auto;
    width: 83.3333333333%
}

.col-11 {
    flex: 0 0 auto;
    width: 91.6666666667%
}

.col-12 {
    flex: 0 0 auto;
    width: 100%
}

.img-fluid {
    max-width: 100%;
    height: auto
}

.img-thumbnail {
    padding: .25rem;
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: .25rem;
    max-width: 100%;
    height: auto
}

.card-img-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 1rem;
    border-radius: calc(.25rem - 1px)
}

.card-img, .card-img-bottom, .card-img-top {
    width: 100%
}

.card-img, .card-img-top {
    border-top-left-radius: calc(.25rem - 1px);
    border-top-right-radius: calc(.25rem - 1px)
}

.card-img, .card-img-bottom {
    border-bottom-right-radius: calc(.25rem - 1px);
    border-bottom-left-radius: calc(.25rem - 1px)
}

.koupit_article {
    max-width: 960px;
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    display: flex;
    flex-wrap: wrap;
    margin-top: calc(var(--bs-gutter-y)* -1);
    margin-right: calc(var(--bs-gutter-x) / -2);
    margin-left: calc(var(--bs-gutter-x) / -2);
}

.koupit_article>* {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    flex-shrink: 0;
    width: 100%;
    max-width: 100%;
    padding-right: calc(var(--bs-gutter-x) / 2);
    padding-left: calc(var(--bs-gutter-x) / 2);
    margin-top: var(--bs-gutter-y);
}

.koupit_article-box {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    /*border: 1px solid rgba(0, 0, 0, .125);*/
    border-radius: .25rem;
    /*margin-top: 2rem !important; */
    margin-bottom: 2rem !important;
    padding: 1rem 1rem;
    border-radius: 12px;
}

.koupit_article-box>* {
    margin-bottom: 1rem;

}

h6 {
    font-weight: 700;
}

.img-fluid {
    max-width: 100%;
    height: auto
}

.koupit_article-description-box {
    /*flex: 0 0 auto; */
    width: 58.3333333333%;
}

.koupit_article-image-box {
    /*flex: 0 0 auto; */
    width: 41.6666666667%;
}

/* ================================FORM-STEP-SUCCESS===============================*/
section#form-step-success {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

    section#form-step-success h2 {
        color: green;
    }

/* ================================RESPONSIVITY===============================*/

@media (max-width: 1200px) {
    .box-option {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr;
        gap: 15px;
    }

    .image-and-name {
        grid-row: span 2;
    }

    .box-price-wrapper {
        justify-content: end;
        gap: 30px;
    }

    .box-option p {
        justify-self: end;
        width: auto;
    }
}

@media (max-width: 800px) {
    section#plans-table {
        width: auto;
        display: grid;
        grid-template-columns: 1fr;
        grid-row: repeat(3, 1fr);
        gap: 30px;
    }

    article#plus-plan {
        transform: scale(1);
        border: solid 2px #0a369d;
    }

    article.plan {
        padding: 30px 75px;
    }
}

@media (max-width: 850px) {
    .box-option {
        justify-items: start;
        align-items: center;
        text-align: center;
        grid-template-rows: repeat(3, 1fr);
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .box-price-wrapper {
        justify-content: end;
    }

    .box-option p {
        justify-self: center;
        width: auto;
        gap: 25px;
        margin-bottom: 10px;
    }

    .image-and-name {
        grid-row: span 2;
        justify-self: center;
        flex-direction: column;
        gap: 15px;
    }

    section.double-image {
        flex-direction: row;
    }
}

@media (max-width: 650px) {
    .box-price-wrapper {
        justify-content: space-between;
    }
}

@media (max-width: 480px) {
    * {
        text-align: center;
    }

    .box-option p {
        justify-self: center;
        width: auto;
    }

    #form-payment-wrapper {
        flex-direction: column;
        gap: 15px;
    }

    div.form-box {
        text-align: center;
    }
}

@media (max-width: 400px) {
    h1 {
        font-size: 36px;
    }

    .price {
        font-size: 2.5rem;
    }
}

