@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=PT+Mono&display=swap');

.woocommerce-notices-wrapper {
	display: none !important;
}
/* Главная страница */
.content-area {
    width: 100%;
    max-width: 2560px;
    margin: 0 auto;

    background: #f9f9f9;
    box-sizing: border-box;
    overflow-x: hidden;
}




/* Третий блок */
.block-3 {
    background: #ffffff;
    height: 1100px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.block-3-inner {
    max-width: 1200px;
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}
.block-3-heading {
    align-self: flex-start;
    padding-left: 15px;
}
.bestseller-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
}
.bestseller-card {
    text-align: center;
}
.bestseller-image picture, .bestseller-image img {
    width: 360px;
    height: 460px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.bestseller-image picture:hover, .bestseller-image img:hover {
    animation: shake 0.5s ease-in-out; /* Анимация дрожания */
}

@keyframes shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(-3px); }
    50% { transform: translateX(3px); }
    75% { transform: translateX(-2px); }
    100% { transform: translateX(0); }
}

.bestseller-info {
    margin-top: 15px;
	text-align: left;
}
.bestseller-title {
    margin-right: 5px;
}

/* Адаптивность для третьего блока */
@media (max-width: 1024px) {
    .block-3 {
        height: auto;
        padding: 40px 0;
    }
    .bestseller-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .block-3-heading {
        padding-left: 10px;
    }
}
@media (max-width: 768px) {
    .block-3 {
        padding: 30px 0;
    }
    .bestseller-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .bestseller-image picture, .bestseller-image img {
        width: 200px;
        height: 256px;
    }
    .block-3-heading {
        padding-left: 8px;
    }
	.bestseller-info {
		text-align: center;
	}
}
@media (max-width: 480px) {
    .block-3 {
        padding: 20px 0;
    }
    .bestseller-grid {
        gap: 10px;
    }
    .bestseller-image picture, .bestseller-image img {
        width: 150px;
        height: 192px;
    }
    .block-3-heading {
        padding-left: 5px;
    }
	.bestseller-info {
		text-align: center;
	}
}
@media (max-width: 360px) {
    .block-3 {
        padding: 15px 0;
    }
    .block-3-heading {
        padding-left: 3px;
    }
	.bestseller-info {
		text-align: center;
	}
}


/* Пятый блок */
.block-5 {
    background: #ffffff;
    height: 340px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.block-5-inner {
    max-width: 1200px;
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
    text-align: left;
}

.main-end {
    font-family: 'PT Mono', monospace;
    font-weight: 400; /* Regular для Book */
    font-size: 40px;
}
/* Адаптивность для пятого блока */
@media (max-width: 1024px) {
    .block-5 {
        height: auto;
        padding: 30px 0;
    }
}
@media (max-width: 768px) {
    .block-5 {
        padding: 20px 0;
    }
    .block-5-inner {
        padding: 0 10px;
    }
}
@media (max-width: 480px) {
    .block-5 {
        padding: 15px 0;
    }
    .block-5-inner {
        padding: 0 8px;
    }
}
@media (max-width: 360px) {
    .block-5 {
        padding: 10px 0;
    }
    .block-5-inner {
        padding: 0 5px;
    }
}

/* Ссылка "ALLE ANZEIGEN" — выравнивание по правому краю */
.show-all-wrapper {
    margin-top: 30px;
    text-align: right;
}

.show-all-products {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #333;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 15px 8px 0; /* 15px — под правую границу фото */
    transition: all 0.3s ease;
    position: relative;
}

.arrow-icon {
    width: 14px;
    height: 14px;
    transition: transform 0.3s ease;
}

.show-all-products:hover {
    color: #000;
}

.show-all-products:hover .arrow-icon {
    transform: translateX(4px);
}

/* Подчёркивание */
.show-all-products::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 15px; /* до правой границы */
    height: 1px;
    background: #333;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.show-all-products:hover::after {
    transform: scaleX(1);
}

/* Адаптивность */
@media (max-width: 768px) {
    .show-all-wrapper {
        margin-top: 20px;
        text-align: center; /* на мобильных — по центру */
    }
    .show-all-products {
        padding: 8px 0;
        justify-content: center;
    }
    .show-all-products::after {
        left: 50%;
        right: auto;
        transform: translateX(-50%) scaleX(0);
        width: 100%;
        max-width: 120px;
    }
    .show-all-products:hover::after {
        transform: translateX(-50%) scaleX(1);
    }
}

@media (max-width: 480px) {
    .show-all-products {
        font-size: 13px;
    }
    .arrow-icon {
        width: 13px;
        height: 13px;
    }
}