/* 
 * Gramado Wine - Premium Redesign V2
 * "Luxury & Depth"
 */

:root {
    --color-marsala: #64242E;
    --color-marsala-dark: #4a1a22;
    --color-sand: #F1CC98;
    --color-sand-light: #faebd7;
    --color-off-white: #F9F8F4;
    --color-black: #0F0F0F;
    --color-grey: #2C2C2C;
    
    --font-heading: 'Oranienbaum', serif;
    --font-body: 'Inter', sans-serif;
    
    --easing: cubic-bezier(0.23, 1, 0.32, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

body {
    background-color: var(--color-off-white);
    color: var(--color-grey);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden; /* Double safety */
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.1;
}

.text-marsala { color: var(--color-marsala); }
.text-gold { color: var(--color-sand); }
.text-white { color: white; }

.display-1 { font-size: clamp(3.5rem, 8vw, 6rem); } /* Responsive Huge */
.display-2 { font-size: clamp(2.5rem, 5vw, 4rem); }
.display-3 { font-size: clamp(2rem, 3vw, 3rem); }

.lead {
    font-size: 1.25rem;
    font-weight: 300;
    max-width: 600px;
}

/* --- Utilities --- */
.container {
    width: 90%;
    max-width: 1400px; /* Wider for premium feel */
    margin: 0 auto;
}

.section-padding {
    padding: 120px 0; /* More breathing room */
}

.img-fluid {
    width: 100%;
    height: auto;
    display: block;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 16px 40px;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    transition: all 0.5s var(--easing);
    position: relative;
    overflow: hidden;
    z-index: 1;
    text-decoration: none;
}

.btn-primary {
    background: var(--color-marsala);
    color: white;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 0%;
    height: 100%;
    background: var(--color-sand);
    z-index: -1;
    transition: all 0.5s var(--easing);
}

.btn-primary:hover::before {
    width: 100%;
}

.btn-primary:hover {
    color: var(--color-marsala);
    box-shadow: 0 10px 30px rgba(241, 204, 152, 0.3);
}

.btn-outline {
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    background: transparent;
}

.btn-outline:hover {
    border-color: var(--color-sand);
    color: var(--color-sand);
    background: rgba(255,255,255,0.05);
}

/* --- Header / Nav --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 30px 0;
    transition: all 0.4s ease;
}

.navbar.scrolled {
    background: rgba(15, 15, 15, 0.9);
    backdrop-filter: blur(15px);
    padding: 15px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Desktop Menu */
.navbar-menu {
    display: flex;
    gap: 40px;
}

.navbar-menu a {
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    opacity: 0.7;
    transition: opacity 0.3s;
    position: relative;
}

.navbar-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 1px;
    background: var(--color-sand);
    transition: width 0.3s;
}

.navbar-menu a:hover {
    opacity: 1;
    color: var(--color-sand);
}

.navbar-menu a:hover::after {
    width: 100%;
}

/* Icons & User Actions */
.nav-icons {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-cart {
    background: transparent;
    border: none;
    color: white;
    font-size: 1.1rem;
    cursor: pointer;
    position: relative;
    transition: color 0.3s;
    padding: 5px;
}

.btn-cart:hover {
    color: var(--color-sand);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -8px;
    background: var(--color-marsala);
    color: white;
    font-size: 0.65rem;
    font-weight: bold;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: none; /* Initially hidden, shown by JavaScript when count > 0 */
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.2);
}

/* Hide badge when empty or explicitly hidden */
.cart-count:empty,
.cart-count[style*="display: none"] {
    display: none !important;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none; /* Hidden on desktop */
    background: transparent;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
}

/* --- Mobile Menu Overlay --- */
.mobile-menu-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    height: 100vh;
    background: var(--color-black);
    z-index: 2000;
    transform: translateX(100%); /* Hidden by default */
    transition: transform 0.4s var(--easing);
    padding: 40px;
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    border-left: 1px solid rgba(255,255,255,0.05);
}

.mobile-menu-sidebar.active {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
}

.mobile-logo {
    height: 30px;
    filter: brightness(0) invert(1);
}

.mobile-close-btn {
    background: transparent;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: color 0.3s;
}

.mobile-close-btn:hover {
    color: var(--color-marsala);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.mobile-nav-item {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 15px;
    color: white;
    font-size: 1.2rem;
    transition: transform 0.3s, color 0.3s;
}

.mobile-nav-item:hover {
    color: var(--color-sand);
    transform: translateX(10px);
}

.nav-number {
    font-family: var(--font-heading);
    color: var(--color-marsala);
    font-size: 1rem;
    opacity: 0.7;
}

.mobile-menu-footer {
    margin-top: auto;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
}

.btn-mobile-cta {
    width: 100%;
    margin-bottom: 30px;
    text-align: center;
}

.mobile-social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.mobile-social-links a {
    color: #999;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.mobile-social-links a:hover {
    color: white;
}

.mobile-menu-backdrop {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s;
}

.mobile-menu-backdrop.active {
    opacity: 1;
    visibility: visible;
}

/* --- Hero Carousel (Modern) --- */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
    background: #000;
}

