/*!
Theme Name: VinStil_DG
Theme URI: http://vinstil.ru/
Author: Underscores.me
Author URI: http://almaguz.ru/
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: vinstil_dg
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.

VinStil_DG 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.
 */
/* Подключение Podkova */
@font-face {
  font-family: 'Podkova';
  src: url('/wp-content/themes/vinstil_dg/assets/fonts/Podkova-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Podkova';
  src: url('/wp-content/themes/vinstil_dg/assets/fonts/Podkova-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Подключение Gotham Pro */
@font-face {
  font-family: 'GothamPro';
  src: url('/wp-content/themes/vinstil_dg/assets/fonts/gothampro.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'GothamPro';
  src: url('/wp-content/themes/vinstil_dg/assets/fonts/gothampro_bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Глобальные цвета
--------------------------------------------- */
:root {
	--color-bg-site: #ececec;
	--color-text-dark: #292929;
	--color-text-white: #f9f9f9;
	--color-text-light: #868686;
	--color-gradient-start: #4f6155;
	--color-gradient-end: #667e6e;
	--gradient-primary: linear-gradient(135deg, var(--color-gradient-start), var(--color-gradient-end));
}

html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
	 scroll-behavior: smooth;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
	font-family: 'Podkova', serif; 
    background-color: var(--color-bg-site);
    color: var(--color-text-dark);
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: var(--color-text-dark);
	/*font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;*/
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted var(--color-text-light);
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

img {
	height: auto;
	max-width: 100%;
}

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: #4169e1;
}

a:visited {
	color: #800080;
}

a:hover,
a:focus,
a:active {
	color: #191970;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: var(--color-bg-site);
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: var(--color-text-light);
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: var(--color-text-dark);
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
	display: block;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	display: block;
	left: auto;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 37.5em) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
	}
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Header Styles */
/*.site-header {
  background-color: #000; 
  padding: 20px 0;
  text-align: center;
	color:#caa983;
	display:flex;
	align-items:center;
}

#site-navigation ul li a  {
	 color: #caa983;
}

#site-navigation ul li a:hover  {
	 color: #80602f;
}


.site-branding {
  margin: 0;
	max-width:200px;
	width:100%;
}

.header-widget{
	max-width:15%;
	width:100%;
}

.site-title a {
    color: #caa983; 
    text-decoration: none;
    font-size: 2em;
    font-weight: bold;
}

.site-description {
    color: var(--color-text-light);
    font-style: italic;
}

.main-navigation {
	display:flex;
	align-items: center;
	justify-content:center;
		
}

.main-navigation ul {
    list-style: none;
    padding: 0;
}

.main-navigation li {
    display: inline-block;
    margin: 0 15px;
}

.main-navigation a {
    color: var(--color-text-dark);
    text-decoration: none;
    transition: color 0.3s;
}

@media (max-width:464px){
	.site-header{
		padding:20px 10px;
	}*/
	

/* Header: logo left edge, title centered, burger right */
.site-header{
	display:flex;
	align-items:center;
	justify-content:space-around;
	background:transparent;
	color:#111111;
	position:relative;
}

	.header-logo {
		position: relative;
		display: block;
		padding: 12px 16px;
	}
	.header-logo img {
		display: block;
		width: 48px;
		height: 48px;
		object-fit: contain;
	}

	.header-center {
		flex: 1 1 auto;
		text-align: center;
	}
	.header-center .site-title {
		font-size: 4rem;
		font-weight: 700;
		color: #111;
		position:relative !important;
	}

	@media (max-width: 600px) {
		.header-center .site-title {
			font-size: 2.6rem;
		}
		.header-logo img {
			width: 36px;
			height: 36px;
		}
	}
	
	.main-navigation {
		position: relative;
	}

	.menu-toggle {
		background: transparent;
		border: 0;
		width: 56px;
		height: 56px;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		cursor: pointer;
	}
	.menu-toggle:focus { outline: 2px solid rgba(0,0,0,0.12); }
	.burger,
	.burger::before,
	.burger::after {
		display: block;
		width: 24px;
		height: 2px;
		background: #111;
		border-radius: 2px;
		transition: transform .25s ease, opacity .2s ease;
	}
	.burger::before,
	.burger::after { content: ''; position: relative; }
	.burger::before { top: -7px; }
	.burger::after { top: 5px; }

	/* When navigation is toggled, animate burger to X */
	.main-navigation.toggled .burger {
		background: transparent;
	}
	.main-navigation.toggled .burger::before {
		transform: translateY(7px) rotate(45deg);
	}
	.main-navigation.toggled .burger::after {
		transform: translateY(-5px) rotate(-45deg);
	}

	/* Menu panel (hidden by default) */
	.main-navigation .nav-menu {
		display: none;
		position: absolute;
		right: 0;
		top: 100%;
		background: #fff;
		color: #111;
		min-width: 240px;
		box-shadow: 0 10px 30px rgba(0,0,0,0.12);
		border-radius: 6px;
		padding: 12px 0;
		z-index: 50;
	}
	.main-navigation.toggled .nav-menu {
		display: block;
	}
	.nav-menu li { list-style: none; }
	.nav-menu a { display: block; padding: 10px 20px; color: #111; text-decoration: none; }
	.nav-menu a:hover { background: rgba(0,0,0,0.04); }

	/* Always show burger on desktop as requested */
	@media (min-width: 900px) {
		.nav-menu { right: 16px; }
	}

	/* Mobile: full-width dropdown */
	@media (max-width: 600px) {
		.site-header{
			flex-direction:column;
			align-items:start;
		}
		
		.header-logo, .header-center{
			margin-inline:auto;
		}
		
		.main-navigation .nav-menu {
			left: 0;
			right: 0;
			top: 72px;
			border-radius: 0;
		}
	}
	.site-branding{
		margin-bottom:auto;
		width:50%;
	}
	
	.main-navigation, .main-navigation.toggled li{
		display:flex;
		flex-direction:column;
		position:relative;
	}
	
	.header-widget{
		display:none;
	}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* --------------------------------------------------------------
   Front Page: базовые стили для секций и контейнера
   -------------------------------------------------------------- */
section {
	padding: 80px 0;
	box-sizing: border-box;
	background: transparent;
}

.container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
	box-sizing: border-box;
}

/* Заголовки внутри секций */
section h1,
section h2 {
	margin: 0 0 24px;
	font-weight: 600;
	color: #111;
	text-align: center;
}

/* Вспомогательные варианты */
.section--alt {
	background-color: #f7f7f7;
}

.container--narrow {
	max-width: 960px;
}

/* Медиа: планшеты */
@media (max-width: 1024px) {
	section {
		padding: 60px 0;
	}
	.container {
		padding: 0 20px;
	}
}

/* Медиа: телефоны */
@media (max-width: 600px) {
	section {
		padding: 40px 0;
	}
	.container {
		padding: 0 16px;
	}
	section h1 {
		font-size: 1.6rem;
	}
	section h2 {
		font-size: 1.25rem;
	}
}

section img {
	display: block;
	max-width: 100%;
	height: auto;
}

/* --------------------------------------------------------------
   Бестселлеры: заголовок, кнопка и карточки
   -------------------------------------------------------------- */
.bestsellers-section {
	position: relative;
}

.bestsellers-top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	margin-bottom: 20px;
}

.bestsellers-top h2 {
	margin: 0;
	font-size: 3.5rem;
}

.btn {
	text-decoration: none;
}

.btn span{
	width: 30px;
    height: 30px;
    font-size: 1.5rem;
    padding-left: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(-45deg);
}

.btn:hover span{
	transform: rotate(0deg);
	cursor:pointer;
	transition: 0.5s;
	padding-bottom:4px;
}

.btn-outline {
	border: 1px solid #111;
	background: transparent;
	color: #111;
	padding: 4px 18px;
	border-radius: 999px;
	font-weight: 600;
}

.btn-outline:hover{
	background:#fff;
	transition: 0.5s;
	box-shadow: 2px 5px 7px #caa983;
	color:#111111;
}

.top-btn {
	display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
}

.mobile-btn {
	display: none;
	margin: 18px auto 0;
}

.bestsellers-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
	align-items: start;
}

.card {
	background: #fff;
	border-radius: 6px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	aspect-ratio: 1 / 1;
	box-shadow: 0 1px 2px rgba(0,0,0,0.04);
	cursor:pointer;
}

.card:hover{
	box-shadow: 2px 5px 7px #caa983;
    transform: scale(1.03);
    transition: 0.5s;
}

.card-image {
	flex: 1 1 auto;
	overflow: hidden;
}

.card-image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}

.card-meta {
	padding: 12px;
	text-align: center;
	border-top: 1px solid #eee;
	background: #fff;
}

.card-meta hr {
	border: 0;
	border-top: 1px solid #eee;
	margin: 0 0 10px;
}

.card-meta h3 {
	margin: 0;
	font-size: 1rem;
	font-weight: 600;
	text-align:left;
}

/* Tablet */
@media (max-width: 900px) {
	.bestsellers-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* Mobile layout: title centered, then карточки, потом кнопка */
@media (max-width: 600px) {
	.bestsellers-top {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}
	.bestsellers-top h2 {
		width: 100%;
		margin-bottom: 12px;
		font-size: 2.6rem;
	}
	.top-btn {
		display: none;
	}
	.mobile-btn {
		display: flex;
        width: 90%;
        align-items: center;
        justify-content: center;
	}
	.bestsellers-grid {
		grid-template-columns: 1fr;
	}
}

/* --------------------------------------------------------------
   Преступление роскоши: 50/50 текст + изображение
   -------------------------------------------------------------- */
.prestuplenie-roskosi-section {
	padding: 40px 0;
}
.prestuplenie-roskosi-section .split {
	display: flex;
	gap: 24px;
	min-height: 500px;
}
.prestuplenie-roskosi-section .split-text,
.prestuplenie-roskosi-section .split-image {
	flex: 0 0 50%;
}
.prestuplenie-roskosi-section .split-text h2 {
	margin-top: 0;
	font-size: 3.75rem;
    text-transform: uppercase;
    text-align: right;
	padding-right: 120px;
}
.prestuplenie-roskosi-section .split-text p {
	color: var(--color-text-dark);
	line-height: 1.6;
	margin-bottom: 1rem;
	padding-left: 120px;
}
.prestuplenie-roskosi-section .split-image {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: visible;
	background: #000000;
}
.prestuplenie-roskosi-section .split-image img {
	width: 100%;
	height: auto; 
	object-fit: contain;
	display: block;
	transform: translateY(-5%);
	box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

/* Mobile: вертикальная колонка — заголовок, текст, затем изображение во всю ширину */
@media (max-width: 600px) {
	.prestuplenie-roskosi-section {
		padding: 28px 0;
	}
	.prestuplenie-roskosi-section .split {
		flex-direction: column;
		align-items: stretch;
	}
	.prestuplenie-roskosi-section .split-text,
	.prestuplenie-roskosi-section .split-image {
		flex: none;
		width: 100%;
	}
	.prestuplenie-roskosi-section .split-image img {
		height: auto;
		width: 100%;
		transform: none;
		box-shadow: none;
	}
	.prestuplenie-roskosi-section .split-text h2 {
		font-size: 2.6rem;
		text-align: center;
		padding: 0;
		padding-right: 0;
	}
	.prestuplenie-roskosi-section .split-text p {
		padding: 0;
	}
}

/* --------------------------------------------------------------
   Новая коллекция: фон и правый блок (заголовок + кнопка)
   -------------------------------------------------------------- */
.new-collection-section {
	background-image: linear-gradient(rgba(0,0,0,0.36), rgba(0,0,0,0.36)), url("https://vinstil.ru/wp-content/uploads/2026/01/new-collection.webp");
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	min-height: 340px; /* в пределах 300-400px */
	display: flex;
	align-items: center;
}

.new-collection-section .container {
	width: 100%;
}

.new-collection-content {
	display: flex;
	justify-content: flex-start;
	width: 100%;
}

.new-collection-right {
	max-width: 50%;
	color: var(--color-text-white);
}

.new-collection-right h2 {
	margin: 0 0 12px;
	font-size: 4rem;
	color: var(--color-text-white);
	line-height: 1.1;
	text-transform: uppercase;
	text-align:left;
}

.btn-outline--light {
	border: 1px solid rgba(255,255,255,0.95);
	color: var(--color-text-white);
	background: transparent;
	padding: 4px 18px;
	border-radius: 999px;
	display: flex;
	align-items:center;
	justify-content:center;
	max-width:185px;
	text-decoration: none;
	text-transform: uppercase;
}

/* Mobile: вертикальная колонка — заголовок, кнопка, затем фон виден */
@media (max-width: 600px) {
	.new-collection-section {
		min-height: 320px;
		padding: 28px 0;
		align-items: center;
	}
	.new-collection-content {
		justify-content: center;
	}
	.new-collection-right {
		max-width: 100%;
		text-align: center;
		padding: 0 16px;
	}
	.new-collection-right h2 {
		font-size: 1.6rem;
	}
}

/* --------------------------------------------------------------
   Каталог: заголовок, блок Женское (4 карточки), затем два блока по 50%
   -------------------------------------------------------------- */
.catalog-section {
	padding: 48px 0;
}
.catalog-title {
	text-align: center;
	font-size: 3.75rem;
	margin: 0 0 28px;
	text-transform: uppercase;
}

.catalog-category .category-title {
	font-size: 1.25rem;
	margin: 0 0 16px;
	text-align: left;
	text-transform: uppercase;
}

.catalog-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
	margin-bottom: 28px;
}

.cat-card {
	background: #fff;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: 6px;
	text-decoration:none;
	color:inherit;
}

.cat-card:hover{
	box-shadow: 2px 5px 7px #caa983;
    transform: scale(1.03);
    transition: 0.5s;
	cursor:pointer;
}

.cat-image {
	background: #fff;
	display: block;
	width: 100%;
	aspect-ratio: 3 / 4;
	overflow: hidden;
}
.cat-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.cat-meta {
	padding: 10px;
	text-align: left;
}
.cat-meta hr {
	border: 0;
	border-top: 1px solid #eee;
	margin: 0 0 8px;
}
.cat-meta h4 {
	margin: 0;
	font-size: 0.95rem;
	font-weight: 600;
}

.catalog-split {
	display: flex;
	gap: 20px;
	margin-top: 28px;
}
.catalog-half {
	flex: 1 1 50%;
}
.catalog-half .category-title {
	margin-bottom: 12px;
	text-transform: uppercase;
}

.half-image:hover img{
	box-shadow: 2px 5px 7px #caa983;
    transform: scale(1.03);
    transition: 0.5s;
	cursor:pointer;
}

.half-image img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 6px;
	object-fit: cover;
}

/* Tablet: 2 columns for grid */
@media (max-width: 900px) {
	.catalog-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* Mobile: all blocks stacked */
@media (max-width: 600px) {
	.catalog-title {
		font-size: 1.5rem;
	}
	.catalog-category .category-title {
		text-align: center;
	}
	.catalog-grid {
		grid-template-columns: 1fr;
		gap: 12px;
	}
	.cat-meta {
		text-align: center;
	}
	.catalog-split {
		flex-direction: column;
	}
}

/* --------------------------------------------------------------
   Секция 7: статуи
   -------------------------------------------------------------- */
.final-image-section {
	background-color: #f0f0f0;
	display: block;
	margin-bottom: 48px;
	overflow: hidden;
}

.statues-grid {
	display: flex;
	justify-content: center;
	align-items: flex-end;
	position: relative;
	height: auto;
	min-height: 400px;
	background: grey;
	padding-top:50px;
}

.statue {
	position: relative;
	height: auto;
	object-fit: cover;
	flex-shrink: 0;
}

.statue-1 {
	width: 30%;
	margin-left: 0;
	z-index: 1;
}

.statue-2 {
	width: 30%;
	margin-left: -10%;
	z-index: 0;
}

.statue-3 {
	width: 30%;
	margin-left: -10%;
	z-index: 2;
}

.statue-4 {
	width: 30%;
	margin-left: -10%;
	z-index: 3;
}

.statue-5 {
	width: 30%;
	margin-left: -10%;
	z-index: 0;
}

/* Медиа для планшетов */
@media (max-width: 900px) {
	.final-image-section {
		min-height: 360px;
	}
	.statues-grid {
		min-height: 360px;
	}
}

/* Медиа для мобильных: 2 ряда */
@media (max-width: 600px) {
	.final-image-section {
		min-height: 300px;
	}
	.statues-grid {
		position: relative;
		min-height: 300px;
	}
	.statue {
		position: absolute;
		bottom: 0;
		width: 50%;
	}
	.statue-1 {
		left: 2%;
		top: 7%;
		width: 65%;
		display: none;
	}
	.statue-2 {
		right: 5%;
		top: 5%;
		width: 65%;
		display: none;
	}
	.statue-3 {
		left: 0;
		bottom: 0;
		z-index: 2;
		width: 60%;
	}
	.statue-4 {
		left: 60%;
		transform: translateX(-50%);
		bottom: 0;
		width: 50%;
		z-index: 3;
	}
	.statue-5 {
		right: -10%;
		bottom: 0;
		z-index: 0;
		width: 60%;
	}
}

/* --------------------------------------------------------------
   Секция 8: О НАС / БЛОГ — два горизонтальных блока-ссылки
   -------------------------------------------------------------- */
.about-blog-section {
	padding: 0;
	margin-bottom: 48px;
}
.about-blog-grid {
	display: flex;
	gap: 25px;
}
.about-block {
	flex: 1 1 50%;
	display: flex;
	align-items: center; 
	justify-content: flex-start; 
	height: 500px;
	padding: 0 48px;
	color: var(--color-text-white);
	text-decoration: none;
	background-image: url("https://vinstil.ru/wp-content/uploads/2026/01/attern.png");
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
}
.about-block h2 {
	margin: 0;
	font-size: 4rem;
	font-weight: 700;
	color: var(--color-text-white);
}
.about-block--left {
	/* можно добавить лёгкий сдвиг по X если нужно */
}
.about-block--right {
	/* отдельно для правого блока при необходимости */
}

.about-block:hover {
	opacity: 0.95;
	box-shadow: 2px 5px 7px #caa983;
    transform: scale(1.03);
    transition: 0.5s;
}

/* Mobile: stacked blocks */
@media (max-width: 900px) {
	.about-block {
		height: 420px;
		padding: 0 36px;
	}
}

@media (max-width: 600px) {
	.about-blog-grid {
		flex-direction: column;
	}
	.about-block {
		width: 100%;
		height: 100%;
		min-height: 320px;
		padding: 0 20px;
		justify-content: flex-start;
	}
	.about-block h2 {
		font-size: 1.6rem;
	}
}

/* --------------------------------------------------------------
   Footer: минимальная версия с соц‑иконками по центру
   -------------------------------------------------------------- */
.site-footer {
	background: transparent;
	padding-top: 80px;
}
.footer-inner {
	text-align: center;
	padding-bottom: 40px;
}
.social-links {
	display: inline-flex;
	gap: 18px;
	align-items: center;
	justify-content: center;
}
.social {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: none;
	background: transparent;
	position: relative;
	text-decoration: none;
	box-sizing: border-box;
}
.social svg {
  width: 100%;
  height: 100%;
}
/*.social::before {
	content: attr(data-label);
	position: absolute;
	left: 0; right: 0; top: 0; bottom: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #958e09;
	font-weight: 700;
	font-size: 14px;
}*/
.social:hover {
	opacity: 0.9;
}

/* Mobile adjustments */
@media (max-width: 600px) {
	.social {
		width: 48px;
		height: 48px;
	}
	.social::before {
		font-size: 13px;
	}
	.site-footer {
		padding-top: 48px;
	}
}


	/* --------------------------------------------------------------
	   Акции: фон, два блока (текст + кнопка и изображение) и адаптивность
	   -------------------------------------------------------------- */
	.offers-section {
		background-image: url("https://vinstil.ru/wp-content/uploads/2026/01/background-section-1.webp");
		background-size: cover;
		background-position: center center;
		background-repeat: no-repeat;
		margin-bottom: 48px;
	}

	.offers-inner {
		display: flex;
		gap: 40px;
		align-items: center;
		padding: 48px;
		box-sizing: border-box;
		justify-content:center;
	}

	.offers-text {
		flex: 0 0 50%;
		color: var(--color-text-white);
	}
	.offers-text h2 {
		margin: 0 0 18px;
		font-size: 4rem;
		color: var(--color-text-white);
		text-align:left;
		text-transform:uppercase;
	}

	.offers-image {
		flex: 0 0 50%;
		display: flex;
		align-items: center;
		justify-content: center;
	}
	.offers-image img {
		width: auto;
		height: 100%;
		max-height: 100%;
		object-fit: contain;
		display: block;
		border: 4px solid #fff;
		border-radius: 6px;
	}

	/* Ensure the image height matches the text/button block height */
	.offers-inner > * {
		height: calc(100% - 0px);
	}

	/* Mobile: stacked layout */
	@media (max-width: 600px) {
		.offers-inner {
			flex-direction: column;
			padding: 32px 16px;
			min-height: auto;
			gap: 20px;
		}
		.offers-text {
			width: 100%;
			text-align: center;
		}
		.offers-image {
			width: 100%;
		}
		.offers-image img {
			width: 100%;
			height: auto;
			border-width: 3px;
		}
	}





/* --------------------------------------------------------------
   Welcome (первая) секция: фон и статуи
   -------------------------------------------------------------- */
.welcome-section {
	position: relative;
	background-image: url("https://vinstil.ru/wp-content/uploads/2026/01/background-section-1.webp");
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	min-height: 85vh;
	overflow: hidden;
}

.welcome-section .container {
	/* контейнер оставляем для возможного контента; центрируем при необходимости */
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
	height: 100%;
}

.welcome-section .statues {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	bottom: 0;
	height: 100%;
	width: auto;
	max-width: 100vw;
	pointer-events: none;
	user-select: none;
}

/* Мобильные правки: чуть меньше высота секции и ограничения ширины статуй */
@media (max-width: 600px) {
	.welcome-section {
		min-height: 35vh;
	}
	.welcome-section .statues {
		/* Сохраняем привязку к низу, но ограничиваем максимальную ширину */
		height: 100%;
		max-width: calc(100% - 32px);
		left: 50%;
		transform: translateX(-50%);
	}
}



/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.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;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.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;
}


/**=========   ДЛЯ КУРСОРА    ======*/
.sparkle {
  position: fixed;
  width: 1px;
  height: 1px;
  background: radial-gradient(circle, #80602f, #caa983);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.8;
  animation: sparkleFade 0.8s ease-out forwards;
}

@keyframes sparkleFade {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(var(--x), var(--y)) scale(1.5);
    opacity: 0;
  }
}

/* ========================================
   СТРАНИЦА ОДИНОЧНОГО ТОВАРА
   ========================================*/

.product-page {
  background-color: #ffffff;
  min-height: 100vh;
}

/* === ARTICLE WRAPPER ДЛЯ ТОВАРА === */
.product-single-article {
  padding: 0;
  margin: 0;
}

.product-single-article .entry-content {
  padding: 0;
}

/* --- СВЕТЛАЯ ВЕРСИЯ (standard) --- */
.product-page--standard {
  --text-primary: #333333;
  --text-secondary: #666666;
  --bg-primary: #ffffff;
  --bg-secondary: #f5f5f5;
  --accent: #caa983;
  --border: #e0e0e0;
}

/* --- ТЕМНАЯ ВЕРСИЯ (premium) --- */
.product-page--premium {
  --text-primary: #ffffff;
  --text-secondary: #cccccc;
  --bg-primary: #1a1a1a;
  --bg-secondary: #2a2a2a;
  --accent: #d4af37;
  --border: #444444;
  background-color: #1a1a1a;
}

/* ===== ГЛАВНЫЙ ГЕРОЙ (2 КОЛОНКИ: контент 40% + фото 60%) ===== */
.product-hero {
  position: relative;
  border-bottom: 1px solid var(--border);
  padding: 0;
}

.product-hero__container {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 0;
  height: auto;
}

/* ИНФОРМАЦИЯ ТОВАРА (левая колонка, 40%) */
.product-hero__info {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 40%;
  flex-shrink: 0;
  background: var(--bg-primary);
  padding: 60px 40px;
  position: relative;
  z-index: 10;
}

/* Светлая версия: белый фон */
.product-page--standard .product-hero__info {
  background: #ffffff;
}

/* Темная версия: темный фон */
.product-page--premium .product-hero__info {
  background: #1a1a1a;
}

/* ГАЛЕРЕЯ (правая колонка, 60%) */
.product-hero__gallery {
  display: flex !important;
  flex: 1 1 60%;
  width: 60%;
  height: auto;
  min-height: 600px;
  background-color: var(--bg-primary);
}

.product-main-image {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-primary);
  border-radius: 0;
  overflow: hidden;
  padding: 0;
}

