/*
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.29
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;
}

figure.woocom-project.celanaste-gallery-scrub-active img.back-image,
figure.woocom-project.celanaste-gallery-scrub-active img.show-on-hover {
    display: none !important;
}

.woo-buttons-on-img {
    position: relative;
}

.celanaste-gallery-scrub-dots {
    position: absolute;
    right: 14px;
    bottom: 12px;
    left: 14px;
    z-index: 6;
    display: flex;
    gap: 4px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease;
}

figure.woocom-project:hover .celanaste-gallery-scrub-dots {
    opacity: 1;
}

.celanaste-gallery-scrub-dots span {
    flex: 1 1 0;
    height: 2px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.62);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.22);
}

.celanaste-gallery-scrub-dots span.is-active {
    background: #ffffff;
}

.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;
    }

    .woocommerce div.product div.summary {
        width: 100% !important;
    }

    .celanaste-single-gallery__layout {
        display: block !important;
    }

    .celanaste-single-gallery__thumbs,
    .celanaste-single-gallery__stage {
        display: none !important;
    }

    .celanaste-single-gallery__mobile-swipe {
        position: relative;
        display: block !important;
        overflow: hidden;
        background: #f7f5f0;
    }

    .celanaste-single-gallery__mobile-track {
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .celanaste-single-gallery__mobile-track::-webkit-scrollbar {
        display: none;
    }

    .celanaste-single-gallery__mobile-image {
        display: block;
        flex: 0 0 100%;
        width: 100%;
        height: auto;
        scroll-snap-align: start;
    }

    .celanaste-single-gallery__open {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }

    .celanaste-single-gallery__nav {
        display: none;
    }

    .celanaste-gallery-frame__panel {
        display: block !important;
        padding: 16px 12px;
    }

    .celanaste-gallery-frame__thumbs {
        display: none !important;
    }

    .celanaste-gallery-frame__scroller {
        height: calc(100vh - 32px);
    }

    .celanaste-gallery-frame__item {
        min-height: calc(100vh - 32px);
    }

    .celanaste-gallery-frame__item img {
        max-height: calc(100vh - 32px);
    }

    .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: min(62%, 760px);
    margin-right: 42px;
}

.woocommerce div.product div.summary {
    width: calc(38% - 42px);
}

.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;
}

.single-product .celanaste-single-gallery {
    opacity: 1 !important;
}

.celanaste-single-gallery__layout {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
}

.celanaste-single-gallery__layout > .celanaste-single-gallery__stage:first-child {
    grid-column: 1 / -1;
}

.celanaste-single-gallery__thumbs {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: min(720px, calc(100vh - 150px));
    overflow-y: auto;
    padding-right: 2px;
    scrollbar-width: thin;
}

.celanaste-single-gallery__thumb {
    width: 82px;
    aspect-ratio: 1 / 1.2;
    padding: 0;
    border: 1px solid transparent;
    background: #fff;
    cursor: pointer;
    overflow: hidden;
}

.celanaste-single-gallery__thumb.is-active,
.celanaste-single-gallery__thumb:hover {
    border-color: #222;
}

.celanaste-single-gallery__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.celanaste-single-gallery__stage {
    position: relative;
    overflow: hidden;
    background: #f7f5f0;
}

.celanaste-single-gallery__mobile-swipe {
    display: none;
}

.celanaste-single-gallery__image {
    display: block;
    width: 100%;
    height: auto;
    min-height: 560px;
    max-height: calc(100vh - 130px);
    object-fit: cover;
    opacity: 1;
    transition: opacity 0.24s ease;
    will-change: opacity;
}

.celanaste-single-gallery.is-image-changing .celanaste-single-gallery__image {
    opacity: 0;
}

.celanaste-single-gallery__open {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 4;
    width: 52px;
    height: 52px;
    min-width: 52px;
    padding: 0;
    border: 1px solid rgba(34, 34, 34, 0.28);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: #222;
    font-size: 32px;
    line-height: 46px;
    transform: translate(-50%, -50%) scale(0.92);
    opacity: 0;
    cursor: pointer;
    transition: opacity 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

.celanaste-single-gallery__stage:hover .celanaste-single-gallery__open {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.celanaste-single-gallery__stage:has(.celanaste-single-gallery__nav:hover) .celanaste-single-gallery__open,
.celanaste-single-gallery__stage:has(.celanaste-single-gallery__nav:focus-visible) .celanaste-single-gallery__open,
.celanaste-single-gallery.is-nav-hover .celanaste-single-gallery__open {
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0.92);
}

.celanaste-single-gallery__open:hover {
    background: #fff;
}

.celanaste-single-gallery__nav {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 3;
    width: 28%;
    min-width: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #fff;
    font-size: 0;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.18s ease;
}

.celanaste-single-gallery__nav:before {
    position: absolute;
    top: 50%;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(34, 34, 34, 0.42);
    font-size: 36px;
    line-height: 40px;
    text-align: center;
    transform: translateY(-50%);
}

.celanaste-single-gallery__nav--prev {
    left: 0;
}

.celanaste-single-gallery__nav--next {
    right: 0;
}

.celanaste-single-gallery__nav--prev:before {
    content: "‹";
    left: 18px;
}

.celanaste-single-gallery__nav--next:before {
    content: "›";
    right: 18px;
}

.celanaste-single-gallery__nav:hover {
    opacity: 1;
}

.celanaste-gallery-frame-open {
    overflow: hidden;
}

.celanaste-gallery-frame[hidden] {
    display: none;
}

.celanaste-gallery-frame {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(255, 255, 255, 0.98);
}

.celanaste-gallery-frame__panel {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 22px;
    height: 100vh;
    padding: 22px 28px;
}

.celanaste-gallery-frame__close {
    position: fixed;
    top: 18px;
    right: 22px;
    z-index: 2;
    width: 42px;
    height: 42px;
    min-width: 42px;
    padding: 0;
    border: 1px solid #222;
    border-radius: 50%;
    background: #fff;
    color: #222;
    font-size: 30px;
    line-height: 34px;
    cursor: pointer;
}

.celanaste-gallery-frame__thumbs {
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: calc(100vh - 44px);
    overflow-y: auto;
    padding-right: 4px;
}

.celanaste-gallery-frame__thumb {
    width: 86px;
    aspect-ratio: 1 / 1.2;
    padding: 0;
    border: 1px solid transparent;
    background: #fff;
    cursor: pointer;
    overflow: hidden;
}

.celanaste-gallery-frame__thumb:hover {
    border-color: #222;
}

.celanaste-gallery-frame__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.celanaste-gallery-frame__scroller {
    height: calc(100vh - 44px);
    overflow-y: auto;
    scroll-snap-type: y mandatory;
    scrollbar-width: thin;
}

.celanaste-gallery-frame__item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 44px);
    margin: 0;
    scroll-snap-align: start;
}

.celanaste-gallery-frame__item img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: calc(100vh - 44px);
    object-fit: contain;
}

@media (max-width: 768px) {
    .single-product .celanaste-single-gallery__mobile-swipe {
        position: relative;
        display: block !important;
        overflow: hidden;
        aspect-ratio: 600 / 726;
        width: 100%;
        background: #f7f5f0;
        touch-action: pan-x pan-y;
    }

    .single-product .celanaste-single-gallery__mobile-track {
        display: flex;
        width: 100%;
        height: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
        scrollbar-width: none;
    }

    .single-product .celanaste-single-gallery__mobile-track::-webkit-scrollbar {
        display: none;
    }

    .single-product .celanaste-single-gallery__mobile-image {
        display: block;
        flex: 0 0 100%;
        width: 100%;
        height: 100%;
        min-width: 100%;
        object-fit: cover;
        scroll-snap-align: start;
        scroll-snap-stop: always;
        background: #f7f5f0;
    }

    .single-product .celanaste-single-gallery__mobile-dots {
        position: absolute;
        right: 78px;
        bottom: 17px;
        left: 14px;
        z-index: 5;
        display: flex;
        gap: 4px;
        pointer-events: none;
    }

    .single-product .celanaste-single-gallery__mobile-dots span {
        flex: 1 1 0;
        height: 2px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.52);
        box-shadow: 0 1px 5px rgba(0, 0, 0, 0.22);
        transition: background 0.18s ease;
    }

    .single-product .celanaste-single-gallery__mobile-dots span.is-active {
        background: #fff;
    }

    .single-product .celanaste-single-gallery__open--mobile {
        top: auto;
        right: 14px;
        bottom: 26px;
        left: auto;
        width: 48px;
        height: 48px;
        min-width: 48px;
        border-color: rgba(34, 34, 34, 0.2);
        background: rgba(255, 255, 255, 0.95);
        box-shadow: 0 5px 18px rgba(0, 0, 0, 0.2);
        font-size: 30px;
        line-height: 42px;
        opacity: 1 !important;
        transform: none !important;
    }

    .single-product .celanaste-gallery-frame__panel {
        display: block !important;
        height: 100vh;
        padding: 0 10px;
    }

    .single-product .celanaste-gallery-frame__thumbs {
        display: none !important;
    }

    .single-product .celanaste-gallery-frame__scroller {
        height: 100vh;
        overflow-y: auto;
        scroll-snap-type: y mandatory;
    }

    .single-product .celanaste-gallery-frame__item {
        min-height: 100vh;
        padding: 54px 0 18px;
    }

    .single-product .celanaste-gallery-frame__item img {
        max-width: 100%;
        max-height: calc(100vh - 72px);
        object-fit: contain;
    }
}

@media (max-width: 900px) {
    .single-product .product div.images,
    .single-product.woocommerce div.product div.images,
    .single-product .woocommerce div.product div.images {
        width: 100% !important;
        margin-right: 0 !important;
    }

    .single-product .woocommerce div.product div.summary,
    .single-product.woocommerce div.product div.summary {
        width: 100% !important;
    }

    .single-product .celanaste-single-gallery__layout {
        display: block !important;
    }

    .single-product .celanaste-single-gallery__thumbs,
    .single-product .celanaste-single-gallery__stage {
        display: none !important;
    }

    .single-product .celanaste-single-gallery__mobile-swipe {
        position: relative;
        display: block !important;
        overflow: hidden;
        aspect-ratio: 600 / 726;
        width: 100%;
        background: #f7f5f0;
        touch-action: pan-x pan-y;
    }

    .single-product .celanaste-single-gallery__mobile-swipe:after {
        position: absolute;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 4;
        height: 96px;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0));
        content: "";
        pointer-events: none;
    }

    .single-product .celanaste-single-gallery__mobile-track {
        display: flex;
        width: 100%;
        height: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
        scrollbar-width: none;
    }

    .single-product .celanaste-single-gallery__mobile-track::-webkit-scrollbar {
        display: none;
    }

    .single-product .celanaste-single-gallery__mobile-image {
        display: block;
        flex: 0 0 100%;
        width: 100%;
        height: 100%;
        min-width: 100%;
        object-fit: cover;
        scroll-snap-align: start;
        scroll-snap-stop: always;
        background: #f7f5f0;
    }

    .single-product .celanaste-single-gallery__mobile-dots {
        position: absolute;
        right: 84px;
        bottom: 18px;
        left: 14px;
        z-index: 6;
        display: flex !important;
        gap: 5px;
        min-height: 4px;
        pointer-events: none;
    }

    .single-product .celanaste-single-gallery__mobile-dots span {
        display: block;
        flex: 1 1 0;
        height: 4px;
        min-width: 16px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.58);
        box-shadow: 0 1px 7px rgba(0, 0, 0, 0.42);
        transition: background 0.18s ease, opacity 0.18s ease;
    }

    .single-product .celanaste-single-gallery__mobile-dots span.is-active {
        background: #fff;
        opacity: 1;
    }

    .single-product .celanaste-single-gallery__open--mobile,
    .single-product .celanaste-single-gallery.is-nav-hover .celanaste-single-gallery__open--mobile {
        top: auto;
        right: 14px;
        bottom: 30px;
        left: auto;
        z-index: 7;
        display: block !important;
        width: 54px;
        height: 54px;
        min-width: 54px;
        border: 1px solid rgba(34, 34, 34, 0.45);
        background: #fff;
        color: #111;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.26);
        font-size: 34px;
        line-height: 47px;
        opacity: 1 !important;
        pointer-events: auto !important;
        transform: none !important;
    }

    .single-product .celanaste-single-gallery__nav {
        display: none !important;
    }

    .single-product .celanaste-gallery-frame__panel {
        display: block !important;
        height: 100vh;
        padding: 0 10px;
    }

    .single-product .celanaste-gallery-frame__thumbs {
        display: none !important;
    }

    .single-product .celanaste-gallery-frame__scroller {
        height: 100vh;
        overflow-y: auto;
        scroll-snap-type: y mandatory;
    }

    .single-product .celanaste-gallery-frame__item {
        min-height: 100vh;
        padding: 54px 0 18px;
    }

    .single-product .celanaste-gallery-frame__item img {
        max-width: 100%;
        max-height: calc(100vh - 72px);
        object-fit: contain;
    }
}

.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);
}

/* WooCommerce account orders: readable totals and aligned actions. */
.woocommerce-orders-table .celanaste-order-shipping {
    display: block;
    margin-top: 4px;
    color: #777;
    font-size: 12px;
    line-height: 1.35;
    white-space: nowrap;
}

