/*!
Theme Name: alco_theme_two
Theme URI: #
Author: NONAME
Author URI: #
Description: Description
Version: 1.0.0
Text Domain: alco_theme_two
*/

@import url(css/core.css);
@import url(css/header.css);
@import url(css/footer.css);
@import url(css/product-style.css);
@import url(css/side-panel.css);
@import url(css/blog-page.css);

/* Стили для страниц доставки по интентам */
.delivery-intent-page .delivery-intent-seo-text {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    border-left: 4px solid #007cba;
}

.delivery-intent-page .delivery-intent-seo-text h2 {
    color: #007cba;
    margin-top: 0;
    margin-bottom: 15px;
}

.delivery-intents-links {
    margin: 30px 0;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.delivery-intents-links h3 {
    margin-top: 0;
    color: #333;
    margin-bottom: 15px;
}

.intent-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.intent-link {
    display: inline-block;
    padding: 8px 16px;
    background: #007cba;
    color: white !important;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.intent-link:hover {
    background: #005a87;
    text-decoration: none;
}

.delivery-intent-pages ul,
.category-brand-pages ul {
    list-style: none;
    padding: 0;
}

.delivery-intent-pages li,
.category-brand-pages li {
    margin-bottom: 8px;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.delivery-intent-pages li:last-child,
.category-brand-pages li:last-child {
    border-bottom: none;
}

.delivery-intent-pages small {
    color: #666;
    margin-left: 10px;
}

/* Стили для блока интент-ссылок на страницах категорий */
.delivery-intents-section {
    margin: 40px 0;
    padding: 30px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    border: 1px solid #dee2e6;
}

.delivery-intents-section h3 {
    text-align: center;
    margin-bottom: 25px;
    color: #333;
    font-size: 24px;
    font-weight: 600;
}

.delivery-intents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.delivery-intent-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.delivery-intent-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #007cba, #0056b3);
}

.delivery-intent-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.delivery-intent-icon {
    margin-bottom: 15px;
}

.delivery-intent-icon .icon-moon,
.delivery-intent-icon .icon-clock {
    font-size: 48px;
    display: block;
    margin: 0 auto;
}

.delivery-intent-content h4 {
    margin: 0 0 10px 0;
    font-size: 20px;
    font-weight: 600;
}

.delivery-intent-content h4 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.delivery-intent-content h4 a:hover {
    color: #007cba;
}

.delivery-time {
    font-size: 16px;
    font-weight: 600;
    color: #007cba;
    margin: 5px 0;
}

.delivery-description {
    font-size: 14px;
    color: #666;
    margin: 10px 0 20px 0;
    line-height: 1.4;
}

.delivery-intent-link {
    display: inline-block;
    background: linear-gradient(135deg, #007cba 0%, #0056b3 100%);
    color: white !important;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.delivery-intent-link:hover {
    background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
    transform: scale(1.05);
    text-decoration: none;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .delivery-intents-section {
        margin: 30px 0;
        padding: 20px;
    }
    
    .delivery-intents-section h3 {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .delivery-intents-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .delivery-intent-card {
        padding: 20px;
    }
    
    .delivery-intent-icon .icon-moon,
    .delivery-intent-icon .icon-clock {
        font-size: 40px;
    }
    
    .delivery-intent-content h4 {
        font-size: 18px;
    }
}

.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

.text-before-products{
	margin-top: 20px;
	margin-bottom: 20px;
}

@media (max-width:450px){
    .taxanomy-head{
                height: 800px !important;
    }
    .taxanomy-head-image {
        top: 490px !important;
    }
}