/*
Theme Name: DecorStore Child
Template: twentytwentyfive
Description: Child theme for DecorStore.kz v4.0
Version: 6.6
Text Domain: decorstore-child
*/

/* ============================================================
   GLOBAL STYLES
   ============================================================ */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================================
   LOGO GOLD SHIMMER ANIMATION (v6.0)
   ============================================================ */

.custom-logo-link {
    position: relative;
    display: inline-block;
    border-radius: 50%;
    overflow: hidden;
}
.custom-logo-link::after {
    content: '';
    position: absolute;
    top: -50%; left: -75%;
    width: 50%; height: 200%;
    background: linear-gradient(
        105deg,
        transparent 40%,
        rgba(255, 215, 100, 0.55) 50%,
        transparent 60%
    );
    animation: logo-shine 3s ease-in-out infinite;
    pointer-events: none;
    z-index: 2;
}
@keyframes logo-shine {
    0%   { left: -75%; }
    60%  { left: 125%; }
    100% { left: 125%; }
}

/* ============================================================
   HEADER STYLES
   ============================================================ */

.site-header {
    background-color: #2C1810;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.sticky-header {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo a {
    color: #B8860B;
    text-decoration: none;
    font-size: 24px;
    font-weight: bold;
}

.logo h1 {
    margin: 0;
    font-size: 24px;
}

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

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

.main-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
}

.main-menu li a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
}

.main-menu li a:hover,
.main-menu li.current-menu-item a {
    color: #B8860B;
}

.header-icons {
    display: flex;
    gap: 20px;
    align-items: center;
}

.header-icons a {
    color: #fff;
    font-size: 20px;
    position: relative;
    transition: color 0.3s;
    text-decoration: none;
}

.header-icons a:hover {
    color: #B8860B;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #B8860B;
    color: #fff;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

/* Search Modal */
.search-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
}

.search-modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 40px;
    width: 80%;
    max-width: 600px;
    border-radius: 10px;
    position: relative;
}

.close-search {
    position: absolute;
    right: 20px;
    top: 10px;
    font-size: 30px;
    cursor: pointer;
    color: #333;
}

.close-search:hover {
    color: #B8860B;
}

/* ============================================================
   FOOTER STYLES
   ============================================================ */

.site-footer {
    background-color: #2C1810;
    color: #fff;
    padding: 40px 0 20px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    margin-bottom: 30px;
}

.footer-column h3 {
    color: #B8860B;
    margin-bottom: 15px;
    font-size: 18px;
}

.footer-column p {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 8px;
}

.footer-column p i {
    margin-right: 8px;
    color: #B8860B;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 10px;
}

.footer-menu li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-menu li a:hover {
    color: #B8860B;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: #fff;
    font-size: 24px;
    transition: color 0.3s;
    text-decoration: none;
}

.social-icons a:hover {
    color: #B8860B;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    max-width: 1200px;
    margin: 0 auto;
}

.footer-bottom p {
    color: #999;
    margin: 0;
}

/* ============================================================
   HERO SECTION
   ============================================================ */

.hero-section {
    background: linear-gradient(135deg, #2C1810 0%, #4A2C1A 100%);
    color: #fff;
    padding: 100px 0;
    text-align: center;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: #B8860B;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
    color: #ddd;
}

.cta-button {
    display: inline-block;
    background-color: #B8860B;
    color: #fff !important;
    padding: 15px 40px;
    border-radius: 5px;
    text-decoration: none !important;
    font-size: 18px;
    transition: background-color 0.3s;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background-color: #9A7209;
    color: #fff !important;
}

.cta-button i {
    margin-right: 8px;
}

/* ============================================================
   ADVANTAGES SECTION
   ============================================================ */

.advantages-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.advantages-section h2,
.bestsellers-section h2,
.categories-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
    color: #2C1810;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.advantage-item {
    text-align: center;
    padding: 30px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.advantage-item:hover {
    transform: translateY(-5px);
}

.advantage-item i {
    font-size: 48px;
    color: #B8860B;
    margin-bottom: 20px;
    display: block;
}

.advantage-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #2C1810;
}

.advantage-item p {
    color: #666;
}

/* ============================================================
   BESTSELLERS SECTION
   ============================================================ */

.bestsellers-section {
    padding: 60px 0;
}

.bestsellers-section .products-grid,
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* ============================================================
   CTA SECTION
   ============================================================ */

.cta-section {
    background-color: #2C1810;
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #B8860B;
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 30px;
    color: #ddd;
}

/* ============================================================
   CATEGORIES SECTION
   ============================================================ */

