/*
Theme Name: the7dtchild
Author: Dream-Theme
Author URI: http://dream-theme.com/
Description: The7 is perfectly scalable, performance and SEO optimized, responsive, retina ready multipurpose WordPress theme. It will fit every site – big or small. From huge corporate portals to studio or personal sites – The7 will become a great foundation for your next project!
Version: 1.0.0
License: This WordPress theme is comprised of two parts: (1) The PHP code and integrated HTML are licensed under the GPL license as is WordPress itself.  You will find a copy of the license text in the same directory as this text file. Or you can read it here: http://wordpress.org/about/gpl/ (2) All other parts of the theme including, but not limited to the CSS code, images, and design are licensed according to the license purchased. Read about licensing details here: http://themeforest.net/licenses/regular_extended
Template: dt-the7
*/

@font-face {
    font-family: "Coco Gothic";
    src: url("./fonts/CocoGothic-Light.woff2") format("woff2"), url("./fonts/CocoGothic-Light.woff") format("woff");
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: "Coco Gothic";
    src: url("./fonts/CocoGothic.woff2") format("woff2"), url(".-14px/fonts/CocoGothic.woff") format("woff");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Coco Gothic";
    src: url("./fonts/CocoGothic-Bold.woff2") format("woff2"), url("./fonts/CocoGothic-Bold.woff") format("woff");
    font-weight: bold;
    font-style: normal;
}

a.same-logo,
div#branding-bottom {
    max-width: 150px;
    padding: unset;
}

div#branding-bottom img.preload-me {
    max-width: 100%;
    height: auto;
}

.product {
    list-style: none;
}

a.sticky-logo img.preload-me {
    max-width: 74px;
}

.branding a {
    max-width: 200px;
}

.mobile-branding {
    max-width: 60px;
}

div#main-slideshow {
    background: #000000;
}

.logo-box img {
    max-width: 50px;
    height: auto;
}

.home .mobile-branding img.mobile-logo.preload-me {
    display: none;
}

button.yith-wcwl-add-to-wishlist-button.yith-wcwl-add-to-wishlist-button--custom-button span.yith-wcwl-add-to-wishlist-button__label {
    display: none;
}

.yith-wcwl-add-to-wishlist-button:is(button) {
    padding: 6px 6px !important;
}

.yith-add-to-wishlist-button-block.yith-add-to-wishlist-button-block--initialized {
    position: absolute;
    top: 4px;
    right: 13px;
    scale: 0.9;
    opacity: 0;
    transition: all 0.4s;
}

figure.woocom-project:hover .yith-add-to-wishlist-button-block.yith-add-to-wishlist-button-block--initialized {
    scale: 1;
    opacity: 1;
}

.masthead .top-bar .mini-login i,
.masthead .top-bar .mini-login .submit i {
    font-size: 12px;
    color: #ffffff;
}

.mini-login.show-on-desktop.near-logo-first-switch.in-menu-second-switch.first.last a {
    text-transform: uppercase;
    font-size: 11px;
}

.widget-title {
    text-transform: uppercase;
    font-size: 14px;
}

.footer .menu li,
.footer .widget_pages li,
.footer .custom-menu.dividers-on li,
.footer .blogroll li,
.footer .qts-lang-menu li {
    border: unset;
}

ul.list-unstyled li {
    display: flex;
    align-items: center;
    line-height: 1.2;
    margin-bottom: 20px;
    gap: 10px;
}

section#nav_menu-2 a,
section#nav_menu-3 a {
    color: #9b9b9b;
    font-size: 13px;
}

.yith-wcwl-add-to-wishlist-button:is(button):not(.yith-wcwl-theme-button-style):hover {
    background-color: rgb(255 255 255);
    scale: 1.1;
    transition: all 0.4s;
}

.view-mode-switcher {
    display: none;
}

.wpcf7 p {
    font-size: 12px;
    color: #767676;
}

li.page_item a {
    text-decoration: none;
}

li.page_item a:hover {
    text-decoration: underline;
}

.tnp.tnp-subscription form {
    display: flex;
    align-items: end;
    flex-wrap: wrap;
    justify-content: center;
}

.tnp-field.tnp-privacy-field {
    order: 2;
}

.tnp-field.tnp-field-button>input {
    margin-bottom: 0 !important;
    background: url(/wp-content/uploads/2025/09/arr-7e22e1.svg) no-repeat, #222 !important;
    background-position: 50% !important;
    color: transparent !important;
    height: 46px;
    margin-bottom: 10px !important;
}

.tnp-field.tnp-field-email label {
    font-size: 18px;
    margin-bottom: 13px;
    text-wrap: nowrap;
}

input#tnp-1 {
    border: 1px solid #222;
    background: transparent;
}

.footer-logo {
    background: #0a0a0a;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 73px;
}

.footer-logo img {
    max-width: 200px;
    padding-top: 46px;
    padding-bottom: 85px;
}

div#main {
    padding-bottom: 0;
}

.mobile-main-nav li.act>a .menu-text,
.mobile-main-nav li.act>a .subtitle-text,
.dt-mobile-header .mobile-main-nav .sub-nav>li.act>a .subtitle-text,
.dt-mobile-header .mobile-main-nav .sub-nav>li.act>a .menu-text {
    color: #ffffff;
}