.woocommerce-orders-table__cell-order-actions {
    white-space: nowrap;
}

.woocommerce-orders-table__cell-order-actions .button {
    position: relative;
    width: 42px;
    min-width: 42px !important;
    height: 42px;
    min-height: 42px !important;
    margin: 2px 5px 2px 0 !important;
    padding: 0 !important;
    border-radius: 50% !important;
    font-size: 0 !important;
    line-height: 0 !important;
    vertical-align: middle;
    background: #fff !important;
    border-color: #222 !important;
    color: #222 !important;
}

.woocommerce-orders-table__cell-order-actions .button:hover {
    background: #222 !important;
    border-color: #222 !important;
    color: #fff !important;
}

.woocommerce-orders-table__cell-order-actions .button::before {
    content: "";
    display: block;
    width: 19px;
    height: 19px;
    background-color: currentColor;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
}

.woocommerce-orders-table__cell-order-actions .button.pay::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 5h18a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2Zm0 4h18V7H3v2Zm0 3v5h18v-5H3Zm2 2h5v2H5v-2Z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 5h18a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2Zm0 4h18V7H3v2Zm0 3v5h18v-5H3Zm2 2h5v2H5v-2Z'/%3E%3C/svg%3E");
}

.woocommerce-orders-table__cell-order-actions .button.view::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5c5.5 0 9.5 5.1 9.7 5.3a2.7 2.7 0 0 1 0 3.4C21.5 13.9 17.5 19 12 19S2.5 13.9 2.3 13.7a2.7 2.7 0 0 1 0-3.4C2.5 10.1 6.5 5 12 5Zm0 2c-4.2 0-7.6 3.8-8.1 4.5a.7.7 0 0 0 0 1C4.4 13.2 7.8 17 12 17s7.6-3.8 8.1-4.5a.7.7 0 0 0 0-1C19.6 10.8 16.2 7 12 7Zm0 2a3 3 0 1 1 0 6 3 3 0 0 1 0-6Zm0 2a1 1 0 1 0 0 2 1 1 0 0 0 0-2Z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5c5.5 0 9.5 5.1 9.7 5.3a2.7 2.7 0 0 1 0 3.4C21.5 13.9 17.5 19 12 19S2.5 13.9 2.3 13.7a2.7 2.7 0 0 1 0-3.4C2.5 10.1 6.5 5 12 5Zm0 2c-4.2 0-7.6 3.8-8.1 4.5a.7.7 0 0 0 0 1C4.4 13.2 7.8 17 12 17s7.6-3.8 8.1-4.5a.7.7 0 0 0 0-1C19.6 10.8 16.2 7 12 7Zm0 2a3 3 0 1 1 0 6 3 3 0 0 1 0-6Zm0 2a1 1 0 1 0 0 2 1 1 0 0 0 0-2Z'/%3E%3C/svg%3E");
}