.categories-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.category-item {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.category-item:hover {
    transform: translateY(-5px);
}

.category-item a {
    text-decoration: none;
    color: inherit;
    display: block;
}

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

.category-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #2C1810, #4A2C1A);
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-placeholder i {
    font-size: 60px;
    color: #B8860B;
}

.category-item h3 {
    padding: 15px 20px 5px;
    text-align: center;
    color: #2C1810;
    margin: 0;
}

.product-count {
    display: block;
    text-align: center;
    padding-bottom: 20px;
    color: #666;
    font-size: 14px;
}

/* ============================================================
   PRODUCT CARD STYLES
   ============================================================ */

.decorstore-product-card {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    transition: box-shadow 0.3s ease, transform 0.2s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.decorstore-product-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

.product-image-wrap {
    display: block;
    overflow: hidden;
    position: relative;
    padding-top: 100%;
}

.product-image-wrap img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.decorstore-product-card:hover .product-image-wrap img {
    transform: scale(1.05);
}

.product-info {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: #2C1810;
    line-height: 1.3;
}

.product-excerpt {
    font-size: 13px;
    color: #666;
    margin: 0 0 10px 0;
    flex-grow: 1;
}

.product-price {
    font-size: 18px;
    font-weight: bold;
    color: #B8860B;
    margin-bottom: 12px;
}

.product-buttons {
    display: flex;
    gap: 8px;
}

.btn-details,
.btn-add-to-cart {
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    flex: 1;
}

.btn-details {
    background-color: #f0f0f0;
    color: #2C1810;
    border: 1px solid #ddd;
}

.btn-details:hover {
    background-color: #e0e0e0;
}

.btn-add-to-cart {
    background-color: #B8860B;
    color: #fff !important;
    border: none;
}

.btn-add-to-cart:hover {
    background-color: #9A7209;
}

/* Hide Reviews Tab */
.woocommerce-tabs ul.tabs li.reviews_tab {
    display: none !important;
}
#tab-reviews {
    display: none !important;
}

/* ============================================================
   WHATSAPP FLOATING BUTTON
   ============================================================ */

.decorstore-whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    z-index: 999;
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
}

.decorstore-whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0,0,0,0.4);
}

.decorstore-whatsapp-float i {
    color: #fff;
    font-size: 32px;
}

.decorstore-whatsapp-float svg {
    fill: #fff;
    width: 32px;
    height: 32px;
}

/* ============================================================
   BANK SELECTION / QR PAYMENT BLOCK
   ============================================================ */

.bank-selection-block {
    background-color: #f9f9f9;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 1px solid #e0e0e0;
}

.bank-selection-block h3 {
    color: #2C1810;
    margin-bottom: 15px;
    margin-top: 0;
}

