@font-face {
  font-family: 'CocoGothicSmallCaps';
  src: url('../fonts/CocoGothicSmallCaps/CocoGothicSmallCaps-Light.woff2') format('woff2'),
       url('../fonts/CocoGothicSmallCaps/CocoGothicSmallCaps-Light.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

  @font-face {
    font-family: 'CocoGothicSmallCaps';
    src: url('../fonts/CocoGothicSmallCaps/CocoGothicSmallCaps-Regular.woff2') format('woff2'),
         url('../fonts/CocoGothicSmallCaps/CocoGothicSmallCaps-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
  }
  
  @font-face {
    font-family: 'CocoGothicSmallCaps';
    src: url('../fonts/CocoGothicSmallCaps/CocoGothicSmallCaps-Bold.woff2') format('woff2'),
         url('../fonts/CocoGothicSmallCaps/CocoGothicSmallCaps-Bold.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
  }
  
  @font-face {
    font-family: 'CocoGothicSmallCaps';
    src: url('../fonts/CocoGothicSmallCaps/CocoGothicSmallCaps-Bold.woff2') format('woff2'),
         url('../fonts/CocoGothicSmallCaps/CocoGothicSmallCaps-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
  }

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend, caption,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  vertical-align: baseline; }

html, footer, header {
  font-family: "CocoGothicSmallCaps";
  font-size: 18px;
  color: #0e0e0e;
  font-weight: 300; }

body {
    background-color: #000; 
    color: #fff;
}
a {
  text-decoration: none;
  color: inherit;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  transition: all 0.3s ease; }
  a:hover {
    text-decoration: none;
    color: inherit; }
.woocommerce-product-gallery__image img {
  cursor: pointer !important; }

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

.alignleft {
  display: inline;
  float: left;
  margin-right: 1.5em;
  margin-bottom: 15px; }

.alignright {
  display: inline;
  float: right;
  margin-left: 1.5em;
  margin-bottom: 15px; }

.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 15px; }

@media only screen and (max-width: 550px) {
  .alignleft, .alignright, .aligncenter {
    float: none;
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto; } }

@media (min-width: 1200px) {
  .container {
    max-width: 100%; } }

@media screen and (max-width: 1200px) {
  .container {
    max-width: 100%; } }

#page {
  padding-top: 0px; }

.woocommerce-breadcrumb {
    display: none;
}
/* HEADER  */
/* === Основний хедер === */
.site-header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 9999;
	padding: 10px 0;
	background: transparent;
	display: flex;
	justify-content: center;
	align-items: center;
	transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header:hover {
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	background-color: rgba(255, 255, 255, 0.2) !important;
}

/* === Контейнер сітки === */
.site-header-row {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	width: 100%;
	max-width: 1440px;
	padding: 0 50px;
	box-sizing: border-box;
	column-gap: 50px;
	margin: 0 auto;
	gap: 100px;
}

/* === Ліве та праве меню === */
.site-header-left-menu,
.site-header-right-menu {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
}

.site-header-left-menu ul,
.site-header-right-menu ul {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 20px;
}

.site-header-left-menu a,
.site-header-right-menu a {
	text-decoration: none;
	color: #000;
	font-size: 12px;
	font-weight: 500;
	text-transform: uppercase;
}

/* === Логотип по центру === */
.site-header-logo {
	display: flex;
	justify-content: center;
	align-items: center;
}

.site-header-logo img {
	height: 70px;
	width: auto;
}

/* --- Меню --- */
.site-header-right-menu {
	display: flex;
	align-items: center;
}

.site-header-right-menu ul {
	display: flex;
	gap: 10px;
}

/* === Пошук + мови — ТЕПЕР flex всередині блоку, не абсолютне позиціювання === */
.header-right-items {
	white-space: nowrap;
	font-size: 10px;
	display: flex;
	gap: 5px;
	align-items: center;
	justify-content: flex-end;
	position: absolute;
	right: 50px;
	top: 50%;
	transform: translateY(-50%);
	z-index: 3;
	font-weight: 500;
}

/* === Пошук === */
.header-search-container {
	display: flex;
	align-items: center;
	position: relative;
}

.search-form {
	display: flex;
	align-items: center;
	position: relative;
}

.search-field {
	width: 0;
	opacity: 0;
	padding: 0;
	border: none;
	background-color: transparent;
	color: #000;
	transition: all 0.3s ease;
}

.search-form:hover .search-field {
	font-family: 'CocoGothicSmallCaps';
	font-size: 14px;
	width: 130px;
	opacity: 1;
	padding: 5px 10px;
	background-color:rgba(255, 255, 255, 0.7);
	border: 1px solid #ccc;
	border-radius: 4px;
	margin-left: 8px;
}
/* 🔹 СТИЛІ ДЛЯ ХРЕСТИКА (скидання пошуку в Chrome/Safari) */
.search-field::-webkit-search-cancel-button {
    -webkit-appearance: none;
    height: 16px;
    width: 16px;
    background: url("data:image/svg+xml,%3Csvg stroke='black' fill='black' stroke-width='2' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E") no-repeat center;
    background-size: 12px 12px;
    cursor: pointer;
}
.search-toggle {
	background: none !important;
	border: none;
	box-shadow: none;
}

.live-search-results {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	background: rgba(255, 255, 255, 0.6); /* напівпрозорий білий */
	border: 1px solid #ccc;
	box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
	z-index: 1000;
	max-height: 300px;
	overflow-y: auto;
	backdrop-filter: blur(4px); /* необов'язково: розмиття */
	transition: all 0.3s ease;
}

.live-search-results ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.live-search-results li {
	padding: 10px 14px;
	border-bottom: 1px solid #eee;
	color: #000;
	font-weight: 500;
	cursor: pointer;
}
.live-search-results li:hover {
	background: rgba(0, 0, 0, 0.05);
}



.header-wishlist-icon {
    margin: 0 10px; /* Додає відступи по боках */
    cursor: pointer;
    text-decoration: none;
    color: #000;
}

.header-wishlist-icon svg {
    display: block;
}

/* === Мовний перемикач === */
.language-switcher {
	display: flex;
	gap: 5px;
	font-size: 12px;
	white-space: nowrap;
}

.language-switcher a {
	text-decoration: none;
	color: #000;
}

.language-switcher a:hover {
	text-decoration: underline;
}

/* --- Основний стиль меню --- */
#left-menu,
#right-menu {
	display: flex;
	align-items: center;
}

#left-menu > li,
#right-menu > li {
	list-style: none;
	position: relative;
	margin: 0 80px;
}