.tnp-field.tnp-field-email {
    width: calc(100% - 130px);
}

.branding {
    margin-top: 9px;
}

.main-nav>li>a {
    margin: 12px 0px 17px 0px;
    padding: 0px 20px;
}

#main {
    padding: 51px 0 70px 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-bottom: 2px;
    clear: both;
}

.wc-grid article.product-category .woocom-list-content .entry-title,
.woocommerce .product .woocom-list-content h4,
#content .woocommerce .product .woocom-list-content h4:last-child {
    margin-top: 18px;
    margin-bottom: 0;
}

.woocom-list-content .price,
article.product-category .woocom-list-content .count {
    margin-top: 9px;
}

p {
    margin-bottom: 11px;
}

input#tnp-1 {
    height: 37px;
}

.tnp.tnp-subscription {
    margin-top: 94px;
    width: 376px !important;
}

input.tnp-submit {
    height: 38px !important;
}

.tnp-field.tnp-field-button {
    width: 82px;
}

input.tnp-submit {
    width: 82px !important;
}

.tnp.tnp-subscription {
    margin-top: 94px;
    width: 419px !important;
}

.footer .widget {
    color: #85868c;
    padding: 0 17px;
}

.menu li,
.qts-lang-menu li,
.widget_pages li {
    display: block;
    position: relative;
    margin: 0px 0 0;
    padding: 8px 0 0;
}

.auth-page {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 73px 20px;
    padding-bottom: 25px;
}

.auth-container {
    max-width: 400px;
    width: 100%;

    overflow: hidden;
    line-height: 1;
}

.account-header {
    padding: 30px 40px 20px 40px;
    text-align: center;
}

.account-title {
    font-size: 18px;
    font-weight: bold;
    color: #000;
    margin: 0;
    text-transform: uppercase;
}

.auth-tabs {
    display: flex;
    position: relative;
    margin-bottom: 20px;
    align-items: center;
}

.auth-tab {
    flex: 1;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #999;
    position: relative;
}

.auth-tab:last-child {
    border-right: none;
}

.auth-tab.active {

    color: rgb(34, 34, 34);
    font-weight: 500;
    position: relative;
}

.auth-tab.active::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 25px;
    background: #ff4444;
    z-index: -1;
    opacity: 0.2;
}

.auth-form {
    display: none;
    padding: 0px 50px;
}

.auth-form.active {
    display: block;
}

.auth-header {
    margin-bottom: 30px;
}

.auth-title {
    font-size: 24px;
    font-weight: bold;
    color: #000;
    margin: 0;
    text-align: left;
}

.form-group {
    margin-bottom: 1px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    color: #222;
    font-weight: normal;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
input[type=text]:not(.elementor-field):not(.searchform-s) {
    width: 100%;
    padding: 5px 11px;
    border: 1px solid rgb(34, 34, 34);
    border-radius: 0;
    font-size: 14px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
    background: #ffffff;
}

div#register-form .form-group input[type="text"],
div#register-form .form-group input[type="email"],
div#register-form .form-group input[type="password"],
div#register-form input[type=text]:not(.elementor-field):not(.searchform-s) {
    border: 1px solid #ccc;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="password"]:focus {
    outline: none;
    border-color: #222;
    box-shadow: none;
}

.password-field {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 16px;
    color: #666;
}

.password-field input[type="password"] {
    padding-right: 40px;
}

.newsletter-group {
    margin-bottom: -1px;
}

.newsletter-label {
    display: block;
    margin-bottom: 12px;
    font-size: 14px;
    color: #222;
    font-weight: 500;
}

.radio-group {
    display: flex;
    gap: 20px;
}

.radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #666;
}

.radio-label input[type="radio"] {
    display: none;
}

.radio-mark {
    width: 10px;
    height: 10px;
    border: 1px solid #222;
    border-radius: 50%;
    margin-right: 0px;
    position: relative;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.radio-label input[type="radio"]:checked+.radio-mark {
    border-color: rgb(34, 34, 34);
}

.radio-label input[type="radio"]:checked+.radio-mark::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: rgb(34, 34, 34);
    border-radius: 50%;
}

.consent-group {
    margin-bottom: 10px;
    position: relative;
}

.consent-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 12px;
    color: #666;
    line-height: 1.4;
}

.consent-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 11px;
    height: 11px;
    border: 1px solid #ddd;
    margin-top: 0px;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
    display: inline-flex;
}

.consent-label input[type="checkbox"]:checked+.checkmark {
    background: rgb(34, 34, 34);
    border-color: rgb(34, 34, 34);
}

.consent-label input[type="checkbox"]:checked+.checkmark::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 3px;
    width: 3px;
    height: 5px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #666;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.auth-button {
    width: 100%;
    padding: 9px 0;
    background: rgb(34, 34, 34);
    color: white;
    border: none;
    border-radius: 0;
    font-size: 14px;
    font-weight: normal;
    text-transform: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin: 0px 0;
    text-transform: uppercase;
    margin-top: -3px;
}

.auth-button:hover {
    background: #c1b17e;
}

.auth-options {
    margin: 20px 0;
}

.remember-me {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #666;
}

.remember-me input[type="checkbox"] {
    display: none;
}

