/*
Theme Name:     Bono Child
Theme URI:      https://wpshop.ru/themes/bono
Author:         WPShop.ru
Author URI:     http://wpshop.ru/
Template:       bono
Version:        1.0.0
Text Domain:    bono-child
*/

/* ===================== ГЛОБАЛЬНЫЕ СТИЛИ ===================== */
/* Здесь при необходимости можно добавить любые общие CSS-правила для всей дочерней темы */

/* ===================== СТИЛИ ДЛЯ БЛОКА <БИЛЕТЫ> (WooCommerce) ===================== */
.ticket-types-table {
    width: 100%;
    border-collapse: collapse;
	margin-bottom: 20px;
}

.ticket-types-table td {
    padding: 5px 0px;
    vertical-align: middle;
    border-bottom: 1px solid #eee;
}
.ticket-types-ttl{
	font-weight: 600;
    margin-bottom: 10px;
}
.ticket-name {
    font-weight: normal;
    text-align: left;
    width: 40%;
}
.ticket-name span {
    font-size: 12px;
    display: block;
	color: #5a5a5a;
}
.ticket-price {
    text-align: right;
    width: 20%;
}
.ticket-price .woocommerce-Price-amount{
	white-space: nowrap;
}

.ticket-minus,
.ticket-plus {
    width: 15%;
    text-align: center;
}

.ticket-qty {
    width: 10%;
    text-align: center;
	padding-left: 10px !important;
}

.ticket-qty .quantity-minus, .ticket-qty .quantity-plus {
	width: 1em;
}
.ticket-qty .qty {
    width: 40px;
    text-align: center;
    padding: 5px;
}
.ticket-qty .quantity {
	width: 4em;
}
.ticket-qty .quantity input[type=number] {
	padding-left: 1em;
    padding-right: 1em;
}

button.qty-minus,
button.qty-plus {
    background: none;
    border: 1px solid #ddd;
    width: 30px;
    height: 30px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 3px;
}

button.qty-minus:hover,
button.qty-plus:hover {
    background: #f0f0f0;
}

/* ===================== СТИЛИ ДЛЯ ГЕРОЙ-СЛАЙДЕРА (Front Page) ===================== */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    max-height: 700px;
    min-height: 400px;
    overflow: hidden;
    margin: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.8) 100%);
}

.slide-content {
    position: absolute;
    bottom: 80px;
    left: 50px;
    right: 50px;
    color: white;
    z-index: 10;
}

.slide-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.9);
}

.slide-features {
    margin: 20px 0;
    max-width: 600px;
    font-size: 1.1rem;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.8);
}

.slide-price {
    font-size: 2.5rem;
    color: #ff6b35;
    font-weight: 900;
    margin: 30px 0;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.9);
}

.slide-btn {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    padding: 18px 40px;
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.5);
}

.slide-btn:hover {
    background: linear-gradient(135deg, #e55a2b, #e8841a);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(255, 107, 53, 0.7);
    text-decoration: none;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 20;
    backdrop-filter: blur(10px);
}

.slider-nav:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.slider-nav.prev {
    left: 30px;
}

.slider-nav.next {
    right: 30px;
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 20;
}

.slider-dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: #ff6b35;
    transform: scale(1.3);
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.8);
}

@media (max-width: 768px) {
    .hero-slider {
        height: 80vh;
        min-height: 350px;
    }
    .slide-content {
        bottom: 60px;
        left: 20px;
        right: 20px;
    }
    .slide-title {
        font-size: 2.2rem;
    }
    .slide-features {
        font-size: 1rem;
    }
    .slide-price {
        font-size: 2rem;
    }
    .slide-btn {
        padding: 14px 30px;
        font-size: 1.1rem;
    }
    .slider-nav {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    .slider-nav.prev {
        left: 15px;
    }
    .slider-nav.next {
        right: 15px;
    }
}

/* ===================== СТИЛИ ДЛЯ БЛОКОВ НА ГЛАВНОЙ (Front Page) ===================== */

/* Популярные категории */
#popular-cats .container {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

#popular-cats h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
}

/* Почему выбирают нас */
#why-choose-us {
    background: #fafafa;
    padding: 60px 0;
}

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

#why-choose-us h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
}

.why-items {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.why-item {
    flex: 1 1 calc(33.333% - 20px);
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    padding: 30px;
    text-align: center;
}

.why-item .icon {
    font-size: 2rem;
    margin-bottom: 15px;
}

.why-item h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.why-item p {
    font-size: 1rem;
    color: #555;
}

/* Отзывы клиентов */
#reviews-section .container {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

#reviews-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
}

/* Карточки рекомендуемых туров */
#featured-tours-cards .container {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

#featured-tours-cards h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
}

/* Карточки появляются через AJAX, стили задаём здесь */
.featured-tours-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.tour-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
}