.hero-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s;
    z-index: 1;
    
    /* Centering Content Vertically */
    display: flex;
    align-items: center;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.hero-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    transition: transform 6s ease-out;
    opacity: 0.8;
}

.hero-slide.active .hero-bg {
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 1;
    transition: background 0.5s ease;
}

/* Default Overlay (Left aligned text logic) */
.hero-slide .hero-overlay {
    /* Darker black gradient extended further, no wine tint */
    background: linear-gradient(to right, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.8) 50%, rgba(0,0,0,0.4) 100%);
}

.hero-slide:nth-child(even) .hero-overlay {
    /* Reverse Gradient for Right Text */
    background: linear-gradient(to left, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.8) 50%, rgba(0,0,0,0.4) 100%);
}

/* --- Hero Navigation (Bottom Center) --- */
.hero-nav-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: row; /* Horizontal */
    gap: 15px;
    z-index: 10;
    top: auto; /* Reset top from previous vertical layout */
    right: auto;
}

.hero-dot {
    width: 40px; /* Horizontal line width */
    height: 3px;
    background: rgba(255,255,255,0.2);
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    border-radius: 2px;
}

.hero-dot::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 0%; 
    height: 100%;
    background: var(--color-sand);
    transition: width 0.5s linear;
}

.hero-dot.active {
    background: rgba(255,255,255,0.4);
    height: 3px; /* Keep height consistent */
    width: 60px; /* Expand width when active */
}

.hero-dot.active::after {
    width: 100%; /* Fill horizontally */
    height: 100%;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 800px;
    padding: 0 5%;
    width: 100%;
}

/* --- Alternating Layouts --- */

/* ODD Slides (1, 3...): Text Left (Default) */
.hero-slide:nth-child(odd) .hero-content {
    text-align: left;
    margin-right: auto;
}

/* EVEN Slides (2, 4...): Text Right */
.hero-slide:nth-child(even) .hero-content {
    text-align: right;
    margin-left: auto;
    /* Flex alignment shift */
    align-items: flex-end; 
}

.hero-slide:nth-child(even) .hero-overlay {
    /* Reverse Gradient for Right Text */
    background: linear-gradient(to left, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0.2) 100%);
}

/* Animations */
.hero-badge {
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--color-sand);
    font-size: 0.9rem;
    margin-bottom: 20px;
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
}

.hero-slide.active .hero-badge {
    animation: fadeUp 0.8s var(--easing) 0.3s forwards;
}

.hero-content h1 {
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(30px);
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.hero-slide.active .hero-content h1 {
    animation: fadeUp 0.8s var(--easing) 0.5s forwards;
}

.hero-content p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 40px;
    font-size: 1.2rem;
    opacity: 0;
    transform: translateY(30px);
    
    /* Ensure paragraph constraint on right align too */
    display: inline-block; 
}

.hero-slide.active .hero-content p {
    animation: fadeUp 0.8s var(--easing) 0.7s forwards;
}

.hero-actions {
    opacity: 0;
    transform: translateY(30px);
}

.hero-slide.active .hero-actions {
    animation: fadeUp 0.8s var(--easing) 0.9s forwards;
}
/* --- Empório & Bar (Location) --- */
.emporio-section {
    background: #FFFEFA;
    position: relative;
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    min-height: 600px;
}

.location-info {
    padding: 80px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.location-images {
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: 400px;
}

.location-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.location-grid:hover .location-images img {
    transform: scale(1.05);
}

.location-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.feature-item i {
    color: var(--color-marsala);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

/* --- B2B Section --- */
.b2b-section {
    background: #111;
    color: white;
    padding: 100px 0;
    position: relative;
}

.b2b-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0.1;
    pointer-events: none;
}

.b2b-content-wrapper {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.b2b-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
    margin-bottom: 50px;
}

.b2b-card {
    background: rgba(255,255,255,0.05);
    padding: 30px 20px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s;
}

.b2b-card:hover {
    background: var(--color-marsala);
    border-color: var(--color-marsala);
    transform: translateY(-5px);
}

.b2b-card h4 {
    font-size: 1.1rem;
    margin-top: 15px;
    margin-bottom: 10px;
    color: var(--color-sand);
}

.b2b-card i {
    font-size: 2rem;
    color: white;
}

/* --- 3D Card Effects --- */
.tilt-card {
    transition: transform 0.1s; /* Very fast for mouse follow, handled by JS primarily */
    transform-style: preserve-3d;
}

.depth-layer {
    transform: translateZ(50px);
}

/* --- Curadoria Section (Asymmetrical) --- */
.curadoria-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.curadoria-images {
    position: relative;
    height: 600px;
}

.img-float-1 {
    width: 80%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    box-shadow: 20px 20px 60px rgba(0,0,0,0.2);
    /* Initial state for scroll reveal */
    transform: translateY(50px);
    opacity: 0; 
}

.img-float-2 {
    width: 50%;
    position: absolute;
    bottom: 50px;
    right: 0;
    z-index: 2;
    border: 5px solid white;
    box-shadow: -20px -20px 60px rgba(0,0,0,0.2);
    /* Initial state */
    transform: translateY(100px);
    opacity: 0;
}

/* --- Signature Club (Dark Theme) --- */
.club-section {
    background: var(--color-black);
    color: white;
    position: relative;
    overflow: hidden;
}

.club-bg-decoration {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(100, 36, 46, 0.3) 0%, transparent 70%);
    pointer-events: none;
}

