body {
    margin: 0;
    font-size: 14px;
    overflow: hidden scroll;
    font-family: var(--font);
    background-color: var(--outer-back);
    color: var(--text);
    background-size: cover;
    background-attachment: fixed;
    transition: 0.3s;
}

.page-wrapper {
    width: 90%;
    max-width: 860px;
    margin: 0 auto;
    background-color: var(--inner-back);
    transition: 0.3s;
    min-height: 120vh;
}

body.no-overflow {
    overflow: hidden;
}


/* HEADER */

.page-head {
    background-color: var(--header-back);
    color: var(--header-text);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    text-align: center;
}

h1.page-title {
    font-weight: 800;
    text-align: center;
}

p.page-subtitle {
    color: var(--subtitle);
    text-align: center;
}

.stars {
    width: 5.5em;
    height: 1em;
    font-family: 'icons';
    font-size: 20px;
    letter-spacing: 0.1em;
    position: relative;
}

.stars:before {
    content: "\e93a\e93a\e93a\e93a\e93a";
    color: gold;
}

.stars:after {
    content: "\e939\e939\e939\e939\e939";
    overflow: hidden;
    color: orange;
    max-width: calc(var(--rating) * 1%);
}

.stars:before,
.stars:after {
    position: absolute;
    top: 0;
    inset-inline-start: 0;
}

.main-images {
    position: relative;
    overflow: hidden;
}

.main-images img {
    object-fit: cover;
    width: 100%
}

span.discount {
    position: absolute;
    top: 35px;
    inset-inline-end: -40px;
    background-color: var(--color1);
    color: #FFF;
    font-weight: 600;
    padding: 5px 0;
    transform: rotate(45deg);
    width: 180px;
    text-align: center;
}

span.discount:empty {
    display: none
}

[dir=rtl] span.discount {
    transform: rotate(-45deg);
}


/* MINI FEATURES */

.mini-features {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    background-color: var(--header-back);
    color: var(--header-text);
    gap: 10px;
    flex-wrap: wrap;
}

.mini-features p {
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.5em;
    font-size: 12px;
    padding: 10px;
}


/* VIDEOS SECTION */

section.videos-section,
section.videos-section2 {
    padding: 30px;
}

.videos-head,
.videos-head2 {
    font-weight: bold;
    font-size: 26px;
    text-align: center;
    margin-bottom: 30px;
}

.videos-head {
    color: var(--videos-head);
}

.videos-head2 {
    color: var(--videos-head2);
}

ul.videos-list,
ul.videos-list2 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 30px;
}

