/* --- BOSTANOĞLU GLOBAL DESIGN SYSTEM --- */
:root {
    /* Color Palette */
    --bg-body: #ffffff;
    --text-primary: #121212;
    --text-muted: #666666;
    --accent: #c4a661;
    /* Robust Gold */
    --accent-dark: #a38848;
    --white: #ffffff;
    --black: #000000;
    --glass: rgba(255, 255, 255, 0.96);

    /* Typography */
    --font-heading: 'Italiana', serif;
    --font-body: 'Jost', sans-serif;

    /* Spacing & Layout */
    --container-width: 95%;
    --max-width: 1440px;
    --border-radius: 4px;

    /* Cinematic Transitions */
    --ease-cinema: cubic-bezier(0.65, 0, 0.35, 1);
    --transition-fast: 0.4s var(--ease-cinema);
    --transition-slow: 0.8s var(--ease-cinema);
}

/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    /* Mobile tap fix */
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background: var(--bg-body);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

button {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

/* UTILITY CLASSES */
.container {
    width: var(--container-width);
    max-width: var(--max-width);
    margin: 0 auto;
}

.d-mobile {
    display: none;
}

.d-desktop {
    display: block;
}

.text-center {
    text-align: center;
}

.page-top-spacing {
    padding-top: 60px;
    /* Header height + spacing */
}

@media(max-width: 768px) {
    .page-top-spacing {
        padding-top: 110px;
    }
}

/* --- REVEAL ANIMATIONS (Shared) --- */
.reveal-text {
    overflow: hidden;
    position: relative;
    display: inline-block;
}

.reveal-text span {
    display: block;
    transform: translateY(100%);
    transition: transform 1.2s var(--ease-cinema);
}

.reveal-text.visible span {
    transform: translateY(0);
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s var(--ease-cinema);
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- NAVIGATION (Unified) --- */
.glass-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0;
    /* Remove padding to fit bar nicely, we will add spacing to flex container if needed */
    z-index: 1000;
    transition: all 0.5s var(--ease-cinema);
    background: transparent;
    display: flex;
    flex-direction: column;
}

/* Announcement Bar */
.announcement-bar {
    background-color: #000000;
    /* Black */
    /* Dark Navy Blue */
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 0;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    position: relative;
    z-index: 1002;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.announcement-bar .container {
    text-align: center;
}

.header-flex {
    padding: 2vh 0;
    /* Move padding here */
    width: var(--container-width);
    margin: 0 auto;
}

/* Scrolled or Dark Theme (White Background) */
/* Scrolled or Dark Theme (White Background) */
.glass-header.scrolled,
.glass-header.dark-nav {
    background: #ffffff !important;
    /* Force white background */
    backdrop-filter: none !important;
    /* Remove blur to ensure solid look */
    padding: 0 !important;
    /* Keep 0 to keep bar at top */
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.glass-header.scrolled .header-flex,
.glass-header.dark-nav .header-flex {
    padding: 1.5vh 0;
    /* Shrink inner content instead */
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Brand */
.brand {
    font-size: 2rem;
    letter-spacing: 2px;
    color: var(--white);
    text-transform: uppercase;
    z-index: 1001;
    transition: color 0.4s ease;
}

.brand .dot {
    color: var(--accent);
}

/* Brand Text Color Switch */
.glass-header.scrolled .brand,
.glass-header.dark-nav .brand {
    color: var(--black);
}


/* Menu Toggle (Hamburger) */
.menu-toggle {
    font-size: 1.5rem;
    color: var(--white);
    z-index: 2001;
    transition: color 0.4s ease;
}

/* Toggle Color Switch */
.glass-header.scrolled .menu-toggle,
.glass-header.dark-nav .menu-toggle {
    color: var(--black);
}

/* Ensure icon specifically inherits or sets color if user targeted it */
.glass-header.scrolled .menu-toggle i,
.glass-header.dark-nav .menu-toggle i {
    color: var(--black);
}


/* Desktop Nav Links */
.desktop-nav ul {
    display: flex;
    gap: 40px;
}

.desktop-nav a {
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: var(--white);
    font-weight: 500;
    padding-bottom: 4px;
    position: relative;
    transition: color 0.4s ease;
}

/* Nav Links Color Switch */
.glass-header.scrolled .desktop-nav a,
.glass-header.dark-nav .desktop-nav a {
    color: var(--black);
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.4s var(--ease-cinema);
}

.desktop-nav a:hover::after {
    width: 100%;
}


/* Header Actions (Search & Icons) */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    color: white;
    transition: color 0.4s ease;
    position: relative;
}

/* Actions Color Switch */
.glass-header.scrolled .header-actions,
.glass-header.dark-nav .header-actions {
    color: var(--black);
}

/* --- EXPANDABLE SEARCH SYSTEM --- */

/* Search Icon Button (Default State) */
.search-icon-btn {
    background: none;
    border: none;
    color: inherit;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0;
    margin: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-icon-btn:hover {
    transform: scale(1.1);
    color: var(--accent, #c4a661);
}

/* Hide search icon when search is active */
.search-active .search-icon-btn {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.8);
}

/* Expandable Search Box */
.search-box-expandable {
    position: fixed;
    right: 90px;
    top: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 30px;
    padding: 8px 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    width: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    z-index: 999;
}

/* Active state */
.search-active .search-box-expandable {
    width: 400px;
    opacity: 1;
    pointer-events: auto;
}

/* Scrolled/Dark Nav - Solid white background */
.glass-header.scrolled .search-box-expandable,
.glass-header.dark-nav .search-box-expandable {
    background: #ffffff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

/* Close Button */
.search-close-btn {
    background: none;
    border: none;
    color: #666;
    font-size: 1.1rem;
    cursor: pointer;
    padding: 6px;
    transition: all 0.3s;
    flex-shrink: 0;
}

.search-close-btn:hover {
    color: #000;
    transform: translateX(-3px);
}

/* Search Input */
.search-input-expandable {
    flex: 1;
    border: none;
    outline: none;
    font-size: 0.95rem;
    color: #333;
    background: transparent;
    font-family: var(--font-body);
}

.search-input-expandable::placeholder {
    color: #999;
}

/* Submit Button */
.search-submit-btn {
    background: linear-gradient(135deg, #003153, #004d7a);
    border: none;
    color: #fff;
    padding: 8px 12px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
    flex-shrink: 0;
    font-size: 0.9rem;
}

.search-submit-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0, 49, 83, 0.3);
}

/* Navigation Links Animation */
.desktop-nav {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
    transform: translateX(0);
}

.search-active .desktop-nav {
    opacity: 0;
    transform: translateX(-20px);
    pointer-events: none;
}

/* Responsive adjustments */
@media (max-width: 1100px) {
    .search-active .search-box-expandable {
        width: 320px;
    }
}

@media (max-width: 900px) {

    .search-icon-btn,
    .search-box-expandable {
        display: none;
    }
}

/* Icon Group */
.icon-group {
    display: flex;
    align-items: center;
    gap: 15px;
}

.icon-btn {
    font-size: 1.2rem;
    color: inherit;
    cursor: pointer;
    position: relative;
    transition: transform 0.2s;
}

.icon-btn:hover {
    transform: scale(1.1);
}

/* --- LANGUAGE SWITCHER --- */
.lang-switcher {
    position: relative;
    margin-left: 10px;
    font-family: var(--font-body);
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    cursor: pointer;
    padding: 5px 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.glass-header.scrolled .lang-btn,
.glass-header.dark-nav .lang-btn {
    border-color: rgba(0, 0, 0, 0.1);
    color: var(--black);
}

.lang-btn i {
    font-size: 0.7rem;
    transition: transform 0.3s;
}

.lang-switcher:hover .lang-btn i {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 120px;
    background: var(--white);
    border-radius: 4px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s var(--ease-cinema);
    z-index: 1002;
}

.lang-switcher:hover .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 15px;
    font-size: 0.85rem;
    color: var(--text-primary);
    cursor: pointer;
    transition: background 0.2s;
}

.lang-option:hover {
    background: #f5f5f5;
    color: var(--accent);
}

.lang-option.active {
    font-weight: 600;
    color: var(--accent);
}

.lang-option img {
    width: 20px;
    height: auto;
    border-radius: 2px;
}


/* MOBILE MENU OVERLAY */
/* MOBILE MENU OVERLAY - BEAUTIFUL ANIMATION */
/* --- MOBILE SIDEBAR --- */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(5px);
}

.mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    background: #fff;
    z-index: 1001;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.mobile-sidebar.active {
    transform: translateX(0);
}

.ms-header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f0f0f0;
}

.ms-brand {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: #000;
    letter-spacing: 1px;
}

.close-menu {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #333;
    cursor: pointer;
}

.ms-search {
    padding: 20px;
    position: relative;
    border-bottom: 1px solid #f9f9f9;
}

.ms-search input {
    width: 100%;
    padding: 12px 15px;
    padding-right: 40px;
    border: 1px solid #eee;
    background: #f9f9f9;
    font-family: var(--font-body);
    font-size: 0.9rem;
    border-radius: 4px;
}

.ms-search button {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #999;
}

.mobile-links {
    padding: 20px;
    list-style: none;
    overflow-y: auto;
    flex: 1;
}

.mobile-links li {
    margin-bottom: 20px;
}

.mobile-links a {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: #333;
    text-decoration: none;
    display: block;
    transition: color 0.2s;
}

.mobile-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.ms-footer {
    padding: 25px 20px;
    background: #fdfdfd;
    border-top: 1px solid #eee;
}

.ms-socials {
    display: flex;
    gap: 20px;
    margin-bottom: 10px;
}

.ms-socials a {
    color: #666;
    font-size: 1.2rem;
}

.ms-footer p {
    font-size: 0.75rem;
    color: #999;
    margin: 0;
}


/* --- FOOTER (Unified) --- */
.modern-footer {
    background: var(--white);
    padding: 80px 0 30px;
    border-top: 1px solid #f2f2f2;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    letter-spacing: 2px;
}

.ft-col h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
}

.ft-col a {
    display: block;
    color: var(--text-muted);
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.ft-col a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.socials {
    display: flex;
    gap: 15px;
}

.socials a {
    width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--black);
}

.socials a:hover {
    background: var(--black);
    color: var(--white);
    border-color: var(--black);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #eee;
    font-size: 0.85rem;
    color: #999;
}


/* --- WHATSAPP WIDGET --- */
.wa-float-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 30px;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    cursor: pointer;
    z-index: 9999;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
}