.remember-me .checkmark {
    width: 16px;
    height: 16px;
    border: 1px solid #ddd;
    margin-right: 8px;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.remember-me input[type="checkbox"]:checked+.checkmark {
    background: rgb(34, 34, 34);
    border-color: rgb(34, 34, 34);
}

.remember-me input[type="checkbox"]:checked+.checkmark::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 5px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.forgot-password-link {
    text-align: center;
    margin-top: 3px;
}

.forgot-password {
    color: #666;
    text-decoration: none;
    font-size: 10px;
}

.forgot-password:hover {
    text-decoration: underline;
}

.auth-error {
    background: #ffebee;
    color: #c62828;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ffcdd2;
    font-size: 14px;
}

.auth-success {
    background: #e8f5e8;
    color: #2e7d32;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #c8e6c9;
    font-size: 14px;
}

.user-info {
    background: #f0f0f0;
}

.user-info p {
    margin: 5px 0;
}

.logout-link,
.myaccount-link {
    color: #333;
    text-decoration: none;
    margin: 0 10px;
    padding: 5px 10px;
    background: #fff;
    border: 1px solid #ddd;
    transition: all 0.3s ease;
}

.logout-link:hover,
.myaccount-link:hover {
    background: #333;
    color: #fff;
    text-decoration: none;
}

/* Стили для личного кабинета */
.my-account-page {
    min-height: 100vh;
    padding: 80px 20px;
}

.my-account-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 40px;
}



.user-icon {
    font-size: 48px;
    color: #666;
}

.user-name {
    font-weight: 300;
    color: #767676;
    font-size: 13px;
    line-height: 1.428571429;
}

.account-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.user-info {
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 15px;
}

.nav-item {
    margin-bottom: 10px;
}

.nav-item a {
    display: block;
    padding: 1px 16px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-item a:hover {
    background: #f5f5f5;
    color: #333;
}

.nav-item.active a {
    font-weight: 600;
}

.nav-item.logout a {
    color: #e74c3c;
    border: 1px solid #e74c3c;
}

.nav-item.logout a:hover {
    background: #e74c3c;
    color: #fff;
}

.my-account-content {
    flex: 1;
    padding: 40px;
}

.section-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin: 0 0 30px 0;
    text-transform: uppercase;
}

/* Стили для избранного */
.favorites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.favorite-item {
    border: 1px solid #e0e0e0;
    padding: 20px;
    position: relative;
}

.product-image {
    position: relative;
    margin-bottom: 15px;
}

.product-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.favorite-heart {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
}

.product-brand {
    font-size: 12px;
    color: #666;
    margin-bottom: 5px;
}

.product-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.product-price {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.product-actions {
    margin-top: 15px;
}

.remove-favorite {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
    font-size: 12px;
}

.continue-button {
    text-align: right;
}

.btn-continue {
    background: #333;
    color: white;
    border: none;
    padding: 12px 24px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
}

/* Стили для форм */
.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd !important;
    font-size: 14px;
}

.form-actions {
    margin-top: 30px;
}

.btn-save {
    background: #333;
    color: white;
    border: none;
    padding: 12px 24px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
}

.form-actions.submit-btn {
    display: flex;
    justify-content: end;
}

/* Стили для заказов */
.orders-list {
    margin-bottom: 30px;
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border: 1px solid #e0e0e0;
    margin-bottom: 15px;
    flex-direction: column;
}

