@font-face {
	font-weight: normal;
	font-style: normal;
	font-family: "woodmart-font";
	src: url("//decantuswines.com/wp-content/themes/woodmart/fonts/woodmart-font-1-400.woff2?v=8.4.1") format("woff2");
	font-display:swap;
}

:root {
	--wd-text-font: "Inter", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: #767676;
	--wd-text-font-size: 14px;
	--wd-title-font: "Alegreya", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 600;
	--wd-title-color: #242424;
	--wd-entities-title-font: "Alegreya", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 500;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: var(--wd-text-font);
	--wd-widget-title-font: var(--wd-title-font);
	--wd-widget-title-font-weight: 600;
	--wd-widget-title-transform: uppercase;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: "Alegreya", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 700;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 13px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: rgb(88,23,34);
	--wd-alternative-color: rgb(253,195,0);
	--btn-default-bgcolor: rgb(88,23,34);
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-bgcolor: rgb(88,23,34);
	--btn-accented-bgcolor-hover: rgb(255,255,255);
	--wd-form-brd-width: 1px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
	--wd-link-color: rgb(88,23,34);
	--wd-link-color-hover: rgb(170,22,27);
	--wd-sticky-btn-height: 95px;
}
.wd-age-verify-wrap {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: #111111;
	background-image: none;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: left center;
}
.wd-promo-popup-wrap {
	--wd-popup-width: 800px;
}
.wd-page-title .wd-page-title-bg img {
	object-fit: cover;
	object-position: center center;
}
.wd-footer {
	background-color: #ffffff;
	background-image: none;
}
.page :is(.wd-page-content, .whb-header) {
	background-color: rgb(255,255,255);
	background-image: none;
}
.product-labels .product-label.attribute-label:not(.label-with-img) {
	background-color: rgb(88,23,34);
	color: rgb(255,255,255);
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}

@media (max-width: 1024px) {
	:root {
		--wd-sticky-btn-height: 95px;
	}

}

@media (max-width: 768.98px) {
	:root {
		--wd-sticky-btn-height: 42px;
	}

}
:root{
--wd-container-w: 1222px;
--wd-form-brd-radius: 35px;
--btn-default-color: #333;
--btn-default-color-hover: #333;
--btn-accented-color: #fff;
--btn-accented-color-hover: #333;
--btn-default-brd-radius: 35px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-accented-brd-radius: 35px;
--btn-accented-box-shadow: none;
--btn-accented-box-shadow-hover: none;
--wd-brd-radius: 12px;
--wd-cat-brd-radius: 12px;
}

@media (min-width: 1222px) {
[data-vc-full-width]:not([data-vc-stretch-content]),
:is(.vc_section, .vc_row).wd-section-stretch {
padding-left: calc((100vw - 1222px - var(--wd-sticky-nav-w) - var(--wd-scroll-w)) / 2);
padding-right: calc((100vw - 1222px - var(--wd-sticky-nav-w) - var(--wd-scroll-w)) / 2);
}
}


.wd-page-title {
background-color: rgb(88,23,34);
}