.club-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 60px;
}

.card-club {
    background: rgba(255,255,255,0.05); /* Glass */
    border: 1px solid rgba(255,255,255,0.1);
    padding: 40px;
    backdrop-filter: blur(10px);
    transition: all 0.4s var(--easing);
}

.card-club:hover {
    background: rgba(100, 36, 46, 0.2);
    border-color: var(--color-marsala);
    transform: translateY(-10px);
}

/* --- Shop Section (Grid / Carousel) --- */
#ecommerce {
    background: #fdfbf7; /* Light Sand/Paper texture */
    position: relative;
    overflow: hidden;
}

#ecommerce .section-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

#ecommerce .section-subtitle {
    font-size: 1.1rem;
    opacity: 0.8;
}

/* Container injected by JS */
.carousel-wrapper {
    position: relative;
    padding: 0 40px; /* Space for arrows */
}

.carousel-track-container {
    overflow: hidden;
    width: 100%;
}

.carousel-track {
    display: grid; /* JS controls columns, but we need base display */
    grid-template-columns: repeat(3, 1fr); /* Fallback */
    gap: 30px;
    width: 100%;
    transition: transform 0.5s ease;
}

/* Arrows */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: 1px solid var(--color-marsala);
    color: var(--color-marsala);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.carousel-arrow:hover:not(:disabled) {
    background: var(--color-marsala);
    color: white;
}

.carousel-arrow:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    border-color: #ccc;
    color: #ccc;
}

.carousel-prev { left: -10px; }
.carousel-next { right: -10px; }

/* Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-dot.active {
    background: var(--color-marsala);
    transform: scale(1.2);
}

/* Product Card - Premium Style */
.shop-card {
    background: white;
    border-radius: 8px; /* Softer corners */
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.shop-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(100, 36, 46, 0.1);
}

.card-image {
    position: relative;
    height: 350px; /* Tall image area */
    overflow: hidden;
    background-color: #f4f4f4;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.shop-card:hover .card-image img {
    transform: scale(1.08); /* Subtle zoom */
}

/* Overlay Buttons */
.card-overlay {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.shop-card:hover .card-overlay {
    opacity: 1;
    transform: translateY(0);
}

.btn-wishlist-card {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: none;
    color: var(--color-marsala);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
}

.btn-wishlist-card:hover {
    background: var(--color-marsala);
    color: white;
}

.btn-view-details {
    padding: 0 20px;
    height: 40px;
    border-radius: 20px;
    background: white;
    border: none;
    color: #333;
    font-weight: 600;
    font-size: 0.8rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    cursor: pointer;
}

.btn-view-details:hover {
    background: #333;
    color: white;
}

/* Out of Stock */
.out-of-stock-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0,0,0,0.6);
    color: white;
    padding: 5px 10px;
    font-size: 0.75rem;
    border-radius: 4px;
    font-weight: 600;
}

/* Info */
.card-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-info h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--color-marsala);
    margin: 0 0 5px 0;
    line-height: 1.3;
    height: 2.6em; /* Limit to 2 lines */
    overflow: hidden;
}

.product-code {
    font-size: 0.75rem;
    color: #999;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-price {
    margin-top: auto;
    margin-bottom: 15px;
}

.product-price .price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
}

.btn-add-to-cart {
    width: 100%;
    padding: 10px;
    background-color: transparent;
    border: 1px solid var(--color-marsala);
    color: var(--color-marsala);
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    transition: all 0.3s;
}

.btn-add-to-cart:hover:not(:disabled) {
    background-color: var(--color-marsala);
    color: white;
}

.btn-add-to-cart:disabled {
    border-color: #ccc;
    color: #999;
    cursor: not-allowed;
}

/* --- Shop Actions Area (New) --- */
.shop-actions-container {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(164, 116, 73, 0.2); /* Subtle Gold/Sand divider */
    display: flex;
    justify-content: center;
    position: relative;
}

/* Decorative element for the button area */
.shop-actions-container::before {
    content: '✦';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #fdfbf7; /* Match section bg */
    padding: 0 10px;
    color: var(--color-marsala);
    font-size: 1.2rem;
}

.btn-shop-view-all {
    padding: 15px 40px;
    background: transparent;
    border: 1px solid var(--color-marsala);
    color: var(--color-marsala);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    letter-spacing: 1px;
    position: relative;
    transition: all 0.4s ease;
    overflow: hidden;
}

.btn-shop-view-all:hover {
    background: var(--color-marsala);
    color: white;
    padding-left: 50px;
    padding-right: 50px;
    letter-spacing: 2px;
}