ul.videos-list[data-length="2"],
ul.videos-list[data-length="4"],
ul.videos-list[data-length="7"],
ul.videos-list[data-length="10"],
ul.videos-list[data-length="13"],
ul.videos-list[data-length="16"] {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

ul.videos-list[data-length="1"] {
    grid-template-columns: 1fr;
}

ul.videos-list2[data-length="2"],
ul.videos-list2[data-length="4"],
ul.videos-list2[data-length="7"],
ul.videos-list2[data-length="10"],
ul.videos-list2[data-length="13"],
ul.videos-list2[data-length="16"] {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

ul.videos-list2[data-length="1"] {
    grid-template-columns: 1fr;
}

ul.videos-list video,
ul.videos-list2 video {
    width: 100%;
    display: block;
}

ul.videos-list li span,
ul.videos-list2 li span {
    font-size: 16px;
    margin-top: 5px;
    display: block;
}

.video-wrap,
.video-wrapper {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 5px;
    padding-top: 56.25%;
    width: 100%;
    border: var(--border, revert);
}

.video-wrap>div[style],
.video-wrapper>div[style] {
    position: static !important;
    padding: 0 !important;
}

.video-wrap p {
    display: none;
}

.video-wrap iframe,
.video-wrap video,
.video-wrapper iframe,
.video-wrapper video {
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
}

.selected {
    border: 2px dashed var(--orange);
    box-shadow: 0 0 10px 1px var(--orange-shade);
}


/* 
.video-wrap:before {
    content: "\ea92";
    font-family: 'icons';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    font-size: 30px;
    background: linear-gradient(0deg, black -50%, transparent 50%);
    transition: 0.5s;
}

.video-wrap.playing:before {
    opacity: 0;
    z-index: -1;
} */


/* PRICE SECTION */

section.price-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    border-bottom: 1px solid var(--color1);
    margin-bottom: 30px;
}

section.price-section>div {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 30px;
    width: 100%;
    align-items: center;
}

section.price-section b,
section.price-section s {
    font-size: 30px;
}

.promo-price {
    position: relative;
    color: #FFF;
}

.promo-price:before {
    content: "";
    position: absolute;
    top: -50px;
    inset-inline-end: -10px;
    background: var(--gradient);
    width: 100%;
    height: calc(100% + 100px);
    transform: rotate(10deg);
}

section.price-section>div>* {
    position: relative;
    font-weight: bold;
}

section.price-section u {
    text-decoration: none;
}

.promo-price u {
    background-color: #FFF;
    color: var(--color1);
    padding: 5px 20px;
    border-radius: 100px;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
}

.usual-price {
    order: -1;
}

.promo-price.hide+.usual-price s {
    text-decoration: none;
}

.make-order {
    background: var(--gradient);
    color: #FFF;
    padding: 20px;
    font-weight: 600;
    margin: 30px auto;
    display: flex;
    border-radius: 5px;
    box-shadow: 0 10px 40px -15px var(--color2);
    font-size: 20px;
    transition: 0.1s;
    width: max-content;
    cursor: pointer;
    user-select: none;
    max-width: 100%;
    line-height: 1.5em;
}

.make-order:active {
    box-shadow: none;
}

button.make-order.specs-btn {
    margin: 0 auto;
}

button.make-order.purchase-button {
    margin: 0 auto;
}

button.make-order:empty {
    display: none;
}


/* PECIES SECTION */

section.pieces-section {
    text-align: center;
}

h2.pieces-head {
    font-size: 20px;
    color: var(--color1);
}

ul.pieces-wrap {
    display: flex;
    flex-direction: column;
    padding: 20px;
    align-items: center;
    gap: 10px;
}

ul.pieces-wrap:empty {
    display: none;
}

ul.pieces-wrap li {
    font-size: 18px;
}

ul.pieces-wrap li u {
    text-decoration: none;
}

ul.pieces-wrap li i {
    font-style: normal;
}


/* COUNTER SECTION */

section.counter-section {
    padding: 0 30px;
    margin: 30px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

section.counter-section h2 {
    text-align: center;
    color: var(--counter-head);
}

ul.counter-notes {
    list-style: none;
    color: var(--counter-text2);
    max-width: 470px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

ul.counter-notes li p {
    display: inline;
}

ul.counter-notes li p b {
    font-weight: normal;
}

.counter {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

.counter>div {
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: center;
    background-color: var(--counter-back);
    color: var(--counter-text);
    padding: 20px 30px;
    border-radius: 3px;
    width: min(110px, 23vw);
}

.counter>div b {
    font-size: 40px;
    line-height: 100%;
    font-weight: 800;
}

.video-section {
    padding: 0 30px;
    margin: 30px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}


/* VIDEO SECTION */

.video-head {
    color: var(--video-head);
    text-align: center;
}

.video-head:empty {
    display: none;
}

.video-wrapper {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgb(0 0 0 / 30%);
}

.video-wrapper video {
    width: 100%;
}

.video-wrapper:empty {
    display: none;
}


/* CONTENT SECTION */

.details-section {
    padding: 0 30px;
    font-size: 20px;
    overflow-wrap: break-word;
    color: var(--text);
    margin: 30px 0;
}

.details-section img {
    margin: 20px auto;
    width: 480px;
}

.content-section2-end a.fancy-button {
    padding: 0.5em 1.2em;
    display: inline-block;
    font-size: 14px;
    border-radius: 6px;
    background-color: rgb(235, 106, 0);
    color: rgb(255, 255, 255);
    border-width: 0px;
    border-color: rgb(255, 0, 0);
    max-width: max-content;
    text-decoration: none;
    margin: 10px 0px;
    border-style: solid;
}

a.fancy-button {
    opacity: 0.9;
    transition: opacity 0.1s;
}

a.fancy-button:hover {
    opacity: 1;
}

a.fancy-button:active {
    transform: scale(0.95);
}

[data-oembed-url]>div {
    margin: 0 auto;
}


/* CONTENT-SECTION2 */

section.content-section2 {
    padding: 30px;
    display: flex;
    gap: 30px;
}

.content-section2-start,
.content-section2-end {
    width: 50%;
    min-width: 300px;
}

.content-section2-start img {
    width: 100%;
}


/* SPECEFICATIONS */

section.specifications-section {
    padding: 30px;
    background-color: var(--specs-back);
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.speces-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

ul.specs-wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: var(--specs-text);
    font-size: 16px;
    width: 50%;
}

ul.specs-wrap:empty {
    display: none;
}

.speces-image {
    width: 50%;
    flex-shrink: 0;
    flex-grow: 1;
}

ul.specs-wrap li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

ul.specs-wrap span {
    opacity: .9;
    order: 0;
    flex-shrink: 0;
}

section.specifications-section>h2 {
    font-weight: bold;
    color: var(--specs-head);
}


/* FEATURES */

section.features-section {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-direction: column;
    padding: 30px;
}

ul.features-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 50px;
    width: 100%;
}

.features-head {
    font-weight: bold;
    font-size: 26px;
    color: var(--features-head);
    text-align: center;
}

ul.features-items li {
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: center;
    text-align: center;
}

ul.features-items li h3 {
    font-size: 20px;
    color: var(--features-titles);
}

ul.features-items li img {
    margin-bottom: 20px;
    width: 100%;
    height: 120px;
    object-fit: contain;
}

ul.features-items p {
    color: var(--features-text);
}

.specs-content {
    display: flex;
    gap: 30px;
}

ul.specs-wrap li:after {
    content: "";
    height: 1px;
    background-color: #FFF;
    order: 1;
    width: 100%;
    opacity: 0.1;
}

ul.specs-wrap b {
    order: 2;
    flex-shrink: 0;
}


/* GALLERY */

section.gallery-section,
section.gallery-section2 {
    padding: 30px;
}

.gallery,
.gallery2 {
    margin-bottom: 10px;
}

.gallery .swiper-slide img,
.gallery2 .swiper-slide img {
    width: 100%;
}


/* PHOTOS */

section.photos-section {
    padding: 30px;
}

h2.photos-head {
    font-size: 20px;
    color: var(--photos-head);
    text-align: center;
    margin-bottom: 30px;
}

ul.photos-list {
    display: flex;
    flex-direction: column;
}

ul.photos-list img {
    width: 100%;
    display: block;
}

ul.photos-list a {
    margin-top: 10px;
    display: block;
    font-size: 16px;
}

ul.photos-list.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

ul.photos-list.gap {
    gap: 30px;
}


/* 
.gallery-thumbs .swiper-slide {
    width: 150px;
    height: 150px;
    object-fit: cover;
    display: flex;
}

.gallery-thumbs .swiper-slide img {
    object-fit: cover;
    cursor: pointer;
} */


/* FAQ */

section.faq-section {
    padding: 30px;
}

h2.faq-head {
    font-weight: bold;
    font-size: 26px;
    color: var(--faq-head);
    text-align: center;
    margin-bottom: 30px;
}

h2.faq-head:empty {
    display: none;
}

.faq-questions {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--shadow);
    border-radius: 10px;
}

.faq-questions[data-length="0"],
.faq-questions:empty {
    display: none;
}

details.question {
    border-bottom: 1px solid var(--shades);
}

details.question summary {
    font-weight: 600;
    display: flex;
    align-items: center;
    color: var(--faq-question-color, var(--dark));
    cursor: pointer;
    padding: 20px;
    font-size: 16px;
    user-select: none;
}

summary:before {
    content: "\ea56";
    font-family: 'icons';
    margin-inline-end: 10px;
    font-weight: normal;
}

details.question summary:after {
    content: "\ea06";
    font-family: 'icons';
    margin-inline-start: auto;
}

details.question.open summary:after {
    content: "\ea09";
}

.answer {
    display: none;
    line-height: 1.5em;
    padding: 0 20px 20px;
    font-size: 16px;
    color: var(--faq-answer-color);
}


/* FORM */

.purchase-head {
    font-weight: bold;
    font-size: 26px;
    color: var(--purchase-head);
    text-align: center;
    margin-bottom: 30px;
}

.purchase-head:empty {
    display: none;
}

section.purchase-section {
    padding: 30px;
    background-color: var(--purchase-back);
}

form.buy-form,
.additional-fields-wrap {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.additional-fields-wrap:empty {
    display: none;
}

.form-label {
    display: flex;
    flex-direction: column;
    position: relative;
}

.form-label input,
.form-label select {
    background-color: var(--purchase-back);
    color: var(--purchase-text);
    border: 1px solid rgb(0 0 0 / 20%);
    padding: 20px;
    border-radius: 5px;
    font-weight: 600;
    display: block;
    height: 65px;
    filter: none;
}

.form-label input[hidden],
.form-label select[hidden],
.form-label textarea[hidden] {
    display: none;
}

.form-label span {
    top: -12px;
    background-color: var(--purchase-back);
    color: var(--purchase-text);
    position: absolute;
    margin-inline-start: 20px;
    padding: 0 10px;
    opacity: 0.9;
    z-index: 1;
}

.form-label:focus-within span {
    opacity: 1;
}

button.buy-now {
    background: var(--gradient);
    box-shadow: 0 10px 40px -15px var(--color2);
    color: #FFF;
    padding: 20px;
    font-weight: 600;
    display: flex;
    border-radius: 5px;
    font-size: 20px;
    transition: 0.1s;
    width: 100%;
    text-align: center;
    justify-content: center;
}

button.buy-now:disabled {
    pointer-events: none;
    /* filter: grayscale(1) */
}

#flag {
    position: absolute;
    top: 15px;
    width: 30px;
    height: 30px;
    inset-inline-start: 20px;
    border-radius: 100px;
}

#signup-form #flag {
    top: 19px
}

.form-label input#country-name {
    padding-inline-start: 60px !important;
}