.woocommerce-orders-table__cell-order-actions .button.cancel::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 1 0 20 10 10 0 0 1 0-20Zm0 2a8 8 0 1 0 0 16 8 8 0 0 0 0-16Zm-3.3 3.3L12 10.6l3.3-3.3 1.4 1.4-3.3 3.3 3.3 3.3-1.4 1.4-3.3-3.3-3.3 3.3-1.4-1.4 3.3-3.3-3.3-3.3 1.4-1.4Z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 1 0 20 10 10 0 0 1 0-20Zm0 2a8 8 0 1 0 0 16 8 8 0 0 0 0-16Zm-3.3 3.3L12 10.6l3.3-3.3 1.4 1.4-3.3 3.3 3.3 3.3-1.4 1.4-3.3-3.3-3.3 3.3-1.4-1.4 3.3-3.3-3.3-3.3 1.4-1.4Z'/%3E%3C/svg%3E");
}

.woocommerce-orders-table__cell-order-actions .button.cancel:hover {
    background: #222;
    color: #fff;
}

.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;
    }
}

/* ------------------------------------------- */
/*       Базовые стили формы checkout          */
/* ------------------------------------------- */
.woocommerce form .form-row {
  display: block;
  margin-bottom: 15px;
  padding: 0;
  width: 100%; /* Убираем ограничение 40% */
  box-sizing: border-box;
}