.tour-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.tour-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.tour-card:hover img {
    transform: scale(1.05);
}

.tour-content {
    padding: 20px;
}

.tour-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #333;
}

.tour-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.4;
    height: 3em;
    overflow: hidden;
    margin-bottom: 15px;
}

.tour-price {
    font-size: 1.3rem;
    color: #ff6b35;
    font-weight: bold;
    margin-bottom: 15px;
}

.tour-button {
    background: linear-gradient(135deg, #ff6b35, #e55a2b);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    width: 100%;
    text-align: center;
    font-weight: 500;
    transition: background 0.3s ease, transform 0.3s ease;
}

.tour-button:hover {
    background: linear-gradient(135deg, #e55a2b, #d14d20);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .tour-card img {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .tour-card img {
        height: 150px;
    }
}

/* Подписка */
#subscribe-block {
    background: #f9f9f9;
    padding: 60px 0;
    text-align: center;
}

#subscribe-block .container {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 20px;
}

#subscribe-block h2 {
    font-size: 2rem;
    margin-bottom: 30px;
}

#subscribe-block form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

#subscribe-block input[type="email"] {
    flex: 1 1 300px;
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
}

#subscribe-block button {
    background: #ff6b35;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

#subscribe-block button:hover {
    background: #e55a2b;
}

#subscribe-message {
    margin-top: 15px;
    font-size: 1rem;
    color: #333;
}

/* Наши партнёры */
#partners-section .container {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

#partners-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
}

/* Стили для логотипов партнёров берутся из шорткода [partners_logos] */

/* FAQ */
#faq-section .container {
    max-width: 800px;
    margin: 60px auto;
    padding: 0 20px;
}

#faq-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
}

.faq-list {
    display: block;
    margin: 0 auto;
    max-width: 800px;
}

.faq-item {
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 15px;
}

.faq-question {
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    padding-right: 20px;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 0;
    font-size: 1.2rem;
    transition: transform 0.3s;
}

.faq-item.open .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    display: none;
    margin-top: 10px;
    font-size: 1rem;
    line-height: 1.5;
}

.faq-item.open .faq-answer {
    display: block;
}

body{
    background-image: linear-gradient(to bottom right, #f0fdfa, #f0ffef, #ffe2bd) !important;
    font-weight: 400;
}
.site-content {
    background: unset!important;
}
.fotorama__img{
	border-radius: 20px!important;
}
.fotorama__nav-wrap{
	margin-top: 10px;
}
.fotorama__stage__shaft{
	border-radius: 1rem;
    overflow: hidden;
}
.fotorama__thumb {
    border-radius: 6px;
}
.fotorama__thumb-border {
    border-color: #f97316;
    border-radius: 6px;
}
.fotorama__nav {
    text-align: left;
}
.excursion-container {
	gap: 40px;
    align-items: start;
    display: flex;
}
.excursion-main{
	width: calc(100% - 340px);
}
.excursion-info{
	position: sticky;
    top: 100px;
	width: 300px;
}
.site {
    overflow: visible;
    min-height: 100vh;
}
.woocommerce-product-form-wrap{
	padding: 15px;
    background: #f9f9f9;
    border-radius: 16px;
    border: 2px solid #c7c7c7;
}
.excursion-block {
    padding: 15px;
    background: #ffffff;
    border-radius: 16px;
    border: 2px solid #c7c7c7;
	margin-top: 40px;
}
.site-header{
	background: unset!important;
}
.main-navigation{
	background: unset!important;
}
.site-navigation-fixed{
	box-shadow: rgb(76, 76, 76) 0px 2px 10px -3px;
	background-color: #f0fef7!important;
}
.button {
	background: linear-gradient(45deg, #FF6F1E, #F4A261)!important;
}
.button:hover{
	color: #ff8239!important;
}
.related-products {
    margin-top: 60px;
}
.product-features-btn-container{
	display: inline-block;
}
.site-title{
	text-align: left;
    margin-left: 10px;
    margin-bottom: 0;
}
.site-title a {
    display: inline-block;
    line-height: 110%;
    max-width: 200px;
}
.site-logotype img {
	border-radius: 10%;
}
/* Сетка подкатегорий */
.subcategories-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    margin: 40px 0;
}

/* Карточка */
.subcategory-card {
    position: relative;
    display: block;
    height: 400px; /* Высота как в примере */
    border-radius: 12px;
    overflow: hidden;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

/* Фоновое изображение */
.subcategory-card__bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.7); /* Затемнение */
    transition: filter 0.4s ease;
}

/* Контент (заголовок + кнопка) */
.subcategory-card__content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    padding: 40px 20px;;
}

