/* Giada Store — Design System & Styling */

/* CSS Variables */
:root {
    --primary-color: #121212;
    --primary-light: #2c2c2c;
    --accent-color: #c5a880;
    --accent-hover: #b4966e;
    --accent-light: #f7f4ef;
    --bg-color: #FAF9F6; /* Warm off-white */
    --card-bg: #FFFFFF;
    --text-color: #1a1a1a;
    --text-muted: #6e6e6e;
    --border-color: #e5e5e5;
    --white: #ffffff;
    --success: #2e7d32;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.1);
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --nav-height: 80px;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Scrollbar Style */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-hover);
}

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

/* Headings & Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-weight: 400;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 0;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--accent-color);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-block {
    width: 100%;
    display: flex;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background-color: rgba(250, 249, 246, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(229, 229, 229, 0.4);
    z-index: 100;
    transition: var(--transition-smooth);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
}

.brand-logo-img {
    height: 38px;
    width: auto;
    display: block;
    transition: var(--transition-smooth);
}

.brand-logo-img:hover {
    transform: scale(1.02);
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-link {
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition-smooth);
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-color);
    transition: var(--transition-smooth);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-color);
}

.nav-actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--primary-color);
    transition: var(--transition-smooth);
    position: relative;
}

.nav-icon-btn:hover {
    color: var(--accent-color);
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background-color: var(--accent-color);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 600;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    transition: var(--transition-smooth);
}

/* Hero Section */
.hero-section {
    position: relative;
    padding-top: var(--nav-height);
    min-height: calc(100vh - 20px);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    align-items: center;
    gap: 64px;
    width: 100%;
}

.hero-content {
    padding: 60px 8% 60px 10%;
    z-index: 2;
}

.hero-subtitle {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent-color);
    margin-bottom: 24px;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.15;
    margin-bottom: 30px;
    letter-spacing: -0.02em;
}

.hero-text {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 480px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

.hero-visual {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-right: 8%;
}

.hero-image-wrapper {
    position: relative;
    width: 90%;
    height: 85%;
    max-height: 650px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    transition: transform 8s ease;
}

.hero-image-wrapper:hover .hero-image {
    transform: scale(1.05);
}

.hero-floating-card {
    position: absolute;
    bottom: 40px;
    left: -40px;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 24px 32px;
    box-shadow: var(--shadow-md);
    border-left: 3px solid var(--accent-color);
    animation: floating 4s ease-in-out infinite;
}

@keyframes floating {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero-floating-card .card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.hero-floating-card .card-subtitle {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 10%;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    cursor: pointer;
}

.scroll-indicator i {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-8px); }
    60% { transform: translateY(-4px); }
}

/* Values Section */
.values-section {
    padding: 120px 0;
    background-color: var(--accent-light);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.value-card {
    padding: 16px 0;
}

.value-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    font-size: 1.8rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.value-card h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
}

.value-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Shop Section Header */
.shop-section {
    padding: 120px 0;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px auto;
}

.sub-heading {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-color);
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Category Filter Tabs */
.filter-container {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 60px;
}

.filter-btn {
    background: none;
    border: 1px solid var(--border-color);
    padding: 10px 24px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition-smooth);
    background-color: var(--white);
}

.filter-btn:hover {
    border-color: var(--primary-color);
}

.filter-btn.active {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* Product Cards Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.product-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
    transform: translateY(-4px);
}

.product-image-container {
    position: relative;
    width: 100%;
    padding-top: 125%; /* Portrait aspect ratio */
    overflow: hidden;
    background-color: #f0f0f0;
}

.product-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: var(--accent-color);
    color: var(--white);
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 4px 10px;
    z-index: 5;
}

.add-to-cart-overlay {
    position: absolute;
    bottom: -60px;
    left: 0;
    width: 100%;
    background-color: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(5px);
    color: var(--white);
    text-align: center;
    padding: 14px;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    z-index: 5;
}

.product-image-container:hover .add-to-cart-overlay {
    bottom: 0;
}