body.filter-open .wa-float-btn,
body.cart-open .wa-float-btn {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.8);
}

.wa-float-btn:hover {
    transform: scale(1.1);
}

.wa-chat-box {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 350px;
    background: #f0f0f0;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.wa-chat-box.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

.wa-header {
    background: #075E54;
    padding: 20px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wa-profile {
    display: flex;
    align-items: center;
    gap: 15px;
}

.wa-avatar {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: grid;
    place-items: center;
}

.wa-info {
    display: flex;
    flex-direction: column;
}

.wa-name {
    font-weight: 600;
    font-size: 0.95rem;
}

.wa-status {
    font-size: 0.75rem;
    opacity: 0.8;
}

.wa-body {
    padding: 20px;
    background-image: url('https://user-images.githubusercontent.com/15075759/28719144-86dc0f70-73b1-11e7-911d-60d70fcded21.png');
    height: 250px;
    overflow-y: auto;
}

.wa-msg-bubble {
    background: white;
    padding: 10px 15px;
    border-radius: 12px;
    border-top-left-radius: 0;
    max-width: 85%;
    font-size: 0.9rem;
    line-height: 1.4;
    position: relative;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.wa-time {
    display: block;
    text-align: right;
    font-size: 0.65rem;
    color: #999;
    margin-top: 5px;
}

.wa-footer {
    padding: 10px;
    background: #f0f0f0;
    display: flex;
    gap: 10px;
}

/* --- FULL PAGE LOADER (Global) --- */
.page-loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader-overlay.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.watch-loader-lg {
    width: 80px;
    height: 80px;
    border: 5px solid #111;
    border-radius: 50%;
    position: relative;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.watch-loader-lg::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    background: #c4a661;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
}

.watch-loader-lg .watch-hand {
    position: absolute;
    bottom: 50%;
    left: 50%;
    background: #111;
    transform-origin: bottom center;
    transform: translateX(-50%);
    border-radius: 4px;
}

.watch-loader-lg .hour-hand {
    width: 5px;
    height: 24px;
    animation: tick 2s linear infinite;
}

.watch-loader-lg .minute-hand {
    width: 3px;
    height: 32px;
    background: #555;
    animation: tick 0.5s linear infinite;
}

.loader-text-lg {
    font-family: 'Jost', sans-serif;
    font-size: 1.1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #333;
    font-weight: 500;
    animation: fadePulse 1.5s ease-in-out infinite;
}

@keyframes tick {
    0% {
        transform: translateX(-50%) rotate(0deg);
    }

    100% {
        transform: translateX(-50%) rotate(360deg);
    }
}

@keyframes fadePulse {

    0%,
    100% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }
}


.wa-footer input {
    flex: 1;
    padding: 10px 15px;
    border-radius: 20px;
    border: none;
    outline: none;
    font-family: inherit;
}

.wa-footer button {
    width: 40px;
    height: 40px;
    background: #075E54;
    color: white;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 1.1rem;
    transition: 0.3s;
}

.wa-footer button:hover {
    transform: scale(1.1);
}

.wa-close {
    font-size: 1.2rem;
    color: white;
    opacity: 0.7;
    transition: 0.3s;
}

.wa-close:hover {
    opacity: 1;
}

.btn-cookie {
    background: var(--text-primary);
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 0.85rem;
}

/* --- RESPONSIVE OPTIMIZATION --- */

/* Tablet & Mobile */
@media(max-width: 1024px) {
    .d-mobile {
        display: block;
    }

    .d-desktop {
        display: none;
    }

    .brand {
        font-size: 1.5rem;
    }
}

@media(max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

/* Mobile */
@media(max-width: 600px) {

    /* Responsive Typography */
    html {
        font-size: 15px;
    }

    .brand {
        font-size: 1.3rem;
    }

    /* Footer Single Column */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .modern-footer {
        padding: 50px 0 20px;
    }

    /* Fix WhatsApp Widget on Mobile */
    .wa-chat-box {
        width: 90%;
        right: 5%;
        bottom: 90px;
    }

    .wa-float-btn {
        width: 55px;
        height: 55px;
        bottom: 25px;
        right: 25px;
    }
}

/* AUTH MODAL */
.auth-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 10001;
    /* Higher than everything */
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.auth-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.auth-box {
    background: #fff;
    width: 400px;
    max-width: 90%;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    color: #333;
    text-align: left;
}

.auth-modal-overlay.active .auth-box {
    transform: translateY(0);
}

.close-auth {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
    padding: 5px;
    line-height: 1;
    transition: color 0.2s;
}

.close-auth:hover {
    color: #000;
}

.auth-tabs {
    display: flex;
    margin-bottom: 2rem;
    border-bottom: 2px solid #f3f4f6;
}

.auth-tabs button {
    flex: 1;
    background: none;
    border: none;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    color: #9ca3af;
    position: relative;
    transition: all 0.2s;
}

.auth-tabs button.active {
    color: #000;
}

.auth-tabs button.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #000;
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

.auth-form .form-group {
    margin-bottom: 1.5rem;
}

.auth-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: #374151;
}

.auth-form input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.auth-form input:focus {
    outline: none;
    border-color: #000;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.btn-full {
    width: 100%;
    padding: 0.875rem;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}

.btn-full:hover {
    background: #333;
}

.btn-full:active {
    transform: scale(0.98);
}

/* FAVORITES ICON */
.fav-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 20;
    font-size: 1.2rem;
    color: #1f2937;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.fav-btn:hover {
    transform: scale(1.1);
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.fav-btn.active i {
    color: #ef4444;
    /* Red color */
    font-weight: 900;
    /* Solid icon */
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- SHOPPING CART DRAWER --- */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 3000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.cart-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 400px;
    max-width: 90%;
    height: 100vh;
    background: #fff;
    z-index: 3001;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.5s var(--ease-cinema);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
}

.cart-drawer.active {
    transform: translateX(0);
}

.cart-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin: 0;
}

.cart-header button {
    font-size: 1.2rem;
    transition: color 0.3s;
}

.cart-header button:hover {
    color: var(--accent);
}

.cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f9f9f9;
}