#left-menu > li > a,
#right-menu > li > a {
	position: relative;
	display: inline-block;
	padding-bottom: 5px;
	text-decoration: none;
}

#left-menu > li > a::after,
#right-menu > li > a::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 0;
	height: 1px;
	background-color: #000;
	transition: width 0.3s ease;
}

#left-menu > li > a:hover::after,
#right-menu > li > a:hover::after {
	width: 100%;
}

/* --- Підменю --- */
#left-menu ul.sub-menu,
#right-menu ul.sub-menu {
	display: flex;
	flex-direction: column;
	align-items: center;
	row-gap: 10px;
	background-color: rgba(255, 255, 255, 0.2) !important;
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	border-radius: 4px;
	width: max-content;
	min-width: 100%;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: all 0.3s ease;
	padding: 5px 0;
	z-index: 99;
}

#left-menu ul.sub-menu li,
#right-menu ul.sub-menu li {
	margin: 0;
	padding: 0;
}

#left-menu li.menu-item-has-children:hover > ul.sub-menu,
#right-menu li.menu-item-has-children:hover > ul.sub-menu {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

#left-menu li.menu-item-has-children,
#right-menu li.menu-item-has-children {
	position: relative;
}

#left-menu ul.sub-menu li a,
#right-menu ul.sub-menu li a {
	display: block;
	padding: 10px 20px;
	color: #0e0e0e;
	transition: background-color 0.3s ease;
}

#left-menu li.menu-item-has-children > a::after,
#right-menu li.menu-item-has-children > a::after {
	display: none;
}

/* За замовчуванням: десктопне видно, мобільне сховане */
.desktop-only {
	display: block;
}

.mobile-only {
	display: none;
}



@media (max-width: 768px) {

    .desktop-only {
        display: none;
    }
    .mobile-only {
        display: flex;
        width: 100%;
    }

    .site-header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 60px;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);		
    background-color: rgba(255, 255, 255, 0.2);
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0 15px;
        z-index: 1000;
    }

    .mobile-logo {
        position: absolute;
        top: 10px; /* піднято на 10px */
        left: 50%;
        transform: translateX(-50%);
    }

    .mobile-logo img {
        height: 40px;
        width: auto;
    }

    .burger-menu {
        position: absolute;
        top: 15px; /* піднято на 10px */
        right: 15px;
        width: 25px;
        height: 20px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        cursor: pointer;
        z-index: 1100;
    }

    .burger-menu span {
        display: block;
        height: 3px;
        width: 100%;
        background-color: #000;
        border-radius: 2px;
    }

    .language-switcher {
        position: absolute;
        right: 50px;
        font-size: 10px;  /* зменшено шрифт */
    }

    .mobile-menu {
        position: absolute;
        top: 60px; /* під хедером */
        left: 0;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        z-index: 999;
    }


