/* ========================================
   GLOBAL STYLES & RESET
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #C97A3D;
    --secondary-color: #1a1a1a;
    --accent-color: #f5f5f5;
    --text-color: #2D2D2D;
    --light-text: #666;
    --border-color: #E2E2E2;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --font-logo: 'Italiana', serif;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden; /* Prevent horizontal scroll globally */
    width: 100%;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: #fff;
    line-height: 1.6;
    overflow-x: hidden; /* Double lock */
    width: 100%;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* ========================================
   NAVIGATION BAR
   ======================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95);
    z-index: 20000 !important; /* Extremely high priority base */
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 700;
    font-size: 1.5rem;
}

.logo-img {
    height: 50px;
    width: 50px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.logo-text {
    font-family: var(--font-logo);
    font-size: 1.8rem;
    font-weight: 400; /* Italiana looks better at lighter weights */
    letter-spacing: 1px;
    background: linear-gradient(135deg, var(--primary-color), #8B4513);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-right {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.cart-btn {
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-color);
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.cart-btn:hover {
    color: var(--primary-color);
    transform: scale(1.1);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
}

.login-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    margin-right: 1.5rem;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
}

.login-btn:hover {
    background-color: #B8682F;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(201, 122, 61, 0.3);
}

.navbar .mobile-menu-btn,
button.mobile-menu-btn {
    display: none !important;
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    padding: 0.2rem;
    transition: var(--transition);
}

.mobile-menu-btn:hover {
    color: var(--primary-color);
}

/* ========================================
   HERO/CAROUSEL SECTION
   ======================================== */

.hero-section {
    width: 100%;
    height: 75vh; /* Tightened to bring content below fold upward */
    margin-top: 60px;
    position: relative;
    overflow: hidden;
}

.carousel-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Left aligned content */
    padding-left: 8%;
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    z-index: 1;
    will-change: opacity;
    pointer-events: none;
    backface-visibility: hidden;
}

.carousel-item.active {
    opacity: 1 !important;
    z-index: 2;
    pointer-events: auto;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, 
        rgba(0, 0, 0, 0.75) 0%, 
        rgba(0, 0, 0, 0.4) 40%, 
        rgba(0, 0, 0, 0) 100%);
    z-index: 1;
}

.carousel-content {
    position: relative;
    z-index: 2;
    text-align: left;
    color: white;
    max-width: 700px;
    padding: 2rem 0;
    animation: slideInContent 1s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

.carousel-tagline {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    opacity: 0.9;
}

.carousel-title {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.carousel-description {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    max-width: 550px;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0.9rem 2.2rem;
    font-size: 1rem;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 700;
    transition: var(--transition);
    text-transform: capitalize;
    box-shadow: 0 5px 20px rgba(201, 122, 61, 0.4);
}

.cta-button:hover {
    background-color: #B8682F;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(201, 122, 61, 0.5);
}

/* Carousel Navigation Buttons */

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.3);
    color: white;
    border: 2px solid white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.carousel-nav:hover {
    background-color: rgba(201, 122, 61, 0.7);
    border-color: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav.prev {
    left: 2rem;
}

.carousel-nav.next {
    right: 2rem;
}

/* Carousel Indicators */

.carousel-indicators {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid white;
    background-color: transparent;
    cursor: pointer;
    transition: var(--transition);
}

.indicator.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: scale(1.3);
}

.indicator:hover {
    background-color: rgba(255, 255, 255, 0.6);
}

/* ========================================
   FEATURED PRODUCTS SECTION
   ======================================== */

.featured-section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.section-header p {
    color: var(--light-text);
    font-size: 1.1rem;
}

.products-section {
    padding: 2rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    padding-top: 2rem; /* Room for brand tags sticking out of the top of cards */
}

.product-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    position: relative;
    transition: var(--transition);
    text-align: left;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-width: 0;
    max-width: 310px;
    overflow: visible; 
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.product-image {
    width: 100%;
    height: 200px; /* Reduced for a more compact look */
    border-radius: 8px;
    margin-bottom: 1rem;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    background-color: white; /* Clean white background */
    padding: 1.5rem; /* Breathing room for the product */
    overflow: visible; 
}

.brand-tag {
    position: absolute;
    top: -11px; /* Overlaps the top border for a premium look */
    left: 50%;
    transform: translateX(-50%);
    background: #fdfbf7;
    backdrop-filter: blur(4px);
    padding: 0.25rem 0.75rem; /* Slightly wider for the label look */
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 700;
    color: #8b5e3c;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Slightly more prominent shadow */
    border: 1.5px solid rgba(139, 94, 60, 0.25);
    z-index: 100; /* Stays above everything */
    text-transform: uppercase;
    letter-spacing: 0.8px;
    width: fit-content;
    white-space: nowrap;
}

.discount-badge {
    position: absolute;
    top: 6px;
    left: 6px; /* Moved to left to avoid overlap with brand tag */
    background-color: #e74c3c;
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 2px 10px rgba(231, 76, 60, 0.3);
}

.share-btn {
    position: absolute;
    top: 6px;
    right: 6px;
    background-color: white;
    color: var(--light-text);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: var(--transition);
    z-index: 10;
}

.share-btn:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.product-category {
    font-size: 0.85rem;
    color: var(--light-text);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.25rem;
}

.product-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    text-align: left;
    white-space: normal; /* Allow wrapping */
    overflow-wrap: break-word;
    word-break: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 3rem; /* Fixed height for 2 lines */
    line-height: 1.3;
}