.woocommerce form .form-row label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
  width: 100%;
  box-sizing: border-box;
  padding: 8px 10px;
  border: 1px solid #ccc;
  border-radius: 3px;
  background-color: #fff;
}

.woocommerce form .form-row textarea {
  min-height: 120px;
}

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

.woocommerce form .form-row .required {
  color: #d00;
}

/* ------------------------------------------- */
/*      Колонки checkout (данные / заказ)      */
/* ------------------------------------------- */
.woocommerce-checkout form.checkout {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
}

#customer_details {
  flex: 1 1 40%;
  background: #f7f7f7;
  padding: 25px;
  border-radius: 8px;
  box-sizing: border-box;
}

#order_review,
.woocommerce-checkout-review-order {
  flex: 1 1 40%;
  background: #f7f7f7;
  padding: 20px;
  border-radius: 8px;
  box-sizing: border-box;
}

/* Мобильная адаптивность */
@media (max-width: 768px) {
  .woocommerce-checkout form.checkout {
    flex-direction: column;
  }

  #customer_details,
  #order_review,
  .woocommerce-checkout-review-order {
    width: 100%;
  }
}

/* ------------------------------------------- */
/*    Имя / Фамилия в одну строку             */
/* ------------------------------------------- */
#billing_first_name_field,
#billing_last_name_field {
  display: inline-block !important;
  width: calc(50% - 8px);
  vertical-align: top;
  margin-right: 12px;
}

#billing_last_name_field {
  margin-right: 0;
}

/* ------------------------------------------- */
/*    Телефон / Email в одну строку           */
/* ------------------------------------------- */
.woocommerce-billing-fields__field-wrapper .form-row#billing_phone_field,
.woocommerce-billing-fields__field-wrapper .form-row#billing_email_field {
  display: inline-block;
  width: calc(50% - 8px);
  vertical-align: top;
  margin-right: 12px;
}

.woocommerce-billing-fields__field-wrapper .form-row#billing_email_field {
  margin-right: 0;
}

/* ------------------------------------------- */
/*   Остальные поля на всю ширину             */
/* ------------------------------------------- */
.woocommerce-billing-fields__field-wrapper .form-row:not(#billing_first_name_field):not(#billing_last_name_field):not(#billing_phone_field):not(#billing_email_field) {
  width: 100%;
  display: block;
}

/* ------------------------------------------- */
/*       Текст под серым фоном                */
/* ------------------------------------------- */
#customer_details,
#customer_details .col-1,
#customer_details .woocommerce-billing-fields,
#customer_details .woocommerce-shipping-fields {
  width: 100% !important;
}

#customer_details .form-row {
  width: 100% !important;
}

#customer_details .form-row input,
#customer_details .form-row select,
#customer_details .form-row textarea {
  width: 100% !important;
  max-width: 100%;
}

#customer_details p,
#customer_details .woocommerce-privacy-policy-text {
  display: block !important;
  width: 100% !important;
  margin: 0 0 12px 0;
  line-height: 1.6;
  box-sizing: border-box;
}

/* ------------------------------------------- */
/*          Кнопка оформления заказа          */
/* ------------------------------------------- */
.woocommerce-checkout #place_order {
  display: inline-block;
  background: #000;
  color: #fff;
  border: none;
  border-radius: 3px;
  padding: 12px 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.woocommerce-checkout #place_order:hover {
  background: #222;
}



/* ------------------------------------------- */
/*        ОСНОВНЫЙ КОНТЕЙНЕР КОРЗИНЫ          */
/* ------------------------------------------- */
.woocommerce-cart .woocommerce {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
  box-sizing: border-box;
}

/* Левая часть — таблица товаров */
.woocommerce-cart-form {
  flex: 1 1 60%;
  background: #f7f7f7;
  padding: 20px;
  border-radius: 8px;
  box-sizing: border-box;
  overflow-x: auto; /* если таблица не помещается */
}

/* Правая часть — итоги и купоны */
.cart-collaterals {
  flex: 1 1 25%;
  background: #f7f7f7;
  padding: 20px;
  border-radius: 8px;
  box-sizing: border-box;
}

/* ------------------------------------------- */
/*            ТАБЛИЦА ТОВАРОВ                 */
/* ------------------------------------------- */
.woocommerce-cart table.shop_table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
}

.woocommerce-cart table.shop_table th,
.woocommerce-cart table.shop_table td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid #e0e0e0;
  vertical-align: middle;
}

.woocommerce-cart table.shop_table th {
  background: #fafafa;
  font-weight: 600;
}

.woocommerce-cart table.shop_table td.product-thumbnail img {
  max-width: 60px;
  height: auto;
  border-radius: 4px;
}

.woocommerce-cart table.shop_table td.product-name a {
  color: #000;
  font-weight: 500;
  text-decoration: none;
}

.woocommerce-cart table.shop_table td.product-name a:hover {
  text-decoration: underline;
}

