/*
Theme Name: Zhekender
Theme URI: https://zhekender.com
Author: Your Name
Author URI: https://yourwebsite.com
Description: Тема для сайта доставки еды Zhekender
Version: 1.0
Text Domain: zhekender
*/

/* Основные стили */
:root {
    --primary-color: #FF6B00;
    --secondary-color: #FFA500;
    --dark-color: #333333;
    --light-color: #FFFFFF;
    --gray-color: #F5F5F5;
    --text-color: #444444;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-color);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

/* Шапка */
.site-header {
    background-color: var(--light-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.site-logo img {
    width: 136px;
    height: auto;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-navigation li {
    margin-left: 25px;
}

.main-navigation a {
    color: var(--dark-color);
    font-weight: 500;
    font-size: 16px;
}

.main-navigation a:hover {
    color: var(--primary-color);
}

.header-cart a {
    display: flex;
    align-items: center;
    color: var(--dark-color);
}

.header-cart .cart-count {
    background-color: var(--primary-color);
    color: var(--light-color);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    margin-left: 5px;
}

/* Главный баннер */
.hero-banner {
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 60px 0;
    text-align: center;
}

.hero-title {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    background-color: var(--light-color);
    color: var(--primary-color);
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: var(--secondary-color);
    color: var(--light-color);
}

/* Категории еды */
.food-categories {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
    color: var(--dark-color);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.category-card {
    background-color: var(--light-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.category-image {
    height: 180px;
    overflow: hidden;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-card:hover .category-image img {
    transform: scale(1.1);
}

.category-info {
    padding: 20px;
    text-align: center;
}

.category-name {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.category-count {
    color: var(--primary-color);
    font-weight: 500;
}

/* Популярные товары */
.popular-products {
    padding: 60px 0;
    background-color: var(--gray-color);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}
p.category-count {
    display: none;
}
.product-card {
    background-color: var(--light-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.product-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

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

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 700;
}

.product-info {
    padding: 20px;
}

.product-title {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.product-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.product-rating {
    color: #FFC107;
    margin-bottom: 15px;
}

.add-to-cart {
    display: block;
    width: 100%;
    background-color: var(--primary-color);
    color: var(--light-color);
    border: none;
    padding: 10px;
    border-radius: 5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-to-cart:hover {
    background-color: var(--secondary-color);
}

/* Подвал */
.site-footer {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-widget h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--light-color);
}

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

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

.footer-widget a {
    color: #BBBBBB;
}

.footer-widget a:hover {
    color: var(--light-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #BBBBBB;
    font-size: 14px;
}

/* Адаптивность */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
    }
    
    .main-navigation {
        margin: 20px 0;
    }
    
    .main-navigation ul {
        flex-direction: column;
        align-items: center;
    }
    
    .main-navigation li {
        margin: 10px 0;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
}

/* Cart Page Styles */
.zhekender-cart-page {
    padding: 40px 0;
}

.zhekender-cart-page .page-title {
    text-align: center;
    margin-bottom: 40px;
    color: var(--dark-color);
}

.cart-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
}

.cart-items {
    background: var(--light-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-image {
    width: 100px;
    height: 100px;
    overflow: hidden;
    border-radius: 5px;
}

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

.cart-item-info {
    position: relative;
}

.product-name {
    margin: 0 0 10px;
    font-size: 18px;
}

.product-price {
    font-weight: bold;
    color: var(--primary-color);
    margin: 10px 0;
}

.product-quantity .quantity {
    display: flex;
    align-items: center;
}

.product-quantity input {
    width: 60px;
    text-align: center;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.product-remove {
    position: absolute;
    top: 0;
    right: 0;
}

.product-remove a {
    display: block;
    width: 24px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    color: #ff0000;
    font-size: 20px;
    font-weight: bold;
}

.cart-coupon {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

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

.coupon input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.coupon button {
    padding: 10px 15px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.coupon button:hover {
    background: var(--secondary-color);
}

.cart-actions {
    margin-top: 20px;
}

.cart-actions .button {
    padding: 10px 20px;
    background: #f0f0f0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.cart-actions .button:hover {
    background: #e0e0e0;
}

.cart-totals {
    position: sticky;
    top: 20px;
}

.cart-totals-inner {
    background: var(--light-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.cart-totals h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 22px;
}

.shop_table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.shop_table th,
.shop_table td {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    text-align: left;
}

.shop_table th {
    font-weight: 500;
}

.shop_table .order-total th,
.shop_table .order-total td {
    font-weight: bold;
    font-size: 18px;
}

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

.wc-proceed-to-checkout .checkout-button {
    display: block;
    width: 100%;
    padding: 15px;
    background: var(--primary-color);
    color: white;
    text-align: center;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

.wc-proceed-to-checkout .checkout-button:hover {
    background: var(--secondary-color);
}

.cart-empty {
    text-align: center;
    padding: 60px 20px;
    background: var(--light-color);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.empty-cart-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.cart-empty h3 {
    margin-bottom: 20px;
    color: var(--dark-color);
}

.cart-empty .button {
    padding: 12px 30px;
    background: var(--primary-color);
    color: white;
    border-radius: 30px;
    font-weight: bold;
}

.cart-empty .button:hover {
    background: var(--secondary-color);
}

/* Responsive */
@media (max-width: 768px) {
    .cart-grid {
        grid-template-columns: 1fr;
    }
    
    .cart-totals {
        margin-top: 40px;
    }
    
    .cart-item {
        grid-template-columns: 80px 1fr;
        gap: 15px;
    }
    
    .cart-item-image {
        width: 80px;
        height: 80px;
    }
    
    .coupon {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .coupon input,
    .coupon button {
        width: 100%;
    }
}

/* Checkout Page Styles */
.zhekender-checkout-page {
    padding: 40px 0;
}

.zhekender-checkout-page .page-title {
    text-align: center;
    margin-bottom: 40px;
    color: var(--dark-color);
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
}

.checkout-form-col {
    background: var(--light-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.checkout-section {
    margin-bottom: 40px;
}

.checkout-section .section-title {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 20px;
    color: var(--dark-color);
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.woocommerce-billing-fields,
.woocommerce-shipping-fields,
.woocommerce-additional-fields {
    display: grid;
    gap: 20px;
}

.woocommerce-form__label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

.woocommerce-form__label input[type="checkbox"] {
    margin: 0;
}

.woocommerce-input-wrapper {
    display: block;
    width: 100%;
}

.woocommerce-input-wrapper input,
.woocommerce-input-wrapper textarea,
.woocommerce-input-wrapper select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.woocommerce-input-wrapper textarea {
    min-height: 100px;
}

.checkout-review-section {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 8px;
    margin-top: 40px;
}

.order-summary-col {
    position: sticky;
    top: 20px;
}

.order-summary-box {
    background: var(--light-color);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.summary-title {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 22px;
    color: var(--dark-color);
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.order-items {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.order-item {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.order-item:last-child {
    margin-bottom: 0;
}

.item-image {
    width: 60px;
    height: 60px;
    border-radius: 5px;
    overflow: hidden;
}

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

.item-name {
    margin: 0 0 5px;
    font-size: 16px;
}

.item-qty-price {
    display: flex;
    gap: 5px;
    font-size: 14px;
    color: #666;
}

.order-totals table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

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

.order-totals th {
    font-weight: 500;
}

.order-totals .order-total th,
.order-totals .order-total td {
    font-weight: bold;
    font-size: 18px;
}

.payment-methods-info {
    margin-top: 20px;
}

.payment-methods-info h4 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 18px;
}

.payment-method {
    margin-bottom: 15px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 5px;
}

.payment-method label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.payment-method .payment_box {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #eee;
}

.place-order {
    margin-top: 30px;
}

.place-order .button {
    display: block;
    width: 100%;
    padding: 15px;
    background: var(--primary-color);
    color: white;
    text-align: center;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

.place-order .button:hover {
    background: var(--secondary-color);
}

/* Responsive */
@media (max-width: 768px) {
    .checkout-grid {
        grid-template-columns: 1fr;
    }
    
    .order-summary-col {
        margin-top: 40px;
    }
    
    .checkout-section {
        margin-bottom: 30px;
    }
    
    .woocommerce-billing-fields,
    .woocommerce-shipping-fields,
    .woocommerce-additional-fields {
        grid-template-columns: 1fr;
    }
}

/* Single Product Page Styles */
.zhekender-single-product {
    padding: 40px 0;
}

.product-breadcrumbs {
    margin-bottom: 20px;
    font-size: 14px;
    color: #777;
}

.product-breadcrumbs a {
    color: var(--primary-color);
}

.product-main-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.product-gallery {
    position: relative;
}

.product-summary {
    position: sticky;
    top: 20px;
}

.product-title {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 32px;
    color: var(--dark-color);
}

.product-rating {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.product-rating .star-rating {
    margin-right: 10px;
}

.review-link {
    margin-left: 10px;
    font-size: 14px;
    color: #777;
}

.product-price {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.product-short-description {
    margin-bottom: 25px;
    line-height: 1.6;
}

.product-add-to-cart {
    margin-bottom: 30px;
}

.quantity .qty {
    padding: 12px;
    width: 80px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-right: 10px;
}

.single_add_to_cart_button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 4px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.single_add_to_cart_button:hover {
    background: var(--secondary-color);
}

.product-meta {
    margin: 25px 0;
    font-size: 14px;
    color: #666;
}

.meta-label {
    font-weight: 500;
    color: var(--dark-color);
}

.product-social-share {
    display: flex;
    align-items: center;
    margin-top: 30px;
}

.share-label {
    margin-right: 15px;
    font-weight: 500;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    margin-right: 8px;
    color: white;
    font-size: 16px;
    transition: all 0.3s ease;
}

.social-icon.facebook { background: #3b5998; }
.social-icon.instagram { background: #e4405f; }
.social-icon.twitter { background: #1da1f2; }
.social-icon.vk { background: #4a76a8; }

.social-icon:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}

/* Product Tabs */
.product-tabs-section {
    margin: 60px 0;
}

.tabs-nav {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    border-bottom: 1px solid #eee;
}

.tabs-nav li {
    margin-right: 30px;
}

.tabs-nav li a {
    display: block;
    padding: 10px 0;
    position: relative;
    color: var(--dark-color);
    font-weight: 500;
}

.tabs-nav li.active a {
    color: var(--primary-color);
}

.tabs-nav li.active a:after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

/* Related Products */
.related-products-section {
    margin-top: 60px;
}

.section-title {
    text-align: center;
    font-size: 28px;
    margin-bottom: 40px;
    color: var(--dark-color);
}

.products {
	clear: both;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Responsive */
@media (max-width: 992px) {
    .product-main-grid {
        grid-template-columns: 1fr;
    }
    
    .products {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .products {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tabs-nav {
        flex-direction: column;
    }
    
    .tabs-nav li {
        margin-right: 0;
        margin-bottom: 5px;
    }
}

@media (max-width: 576px) {
    .products {
        grid-template-columns: 1fr;
    }
    
    .quantity {
        margin-bottom: 15px;
    }
    
    .single_add_to_cart_button {
        width: 100%;
    }
}


/* Related Products Section */
.related-products-section {
    margin: 60px 0;
    padding: 30px 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

.related-products-title {
    text-align: center;
    font-size: 28px;
    margin-bottom: 40px;
    color: var(--dark-color);
    position: relative;
    padding-bottom: 15px;
}

.related-products-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-color);
}

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

.related-product-card {
    background: var(--light-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.related-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.related-product-image {
    height: 180px;
    overflow: hidden;
    position: relative;
}

.related-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.related-product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary-color);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 700;
}

.related-product-info {
    padding: 20px;
}

.related-product-title {
    font-size: 16px;
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.related-product-title a {
    color: var(--dark-color);
    text-decoration: none;
}

.related-product-title a:hover {
    color: var(--primary-color);
}

.related-product-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.related-product-rating {
    color: #FFC107;
    margin-bottom: 15px;
    font-size: 14px;
}

.related-product-add-to-cart {
    display: block;
    width: 100%;
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 10px;
    border-radius: 5px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
}

.related-product-add-to-cart:hover {
    background: var(--secondary-color);
}

/* Responsive */
@media (max-width: 1200px) {
    .related-products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .related-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .related-product-image {
        height: 150px;
    }
}

@media (max-width: 480px) {
    .related-products-grid {
        grid-template-columns: 1fr;
    }
    
    .related-products-title {
        font-size: 24px;
        margin-bottom: 30px;
    }
    
    .related-product-image {
        height: 200px;
    }
}

/* Shop Page Styles */
.zhekender-shop-page {
    padding: 40px 0 60px;
}

.shop-header {
    margin-bottom: 40px;
    text-align: center;
}

.shop-breadcrumbs {
    font-size: 14px;
    color: #777;
    margin-bottom: 15px;
}

.shop-breadcrumbs a {
    color: var(--primary-color);
}

.shop-title {
    margin: 0;
    font-size: 36px;
    color: var(--dark-color);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.shop-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-color);
}

/* Shop Toolbar */
.shop-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 15px 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

.toolbar-left,
.toolbar-right {
    display: flex;
    align-items: center;
}

.woocommerce-result-count {
    margin: 0;
    font-size: 14px;
    color: #666;
}

.woocommerce-ordering select {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
    font-size: 14px;
    cursor: pointer;
}

/* Shop Content Layout */
.shop-content {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 30px;
}

/* Shop Sidebar */
.shop-sidebar {
    position: sticky;
    top: 20px;
    align-self: start;
}

.shop-widgets {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.widget-title {
    font-size: 18px;
    margin-top: 0;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    color: var(--dark-color);
}

/* Product Grid */
.shop-main {
    width: 100%;
}

.products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.product {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
}

.product:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.woocommerce-loop-product__link {
    display: block;
    text-decoration: none;
}

.woocommerce-loop-product__title {
    font-size: 16px;
    margin: 15px 0 5px;
    color: var(--dark-color);
    padding: 0 15px;
}

.price {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    padding: 0 15px 15px;
}

.woocommerce-product-rating {
    padding: 0 15px;
    margin-bottom: 15px;
}

.star-rating {
    color: #FFC107;
    font-size: 14px;
}

.woocommerce-loop-product__image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.woocommerce-loop-product__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product:hover .woocommerce-loop-product__image img {
    transform: scale(1.05);
}

.onsale {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary-color);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 700;
    z-index: 1;
}

.add_to_cart_button {
    display: block !important;
    margin: 0 15px 15px !important;
    padding: 10px !important;
    background: var(--primary-color) !important;
    color: white !important;
    text-align: center !important;
    border-radius: 5px !important;
    font-weight: 500 !important;
    transition: all 0.3s ease;
}
span.wc-block-product-categories-list-item-count {
    display: none;
}
.add_to_cart_button:hover {
    background: var(--secondary-color) !important;
}

/* Pagination */
.woocommerce-pagination {
    text-align: center;
    margin-top: 40px;
}

.page-numbers {
    display: inline-flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-numbers li {
    margin: 0 5px;
}

.page-numbers a,
.page-numbers span {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    background: #f5f5f5;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
}

.page-numbers a:hover,
.page-numbers .current {
    background: var(--primary-color);
    color: white;
}

/* Responsive */
@media (max-width: 1024px) {
    .products {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .shop-content {
        grid-template-columns: 1fr;
    }
    
    .shop-sidebar {
        position: static;
        margin-bottom: 30px;
    }
    
    .shop-toolbar {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .products {
        grid-template-columns: 1fr;
    }
    
    .shop-title {
        font-size: 28px;
    }
    
    .woocommerce-ordering select {
        width: 100%;
    }
}


::marker {
    display: none !important;
    position: absolute;
    content: '';
}

.product img{
    margin: 10px auto;
    display: block;
    border-radius: 10px;
    width: 96%;
    height: auto;
}

ul.products:before {
    content: '' !important;
    display: none !important;
}



/* Contacts Page Styles */
.zhekender-contacts-page {
    padding: 60px 0;
}

.contacts-header {
    margin-bottom: 40px;
    text-align: center;
}

.contacts-header .page-title {
    margin-bottom: 15px;
    font-size: 36px;
    color: var(--dark-color);
    position: relative;
    display: inline-block;
}

.contacts-header .page-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-color);
}

.breadcrumbs {
    font-size: 14px;
    color: #777;
}

.breadcrumbs a {
    color: var(--primary-color);
}

.contacts-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.contacts-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-card {
    background: var(--light-color);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: flex-start;
    gap: 15px;
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.contact-details h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 18px;
    color: var(--dark-color);
}

.contact-details p {
    margin: 5px 0;
    font-size: 15px;
    color: #555;
}

.contact-details a {
    color: #555;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: var(--primary-color);
}

.contacts-map {
    background: #f5f5f5;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contacts-social {
    text-align: center;
    padding: 40px 0;
    border-top: 1px solid #eee;
}

.contacts-social h2 {
    margin-bottom: 25px;
    font-size: 28px;
    color: var(--dark-color);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-5px);
}

.social-link.vk { background: #4a76a8; }
.social-link.telegram { background: #0088cc; }
.social-link.instagram { background: #e4405f; }
.social-link.whatsapp { background: #25d366; }

/* Responsive */
@media (max-width: 992px) {
    .contacts-content {
        grid-template-columns: 1fr;
    }
    
    .contacts-map {
        min-height: 400px;
    }
}

@media (max-width: 768px) {
    .contacts-info {
        grid-template-columns: 1fr;
    }
    
    .contacts-header .page-title {
        font-size: 30px;
    }
}

@media (max-width: 480px) {
    .social-links {
        flex-wrap: wrap;
    }
    
    .contact-card {
        padding: 20px;
    }
}

/* Category Page Styles */
.zhekender-category-page {
    padding: 40px 0;
}

.zhekender-category-page .page-title {
    text-align: center;
    margin-bottom: 30px;
    color: var(--dark-color);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

/* Ensure buttons are visible */
.product-grid .button.add_to_cart_button {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}



