html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

@supports (overflow: clip) {
    html,
    body {
        overflow-x: clip;
    }
}

body {
    font-family: 'Inter', sans-serif;
}

.serif {
    font-family: 'Playfair Display', serif;
}

.glass {
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.modal-blur {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.product-card:hover .quick-add {
    opacity: 1;
    transform: translateY(0);
}

.product-card img {
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.nav-link {
    color: rgb(71 85 105);
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: rgb(15 23 42);
}

.nav-link-active {
    color: rgb(15 23 42);
    border-bottom: 2px solid rgb(15 23 42);
    padding-bottom: 2px;
}

.form-control {
    width: 100%;
    border: 1px solid rgb(226 232 240);
    border-radius: 9999px;
    padding: 0.7rem 1rem;
    font-size: 0.875rem;
    outline: none;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
    background: white;
}

.form-control:focus {
    border-color: rgb(100 116 139);
    box-shadow: 0 0 0 3px rgba(100, 116, 139, 0.14);
}

.form-control-textarea {
    border-radius: 1rem;
    min-height: 120px;
    resize: vertical;
}

.sort-select-offset-arrow {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 3.2rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5 7.5L10 12.5L15 7.5' stroke='%2364758B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: calc(100% - 0.5cm) 50%;
    background-size: 0.85rem 0.85rem;
}

.sort-select-offset-arrow::-ms-expand {
    display: none;
}

.btn-primary {
    background: rgb(15 23 42);
    color: white;
    border-radius: 9999px;
    padding: 0.75rem 1.2rem;
    font-weight: 600;
    transition: background-color 0.2s ease;
}

.btn-primary:hover {
    background: rgb(30 41 59);
}

.btn-secondary {
    border: 1px solid rgb(226 232 240);
    border-radius: 9999px;
    padding: 0.75rem 1.2rem;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.btn-secondary:hover {
    background: rgb(248 250 252);
}

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

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

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.price-consistent {
    font-family: 'Inter', 'Noto Sans', sans-serif;
    font-variant-numeric: lining-nums tabular-nums;
    font-feature-settings: 'lnum' 1, 'tnum' 1;
    letter-spacing: -0.02em;
    line-height: 1;
}

@media (max-width: 767px) {
    [data-aos="fade-left"],
    [data-aos="fade-right"] {
        transform: translate3d(0, 16px, 0) !important;
    }
}