.phone-input,
.phone-wrap {
    display: flex;
    align-items: center;
    border: 1px solid rgb(0 0 0 / 20%);
    border-radius: 5px;
    overflow: hidden;
}

#prefix {
    width: 80px;
    color: var(--dark);
    margin-inline-end: -4px;
    order: -1
}

input[name="phone"],
input[name="whatsapp"] {
    width: 100%;
}

.phone-input input,
.phone-wrap input {
    border: none !important;
    border-radius: 0 !important;
    outline: none;
}

.phone-input:focus-within,
.phone-wrap:focus-within {
    border-color: #000;
    outline: 1px solid #000;
}

.additional-fields-wrap li {
    list-style: none;
}

.form-error {
    color: var(--red);
    margin-top: 5px;
}


/**/

.currency-symbol {
    font-size: inherit;
    margin: 0 2px;
}


/* FOOTER */

.footer {
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

ul.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
    color: var(--dark);
    justify-content: center;
}

ul.footer-links li a:hover {
    color: var(--color1);
    text-decoration: underline;
}

ul.footer-links li:after {
    content: "-";
    margin-inline-start: 10px;
}

ul.footer-links li:last-of-type:after {
    display: none;
}

.footer-logo {
    user-select: none;
}

.footer-logo img {
    max-width: 150px;
    max-height: 70px;
    pointer-events: none;
    object-fit: contain;
}