.mobile-menu.menu-show {
    max-height: 1000px; /* або: max-height: 100vh; */
}


    .mobile-menu ul {
        list-style: none;
        padding: 20px;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .mobile-menu a {
        text-decoration: none;
        color: #000;
        font-size: 16px;
    }
	.header-search-container.desktop-only {
        display: none;
    }
    .mobile-menu .header-search-container {
        display: block; /* Забезпечуємо, що вона відображається в мобільному меню */
        margin: 15px 0; /* Відступи всередині мобільного меню */
        padding: 0 20px; /* Внутрішні відступи для форми в мобільному меню */
    }
    .mobile-menu .header-search-container .search-form {
        display: flex; /* Забезпечуємо, що іконка-перемикач і поле вводу вирівняні */
        width: 100%;
    }
    /* У мобільному меню ми показуємо іконку-перемикач, якщо хочемо, щоб вона відкривала поле,
       або просто приховуємо її, якщо поле завжди видно */
    .mobile-menu .header-search-container .search-toggle {
        font-size: 20px; /* Розмір іконки */
        margin-right: 10px; /* Відступ від поля */
    }
    .mobile-menu .header-search-container .search-toggle svg {
        width: 20px;
        height: 20px;
    }

    .mobile-menu .header-search-container .search-field {
        width: 100%; /* Поле займає всю доступну ширину */
        opacity: 1;
        visibility: visible;
        margin-left: 0;
        /* У мобільній версії не потрібна анімація "виїжджання", якщо вона завжди видима */
    }
    .mobile-menu .header-search-container .search-submit {
        display: none; /* Приховуємо внутрішню кнопку відправки на мобільних, якщо форма відправляється по Enter */
    }
}


/* END HEADER  */
/* --- Футер (Версія з ідеальним центруванням) --- */

/* 1. Основний контейнер футера */
.site-footer {
    background-color: #000;
    color: #fff;
    padding: 30px 5%;
    font-family: inherit;
}

/* 2. Сітка для віджетів (ОНОВЛЕНО ДЛЯ ЦЕНТРУВАННЯ) */
.footer-widgets-container {
    display: grid;
    /* НОВА ЛОГІКА: Бічні колонки займають рівний гнучкий простір,
       а центральна - лише ширину свого контенту.
       Це гарантує ідеальне центрування середньої колонки. */
    grid-template-columns: 1fr auto 1fr;
    gap: 180px; /* Відстань між колонками */
    margin-bottom: 40px;
    align-items: flex-start;
}

/* 3. Стилізація контенту віджетів (ОНОВЛЕНО) */
.footer-widget-area {
    display: flex;
    flex-direction: column;
}

/* Перша колонка (Лого) - вирівнюємо її вміст по правому краю */
.footer-widget-area.first-column {
    align-items: flex-end;
    text-align: right;
}

/* Друга колонка (Меню) - по центру */
.footer-widget-area.second-column {
    align-items: center;
    text-align: center;
}

/* Третя колонка (Час роботи) - вирівнюємо її вміст по лівому краю */
.footer-widget-area.third-column {
    align-items: flex-start;
    text-align: left;
}


.footer-widget-area h4.widget-title {
    font-size: 1.1em;
    margin-bottom: 15px;
    font-weight: bold;
    text-transform: uppercase;
}

.footer-logo {
    max-width: 120px;
    height: auto;
}

/* Меню */
.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-menu li {
    list-style-type: none !important;
    margin-bottom: 8px;
}
.footer-menu a {
    color: #fff;
    text-decoration: none;
    font-size: 0.95em;
    transition: color 0.3s;
}
.footer-menu a:hover {
    color: #aaa;
}

/* Час роботи */
.work-time-text {
    line-height: 1.4;
    color: #ccc;
    font-size: 0.95em;
    margin-bottom: 20px;
}

/* Іконки соцмереж */
.social-icons {
    display: flex;
    gap: 15px;
}
.social-icons a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s;
}
.social-icons a:hover {
    opacity: 0.7;
}
.social-svg-icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
}


