* {
    scrollbar-width: thin;
    scrollbar-color: #2E8B8B #FAF7F2;
}

/* Chrome, Edge, and Safari */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #FAF7F2;
}

::-webkit-scrollbar-thumb {
    background-color: #2E8B8B;
    border-radius: 10px;
    border: 2px solid #FAF7F2;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #8B1A1A;
}

html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.hover-underline {
    position: relative;
    display: inline-block;
}

.hover-underline::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -4px;
    left: 50%;
    background-color: currentColor;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

/* Hero Parallax */
.hero-parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(44, 44, 44, 0.6) 0%, rgba(44, 44, 44, 0.2) 100%);
}

/* Scroll Indicator */
.scroll-indicator {
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* Product & Category Cards */
.card-zoom {
    overflow: hidden;
    position: relative;
}

.card-zoom-image {
    transition: transform 0.7s ease;
}

.card-zoom:hover .card-zoom-image {
    transform: scale(1.08);
}

.card-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.card-zoom:hover .card-overlay {
    opacity: 0.8;
}

/* Filter Buttons */
.filter-btn {
    position: relative;
    transition: all 0.3s ease;
}

.filter-btn.active {
    color: #8B1A1A;
    font-weight: 700;
}

.filter-btn.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #8B1A1A;
}

/* Utilities */
.text-shadow-sm {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Swiper Adjustments */
.swiper-button-next,
.swiper-button-prev {
    color: #2C2C2C;
    background: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 16px;
    font-weight: bold;
}

/* Swiper Pagination Dots */
.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: #8B1A1A;
    transform: scale(1.3);
}

/* Custom Pattern Backgrounds */
.bg-pattern-sand {
    background-color: #F5EDD8;
    background-image: url('data:image/svg+xml,%3Csvg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="%232c2c2c" fill-opacity="0.05" fill-rule="evenodd"%3E%3Ccircle cx="3" cy="3" r="3"/%3E%3Ccircle cx="13" cy="13" r="3"/%3E%3C/g%3E%3C/svg%3E');
}

/* Hide Google Translate Bar & Popups */
.skiptranslate,
.goog-te-banner-frame,
#goog-gt-tt,
.goog-te-balloon-frame,
.goog-text-highlight {
    display: none !important;
    visibility: hidden !important;
}

body {
    top: 0px !important;
}

html {
    margin-top: 0px !important;
}

.lang-switcher:hover .lang-dropdown {
    display: block;
}

.lang-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    min-width: 160px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    border-top: 2px solid #2E8B8B;
}

/* Fabric Care */
.ritual-card {
    background-image: radial-gradient(#2E8B8B20 1px, transparent 1px);
    background-size: 24px 24px;
}

.active-arrow {
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 10px solid #2C2C2C;
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
}

.hover-scale {
    transition: transform 0.3 pull;
}

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

/* Mobile Sidebar */
#mobile-menu .overflow-y-auto {
    scrollbar-width: thin;
    scrollbar-color: #2E8B8B #F5EDD8;
}

/* Chrome, Edge, and Safari */
#mobile-menu .overflow-y-auto::-webkit-scrollbar {
    width: 4px;
}

#mobile-menu .overflow-y-auto::-webkit-scrollbar-track {
    background: #FAF7F2;
}

#mobile-menu .overflow-y-auto::-webkit-scrollbar-thumb {
    background-color: #2E8B8B;
    border-radius: 20px;
    border: 1px solid #FAF7F2;
}

#mobile-menu .overflow-y-auto::-webkit-scrollbar-thumb:hover {
    background-color: #8B1A1A;
}