.bank-options {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.bank-option {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 12px 24px;
    border: 2px solid #ddd;
    border-radius: 8px;
    transition: all 0.3s;
    background: #fff;
}

.bank-option:hover {
    border-color: #B8860B;
}

.bank-option input[type="radio"] {
    accent-color: #B8860B;
}

.bank-option input[type="radio"]:checked + span {
    color: #B8860B;
    font-weight: bold;
}

.qr-code-container {
    text-align: center;
    margin: 20px 0;
}

.qr-code-container img {
    max-width: 300px;
    height: auto;
    border: 2px solid #ddd;
    border-radius: 10px;
    padding: 10px;
    background-color: #fff;
}

.payment-instructions {
    background-color: #fff;
    padding: 15px 20px;
    border-radius: 5px;
    border-left: 4px solid #B8860B;
}

.payment-instructions h4 {
    color: #2C1810;
    margin-bottom: 10px;
    margin-top: 0;
}

.payment-instructions ol {
    margin: 0;
    padding-left: 20px;
}

.payment-instructions li {
    margin-bottom: 5px;
    color: #555;
}

/* WhatsApp redirect notice */
.whatsapp-redirect-notice {
    background: #e8f5e9;
    border: 1px solid #4CAF50;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    margin: 20px 0;
}

.whatsapp-redirect-notice p {
    font-size: 16px;
    margin-bottom: 15px;
}

/* ============================================================
   PAYMENT PAGE STYLES
   ============================================================ */

.decorstore-payment-page {
    max-width: 800px;
    margin: 30px auto;
    padding: 20px;
}

.decorstore-payment-qr-blocks {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 30px 0;
}

.decorstore-qr-block {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    flex: 1;
    min-width: 280px;
    max-width: 350px;
}

.decorstore-qr-block h3 {
    color: #2C1810;
    margin-bottom: 15px;
}

.decorstore-qr-block img {
    border-radius: 8px;
}

.decorstore-order-info {
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
}

.btn-whatsapp-order {
    display: inline-block;
    background-color: #25D366;
    color: #fff !important;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none !important;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    transition: background-color 0.3s;
    margin-top: 15px;
}

.btn-whatsapp-order:hover {
    background-color: #1da851;
}

.btn-whatsapp-order i {
    margin-right: 8px;
}

/* ============================================================
   WooCommerce OVERRIDES
   ============================================================ */

.woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.woocommerce ul.products li.product {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
}

/* ============================================================
   MOBILE RESPONSIVE
   ============================================================ */

@media (max-width: 992px) {
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .woocommerce ul.products,
    .products-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .main-navigation {
        display: none;
        width: 100%;
        order: 3;
        margin-top: 15px;
    }
    
    .main-navigation.active {
        display: block;
    }
    
    .main-menu {
        flex-direction: column;
        gap: 10px;
    }
    
    .main-menu li a {
        display: block;
        padding: 8px 0;
    }
    
    .header-inner {
        flex-wrap: wrap;
    }
    
    .woocommerce ul.products,
    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .hero-section {
        padding: 60px 0;
    }
    
    .bank-options {
        flex-direction: column;
    }
    
    .decorstore-payment-qr-blocks {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .woocommerce ul.products,
    .products-grid {
        grid-template-columns: 1fr !important;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: 26px;
    }
}

/* ============================================================
   MOBILE CLICKABLE ELEMENTS - MIN 48px
   ============================================================ */

@media (max-width: 768px) {
    .main-menu li a,
    .header-icons a,
    .footer-menu li a,
    .social-icons a,
    .btn-details,
    .btn-add-to-cart,
    .cta-button,
    .btn-whatsapp-order,
    .bank-option {
        min-height: 48px;
        min-width: 48px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    .main-menu li a {
        padding: 12px 0;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

/* Fix WooCommerce products grid on home page */
.bestsellers-section .woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

@media (max-width: 768px) {
    .bestsellers-section .woocommerce ul.products,
    .bestsellers-section .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px;
    }
}



/* ============================================================
   v8.0 — CHECKOUT МИНИМАЛИСТИЧНЫЙ ВИД
   ============================================================ */

.woocommerce-billing-fields h3,
.woocommerce-shipping-fields,
.woocommerce-additional-fields,
#ship-to-different-address {
    display: none !important;
}

.woocommerce form .form-row {
    width: 100% !important;
    float: none !important;
}

.woocommerce-checkout #payment {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
}

/* Кнопка подтвердить заказ */
#place_order {
    width: 100% !important;
    background: #25D366 !important;
    border-color: #25D366 !important;
    font-size: 18px !important;
    padding: 16px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
}
#place_order:hover {
    background: #1DA851 !important;
    border-color: #1DA851 !important;
}

/* QR amount text */
.qr-amount {
    font-size: 18px;
    margin-top: 10px;
    color: #2C1810;
}

/* ============================================================
   v8.0 — SOCIAL LINKS (SVG)
   ============================================================ */

.social-links {
    display: flex;
    gap: 16px;
    align-items: center;
}
.social-links a {
    color: #ccc;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    text-decoration: none;
}
.social-links a:hover {
    color: #B8860B;
}
.social-links a svg {
    fill: currentColor;
}

/* ============================================================
   v8.0 — КНОПКА 2GIS
   ============================================================ */

.btn-2gis {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #1A9C3E;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    margin-top: 12px;
    transition: background 0.2s;
}
.btn-2gis:hover {
    background: #157A30;
    color: white;
}

/* ============================================================
   v8.0 — СКРЫТЬ ЛИШНИЕ ЭЛЕМЕНТЫ НА CHECKOUT
   ============================================================ */

/* Скрыть сообщение "нет способов оплаты" */
.woocommerce-checkout .woocommerce-info,
.woocommerce-checkout .woocommerce-notice--info {
    display: none !important;
}

/* Скрыть английский текст про персональные данные */
.woocommerce-privacy-policy-text,
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper {
    display: none !important;
}

/* Скрыть купон */
.woocommerce-form-coupon-toggle,
.checkout_coupon,
.woocommerce-form-coupon {
    display: none !important;
}

/* Скрыть payment methods section (используем QR) */
.woocommerce-checkout #payment .payment_methods {
    display: none !important;
}



/* ════════════════════════════════════════════════════════════
   v9.0 — СТРАНИЦА ЗАКАЗА ПРИНЯТ (thankyou)
════════════════════════════════════════════════════════════ */
.decorstore-thankyou {
    padding: 60px 0;
    min-height: 60vh;
}
.thankyou-box {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
    background: #fff;
    border-radius: 12px;
    padding: 48px 40px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}