.product-info {
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-category {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    margin-bottom: 6px;
}

.product-title {
    font-size: 0.95rem;
    margin-bottom: 8px;
    font-weight: 500;
    line-height: 1.4;
}

.product-price {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: auto;
}

/* About Philosophy Section */
.about-section {
    padding: 120px 0;
    background-color: var(--white);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.about-image-side {
    position: relative;
    width: 100%;
    padding-top: 100%; /* 1:1 Square layout */
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.about-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content-side {
    padding-right: 20px;
}

.about-title {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.about-content-side p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.7;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 32px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--accent-color);
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

/* Newsletter Section */
.newsletter-section {
    padding: 120px 0;
    text-align: center;
    background-color: var(--bg-color);
}

.newsletter-box {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-box h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.newsletter-box p {
    color: var(--text-muted);
    margin-bottom: 40px;
}

.newsletter-form {
    width: 100%;
}

.form-group {
    display: flex;
    border-bottom: 1.5px solid var(--primary-color);
    padding-bottom: 8px;
}

.form-group input {
    flex-grow: 1;
    background: none;
    border: none;
    padding: 8px 16px 8px 0;
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: var(--primary-color);
}

.form-group input::placeholder {
    color: #999;
}

.form-group input:focus {
    outline: none;
}

.newsletter-submit-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--primary-color);
    padding: 8px;
    transition: var(--transition-smooth);
}

.newsletter-submit-btn:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

.form-feedback {
    margin-top: 16px;
    font-size: 0.9rem;
    font-weight: 500;
}

.form-feedback.success {
    color: var(--success);
}

/* Footer Section */
.footer {
    background-color: var(--primary-color);
    color: #b5b5b5;
    padding: 80px 0 40px 0;
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 60px;
}

.footer-info .footer-logo {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 0.15em;
    margin-bottom: 24px;
}

.footer-info p {
    margin-bottom: 24px;
    max-width: 250px;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.social-links a:hover {
    background-color: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
}

.footer-links h4 {
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 0.05em;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #b5b5b5;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 40px;
    text-align: center;
    font-size: 0.8rem;
    color: #777;
}

/* Cart Drawer Slider Styles */
.cart-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.cart-drawer-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 450px;
    height: 100%;
    background-color: var(--white);
    box-shadow: var(--shadow-lg);
    z-index: 1001;
    transform: translateX(100%);
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.cart-drawer.open {
    transform: translateX(0);
}

.cart-drawer-header {
    padding: 24px 32px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-drawer-header h3 {
    font-size: 1.4rem;
}

.cart-close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
    transition: var(--transition-smooth);
}

.cart-close-btn:hover {
    color: var(--accent-color);
}

.cart-drawer-body {
    flex-grow: 1;
    padding: 32px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.empty-cart-message {
    text-align: center;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.empty-cart-message i {
    font-size: 3rem;
    color: #d1d1d1;
}

.empty-cart-message p {
    color: var(--text-muted);
}

.cart-item {
    display: flex;
    gap: 20px;
    align-items: center;
    animation: slideInItem 0.4s ease forwards;
}

@keyframes slideInItem {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.cart-item-img {
    width: 80px;
    height: 100px;
    object-fit: cover;
    background-color: #f5f5f5;
}

.cart-item-details {
    flex-grow: 1;
}

.cart-item-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.cart-item-price {
    font-size: 0.9rem;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 12px;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    width: fit-content;
}

.qty-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px 12px;
    font-size: 0.8rem;
    color: var(--text-color);
}

.qty-val {
    padding: 0 8px;
    font-size: 0.85rem;
    font-weight: 500;
}

.cart-item-remove {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition-smooth);
    padding: 8px;
}

.cart-item-remove:hover {
    color: #e53935;
}

.cart-drawer-footer {
    padding: 32px;
    border-top: 1px solid var(--border-color);
    background-color: #fafafa;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.total-row {
    margin-top: 16px;
    margin-bottom: 24px;
    font-size: 1.25rem;
    color: var(--primary-color);
    font-weight: 600;
    border-top: 1px dashed var(--border-color);
    padding-top: 16px;
}

.total-price {
    color: var(--primary-color);
}

/* Toast notification */
.toast-notification {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translate(-50%, 100px);
    background-color: var(--primary-color);
    color: var(--white);
    padding: 16px 28px;
    box-shadow: var(--shadow-lg);
    z-index: 1002;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
}

.toast-notification.show {
    transform: translate(-50%, 0);
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    font-weight: 500;
}

.toast-content i {
    color: var(--accent-color);
}

/* Badge animation */
@keyframes badgeWiggle {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.3) rotate(-10deg); }
    75% { transform: scale(1.3) rotate(10deg); }
}

.badge-anim {
    animation: badgeWiggle 0.4s ease;
}

/* Hero animations on load */
.animate-fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-fade-in-delay-1 {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
}

.animate-fade-in-delay-2 {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

.animate-fade-in-delay-3 {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.45s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive styles */
@media (max-width: 1200px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 1024px) {
    .container {
        padding: 0 32px;
    }
    
    .hero-grid {
        gap: 40px;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .grid-2 {
        gap: 40px;
    }
    
    /* Gestione dei filtri per schermi medi */
    .filters-wrapper {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .navbar {
        height: 70px;
    }
    
    .nav-container {
        padding: 0 20px;
    }
    
    .logo {
        font-size: 1.5rem;
    }
    
    .brand-logo-img {
        height: 28px;
    }

    /* Menu mobile drawer a comparsa */
    .mobile-menu-toggle {
        display: block !important;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--bg-color);
        z-index: 99;
        transform: translateX(-100%);
        transition: var(--transition-smooth);
        display: flex !important;
        align-items: center;
        justify-content: center;
        padding: 40px;
    }
    
    .nav-menu.open {
        transform: translateX(0);
    }
    
    .nav-menu ul {
        flex-direction: column;
        align-items: center;
        gap: 32px;
        width: 100%;
    }
    
    .nav-menu .nav-link {
        font-size: 1.5rem;
        letter-spacing: 0.15em;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-content {
        padding: 40px 0 0 0;
    }
    
    .hero-text {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-visual {
        min-height: 350px;
    }
    
    .hero-image-wrapper {
        width: 90%;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .hero-floating-card {
        left: 16px;
        right: 16px;
        bottom: 16px;
        padding: 16px 24px;
    }
    
    .scroll-indicator {
        display: none;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .product-info {
        padding: 16px 12px;
    }
    
    .product-title {
        font-size: 0.85rem;
    }
    
    .add-to-cart-overlay {
        bottom: 0;
        background-color: var(--primary-color);
        padding: 12px;
    }
    
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .about-image-side {
        max-width: 450px;
        margin: 0 auto;
    }
    
    .about-content-side {
        padding-right: 0;
    }
    
    .about-stats {
        justify-content: center;
        gap: 32px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .filters-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .filter-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        width: 100%;
    }
    
    .filter-buttons {
        width: 100%;
    }
    
    .filter-btn, .gender-btn {
        flex-grow: 1;
        text-align: center;
        padding: 10px 12px;
        font-size: 0.75rem;
    }
    
    .modal-body {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 24px;
    }
    
    .modal-image-side {
        padding-top: 100%;
    }
    
    .modal-title {
        font-size: 1.6rem;
    }
}

/* --- Stili Quiet Luxury (Sleek) --- */

/* Mobile menu toggle (nascosto di default su desktop) */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.4rem;
    color: var(--primary-color);
    cursor: pointer;
    z-index: 101; /* Sopra la navbar drawer */
    transition: var(--transition-smooth);
}

.mobile-menu-toggle:hover {
    color: var(--accent-color);
}

/* Gestione dei filtri (Categoria + Genere) */
.filters-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 60px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 24px;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 16px;
}

.filter-label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.gender-btn {
    background: none;
    border: 1px solid var(--border-color);
    padding: 10px 24px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition-smooth);
    background-color: var(--white);
}

.gender-btn:hover {
    border-color: var(--primary-color);
}

.gender-btn.active {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* Search Overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(250, 249, 246, 0.97);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 1100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    justify-content: center;
    padding-top: 120px;
}

.search-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.search-close-btn {
    position: absolute;
    top: 40px;
    right: 40px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--primary-color);
    transition: var(--transition-smooth);
}

.search-close-btn:hover {
    color: var(--accent-color);
    transform: rotate(90deg);
}

.search-container {
    width: 100%;
    max-width: 800px;
    padding: 0 24px;
}

.search-input-wrapper {
    position: relative;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 12px;
    display: flex;
    align-items: center;
}

.search-input-wrapper input {
    width: 100%;
    background: none;
    border: none;
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--primary-color);
    padding-right: 50px;
}

.search-input-wrapper input:focus {
    outline: none;
}

.search-input-wrapper .search-icon {
    position: absolute;
    right: 10px;
    font-size: 1.8rem;
    color: var(--text-muted);
}

.search-results {
    margin-top: 40px;
    max-height: 60vh;
    overflow-y: auto;
    padding-right: 10px;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.search-result-item:hover {
    padding-left: 10px;
    background-color: rgba(197, 168, 128, 0.05);
}

.search-result-img {
    width: 60px;
    height: 75px;
    object-fit: cover;
}

.search-result-info {
    flex-grow: 1;
}

.search-result-title {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.search-result-cat {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

.search-result-price {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
}

.search-no-results {
    text-align: center;
    padding: 40px 0;
    color: var(--text-muted);
    font-family: var(--font-body);
}

/* Product Details Modal */
.product-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(6px);
    z-index: 1200;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.product-modal-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.product-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -40%) scale(0.95);
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    background-color: var(--white);
    box-shadow: var(--shadow-lg);
    z-index: 1201;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
}

.product-modal.open {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    pointer-events: auto;
}

.modal-close-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    background: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: var(--transition-smooth);
}

.modal-close-btn:hover {
    color: var(--accent-color);
    transform: scale(1.1);
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    padding: 40px;
}

.modal-image-side {
    position: relative;
    width: 100%;
    padding-top: 125%;
    background-color: #f0f0f0;
}

.modal-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-content-side {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-badge {
    align-self: flex-start;
    background-color: var(--accent-color);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 6px 12px;
    margin-bottom: 16px;
}

.modal-title {
    font-size: 2.2rem;
    margin-bottom: 12px;
    line-height: 1.2;
}

.modal-price {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 24px;
}

.modal-description {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.modal-meta {
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.meta-row {
    font-size: 0.85rem;
    line-height: 1.5;
}

.meta-row strong {
    color: var(--primary-color);
}

.modal-actions {
    margin-top: auto;
}

/* ============================================================
   GIADA STORE — Wordmark, sezione Visita, micro-interazioni
   ============================================================ */

/* Wordmark testuale (header + footer) */
.wordmark {
    letter-spacing: normal;
    gap: 0.42em;
    align-items: baseline;
}
.wordmark .wordmark-name {
    font-family: var(--font-heading);
    font-style: italic;
    font-weight: 600;
    letter-spacing: 0.01em;
}
.wordmark .wordmark-sub {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.5em;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--accent-color);
    align-self: center;
}
.logo.wordmark:hover .wordmark-name { color: var(--accent-hover); }
.footer-info .footer-logo.wordmark { letter-spacing: normal; }
.footer-info .footer-logo.wordmark .wordmark-name { color: var(--white); }

/* Sezione Visita (riusa l'estetica di About) */
.visit-section {
    padding: 120px 0;
    background-color: var(--bg-color);
    border-bottom: 1px solid var(--border-color);
}
.visit-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 16px;
}
.visit-intro {
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.7;
    margin-bottom: 28px;
    max-width: 46ch;
}
.visit-info {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 32px;
}
.visit-info li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}
.visit-info li i {
    font-size: 1.1rem;
    color: var(--accent-color);
    width: 28px;
    text-align: center;
    margin-top: 2px;
}
.visit-info li div { display: flex; flex-direction: column; }
.visit-info li strong {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--primary-color);
    margin-bottom: 2px;
}
.visit-info li span { color: var(--text-muted); font-size: 0.92rem; }
.visit-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.visit-map-side {
    position: relative;
    width: 100%;
    padding-top: 100%;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: var(--shadow-md);
}
.visit-map {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(0.35) contrast(1.02);
    transition: filter 0.5s ease;
}
.visit-map-side:hover .visit-map { filter: grayscale(0); }

/* Nota sotto il carrello */
.cart-note {
    margin-top: 12px;
    font-size: 0.78rem;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.5;
}

/* Micro-interazioni — elevazione */
.product-image-container { overflow: hidden; }
.product-card .product-img {
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.product-card:hover .product-img { transform: scale(1.05); }

.value-card {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}
@media (hover: hover) {
    .value-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow-lg);
    }
    .value-card:hover .value-icon {
        background-color: var(--primary-color);
        color: var(--accent-color);
    }
}
.value-icon { transition: background-color 0.4s ease, color 0.4s ease; }

.nav-link { position: relative; }
.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 1px;
    background-color: var(--accent-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-link:hover::after,
.nav-link.active::after { transform: scaleX(1); }

.social-links a { transition: color 0.3s ease, transform 0.3s ease; }
.social-links a:hover { color: var(--accent-color); transform: translateY(-2px); }

/* Responsive: sezione Visita */
@media (max-width: 1024px) {
    .visit-section .grid-2 { gap: 40px; }
}
@media (max-width: 768px) {
    .visit-section { padding: 80px 0; }
    .visit-map-side { padding-top: 70%; }
    .visit-actions .btn { flex: 1; text-align: center; }
}

/* Accessibilità: rispetta chi preferisce meno movimento */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}

/* ============================================================
   GIADA STORE — Elevazione "più fica" (intro, marquee, reveal)
   ============================================================ */

/* Intro brand reveal */
.intro-splash {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}
.intro-stage {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
    padding: 40px;
}

/* Monogramma castello in filigrana, dietro la scritta */
.intro-castle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: clamp(280px, 46vw, 460px);
    height: auto;
    transform: translate(-50%, -58%);
    color: var(--accent-color);
    opacity: 0;
    stroke-dasharray: 1400;
    stroke-dashoffset: 1400;
    animation: castleDraw 2.2s ease 0.1s forwards, castleFade 1.2s ease 0.1s forwards;
    pointer-events: none;
}
@keyframes castleDraw { to { stroke-dashoffset: 0; } }
@keyframes castleFade { to { opacity: 0.14; } }

/* Wordmark grande, lettera per lettera */
.intro-wordmark {
    position: relative;
    display: flex;
    align-items: baseline;
    gap: 0.4em;
    font-size: clamp(3.4rem, 11vw, 6.5rem);
    color: var(--white);
    line-height: 1;
}
.intro-wordmark .iw-name { font-family: var(--font-heading); font-style: italic; font-weight: 600; }
.intro-wordmark .iw-sub {
    font-family: var(--font-body); font-weight: 500; font-size: 0.34em;
    letter-spacing: 0.3em; text-transform: uppercase; color: var(--accent-color); align-self: center;
}
.intro-wordmark .il {
    display: inline-block;
    opacity: 0;
    transform: translateY(0.45em) rotate(2deg);
    filter: blur(4px);
    animation: letterIn 0.62s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: calc(var(--i) * 0.075s + 0.25s);
}
@keyframes letterIn {
    to { opacity: 1; transform: translateY(0) rotate(0); filter: blur(0); }
}

.intro-tagline {
    position: relative;
    font-size: clamp(0.7rem, 1.4vw, 0.82rem);
    letter-spacing: 0.46em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    padding-left: 0.46em;
    opacity: 0;
    animation: introIn 1s ease 1.25s forwards;
}
.intro-splash.hidden { opacity: 0; visibility: hidden; }
@keyframes introIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* Marquee editoriale */
.marquee {
    overflow: hidden;
    background: var(--primary-color);
    color: var(--white);
    padding: 16px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.marquee-track {
    display: inline-flex;
    align-items: center;
    gap: 28px;
    white-space: nowrap;
    will-change: transform;
    animation: marquee 26s linear infinite;
}
.marquee-track span {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.15rem;
    letter-spacing: 0.02em;
}
.marquee-track .dot { color: var(--accent-color); font-style: normal; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Hero: type più editoriale */
.hero-title { letter-spacing: -0.02em; }

/* Header: stato allo scroll (senza tremore: altezza fissa, cambia solo ombra/sfondo) */
.navbar { transition: box-shadow 0.4s ease, background-color 0.4s ease; }
.navbar.scrolled {
    box-shadow: var(--shadow-sm);
    background-color: rgba(250, 249, 246, 0.92);
    backdrop-filter: saturate(1.2) blur(8px);
}

/* Scroll reveal (attivo solo con JS; nessun JS = tutto visibile) */
body.reveal-on [data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}
body.reveal-on [data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .hero-image, .marquee-track { animation: none !important; }
    .intro-wordmark .il, .intro-tagline { animation: none !important; opacity: 1 !important; transform: none !important; filter: none !important; }
    .intro-castle { animation: none !important; opacity: 0.14 !important; stroke-dashoffset: 0 !important; }
    body.reveal-on [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* Fix card hero: la foto si ritaglia da sola, la card può sporgere senza essere tagliata */
.hero-image-wrapper { overflow: visible; }
.hero-image-clip {
    position: absolute;
    inset: 0;
    overflow: hidden;
}
.hero-floating-card { z-index: 2; }

/* Serigrafato castello dietro tutto il logo "Giada Store" (header + footer) */
.logo.wordmark { position: relative; z-index: 0; }
.footer-info .footer-logo.wordmark { display: inline-block; position: relative; z-index: 0; }
.logo-castle {
    position: absolute;
    left: 50%;
    top: 42%;
    transform: translate(-50%, -50%);
    height: 2.7em;
    width: auto;
    color: var(--accent-color);
    opacity: 0.5;
    z-index: -1;
    pointer-events: none;
}

/* Header: Giada nero + Store oro ricco e marcato (il bicolore sta sul castello) */
.logo .wordmark-name { color: var(--primary-color); }
.logo .wordmark-sub {
    color: #bf9b30;
    font-weight: 700;
    letter-spacing: 0.34em;
}

/* Footer: Giada bianco + Store oro ricco e marcato (no bicolore) */
.footer-logo .wordmark-name { color: var(--white); }
.footer-logo .wordmark-sub {
    color: #bf9b30;
    font-weight: 700;
    letter-spacing: 0.34em;
}

/* ============================================================
   Pagina legale (privacy) + mappa click-to-load
   ============================================================ */
.legal-page { padding-top: calc(var(--nav-height) + 60px); padding-bottom: 100px; }
.legal { max-width: 820px; margin: 0 auto; }
.legal .legal-kicker {
    font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--accent-color); font-weight: 600; display: block; margin-bottom: 14px;
}
.legal h1 { font-size: 2.6rem; margin-bottom: 12px; letter-spacing: -0.015em; }
.legal .legal-updated { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 40px; }
.legal h2 {
    font-size: 1.35rem; margin: 40px 0 14px; padding-top: 18px;
    border-top: 1px solid var(--border-color);
}
.legal h3 { font-size: 1.02rem; margin: 22px 0 8px; font-family: var(--font-body); font-weight: 600; }
.legal p, .legal li { color: var(--text-color); font-size: 0.96rem; line-height: 1.75; }
.legal p { margin-bottom: 14px; }
.legal ul { margin: 0 0 16px 22px; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--accent-hover); text-decoration: underline; }
.legal .legal-note {
    background: var(--accent-light); border-left: 3px solid var(--accent-color);
    padding: 16px 20px; margin: 20px 0; font-size: 0.9rem; color: var(--text-muted);
}
.legal-back { display: inline-block; margin-top: 48px; }

/* Mappa click-to-load (privacy) */
.map-consent {
    position: absolute; inset: 0;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 14px; text-align: center; padding: 32px;
    background: var(--accent-light);
}
.map-consent i { font-size: 2rem; color: var(--accent-color); }
.map-consent p { color: var(--text-muted); font-size: 0.9rem; max-width: 36ch; margin: 0; }
.map-consent .map-privacy-link { font-size: 0.82rem; color: var(--text-muted); text-decoration: underline; }

/* Nota privacy newsletter */
.newsletter-privacy {
    margin-top: 14px;
    font-size: 0.78rem;
    color: var(--text-muted);
    opacity: 0.85;
}
.newsletter-privacy a { color: inherit; text-decoration: underline; }

/* ============================================================
   Banner consenso cookie
   ============================================================ */
.cookie-banner {
    position: fixed;
    left: 24px; right: 24px; bottom: 24px;
    z-index: 9998;
    max-width: 920px;
    margin: 0 auto;
    background: var(--primary-color);
    color: #fff;
    padding: 20px 24px;
    box-shadow: var(--shadow-lg);
    border-top: 2px solid var(--accent-color);
    display: flex;
    align-items: center;
    gap: 24px;
    animation: cookieIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes cookieIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.cookie-text { flex: 1; margin: 0; font-size: 0.85rem; line-height: 1.6; color: rgba(255, 255, 255, 0.85); }
.cookie-text a { color: var(--accent-color); text-decoration: underline; }
.cookie-actions { flex: 0 0 auto; display: flex; gap: 12px; }
.cookie-actions .btn { padding: 12px 24px; font-size: 0.78rem; }
.cookie-actions .btn-outline { color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.cookie-actions .btn-outline:hover { background: #fff; color: var(--primary-color); border-color: #fff; }

/* Link nel footer-bottom (Privacy, Preferenze cookie) */
.footer-bottom a { color: inherit; text-decoration: underline; }
.footer-bottom a:hover { color: var(--accent-color); }
.cookie-prefs-link { cursor: pointer; }

@media (max-width: 768px) {
    .cookie-banner { left: 12px; right: 12px; bottom: 12px; flex-direction: column; align-items: stretch; gap: 14px; padding: 18px; }
    .cookie-actions .btn { flex: 1; }
}

/* Ritocchi mobile: castello header più contenuto */
@media (max-width: 768px) {
    .logo-castle { height: 1.9em; }
}