.product-main-image img {
  max-width: 100%;
  height: auto;
  display: block;
  width: 100%;
  object-fit: contain;
}

/* Заголовок */
.product-title {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
  margin: 0;
}

/* Описание */
.product-excerpt {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.product-excerpt p {
  margin: 0;
}

/* Карусель галереи */
.product-gallery-carousel {
  margin: 20px 0;
}

.product-carousel {
  max-width: 100%;
}

.product-carousel .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  background-color: var(--bg-secondary);
  border-radius: 8px;
  overflow: hidden;
}

.product-carousel .swiper-slide img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.product-carousel .swiper-pagination-bullet {
  background-color: var(--text-primary);
  opacity: 0.3;
}

.product-carousel .swiper-pagination-bullet-active {
  background-color: var(--accent);
  opacity: 1;
}

/* Цена */
.product-price {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
}

.product-price .price-label {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-secondary);
  margin-right: 8px;
}

/* ===== КНОПКИ МАРКЕТПЛЕЙСОВ ===== */
.marketplace-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.marketplace-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 16px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
  text-align: center;
  border: 2px solid var(--accent);
}

/* СВЕТЛАЯ ВЕРСИЯ */
.product-page--standard .marketplace-btn {
  background-color: transparent;
  color: var(--text-primary);
  border-color: var(--accent);
}

