/*!
Theme Name: soultree
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: soultree
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

soultree is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
:root{
  /* Палитра в стиле скрина (тёплая терракота + беж) */
  --st-primary: #d7875c;      /* основной акцент */
  --st-primary-600: #c57c59;  /* hover/актив */
  --st-primary-200: #eccab6;  /* светлый акцент */
  --st-muted: #707070;        /* серый текст */
  --st-bg-soft: #fbf7f4;      /* мягкий фон */
  --st-dark: #696b6e;

  /* Bootstrap vars (частично) */
  --bs-primary: var(--st-primary);
  --bs-link-color: var(--st-primary);
  --bs-link-hover-color: var(--st-primary-600);
}
h1 {
  font-size: 30px!important;
 color: #7a4938!important;
}
body{
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--st-dark);
}
/* main {
  padding-top: 20px;
} */

h1,h2,h3,h4,h5,h6,
.navbar-brand{
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  letter-spacing: .2px;
}
h2 {
  font-size: 25px;
}
h3 {
  font-size: 20px;
}
/* Navbar */
.navbar.bg-light{
  background: #fff !important;
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.navbar .navbar-nav .nav-link{
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .85rem;
  color: var(--st-dark);
}
.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link:focus{
  color: var(--st-primary);
}

/* Buttons */
.btn-primary{
  background-color: var(--st-primary);
  border-color: var(--st-primary);
}
.btn-primary:hover,
.btn-primary:focus{
  background-color: var(--st-primary-600);
  border-color: var(--st-primary-600);
}

/* Cards */
.card{
  border-color: rgba(0,0,0,.06);
}
.card-footer{
  border-top-color: rgba(0,0,0,.06);
}

/* Forms */
.form-control:focus{
  border-color: var(--st-primary);
  box-shadow: 0 0 0 .25rem rgba(215,135,92,.20);
}

/* WP pagination -> выглядит ближе к Bootstrap */
.nav-links .page-numbers{
  display: inline-block;
  padding: .375rem .75rem;
  margin-right: .25rem;
  border: 1px solid rgba(0,0,0,.1);
  border-radius: .375rem;
  text-decoration: none;
  color: var(--st-dark);
}
.nav-links .page-numbers.current{
  background: var(--st-primary);
  border-color: var(--st-primary);
  color: #fff;
}
.nav-links .page-numbers:hover{
  border-color: var(--st-primary);
  color: var(--st-primary);
}
a{
  color: #be7951;
}

/* ===== stop mobile horizontal overflow ===== */
html, body{
  max-width: 100%;
  overflow-x: clip;  /* если где-то старый Safari — поменяй на hidden */
}

/* flex/grid дети иногда не умеют сжиматься -> дают overflow */
.st-footer *{
  min-width: 0;
}

/* если подписка сделана через input-group / flex в футере */
@media (max-width: 575.98px){
  .st-footer .input-group,
  .st-footer form{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 100%;
    flex-direction: column;
  }
  .st-footer__form-row {
     flex-direction: column;
  }

  .st-footer input,
  .st-footer button,
  .st-footer .btn{
    max-width: 100%;
  }

  .st-footer input{
    /* flex: 1 1 220px; */
    min-width: 0;
    width: 100%;
  }

  .st-footer button,
  .st-footer .btn{
    /* flex: 1 1 140px; */
    width: 100%;
  }
}


.search .comments-link {
  display: none!important;
}
.st-partners {
    padding: 60px 0;
}

.st-partners__head {
    margin-bottom: 40px;
}

.st-partners__title {
    margin: 0 0 10px;
}

.st-partners__subtitle {
    margin: 0;
    color: #666;
}

.st-partners__list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.st-partner-item {
    padding-bottom: 24px;
    border-bottom: 1px solid #e5e5e5;
}

.st-partner-item__title {
    margin: 0 0 12px;
}

.st-partner-item__description,
.st-partner-item__meta,
.st-partner-item__links {
    margin: 0 0 10px;
}

.st-partner-item__links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.st-partner-item__links a,
.st-partner-item__meta a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}


body.woocommerce-checkout #order_review table.shop_table tfoot tr th, body.woocommerce-checkout #order_review table.shop_table tfoot tr td {
	min-width: 50%;
}

ul#shipping_method > li:not(:first-child){display:none !important;}

.recommended-title{
	font-size: 20px;
	color: #7a4938;
}

section.related.products{
	margin: 25px 0;
}

.woocommerce .woocommerce-breadcrumb{
	margin: 25px 0;
}