/* Enhanced Product Card Typography */
.card-info h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem; /* Increased from 1.1rem */
    color: var(--color-marsala);
    margin: 5px 0 10px 0;
    line-height: 1.2;
    height: auto; 
    overflow: visible;
}

.product-description {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 5px;
    display: block !important; /* Force show */
    opacity: 0.8;
}

/* Premium Price Tag */
.product-price .price {
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--color-marsala);
    font-family: var(--font-heading);
}

/* --- Footer --- */
.footer-modern {
    background: #111;
    color: white;
    padding-top: 80px;
    padding-bottom: 30px;
    border-top: 1px solid #333;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand p {
    color: #666;
    margin-top: 20px;
}

.footer-links h4 {
    color: var(--color-sand);
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.footer-links ul li {
    list-style: none;
    margin-bottom: 12px;
}

.footer-links a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

/* --- Animations --- */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: all 1s var(--easing);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #1a1a1a;
}
::-webkit-scrollbar-thumb {
    background: var(--color-marsala);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-sand);
}

/* Responsiveness */
@media(max-width: 968px) {
    .navbar-menu { display: none; }
    .mobile-menu-btn { display: block; }
    
    .curadoria-grid { grid-template-columns: 1fr; }
    .curadoria-images { height: 400px; margin-bottom: 40px; }
    .club-grid { grid-template-columns: 1fr; }
    
    /* Optimized Grid Layouts for Mobile */
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
    .b2b-features { grid-template-columns: 1fr 1fr; gap: 20px; } /* 2x2 on tablet */
    
    /* Reduced Spacing */
    .section-padding { padding: 60px 0; }
    
    /* Navbar Mobile Adjustments */
    .navbar-container {
        padding: 0 10px; 
    }
    
    .navbar-logo img {
        height: 35px; 
    }
    
    .nav-icons {
        gap: 15px; 
    }
}

@media(max-width: 600px) {
    .footer-grid { grid-template-columns: 1fr; text-align: center; } /* Stack footer */
    .b2b-features { grid-template-columns: 1fr; } /* Stack B2B features */
    
    /* Shop / Ecommerce: Show 1 card at a time */
    .carousel-track, .shop-grid { 
        grid-template-columns: 1fr; 
    }
    
    /* Tighter Spacing for Mobile */
    .section-padding { padding: 40px 0; }
    .club-grid, .curadoria-grid { gap: 40px; }
    
    .display-1 { font-size: 2.8rem; }
    
    /* Mobile Navbar Optimization */
    .navbar-container {
        width: 95%; 
    }
    
    .navbar-logo img {
        height: 30px; 
    }
    
    .nav-icons {
        gap: 10px;
    }
    
    .btn-cart, .btn-user, .mobile-menu-btn {
        font-size: 1.2rem;
        padding: 5px;
    }
    
    /* Ensure no overflow from hero text */
    .hero-content h1 {
        font-size: 2.5rem; 
    }
}
/* --- About Section (Gradient Fade Banner) --- */
.about-gradient-wrapper {
    display: flex;
    min-height: 400px; /* Shorter, banner-like */
    background-color: var(--color-marsala); /* Wine background */
    position: relative;
    overflow: hidden;
    align-items: center;
}

.about-visual-side {
    width: 50%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background-image: url('../img/about-banner.png'); /* Now in correct path */
    background-size: cover;
    background-position: center;
    z-index: 1;
}

/* The Gradient Convergence (Image to Marsala) */
.about-visual-side::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 60%; /* Wider fade for smoothness */
    background: linear-gradient(to right, transparent 0%, var(--color-marsala) 90%);
    pointer-events: none;
}

.about-content-side {
    width: 50%;
    margin-left: 50%; /* Push to right half */
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 60px 40px 0;
    position: relative;
    z-index: 2;
}

.about-text-content {
    max-width: 550px;
}

.section-subtitle {
    font-family: var(--font-body);
    color: var(--color-sand);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    display: block;
}

.about-text-content h2 {
    font-size: 2.5rem; /* Smaller than before, fits banner */
    color: white;
    line-height: 1.1;
    margin-bottom: 20px;
}

.about-text-content p {
    color: rgba(255,255,255,0.85); /* Light text for contrast */
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 25px;
}

/* Responsive */
@media (max-width: 900px) {
    .about-gradient-wrapper {
        flex-direction: column;
        min-height: auto;
    }
    
    .about-visual-side {
        width: 100%;
        height: 250px;
        position: relative;
    }
    
    .about-visual-side::after {
        width: 100%;
        height: 50%;
        top: auto;
        bottom: 0;
        right: 0;
        left: 0;
        background: linear-gradient(to bottom, transparent 0%, var(--color-marsala) 100%);
    }
    
    .about-content-side {
        width: 100%;
        margin-left: 0;
        padding: 40px 30px;
    }
}

/* --- Signature Club (Dark Cinema) --- */
.signature-cinema-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 60px;
}

.signature-header {
    max-width: 800px;
}