.order-header {
    display: flex
;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}
.order-info {
    flex: 1;
}
.order-details {
    width: 100%;
}
.order-number {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.order-date {
    color: #666;
    font-size: 14px;
    margin-bottom: 5px;
}

.order-status {
    font-size: 12px;
    padding: 4px 8px;
    display: inline-block;
}

.status-completed {
    background: #d4edda;
    color: #155724;
}

.status-processing {
    background: #d1ecf1;
    color: #0c5460;
}

.order-total {
    font-weight: 600;
    color: #333;
    margin-right: 20px;
}

.btn-view {
    background: #333;
    color: white;
    text-decoration: none;
    padding: 8px 16px;
    font-size: 12px;
}
.btn-view:hover {
    background: #c1b17e;
    color: white;
}
/* Стили для бонусов */
.bonus-balance {
    text-align: center;
    margin-bottom: 30px;
    padding: 30px;
    background: #f8f9fa;
}

.balance-amount {
    font-size: 48px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.balance-label {
    font-size: 18px;
    color: #666;
}

.history-list {
    margin-top: 20px;
}

.history-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.history-date {
    color: #666;
    font-size: 14px;
}

.history-description {
    flex: 1;
    margin: 0 20px;
}

.history-amount {
    font-weight: 600;
    color: #28a745;
}

/* Адаптивность */
@media (max-width: 768px) {
    .product div.images {
        width: 100% !important;
        margin-right: unset !important;
    }

    .my-account-container {
        flex-direction: column;
        gap: 20px;
    }

    .my-account-sidebar {
        width: 100%;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .favorites-grid {
        grid-template-columns: 1fr;
    }

    .order-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .order-total {
        margin-right: 0;
    }
}

@media (max-width: 480px) {
    .auth-container {
        margin: 20px;
        max-width: none;
    }

    .auth-form {
        padding: 30px 20px;
    }

    .auth-tab {
        padding: 15px 10px;
        font-size: 14px;
    }

    .radio-group {
        flex-direction: column;
        gap: 10px;
    }



}

.auth-tab {
    padding: 0 10px;
}

.form-group input[type="text"] {
    width: 100%;
}

.form-group.newsletter-group {
    display: flex;
    justify-content: space-between;
}

.form-group.newsletter-group {
    padding-right: 16px;
    margin-top: 8px;
}

span.checkmark {
    position: absolute;
    right: 0;
    bottom: 0;
}

div#login-form {
    margin-bottom: 219px;
}

.woocommerce-page .page-title.title-left.disabled-bg.breadcrumbs-off.breadcrumbs-mobile-off.page-title-responsive-enabled {
    display: none !important;
}

body.hide-product-title .summary>.product_title {
    display: block;
}

h1.product_title.entry-title {
    font-size: 18px;
    text-transform: capitalize;
    margin: 0px 0 18px 0;
    background: none;
}

.product div.images {
    width: 50%;
    margin-right: 30px;
}

.woocommerce div.product div.summary>.price:after,
.product_meta {
    display: none;
}

h1.product_title.entry-title {
    line-height: 1;
}

.woocommerce-page div#main {
    padding-top: 41px;
}

.woocommerce div.product div.summary h1 {
    margin-bottom: 23px;
}

.ratings {
    display: flex;
    gap: 17px;
    margin-bottom: 15px;
    color: #5a5a5a;
    font-size: 12px;
    line-height: 12px;
}

.quantity.buttons_added label {
    margin-right: 21px;
    line-height: 32px;
}

.ratings>* {
    cursor: pointer;
}

.woocommerce div.product div.summary>.price {
    position: relative;
    padding-bottom: 9px;
    margin-bottom: 0;
}

.ratings {
    margin-bottom: 114px;
}

form.cart div.quantity:not([style='display: none;'])+button,
.the7-cart-form .quantity:not([style='display: none;'])+button {
    margin-top: 0;
    margin-left: 10px;
    background: #323232;
    padding: 0 80px;
    font-size: 14px;
    font-weight: 500;
    height: 32px !important;
    min-height: unset !important;
}

input.input-text.qty.text {
    padding-left: 20px;
    padding-right: 20px;
    border: 1px solid #dbdbdb !important;
    height: 32px !important;
    width: 100px !important;
    min-height: unset !important;
}

.quantity.buttons_added label {
    font-size: 14px;
}

.wishlist-container .yith-add-to-wishlist-button-block.yith-add-to-wishlist-button-block--single.yith-add-to-wishlist-button-block--initialized {
    opacity: 1;
    position: relative;
    top: unset;
    right: unset;
    margin-left: -10px;
}

.wishlist-container {
    display: flex;
    align-items: center;
    color: #323232;
    font-weight: 600;
    font-size: 13px;
}

.woocommerce div.product div.summary form.cart,
.woocommerce div.product div.summary p.cart {
    margin-bottom: -6px;
}

.product:not(.elementor) .woocommerce-tabs .tabs:after {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 1px;
    width: 100%;
    content: "";
    background: var(--the7-divider-color);
    top: unset;
}

.product:not(.elementor) .woocommerce-tabs .tabs li:after {
    position: absolute;
    top: unset;
    left: 0;
    height: 1px;
    width: 100%;
    content: "";
    bottom: 0;
}

ul.tabs.wc-tabs {
    display: flex;
    justify-content: center;
}

ul.tabs.wc-tabs {
    display: flex;
    justify-content: center;
}

.pswp__top-bar {
    z-index: 10;
}

.pswp button.pswp__button--arrow--left,
.pswp button.pswp__button--arrow--right,
.pswp .pswp__button--arrow--left:before,
.pswp .pswp__button--arrow--right:before {
    font-size: 70px;
    line-height: 70px;
    min-height: 70px;
}

.top-bar .mini-login a:hover,
.top-bar .mini-search .submit:hover,
.top-bar a:hover {
    opacity: unset !important;
    color: #c1b17e !important;
}

.top-bar a:hover,
.masthead .top-bar .mini-login .submit:hover i {
    color: #c1b17e !important;
}

button.single_add_to_cart_button.button.alt:hover {
    background: #c1b17e;
}

#phantom {
    background: rgb(255 255 255 / 70%) none repeat center center !important;
}

#phantom:hover {
    background: rgb(255 255 255 / 100%) none repeat center center !important;
}

.user-info {
    text-align: left;
    display: flex;
    align-items: center;
    gap: 10px;
    background: none;
    margin-left: 17px;
    margin-bottom: 18px;
}

.page-template-page-my-account nav.navigation {
    display: none !important;
}

.page-template-page-my-account .masthead:not(.side-header):not(.mixed-header) .header-bar,
.header-space {
    min-height: 87px;
}

.my-account-sidebar {
    margin-left: -21px;
}

.form-actions:has(.btn-save) {
    display: flex;
    justify-content: end;
}

/* Стили для настроек аватара */
.avatar-section {
    margin-bottom: 40px;
    text-align: center;
}

.avatar-container {
    display: inline-block;
}

.avatar-placeholder {
    width: 120px;
    height: 120px;
    border: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    background: #f9f9f9;
}