#stCartModalContent .st-cart-loyalty__text,
.woocommerce .woocommerce-notices-wrapper .woocommerce-info{
	font-size: 15px;
	line-height: 1.3;
	color: #7a4938!important;
	font-weight: 400;
}
#stCartModalContent .st-cart-loyalty__note {
	margin-top: 5px;
	font-size: 14px;
	line-height: 1.2;
	color: #7a4938!important;
}
.st-cart-loyalty,
#primary .woocommerce .woocommerce-notices-wrapper .woocommerce-info{
	padding: 12px 18px !important;
}
.st-cart-loyalty__text .woocommerce-Price-amount.amount{
	font-weight:500;
}


.page-template-default .entry-content p,
.page-template-default .entry-content li{
	line-height: 1.85;
	color: #5b4037;
	font-size: 16px;
}
.page-template-default .entry-content h2,
.page-template-default .entry-content h3,
.page-template-default .entry-content h4,
.page-template-default .entry-content h5,
.page-template-default .entry-content h6{
	line-height: 1.85;
	font-weight: 500;
 	color: #5b4037;
}
.page-template-default .entry-content strong{
	font-weight: 500;
}

@media (max-width: 990px){
	.soultree-hero h1 {
		font-size: 27px!important;
	}
}


.product .st-pdp-blocks {
	border-top: none;
}





/* ============================================
   СТИЛИ ДЛЯ СЛАЙДЕРА ОТЗЫВОВ (как на soultree.in)
   ============================================ */
.testimonial-section {
	padding: 40px 0;
	margin-top: 40px;
	margin-bottom: 40px;
	background: #f7f7f7;
	overflow: hidden;
	width: 100vw;                     /* ширина = 100% вьюпорта */
    margin-left: calc(-50vw + 50%);   /* сдвиг влево на половину разницы */
}
.testimonial-section .container {
	width: 100%;
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 20px;
}
.testimonial-header {
	text-align: center;
	margin-bottom: 20px;
}
.testimonial-header-title {
	font-size: 25px;
	line-height: 1.5;
	color: #7a4938;
	margin-bottom: 10px;
	letter-spacing: .2px;
	font-weight:600;
}
.testimonial-header-subtitle {
	font-size: 26px;
	line-height: 38px;
	color: #585858;
}
.testimonial-section .slick-track{
	display: flex;
	align-content: stretch;
	align-items: stretch;
	padding: 10px 0 30px;
}
.testimonial-section .slick-track .slick-slide{
	height:auto;
}
.testimonial-item {
	padding: 25px 15px;
	transition: all .4s ease;
}
.testimonial-card {
	height: 100%;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all .4s ease;
}
.testimonial-item:not(.slick-center) .testimonial-card {
    transform: scale(0.88);
    opacity: 0.55;
}
.testimonial-author{ 
	font-size: 20px;
	color: #7a4938;
	margin: 0;
	font-weight: 600;
}
.testimonial-rating {
	margin-bottom: 5px;
	font-size: 25px;
}
.testimonial-rating span{
    color:#d6d6d6;
}
.testimonial-rating span.active{
    color:#EF9361;
}
.testimonial-text{
	line-height: 1.4;
	margin: 5px 0;
	font-size: 16px;
}
.testimonial-slider .slick-prev{
    left:-15px;
}
.testimonial-slider .slick-next{
    right:0;
}
.testimonial-slider .slick-prev, 
.testimonial-slider .slick-next{
    transition: transform .4s;
	z-index:10;
}
.testimonial-slider .slick-prev::before, 
.testimonial-slider .slick-next::before {
	color: #ca9176;
	font-size: 35px;
	opacity: 1;
}
.testimonial-slider .slick-prev:hover, 
.testimonial-slider .slick-next:hover {
	transform: scale(1.08) translate(0, -50%);
}
.testimonial-section .slick-dots li button::before {
	font-size: 12px;
	color: #aaa;
}
.testimonial-section .slick-dots li.slick-active button::before {
	color: rgba(208, 132, 112);
	opacity:1;
}
@media (min-width: 1201px){
	.slick-center .testimonial-card {
		transform: scale(1.08);
		opacity: 1;
		box-shadow: 0 10px 30px rgba(0,0,0,0.1);
		border: 2px solid #ca9176;
	}
}
@media (max-width: 1200px){
	.testimonial-text {
		line-height: 1.2;
		font-size: 15px;
	}
	.testimonial-item {
		padding: 10px;
	}
	.testimonial-card{
		padding: 15px;
	}
	.testimonial-item:not(.slick-center) .testimonial-card {
		transform: scale(0.94);
		opacity: 0.75;
	}
}
@media (max-width: 768px){
	.testimonial-section {
		padding: 25px 0;
		margin-top: 25px;
		margin-bottom: 25px;
	}
	.testimonial-header {
		margin-bottom: 5px;
	}
	.testimonial-header-title {
		font-size: 20px;
		line-height: 1.3;
	}
	.testimonial-item:not(.slick-center) .testimonial-card {
		transform: unset;
		opacity: 1;
	}
	.testimonial-section .slick-track {
		padding: 10px 0 10px;
	}
}