/* Video Frame */
.video-frame-outer {
    width: 100%;
    max-width: 1000px;
    position: relative;
    padding: 10px; /* Space for outer border effect */
    background: linear-gradient(135deg, rgba(241, 204, 152, 0.3), rgba(100, 36, 46, 0.1));
    border-radius: 4px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.video-frame-inner {
    width: 100%;
    aspect-ratio: 16/9;
    background: black;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(241, 204, 152, 0.2);
}

.video-element {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-mute-toggle {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0,0,0,0.6);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.video-mute-toggle:hover {
    background: var(--color-marsala);
    border-color: var(--color-marsala);
    transform: scale(1.1);
}

/* Play Button Overlay */
.video-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 2;
}

.video-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.play-circle {
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    padding-left: 5px;
    position: relative;
    transition: transform 0.3s;
}

.video-overlay:hover .play-circle {
    transform: scale(1.1);
    background: rgba(255,255,255,0.2);
}

.pulse-ring {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 100%; height: 100%;
    border: 1px solid rgba(241, 204, 152, 0.5);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { width: 100%; height: 100%; opacity: 1; }
    100% { width: 180%; height: 180%; opacity: 0; }
}

/* Floating Member Card */
.floating-member-card {
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 280px;
    height: 170px;
    background: linear-gradient(135deg, #1a1a1a, #000);
    border: 1px solid rgba(241, 204, 152, 0.3);
    border-radius: 12px;
    padding: 20px;
    color: var(--color-sand);
    box-shadow: 0 15px 35px rgba(0,0,0,0.6);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 3;
    font-family: 'Courier New', monospace;
}

.card-chip {
    width: 40px;
    height: 30px;
    background: linear-gradient(135deg, #e6cfa5, #b88a44);
    border-radius: 4px;
    opacity: 0.8;
}

.card-logo {
    position: absolute;
    top: 20px; right: 20px;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    opacity: 0.8;
}

.card-number {
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin-top: 20px;
    text-shadow: 0 1px 2px black;
}

.card-holder {
    font-size: 0.7rem;
    opacity: 0.6;
}

/* Benefits */
.benefits-row {
    display: flex;
    gap: 60px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.benefit-item {
    text-align: center;
    max-width: 250px;
}

.benefit-icon {
    font-size: 2rem;
    color: var(--color-sand);
    margin-bottom: 20px;
    display: block;
}

.benefit-item h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 500;
}

.benefit-item p {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 900px) {
    .video-frame-inner { aspect-ratio: 4/3; }
    .floating-member-card {
        position: relative;
        bottom: auto; right: auto;
        margin-top: -30px;
        margin-bottom: 30px;
        transform: rotate(-5deg);
    }
    
    .benefits-row {
        flex-direction: column;
        gap: 40px;
    }
}

/* --- Shop Section (Dark Premium V2) --- */
#ecommerce {
    background: linear-gradient(to bottom, #0F0F0F 0%, #2c0e12 100%); /* Seamless Dark Transition */
    position: relative;
    color: white;
    padding-bottom: 80px;
}

#ecommerce::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-image: url('../img/noise.png');
    opacity: 0.05;
    pointer-events: none;
}

#ecommerce .section-title {
    color: var(--color-sand) !important;
}

#ecommerce .section-subtitle {
    color: rgba(255,255,255,0.6) !important;
}

/* Specific Override: Remove excessive top padding */
#ecommerce.section-padding {
    padding-top: 40px !important; /* "Tirar quase tudo" */
}

/* Ensure Header is Centered & Spaced */
.section-header.text-center {
    text-align: center !important;
    margin-bottom: 50px; /* "Falta um pouco de margem abaixo" */
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 3D Glass Card */
.shop-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 8px; /* Slightly more rounded */
    box-shadow: 0 10px 30px rgba(0,0,0,0.3); /* Deep shadow */
    transition: all 0.4s ease;
    transform-style: preserve-3d;
}

.shop-card:hover {
    background: linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
    border-color: rgba(241, 204, 152, 0.3); /* Gold hint */
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0,0,0,0.5); /* Lifted shadow */
}

