/*
Theme Name: SaSty
Theme URI: https://sasty.ch
Description: Child theme for SaSty boutique shop. Requires Hello Elementor as parent theme. Includes SaSty styles, WooCommerce tweaks and German UI strings.
Author: SaSty
Author URI: https://sasty.ch
Template: hello-elementor
Version: 1.3.8
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sasty
Tags: custom-colors, custom-logo, e-commerce, one-column, translation-ready
*/

/* -------------------------------------------------------------------------
   SaSty - base design tokens + hovers (always loaded)
   ------------------------------------------------------------------------- */

:root {
	--sasty-bg: #F5F3EF;
	--sasty-cream: #FFFCFA;
	--sasty-ink: #1A1A1A;
	--sasty-muted: #6E6A64;
	--sasty-gold: #C5A059;
	--sasty-line: #D9D3C8;
	--sasty-font-display: "Cormorant Garamond", Georgia, serif;
	--sasty-font-script: "Great Vibes", cursive;
	--sasty-font-body: "Outfit", system-ui, sans-serif;
}

body {
	background: var(--sasty-bg);
	color: var(--sasty-ink);
	font-family: var(--sasty-font-body);
}

h1, h2, h3, h4, h5, h6,
.elementor-heading-title {
	font-family: var(--sasty-font-display);
}

a {
	color: var(--sasty-ink);
	transition: color .25s ease, opacity .25s ease, border-color .25s ease, background-color .25s ease, transform .25s ease;
}

a:hover {
	color: var(--sasty-gold);
}

/* Hero with people photo (fallback if Elementor bg missing) */
.sasty-hero {
	background-size: cover !important;
	background-position: center right !important;
}

/* ----- Hovers ----- */
.elementor-location-header .elementor-nav-menu--main a:hover,
.elementor-location-header .elementor-nav-menu--dropdown a:hover {
	color: var(--sasty-gold) !important;
}

.elementor-location-header .elementor-search-form__toggle:hover {
	border-color: var(--sasty-gold) !important;
	background: rgba(197, 160, 89, .08) !important;
}

.elementor-location-header .sasty-cart-icon:hover {
	transform: translateY(-1px);
}
.elementor-location-header .sasty-cart-icon:hover i,
.elementor-location-header .sasty-cart-icon:hover svg {
	color: var(--sasty-gold) !important;
	fill: var(--sasty-gold) !important;
}

.elementor-location-header a:hover .elementor-heading-title {
	opacity: .75;
}

.elementor-button {
	transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .25s ease !important;
}
.elementor-button:hover {
	transform: translateY(-1px);
}

.sasty-grid-3 > .e-con-inner > .e-con,
.sasty-grid-3 > .e-con,
.sasty-home-card,
.elementor-element-6530820d > .e-con-inner > .e-con,
.elementor-element-65fe2e3a,
.elementor-element-6d1f727b,
.elementor-element-7ad2e988,
ul.products li.product {
	transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.sasty-grid-3 > .e-con-inner > .e-con:hover,
.sasty-grid-3 > .e-con:hover,
.sasty-home-card:hover,
.elementor-element-6530820d > .e-con-inner > .e-con:hover,
.elementor-element-65fe2e3a:hover,
.elementor-element-6d1f727b:hover,
.elementor-element-7ad2e988:hover,
ul.products li.product:hover {
	transform: translateY(-6px);
	box-shadow: 0 16px 36px rgba(26, 26, 26, .12);
	border-color: var(--sasty-gold) !important;
}
.sasty-grid-3 img,
.sasty-home-card img,
.elementor-element-6530820d img,
ul.products li.product img {
	transition: transform .5s ease;
}
.sasty-grid-3 > .e-con-inner > .e-con:hover img,
.sasty-grid-3 > .e-con:hover img,
.sasty-home-card:hover img,
.elementor-element-6530820d > .e-con-inner > .e-con:hover img,
.elementor-element-65fe2e3a:hover img,
.elementor-element-6d1f727b:hover img,
.elementor-element-7ad2e988:hover img,
ul.products li.product:hover img {
	transform: scale(1.05);
}
.sasty-home-card .elementor-button,
.elementor-element-6530820d .elementor-button {
	transition: color .25s ease, letter-spacing .25s ease !important;
}
.sasty-home-card:hover .elementor-button,
.elementor-element-6530820d > .e-con-inner > .e-con:hover .elementor-button {
	color: var(--sasty-gold) !important;
	letter-spacing: .18em !important;
}

.sasty-grid-4 .elementor-icon,
.elementor-widget-icon .elementor-icon {
	transition: color .25s ease, transform .25s ease;
}
.sasty-grid-4 > .e-con-inner > .e-con:hover .elementor-icon,
.sasty-grid-4 > .e-con:hover .elementor-icon,
.elementor-widget-icon a.elementor-icon:hover {
	color: #A8895A !important;
	transform: translateY(-2px);
}

.elementor-location-footer .elementor-button:hover {
	color: var(--sasty-gold) !important;
}
.elementor-location-footer img {
	transition: opacity .25s ease;
}
.elementor-location-footer img:hover {
	opacity: .75;
}

ul.products li.product .button:hover,
ul.products li.product a.button:hover,
.woocommerce div.product .single_add_to_cart_button:hover {
	background: var(--sasty-gold) !important;
	color: #fff !important;
	border-color: var(--sasty-gold) !important;
}

.sasty-404__btn--primary:hover {
	background: var(--sasty-gold) !important;
	border-color: var(--sasty-gold) !important;
}
.sasty-404__btn--ghost:hover {
	background: var(--sasty-gold) !important;
	color: #fff !important;
}

ul.products {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
	list-style: none;
	padding: 0;
	margin: 0;
}

ul.products li.product {
	background: var(--sasty-cream);
	border: 1px solid var(--sasty-line);
	margin: 0;
	float: none;
	width: auto;
	overflow: hidden;
}

ul.products li.product .price {
	color: var(--sasty-gold);
}

@media (max-width: 900px) {
	ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 560px) {
	ul.products {
		grid-template-columns: 1fr;
	}
}