.product-page--standard .marketplace-btn:hover {
  background-color: var(--accent);
  color: #ffffff;
}

/* ТЕМНАЯ ВЕРСИЯ */
.product-page--premium .marketplace-btn {
  background-color: transparent;
  color: #ffffff;
  border-color: var(--accent);
}

.product-page--premium .marketplace-btn:hover {
  background-color: var(--accent);
  color: #000000;
}

.marketplace-btn .btn-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 12px;
  border-radius: 4px;
  background-color: var(--accent);
  color: #fff;
}

.product-page--premium .marketplace-btn .btn-icon {
  background-color: var(--accent);
}

.marketplace-btn--wildberries .btn-icon {
  background-color: #e42313;
}

.marketplace-btn--ozon .btn-icon {
  background-color: #f16334;
}

.marketplace-btn--yandex .btn-icon {
  background-color: #ffcc00;
  color: #000;
}

.marketplace-btn--avito .btn-icon {
  background-color: #3aafcc;
}

/* ===== ПОЛНОЕ ОПИСАНИЕ ТОВАРА ===== */
.product-content {
  padding: 60px 20px;
  background-color: var(--bg-primary);
}

.product-content__inner {
  max-width: 1000px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-secondary);
}

.product-content__inner p {
  margin-bottom: 16px;
}