.thankyou-icon { font-size: 56px; margin-bottom: 16px; }
.thankyou-title {
    font-size: 32px;
    font-weight: 700;
    color: #1A1A1A;
    margin-bottom: 12px;
}
.thankyou-subtitle {
    font-size: 18px;
    color: #333;
    margin-bottom: 12px;
}
.thankyou-info {
    font-size: 15px;
    color: #666;
    margin-bottom: 32px;
    line-height: 1.6;
}
.thankyou-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}
.btn-whatsapp-thankyou {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25D366;
    color: white !important;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: background 0.2s;
}
.btn-whatsapp-thankyou:hover {
    background: #1DA851;
    color: white !important;
}
.btn-back-shop {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: #B8860B !important;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    border: 1.5px solid #B8860B;
    transition: all 0.2s;
}
.btn-back-shop:hover {
    background: #B8860B;
    color: white !important;
}
.thankyou-order-details {
    text-align: left;
    margin-top: 16px;
}
.thankyou-order-details h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #1A1A1A;
}
.thankyou-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}
.thankyou-table th,
.thankyou-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #E0E0E0;
    text-align: left;
}
.thankyou-table tfoot th {
    font-weight: 700;
    color: #1A1A1A;
    border-top: 2px solid #B8860B;
    border-bottom: none;
}
.thankyou-table tfoot th:last-child { color: #B8860B; }
@media (max-width: 768px) {
    .thankyou-box { padding: 32px 20px; }
    .thankyou-actions { flex-direction: column; }
    .btn-whatsapp-thankyou,
    .btn-back-shop { width: 100%; justify-content: center; }
}

/* ════════════════════════════════════════════════════════════
   v9.0 — СКРЫТЬ СТАНДАРТНЫЙ WORDPRESS ФУТЕР
════════════════════════════════════════════════════════════ */
.wp-site-blocks > footer,
body > footer:not(.site-footer),
.twentytwentyfive-footer,
p.has-text-align-center a[href*="wordpress.org"] {
    display: none !important;
}



/* ════════════════════════════════════════════════════════════ */
/* v10.0 — WhatsApp кнопка на странице товара                 */
/* ════════════════════════════════════════════════════════════ */
.btn-product-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: #25D366 !important;
    border: 1.5px solid #25D366;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    margin-top: 12px;
    width: 100%;
    justify-content: center;
    transition: all 0.2s;
}
.btn-product-whatsapp:hover {
    background: #25D366;
    color: white !important;
}



/* ════════════════════════════════════════════════════════════
   СТРАНИЦА ТОВАРА — размер изображения (v11.0)
════════════════════════════════════════════════════════════ */

/* Основной контейнер галереи */
.woocommerce div.product div.images,
.woocommerce-page div.product div.images {
    width: 45% !important;
    float: left !important;
}

/* Основное изображение товара */
.woocommerce div.product div.images img,
.woocommerce-page div.product div.images img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    border-radius: 8px;
}

/* Блок с ценой и кнопками — справа */
.woocommerce div.product div.summary,
.woocommerce-page div.product div.summary {
    width: 50% !important;
    float: right !important;
}

/* Кнопка В корзину */
.woocommerce div.product .cart .single_add_to_cart_button {
    background: #25D366 !important;
    border-color: #25D366 !important;
    color: white !important;
    border-radius: 6px !important;
    font-size: 16px !important;
    padding: 12px 24px !important;
    width: 100% !important;
}
.woocommerce div.product .cart .single_add_to_cart_button:hover {
    background: #1DA851 !important;
    border-color: #1DA851 !important;
}

/* Цена товара */
.woocommerce div.product p.price,
.woocommerce div.product span.price {
    color: #B8860B !important;
    font-size: 28px !important;
    font-weight: 700 !important;
}

/* Мобильная версия */
@media (max-width: 768px) {
    .woocommerce div.product div.images,
    .woocommerce-page div.product div.images {
        width: 100% !important;
        float: none !important;
    }
    .woocommerce div.product div.summary,
    .woocommerce-page div.product div.summary {
        width: 100% !important;
        float: none !important;
        clear: both !important;
    }
}