.product-price {
    color: #c97a3d;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.4rem; /* Reduced for tighter look */
    text-align: left;
}

.product-description-snippet {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 0.8rem;
    text-align: left;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    overflow-wrap: break-word; /* Prevents mid-word splitting */
    word-break: normal; /* Ensures natural line breaks */
    height: 2.6rem; /* Ensures cards are perfectly symmetric */
    line-height: 1.5;
}

.add-to-cart {
    background-color: #c97a3d;
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 700;
    transition: var(--transition);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: auto; /* Forces button to the absolute bottom of stretching cards for perfect symmetry */
    margin-bottom: 0.8rem;
}

.add-to-cart:hover {
    background-color: #b0622a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(201, 122, 61, 0.2);
}

.buy-whatsapp {
    display: none !important;
}

.buy-whatsapp:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.2);
}

.add-to-cart.added {
    background-color: #28a745 !important;
    pointer-events: none;
}

/* Centered section headers for homepage sections */
.compact-header {
    text-align: center !important;
    margin-bottom: 1.5rem; /* Reduced spacing */
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.compact-header h2 {
    font-size: 2.2rem;
    color: var(--secondary-color);
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.header-underline {
    height: 4px;
    width: 50px;
    background: #c97a3d;
    border-radius: 2px;
}

.compact-view-container {
    background: #fdfbf7;
    padding: 2rem 10% 4rem 10%; /* Reduced top padding to bring content up */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    width: 100%;
}

.products-grid-static {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 2rem !important;
    width: 100% !important;
    margin: 2rem 0;
}

/* Loading, Error & Empty States */
.loading-state, 
.error-state, 
.empty-state {
    grid-column: 1 / -1;
    text-align: center !important;
    padding: 3rem 1.5rem !important;
    color: #666;
    font-style: italic;
    background: #fdfdfd;
    border-radius: 12px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 150px;
    border: 1px dashed #eee;
    margin: 1rem 0;
}

/* Fix: Disable marquee animation during loading/error to prevent clipping */
.partners-grid:has(.loading-state),
.partners-grid:has(.error-state),
.partners-grid:has(.empty-state) {
    animation: none !important;
    width: 100% !important;
    justify-content: center !important;
}

/* Loading Spinner */
.loading-state::after {
    content: '';
    width: 24px;
    height: 24px;
    border: 2px solid #ddd;
    border-top: 2px solid var(--primary-color, #C97A3D);
    border-radius: 50%;
    margin-top: 1rem;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-width: 1024px) {
    .products-grid-static { grid-template-columns: repeat(2, 1fr) !important; }
}

@media (max-width: 650px) {
    .products-grid-static { grid-template-columns: 1fr !important; }
}

/* ========================================
   CART SIDEBAR UI
   ======================================== */

.cart-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(2px);
    z-index: 2000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cart-overlay.active {
    display: block;
    opacity: 1;
}

.cart-sidebar {
    position: fixed;
    top: 0; right: -100%; /* Fully off-screen by percentage */
    width: 400px; max-width: 100vw;
    height: 100%;
    background: white;
    z-index: 2001;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    visibility: hidden;
    pointer-events: none;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.4s, transform 0.4s;
}

.cart-sidebar.active {
    right: 0;
    visibility: visible;
    pointer-events: auto;
}

.cart-sidebar-header {
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-sidebar-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
}

.close-sidebar {
    background: none; border: none;
    font-size: 2rem; cursor: pointer;
    color: #888; transition: color 0.2s;
}

.close-sidebar:hover { color: #333; }

.cart-items-list {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
}

.cart-sidebar-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f5f5f5;
}

.cart-item-img {
    width: 70px; height: 70px;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    background-color: #f9f9f9;
}

.cart-item-info { flex: 1; }

.cart-item-info h4 {
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
    font-weight: 600;
}

.cart-item-info p {
    color: #c97a3d;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: #f5f5f5;
    width: fit-content;
    padding: 4px 10px;
    border-radius: 20px;
}

.quantity-controls button {
    background: none; border: none;
    font-size: 1.2rem; font-weight: 700;
    cursor: pointer; color: #555;
    width: 20px; height: 20px;
    display: flex; align-items: center; justify-content: center;
}

.remove-item {
    position: absolute;
    top: 0; right: 0;
    background: none; border: none;
    color: #ccc; cursor: pointer;
    font-size: 1.2rem;
}

.remove-item:hover { color: #e74c3c; }

.cart-sidebar-footer {
    padding: 1.5rem;
    background: #fafaf8;
    border-top: 1px solid #eee;
}

.subtotal-row {
    display: flex;
    justify-content: space-between;
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
}

.whatsapp-checkout-btn {
    width: 100%;
    background: #25d366;
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    transition: background 0.25s, transform 0.2s;
}

.whatsapp-checkout-btn:hover {
    background: #1faf54;
    transform: translateY(-2px);
}

.empty-cart-msg {
    text-align: center;
    color: #999;
    font-style: italic;
    margin-top: 3rem;
}

/* ----------------------------------------
   CONFIRM / DISCARD MODAL
   (z-index must be above cart sidebar: 2001,
    and above navbar: 20000)
   ---------------------------------------- */

.confirm-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(3px);
    z-index: 25000 !important;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s;
}

.confirm-overlay.active {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.confirm-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.92);
    background: #fff;
    border-radius: 16px;
    padding: 2rem 1.8rem;
    width: 90%;
    max-width: 360px;
    z-index: 25001 !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    text-align: center;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), visibility 0.25s;
}

.confirm-modal.active {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
}

.confirm-modal-icon {
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
}

.confirm-modal h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.6rem;
}