/* 4. Нижня частина (копірайт) */
.site-footer-bottom {
    border-top: 1px solid #333;
    padding-top: 30px;
}
.copyright {
    text-align: center;
    opacity: 0.6;
    font-size: 0.9em;
    margin: 0;
}

/* Адаптивність для мобільних */
@media (max-width: 768px) {
    .footer-widgets-container {
        grid-template-columns: 1fr; /* Одна колонка */
        gap: 40px;
    }
    .footer-widget-area.first-column,
    .footer-widget-area.second-column,
    .footer-widget-area.third-column {
        align-items: center; /* Все по центру на мобільних */
        text-align: center;
    }
}
/* --- Стилізація для звичайної текстової сторінки --- */

/* 1. Заголовок сторінки */
body.page .entry-title {
    text-align: center; /* Центруємо заголовок */
    margin-top: 60px;   /* Відступ зверху */
    margin-bottom: 40px;/* Відступ знизу до тексту */
    color: #fff;
    font-size: 2.8em;
	font-weight: 400;     /* Білий колір для заголовка */
}

/* 2. Основний контент */
body.page .entry-content {
    /* Обмежуємо ширину для кращої читабельності та центруємо блок */
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;

    color: #ccc; /* Світло-сірий колір для тексту */
    line-height: 1.7; /* Збільшуємо міжрядковий інтервал */
}

/* 3. Відступи для абзаців */
body.page .entry-content p {
    margin-bottom: 1.5em; /* Вертикальний відступ між абзацами */
}
/* HOMEPAGE */

section {
    margin-bottom: 20px;
}

.hero-video {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.hero-video .video-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-video .video-wrapper video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
}

.new-collection {
    padding: 0;
    margin: 0 0 20px 0; /* Додано нижній відступ 40px */
    width: 100%;
}


.collection-header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px; /* Збільшено відступ між заголовком та галереєю */
    padding: 0px; /* Додано відступи з боків для вирівнювання з галереєю */
}

.collection-header-wrapper h2 {
    margin: 0px;
    font-size: 28px; /* Збільшено розмір заголовка */
    font-weight: 300;
}

.collection-header-wrapper .view-all {
    display: inline-block;
    padding: 10px 20px;
    text-decoration: none;
    color: #fff; /* Білий колір тексту кнопки */
   
    border-radius: 5px;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.collection-header-wrapper .view-all:hover {
    background-color: #555;
}

.slider-wrapper {
    position: relative;
    overflow: hidden;
	 width: 100%;
}

.gallery-slider {
    display: flex;
    overflow-x: scroll;
    scroll-behavior: smooth;
    flex-wrap: nowrap;
    scrollbar-width: none;
    -ms-overflow-style: none;
	line-height: 0; /* додати оце! */
}


.gallery-slider::-webkit-scrollbar {
    display: none;
}

.product {
    flex: 0 0 33.3333%;
    box-sizing: border-box;
    padding-right: 0px;
}

.product:last-child {
     padding-right: 0;
}

.product img {
    width: 100%;
    height: auto; /* Збереження пропорцій */
    display: block;
    object-fit: cover; /* Заповнення контейнера з обрізкою */
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 2rem;
    color: rgba(0, 0, 0, 0.5); /* Напівпрозорий колір кнопок */
    cursor: pointer;
    z-index: 10;
    padding: 10px;
    transition: color 0.3s ease;
}

.slider-btn:hover {
    color: rgba(0, 0, 0, 0.8);
}

.slider-btn.prev {
    left: 0px;
    margin-right: 10px;
}

.slider-btn.next {
    right: 0px;
    margin-left: 10px;
}

/* Адаптивність */
@media (max-width: 1024px) {
    .product {
        flex: 0 0 calc(50% - 20px); /* Дві фотографії на планшетах */
        margin-right: 20px;
    }
}

@media (max-width: 768px) {
.hero-video,
    .prodaction-video {
        height: auto; /* Використовуємо автоматичну висоту */
        margin-bottom: 20; /* <-- Прибираємо нижній відступ для відео-секцій на мобільних */
        padding: 0; /* <-- Прибираємо padding, якщо є */
    }
    .hero-video .video-wrapper,
    .prodaction-video .video-wrapper {
        position: static; /* Прибираємо абсолютне позиціонування */
        transform: none; /* Прибираємо трансформацію */
        width: 100%; /* Ширина 100% контейнера */
        height: auto; /* Висота автоматична */
        min-width: 0; /* Прибираємо мінімальну ширину */
        min-height: 0; /* Прибираємо мінімальну висоту */
    }

    .hero-video .video-wrapper video,
    .prodaction-video .video-wrapper video {
        position: static; /* Прибираємо абсолютне позиціонування */
        transform: none; /* Прибираємо трансформацію */
        width: 100%; /* Відео займає 100% ширини батьківського контейнера */
        height: auto; /* Висота автоматична для збереження пропорцій */
        min-width: 0; /* Прибираємо мінімальну ширину */
        min-height: 0; /* Прибираємо мінімальну висоту */
        object-fit: contain; /* Використовуємо contain, щоб відео повністю вміщалося без обрізки */
    }


    .product {
        flex: 0 0 100%; /* Одна фотографія на мобільних */
        margin-right: 0;
    }

    .collection-header-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }

    .collection-header-wrapper .view-all {
        margin-top: 10px;
    }

    .slider-btn {
        font-size: 1rem;
    }

    /* 2. Менший шрифт заголовку колекції */
    .collection-header-wrapper h2 {
        font-size: 20px; /* Зменшуємо розмір заголовка */
    }

    /* 3. Менший шрифт кнопки "View All" */
    .collection-header-wrapper .view-all {
        font-size: 14px; /* Зменшуємо розмір шрифту кнопки */
        padding: 8px 15px; /* Можливо, також зменшити padding для компактності */
    }
}