.avatar-icon {
    color: #666;
}

.avatar-icon svg {
    width: 48px;
    height: 48px;
}

.add-photo-btn {
    width: 120px;
    padding: 8px 16px;
    border: 1px solid #666;
    background: transparent;
    color: #666;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-photo-btn:hover {
    background: #666;
    color: #fff;
}



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

.settings-form .form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: #222;
    font-weight: 500;
}

.settings-form .form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e0e0e0;

    font-size: 14px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.settings-form .form-group input:focus {
    outline: none;
    border-color: #222;
}

.settings-form .form-actions {
    text-align: center;
    margin-top: 30px;
}

.settings-form .btn-save {
    padding: 12px 32px;
    background: #000;
    color: #fff;
    border: none;

    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.settings-form .btn-save:hover {
    background: #333;
}

.wishlist-title-container,
table.shop_table.cart.wishlist_table.wishlist_view.traditional.responsive thead {
    display: none;
}

/* Стили для кнопки личного кабинета */
.btn-group {
    position: relative;
    display: inline-block;
}

.btn-group .btn {
    display: inline-block;
    padding: 8px 16px;
    margin-bottom: 0;
    font-size: 11px;
    font-weight: normal;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    border: 1px solid transparent;

    text-decoration: none;
    background: transparent;
    color: #fff;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.btn-group .btn:hover {
    color: #c1b17e;
    text-decoration: none;
}

.btn-group .btn:focus {
    outline: none;
    box-shadow: none;
}

.btn-group .dropdown-toggle {
    position: relative;
    padding-right: 30px;
}

.btn-group .dropdown-toggle .fa-angle-down {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    transition: transform 0.3s ease;
}

.btn-group.open .dropdown-toggle .fa-angle-down {
    transform: translateY(-50%) rotate(180deg);
}

.btn-group .dropdown-menu {
    position: absolute;
    bottom: -106px;
    left: 0;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 160px;
    padding: 0 20px;
    margin: 2px 0 0;
    font-size: 11px;
    text-align: left;
    list-style: none;
    background-color: #fff;
    border: 2px solid #eeeeee;

}

.btn-group.open .dropdown-menu {
    display: block;
}

.btn-group .dropdown-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.btn-group .dropdown-menu li {
    display: block;
}

.btn-group .dropdown-menu li a {
    display: block;
    padding: 15px 0px;
    clear: both;
    font-weight: normal;
    line-height: 1.42857143;
    color: #333;
    white-space: nowrap;
    text-decoration: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.dropdown-menu:before {
    border: 8px solid;
    border-color: transparent transparent #fff transparent;
    z-index: 1;
    right: 20px;
    top: -16px;
    content: '';
    display: block;
    height: 0;
    position: absolute;
    width: 0;
}

.btn-group .dropdown-menu li a:hover {
    color: #c1b17e;
    text-decoration: none;
}

.icons-myaccount {
    margin-right: 8px;
    font-size: 16px;
}

.hidden-sm.hidden-xs {
    display: inline;
}

@media (max-width: 768px) {
    .hidden-sm.hidden-xs {
        display: none;
    }
}

/* Стили для мобильной версии кнопки личного кабинета */
.account-dropdown-mobile {
    margin-left: 10px;
}

.account-dropdown-mobile .btn {
    padding: 6px 12px;
    font-size: 12px;
}





/* Скрываем десктопную версию на мобильных устройствах */
@media (max-width: 768px) {
    .account-dropdown:not(.account-dropdown-mobile) {
        display: none;
    }

    .tnp.tnp-subscription {
        margin-top: 94px;
        width: 100% !important;
    }
}

.btn-group.account-dropdown-mobile {
    display: flex;
}

.btn-group.account-dropdown a {
    color: #333 !important;
    text-transform: uppercase;
    font-weight: 300;
    font-size: 11px;
    line-height: 28px;
    display: block;
    padding: 9px 0;
}

.btn-group.account-dropdown a:hover {
    color: #c1b17e !important;
    text-decoration: none;
}

.dropdown-menu ul.list-unstyled li {
    margin-bottom: 0;
}

.dropdown-menu li:first-child {
    border-bottom: 1px solid #eeeeee;
}

button.btn.btn-link.dropdown-toggle i.the7-mw-icon-login-bold {
    padding-right: 2px;
}

#page .btn-link {
    padding: 0;
}

button.btn.btn-link.dropdown-toggle i.icomoon-the7-font-the7-arrow-17,
button.btn.btn-link.dropdown-toggle i.the7-mw-icon-login-bold {
    color: inherit;
}

button.btn.btn-link.dropdown-toggle i.icomoon-the7-font-the7-arrow-17:before {
    transform: rotate(90deg);
    display: inline-block;
    padding-left: 4px;
    line-height: 1;
}

button.btn.btn-link.dropdown-toggle:hover>* {
    color: #c1b17e !important;
}

.newsletter-group {
    display: flex;
    gap: 15px;
}

.auth-tab:first-child {
    border-right: 2px solid #7c7c7c;
    text-align: right;
}

div#main>.main-logo {
    display: none;
}

@media (max-width: 1300px) {
    div#main>.main-logo {
        display: block;
    }
}