.cart-item img {
    width: 80px;
    height: 100px;
    object-fit: cover;
    border-radius: 4px;
}

.cart-item-info {
    flex: 1;
}

.cart-item-info h4 {
    font-size: 0.95rem;
    margin-bottom: 5px;
    line-height: 1.3;
}

.cart-item-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.cart-item-price {
    font-weight: 600;
    color: var(--accent-dark);
}

.cart-remove-btn {
    align-self: flex-start;
    color: #ccc;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.cart-remove-btn:hover {
    color: #ff4d4d;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid #eee;
    background: #fdfdfd;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.btn-full {
    width: 100%;
    padding: 15px;
    text-align: center;
    background: var(--black);
    color: white;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-full:hover {
    background: var(--accent);
}

.empty-cart {
    text-align: center;
    margin-top: 50px;
    color: var(--text-muted);
}

.empty-cart i {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.5;
}

/* Badge specific style */
.cart-count-badge {
    position: absolute;
    top: -5px;
    right: -8px;
    background: var(--accent);
    color: white;
    font-size: 0.7rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: none;
    /* JS will toggle */
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

/* --- LONGINES STYLE FOOTER (Unified) --- */
.longines-footer {
    background-color: #f7f7f7;
    padding: 80px 0 0 0;
    color: #333;
    font-family: 'Jost', sans-serif;
    border-top: 1px solid #e5e5e5;
    margin-top: auto;
}

.footer-top {
    padding: 0 40px;
    margin-bottom: 60px;
}

.footer-grid-lg {
    display: grid;
    grid-template-columns: repeat(5, 1fr) 300px;
    gap: 30px;
}

.ft-lg-col {
    display: flex;
    flex-direction: column;
}

.ft-lg-title {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #111;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.ft-lg-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ft-lg-links li {
    margin-bottom: 12px;
}

.ft-lg-links a {
    font-size: 0.85rem;
    color: #555;
    text-decoration: none;
    transition: color 0.2s;
    font-weight: 400;
}

.ft-lg-links a:hover {
    color: #003153;
}

/* Right Column */
.ft-right-col {
    background: transparent;
    border-left: 1px solid #e5e5e5;
    padding-left: 40px;
}

.ft-contact-btn {
    display: block;
    width: 100%;
    padding: 15px;
    background: transparent;
    border: 1px solid #ddd;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: #003153;
    text-decoration: none;
    text-transform: capitalize;
    margin-bottom: 40px;
    transition: all 0.3s;
}

.ft-contact-btn:hover {
    background: #003153;
    color: #fff;
    border-color: #003153;
}

.ft-social-label,
.ft-news-label {
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.ft-socials {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.ft-socials a {
    color: #777;
    font-size: 1.1rem;
    transition: color 0.3s;
    width: auto;
    height: auto;
    border: none;
    display: inline-block;
    border-radius: 0;
}

.ft-socials a:hover {
    color: #003153;
    background: none;
    border: none;
}

/* Newsletter Input */
.ft-newsletter {
    position: relative;
    border: 1px solid #ccc;
    display: flex;
    background: #fff;
}

.ft-newsletter input {
    border: none;
    outline: none;
    padding: 12px 15px;
    width: 100%;
    font-family: 'Jost', sans-serif;
    font-size: 0.85rem;
}

.ft-newsletter button {
    background: #003153;
    border: none;
    color: #fff;
    padding: 0 20px;
    cursor: pointer;
}

/* Footer Bottom */
.footer-bottom-lg {
    border-top: 1px solid #e5e5e5;
    padding: 25px 40px;
    font-size: 0.75rem;
    color: #666;
}

.fb-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.fb-center,
.fb-right {
    display: flex;
    gap: 30px;
}

.fb-center a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
}

.fb-right {
    color: #111;
    font-weight: 600;
    cursor: pointer;
}

/* Responsive Footer */
@media (max-width: 1200px) {
    .footer-grid-lg {
        grid-template-columns: repeat(4, 1fr) 250px;
    }

    .ft-lg-col:nth-child(5) {
        display: none;
    }
}

@media (max-width: 900px) {
    .footer-grid-lg {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .ft-right-col {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid #eee;
        padding-top: 40px;
    }

    .fb-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .fb-center {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
}

/* --- COOKIE MODAL REFINED (v2) --- */
.cookie-modal-refined {
    background: #fff;
    width: 600px;
    max-width: 95%;
    padding: 30px 40px;
    position: relative;
    font-family: 'Jost', sans-serif;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

.cm-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.cm-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #003153;
    letter-spacing: 1px;
    font-family: 'Italiana', serif;
    text-transform: uppercase;
    border-bottom: 1px solid #003153;
    padding-bottom: 5px;
}

.cm-close {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #666;
    cursor: pointer;
    padding: 5px;
}

.cm-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.cm-desc {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.5;
    margin-bottom: 30px;
}

.cm-desc a {
    color: #333;
    text-decoration: underline;
}

/* Sections */
.cm-sections-container {
    border-top: 1px solid #eee;
    margin-bottom: 30px;
}

.cm-section {
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.cm-sec-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.cm-sec-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: #222;
    text-transform: capitalize;
}

.cm-sec-desc {
    font-size: 0.85rem;
    color: #777;
    line-height: 1.4;
    padding-right: 40px;
}

/* Toggles */
.cm-toggle {
    position: relative;
    width: 44px;
    height: 24px;
}

.cm-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cm-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.cm-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

.cm-toggle input:checked+.cm-slider {
    background-color: #004d99;
    /* Reference Blue */
}

.cm-toggle input:checked+.cm-slider:before {
    transform: translateX(20px);
}

.cm-toggle.disabled .cm-slider {
    background-color: #e0e0e0;
    cursor: not-allowed;
}

.cm-toggle.disabled input:checked+.cm-slider:before {
    background-color: #fff;
}

/* Footer Buttons */
.cm-footer {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 15px;
    padding-top: 10px;
}

.cm-btn {
    padding: 12px 10px;
    border: none;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
    font-family: 'Jost', sans-serif;
    text-align: center;
}

.cm-btn:hover {
    opacity: 0.9;
}

.cm-btn-gray {
    background-color: #f5f5f5;
    color: #333;
}

.cm-btn-dark {
    background-color: #1a2b3c;
    color: #fff;
}

@media (max-width: 600px) {
    .cm-footer {
        grid-template-columns: 1fr;
    }

    .cookie-modal-refined {
        padding: 20px;
    }
}