/*
Theme Name: Vionahome
Template: modern-furniture-store
Description: Child-Theme von Modern Furniture Store für vionahome.de – Markenwelt „Salbei & Sand“
Version: 1.1.0
Text Domain: vionahome
*/

/* ==========================================================
   Brand tokens
   ========================================================== */
:root {
	--vh-sage: #5f7161;
	--vh-forest: #2f3a32;
	--vh-forest-deep: #252e27;
	--vh-brass: #b08d57;
	--vh-brass-light: #d9c4a0;
	--vh-sand: #f4efe6;
	--vh-sand-dark: #e9e1d3;
	--vh-paper: #fbf9f5;
	--vh-line: #e6dfd2;
	--vh-ink: #22251f;
	--vh-muted: #6f7069;

	/* Parent theme variables → brand (removes the pink gradients everywhere). */
	--color-primary1: var(--vh-sage);
	--color-primary2: var(--vh-sage);
}

body {
	background: var(--vh-paper) !important;
	color: var(--vh-ink);
	font-family: 'Inter', sans-serif;
}
a { color: var(--vh-sage); }
a:hover { color: var(--vh-forest); }
h1, h2, h3, h4, h5, h6 { color: var(--vh-ink); }
::selection { background: var(--vh-brass-light); color: var(--vh-ink); }

/* No underlines on navigation, buttons and cards */
.top-header a, .headerbox a, .main-navigation a, #slider a, .home-btn a, .vh-cat, #footer a, .site-info a,
.woocommerce ul.products li.product a, .woocommerce a.button { text-decoration: none; }

/* ==========================================================
   Buttons
   ========================================================== */
.home-btn a,
.woocommerce ul.products li.product .button,
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit,
.woocommerce button.button.alt, .woocommerce a.button.alt, .woocommerce input.button.alt,
.wc-block-cart__submit-container a, .wc-block-components-checkout-place-order-button,
button[type="submit"], input[type="submit"] {
	background: var(--vh-sage) !important;
	color: #fff !important;
	border: 0 !important;
	border-radius: 999px !important;
	font-weight: 600;
	letter-spacing: .2px;
	transition: background .2s ease;
}
.home-btn a { display: inline-block; white-space: nowrap; padding: 12px 26px; font-size: 15px; }
.home-btn a:hover,
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover,
.woocommerce button.button.alt:hover, .woocommerce a.button.alt:hover,
button[type="submit"]:hover, input[type="submit"]:hover {
	background: var(--vh-forest) !important;
	color: #fff !important;
}

/* ==========================================================
   Header
   ========================================================== */
.top-header { background: var(--vh-forest); padding: 7px 0; }
.top-header .timebox span, .topbar-links a { color: var(--vh-sand); font-size: 12.5px; letter-spacing: .3px; }
.topbar-links { justify-content: flex-end; }
.topbar-links a:hover { color: var(--vh-brass-light); }