/* Додаткові стилі, які були в кінці вашого файлу */
.product {
    text-align: center; /* Це може перебити вирівнювання flex-item */
}

.product img {
    max-height: none; /* Видалено обмеження максимальної висоти */
    object-fit: cover; /* Перевизначено на cover */
    margin: 0; /* Видалено автоматичні відступи */
}

.slider-wrapper {
    display: flex; /* Це може конфліктувати з flex-direction: row у .gallery-slider */
    align-items: center; /* Вирівнювання по вертикалі */
}

.slider-btn {
    font-size: 2rem;
    color: white; /* Перевизначено колір кнопок */
    z-index: 2;
    padding: 10px;
}

.slider-btn.prev {
    margin-right: -40px; /* Корегування відступу */
}

.slider-btn.next {
    margin-left: -40px; /* Корегування відступу */
}


.prodaction-video {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.prodaction-video .video-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.prodaction-video .video-wrapper video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
}

/* end HOMEPAGE */


/* Collections */

.dress-collection {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  justify-content: center;
  margin: 0;
  padding: 0;
}

.dress-item {
  flex: 0 0 calc((100% - 6px) / 3); /* 3 items + 2 gaps (по 3px) */
  max-width: calc((100% - 6px) / 3);
  box-sizing: border-box;
  text-decoration: none;
  overflow: hidden;
  position: relative;
}

@media (max-width: 1024px) {
  .dress-item {
    flex: 0 0 calc((100% - 3px) / 2);
    max-width: calc((100% - 3px) / 2);
  }
}

@media (max-width: 600px) {
  .dress-item {
    flex: 0 0 100%;
    max-width: 100%;
  }
}


.dress-img {
  background-size: cover;
  background-position: center;
  aspect-ratio: 2/3;
  transition: transform 0.3s ease;
  position: relative;
}

.dress-item:hover .dress-img {
  transform: scale(1.02);
}

.hover-shadow {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 40%;
  background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  padding: 15px;
}

.dress-item:hover .hover-shadow {
  opacity: 1;
}

.dress-title {
  color: white;
  font-size: 1.1rem;
  font-weight: 300;
  text-shadow: 0 1px 3px rgba(0,0,0,0.7);
}
@media (max-width: 768px) {
    .hover-shadow {
        opacity: 1 !important; /* одразу показуємо тінь і назву */
        transition: none !important; /* вимикаємо анімацію */
    }

    .dress-img {
        transition: none !important; /* вимикаємо збільшення картинки */
    }
}


/* END Collections */

/* product*/
/* Контейнер сторінки товару */
.product-flex-container {
    display: flex;
    align-items: flex-start;
   
    margin: 0 auto !important;
}


.product-gallery-left {
    width: 47% !important;
    flex-shrink: 0;
    margin: 0 auto !important; /* Центруємо вміст у лівій колонці */
}