/* Стили для формы отзывов с изображениями */
.custom-review-form {
    background: #f9f9f9;
    padding: 25px;
  
    margin: 30px 0;
}

.custom-review-form h3 {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.review-form-group {
    margin-bottom: 20px;
}

.review-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.star-rating {
    display: flex;
    gap: 5px;
    margin-bottom: 15px;
}

.star-rating input[type="radio"] {
    display: none;
}

.star-rating label {
    font-size: 24px;
    color: #ddd;
    cursor: pointer;
    transition: color 0.2s;
}

.star-rating label:hover,
.star-rating input[type="radio"]:checked~label {
    color: #ffc107;
}

.review-form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;

    font-size: 14px;
    font-family: inherit;
    resize: vertical;
    min-height: 120px;
    box-sizing: border-box;
}

.review-form-group textarea:focus {
    outline: none;
    border-color: #c1b17e;
    box-shadow: 0 0 0 2px rgba(193, 177, 126, 0.2);
}

.review-form-group input[type="file"] {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;

    font-size: 14px;
    box-sizing: border-box;
}

.help-text {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
    font-style: italic;
}

.image-preview {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.btn-submit-review {
    background: #333;
    color: white;
    border: none;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-submit-review:hover {
    background: #c1b17e;
}

.btn-submit-review:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Стили для существующих отзывов */
.existing-reviews {
    margin-top: 40px;
}

.existing-reviews h4 {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.review-item {
    background: white;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #eee;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}

.review-author strong {
    color: #333;
    font-size: 16px;
}

.review-rating {
    margin-top: 5px;
}

.review-rating .star {
    color: #ddd;
    font-size: 16px;
}

.review-rating .star.filled {
    color: #ffc107;
}

.review-date {
    color: #666;
    font-size: 12px;
}

.review-content {
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

.review-images {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.review-image {
    display: inline-block;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

.review-image:hover {
    transform: scale(1.05);
}

.review-image img {
    display: block;
    max-width: 80px;
    max-height: 80px;
    object-fit: cover;
}

/* Адаптивность для отзывов */
@media (max-width: 768px) {
    .custom-review-form {
        padding: 20px;
        margin: 20px 0;
    }

    .review-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .star-rating {
        gap: 3px;
    }

    .star-rating label {
        font-size: 20px;
    }

    .review-images {
        justify-content: center;
    }
}

/* Стили для поля загрузки изображений в стандартной форме WooCommerce */
.review-image-upload {
    float: left;
}

.review-image-upload label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.review-image-upload input[type="file"] {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    
    font-size: 14px;
    box-sizing: border-box;
    margin-bottom: 10px;
}

.review-image-upload .help-text {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
    font-style: italic;
}

/* Стили для изображений в отзывах WooCommerce */
.woocommerce-Reviews .review-images {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.woocommerce-Reviews .review-image {
    display: inline-block;

    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

.woocommerce-Reviews .review-image:hover {
    transform: scale(1.05);
}

.woocommerce-Reviews .review-image img {
    display: block;
    max-width: 80px;
    max-height: 80px;
    object-fit: cover;
}

/* Стили для пользовательских аватаров в комментариях */
.comment-container .avatar,
#reviews .commentlist li img.avatar,
.commentlist li img.avatar {
    border-radius: 50% !important;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
}

.comment-container .avatar:hover,
#reviews .commentlist li img.avatar:hover,
.commentlist li img.avatar:hover {
    border-color: #c1b17e;
    transform: scale(1.05);
}

/* Улучшенные стили для контейнера комментариев */
.comment_container {
    position: relative;
    padding: 20px 20px 10px 100px;
    background: #fff;

    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    transition: box-shadow 0.3s ease;
}

.comment_container:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

/* Стили для аватара в комментариях WooCommerce */
#reviews .commentlist li img.avatar {
    width: 60px !important;
    height: 60px !important;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
}

#reviews .commentlist li img.avatar:hover {
    border-color: #c1b17e;
    transform: scale(1.05);
}

/* Стили для модального окна просмотра изображений */
#image-viewer-modal {
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

#image-viewer-modal.show {
    opacity: 1;
}

#image-viewer-modal img {
    transition: transform 0.3s ease;
    object-fit: cover;
    position: relative;
    max-height: 90vh !important;
}

#image-viewer-modal:hover img {
    transform: scale(1.02);
}

/* Улучшенные стили для изображений в отзывах */
.review-image {
    position: relative;
    overflow: hidden;
   
    transition: all 0.3s ease;
}

.review-image:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.review-image::after {
    content: "\ec051";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    font-family: icomoon-the7-font !important;
}

.review-image:hover::after {
    opacity: 1;
}

/* Стили для аккордеона заказов */
.order-item {
    border: 1px solid #e1e1e1;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.order-item:hover {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.order-header {
    display: flex;
    align-items: center;
    padding: 20px;
    background: #fff;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.order-header:hover {
    background: #f8f9fa;
}

.order-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.order-number {
    font-weight: bold;
    font-size: 16px;
    color: #333;
}

.order-date {
    color: #666;
    font-size: 14px;
}

.order-status {
    display: inline-block;
    padding: 4px 8px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.order-status.status-completed {
    background: #d4edda;
    color: #155724;
}

.order-status.status-processing {
    background: #fff3cd;
    color: #856404;
}

.order-status.status-pending {
    background: #f8d7da;
    color: #721c24;
}

.order-total {
    font-weight: bold;
    font-size: 18px;
    color: #333;
    margin: 0 20px;
}

.order-actions {
    display: flex;
    align-items: center;
}

.order-toggle-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #333;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}
.order-details .product-image {
    margin-bottom: 0;
}
.order-toggle-btn:hover {
    background: #c1b17e;
    transform: translateY(-1px);
}

.toggle-icon {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.order-details {
    background: #f8f9fa;
    border-top: 1px solid #e1e1e1;
    padding: 0;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 1000px;
    }
}

.order-details-loading {
    padding: 40px 20px;
    text-align: center;
    color: #666;
    font-style: italic;
}

.order-details-content {
    padding: 20px;
}

.order-details-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e1e1e1;
}

.order-details-header h3 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 20px;
}

.order-meta p {
    margin: 5px 0;
    color: #666;
}

.order-items h4,
.order-addresses h4,
.billing-address h4 {
    margin: 20px 0 10px 0;
    color: #333;
    font-size: 16px;
}

.order-items-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    background: white;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.order-items-table th,
.order-items-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e1e1e1;
}

.order-items-table th {
    background: #f8f9fa;
    font-weight: bold;
    color: #333;
}

.product-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-image img {
    width: 50px;
    height: 50px;
    object-fit: cover;

}

.product-details {
    flex: 1;
}

.product-name {
    font-weight: bold;
    color: #333;
    margin-bottom: 2px;
}

.product-sku {
    font-size: 12px;
    color: #666;
}

.order-addresses,
.billing-address {
    margin-top: 20px;
    padding: 15px;
    background: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.address-content {
    margin-top: 10px;
    line-height: 1.6;
    color: #666;
}

.error {
    color: #dc3545;
    background: #f8d7da;
    padding: 10px;
    margin: 10px 0;
}

/* Стили для subscriptions */
.subscription-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border: 1px solid #e1e1e1;
    margin-bottom: 15px;
    background: white;
    transition: all 0.3s ease;
    gap: 10px;
}

.subscription-item:hover {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.subscription-info {
    flex: 1;
}

.subscription-info h3 {
    margin: 0 0 5px 0;
    color: #333;
    font-size: 16px;
}

.subscription-info p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

.subscription-status {
    display: flex;
    align-items: center;
}

.btn-unsubscribe {
    background: #333;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn-unsubscribe:hover {
    background: #c1b17e;
    transform: translateY(-1px);
}

.btn-unsubscribe:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
}

.btn-unsubscribe .loading-text {
    font-style: italic;
}

.status-active {
    background: #d4edda;
    color: #155724;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

@media (max-width: 768px) {

    form.cart div.quantity:not([style='display: none;'])+button,
    .the7-cart-form .quantity:not([style='display: none;'])+button {
        margin-left: 0;
    }

    ul.tabs.wc-tabs {
        gap: 20px;
    }

    .review-images {
        justify-content: start;
    }
}

button#open-photo-modal {
    background: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 20px;
    border: 1px solid #333;
    cursor: pointer;
    font-size: 14px;
    color: #333;
    transition: all 0.2s ease;
    margin-right: 10px;
}
input#submit:hover {
    background: #c1b17e !important;
}
body.search .wc-img-hover .woocom-project img.back-image {
    top: 48%;
}
body.search .woo-buttons-on-img a.alignnone {
    padding-bottom: 100% !important;
}
body.search figcaption.woocom-list-content {
    text-align: center;
}
@media (max-width: 768px) {
    .my-account-page {
        padding: unset;
    }
    .order-item {
        padding: 20px;
    }
    .my-account-content {
        flex: 1;
        padding: 0;
    }
    .order-header {
        gap: 10px;
        flex-wrap: wrap;
        padding: 0;
    }
    table.order-items-table {
        text-align: center;
    }
    
    .order-items {
        overflow-x: scroll;
    }
    table.order-items-table {
        min-width: 700px;
    }
}
article span.onsale {
    display: none;
}
@media (max-width: 768px) {
    .content .woocommerce .wf-cell img, .woocommerce .content .wf-cell img {
    pointer-events: none;
}
    p.form-submit {
        margin-top: 10px;
    }
    figure.woocom-project .yith-add-to-wishlist-button-block.yith-add-to-wishlist-button-block--initialized {
        scale: 1;
        opacity: 1;
    }
    .review-image-upload {
        float: unset;
    }
    p.comment-form-author {
        margin-top: 10px;
    }
    div#photo-modal div  div:has(h3) {
        display: none;
    }
}
.wp-block-woocommerce-coming-soon.woocommerce-coming-soon-store-only h1.wp-block-heading.has-text-align-center.has-cardo-font-family {
    display: none;
}
.wp-block-woocommerce-coming-soon.woocommerce-coming-soon-store-only {
    max-width: 559px;
    margin: 0 auto;
}
.single-product aside#sidebar {
    display: none;
}
@media screen and (min-width: 992px) {
    .single-product .sidebar-right .wf-container-main {
        -ms-grid-columns: calc(100% - 350px - 35px) 70px calc(350px - 35px);
        grid-template-columns: calc(100% - 0px) 0;
    }
}