.headerbox { background: #fff; border-bottom: 1px solid var(--vh-line); padding: 18px 0; }
.head-1 i, .head-2 i,
i.fas.fa-truck, i.fas.fa-undo, i.fas.fa-tags, i.fas.fa-lock, i.fas.fa-shopping-cart, i.fas.fa-shopping-bag {
	color: var(--vh-sage) !important;
	background: var(--vh-sand) !important;
	font-size: 18px;
}
p.infotext, p.cart_no.infotext a { color: var(--vh-ink); font-size: 12.5px; letter-spacing: 1px; }
.head-1 p, .head-2 p { color: var(--vh-muted); font-size: 13.5px; }

.vh-logo { display: inline-flex; align-items: center; gap: 10px; }
.vh-logo svg { width: 38px; height: 38px; flex: 0 0 38px; }
.vh-logo-text { font-family: 'Playfair Display', serif; font-size: 32px; font-weight: 600; letter-spacing: .5px; line-height: 1; color: var(--vh-forest); }
.vh-logo-text em { font-style: normal; color: var(--vh-sage); font-weight: 400; }
.logo a:hover .vh-logo-text { color: var(--vh-forest); }

.vh-header-search { margin-top: 10px; }
.vh-header-search form { display: flex; }
.vh-header-search input[type="search"] {
	flex: 1; min-width: 0; border: 1px solid var(--vh-line); border-right: 0; border-radius: 999px 0 0 999px;
	padding: 7px 16px; font-size: 13px; color: var(--vh-ink); background: var(--vh-paper);
}
.vh-header-search input[type="search"]:focus { outline: none; border-color: var(--vh-sage); background: #fff; }
.vh-header-search button { border-radius: 0 999px 999px 0 !important; padding: 0 16px; }

.menubar { background: var(--vh-forest) !important; }
.main-navigation a { color: var(--vh-sand) !important; font-size: 14.5px; letter-spacing: .6px; }
.main-navigation a:hover, .main-navigation .current-menu-item > a, .main-navigation .current_page_item > a,
.main-navigation .current-menu-ancestor > a, .main-navigation .current_page_ancestor > a { color: var(--vh-brass-light) !important; }
.main-navigation li.menu-item-has-children:after { color: var(--vh-sand); }
.main-navigation ul ul { background: var(--vh-forest-deep) !important; border-top: 2px solid var(--vh-brass); }
.main-navigation ul ul a { color: var(--vh-sand) !important; }
.sidenav { background-color: var(--vh-forest) !important; }
.responsivetoggle { color: var(--vh-sand); }

/* Page banner (archives, pages, single product) */
.box-image-page { background: var(--vh-forest); }
.box-image-page .single-page-img { opacity: .35; filter: grayscale(35%); }
.box-text h2 { font-family: 'Playfair Display', serif; text-transform: none; letter-spacing: .5px; font-size: 38px; }

/* ==========================================================
   Slider
   ========================================================== */
#slider { overflow: hidden; }
#slider .slide-box {
	background: var(--vh-sand); overflow: hidden; height: auto; min-height: 500px; margin: 2em 0;
	display: flex; align-items: center; border-radius: 24px;
}
#slider .slide-box > .row { width: 100%; margin: 0; padding: 40px 0; }
#slider .slide-inner-box { position: static; transform: none; padding: 0 2.5em 0 4em; color: var(--vh-ink); }
#slider .slide-inner-box .vh-kicker {
	display: inline-block; font-size: 12.5px; letter-spacing: 3px; text-transform: uppercase; font-weight: 600;
	color: var(--vh-brass); margin-bottom: 12px;
}
#slider .slide-inner-box h2 { font-family: 'Playfair Display', serif; font-size: 40px; line-height: 1.15; margin-bottom: 14px; }
#slider .slide-inner-box h2 a { color: var(--vh-forest); }
#slider p { color: #4a4d45; font-size: 18px; line-height: 1.6; }
#slider .imgbox { background: #fff; border-radius: 20px; padding: 20px; margin: 0 2em; }
#slider .slide-box img { height: 360px; }
#slider .owl-nav button { background: var(--vh-forest) !important; }
#slider .owl-nav button:hover { background: var(--vh-brass) !important; }

/* ==========================================================
   Home sections
   ========================================================== */
.vh-section { padding: 50px 0 20px; }
.vh-section-head { text-align: center; margin-bottom: 30px; }
.vh-section-head span { display: block; font-size: 12.5px; letter-spacing: 3px; text-transform: uppercase; color: var(--vh-brass); font-weight: 600; }
.vh-section-head h2 { font-family: 'Playfair Display', serif; font-size: 36px; color: var(--vh-forest); margin: 8px 0 0; }
.vh-section-head h2::after { content: ""; display: block; width: 48px; height: 2px; background: var(--vh-brass); margin: 14px auto 0; }