.product-header {
	
    display: inline-flex; /* Створює єдиний блок "назва + іконка" */
    align-items: center;    /* Вирівнює їх по вертикалі */
    gap: 15px;            /* Додає фіксований відступ між ними */
    margin-bottom: 20px;    /* Відступ знизу до опису */
}

.wishlist-icon {
    cursor: pointer;
}

.wishlist-icon .heart-icon {
    width: 30px; /* Збільшимо розмір, щоб вона була помітною */
    height: 30px;
    color: #fff; /* Білий колір для порожнього сердечка */
    transition: all 0.3s ease;
}

.wishlist-icon.active .heart-icon {
    fill: red; /* Заповнений колір */
    color: red; /* Заповнений колір */
}
/* Галерея — стилі */
.custom-gallery {
	width: 100%;
	display: flex;
	flex-direction: column;
}

.video-js.vjs-has-started .vjs-poster {
    display: none !important;
}

.single-product .wp-post-image {
	display: none !important;
}


.custom-gallery .gallery-item {
	margin: 0; /* видаляємо відступи між фото */
}

.custom-gallery .gallery-item img {
	width: 100%;
	height: auto;
	object-fit: contain;
	display:block;
}
.gallery-item.video-item iframe {
	 width: 100% ;
    height: auto ;
    aspect-ratio: 16 / 9;
    
}
/* Примусово обмежуємо ширину і висоту відео, щоб уникнути конфліктів */
.video-js, .video-js iframe, .video-js .vjs-tech {
    max-width: 960px !important;

}
.product-info-right {

	 width: 53%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 2rem;
    position: sticky;
    top: 60px;
}

.product_title {
	 color: white;
  font-size: 1.1rem;
  font-weight: 300;
}

/* Стилі для контейнера кнопок навігації */
.post-navigation {
    display: flex;
    justify-content: space-between; /* Розташовує кнопки по краях контейнера */
    align-items: center; /* Вирівнює кнопки по вертикалі */
    width: 100%;
    margin-top: 20px !important; /* Відступ від опису */
}

/* Стилі для самих кнопок */
.nav-button {
    text-decoration: none;
    cursor: pointer;
    background: none;
    border: none; /* Прибирає обрамлення */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px; /* Відступи всередині кнопки для зручності натискання */
    transition: all 0.3s ease;
}

/* Стилі для стрілок всередині кнопок */
.arrow-left, .arrow-right {
    display: inline-block;
    width: 15px;
    height: 15px;
    border-top: 2px solid #fff;
    border-left: 2px solid #fff;
    transition: border-color 0.3s ease;
}

/* Напрямок стрілок */
.arrow-left {
    transform: rotate(-45deg);
}

.arrow-right {
    transform: rotate(135deg);
}

/* Зміна кольору стрілки при наведенні на кнопку */
.nav-button:hover .arrow-left,
.nav-button:hover .arrow-right {
    border-color: #ccc;
}

@media (max-width: 768px) {
    .product-flex-container {
        flex-direction: column; /* розташовуємо блоки вертикально */
    }

    .product-gallery-left,
    .product-info-right {
        width: 100% !important; /* обидва блоки на всю ширину */
    }

    .product-info-right {
        position: static; /* вимикаємо sticky на мобільному, щоб блок ішов під галереєю */
        padding: 1rem; /* трохи менший відступ, якщо треба */
    }
}

/* ==========================================================================
   Stores Archive - Custom Layout
   ========================================================================== */

/* Відступи для всієї сторінки */


/* Заголовок "Наші магазини" */
.page-header {
    text-align: center; /* Центруємо заголовок */
    margin-bottom: 50px; /* Відступ від блоків з країнами */
}

.page-title {
    font-size: 3em; /* Робимо шрифт більшим */
    color: #fff; /* Білий колір */
    text-transform: uppercase;
	font-weight: normal;
}
/* ==========================================================================
   Стилі для фільтра (прозорий, білий текст)
   ========================================================================== */
body.post-type-archive-stores #primary {
    padding: 80px;
    box-sizing: border-box;
    background-color: #000;
    color: #fff;
}
/* Контейнер для фільтра */
.filter-section {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto 50px;
    text-align: center;
}