/* Скрытие только цифр в тексте "X в наличии" - оставляем только "в наличии" */
.woocommerce div.product p.stock,
.woocommerce div.product .stock,
.single-product .stock,
.woocommerce .stock {
    font-size: 0 !important;
}

/* Для товаров в наличии - показываем "В наличии" */
.woocommerce div.product p.stock.in-stock:after,
.woocommerce div.product .stock.in-stock:after,
.single-product .stock.in-stock:after,
.woocommerce .stock.in-stock:after {
    content: "В наличии" !important;
    font-size: 14px !important;
    color: inherit !important;
}

/* Для товаров не в наличии - показываем "Нет в наличии" */
.woocommerce div.product p.stock.out-of-stock:after,
.woocommerce div.product .stock.out-of-stock:after,
.single-product .stock.out-of-stock:after,
.woocommerce .stock.out-of-stock:after {
    content: "Нет в наличии" !important;
    font-size: 14px !important;
    color: inherit !important;
}

/* Для товаров с низким количеством - показываем "В наличии" */
.woocommerce div.product p.stock.low-stock:after,
.woocommerce div.product .stock.low-stock:after,
.single-product .stock.low-stock:after,
.woocommerce .stock.low-stock:after {
    content: "В наличии" !important;
    font-size: 14px !important;
    color: inherit !important;
}