p.copyrights {
    text-transform: uppercase;
    word-break: break-word;
    text-align: center;
}


/* QUICK EDIT SECTION */

.quick-edit {
    position: sticky;
    top: 0;
    background-color: rgb(0 0 0 / 80%);
    color: #FFF;
    z-index: 9;
    padding: 10px;
}

.quick-edit .wrapper {
    width: 90%;
    padding: 0 30px;
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: space-between;
    flex-wrap: wrap;
}

.quick-edit-actions {
    display: flex;
    gap: 5px;
}

.quick-edit-actions a:hover,
.quick-edit-actions button:hover {
    text-decoration: underline;
}

span.audience {
    font-family: icons;
    font-weight: normal;
    margin-inline-end: 10px;
}

span.audience[data-status="public"]:before {
    content: "\ea37"
}

span.audience[data-status="private"]:before {
    content: "\ea38"
}

[data-section] {
    position: relative;
}

button.edit-section {
    position: absolute;
    top: 0;
    inset-inline-start: 100%;
    padding: 5px;
    font-size: 20px;
    background: var(--blue);
    color: #FFF;
}

button.edit-section:before {
    content: "\ea35";
    font-family: 'icons';
}


/* Buttons */

.purchase-button,
.affiliate-button,
.checkout-button {
    width: 100%;
    justify-content: center;
}


/* RESPONSIVE */

@media all and (max-width: 960px) {
    .specs-content {
        flex-direction: column;
    }

    .speces-image,
    ul.specs-wrap {
        width: 100%;
    }
}

@media all and (max-width: 768px) {
    .quick-edit-actions button {
        white-space: nowrap;
    }

    .quick-edit .wrapper h3 {
        text-align: center;
    }

    section.content-section2 {
        flex-wrap: wrap
    }

    .content-section2-start,
    .content-section2-end {
        width: 100%;
        min-width: auto
    }

    .content-section2-start {
        display: flex;
        justify-content: center
    }
}

@media all and (max-width: 640px) {
    .specs-content {
        grid-template-columns: 1fr;
    }
}

@media all and (max-width: 480px) {
    .page-wrapper {
        width: 100%;
    }

    ul.features-items {
        display: flex;
        flex-direction: column;
    }

    ul.features-items li {
        display: grid;
        grid-template-columns: auto 1fr;
        text-align: start;
        gap: 0 30px;
    }

    ul.features-items li img {
        grid-row: 1/3;
        width: 80px;
        height: 80px;
    }

    section.price-section {
        flex-direction: column;
    }

    .promo-price:before {
        top: 0;
        inset-inline-start: -10%;
        width: 120%;
    }

    .counter {
        gap: 2vw;
    }
}