/* === HERO БЛОК v3 === */
.pg-hero{position:relative;height:560px;overflow:hidden;background:#181210;}
.pg-hero-photo{position:absolute;top:0;left:0;right:0;bottom:0;background-image:url('https://images.unsplash.com/photo-1600210492486-724fe5c67fb0?w=1600&q=85');background-size:cover;background-position:center 40%;background-attachment:scroll;}
.pg-hero-dim{position:absolute;top:0;left:0;right:0;bottom:0;background:linear-gradient(105deg,rgba(24,18,16,0.88) 0%,rgba(24,18,16,0.72) 45%,rgba(24,18,16,0.45) 100%);}
#pg-brush-canvas{position:absolute;top:0;left:0;width:100%;height:100%;z-index:2;pointer-events:none;}
.pg-hero-content{position:absolute;top:0;left:0;right:0;bottom:0;z-index:3;display:flex;align-items:center;padding:0 72px;}
.pg-hero-text{max-width:560px;}
.pg-hero-brand{color:#D4AF37;font-family:'Helvetica Neue',Arial,sans-serif;font-size:13px;letter-spacing:0.32em;text-transform:uppercase;opacity:0;margin-bottom:22px;transition:opacity 0.8s ease 2.2s;display:block;}
.pg-hero-h1{font-size:54px;font-weight:400;color:#ede0dc;line-height:1.08;opacity:0;transform:translateY(16px);transition:opacity 0.9s ease 2.5s,transform 0.9s ease 2.5s;margin-bottom:16px;font-family:Georgia,serif;text-shadow:0 2px 24px rgba(24,18,16,0.6);}
.pg-hero-h1 em{color:#D4AF37;font-style:italic;}
.pg-hero-sub{font-family:'Helvetica Neue',Arial,sans-serif;font-size:16px;color:#ede0dc;opacity:0;line-height:1.6;margin-bottom:40px;transition:opacity 0.9s ease 2.9s;}
.pg-hero-btns{display:flex;gap:16px;flex-wrap:wrap;opacity:0;transition:opacity 0.8s ease 3.2s;}
.pg-btn-gold{display:inline-block;padding:14px 40px;background:linear-gradient(135deg,#e9c349,#D4AF37,#b8962e);color:#181210;font-family:'Helvetica Neue',Arial,sans-serif;font-size:12px;letter-spacing:0.18em;text-transform:uppercase;font-weight:700;text-decoration:none;}
.pg-btn-ghost{display:inline-block;padding:14px 40px;background:transparent;color:#D4AF37;font-family:'Helvetica Neue',Arial,sans-serif;font-size:12px;letter-spacing:0.18em;text-transform:uppercase;border:1px solid rgba(212,175,55,0.45);text-decoration:none;}
.pg-hero-badge{position:absolute;right:64px;bottom:44px;z-index:3;opacity:0;transition:opacity 0.8s ease 3.4s;}
.pg-badge-ring{width:130px;height:130px;border-radius:50%;border:1px solid rgba(212,175,55,0.5);display:flex;flex-direction:column;align-items:center;justify-content:center;background:rgba(24,18,16,0.5);padding:12px;text-align:center;}
.pg-palette-dots{display:flex;margin-bottom:10px;justify-content:center;}
.pg-badge-text{color:#ede0dc;font-family:'Helvetica Neue',Arial,sans-serif;font-size:10px;letter-spacing:0.06em;line-height:1.4;opacity:0.85;}
.pg-badge-text em{color:#D4AF37;font-style:italic;font-family:Georgia,serif;}
@media(max-width:768px){.pg-hero{height:420px;}.pg-hero-content{padding:0 24px;}.pg-hero-h1{font-size:34px;}.pg-hero-badge{display:none;}.pg-hero-btns{flex-direction:column;}}
/* === END HERO БЛОК v3 === */

/* === БЛОК ПРЕИМУЩЕСТВ v2 === */
.pg-features{background:#201a18;position:relative;overflow:hidden;}
#pg-feat-canvas{position:absolute;top:0;left:0;width:100%;height:100%;opacity:0.35;pointer-events:none;}
.pg-features-inner{position:relative;z-index:2;padding:72px 48px;}
.pg-feat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:2px;}
.pg-feat-card{background:rgba(24,18,16,0.85);padding:36px 28px;text-align:center;position:relative;overflow:hidden;transition:background 0.3s;}
.pg-feat-card:hover{background:rgba(44,24,16,0.95);}
.pg-feat-card::before{content:'';position:absolute;top:0;left:0;right:0;height:2px;background:linear-gradient(90deg,transparent,#D4AF37,transparent);transform:scaleX(0);transition:transform 0.5s ease;}
.pg-feat-card:hover::before{transform:scaleX(1);}
.pg-feat-icon-wrap{width:52px;height:52px;margin:0 auto 20px;border-radius:50%;background:rgba(212,175,55,0.08);border:1px solid rgba(212,175,55,0.2);display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.pg-feat-title{color:#D4AF37;font-family:'Helvetica Neue',Arial,sans-serif;font-size:13px;letter-spacing:0.08em;font-weight:500;margin-bottom:10px;text-transform:uppercase;}
.pg-feat-text{color:#ede0dc;font-family:'Helvetica Neue',Arial,sans-serif;font-size:13px;opacity:0.45;line-height:1.6;}
@media(max-width:768px){.pg-feat-grid{grid-template-columns:repeat(2,1fr);}.pg-features-inner{padding:48px 24px;}}

/* ═══════════════════════════════════════
   БЛОК КАТЕГОРИЙ — Этап 3а
   ═══════════════════════════════════════ */

.cats {
  background: #281e18;
  padding: 72px 48px;
}
.cats-h { margin-bottom: 44px; }
.cats-title {
  color: #ede0dc;
  font-size: 38px;
  font-weight: 400;
}
.cats-title em {
  color: #D4AF37;
  font-style: italic;
}

.cats-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  grid-template-rows: 260px 200px;
  gap: 4px;
}

.cat-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
}
.cat-card.large { grid-row: span 2; }

.cat-photo {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}
.cat-card:hover .cat-photo { transform: scale(1.05); }

.cat-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(
    to top,
    rgba(24,18,16,0.92) 0%,
    rgba(24,18,16,0.55) 40%,
    rgba(24,18,16,0.2) 100%
  );
  transition: background 0.4s;
}
.cat-card:hover .cat-overlay {
  background: linear-gradient(
    to top,
    rgba(44,24,16,0.95) 0%,
    rgba(44,24,16,0.6) 45%,
    rgba(24,18,16,0.25) 100%
  );
}

.cat-line {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #D4AF37, #e9c349, #b8962e);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.cat-card:hover .cat-line { transform: scaleX(1); }

.cat-body { position: relative; z-index: 2; }
.cat-tag {
  color: #D4AF37;
  font-family: 'Helvetica Neue', sans-serif;
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 6px;
}
.cat-name {
  color: #ede0dc;
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 10px;
  line-height: 1.2;
}
.cat-card.large .cat-name { font-size: 32px; }
.cat-count {
  color: #D4AF37;
  font-family: 'Helvetica Neue', sans-serif;
  font-size: 12px;
  opacity: 0.6;
}
.cat-arr {
  display: inline-block;
  margin-left: 6px;
  transition: margin-left 0.3s;
}
.cat-card:hover .cat-arr { margin-left: 12px; }
.cat-num-bg {
  position: absolute;
  top: 16px; right: 20px;
  z-index: 2;
  color: #D4AF37;
  font-size: 56px;
  opacity: 0.12;
  font-family: Georgia;
  line-height: 1;
}
/* === END БЛОК ПРЕИМУЩЕСТВ v2 === */

/* ═══════════════════════════════════════
   CTA WHATSAPP — Этап 3б
   ═══════════════════════════════════════ */

.cta-wa { background: #201a18; padding: 88px 48px; }
.cta-wa-inner { max-width: 700px; margin: 0 auto; text-align: center; }
.cta-wa-tag {
  color: #D4AF37;
  font-family: 'Helvetica Neue', sans-serif;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 20px;
}
.cta-wa-h2 {
  color: #ede0dc;
  font-size: 44px;
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 16px;
}
.cta-wa-h2 em { color: #D4AF37; font-style: italic; }
.cta-wa-p {
  color: #ede0dc;
  font-family: 'Helvetica Neue', sans-serif;
  font-size: 15px;
  opacity: 0.45;
  line-height: 1.7;
  margin-bottom: 40px;
}
.cta-wa-steps {
  display: flex;
  margin-bottom: 40px;
  border: 1px solid rgba(212,175,55,0.12);
}
.cta-wa-step {
  flex: 1;
  padding: 28px 24px;
  border-right: 1px solid rgba(212,175,55,0.1);
  text-align: left;
}
.cta-wa-step:last-child { border-right: none; }
.cta-wa-step-n {
  color: #D4AF37;
  font-size: 32px;
  opacity: 0.2;
  margin-bottom: 8px;
}
.cta-wa-step-t {
  color: #ede0dc;
  font-family: 'Helvetica Neue', sans-serif;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 4px;
}
.cta-wa-step-s {
  color: #ede0dc;
  font-family: 'Helvetica Neue', sans-serif;
  font-size: 12px;
  opacity: 0.4;
  line-height: 1.5;
}
.btn-wa-gold {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #e9c349, #D4AF37, #b8962e);
  color: #181210;
  font-family: 'Helvetica Neue', sans-serif;
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 16px 48px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.btn-wa-gold::after {
  content: '';
  position: absolute;
  top: -50%; left: -75%;
  width: 50%; height: 200%;
  background: linear-gradient(105deg, transparent 40%, rgba(255,248,180,.45) 50%, transparent 60%);
  animation: wa-shine 3s ease-in-out infinite;
}
@keyframes wa-shine {
  0%   { left: -75%; }
  60%  { left: 125%; }
  100% { left: 125%; }
}

/* ═══════════════════════════════════════
   ХИТЫ ПРОДАЖ — Этап 3в
   ═══════════════════════════════════════ */

.hits { background: #181210; padding: 72px 48px; }
.hits-hdr {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
}
.hits-title { color: #ede0dc; font-size: 38px; font-weight: 400; font-family: Georgia, serif; }
.hits-title em { color: #D4AF37; font-style: italic; }
/* ХИТЫ — финальная версия */
.hits-grid {
  column-count: 3;
  column-gap: 4px;
}

.pcard {
  display: inline-block;
  width: 100%;
  break-inside: avoid;
  background: #201a18;
  overflow: hidden;
  cursor: pointer;
  transition: background 0.3s;
  text-decoration: none;
  margin-bottom: 4px;
}
.pcard:hover { background: #2C1810; }

.pcard-img {
  width: 100%;
  height: 260px;
  position: relative;
  overflow: hidden;
  background: #1a1208;
  display: block;
}
.pcard-photo {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.5s ease;
}
.pcard:hover .pcard-photo { transform: scale(1.06); }
.pcard-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(24,18,16,0.2);
}
.pcard-badge {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 3;
  background: linear-gradient(135deg, #D4AF37, #b8962e);
  color: #181210;
  font-family: 'Helvetica Neue', sans-serif;
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 5px 12px;
  font-weight: 700;
}
.pcard-body {
  display: block;
  padding: 22px 24px;
  border-top: 1px solid rgba(212,175,55,0.08);
  background: #201a18;
}
.pcard-cat {
  color: #D4AF37;
  font-family: 'Helvetica Neue', sans-serif;
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.55;
  margin-bottom: 6px;
}
.pcard-name {
  color: #ede0dc;
  font-family: Georgia, serif;
  font-size: 16px;
  line-height: 1.35;
  margin-bottom: 16px;
}
.pcard-ft {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.pcard-price {
  color: #D4AF37;
  font-family: 'Helvetica Neue', sans-serif;
  font-size: 20px;
}
.pcard-btn {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, #D4AF37, #b8962e);
  border: none;
  color: #181210;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
}

@media (max-width: 768px) {
  .hits { padding: 48px 16px; }
  .hits-grid { column-count: 1; }
}

/* ============================================================
   SESSION 1: ТЁМНЫЙ ФОН WooCommerce (v6.6)
   Каталог: #1e1612 | Товар: #241c16 | Текст: #ede0dc
   ============================================================ */

/* --- Общий сброс белого фона body для WC-страниц --- */
body.woocommerce,
body.woocommerce-page {
    background-color: #1e1612 !important;
    color: #ede0dc;
}

/* --- Фон страницы каталога/архива --- */
body.woocommerce-page .woocommerce,
body.woocommerce-page .woocommerce-notices-wrapper,
body.post-type-archive-product,
body.tax-product_cat {
    background-color: #1e1612;
}

/* --- Фон одиночного товара --- */
body.single-product {
    background-color: #241c16 !important;
}

/* --- Основной контент WC-страниц --- */
body.woocommerce .woocommerce,
body.woocommerce-page .woocommerce,
body.woocommerce #page,
body.woocommerce-page #page,
body.woocommerce .wp-site-blocks,
body.woocommerce-page .wp-site-blocks,
body.single-product .wp-site-blocks,
body.single-product #page {
    background-color: inherit;
}

/* --- Заголовок страницы каталога --- */
body.woocommerce-page .woocommerce-products-header__title,
body.woocommerce-page h1.page-title,
body.woocommerce-page .woocommerce > h1,
body.woocommerce-page .woocommerce > h2 {
    color: #ede0dc;
}

/* --- Счётчик товаров и сортировка --- */
body.woocommerce-page .woocommerce-result-count {
    color: #ede0dc;
    opacity: 0.7;
}
body.woocommerce-page .woocommerce-ordering select {
    background-color: #2c2018;
    color: #ede0dc;
    border: 1px solid #D4AF37;
}

/* --- Карточки товаров в каталоге --- */
body.woocommerce-page ul.products li.product,
body.woocommerce-page .woocommerce ul.products li.product {
    background-color: #241c16;
    border: 1px solid rgba(212,175,55,0.12);
    padding: 0 !important;
    transition: border-color 0.25s, transform 0.25s;
}
body.woocommerce-page ul.products li.product:hover {
    border-color: rgba(212,175,55,0.45);
    transform: translateY(-3px);
}

/* --- Названия и цены в карточках каталога --- */
body.woocommerce-page ul.products li.product .woocommerce-loop-product__title {
    color: #ede0dc !important;
    font-family: Georgia, serif;
    font-size: 15px;
    padding: 12px 16px 4px;
}
body.woocommerce-page ul.products li.product .price {
    color: #D4AF37 !important;
    padding: 0 16px 8px;
}
body.woocommerce-page ul.products li.product .price del {
    color: #ede0dc;
    opacity: 0.45;
}

/* --- Кнопки в карточках каталога --- */
body.woocommerce-page ul.products li.product a.button,
body.woocommerce-page ul.products li.product .button {
    background-color: #D4AF37 !important;
    color: #181210 !important;
    border: none !important;
    border-radius: 0 !important;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 10px 16px;
    margin: 8px 16px 16px;
    display: block;
    text-align: center;
    transition: background-color 0.2s;
}
body.woocommerce-page ul.products li.product a.button:hover,
body.woocommerce-page ul.products li.product .button:hover {
    background-color: #b8962e !important;
}

/* --- Страница одиночного товара --- */
body.single-product .product_title {
    color: #ede0dc;
    font-family: Georgia, serif;
}
body.single-product .woocommerce-Price-amount {
    color: #D4AF37;
}
body.single-product .woocommerce-product-details__short-description {
    color: #ede0dc;
    opacity: 0.85;
}

/* Хлебные крошки */
body.woocommerce .woocommerce-breadcrumb,
body.woocommerce-page .woocommerce-breadcrumb {
    color: rgba(237,224,220,0.55) !important;
}
body.woocommerce .woocommerce-breadcrumb a,
body.woocommerce-page .woocommerce-breadcrumb a {
    color: #D4AF37 !important;
    text-decoration: none;
}

/* Кнопка «В корзину» на странице товара */
body.single-product .single_add_to_cart_button,
body.single-product button.single_add_to_cart_button {
    background-color: #D4AF37 !important;
    color: #181210 !important;
    border: none !important;
    border-radius: 0 !important;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 16px 32px;
    font-size: 14px;
    transition: background-color 0.2s;
}
body.single-product .single_add_to_cart_button:hover {
    background-color: #b8962e !important;
}

/* Метаданные (Категория, Метка) */
body.single-product .product_meta {
    color: rgba(237,224,220,0.6);
}
body.single-product .product_meta a {
    color: #D4AF37;
}

/* --- ФИКС: убрать белое пространство под футером --- */
body,
html {
    overflow-x: hidden;
}
.wp-site-blocks {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}
body > .wp-site-blocks > footer,
body > footer {
    margin-bottom: 0 !important;
}


/* ============================================================
   ФИКС: тёмный фон body глобально + скрытый YITH-модал
   ============================================================ */
body {
    background-color: #181210 !important;
}
.yith-quick-view.yith-modal,
.yith-quick-view-modal {
    height: 0 !important;
    overflow: hidden !important;
    display: none !important;
}
.yith-quick-view.yith-modal.open,
.yith-quick-view-modal.open {
    display: block !important;
    height: auto !important;
    overflow: auto !important;
}

/* ====== REDESIGN DOSTAVKA I OPLATA (PAGE 159) ====== */
.page-id-159 .entry-content,
.page-id-159 .wp-site-blocks {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 20px;
}
.page-id-159 p, 
.page-id-159 li {
    color: #ede0dc !important;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 1.15rem;
    line-height: 1.8;
    opacity: 0.9;
}
.page-id-159 h1, 
.page-id-159 h2, 
.page-id-159 h3 {
    color: #D4AF37 !important;
    font-family: Georgia, serif;
    font-weight: 300;
    letter-spacing: 0.5px;
}
.page-id-159 h1 {
    font-size: 3rem;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    padding-bottom: 20px;
}
.page-id-159 h2 {
    font-size: 2rem;
    margin-top: 50px;
    margin-bottom: 20px;
}
.page-id-159 ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 30px;
}
.page-id-159 ul li {
    padding-left: 30px;
    position: relative;
    margin-bottom: 15px;
}
.page-id-159 ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 14px;
    width: 15px;
    height: 1px;
    background-color: #D4AF37;
}