/* Card Content */
.card-info h3 { 
    color: #f0f0f0; 
    font-weight: 500;
}
.product-description { color: rgba(255, 255, 255, 0.5); }
.product-code { color: rgba(255, 255, 255, 0.3); }
.product-price .price { 
    color: var(--color-sand); 
    font-size: 1.3rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

/* Card Buttons */
.btn-view-details {
    background: var(--color-sand);
    color: #111;
    border: none;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.7rem;
    padding: 8px 16px;
    border-radius: 2px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.btn-view-details:hover {
    background: white;
    transform: translateY(-2px);
}

.btn-wishlist-card {
    background: rgba(0,0,0,0.6);
    color: var(--color-sand);
    border: 1px solid rgba(241, 204, 152, 0.3);
    border-radius: 50%;
    width: 35px; height: 35px;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.3s;
}

.btn-wishlist-card:hover {
    background: var(--color-sand);
    color: #111;
    transform: scale(1.1);
}

/* --- Shop Actions Area (Premium V2) --- */
.shop-actions-container {
    margin-top: 80px;
    padding-top: 50px;
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

/* Gradient Separator Line */
.shop-actions-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(241, 204, 152, 0.5) 50%, transparent 100%);
}

/* Optional Decorative Diamond */
.shop-actions-container::after {
    content: '◈';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    background: #111; /* Matches section bg */
    padding: 0 10px;
    color: var(--color-sand);
    font-size: 0.8rem;
}

/* Context Text */
.shop-actions-text {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    font-family: var(--font-body);
    margin-bottom: 5px;
    letter-spacing: 1px;
}

/* "Ver Todos" - Premium Outline Style V2 */
.btn-shop-view-all {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 18px 50px;
    color: var(--color-sand);
    border: 1px solid rgba(241, 204, 152, 0.4);
    background: linear-gradient(135deg, rgba(255,255,255,0.03), transparent);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-shop-view-all::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 0%;
    height: 100%;
    background: var(--color-sand);
    transition: width 0.5s ease;
    z-index: 0;
}

.btn-shop-view-all span {
    position: relative;
    z-index: 1;
    transition: color 0.4s;
}

.btn-shop-view-all i {
    position: relative;
    z-index: 1;
    transition: transform 0.4s, color 0.4s;
    font-size: 0.9rem;
}

.btn-shop-view-all:hover {
    border-color: var(--color-sand);
    box-shadow: 0 0 30px rgba(241, 204, 152, 0.2);
    transform: translateY(-3px);
}

.btn-shop-view-all:hover::before {
    width: 100%;
}

.btn-shop-view-all:hover span,
.btn-shop-view-all:hover i {
    color: #1a1a1a;
}

.btn-shop-view-all:hover i {
    transform: translateX(5px);
}

/* Add to Cart (On Card) */
.btn-add-to-cart {
    background: transparent;
    color: rgba(255,255,255,0.7);
    border: 1px solid rgba(255,255,255,0.1);
    font-size: 0.8rem;
}

/* --- Empório Split Layout (Finalized) --- */
.emporio-split-wrapper {
    display: flex;
    min-height: 800px;
    width: 100%;
    position: relative;
    background-color: #2c0e12;
}

.emporio-text-side {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 60px;
    z-index: 2;
    position: relative;
}

.emporio-content-inner {
    max-width: 600px;
    width: 100%;
}

.emporio-visual-side {
    flex: 1;
    position: relative;
    /* Background image is primarily handled in HTML for path safety, but fallback here */
    background-image: url('../img/emporio.jpg');
    background-size: cover;
    background-position: center;
}

.emporio-gradient-overlay {
    /* Gradient Invasion: Marsala (Left) -> Transparent (Right) */
    background: linear-gradient(to right, #2c0e12 0%, rgba(44, 14, 18, 0.95) 15%, rgba(44, 14, 18, 0) 100%);
    pointer-events: none;
}

/* Feature List Styling */
.experience-pillars {
    margin-top: 40px;
}

.pillar-list li {
    transition: transform 0.3s ease;
}

.pillar-list li:hover {
    transform: translateX(10px);
}

.pillar-title {
    font-family: 'Oranienbaum', serif;
    color: var(--color-sand);
    border-bottom: 1px solid rgba(194, 163, 107, 0.3);
    padding-bottom: 10px;
    margin-bottom: 25px;
    font-size: 1.4rem;
}

/* Footer Refinements (Restored) */
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
}

.footer-logo {
    transition: transform 0.3s;
}

.footer-logo:hover {
    transform: scale(1.05);
}

.social-links a:hover {
    color: var(--color-sand, #C2A36B) !important;
    transform: translateY(-3px);
}

.newsletter-form button:hover {
    background-color: #fff !important;
    color: #2c0e12 !important;
}

/* Responsive Design */
@media (max-width: 991px) {
    .emporio-split-wrapper {
        flex-direction: column;
    }
    
    .emporio-text-side {
        padding: 60px 20px;
        order: 1; /* Text on TOP */
        text-align: left; 
    }

    .emporio-visual-side {
        min-height: 400px;
        order: 2; /* Image on BOTTOM */
    }
    
    .emporio-gradient-overlay {
        /* Vertical fade for stack: Top (Marsala) -> Bottom (Transparent) */
        background: linear-gradient(to bottom, #2c0e12 0%, rgba(44, 14, 18, 0.8) 20%, rgba(44, 14, 18, 0) 100%) !important; 
    }

    /* Footer Mobile */
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .footer-brand, .footer-contact, .newsletter-form, .footer-links {
        align-items: center;
        justify-content: center;
        display: flex;
        flex-direction: column;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-brand p {
        margin: 0 auto;
        max-width: 300px;
    }
}

/* --- Refactoring Additions (Inline Style Replacements) --- */

.section-no-padding {
    padding: 0 !important;
}

.text-gold-hover:hover {
    color: var(--color-sand) !important;
}

.bg-black {
    background-color: var(--color-black);
}

.bg-noise-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0.1;
    background-image: url('../img/noise.png');
    pointer-events: none;
    z-index: 0;
}

/* About Section */
.btn-history {
    margin-top: 10px;
    border-color: var(--color-sand);
    color: var(--color-sand);
}

/* Signature Section */
.text-lead-centered {
    color: rgba(255,255,255,0.6);
    max-width: 600px;
    margin: 0 auto;
}

/* Emporio Section */
.emporio-lead {
    font-style: italic;
    color: var(--color-sand);
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.emporio-desc {
    color: #ccc; 
    line-height: 1.8;
}

.emporio-desc p {
    margin-bottom: 20px;
}

.pillar-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pillar-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.pillar-icon {
    color: var(--color-sand);
    font-size: 1.2rem;
    margin-top: 4px;
    min-width: 25px;
}

.pillar-text strong {
    color: #fff;
    display: block;
    margin-bottom: 3px;
}

.pillar-text span {
    color: #999;
    font-size: 0.95rem;
}

/* Footer */

/* Footer */
.footer {
    padding-top: 100px;
    padding-bottom: 30px;
    border-top: 5px solid var(--color-marsala);
    background-color: var(--color-black);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
    gap: 50px;
    margin-bottom: 80px;
}

.footer-logo {
    width: 220px;
    height: auto;
    margin-bottom: 25px;
    filter: none;
}

.footer-brand p {
    color: var(--text-grey);
    margin-bottom: 25px;
    font-weight: 300;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: var(--color-off-white);
    background: #2a2a2a;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1rem;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--color-marsala);
    color: var(--color-off-white);
}

.footer h4 {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--color-sand);
    font-weight: 400;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--color-off-white);
    font-weight: 300;
}

.footer-links a:hover {
    color: var(--color-sand);
    padding-left: 5px;
}

.footer-contact p {
    margin-bottom: 18px;
    color: var(--color-off-white);
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 300;
}

.footer-contact i {
    color: var(--color-marsala);
    width: 20px;
}

.newsletter-form {
    display: flex;
    border: 1px solid #333;
}

.newsletter-form input {
    padding: 15px;
    border: none;
    background: #111;
    color: white;
    width: 100%;
    outline: none;
    font-family: var(--font-body);
}

.newsletter-form button {
    background: var(--color-marsala);
    border: none;
    padding: 0 20px;
    color: white;
    cursor: pointer;
    transition: background 0.3s;
}

.newsletter-form button:hover {
    background: var(--color-cabernet);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #222;
    color: #555;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}


/* --- Final Utilities & Tweaks --- */
.hidden {
    display: none !important;
}

.overflow-hidden {
    overflow: hidden;
}

.navbar-logo img {
    height: 40px;
}

.footer-logo {
    width: 120px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}



/* Ensure headings in emporio override default if needed */
.emporio-text-side h2 {
    margin: 15px 0 25px;
}

/* =========================================
   FINAL MOBILE OVERRIDES (Definitive Fixes)
   ========================================= */

@media(max-width: 968px) {
    /* Navbar Tweaks */
    .navbar-container { padding: 0 15px; }
    .navbar-logo img { height: 32px; }
    .nav-icons { gap: 12px; }

    /* Footer: Stacked & Center Aligned (User Request) */
    .footer-grid {
        display: flex;
        flex-direction: column;
        gap: 40px;
        text-align: center !important;
        align-items: center;
    }

    /* Force Center Alignment for all Footer Children */
    .footer-brand, 
    .footer-links, 
    .footer-contact, 
    .footer-newsletter {
        align-items: center !important;
        text-align: center !important;
        width: 100%;
    }

    .footer-brand p {
        margin: 0 auto 25px auto; /* Center paragraph */
        max-width: 300px;
    }

    .social-links {
        justify-content: center !important;
    }

    .footer-contact p {
        justify-content: center !important;
    }

    /* Newsletter Fix: Stack Input and Button */
    .newsletter-form {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 400px; /* Prevent it from being too wide */
        margin: 0 auto; /* Center the form itself */
    }

    .newsletter-form input {
        width: 100%;
        text-align: center;
        border: 1px solid #333; /* Ensure visibility */
    }

    .newsletter-form button {
        width: 100%;
        padding: 15px; /* Bigger touch target */
        margin-left: 0;
    }
    
    /* B2B: Stack Vertically */
    .b2b-features {
        grid-template-columns: 1fr !important;
        gap: 30px;
    }
}

@media(max-width: 600px) {
    /* SHOP: Force Single Column */
    .carousel-track, 
    .shop-grid,
    .shop-grid-container { 
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 40px;
    }

    /* Card Sizing */
    .shop-card {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto;
    }

    /* Spacing Reduction */
    .section-padding { padding: 50px 0 !important; }
    
    /* Font Adjustments */
    .display-1 { font-size: 2.5rem !important; }
    .display-2 { font-size: 2rem !important; }
}
/* --- Smart Shop CTA (Floating - Premium V2) --- */

/* Utility Class just for blocking visibility */
.hidden {
    display: none !important;
}

/* 1. Desktop Floating Badge (Deluxe Gradient Edition) */
.floating-shop-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    
    /* Deluxe Gradient: Marsala to Deep Black with Glassmorphism */
    background: linear-gradient(145deg, rgba(100, 36, 46, 0.98) 0%, rgba(20, 10, 10, 0.98) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    
    padding: 12px 20px;
    border-radius: 12px; /* Slightly more rounded for elegance */
    
    /* Deep Floating Shadow */
    box-shadow: 0 20px 40px -5px rgba(0,0,0,0.4), 
                0 10px 20px -5px rgba(100, 36, 46, 0.2),
                inset 0 1px 1px rgba(255, 255, 255, 0.15); /* Top highlight */
    
    border: 1px solid rgba(255, 255, 255, 0.05);
    
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 18px;
    
    /* Elastic Entrance Animation */
    opacity: 0;
    transform: translateY(80px) scale(0.9);
    transition: all 0.7s cubic-bezier(0.34, 1.56, 0.64, 1); /* Bouncy pop effect */
    
    pointer-events: none;
    cursor: pointer;
    text-decoration: none !important;
}

/* Make whole container clickable via JS or just for UX */
.floating-shop-cta:hover {
    transform: translateY(-8px) scale(1.02); /* More pronounced float on hover */
    box-shadow: 0 25px 50px -5px rgba(0,0,0,0.5), 
                0 15px 30px -5px rgba(100, 36, 46, 0.3);
    border-color: rgba(241, 204, 152, 0.3);
}

.floating-shop-cta.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

/* Icon Container */
.floating-shop-cta .cta-icon,
.mobile-sticky-shop .cta-icon {
    width: 42px; /* Slightly larger */
    height: 42px;
    /* Gold Gradient Icon Bg */
    background: linear-gradient(135deg, #F1CC98 0%, #C69C6D 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-marsala-dark); /* Darker icon color for contrast */
    font-size: 1.1rem;
    box-shadow: 0 5px 15px rgba(241, 204, 152, 0.25);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

/* Shine effect on icon */
.floating-shop-cta .cta-icon::after,
.mobile-sticky-shop .cta-icon::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to bottom right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
    transform: rotate(45deg) translateY(-100%);
    transition: transform 0.6s;
}

.floating-shop-cta:hover .cta-icon::after,
.mobile-sticky-shop:hover .cta-icon::after {
    transform: rotate(45deg) translateY(100%); /* Shine passes through */
}

.floating-shop-cta:hover .cta-icon,
.mobile-sticky-shop:hover .cta-icon {
    transform: scale(1.1);
}

.floating-shop-cta .cta-content,
.mobile-sticky-shop .cta-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-family: var(--font-body); 
}

.floating-shop-cta .cta-title,
.mobile-sticky-shop .cta-title {
    font-family: var(--font-body); 
    font-weight: 700;
    /* Gold Gradient Text */
    background: linear-gradient(90deg, #F1CC98, #E5B979);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1rem;
    line-height: 1.2;
    margin-bottom: 2px;
    letter-spacing: 0.3px;
    text-decoration: none;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2); /* Shadow helps legibility */
}

.floating-shop-cta .cta-subtitle,
.mobile-sticky-shop .cta-subtitle {
    font-family: var(--font-body);
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.75);
    text-transform: none;
    letter-spacing: 0.2px;
    text-decoration: none;
}

/* Arrow Button Circle */
.floating-shop-cta .btn-cta-action,
.mobile-sticky-shop .btn-cta-action {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #F1CC98; /* Gold Arrow */
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.floating-shop-cta:hover .btn-cta-action,
.mobile-sticky-shop:hover .btn-cta-action {
    background: white;
    color: var(--color-marsala);
    transform: translateX(3px);
}

/* 2. Mobile Sticky Bar (Premium Dark) */
.mobile-sticky-shop {
    position: fixed;
    bottom: 20px; /* Floating slightly above bottom */
    left: 20px;
    right: 20px;
    width: auto; /* Not full width */
    
    /* Deluxe Gradient applied from Desktop */
    background: linear-gradient(145deg, rgba(100, 36, 46, 0.98) 0%, rgba(20, 10, 10, 0.98) 100%);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05); /* Matching desktop border */
    
    padding: 12px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10000;
    
    /* Premium Shadows from Desktop */
    box-shadow: 0 20px 40px -5px rgba(0,0,0,0.4), 
                0 10px 20px -5px rgba(100, 36, 46, 0.2),
                inset 0 1px 1px rgba(255, 255, 255, 0.15);
    
    /* Animation */
    transform: translateY(150%);
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    
    /* Fix: Remove default link styles */
    text-decoration: none !important;
    color: white;
}

.mobile-sticky-shop.visible {
    transform: translateY(0);
}

/* Old .mobile-cta-info and .btn-sm styles removed as they are replaced by desktop structure */

/* Responsiveness Logic */
@media (min-width: 769px) {
    .mobile-sticky-shop { display: none !important; }
}

@media (max-width: 768px) {
    .floating-shop-cta { display: none !important; }
}