.confirm-modal p {
    font-size: 0.95rem;
    color: var(--light-text);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.confirm-modal-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
}

.confirm-btn-cancel {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    background: white;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-color);
    cursor: pointer;
    transition: var(--transition);
}

.confirm-btn-cancel:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.confirm-btn-discard {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    background: #e74c3c;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    color: white;
    cursor: pointer;
    transition: var(--transition);
}

.confirm-btn-discard:hover {
    background: #c0392b;
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

/* Loading/Error States */
.loading-state, .error-state, .empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: var(--light-text);
    font-style: italic;
    background: var(--accent-color);
    border-radius: 10px;
    border: 1px dashed var(--border-color);
}

.error-state {
    color: #e74c3c;
    border-color: #fab1a0;
}

/* Duplicates removed - using consolidated styles above */

.header-underline {
    height: 4px;
    width: 60px;
    background: var(--primary-color);
    margin: 0 auto; /* Default center */
    border-radius: 2px;
}

/* ----------------------------------------
   SHOW MORE PRODUCTS BUTTON
   ---------------------------------------- */

.show-more-container {
    text-align: center;
    margin-top: 1.5rem;
    padding-bottom: 0;
}

.show-more-btn {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.9rem 2.8rem;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    letter-spacing: 0.3px;
    box-shadow: 0 5px 15px rgba(201, 122, 61, 0.2);
}

.show-more-btn:hover {
    background: #B8682F;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(201, 122, 61, 0.3);
}

.marquee-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 0.75rem 0;
}

.partners-grid {
    display: flex;
    gap: 3rem; /* Space between cards */
    width: max-content; /* Ensure container expands to content width */
    animation: marquee 12s linear infinite; /* Speed increased for better dynamic feel */
    will-change: transform;
}

.marquee-wrapper:hover .partners-grid {
    animation-play-state: paused; /* Pause on hover */
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-25%); } /* Move exactly 1/4 of the quadrupled content for a perfect loop */
}

.partner-card {
    background: white;
    border: 1px solid rgba(0,0,0,0.05); /* Subtle border */
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 140px; /* Reduced for compact view */
    width: 200px; /* Reduced for compact view */
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.04); /* Soft shadow like reference */
    flex-shrink: 0;
}

.partner-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.08); /* Enhancement on hover */
    transform: translateY(-5px);
}

.partner-card img {
    max-width: 90%;
    height: 80px; /* Fixed height for consistency */
    width: auto; /* Fixed width auto to maintain aspect ratio */
    object-fit: contain; /* PERFECT FIT: Never stretches, always fits within the 80px height */
    margin-bottom: 1rem;
    transition: var(--transition);
}