/* Форма фільтра */
#store-filter-form {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Стилі для випадаючого списку (сам select) */
#country-filter-select {
    background-color: transparent;
    color: #fff;
    border: none; /* Забираємо повну рамку */
    border-bottom: 1px solid #fff; /* Залишаємо лише нижню лінію */
    padding: 10px 30px 10px 15px; /* Збільшуємо відступи, щоб значок не налізав */
    width: auto; /* Дозволяємо ширині адаптуватися до вмісту */
    min-width: 200px; /* Встановлюємо мінімальну ширину */
    font-size: 1.2em;
    font-weight: normal;
    font-family: inherit; /* Встановлюємо шрифт як у всієї теми */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
    background-image: url('data:image/svg+xml;utf8,<svg fill="white" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/><path d="M0 0h24v24H0z" fill="none"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 15px;
}

/* Стиль випадаючого списку при фокусі */
#country-filter-select:focus {
    outline: none;
    border-color: #0073aa;
}

/* Стиль опцій у випадаючому списку */
#country-filter-select option {
    background-color: #000;
    color: #fff;
}

/* Заголовок країни */
.country-heading {
    font-size: 2em;
    padding-bottom: 10px;
    margin-top: 50px;
    margin-bottom: 20px;
    text-transform: uppercase;
    border-bottom: none; /* Прибираємо нижню межу */
font-weight: normal;
}

/* Контейнер-сітка для магазинів */
.store-grid {
    display: grid;
    grid-template-columns: 1.5fr 1.5fr 1.5fr 1.5fr 1fr;
    gap: 1px;
    border: none;
    margin: 0 20px; /* Додаємо відступи, щоб сітка була вирівняна */
}

/* Рядок даних */
.store-row {
    display: contents;
}

/* Клітинка з даними */
.store-cell {
    padding: 15px 10px;
    border-bottom: none; /* Прибираємо нижню межу */
    border-right: none; /* Прибираємо праву межу */
    background-color: transparent; /* Робимо фон прозорим */
    color: #fff; /* Забезпечуємо білий колір тексту */
}
/* Стиль для останньої клітинки в рядку (кнопка "Показати на карті") */
.store-cell:last-child {
    text-align: center; /* Вирівнюємо лише останній стовпець по центру */
}

/* Стилі для кнопки "Показати на карті" */
.button-link {
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.button-link:hover {
    color: #0073aa; /* Змінюємо колір при наведенні */
}


/* Стиль для кожної клітинки в рядку */
.store-cell {
    text-align: left; /* Залишаємо вирівнювання по лівому краю за замовчуванням */
}

/* Стиль для останньої клітинки в рядку (кнопка "Показати на карті") */
.store-cell:last-child {
    text-align: center; /* Вирівнюємо лише останній стовпець по центру */
}

@media (max-width: 1024px) {
	body.post-type-archive-stores #primary {
        padding: 90px 10px; /* Відступи від країв */
    }
	.page-header h1, h1 {
    font-size: 1.5em; /* Зменшуємо розмір шрифту */
    font-weight: normal;
    text-transform: uppercase;
    text-align: center;
}

/* Стилі для заголовка країни, наприклад "ПОЛЬЩА" */
.country-heading {
    font-size: 1.2em; /* Зменшуємо розмір шрифту */
    padding-bottom: 10px;
    margin-top: 50px;
    margin-bottom: 20px;
    text-transform: uppercase;
    border-bottom: 1px solid #fff;
    font-weight: normal;
}
    /* Змінюємо макет сітки для мобільних пристроїв */
    .store-grid {
        display: block; /* Вимикаємо сітку на мобільних пристроях */
    }

    /* Стилі для кожного рядка магазину */
    .store-row {
        display: block;
        border-bottom: 1px solid #fff;
        padding-bottom: 20px;
        margin-bottom: 20px;
    }

    /* Стилі для кожної клітинки */
    .store-cell {
        display: block;
        padding: 5px 0;
        text-align: left;
    }

    /* Стиль для назви магазину (перша клітинка) */
    .store-row .store-cell:first-child {
        text-align: center;
        font-weight: bold;
        font-size: 1em;
        margin-bottom: 10px;
    }

    /* Використовуємо Flexbox для розташування полів у дві колонки */
    .store-row {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    /* Стилі для кожної клітинки, щоб створити дві колонки */
    .store-cell {
        width: 48%; /* Приблизно половина ширини */
    }

    /* Стилі для назви магазину (перша клітинка) */
    .store-row .store-cell:first-child {
        width: 100%; /* Назва має займати всю ширину */
        text-align: center;
        font-weight: bold;
        font-size: 1em;
        margin-bottom: 10px;
    }

    /* Стилі для кнопки "На мапі" */
    .store-row .store-cell:last-child {
        width: 100%; /* Кнопка має займати всю ширину */
        text-align: center;
        margin-top: 15px;
    }
}
/* Стилі для сторінки вішліста */
.wishlist-page .entry-header {
    text-align: center;
	padding-top: 30px;
    margin-bottom: 30px; /* Трохи опускаємо заголовок */
}

.wishlist-page .entry-title {
	
    font-size: 3em; /* Великий розмір шрифту */
    text-transform: uppercase;
    font-weight: 400;
    letter-spacing: 0.1em;
    color: #fff; /* Білий колір тексту */
}

/* Стилі для контенту на повну ширину */
.wishlist-page .entry-content.full-width-content {
    max-width: 100%; /* Задаємо повну ширину */
    padding: 0;
}

/* Сітка для відображення товарів */
.wishlist-products-grid {
    display: grid;
   grid-template-columns: repeat(4, 1fr);
    gap: 1px; /* Розділювач в 1px */
    background-color: #000; /* Фон, щоб лінії були видимі */
}

/* Стилізація картки товару */
.product-card {
    position: relative;
    text-align: left;
    overflow: hidden;
    background-color: #000; /* Колір картки */
}
/* Контейнер для зображення */
.product-card-image {
    position: relative;
    width: 100%;
    /* Встановлюємо фіксовану висоту для контейнера */
    /* Це важливо для коректної роботи object-fit */
    height: 100% /* Або будь-яке інше значення, яке вам підходить */
    overflow: hidden;
}

.product-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    /* Заповнює весь контейнер, зберігаючи пропорції */
    object-fit: cover;
    object-position: center; /* Центрує зображення */
}
/* Назва товару */
.product-card-info {
    padding: 10px;
    background-color: #000;
    text-align: center;
}