/* Количество товаров */
.woocommerce-cart .quantity input {
  width: 60px;
  text-align: center;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 5px;
}

/* ------------------------------------------- */
/*              КУПОНЫ И КНОПКИ               */
/* ------------------------------------------- */
.woocommerce-cart .actions {
  text-align: right;
  padding-top: 15px;
}

.woocommerce-cart .actions .input-text {
  width: 180px;
  padding: 8px 10px;
  border: 1px solid #ccc;
  border-radius: 3px;
  margin-right: 10px;
}

.woocommerce-cart .button {
  display: inline-block;
  background: #000;
  color: #fff;
  border: none;
  border-radius: 3px;
  padding: 10px 20px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.woocommerce-cart .button:hover {
  background: #222;
}

/* ------------------------------------------- */
/*           ИТОГИ ЗАКАЗА В КОРЗИНЕ           */
/* ------------------------------------------- */
.cart-collaterals .cart_totals {
  background: #fff;
  padding: 20px;
  border-radius: 6px;
  border: 1px solid #e0e0e0;
}

.cart-collaterals .cart_totals h2 {
  font-size: 1.1rem;
  margin-bottom: 15px;
}

.cart-collaterals .cart_totals table {
  width: 100%;
  border-collapse: collapse;
}

.cart-collaterals .cart_totals th,
.cart-collaterals .cart_totals td {
  padding: 8px 0;
  text-align: left;
  border-bottom: 1px solid #eee;
}

.cart-collaterals .cart_totals td {
  text-align: right;
  font-weight: 500;
}

.cart-collaterals .wc-proceed-to-checkout {
  margin-top: 20px;
}

.cart-collaterals .wc-proceed-to-checkout a.checkout-button {
  display: block;
  text-align: center;
  background: #000;
  color: #fff;
  border-radius: 4px;
  padding: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease-in-out;
}

.cart-collaterals .wc-proceed-to-checkout a.checkout-button:hover {
  background: #222;
}

@media (max-width: 768px) {
  .woocommerce-cart .cart-collaterals {
    width: calc(100% - 20px) !important; /* чуть уже, чтобы совпадало с отступами страницы */
    float: none !important;
    margin: 0 auto !important;
    padding: 20px !important;
    box-sizing: border-box;
    text-align: center !important;
    background: #f7f7f7; /* серый фон */
    border-radius: 8px;
  }

  /* Убираем translateX, чтобы фон не вылазил */
  .woocommerce-cart .cart-collaterals {
    transform: none !important;
  }

  .woocommerce-cart .cart-collaterals .cart_totals {
    width: 90% !important; /* теперь фон и содержимое совпадают */
    margin: 0 auto !important;
    float: none !important;
  }

  .woocommerce-cart .wc-proceed-to-checkout {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
    width: 90%;
    max-width: 300px;
  }
}


/* Убираем поле ввода купона */
.woocommerce-cart .cart-coupon,
.woocommerce-cart .coupon,
.woocommerce-cart .cart-discount {
  display: none !important;
}

/* Убираем подитог (Subtotal) */
.woocommerce-cart .cart-subtotal {
  display: none !important;
}

/* Красная рамка у поля с ошибкой */
.woocommerce form .woocommerce-invalid input.input-text,
.woocommerce form .woocommerce-invalid-required-field input.input-text,
.woocommerce form .woocommerce-invalid select,
.woocommerce form .woocommerce-invalid-required-field select {
  border-color: #d00 !important;
  box-shadow: 0 0 3px rgba(255, 0, 0, 0.4);
}

/* Скрыть подитог в чекауте */
.woocommerce-checkout-review-order-table .cart-subtotal {
  display: none !important;
}

/* Home product rails */
.home .celanaste-home-products {
    position: relative;
    margin: 0 auto 48px;
    max-width: 1280px;
}

.single-product .celanaste-related-products {
    position: relative;
    margin: 64px auto 48px;
    max-width: 1280px;
}

.single-product .celanaste-related-products .woocom-project img.back-image,
.single-product .celanaste-related-products .woocom-project img.show-on-hover {
    display: none !important;
}

.single-product .celanaste-related-products .woocom-project:hover img:not(.back-image):not(.show-on-hover),
.single-product .celanaste-related-products .woocom-project img.wp-post-image {
    opacity: 1 !important;
    visibility: visible !important;
}

.single-product .celanaste-related-products .woo-buttons-on-img .woo-buttons {
    display: none !important;
}

.home .celanaste-product-rail,
.single-product .celanaste-product-rail {
    position: relative;
}

.home .celanaste-product-rail__track,
.home .celanaste-product-rail__track.dt-css-grid,
.home .celanaste-product-rail__track .dt-css-grid,
.single-product .celanaste-product-rail__track,
.single-product .celanaste-product-rail__track.dt-css-grid,
.single-product .celanaste-product-rail__track .dt-css-grid {
    display: flex !important;
    grid-template-columns: none !important;
    gap: 24px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 6px 0 22px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.home .celanaste-product-rail__track::-webkit-scrollbar,
.home .celanaste-product-rail__track .dt-css-grid::-webkit-scrollbar,
.single-product .celanaste-product-rail__track::-webkit-scrollbar,
.single-product .celanaste-product-rail__track .dt-css-grid::-webkit-scrollbar {
    height: 6px;
}

.home .celanaste-product-rail__track::-webkit-scrollbar-thumb,
.home .celanaste-product-rail__track .dt-css-grid::-webkit-scrollbar-thumb,
.single-product .celanaste-product-rail__track::-webkit-scrollbar-thumb,
.single-product .celanaste-product-rail__track .dt-css-grid::-webkit-scrollbar-thumb {
    background: #c8c0aa;
}

.home .celanaste-product-rail__track article.product,
.home .celanaste-product-rail__track li.product,
.home .celanaste-product-rail__track .dt-css-grid > article.product,
.single-product .celanaste-product-rail__track article.product,
.single-product .celanaste-product-rail__track li.product,
.single-product .celanaste-product-rail__track .dt-css-grid > article.product {
    flex: 0 0 clamp(180px, 18vw, 250px) !important;
    width: clamp(180px, 18vw, 250px) !important;
    max-width: clamp(180px, 18vw, 250px) !important;
    scroll-snap-align: start;
}

.home .celanaste-product-rail__track .wf-cell,
.single-product .celanaste-product-rail__track .wf-cell {
    flex: 0 0 clamp(180px, 18vw, 250px) !important;
    width: clamp(180px, 18vw, 250px) !important;
    max-width: clamp(180px, 18vw, 250px) !important;
    scroll-snap-align: start;
}

.home .celanaste-product-rail__controls,
.single-product .celanaste-product-rail__controls {
    position: absolute;
    top: -44px;
    right: 0;
    display: flex;
    gap: 8px;
    z-index: 2;
}

.home .celanaste-product-rail__button,
.single-product .celanaste-product-rail__button {
    width: 34px;
    height: 34px;
    min-width: 34px;
    padding: 0;
    border: 1px solid #222;
    border-radius: 0;
    background: #fff;
    color: #222;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
}

.home .celanaste-product-rail__button:hover,
.single-product .celanaste-product-rail__button:hover {
    background: #222;
    color: #fff;
}

@media (max-width: 778px) {
    .home .celanaste-product-rail__controls,
    .single-product .celanaste-product-rail__controls {
        display: none;
    }

    .home .celanaste-product-rail__track,
    .home .celanaste-product-rail__track.dt-css-grid,
    .home .celanaste-product-rail__track .dt-css-grid,
    .single-product .celanaste-product-rail__track,
    .single-product .celanaste-product-rail__track.dt-css-grid,
    .single-product .celanaste-product-rail__track .dt-css-grid {
        gap: 14px;
        margin-right: -20px;
        padding-right: 20px;
    }

    .home .celanaste-product-rail__track article.product,
    .home .celanaste-product-rail__track li.product,
    .home .celanaste-product-rail__track .wf-cell,
    .home .celanaste-product-rail__track .dt-css-grid > article.product,
    .single-product .celanaste-product-rail__track article.product,
    .single-product .celanaste-product-rail__track li.product,
    .single-product .celanaste-product-rail__track .wf-cell,
    .single-product .celanaste-product-rail__track .dt-css-grid > article.product {
        flex-basis: 68vw !important;
        width: 68vw !important;
        max-width: 68vw !important;
    }
}

/* Cart drawer and product add control */
body.celanaste-cart-open {
    overflow: hidden;
}

.celanaste-cart-overlay {
    position: fixed;
    inset: 0;
    z-index: 99990;
    background: rgba(0, 0, 0, 0.38);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.celanaste-cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 99991;
    display: flex;
    flex-direction: column;
    width: min(520px, 100vw);
    height: 100vh;
    height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
    background: #fff;
    box-shadow: -18px 0 40px rgba(0, 0, 0, 0.18);
    overflow: hidden;
    transform: translateX(100%);
    transition: transform 0.28s ease;
}

.celanaste-cart-open .celanaste-cart-overlay {
    opacity: 1;
    visibility: visible;
}

.celanaste-cart-open .celanaste-cart-drawer {
    transform: translateX(0);
}

.celanaste-cart-drawer__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 74px;
    padding: 0 36px;
    border-bottom: 1px solid #e8e2d6;
    color: #1e1e1e;
    font-size: 22px;
    font-weight: 600;
}

.celanaste-cart-drawer__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    min-width: 38px;
    padding: 0;
    border: 1px solid #d6cfbf;
    border-radius: 0;
    background: #fff;
    color: #1e1e1e;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.celanaste-cart-drawer__close:hover {
    background: #1e1e1e;
    color: #fff;
}