.partner-brand-name {
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-top: 0.5rem;
}

.partner-card.loading {
    color: var(--light-text);
    font-style: italic;
    background: transparent;
    border: none;
    box-shadow: none;
}

/* ========================================
   ABOUT SECTION
   ======================================== */

.about-section {
    background-color: var(--accent-color);
    padding: 5rem 2rem;
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.about-content > p {
    font-size: 1.1rem;
    color: var(--light-text);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.feature:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.feature h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.feature p {
    color: var(--light-text);
    font-size: 0.95rem;
}

/* ========================================
   OWNER MESSAGE SECTION
   ======================================== */

.owner-section {
    background-color: #fff;
    padding: 6rem 2rem;
}

.owner-container {
    max-width: 1000px; /* Aligns with about-content */
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap; /* responsive */
}

.owner-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.owner-image img {
    width: 100%;
    max-width: 380px;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

.owner-content {
    flex: 1.2;
    min-width: 300px;
}

.owner-content h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.owner-content > p {
    font-size: 1.1rem;
    color: var(--light-text);
    line-height: 1.8;
    margin-bottom: 1.2rem;
}

.owner-signature {
    font-family: var(--font-logo);
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 2rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
    display: inline-block;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .owner-section {
        padding: 4rem 1.5rem; /* Standardized spacious padding */
        text-align: center;
    }
    .owner-container {
        gap: 2.5rem;
        flex-direction: column-reverse; /* Image at bottom on mobile looks cleaner */
    }
    .owner-content h2 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    .header-underline {
        margin: 0 auto 2.5rem !important; /* Force center on mobile */
    }
    .owner-signature {
        margin-top: 2rem;
        text-align: center;
        width: 100%;
        display: block;
    }
    .owner-image img {
        max-width: 280px;
    }
}

/* ========================================
   CONTACT SECTION
   ======================================== */

.contact-section {
    padding: 6rem 5%;
    background: #fff;
    max-width: 1200px;
    margin: 0 auto;
}

/* ========================================
   OUR CORE VALUES & COMPACT SECTIONS
   ======================================== */

.compact-view-container {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.compact-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.compact-header h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-family: serif;
}

.header-underline {
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin: 0.8rem auto 0;
    border-radius: 2px;
}

/* Our Core Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-top: 2rem;
}

.value-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 16px;
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    border-color: var(--primary-color);
}

.value-icon-wrapper {
    width: 60px;
    height: 60px;
    background-color: #fdf5f0; /* Very light primary tint */
    color: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    flex-shrink: 0;
}

.value-card h3 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-family: serif;
    font-weight: 700;
}

.value-card p {
    color: var(--light-text);
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0;
}

/* Partners & Products Compact Spacing */
.partners-compact {
    margin-top: -4rem; /* Brings it up further to ensure visibility */
    position: relative;
    z-index: 10;
    margin-bottom: 6rem;
    width: 100%;
    padding: 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05); /* Soft premium shadow */
    border: 1px solid rgba(201, 122, 61, 0.1);
}

.products-compact, .values-compact {
    margin-bottom: 6rem;
}

/* Contact Header Style Fix */
.contact-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-header h2 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-family: serif;
}

.contact-header p {
    color: var(--light-text);
    font-size: 1.1rem;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.contact-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    transition: var(--transition);
}

.contact-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transform: translateY(-5px);
}

.icon-circle {
    width: 60px;
    height: 60px;
    background-color: #fdf5f0;
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
}

.contact-card h3 {
    font-size: 1.25rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-family: serif;
    font-weight: 700;
}

.contact-card p {
    color: var(--light-text);
    font-size: 1rem;
}

.contact-split {
    display: grid;
    grid-template-columns: 1.2fr 1.8fr;
    gap: 4rem;
    align-items: center;
}

.contact-split-left {
    text-align: left;
}