.product-card-title {
    font-size: 1em;
    font-weight: 300;
    margin: 0;
    color: #fff; /* Білий колір назви */
}

/* Кнопка видалення */
.remove-from-wishlist {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
    text-shadow: 0 0 5px rgba(0,0,0,0.5);
    z-index: 10;
}

/* Стилі для мобільних пристроїв */
@media (max-width: 1200px) {
    .wishlist-products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 768px) {
    .wishlist-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 480px) {
    .wishlist-products-grid {
        grid-template-columns: 1fr;
    }
}
/* --- Стилізація двоколонкової контактної форми (v5 - Фінал) --- */

/* Відступ зверху для всієї сторінки */
.contact-page-wrapper {
    margin-top: 60px;
}

/* 0. Стилі заголовка та вступного тексту */
.page-template-template-contact .entry-title {
    color: #fff;
    text-align: center;
    margin-bottom: 20px;
    font-size: 2.8em;
	font-weight: 400;
}

.contact-intro {
    font-family: inherit;
    text-align: center;
    color: #ccc;
    max-width: 850px;
    margin: 0 auto 40px auto;
}

/* 1. Загальний контейнер форми */
.custom-contact-form {
    max-width: 800px;
    margin: 0 auto;
    padding: 0;
}

/* 2. Базові стилі для полів та назв */
.custom-contact-form label {
    display: block;
    font-weight: 400;
    margin-bottom: 2px; !important;
    color: #eee;
}

.custom-contact-form input[type="text"],
.custom-contact-form input[type="email"],
.custom-contact-form input[type="tel"],
.custom-contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #555;
    background-color: #333;
    color: #fff;
    border-radius: 4px;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.custom-contact-form input:focus,
.custom-contact-form textarea:focus {
    border-color: #0095ff;
    outline: none;
}

/* 3. Магія колонок (Flexbox) */
.form-row {
    margin-bottom: 0;
}

.form-field {
    width: 100%;
    /* Повертаємо сюди більший відступ, щоб простір був між полями, а не над ними */
    margin-bottom: 15px;
}

.form-row.two-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.form-col {
    flex: 1;
    min-width: 250px;
}

/* 4. Стилізація чекбоксів у дві колонки */
.custom-contact-form .wpcf7-checkbox {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 20px;
}

.custom-contact-form .wpcf7-list-item-label {
    color: #ccc;
}

/* 5. Стилізація кнопки */
.centered-button {
    text-align: center;
    margin-top: 10px;
}

.custom-contact-form input[type="submit"] {
    font-family: inherit;
    padding: 15px 40px;
    font-size: 1.1em;
    font-weight: 400;
    background-color: #8C3B3B;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.custom-contact-form input[type="submit"]:hover {
    background-color: #005a87;
    transform: translateY(-2px);
}