.celanaste-cart-drawer__content {
    position: relative;
    flex: 1 1 auto;
    display: block;
    min-height: 0;
    height: calc(100vh - 74px);
    height: calc(100dvh - 74px);
    overflow: hidden;
    padding: 34px 40px 170px;
}

.celanaste-mini-cart-items {
    position: absolute;
    top: 92px;
    right: 40px;
    bottom: 162px;
    left: 40px;
    min-height: 0;
    max-height: none;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 4px;
    scrollbar-width: thin;
    scrollbar-color: #c8c0aa transparent;
}

.celanaste-cart-drawer__content > .woocommerce-mini-cart {
    position: absolute;
    top: 92px;
    right: 40px;
    bottom: 162px;
    left: 40px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 4px;
}

.celanaste-cart-drawer .woocommerce-mini-cart {
    min-height: 0;
    max-height: none;
    overflow: visible;
    margin: 0;
    padding: 0 0 10px;
    scrollbar-width: thin;
    scrollbar-color: #c8c0aa transparent;
}

.celanaste-mini-cart-items::-webkit-scrollbar {
    width: 6px;
}

.celanaste-mini-cart-items::-webkit-scrollbar-thumb {
    background: #c8c0aa;
}

.celanaste-mini-cart-items::-webkit-scrollbar-track {
    background: transparent;
}

