:root {
    --primary-color: #c2185b;
    --secondary-color: #ffb300;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f9f9fb;
    color: #333;
}

.navbar-brand span {
    color: var(--primary-color);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #a3154b;
    border-color: #a3154b;
}

.hero-banner {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
}

.hero-banner img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.hero-banner .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem 3rem;
}

.product-card {
    position: relative;
    background: #fff;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 1rem 2.5rem rgba(33, 37, 41, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 1.5rem 3rem rgba(33, 37, 41, 0.12);
}

.product-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.product-card .card-body {
    padding: 1rem;
}

.product-card .badge-soldout {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    font-weight: 600;
}

.product-card.is-sold-out::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.35);
}

.product-card.is-sold-out img {
    filter: grayscale(30%);
}

.product-card .btn[disabled],
.product-card .btn:disabled {
    pointer-events: none;
    opacity: 0.65;
}

.product-card .cta-wrapper {
    position: relative;
    z-index: 2;
}

.product-card .product-image-link {
    display: block;
    position: relative;
    z-index: 1;
}

.product-card.is-sold-out::after {
    pointer-events: none;
}


.price-range-slider {
    position: relative;
    height: 32px;
    margin-top: 0.35rem;
}

.price-range-slider .price-range-track {
    position: absolute;
    inset: calc(50% - 2px) 0 auto 0;
    height: 4px;
    border-radius: 999px;
    background: #e9ecef;
}

.price-range-slider .price-range-track::before {
    content: '';
    position: absolute;
    left: var(--range-start, 0%);
    right: calc(100% - var(--range-end, 100%));
    top: 0;
    bottom: 0;
    border-radius: inherit;
    background: rgba(194, 24, 91, 0.65);
}

.price-range-slider .price-range-input {
    position: absolute;
    left: 0;
    width: 100%;
    height: 32px;
    margin: 0;
    pointer-events: none;
    background: none;
    -webkit-appearance: none;
}

.price-range-slider .price-range-input::-webkit-slider-thumb {
    pointer-events: auto;
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--primary-color);
    border: 2px solid #fff;
    box-shadow: 0 0 0 4px rgba(194, 24, 91, 0.2);
    cursor: pointer;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.price-range-slider .price-range-input::-moz-range-thumb {
    pointer-events: auto;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--primary-color);
    border: 2px solid #fff;
    box-shadow: 0 0 0 4px rgba(194, 24, 91, 0.2);
    cursor: pointer;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.price-range-slider .price-range-input::-webkit-slider-thumb:hover,
.price-range-slider .price-range-input::-moz-range-thumb:hover {
    background: #a3154b;
}

.price-range-slider .price-range-input::-webkit-slider-runnable-track {
    height: 0;
}

.price-range-slider .price-range-input::-moz-range-track {
    height: 0;
}

#checkoutFileButton {
    min-width: 140px;
}

#checkoutFileName {
    cursor: pointer;
}

.category-badge {
    background-color: rgba(194, 24, 91, 0.1);
    color: var(--primary-color);
    font-size: 0.75rem;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
}

.order-step {
    background-color: #fff;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 1rem 2.5rem rgba(33, 37, 41, 0.06);
}

.table thead {
    background-color: rgba(194, 24, 91, 0.05);
}

.site-header {
    background: #fff;
    box-shadow: 0 0.5rem 1.5rem rgba(15, 23, 42, 0.08);
    z-index: 1030;
}

.header-top {
    background: linear-gradient(90deg, rgba(194, 24, 91, 0.08), rgba(255, 179, 0, 0.08));
    border-bottom: 1px solid rgba(194, 24, 91, 0.1);
    font-size: 0.85rem;
    color: #495057;
}

.header-top a {
    color: inherit;
    font-weight: 600;
}

.brand-logo {
    border-radius: 0.5rem;
}

.header-search {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1 0 360px;
    max-width: 540px;
    background: #f8f9fa;
    border-radius: 999px;
    padding: 3px;
    box-shadow: inset 0 0 0 1px rgba(194, 24, 91, 0.08);
}

.header-search .form-control {
    border: none;
    background: transparent;
    border-radius: 999px;
    padding-inline: 1.25rem;
}

.header-search .form-control:focus {
    box-shadow: none;
}

.header-search .btn {
    border-radius: 999px;
    padding-inline: 1.5rem;
}