/* Заголовок */
.subcategory-card__title {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 20px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

/* Кнопка */
.subcategory-card__button {
	display: inline-block;
    padding: 12px 24px;
    color: #ffffff;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
    background: #FF6F1E;
	width: 100%;
}


.subcategory-card:hover .subcategory-card__bg {
    filter: brightness(1);
}

.subcategory-card:hover .subcategory-card__button {
    transform: scale(1.05);
}

/* Общие стили карточки */
.product-card {
    display: grid;
    grid-template-columns: 1fr 1fr 225px;
    gap: 20px;
    border: 1px solid #00c4b6;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
	background-color: white;
}

.product-card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Изображение */
.product-card__image {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
}

.product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
	aspect-ratio: 4 / 3;
    transition: transform 0.5s;
}

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

/* Контент */
.product-card__title {
    font-size: 18px;
    margin: 0 0 10px 0;
    color: #333;
}

.product-card__description {
    font-size: 14px;
    line-height: 1.5;
    color: #666;
}

/* Мета-данные */
.product-card__price {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #2c3e50;
}

.product-card__more {
    display: block;
    padding: 8px 12px;
    background: linear-gradient(45deg, #FF6F1E, #F4A261);
	box-shadow: 0 4px 15px rgba(255, 111, 30, 0.3);
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    margin-top: auto;
    transition: background-color 0.3s;
}

.product-card__more:hover {
    background-color: #e0e0e0;
	color: white;
	box-shadow: 0 4px 12px 4px rgb(145 64 19 / 30%);
}

.product-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
	margin-top: auto;
}
.product-card__tag {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px 2px 6px;
    background: linear-gradient(45deg, #ffe890, #61f4ed);
    border-radius: 15px;
    font-size: 12px;
    color: #555;
    border: 1px solid #e0e0e0;
    position: relative;
}
.product-card__tag::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: #FF6B00;
    border-radius: 50%;
    margin-right: 6px;
}
.product-card__content-col{
	    display: flex;
    flex-direction: column;
}
.product-card__meta-col{
	border-left: 1px solid #00c4b6;
    padding-left: 20px;
	display: flex;
    flex-direction: column;
}
.excursion-main .product-card__tags{
	margin-top: 30px;
}
.category-tags {
    margin: 30px 0;
    border-radius: 8px;
}

.tags-title {
    margin: 0 0 15px 0;
    font-size: 18px;
    color: #333;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-item {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    background: linear-gradient(45deg, #ffe890, #61f4ed);
    border-radius: 20px;
    font-size: 14px;
    color: #555;
    text-decoration: none;
    border: 1px solid #e0e0e0;
    transition: all 0.3s;
}

.tag-item:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
	background: linear-gradient(45deg, #61f4ed, #ffe890);
}

.tag-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #FF6B00;
    border-radius: 50%;
    margin-right: 8px;
}
.related-excursions {
    margin-top: 50px;
}

.related-excursions__title {
    margin-bottom: 30px;
}

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

.related-excursions__item {
	display: grid;
    border: 1px solid #eee;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
	background-color: white;
}

.related-excursions__item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

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

.related-excursions__content {
    padding: 15px;
	display: flex;
    flex-direction: column;
}

.related-excursions__name {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 18px;
}

.related-excursions__excerpt {
    margin-bottom: 15px;
    color: #666;
    font-size: 14px;
}

.related-excursions__price {
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
}

.related-excursions__button {
    display: inline-block;
    padding: 8px 20px;
    background-color: #0073aa;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
	margin-top: auto;
}

.related-excursions__button:hover {
    background-color: #005177;
}
.main-navigation ul li .sub-menu li>a{
    padding: 10px 20px;
}
.morecategory{
	width: calc(33% - 10px);
    margin: 0 auto;
    text-align: center;
}
.morecategory .subcategory-card__button:hover{
	color: white;
	transform: scale(1.05);
}
@media (max-width: 991px) {
	.excursion-container {
		flex-direction: column;
	}
	.excursion-main{
		width: 100%;
	}
	.excursion-info{
		width: 100%;
	}
	.site-logotype img {
		max-height: 50px!important;
	}
	.site-title a {
		display: inline-block;
		line-height: 110%;
		max-width: 120px;
	}
	.subcategories-grid{
		grid-template-columns: 1fr 1fr;
	}
	.product-card {
        grid-template-columns: 1fr;
    }
	.product-card__meta-col{
		border-left: 0;
		padding-left: 0;
	}
	.related-excursions__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 767px) {
	.subcategories-grid{
		grid-template-columns: 1fr;
	}

    .product-card__title {
        font-size: 16px;
    }
    .product-card__description {
        font-size: 13px;
    }

	.product-card__meta-col .ticket-types-table{
		display: none;
	}
	.related-excursions__grid {
        grid-template-columns: 1fr;
    }
	.morecategory{
		width: 100%;
	}
}
@media (min-width: 992px) {
    .footer-navigation ul li .sub-menu, .main-navigation ul li .sub-menu {
        min-width: max-content;
		border-radius: 16px;
		padding: 10px 0;
    }
}