.celanaste-cart-drawer .woocommerce-mini-cart-item {
    position: relative;
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr) 132px;
    grid-template-rows: auto auto;
    column-gap: 18px;
    row-gap: 12px;
    align-items: start;
    min-height: 148px;
    padding: 18px 24px;
    margin-left: 8px;
    margin-right: 8px;
    margin-bottom: 18px;
    border-bottom: 1px solid #eee8dc;
    transition: background 0.18s ease, opacity 0.18s ease;
}

.celanaste-cart-drawer .woocommerce-mini-cart-item:hover {
    background: #faf8f3;
}

.celanaste-mini-cart-title {
    grid-column: 1 / -1;
    min-width: 0;
}

.celanaste-cart-drawer .woocommerce-mini-cart-item > .celanaste-mini-cart-thumb {
    grid-column: 1;
    grid-row: 2;
    display: block;
    width: 96px !important;
    height: 96px !important;
    overflow: hidden;
    background: #f7f4ed;
}

.celanaste-cart-drawer .woocommerce-mini-cart-item > .celanaste-mini-cart-thumb img,
.celanaste-cart-drawer .woocommerce-mini-cart-item .celanaste-mini-cart-thumb img,
.celanaste-cart-drawer .woocommerce-mini-cart-item img.attachment-woocommerce_thumbnail,
.celanaste-cart-drawer .woocommerce-mini-cart-item img.size-woocommerce_thumbnail {
    display: block;
    width: 96px !important;
    min-width: 96px !important;
    max-width: 96px !important;
    height: 96px !important;
    min-height: 96px !important;
    max-height: 96px !important;
    aspect-ratio: 1 / 1;
    object-fit: cover !important;
    object-position: center !important;
    background: #f7f4ed;
}

.celanaste-mini-cart-info {
    grid-column: 2;
    grid-row: 2;
    min-width: 0;
    padding: 0 4px;
}

.celanaste-cart-drawer .widget-product-title {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #1e1e1e;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
    text-decoration: none;
}

.celanaste-cart-drawer .price-wrap {
    display: block;
    margin-top: 9px;
    white-space: nowrap;
}

.celanaste-cart-drawer .quantity {
    display: inline;
    color: #5e5a52;
    font-size: 13px;
    white-space: nowrap;
}