.product-content__inner h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 32px 0 16px 0;
}

.product-content__inner h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 24px 0 12px 0;
}

.product-content__inner ul,
.product-content__inner ol {
  margin: 16px 0;
  padding-left: 24px;
}

.product-content__inner li {
  margin-bottom: 8px;
}

/* ===== БЛОК "СМОТРИТЕ ТАКЖЕ" ===== */
.product-related {
  padding: 60px 20px;
  background-color: var(--bg-primary);
  border-top: 1px solid var(--border);
}

.product-related__container {
  max-width: 1400px;
  margin: 0 auto;
}

.product-related__title {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 40px 0;
  text-align: center;
}

.related-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.related-product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-page--standard .related-product-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border);
}

.product-page--premium .related-product-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border);
}

.related-product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.card-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background-color: var(--bg-secondary);
}

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

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

.card-info {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 12px;
}

.card-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
}

.card-title a {
  color: var(--text-primary);
  text-decoration: none;
}

.card-title a:hover {
  color: var(--accent);
}

.card-price {
  font-size: 16px;
  font-weight: 700;
  color: var(--accent);
}

.card-link {
  align-self: flex-start;
  padding: 8px 12px;
  background-color: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.card-link:hover {
  background-color: var(--accent);
}

.product-page--standard .card-link:hover {
  color: #ffffff;
}

.product-page--premium .card-link:hover {
  color: #000000;
}

/* ===== КАРУСЕЛЬ ПОХОЖИХ ТОВАРОВ ===== */
.related-products-carousel {
  max-width: 100%;
  position: relative;
}

.related-products-carousel .swiper-slide {
  height: auto;
  display: flex;
}

.related-products-carousel .swiper-pagination {
  bottom: -40px;
}

.related-products-carousel .swiper-pagination-bullet {
  background-color: var(--text-primary);
  opacity: 0.3;
}

.related-products-carousel .swiper-pagination-bullet-active {
  background-color: var(--accent);
  opacity: 1;
}

.related-products-carousel .swiper-button-prev,
.related-products-carousel .swiper-button-next {
  color: var(--accent);
  width: 44px;
  height: 44px;
  background-color: transparent;
  border: 2px solid var(--accent);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
}

.related-products-carousel .swiper-button-prev::after,
.related-products-carousel .swiper-button-next::after {
  font-size: 18px;
  font-weight: bold;
}

.related-products-carousel .swiper-button-prev:hover,
.related-products-carousel .swiper-button-next:hover {
  background-color: var(--accent);
}

.product-page--standard .related-products-carousel .swiper-button-prev:hover::after,
.product-page--standard .related-products-carousel .swiper-button-next:hover::after {
  color: #ffffff;
}

.product-page--premium .related-products-carousel .swiper-button-prev:hover::after,
.product-page--premium .related-products-carousel .swiper-button-next:hover::after {
  color: #000000;
}

/* ===== АДАПТИВ ===== */
@media (max-width: 1024px) {
  .product-hero {
    border-bottom: 1px solid var(--border);
  }

  .product-hero__container {
    flex-direction: column;
    gap: 0;
  }

  .product-hero__info {
    width: 100%;
    padding: 40px 20px;
    background: var(--bg-primary);
    order: 2;
  }

  .product-hero__gallery {
    width: 100%;
    order: 1;
    min-height: 500px;
  }

  .product-title {
    font-size: 28px;
  }

  .related-products-carousel {
    margin: 0 -20px;
    padding: 0 20px;
  }
}

/* На планшетах: стандартный вертикальный layout */
@media (max-width: 768px) {
  .product-hero {
    border-bottom: 1px solid var(--border);
  }

  .product-hero__container {
    flex-direction: column;
    gap: 0;
  }

  .product-hero__gallery {
    width: 100%;
    order: 1;
    min-height: 350px;
  }

  .product-hero__info {
    width: 100%;
    order: 2;
    padding: 20px 16px;
    gap: 20px;
    background: var(--bg-primary);
  }

  .product-page--standard .product-hero__info {
    background: #ffffff;
  }

  .product-page--premium .product-hero__info {
    background: #1a1a1a;
  }

  .product-main-image {
    min-height: 350px;
  }

  .product-title {
    font-size: 24px;
    margin-bottom: 8px;
  }

  .product-excerpt {
    font-size: 15px;
    margin-bottom: 12px;
  }

  .product-price {
    font-size: 24px;
    margin-bottom: 12px;
  }

  .marketplace-buttons {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .product-content {
    padding: 24px 16px;
  }

  .product-related {
    padding: 24px 16px;
  }

  .product-related__title {
    font-size: 22px;
    margin-bottom: 20px;
  }

  .related-products-carousel {
    margin: 0 -16px;
    padding: 0 16px;
  }

  .related-products-carousel .swiper-button-prev,
  .related-products-carousel .swiper-button-next {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 480px) {
  .product-hero {
    border-bottom: 1px solid var(--border);
  }

  .product-hero__container {
    gap: 0;
  }

  .product-hero__gallery {
    min-height: 300px;
  }

  .product-main-image {
    min-height: 300px;
  }

  .product-hero__info {
    padding: 16px 12px;
    gap: 16px;
  }

  .product-title {
    font-size: 20px;
    margin-bottom: 6px;
  }

  .product-excerpt {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 10px;
  }

  .product-carousel {
    margin: 10px 0;
  }

  .product-carousel .swiper-slide {
    aspect-ratio: 1 / 1;
  }

  .product-price {
    font-size: 20px;
    margin-bottom: 12px;
  }

  .product-price .price-label {
    font-size: 12px;
  }

  .marketplace-buttons {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .marketplace-btn {
    padding: 12px 12px;
    font-size: 13px;
  }

  .marketplace-btn .btn-icon {
    width: 20px;
    height: 20px;
    font-size: 10px;
  }

  .product-content {
    padding: 20px 12px;
  }

  .product-content__inner {
    font-size: 14px;
  }

  .product-content__inner h2 {
    font-size: 20px;
    margin: 24px 0 12px 0;
  }

  .product-content__inner h3 {
    font-size: 16px;
    margin: 18px 0 10px 0;
  }

  .product-related {
    padding: 20px 12px;
  }

  .product-related__title {
    font-size: 18px;
    margin-bottom: 16px;
  }

  .related-products-carousel {
    margin: 0 -12px;
    padding: 0 12px;
  }

  .related-products-carousel .swiper-button-prev,
  .related-products-carousel .swiper-button-next {
    width: 36px;
    height: 36px;
    top: 25%;
  }

  .related-products-carousel .swiper-pagination {
    bottom: -35px;
  }
}