.wine-hero{
height:100vh;
width:100%;
background:linear-gradient(180deg,#d2e2ed,#4f6675); 
/* background: linear-gradient(180deg, #58172229, #58172280);*/
position:relative;
overflow:hidden;
display:flex;
align-items:center;
justify-content:center;
}

/* Hero Conteiner */

.hero-container{
max-width:1220px;
margin:auto;
width:100%;
position:relative;
}

/* center light */

.hero-light{
pointer-events:none;
position:absolute;
width:900px;
height:900px;
background:radial-gradient(circle,
rgba(255,255,255,0.45),
rgba(255,255,255,0.05) 60%,
transparent 70%);
top:50%;
left:50%;
transform:translate(-50%,-50%);
filter:blur(30px);
}

/* mouse spotlight */

.hero-spotlight{
position:absolute;
width:600px;
height:600px;
background:radial-gradient(circle,
rgba(255,255,255,0.35),
transparent 60%);
pointer-events:none;
mix-blend-mode:screen;
transform:translate(-50%,-50%);
}

/* slider */

.wine-slider{
position:relative;
width:100%;
max-width:60%;
height:650px;
}

.wine-slide{
position:absolute;
width:100%;
height:100%;
opacity:0;
display:flex;
align-items:center;
justify-content:space-between;
transition:all .7s cubic-bezier(.77,0,.18,1);
}

.wine-slide.active{
opacity:1;
}

/* glass card */

.glass{
background:rgba(255,255,255,0.18);
backdrop-filter:blur(16px);
border:1px solid rgba(255,255,255,0.35);
border-radius:20px;
padding:25px 35px;
width:380px;
box-shadow:0 25px 70px rgba(0,0,0,0.25);
z-index:3;
}
.glass h2{
	margin-top:10px;
	font-size: 21px;
	color: rgb(88,23,34);
}
.glass p{
	color: #000;
	display:-webkit-box;
-webkit-line-clamp:4;
-webkit-box-orient:vertical;
overflow:hidden;
	mask-image:linear-gradient(to bottom, black 80%, transparent);
}

/* Wine Label Card TOP 1,2,3 */
.wine-label{
display:inline-flex;
align-items:center;
background:rgb(88,23,34);
color:#fff;
font-weight:700;
font-size:10px;
letter-spacing:.08em;
text-transform:uppercase;

padding:4px 16px;
border-radius:999px;

box-shadow:
0 2px 5px rgba(0,0,0,0.15),
inset 0 1px 0 rgba(255,255,255,0.15);
}

/* Custom Card Button */
.custmbtn{
display:inline-flex;
align-items:center;
background:#e5e5e5;
color:rgb(88,23,34);
font-weight:500;
font-size:12px;
letter-spacing:.08em;
text-transform:uppercase;

padding:6px 16px;
border-radius:999px;

box-shadow:
0 4px 12px rgba(0,0,0,0.15),
inset 0 1px 0 rgba(255,255,255,0.15);
}

/* bottle */

.wine-center{
position:relative;
display:flex;
align-items:center;
justify-content:center;
z-index:3;
}

.main-bottle{
height:520px;
z-index:3;
animation:floatBottle 6s ease-in-out infinite;
filter:drop-shadow(0 40px 40px rgba(0,0,0,.35));
}

/* floating animation */

@keyframes floatBottle{

0%{transform:translateY(0)}

50%{transform:translateY(-12px)}

100%{transform:translateY(0)}

}

/* orbit rings */

.orbit{
position:absolute;
border:1px solid rgb(255 255 255 / 45%);
border-radius:50%;
animation:rotateOrbit 30s linear infinite;
}

.orbit1{
width:390px;
height:380px;
}

.orbit2{
width:650px;
height:500px;
animation-direction:reverse;
}

@keyframes rotateOrbit{

from{transform:rotate(0deg)}
to{transform:rotate(360deg)}

}

/* navigation */

.wine-nav{
position:absolute;
right:10px;
top:50%;
transform:translateY(-50%);
display:flex;
flex-direction:column;
gap:40px;
}

.nav-item{
width:85px;
height:85px;
border-radius:50%;
background:rgba(255,255,255,0.15);
backdrop-filter:blur(10px);
display:flex;
flex-direction:column;
align-items:center;
justify-content:center;
cursor:pointer;
transition:all .35s;
}

.nav-item img{
height:45px;
}

.nav-item:hover{
transform:scale(1.12);
}

.nav-item.active{
background-image: linear-gradient(to right, rgb(88, 23, 34) 1%, rgb(165, 37, 58) 34%, rgb(88, 23, 34) 67%, rgb(61, 6, 15) 100%);
	color: #ffffff;
}

/* --- MOBILE & TABLET OPTIMIZATION --- */
@media (max-width: 1024px) {
    .wine-hero {
        height: auto; /* Позволяваме на секцията да се разпъне според съдържанието */
        min-height: 100vh;
        padding: 100px 0 40px 0; /* Място за хедъра и фуутъра */
        display: block; /* Сменяме flex на блок за по-лесно подреждане */
        overflow-y: visible;
    }

    .hero-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    /* Slider & Slides */
    .wine-slider {
        max-width: 95%;
        height: auto;
        position: relative;
        margin: 0 auto;
    }

    .wine-slide {
        position: relative; /* Променяме от absolute, за да заемат място */
        display: none; /* Скриваме всички */
        flex-direction: column;
        align-items: center;
        text-align: center;
        opacity: 0;
    }

    .wine-slide.active {
        display: flex; /* Показваме само активния */
        opacity: 1;
    }

    /* Glass Card */
    .glass {
        width: 100%;
        max-width: 340px;
        order: 2; /* Картата отива под бутилката */
        margin-top: -40px; /* Леко застъпване с бутилката за дълбочина */
        box-shadow: 0 15px 35px rgba(0,0,0,0.15);
        padding: 20px;
    }

    /* Bottle */
    .wine-center {
        order: 1; /* Бутилката е първа */
        width: 100%;
    }

    .main-bottle {
        height: 360px; /* По-малка бутилка за мобилни */
			margin-top: 40px;
        filter: drop-shadow(0 20px 20px rgba(0,0,0,.2));
    }

    /* Orbit Rings - Намаляваме ги, за да не излизат от екрана */
    .orbit1 { width: 280px; height: 280px; }
    .orbit2 { width: 350px; height: 350px; }

    /* Navigation - Преместваме я най-отдолу хоризонтално */
    .wine-nav {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        flex-direction: row; /* Хоризонтален ред */
        justify-content: center;
        gap: 15px;
        margin-top: 30px;
        order: 3;
    }

    .nav-item {
        width: 65px;
        height: 65px;
    }

    .nav-item img {
        height: 30px;
    }
    
    .nav-item span {
        font-size: 8px; /* Текстът "Топ 1" да е по-малък */
    }

    /* Spotlight - Скриваме го на мобилни, защото няма мишка */
    .hero-spotlight {
        display: none;
    }
}

/* Специфично за много малки екрани */
@media (max-width: 480px) {
    .main-bottle {
        height: 280px;
    }
    .glass h2 {
        font-size: 18px;
    }
}


/* Fix Catalog Img's */

.products .product-image-link{
display:flex;
align-items:center;
justify-content:center;
height:380px; /* контролираш височината */
background:#ffffff;
}

.products .product-image-link img{
max-height:100%;
width:auto;
object-fit:contain;
}

.wd-copyrights {
	border-top:1px solid rgba(255,255,255,0.08);
    background-color: #6c1b28;
}
.wd-content-layout {
    padding-block: 0px !important;
}

/* FIX PRODUCT IMAGE SIZE */

.single-product div.images,
.single-product .woocommerce-product-gallery {
    height: 680px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* wrapper fix */
.single-product .woocommerce-product-gallery__wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* each image container */
.single-product .woocommerce-product-gallery__image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ACTUAL IMAGE FIX */
.single-product .woocommerce-product-gallery__image img {
    width: auto !important;
    height: auto !important;
    max-height: 60%;
    max-width: 60%;
    object-fit: contain !important;
    display: block;
    margin: 0 auto;
}
.single-product .woocommerce-product-gallery__image {
    background: linear-gradient(180deg, #ffffff 0%, #f8f8f8 100%);
    border-radius: 15px;
}
.wd-accordion:where(.wd-style-default)>.wd-accordion-item:first-of-type, .wd-accordion:where(.wd-style-default)>.wd-nav-wrapper+.wd-accordion-item {
    border-top: none;
    background-color: #ededed;
    padding: 0px 20px;
    border-radius: 25px;
}

/* TUMBNAIL IMAGE FIX */

td.product-thumbnail img, .woocommerce-mini-cart img, .wd-checkout-prod-img img, .wd-sticky-btn-thumbnail img, .wd-product-nav-thumb img {
    min-width: 25px!important;
    max-width: 15px!important;  
}

/* TITLE BACKGROUND */
.wd-page-title {
    background-image: linear-gradient(to right, rgb(79, 11, 23) 0%, rgb(88, 23, 34) 33%, rgb(185, 20, 48) 68%, rgb(63, 2, 12) 100%);
	  margin-bottom: 3rem;
}

/* BLOG  */
.wd-single-post-header {
    padding-top: 40px;
}

/* Smooth animations */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Floating images */
.float-img {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

.vc_images_carousel .vc_carousel-inner {
    border-radius: 25px;
}

/* Shapes на снимките */
.about-img-1 img {
  border-radius: 30px;
}

.about-img-2 img {
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
}

.about-img-3 img {
  border-radius: 20px 80px 20px 80px;
}

/* PAGE TITLES AREA */
.filters-area {
	background-image: linear-gradient(to right, rgb(231 231 231) 0%, rgb(255 255 255) 33%, rgb(255 255 255) 68%, rgb(247 239 239) 100%);
    border-radius: 40px 50px 90px 80px;
    padding: 25px 15px;
	  margin-top: -20px;
	  box-shadow: var(--wd-prod-shadow);
}

.btn.btn-default {
    color: #ffffff;
}
.shop-loop-head {
    margin-bottom: 0px;
}
.wd-progress-bar .progress-bar {
    background-color: #6dab3c;
}

:is(.woocommerce-error,.woocommerce-info) {
    background-color: var(--notices-warning-bg);
    color: #000000;
}

/* CHECKOUT - LOGIN AND COUPON LAYOUT */

/* 1. Превръщаме общия родител в Grid контейнер */
.woocommerce-checkout .woocommerce {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important; /* 2 равни колони */
    align-items: start !important;
    gap: 0 20px !important;
}

/* 2. Динамично подреждане на кутиите (без твърди колони) */
.woocommerce-checkout .woocommerce-form-login-toggle,
.woocommerce-checkout .woocommerce-form-coupon-toggle {
    grid-column: span 1 !important; /* Заемат по 1 колона, редят се автоматично отляво надясно */
    grid-row: 1 !important;        /* Държи ги на първия ред */
    width: 100% !important;
}

/* 3. Преписваме стила на самата вътрешна кутия (.woocommerce-info) */
:root :is(.woocommerce-form-coupon-toggle, .woocommerce-form-login-toggle) > div.woocommerce-info {
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    gap: 8px !important;
    
    background-color: #f9f9f9 !important;
    border: 1px solid #e2e2e2 !important;
    border-left: 4px solid #8b0000 !important;
    border-radius: 8px !important;
    padding: 12px 16px !important;
    margin-bottom: 10px !important;
    min-height: 52px !important;
    box-sizing: border-box !important;
}

/* 4. Всички следващи елементи (Apple Pay, Полетата за поръчка) отиват отдолу */
.woocommerce-checkout .woocommerce > *:not(.woocommerce-form-login-toggle):not(.woocommerce-form-coupon-toggle) {
    grid-column: 1 / -1 !important; /* Разпростират се през цялата ширина */
}

/* 5. Настройки за мобилни устройства */
@media (max-width: 768px) {
    .woocommerce-checkout .woocommerce {
        display: block !important;
    }
    
    .woocommerce-checkout .woocommerce-form-login-toggle,
    .woocommerce-checkout .woocommerce-form-coupon-toggle {
        width: 100% !important;
        margin-bottom: 12px !important;
    }
}

/* CHECKOUT - INVOICE AND REGISTER OPYION*/

/* Опаковка на опциите за фактура и регистрация */
.woocommerce-checkout p.create-account,
.woocommerce-checkout p.form-row.woocommerce-invalid-required-field,
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper p.form-row:has(input[type="checkbox"]) {
    background: #fdfdfd;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px 16px !important;
    margin-bottom: 12px !important;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
}

/* При посочване с мишката */
.woocommerce-checkout p.create-account:hover,
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper p.form-row:has(input[type="checkbox"]):hover {
    border-color: #8b0000;
    background: #fff;
}

/* Увеличаване и стилизиране на самия чекбокс */
.woocommerce-checkout p.create-account input[type="checkbox"],
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper input[type="checkbox"] {
    width: 18px !important;
    height: 18px !important;
    margin-right: 10px !important;
    accent-color: #8b0000; /* Цвят на отметката, когато е маркирана */
    cursor: pointer;
    vertical-align: middle;
}

/* Стилизиране на текста (Label) */
.woocommerce-checkout p.create-account label,
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper p.form-row label.checkbox {
    font-weight: 600 !important;
    color: #222 !important;
    cursor: pointer;
    display: inline-flex !important;
    align-items: center;
    margin-bottom: 0 !important;
}

/* Скриване на излишния сив текст "(по избор)", ако искате да е по-изчистено */
.woocommerce-checkout label .optional {
    display: none;
}

/* cookies-popup Styles */
.wd-cookies-popup {
	max-width: 950px;
  border-radius: 55px;
	margin: 15px 20px;
  background: rgba(255,255,255,.54);
- webkit-backdrop-filter: blur(10px);
backdrop-filter: blur(10px);
}
