/* Подключаем шрифт */
@font-face {
    font-family: 'CormorantGaramond';
    src: url('../fonts/TenorSans-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Делаем его шрифтом по умолчанию для всего сайта */
html, body {
    font-family: 'CormorantGaramond', serif;
}

/* На всякий случай зададим также для форм/кнопок */
button,
input,
select,
textarea {
    font-family: inherit;
}

/* Slider */
/* =========================
   HERO SLIDER
   ========================= */

.hero-slider {
    position: relative;
    width: 100%;
    height: 750px;        /* высота на десктопе */
    max-height: 750px;
    overflow: hidden;
}

.hero-slide {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Картинка-назадний-план во всю ширину */
.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* затемнение поверх картинки */
.hero-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1;
}

/* Слой с контентом */
.hero-content {
    position: absolute;
    inset: 0;
    z-index: 2;
}

/* контейнер на всю высоту слайда */
.hero-content .container {
    height: 100%;
    display: flex;
    align-items: center;        /* ВЫРАВНИВАНИЕ ПО ВЕРТИКАЛИ ПО ЦЕНТРУ */
    max-height: 750px;
}

/* сам блок с текстом */
.hero-content-inner {
    max-width: 520px;
    color: #fff;
}

/* Заголовок, текст, кнопка */
.hero-content-inner h2 {
    font-size: 2.6rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.hero-text {
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
}

.hero-btn {
    display: inline-block;
    padding: 0.7rem 1.8rem;
    border-radius: 999px;
    background: #e7a5a5;
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
}

.hero-btn:hover {
    background: #d28686;
    color: #fff;
}

/* Стрелки показываем только при наведении */
.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next {
    opacity: 0;
    transition: opacity .2s ease;
    z-index: 99;
}

.hero-slider:hover .carousel-control-prev,
.hero-slider:hover .carousel-control-next {
    opacity: 1;
}

/* =========================
   АДАПТИВ HERO SLIDER
   ========================= */

@media (max-width: 1199.98px) {
    .hero-slider {
        height: 650px;
        max-height: 650px;
    }

    .hero-content-inner h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 991.98px) {
    .hero-slider {
        height: 520px;
        max-height: 520px;
    }

    .hero-content-inner h2 {
        font-size: 2rem;
    }
}

@media (max-width: 767.98px) {
    .hero-slider {
        height: 420px;
        max-height: 420px;
    }

    .hero-content-inner {
        max-width: none;
    }

    .hero-content-inner h2 {
        font-size: 1.8rem;
    }

    .hero-text {
        font-size: 0.95rem;
    }
}
/* Slider */

/* Categories */
/* --- Блок "Welcome + категории" --- */
.topg-cats-section {
    border-top: 1px solid #f1f1f1;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.topg-cats-title {
    font-size: 2.2rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.topg-cats-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #555;
}

/* карточки категорий */
.topg-cat-card {
    text-decoration: none;
    color: inherit;
}

.topg-cat-image-wrap {
    position: relative;
    overflow: hidden;
    background: #f8f8f8;
}

.topg-cat-image-wrap img {
    display: block;
    width: 100%;
    height: 320px;
    object-fit: cover;
    transition: transform .4s ease;
}

.topg-cat-card:hover .topg-cat-image-wrap img {
    transform: scale(1.05);
}

.topg-cat-caption {
    padding-top: 0.8rem;
    font-size: 0.95rem;
}

.topg-cat-name {
    letter-spacing: 0.04em;
}

.topg-cat-arrow {
    font-size: 1.2rem;
}

/* стрелки карусели чуть приглушим и покажем по ховеру */
.topg-cat-carousel .carousel-control-prev,
.topg-cat-carousel .carousel-control-next {
    opacity: 0;
    transition: opacity .25s ease;
}

.topg-cat-carousel:hover .carousel-control-prev,
.topg-cat-carousel:hover .carousel-control-next {
    opacity: 1;
}

@media (max-width: 800px) {
    .topg-cat-image-wrap img {
        height: 240px;
    }

    .topg-cats-title {
        font-size: 1.7rem;
        margin-bottom: 1rem;
    }

    .hero-slider {
        height: 100%;
    }
    
    .topg-cat-carousel .carousel-control-prev, .topg-cat-carousel .carousel-control-next,
    .topg-cat-nav {
        opacity: 1 !important;
    }
}

/* Блок категорий */
.topg-cats-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.topg-cats-title {
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.topg-cats-text {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
}

/* карточки категорий */
.topg-cat-card {
    text-decoration: none;
    color: inherit;
}

.topg-cat-image-wrap img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.topg-cat-caption {
    padding-top: 0.75rem;
    font-size: 15px;
    font-weight: 400;
    color: #222;
}

.topg-cat-arrow {
    font-size: 18px;
}

/* стрелки карусели */
.topg-cat-carousel .carousel-control-prev,
.topg-cat-carousel .carousel-control-next {
    width: 60px;
}

.topg-cat-carousel .carousel-control-prev,
.topg-cat-carousel .carousel-control-next {
    opacity: 1;          /* нужна для кликов, а видимость регулируем span'ом */
}

.topg-cat-nav {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #aaa;
    background: #ffffff;
    color: #222;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    transition: opacity .2s ease, transform .2s ease, border-color .2s ease;
    opacity: 0; /* по умолчанию не видно */
}

/* показываем стрелки только при наведении на весь слайдер */
.topg-cat-carousel:hover .topg-cat-nav {
    opacity: 1;
}

.topg-cat-nav:hover {
    transform: scale(1.05);
    border-color: #444;
}

/* убираем дефолтные иконки Bootstrаp */
.topg-cat-carousel .carousel-control-prev-icon,
.topg-cat-carousel .carousel-control-next-icon {
    display: none;
}
/* Categories */

/* About us */
/* =========================
   О КОМПАНИИ
   ========================= */

.topg-about {
    /* можно при желании фон задать */
}

.topg-about-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
}

.topg-about-title {
    font-size: 36px;
    font-weight: 600;
}

.topg-about-text {
    line-height: 1.7;
    font-size: 16px;
}

/* =========================
   ПРЕИМУЩЕСТВА (внутри правой колонки)
   ========================= */

.topg-benefits-wrapper {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #e5e5e5;
}

.topg-benefits-title {
    font-size: 24px;
    font-weight: 600;
}

.topg-benefits-carousel {
    position: relative;
}

.topg-benefit-slide {
    min-height: 160px;
}

.topg-benefit-img-wrap {
    overflow: hidden;
    /* border-radius: 12px; */
}

.topg-benefit-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
    max-width: 100px;
}

.topg-benefit-img-wrap:hover .topg-benefit-img {
    transform: scale(1.04);
}

.topg-benefit-title {
    font-size: 18px;
    font-weight: 600;
}

.topg-benefit-text {
    font-size: 15px;
    line-height: 1.6;
}

/* Стрелки */
.topg-benefit-arrow {
    border: 1px solid #ccc;
    background: #fff;
    border-radius: 999px;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    transition: all .2s ease;
}

.topg-benefit-arrow:hover {
    border-color: #000;
    color: #000;
}

/* =========================
   АДАПТИВ
   ========================= */

@media (max-width: 992px) {
    .topg-about-title {
        font-size: 30px;
    }

    .topg-benefits-title {
        font-size: 22px;
    }
}

@media (max-width: 768px) {
    .topg-about-title {
        font-size: 26px;
    }

    .topg-about-text {
        font-size: 15px;
    }

    .topg-benefit-title {
        font-size: 17px;
    }

    .topg-benefit-text {
        font-size: 14px;
    }

    .topg-benefits-wrapper {
        margin-top: 20px;
        padding-top: 16px;
    }
}
/* About us */

/* Products tabs */
.topg-products-tabs__title {
    font-size: 32px;
    font-weight: 600;
}

.topg-tabs-nav .nav-link {
    border: none;
    border-bottom: 2px solid transparent;
    color: #555;
    font-weight: 500;
    padding: 0.75rem 1.25rem;
}

.topg-tabs-nav .nav-link:hover {
    border-color: rgba(0,0,0,0.06);
    color: #000;
}

.topg-tabs-nav .nav-link.active {
    border-color: #000;
    color: #000;
    background-color: transparent;
}

.topg-products-tabs ul.products {
    list-style: none;
    margin: 0;
    padding: 0;
}
/* Products tabs */

/* Catalog */
.wpc-term-count-0,
.wpc-term-id-15 {
    display: none;
}
/* Catalog */

/* Footer */
.site-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    background: #f8f8f8;        /* можешь подставить свой цвет */
    padding: 20px 0;
    margin-top: 40px;
    font-size: 14px;
    color: #555;
}

.site-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

/* мобильная адаптация */
@media (max-width: 767.98px) {
    .site-footer-inner {
        flex-direction: column;
        text-align: center;
    }
}

.site-footer-copy,
.site-footer-dev {
    margin: 0;
}

.site-footer-dev a {
    color: inherit;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
    padding-bottom: 1px;
}

.site-footer-dev a:hover {
    border-bottom-color: transparent;
}
/* Footer */

/* icons */
.tg-icon-link svg {
    display: block;
}

/* Бейджик поверх корзины */
.tg-cart-count {
    position: absolute;
    top: -4px;
    right: -10px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 999px;
    background: #000;
    color: #fff;
    font-size: 11px;
    line-height: 18px;
    text-align: center;
    font-weight: 600;
}
/* icons */

.woocommerce div.product form.cart .reset_variations {
    visibility: hidden !important;
}

@media (max-width: 480px) {
    .order-3-custom {
        order: 3;
    }
}