.header-search .search-input-wrapper {
    position: relative;
    flex-grow: 1;
}

.header-search--compact {
    background: transparent;
    padding: 0;
    box-shadow: none;
    max-width: none;
}

.header-search--compact .form-control {
    background: #ffffff;
    border: 1px solid #d1d5db;
    padding-inline: 1rem;
    border-radius: 0.75rem;
}

.header-search--compact .btn {
    border-radius: 0.75rem;
}

.search-suggestions {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 1.5rem 3.5rem rgba(15, 23, 42, 0.12);
    border: 1px solid rgba(194, 24, 91, 0.08);
    padding: 0.5rem;
    max-height: 360px;
    overflow-y: auto;
    z-index: 1050;
}

.search-suggestions::-webkit-scrollbar {
    width: 6px;
}

.search-suggestions::-webkit-scrollbar-thumb {
    background-color: rgba(194, 24, 91, 0.25);
    border-radius: 999px;
}

.search-suggestion-item {
    display: flex;
    gap: 0.75rem;
    padding: 0.6rem;
    border-radius: 0.75rem;
    text-decoration: none;
    color: inherit;
    transition: background 0.15s ease, transform 0.15s ease;
}

.search-suggestion-item:hover,
.search-suggestion-item:focus {
    background-color: rgba(194, 24, 91, 0.09);
    transform: translateX(2px);
}

.search-suggestion-item img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 0.75rem;
    box-shadow: 0 0.75rem 1.5rem rgba(15, 23, 42, 0.12);
}

.search-suggestion-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.search-suggestion-title {
    font-weight: 600;
    color: #1f2937;
}

.search-suggestion-price {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.95rem;
}

.search-suggestion-empty {
    padding: 0.75rem 0.5rem;
    text-align: center;
    color: #6b7280;
    font-size: 0.9rem;
}

.category-card {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 1.25rem 3rem rgba(17, 24, 39, 0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    min-height: 220px;
    background: #fff;
}

.category-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.category-card-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.25rem;
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.05) 0%, rgba(17, 24, 39, 0.78) 100%);
    color: #ffffff;
}

.category-card h6 {
    font-weight: 700;
    letter-spacing: 0.02em;
}

.category-card-cta {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.85);
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 1.6rem 3.6rem rgba(17, 24, 39, 0.16);
}

.category-card:hover .category-card-cta {
    color: #ffd166;
}

.product-gallery {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 1.5rem 3.5rem rgba(15, 23, 42, 0.12);
}

.product-gallery img {
    height: 420px;
    object-fit: cover;
}

.btn-cart {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background-color: var(--secondary-color);
    color: #1f1f1f;
    border: none;
    font-weight: 600;
}

.btn-cart:hover {
    background-color: #ffa000;
    color: #1f1f1f;
}

.cart-icon {
    font-size: 1rem;
}

.cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 999px;
    padding: 0.1rem 0.45rem;
    font-size: 0.75rem;
    min-width: 22px;
    text-align: center;
    line-height: 1.3;
    box-shadow: 0 0.35rem 0.85rem rgba(194, 24, 91, 0.35);
}

.whatsapp-fab {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #25d366;
    color: #fff;
    padding: 0.9rem 1.3rem;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 1.5rem 3.5rem rgba(37, 211, 102, 0.35);
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    z-index: 1060;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-fab::before {
    content: '💬';
    font-size: 1.15rem;
}

.whatsapp-fab:hover {
    transform: translateY(-2px);
    box-shadow: 0 1.5rem 3.8rem rgba(37, 211, 102, 0.45);
    color: #fff;
}

.navbar {
    background: #ffffff;
}

.navbar-nav .nav-link {
    font-weight: 600;
    color: #495057;
    padding: 0.75rem 1rem;
    position: relative;
    transition: color 0.2s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    color: var(--primary-color);
}

.navbar-nav .nav-link.active {
    color: var(--primary-color);
}

.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 0.35rem;
    height: 3px;
    border-radius: 999px;
    background: var(--primary-color);
}

.dropdown-menu {
    border-radius: 0.75rem;
    padding: 0.75rem 0;
    box-shadow: 0 1.5rem 4rem rgba(15, 23, 42, 0.12);
    border: 1px solid rgba(194, 24, 91, 0.08);
}

.dropdown-item {
    font-weight: 500;
    padding: 0.6rem 1.2rem;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: rgba(194, 24, 91, 0.08);
    color: var(--primary-color);
}