.contact-split h3 {
    font-family: serif;
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.connect-instantly p {
    color: var(--light-text);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #25D366;
    color: white;
    padding: 0.9rem 1.8rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.contact-divider {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 2.5rem 0;
}

.follow-journey h3 {
    font-size: 1.4rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-circle {
    width: 45px;
    height: 45px;
    background-color: #f5f5f5;
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

.social-circle:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.contact-split-right {
    height: 400px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background-color: var(--bg);
    padding: 5rem 2rem 1.5rem 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-col h3 {
    font-family: serif;
    font-size: 1.4rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.brand-col .footer-logo {
    width: 80px;
    height: 80px;
    background-color: white;
    border-radius: 50%;
    object-fit: cover;
    padding: 2px;
    margin-bottom: 1.5rem;
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.brand-col p {
    color: var(--light-text);
    font-size: 1rem;
    line-height: 1.7;
    max-width: 300px;
}

.links-col ul,
.context-col ul,
.contact-col ul {
    list-style: none;
    padding: 0;
}

.links-col ul li,
.context-col ul li,
.contact-col ul li {
    margin-bottom: 1.2rem;
    color: var(--light-text);
    font-size: 1rem;
}

.links-col ul li a {
    color: var(--light-text);
    text-decoration: none;
    transition: var(--transition);
    font-size: 1rem;
}

.links-col ul li a:hover {
    color: var(--primary-color);
}

.contact-col ul li {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-col ul li svg {
    color: #c97a3d;
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
    text-align: center;
    color: var(--light-text);
    font-size: 0.95rem;
}

/* ========================================
   PRODUCTS PAGE SPECIFIC STYLES
   ======================================== */

.page-hero {
    margin-top: 60px;
    background: #1a1a1a;
    padding: 4.5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('images/landing page images/10f758e9d5f62f526f7dcf86ede7781b.jpg') center/cover no-repeat;
    opacity: 0.12;
}

.page-hero-content {
    position: relative;
    z-index: 1;
}

.breadcrumb {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.75rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.breadcrumb span {
    margin: 0 0.4rem;
}

.page-hero h1 {
    font-size: 2.6rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.6rem;
    letter-spacing: -0.5px;
}

.page-hero p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 1rem;
}

.filter-bar {
    background: white;
    border-bottom: 1px solid var(--border-color);
    padding: 1.2rem 2rem;
    position: relative;
    z-index: 900;
}

.filter-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.search-wrap {
    position: relative !important;
    flex: 1;
    min-width: 220px;
}

.search-wrap svg {
    position: absolute !important;
    left: 12px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: var(--primary-color) !important;
    z-index: 2;
    pointer-events: none;
}

.search-input {
    width: 100% !important;
    height: 42px !important;
    padding: 0.7rem 1rem 0.7rem 2.8rem !important;
    border: 1.5px solid var(--border-color) !important;
    border-radius: 8px !important;
    font-size: 0.95rem !important;
    font-family: inherit !important;
    background: #ffffff !important;
    transition: var(--transition);
}

.search-input:focus {
    outline: none !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 3px rgba(201, 122, 61, 0.12) !important;
}

select.category-filter, 
#brandFilter {
    height: 44px !important;
    padding: 0 2.5rem 0 1.2rem !important;
    border: 1.5px solid var(--border-color) !important;
    border-radius: 8px !important;
    font-size: 0.95rem !important;
    font-family: inherit !important;
    background-color: #ffffff !important;
    color: var(--text-color) !important;
    cursor: pointer !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23c97a3d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    transition: var(--transition);
}

select.category-filter:focus, 
#brandFilter:focus {
    outline: none !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 3px rgba(201, 122, 61, 0.12) !important;
}

.results-count {
    font-size: 0.85rem;
    color: var(--light-text);
    white-space: nowrap;
}

.results-count strong {
    color: var(--primary-color);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
    /* 1. Header & Navigation (Tudoholic Style) */
    .navbar {
        position: fixed; 
        padding: 0.5rem 0;
        top: 0; left: 0; right: 0;
        background: white;
        z-index: 20000 !important; /* Force to top above everything */
        box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        overflow: visible !important; /* Prevent menu clipping */
    }

    .navbar .nav-container {
        overflow: visible !important; /* Prevent menu clipping */
    }

    .nav-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 1rem;
        position: relative;
        min-height: 50px;
    }

    .nav-logo {
        position: absolute !important;
        left: 50% !important;
        top: 50% !important;
        transform: translate(-50%, -50%) !important;
        margin: 0 !important;
        z-index: 1000;
        display: flex;
        align-items: center;
        gap: 0.5rem;
        white-space: nowrap;
        pointer-events: none !important; /* Click-through empty space */
        width: auto !important;
    }

    .nav-logo a, 
    .nav-logo img, 
    .nav-logo span {
        pointer-events: auto !important; /* Keep logo elements clickable */
    }

    .nav-logo .logo-ext {
        display: none !important; /* Force hide on mobile to save space */
    }

    .logo-img {
        width: 26px !important;
        height: 26px !important;
        border-width: 1px;
    }

    .logo-text {
        font-size: 0.72rem !important;
        font-weight: 500;
        letter-spacing: 0.2px;
        line-height: 1;
    }

    .navbar .mobile-menu-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        order: -1 !important; /* Force to far left */
        z-index: 10001; /* Above navbar content */
        width: 44px !important; /* Accessibility standard touch target */
        height: 44px !important;
        min-width: 44px;
        min-height: 44px;
        padding: 0;
        background: transparent;
        color: var(--text-color);
        pointer-events: auto !important; /* Ensure it's always clickable */
        cursor: pointer;
    }

    .nav-right {
        order: 1; 
        display: flex;
        gap: 0.5rem;
        width: 36px !important; /* Equal to mobile-menu-btn for perfect centering */
        justify-content: flex-end;
        z-index: 1002;
    }

    .nav-right .login-btn {
        display: none !important;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -50vw; /* Match width */
        width: 50vw; /* 50% of screen */
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 6rem;
        box-shadow: none; /* No shadow when hidden */
        z-index: 2000;
        gap: 2rem;
        visibility: hidden;
        pointer-events: none;
        transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        display: flex;
    }

    /* Home Page / Global Menu Active State */
    .nav-menu.active {
        right: 0;
        visibility: visible !important;
        pointer-events: auto !important;
        opacity: 1 !important;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 50000 !important; /* Absolute top priority above even navbar */
        background: #ffffff !important; /* Opaque background to prevent bleed */
        display: flex !important; /* Force visibility */
        visibility: visible !important;
    }

    body.no-scroll {
        overflow: hidden !important;
    }

    /* Cart Sidebar Mobile Fixes */
    .cart-sidebar {
        width: 70vw !important; /* 70% width on mobile as requested */
        right: -100% !important; /* Fully hidden off-screen */
    }

    .cart-sidebar.active {
        right: 0 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        z-index: 50000 !important; /* Absolute top priority */
    }

    /* 2. Hero / Carousel */
    .hero-section {
        margin-top: 50px;
        height: 60vh;
    }

    .carousel-item {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
        justify-content: center;
    }

    .carousel-content {
        text-align: center;
        max-width: 100%;
    }

    .carousel-title {
        font-size: 1.4rem !important;
        line-height: 1.2;
        margin-bottom: 0.6rem;
    }

    .carousel-description {
        font-size: 0.8rem !important;
        margin-bottom: 1.2rem;
        line-height: 1.4;
        max-width: 100%;
    }

    .hero-actions {
        justify-content: center;
        gap: 1rem;
    }

    .cta-button {
        padding: 0.75rem 1.2rem;
        font-size: 0.85rem;
    }

    .carousel-nav {
        display: none !important;
    }
    
    .carousel-dots {
        bottom: 15px !important;
    }
    
    .dot {
        width: 6px !important;
        height: 6px !important;
    }

    /* 3. Products Grid & Page */
    .products-grid {
        grid-template-columns: 1fr; /* 'One by one' layout as requested */
        gap: 2rem;
    }

    .product-card {
        padding: 1.25rem !important;
        border-radius: 12px !important;
        max-width: none !important;
    }
    .product-image {
        height: 220px !important;
        padding: 1.5rem !important;
        margin-bottom: 1rem !important;
    }
    .product-card h3 {
        font-size: 1.15rem !important;
        height: auto !important;
        margin-bottom: 0.6rem !important;
    }
    .product-price {
        font-size: 1.3rem !important;
        margin-bottom: 0.6rem !important;
    }
    .product-description-snippet {
        display: -webkit-box !important; /* Restore for single column layout */
        font-size: 0.85rem !important;
        margin-bottom: 1.2rem !important;
    }
    .warranty-info-row {
        height: 40px !important;
        padding: 0 12px !important;
        margin-bottom: 1.2rem !important;
    }
    .add-to-cart {
        padding: 0.85rem !important;
        font-size: 0.9rem !important;
        gap: 8px !important;
    }

    /* Filter Bar Cleanup */
    .products-page .filter-bar {
        padding: 0.75rem 1rem;
        background: #fff;
        border-bottom: 1px solid var(--border-color);
    }

    .products-page .filter-inner {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .products-page .search-wrap {
        order: 1;
        flex: 1;
        min-width: 100%;
        margin-bottom: 0.4rem;
    }

    .products-page .category-filter,
    .products-page .brand-filter,
    .products-page select {
        flex: 1;
        min-width: calc(50% - 0.25rem);
        max-width: calc(50% - 0.25rem);
        font-size: 0.75rem;
        height: 36px;
        order: 2;
    }

    /* 4. Owner & Footer */
    .owner-section {
        padding: 3rem 1.5rem;
    }

    .owner-container {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .owner-image img {
        max-width: 280px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .contact-col ul li {
        justify-content: center;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Fix contact cards overflow on mobile */
    /* Fix contact cards overflow on mobile */
    .contact-cards {
        grid-template-columns: 1fr !important;
        width: 100% !important;
        padding: 0 1rem !important;
        gap: 1.5rem !important;
    }

    .contact-card {
        width: 100% !important;
        margin: 0 auto;
        padding: 2rem 1rem !important;
    }

    .contact-split {
        grid-template-columns: 1fr !important;
        width: 100% !important;
        gap: 2rem !important;
        padding: 0 1rem !important;
    }

    .contact-split-left {
        text-align: center !important; /* Perfect symmetry on mobile */
    }

    .social-icons {
        justify-content: center !important; /* Center social circles on mobile */
        margin-top: 1rem;
    }

    .contact-split-right {
        width: 100% !important;
        height: 250px !important; /* Fixed height for consistent visibility */
        margin-top: 1rem;
        border-radius: 12px;
    }

    .marquee-wrapper {
        width: 100vw !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }


    /* Products Page Hero & Filter Mobile */
    .page-hero {
        padding: 4.5rem 1rem 2rem 1rem !important; /* Increased top padding for fixed header */
        margin-top: 0 !important;
    }
    .breadcrumb {
        font-size: 0.7rem !important;
        margin-bottom: 0.5rem !important;
    }
    .filter-bar {
        padding: 0.6rem 0.8rem !important;
    }
    .filter-inner {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.4rem !important;
        align-items: center;
    }
    .search-wrap {
        min-width: 100% !important;
        margin-bottom: 0.2rem !important;
    }
    .search-input {
        height: 36px !important;
        padding: 0 1rem 0 2.4rem !important;
        font-size: 0.8rem !important;
        border-radius: 6px !important;
    }
    .search-wrap svg {
        left: 10px !important;
        width: 14px !important;
        height: 14px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
    }
    .category-filter, 
    #brandFilter {
        width: calc(50% - 0.2rem) !important;
        min-width: 0 !important;
        padding: 0 1.8rem 0 0.75rem !important;
        font-size: 0.75rem !important;
        height: 36px !important;
        background-position: right 8px center !important;
        border-radius: 6px !important;
    }
    .category-filter:focus, 
    #brandFilter:focus {
        border-color: var(--primary-color) !important;
        outline: none;
        box-shadow: 0 0 0 2px rgba(201, 122, 61, 0.1);
    }
    .results-count {
        width: 100%;
        text-align: center;
        margin-top: 0.2rem;
        font-size: 0.7rem !important;
    }
}

@media (max-width: 480px) {
    .section-header h2,
    .about-content h2,
    .contact-header h2,
    .compact-header h2,
    .owner-content h2 {
        font-size: 1.3rem !important;
    }

    .carousel-title {
        font-size: 1.2rem !important;
    }

    .partners-grid {
        gap: 1.5rem;
        animation-duration: 8s; /* Even faster on mobile for better visibility */
    }

    .partner-card {
        width: 140px;
        min-height: 100px;
        padding: 0.8rem;
    }

    .partner-card img {
        height: 50px;
    }

    .partner-brand-name {
        font-size: 0.75rem;
    }

    .carousel-description {
        font-size: 0.75rem !important;
        line-height: 1.4;
    }
    
    .cta-button {
        padding: 0.5rem 1rem !important;
        font-size: 0.75rem !important;
        border-radius: 6px;
    }
    
    .logo-text {
        font-size: 0.8rem !important;
    }

    .logo-img {
        width: 32px !important;
        height: 32px !important;
    }

    .logo-text {
        font-size: 1.1rem !important;
    }

    .logo-ext {
        display: none; /* Hide 'Enterprises' on small mobile for logo clarity */
    }

    .owner-content p {
        font-size: 1rem !important; /* Slightly larger for easier reading */
        line-height: 1.7;
    }

    .owner-signature {
        font-size: 1.25rem !important;
    }

    .footer-col h3 {
        font-size: 0.95rem !important;
    }

    .page-hero h1 {
        font-size: 1.4rem !important;
    }
    .page-hero p {
        font-size: 0.8rem !important;
    }
}

/* ========================================
   WARRANTY & PREMIUM STYLING (Psychology of Trust)
   ======================================== */
.premium-product {
    border: 1.5px solid #d4af37 !important;
    background: linear-gradient(to bottom, #ffffff, #fffdfa);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.08) !important;
    position: relative;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.premium-product:hover {
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.15) !important;
    transform: translateY(-8px) scale(1.01);
    border-color: #b8860b !important;
}

/* The Seal of Quality Badge */
.warranty-badge {
    display: none !important;
}

@keyframes goldShine {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Warranty Info Block inside Card */
.warranty-info-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 10px; /* Removed vertical padding to strictly follow height */
    background: rgba(212, 175, 55, 0.07);
    border-radius: 8px;
    border: 1px dashed rgba(212, 175, 55, 0.35);
    margin-top: 0; /* Auto margin moved to add-to-cart for symmetry */
    margin-bottom: 12px;
    height: 40px; /* STRICT FIXED HEIGHT for perfect symmetry */
    transition: all 0.3s ease;
    overflow: hidden;
}

.warranty-info-row.empty {
    background: transparent;
    border-color: transparent;
    visibility: hidden;
}

.warranty-info-row svg {
    color: #d4af37;
    flex-shrink: 0;
}

.warranty-info-text {
    font-size: 0.78rem;
    font-weight: 600;
    color: #8b5e3c;
}


/* Removed premium specific button styling to match standard products as requested */

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */

.testimonials-section {
    padding: 6rem 10%;
    background: #fdfbf7;
    width: 100%;
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.testimonial-card {
    background: white;
    padding: 3rem 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border: 1px solid rgba(201, 122, 61, 0.1);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(201, 122, 61, 0.1);
    border-color: var(--primary-color);
}

.quote-icon {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.stars {
    color: #FFB340; /* Golden color for stars */
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-color);
    font-style: italic;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.testimonial-author {
    border-top: 1px solid #eee;
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.author-name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--secondary-color);
}

.author-info {
    font-size: 0.9rem;
    color: var(--light-text);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* Responsive adjustments for testimonials */
@media (max-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .testimonials-section {
        padding: 3rem 1rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        margin-top: 2rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }

    .quote-icon {
        margin-bottom: 0.75rem;
    }

    .stars {
        margin-bottom: 0.75rem;
        font-size: 1rem;
    }
    
    .testimonial-text {
        font-size: 0.95rem;
        margin-bottom: 1.25rem;
        line-height: 1.6;
    }

    .testimonial-author {
        padding-top: 1rem;
    }

    .author-name {
        font-size: 1.1rem;
    }

    .login-btn {
        display: none !important;
    }

    .carousel-nav {
        display: none !important;
    }
}

/* Confirmation Modal Styles */
.confirm-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.confirm-overlay.active {
    opacity: 1;
    visibility: visible;
}

.confirm-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -40%) scale(0.9);
    background: white;
    width: 90%;
    max-width: 400px;
    padding: 2.5rem 2rem;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    z-index: 2001;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.confirm-modal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.confirm-modal-icon {
    width: 80px;
    height: 80px;
    background: #fdf2e9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.confirm-modal h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #1a1a1a;
    margin-bottom: 0.75rem;
}

.confirm-modal p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.confirm-modal-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.confirm-btn-cancel, .confirm-btn-discard {
    padding: 0.8rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
}

.confirm-btn-cancel {
    background: #f5f5f5;
    color: #666;
    border: 1px solid #eee;
}

.confirm-btn-cancel:hover {
    background: #eee;
}

.confirm-btn-discard {
    background: var(--primary-color);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(201, 122, 61, 0.2);
}

.confirm-btn-discard:hover {
    background: #b8682f;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 122, 61, 0.3);
}

@media (max-width: 480px) {
    .confirm-modal {
        padding: 2rem 1.5rem;
    }
    .confirm-modal-actions {
        grid-template-columns: 1fr;
    }
}



/* ========================================
   FAQ SECTION (SEO & UX)
   ======================================== */

.faq-section {
    padding: 5rem 2rem;
    background: white;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-accordion {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    border: 1px solid #f0ebe3;
    border-radius: 12px;
    background: #fdfbf7;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active {
    border-color: var(--primary-color);
    box-shadow: 0 10px 25px rgba(201, 122, 61, 0.08);
}

.faq-question {
    width: 100%;
    padding: 1.5rem 2rem;
    background: none;
    border: none;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--secondary-color);
    cursor: pointer;
    gap: 1rem;
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 400;
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.faq-item.active .faq-answer {
    max-height: 300px; /* Large enough for any answer */
}

.faq-answer-content {
    padding: 0 2rem 1.5rem;
    color: #666;
    line-height: 1.7;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .faq-section {
        padding: 3.5rem 1.2rem;
    }
    .faq-question {
        padding: 1.2rem 1.5rem;
        font-size: 1rem;
    }
    .faq-answer-content {
        padding: 0 1.5rem 1.2rem;
        font-size: 0.95rem;
    }
    .faq-accordion {
        margin-top: 2rem;
    }
}