.celanaste-cart-drawer .remove {
    position: static;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid #ded6c6;
    border-radius: 50%;
    background: #fff;
    color: #1e1e1e !important;
    font-size: 22px;
    line-height: 1;
    text-decoration: none;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 0.18s ease, transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.celanaste-cart-drawer .woocommerce-mini-cart-item:hover .remove {
    opacity: 1;
    transform: translateY(0);
}

.celanaste-cart-drawer .remove:hover {
    background: #1e1e1e;
    color: #fff !important;
}

.celanaste-mini-cart-meta {
    margin-top: 12px;
}

.celanaste-mini-cart-actions {
    grid-column: 3;
    grid-row: 2;
    justify-self: end;
    min-width: 132px;
}

.celanaste-mini-cart-qty {
    display: grid;
    grid-template-columns: 26px 30px 26px 36px;
    gap: 6px;
    align-items: center;
    min-height: 30px;
    border: 0;
    background: transparent;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.celanaste-cart-drawer .woocommerce-mini-cart-item:hover .celanaste-mini-cart-qty {
    opacity: 1;
    transform: translateY(0);
}

@media (hover: none), (pointer: coarse) {
    .celanaste-mini-cart-qty {
        opacity: 1;
        transform: none;
    }

    .celanaste-cart-drawer .remove {
        opacity: 1;
        transform: none;
    }
}

.celanaste-mini-cart-qty__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    width: 26px;
    height: 30px;
    min-height: 30px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #1e1e1e;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
}

.celanaste-mini-cart-qty__button:hover {
    background: #1e1e1e;
    color: #fff;
}

.celanaste-mini-cart-qty__value {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    text-align: center;
    color: #1e1e1e;
    font-size: 13px;
    font-weight: 700;
}

.celanaste-mini-cart-item--updating {
    opacity: 0.58;
    pointer-events: none;
}

.celanaste-cart-drawer .woocommerce-mini-cart__total {
    position: absolute;
    right: 40px;
    bottom: 92px;
    left: 40px;
    z-index: 2;
    flex: 0 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 18px;
    margin: 0;
    padding: 22px 18px 0;
    border-top: 1px solid #e8e2d6;
    background: #fff;
    color: #1e1e1e;
    font-size: 16px;
    font-weight: 600;
}

.celanaste-mini-cart-total__amount {
    font-size: 22px;
    font-weight: 700;
    white-space: nowrap;
    transition: color 0.18s ease;
}

.celanaste-cart-drawer .woocommerce-mini-cart__buttons {
    position: absolute;
    right: 40px;
    bottom: 38px;
    left: 40px;
    z-index: 2;
    flex: 0 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    justify-items: center;
    margin: 0;
    background: #fff;
}

.celanaste-cart-drawer .woocommerce-mini-cart__buttons a {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 60%;
    min-width: 230px;
    min-height: 48px;
    border: 1px solid #1e1e1e;
    border-radius: 0;
    background: #1e1e1e;
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    text-decoration: none;
}

.celanaste-cart-drawer .woocommerce-mini-cart__buttons a:first-child {
    background: #1e1e1e;
    color: #fff !important;
}

.celanaste-cart-drawer .woocommerce-mini-cart__empty-message {
    margin: auto 0;
    padding: 44px 10px;
    color: #5e5a52;
    text-align: center;
}

.celanaste-cart-toast {
    position: fixed;
    top: 116px;
    right: 24px;
    z-index: 99992;
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    width: min(360px, calc(100vw - 32px));
    min-height: 86px;
    padding: 12px 16px 12px 12px;
    background: #fff;
    border: 1px solid #e4ddcf;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.16);
    opacity: 0;
    visibility: hidden;
    transform: translateX(calc(100% + 32px));
    transition: opacity 0.24s ease, transform 0.24s ease, visibility 0.24s ease;
    cursor: pointer;
}

.added_to_cart.wc-forward,
.wc-forward.added_to_cart,
form.cart.celanaste-cart-ready + .added_to_cart,
form.cart.celanaste-cart-ready .added_to_cart,
body.celanaste-suppress-wc-added-ui div:not(.wc-coupon-wrap):not(.wc-login-wrap):not(.woocommerce-MyAccount-content) > .woocommerce-message,
body.celanaste-suppress-wc-added-ui div:not(.wc-coupon-wrap):not(.wc-login-wrap):not(.woocommerce-MyAccount-content) > .woocommerce-info {
    display: none !important;
}

body.celanaste-suppress-wc-added-ui .shopping-cart-wrap,
body.celanaste-suppress-wc-added-ui .shopping-cart-inner,
body.celanaste-suppress-wc-added-ui .elementor-menu-cart__main,
body.celanaste-suppress-wc-added-ui .elementor-menu-cart__container,
body.celanaste-suppress-wc-added-ui .the7-popup-button-link,
body.celanaste-suppress-wc-added-ui .the7-e-menu-cart__popup {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.celanaste-cart-toast.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.celanaste-cart-toast img {
    width: 64px;
    height: 64px;
    object-fit: cover;
}

.celanaste-cart-toast strong,
.celanaste-cart-toast em {
    display: block;
    min-width: 0;
    font-style: normal;
    line-height: 1.3;
}

.celanaste-cart-toast strong {
    margin-bottom: 4px;
    color: #1e1e1e;
    font-size: 14px;
    font-weight: 700;
}

.celanaste-cart-toast em {
    color: #5e5a52;
    font-size: 13px;
}

.single-product form.cart,
form.cart.celanaste-cart-ready {
    display: block;
}

.single-product form.cart > .quantity,
form.cart.celanaste-cart-ready > .quantity,
form.cart.celanaste-cart-ready .celanaste-add-to-cart-control > .quantity {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    white-space: nowrap !important;
}

.celanaste-add-to-cart-control {
    display: grid;
    grid-template-columns: 56px minmax(110px, 1fr) 56px;
    align-items: stretch;
    width: min(100%, 318px);
    min-height: 54px;
    border: 0;
    background: #000;
}

.single-product form.cart .single_add_to_cart_button,
form.cart.celanaste-cart-ready .celanaste-add-to-cart__button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: min(100%, 318px) !important;
    min-height: 54px !important;
    padding: 0 20px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #000 !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 1.8px !important;
    line-height: 1 !important;
    text-align: center !important;
    text-transform: uppercase !important;
    opacity: 1 !important;
}

form.cart.celanaste-cart-ready .celanaste-add-to-cart__button:hover {
    background: #161616 !important;
    color: #fff !important;
}

.celanaste-add-to-cart-control,
form.cart.celanaste-cart-ready .celanaste-add-to-cart-control,
form.cart.celanaste-cart-ready:not(.celanaste-cart-added) .celanaste-add-to-cart-control {
    display: none;
}

form.cart.celanaste-cart-ready.celanaste-cart-added .celanaste-add-to-cart__button,
form.cart.celanaste-cart-ready .celanaste-add-to-cart__button.loading {
    display: inline-flex !important;
}

.celanaste-add-to-cart-control .celanaste-add-to-cart__step,
.celanaste-add-to-cart-control .celanaste-add-to-cart__count {
    min-width: 0 !important;
    min-height: 54px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    color: #fff !important;
    line-height: 1 !important;
}

.celanaste-add-to-cart-control .celanaste-add-to-cart__step {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 300;
    cursor: pointer;
}

.celanaste-add-to-cart-control .celanaste-add-to-cart__step:hover {
    background: #161616 !important;
}

.celanaste-add-to-cart-control .celanaste-add-to-cart__count {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000 !important;
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0 !important;
    text-transform: uppercase;
    cursor: pointer;
}

.celanaste-add-to-cart-control .celanaste-add-to-cart__count:hover {
    background: #101010 !important;
    color: #fff !important;
}

form.cart.celanaste-cart-ready .celanaste-add-to-cart__button.loading,
.celanaste-cart-updating .celanaste-add-to-cart-control {
    opacity: 0.7;
}

@media (max-width: 600px) {
    .celanaste-cart-drawer {
        width: 100vw;
    }

    .celanaste-cart-drawer__header {
        min-height: 64px;
        padding: 0 18px;
    }

    .celanaste-cart-drawer__content {
        height: calc(100vh - 64px);
        height: calc(100dvh - 64px);
        padding: 18px 18px 154px;
    }

    .celanaste-mini-cart-items {
        top: 82px;
        right: 18px;
        bottom: 146px;
        left: 18px;
    }

    .celanaste-cart-drawer__content > .woocommerce-mini-cart {
        top: 82px;
        right: 18px;
        bottom: 146px;
        left: 18px;
    }

    .celanaste-cart-drawer .woocommerce-mini-cart__total {
        right: 18px;
        bottom: 78px;
        left: 18px;
        padding: 20px 6px 0;
    }

    .celanaste-cart-drawer .woocommerce-mini-cart__buttons {
        right: 18px;
        bottom: 24px;
        left: 18px;
    }

    .celanaste-cart-toast {
        top: 84px;
        right: 16px;
    }

    .celanaste-add-to-cart-control {
        width: 100%;
    }

    .celanaste-add-to-cart-control {
        grid-template-columns: 50px minmax(100px, 1fr) 50px;
    }
}