.navbar-toggler {
    border: none;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    filter: invert(36%) sepia(28%) saturate(3280%) hue-rotate(309deg) brightness(85%) contrast(94%);
}

.btn-outline-secondary.btn-sm,
.btn-outline-primary.btn-sm,
.btn-primary.btn-sm,
.btn-outline-danger.btn-sm,
.btn-cart.btn-sm {
    border-radius: 999px;
}

.dashboard-card {
    background: #fff;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 1rem 2.5rem rgba(33, 37, 41, 0.06);
    height: 100%;
}

.timeline {
    position: relative;
    padding-left: 1.5rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0.5rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(194, 24, 91, 0.2);
}

.timeline-item {
    position: relative;
    margin-bottom: 1.25rem;
}

.timeline-point {
    position: absolute;
    left: -1rem;
    top: 0.4rem;
    width: 10px;
    height: 10px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

.address-card {
    border: 1px solid rgba(194, 24, 91, 0.15);
    border-radius: 0.75rem;
    padding: 1rem;
    background: #fff;
}

.address-card.address-default {
    border-color: var(--primary-color);
    box-shadow: 0 0.75rem 1.75rem rgba(194, 24, 91, 0.12);
}

.wishlist-item {
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 0.75rem;
    padding: 0.75rem;
    background-color: #fff;
}

.wishlist-thumb {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 0.5rem;
}

.recent-item {
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 0.75rem;
    padding: 0.75rem;
    background-color: #fff;
}

.recent-thumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 0.5rem;
}

.recent-item:hover {
    background-color: rgba(194, 24, 91, 0.05);
}

.scroll-container {
    overflow-x: auto;
    padding-bottom: 0.75rem;
    margin-inline: -0.75rem;
    padding-inline: 0.75rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.scroll-container::-webkit-scrollbar {
    height: 8px;
}

.scroll-container::-webkit-scrollbar-thumb {
    background-color: rgba(194, 24, 91, 0.35);
    border-radius: 999px;
}

.scroll-container::-webkit-scrollbar-track {
    background-color: rgba(194, 24, 91, 0.08);
    border-radius: 999px;
}

.scroll-track {
    display: flex;
    gap: 1.25rem;
    scroll-snap-type: x mandatory;
}

.scroll-item {
    flex: 0 0 80%;
    scroll-snap-align: start;
}

.scroll-track--categories .scroll-item--category {
    flex-basis: 220px;
}

.scroll-track--products .scroll-item--product {
    flex-basis: 280px;
}

.scroll-track--products .product-card img {
    height: 220px;
}

.scroll-track--products .product-card {
    min-height: 100%;
}

@media (min-width: 576px) {
    .scroll-item {
        flex-basis: 60%;
    }
}

@media (min-width: 768px) {
    .scroll-container {
        margin-inline: -1rem;
        padding-inline: 1rem;
    }

    .scroll-item {
        flex-basis: 38%;
    }
}

@media (min-width: 992px) {
    .scroll-container {
        margin-inline: 0;
        padding-inline: 0;
    }

    .scroll-item {
        flex-basis: 28%;
    }

    .scroll-track--categories .scroll-item--category {
        flex-basis: 200px;
    }

    .scroll-track--products .scroll-item--product {
        flex-basis: 260px;
    }
}

@media (max-width: 991.98px) {
    .header-search {
        background: transparent;
        box-shadow: none;
        display: none;
    }

    .header-search.header-search--compact {
        display: flex !important;
        flex-direction: column;
        align-items: stretch;
    }

    .header-search--compact .search-input-wrapper {
        width: 100%;
    }

    .search-suggestions {
        border-radius: 0.75rem;
    }

    .navbar-nav .nav-link.active::after {
        display: none;
    }

    .whatsapp-fab {
        bottom: 16px;
        right: 16px;
        padding: 0.75rem 1.1rem;
    }

    .category-card,
    .category-card img {
        height: 190px;
    }

    .product-gallery img {
        height: 280px;
    }
}

input[type="file"] {
    position: relative;
    z-index: 1000;
    display: block;
    width: 100%;
}

input[type="file"]:not(:disabled):not([readonly]) {
    cursor: pointer;
    pointer-events: auto;
}

input[type="file"]::-webkit-file-upload-button,
input[type="file"]::file-selector-button {
    pointer-events: auto;
    cursor: pointer;
}