/* Стили для контейнеров избранного */
.woocommerce div.product .wishlist-container,
.single-product .wishlist-container {
    display: flex !important;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

/* Принудительное отображение кнопки избранного для всех товаров */
.woocommerce div.product .summary::after {
    content: "";
    display: block;
    margin-top: 20px;
}

/* Стили для кнопки избранного */
.wishlist-container {
    display: flex !important;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

.wishlist-container .yith-wcwl-add-to-wishlist,
.wishlist-container .yith-wcwl-add-to-wishlist-button {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background-color: #f8f8f8;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wishlist-container .yith-wcwl-add-to-wishlist:hover,
.wishlist-container .yith-wcwl-add-to-wishlist-button:hover {
    background-color: #e8e8e8;
    border-color: #ccc;
}

/* Стили для рейтинга в отзывах - одна полоска со звездами */
span[role="group"][aria-labelledby="comment-form-rating-label"] {
    display: flex !important;
    align-items: center;
    margin: 10px 0;
}

span[role="group"][aria-labelledby="comment-form-rating-label"] a[role="radio"] {
    display: inline-block !important;
    width: 20px;
    height: 20px;
    text-decoration: none !important;
    color: transparent !important;
    font-size: 18px;
    line-height: 1;
    text-align: center;
    position: relative;
    cursor: pointer;
    padding: 2px;
    transition: all 0.2s ease;
    overflow: hidden;
    border: unset;
    margin-right: 0px;
}

/* Скрываем весь текст */
span[role="group"][aria-labelledby="comment-form-rating-label"] a[role="radio"] * {
    display: none !important;
}

/* Убираем псевдоэлемент :before */
span[role="group"][aria-labelledby="comment-form-rating-label"] a[role="radio"]:before {
    display: none !important;
    content: none !important;
}

/* Единственный псевдоэлемент для звезд - только :after */
span[role="group"][aria-labelledby="comment-form-rating-label"] a[role="radio"]:after {
    content: "☆";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ddd;
    font-size: 18px;
    line-height: 1;
    transition: color 0.2s ease;
    z-index: 1;
}

/* Hover эффекты */
span[role="group"][aria-labelledby="comment-form-rating-label"] a[role="radio"]:hover {
    background-color: rgba(255, 193, 7, 0.1);
    transform: scale(1.1);
}

span[role="group"][aria-labelledby="comment-form-rating-label"] a[role="radio"]:hover:after {
    content: "★";
    color: #ffc107;
}

/* Активные звезды - все звезды до выбранной должны быть закрашены */
span[role="group"][aria-labelledby="comment-form-rating-label"] a[role="radio"].active:after {
    content: "★" !important;
    color: #ffc107 !important;
}

/* Звезда с aria-checked="true" - только выбранная звезда */
span[role="group"][aria-labelledby="comment-form-rating-label"] a[role="radio"][aria-checked="true"]:after {
    content: "★" !important;
    color: #ffc107 !important;
}

/* Hovered звезды */
span[role="group"][aria-labelledby="comment-form-rating-label"] a[role="radio"].hovered:after {
    content: "★" !important;
    color: #ffc107 !important;
}

/* Активное состояние при клике */
span[role="group"][aria-labelledby="comment-form-rating-label"] a[role="radio"]:active {
    transform: scale(0.95);
}

/* Кнопка Оплатить в личном кабинете */
.btn-pay {
    background: #4caf50;
    color: #fff;
    padding: 5px 10px;
    margin-left: 5px;
    text-decoration: none;
    border-radius: 4px;
}

/* Кнопка Отмена в личном кабинете */
.btn-cancel {
    background: #f44336;
    color: #fff;
    padding: 5px 10px;
    margin-left: 5px;
    text-decoration: none;
    border-radius: 4px;
}

@media screen and (max-width: 350px) {
    .dt-mobile-menu-icon {
        padding: 0;
    }
    .mini-contacts{
        margin: 0 5px;
    }
}