.vh-usps { background: var(--vh-forest); border-radius: 20px; padding: 26px 20px; margin-top: 10px; }
.vh-usp { display: flex; align-items: center; gap: 14px; padding: 8px 10px; }
.vh-usps .vh-usp i.fas {
	flex: 0 0 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px;
	color: var(--vh-brass-light) !important; border: 1.5px solid var(--vh-brass); background: transparent !important;
}
.vh-usp strong { display: block; color: var(--vh-sand); font-size: 15px; font-weight: 600; }
.vh-usp small { color: #b8bfb3; font-size: 13px; }

.vh-cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.vh-cat { position: relative; display: block; background: #fff; border: 1px solid var(--vh-line); border-radius: 18px; overflow: hidden; aspect-ratio: 1 / 1.05; }
.vh-cat img { width: 100%; height: 78%; object-fit: contain; padding: 18px; transition: transform .35s ease; }
.vh-cat:hover img { transform: scale(1.05); }
.vh-cat .vh-cat-label {
	position: absolute; left: 0; right: 0; bottom: 0; height: 22%; display: flex; align-items: center; justify-content: space-between;
	padding: 0 20px; background: var(--vh-sand); color: var(--vh-forest); font-family: 'Playfair Display', serif; font-size: 19px;
	transition: background .2s ease, color .2s ease;
}
.vh-cat .vh-cat-label small { font-family: 'Inter', sans-serif; font-size: 12px; color: var(--vh-brass); }
.vh-cat:hover .vh-cat-label { background: var(--vh-sage); color: #fff; }
.vh-cat:hover .vh-cat-label small { color: #fff; }

.vh-more { text-align: center; margin: 10px 0 20px; }

.vh-about { background: var(--vh-sand); border-radius: 20px; padding: 44px; margin: 30px 0 50px; }
.vh-about h2 { font-family: 'Playfair Display', serif; color: var(--vh-forest); font-size: 32px; }
.vh-about p, .vh-about li { color: #4a4d45; line-height: 1.8; }
.vh-about ul { list-style: none; padding: 0; }
.vh-about li::before { content: "✓"; color: var(--vh-sage); font-weight: 700; margin-right: 10px; }

/* ==========================================================
   Product cards (home + shop)
   ========================================================== */
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product, .products li {
	background: #fff !important; border: 1px solid var(--vh-line) !important; border-radius: 16px; padding: 12px 12px 18px !important; text-align: center;
	transition: box-shadow .2s ease, transform .2s ease;
}
.woocommerce ul.products li.product:hover { box-shadow: 0 10px 28px rgba(47, 58, 50, .10); transform: translateY(-2px); }
.woocommerce ul.products li.product a img {
	background: #fff; border-radius: 10px; aspect-ratio: 1 / 1; object-fit: contain; padding: 8px; margin-bottom: 10px;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title, h2.woocommerce-loop-product__title {
	color: var(--vh-ink) !important; font-size: 15px !important; min-height: 2.6em; font-weight: 500; padding: .3em 0; letter-spacing: 0;
}
.woocommerce ul.products li.product .price { color: var(--vh-forest) !important; font-size: 17px !important; font-weight: 700; }
.woocommerce ul.products li.product .price del { color: var(--vh-muted); }
.woocommerce ul.products li.product .wc-gzd-additional-info,
.woocommerce ul.products li.product .wc-gzd-additional-info a { color: var(--vh-muted); font-size: 11px; margin: 0; }
.woocommerce ul.products li.product .button { font-size: 13px; padding: 8px 18px; }
.woocommerce span.onsale, .woocommerce ul.products li.product .onsale { background: var(--vh-brass) !important; color: #fff; }
.woocommerce nav.woocommerce-pagination ul li a:hover, .woocommerce nav.woocommerce-pagination ul li span.current { background: var(--vh-sage) !important; color: #fff !important; }
.woocommerce nav.woocommerce-pagination ul li a { color: var(--vh-forest); }
.woocommerce-result-count, .woocommerce-breadcrumb, .woocommerce-breadcrumb a { color: var(--vh-muted) !important; }
.woocommerce .woocommerce-ordering select { border: 1px solid var(--vh-line); border-radius: 999px; padding: 6px 12px; background: #fff; }
.woocommerce-products-header__title, .page-title { font-family: 'Playfair Display', serif; color: var(--vh-forest); }

/* ==========================================================
   Shop sidebar
   ========================================================== */
#theme-sidebar section, #theme-sidebar .widget {
	background: #fff !important; border: 1px solid var(--vh-line) !important;
	box-shadow: none !important; border-radius: 16px; padding: 24px 26px;
}
#theme-sidebar h2, #theme-sidebar h3, #theme-sidebar .widget-title {
	color: var(--vh-forest) !important; font-family: 'Playfair Display', serif; text-transform: none; font-size: 21px;
	border-bottom: 1px solid var(--vh-line) !important;
}
#theme-sidebar h3:before, #theme-sidebar h2:before { background: var(--vh-brass) !important; }
#theme-sidebar ul li, #theme-sidebar ul li a, #theme-sidebar a { color: var(--vh-ink) !important; }
#theme-sidebar ul li a::before { color: var(--vh-brass) !important; }
#theme-sidebar a:hover { color: var(--vh-sage) !important; }
#theme-sidebar .price_slider_amount .price_label { color: var(--vh-muted); }
#theme-sidebar .widget_layered_nav ul { max-height: 320px; overflow-y: auto; }
.woocommerce .widget_price_filter .ui-slider .ui-slider-range, .woocommerce .widget_price_filter .ui-slider .ui-slider-handle { background-color: var(--vh-sage) !important; }
.woocommerce .widget_price_filter .price_slider_wrapper .ui-widget-content { background-color: var(--vh-sand-dark) !important; }

/* ==========================================================
   Single product
   ========================================================== */
.single-product div.product .product_title { font-family: 'Playfair Display', serif; color: var(--vh-forest); font-size: 30px; line-height: 1.25; }
.single-product div.product p.price, .single-product div.product span.price { color: var(--vh-forest) !important; font-size: 26px !important; font-weight: 700; }
.single-product div.product .woocommerce-product-gallery__wrapper { background: #fff; border: 1px solid var(--vh-line); border-radius: 18px; }
.single-product div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 10px; }
.single-product div.product .flex-control-thumbs li { width: auto !important; float: none !important; margin: 0 !important; }
.single-product div.product .flex-control-thumbs img { background: #fff; aspect-ratio: 1 / 1; object-fit: contain; border: 1px solid var(--vh-line); border-radius: 10px; padding: 4px; }
.single-product div.product .flex-control-thumbs img.flex-active { border-color: var(--vh-sage); }
.single-product div.product .woocommerce-product-details__short-description ul { list-style: none; padding: 0; }
.single-product div.product .woocommerce-product-details__short-description li { margin: 6px 0; }
.single-product div.product .woocommerce-product-details__short-description li::before { content: "✓"; color: var(--vh-sage); font-weight: 700; margin-right: 10px; }
.single-product div.product .variations select { border: 1px solid var(--vh-line); border-radius: 12px; padding: 9px 12px; min-width: 200px; background: #fff; }
.single-product div.product .variations .reset_variations { color: var(--vh-muted); }
.single-product div.product .stock.in-stock { color: var(--vh-sage); font-weight: 600; }
.single-product div.product .quantity .qty { border: 1px solid var(--vh-line); border-radius: 999px; padding: 8px; }
.single-product .woocommerce-tabs ul.tabs li { background: var(--vh-sand) !important; border-color: var(--vh-line) !important; }
.single-product .woocommerce-tabs ul.tabs li.active { background: #fff !important; }
.single-product .woocommerce-tabs ul.tabs li a { color: var(--vh-forest) !important; }
.single-product .woocommerce-tabs .panel, .single-product .woocommerce-tabs .panel h2 { color: #3a3d36; }
.woocommerce table.shop_attributes th, .woocommerce table.shop_attributes td { color: #3a3d36; }
.wc-gzd-additional-info, .wc-gzd-additional-info a, .delivery-time-info { color: var(--vh-muted); }
.product_meta { color: var(--vh-muted); font-size: 13px; }
.product_meta a { color: var(--vh-sage); }

/* Notices */
.woocommerce-message, .woocommerce-info { border-top-color: var(--vh-sage) !important; background: var(--vh-sand); color: var(--vh-ink); }
.woocommerce-message::before, .woocommerce-info::before { color: var(--vh-sage) !important; }

/* ==========================================================
   Footer
   ========================================================== */
#footer { background: var(--vh-forest) !important; }
#footer h3, #footer .widget-title {
	font-family: 'Playfair Display', serif; font-size: 20px !important; color: var(--vh-sand) !important;
	border-bottom: 1px solid rgba(217, 196, 160, .35) !important; padding-bottom: 12px;
}
#footer p, #footer li, #footer li a { color: #c9cec4 !important; }
#footer .vh-footer-brand { display: inline-flex; align-items: center; gap: 10px; }
#footer .vh-footer-brand svg { width: 34px; height: 34px; }
#footer .vh-footer-brand .vh-logo-text { color: var(--vh-sand); font-size: 28px; }
#footer .vh-footer-brand .vh-logo-text em { color: var(--vh-brass-light); }
#footer ul.vh-links { list-style: none; padding: 0; margin: 0; }
#footer ul.vh-links li { padding: 4px 0; font-size: 14px; }
#footer ul.vh-links a:hover { color: var(--vh-brass-light) !important; }
#footer .vh-pay { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
#footer .vh-pay span { background: var(--vh-sand); color: var(--vh-forest); font-size: 12px; font-weight: 700; border-radius: 6px; padding: 4px 9px; }
.site-info { background: var(--vh-forest-deep) !important; }
.site-info p, .site-info a { color: #a9b0a4 !important; font-size: 13px; }
.site-info a:hover { color: var(--vh-brass-light) !important; }
.site-info .vh-legal a { margin: 0 8px; }
#return-to-top { background: var(--vh-sage) !important; }

mark.vh-todo { background: #fff3c4; color: var(--vh-ink); padding: 0 4px; }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 991px) {
	.vh-cats { grid-template-columns: repeat(2, 1fr); gap: 14px; }
	#slider .slide-box { min-height: 0; padding: 30px 0; margin: 1.5em 0; }
	#slider .slide-inner-box { padding: 0 1.5em; }
	#slider .slide-inner-box h2 { font-size: 30px; }
	#slider .imgbox { margin: 20px 1.5em 0; }
	#slider .slide-box img { height: 240px; }
	.vh-about { padding: 26px; }
}
@media (max-width: 767px) {
	.headerbox .head-1, .headerbox .head-2 > .row > .col-lg-6:first-child { display: none; }
	.headerbox { padding: 12px 0; }
	.headerbox .head-2 .head-box { justify-content: center; }
	.top-header .timebox { text-align: center; }
	.top-header .timebox span { font-size: 11px; }
	.topbar-links { flex-direction: row !important; justify-content: center; flex-wrap: wrap; }
	.topbar-links span { display: inline-block !important; }
	.topbar-links a { padding: 2px 8px; }
	.vh-logo-text { font-size: 28px; }
}
@media (max-width: 480px) {
	.vh-cat .vh-cat-label { font-size: 15px; padding: 0 12px; }
	.vh-cat .vh-cat-label small { display: none; }
}

/* Gallery thumbnails */
.single-product div.product .flex-control-thumbs li img { width: 100% !important; height: auto; opacity: .75; }
.single-product div.product .flex-control-thumbs li img.flex-active, .single-product div.product .flex-control-thumbs li img:hover { opacity: 1; }
.woocommerce div.product .product_title.entry-title { font-family: 'Playfair Display', serif !important; font-size: 30px !important; letter-spacing: 0 !important; color: var(--vh-forest) !important; }

/* Slimmer page banner on product pages */
.single-product .box-image-page, .single-product .box-image-page .single-page-img { height: 200px !important; min-height: 0; overflow: hidden; }
.single-product .box-text h2 { font-size: 28px; }

/* ==========================================================
   Header v2: logo | search | account + cart
   ========================================================== */
.vh-usp-line { display: flex; flex-wrap: wrap; gap: 6px 26px; }
.vh-usp-line span { margin: 0 !important; }
.vh-usp-line i { color: var(--vh-brass-light); margin-right: 6px; font-size: 11px; }

.headerbox { padding: 16px 0; }
.vh-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 36px; }
.vh-brand { margin: 0; padding: 0; line-height: 1; font-size: inherit; }
.vh-brand a { display: inline-block; }
.vh-head-search { max-width: 620px; width: 100%; justify-self: center; }
.vh-head-search .vh-header-search { margin: 0; }
.vh-head-search input[type="search"] { padding: 11px 20px; font-size: 14px; }
.vh-head-search button { padding: 0 22px; }

.vh-head-actions { display: flex; align-items: center; gap: 22px; }
.vh-action { display: flex; align-items: center; gap: 10px; color: var(--vh-ink) !important; font-size: 13.5px; font-weight: 500; white-space: nowrap; }
.vh-action:hover { color: var(--vh-sage) !important; }
.vh-action > i, .vh-cart-icon {
	width: 44px; height: 44px; border-radius: 50%; background: var(--vh-sand); display: inline-flex; align-items: center; justify-content: center;
	color: var(--vh-forest); font-size: 17px; position: relative;
}
.vh-cart-icon i { color: var(--vh-forest); }
.vh-cart-count {
	position: absolute; top: -3px; right: -4px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px;
	background: var(--vh-sage); color: #fff; font-size: 11px; font-weight: 700; line-height: 19px; text-align: center;
}
.vh-cart-total { font-weight: 600; }

@media (max-width: 1199px) {
	.vh-head { gap: 22px; }
	.vh-logo-text { font-size: 28px; }
}
@media (max-width: 991px) {
	.top-header .row > div { flex: 0 0 100%; max-width: 100%; }
	.vh-usp-line { justify-content: center; }
	.top-header .topbar-links { display: none; }
	.vh-head { grid-template-columns: 1fr auto; gap: 12px 16px; }
	.vh-head-search { grid-column: 1 / -1; grid-row: 2; max-width: none; }
	.vh-action-label { display: none; }
	.vh-head-actions { gap: 10px; }
}
@media (max-width: 575px) {
	.vh-usp-line span:not(:first-child) { display: none; }
	.headerbox { padding: 12px 0; }
	.vh-logo svg { width: 32px; height: 32px; flex-basis: 32px; }
	.vh-logo-text { font-size: 25px; }
	.vh-action > i, .vh-cart-icon { width: 40px; height: 40px; font-size: 16px; }
}
.top-header .vh-usp-line i, .top-header .vh-usp-line i.fas.fa-truck {
	background: none !important; color: var(--vh-brass-light) !important; width: auto; height: auto; padding: 0; font-size: 11px; border-radius: 0;
}
.vh-brand { justify-self: start; text-align: left; }
.responsivetoggle { background: none !important; border: 0; color: var(--vh-sand) !important; font-size: 20px; display: inline-flex; align-items: center; gap: 10px; padding: 12px 0; }
.responsivetoggle::after { content: "Menü"; font-family: 'Inter', sans-serif; font-size: 15px; letter-spacing: .5px; }
@media (max-width: 991px) {
	.box-image-page, .box-image-page .single-page-img { height: 150px !important; min-height: 0; overflow: hidden; }
	.box-text h2 { font-size: 26px; }
	.box-text { left: 5%; right: 5%; }
}
