/* Custom Font Face */
@font-face {
    font-family: 'Helvetica Neue';
    src: url('/assets/fonts/helvetica-neue-55/HelveticaNeue-Roman.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Helvetica Neue';
    src: url('/assets/fonts/helvetica-neue-55/HelveticaNeue-Bold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}

/* Custom Scrollbar */
::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 3px #ccc;
    border-radius: 10px;
    background-color: transparent;
}

::-webkit-scrollbar {
    width: 8px;
    background-color: transparent;
}

::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 3px #ccc;
    background-color: #ccc !important;
}

body::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px #ccc;
    border-radius: 10px;
    background-color: transparent;
}

body::-webkit-scrollbar {
    width: 16px;
    background-color: transparent;
}

body::-webkit-scrollbar-thumb {
    border-radius: 20px;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
    background-color: #ccc !important;
}

/* Hide scrollbar but keep functionality */
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Carousel Styles */
.carousel-item {
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
}

.carousel-bg {
    background-repeat: no-repeat;
    background-position: 50%;
    background-size: 150%;
    background-color: rgba(0, 0, 0, 0.4);
    filter: blur(20px) brightness(0.6);
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

/* Sticky Element */
.sticky-element {
    bottom: 200px;
}

/* Map Container */
.map-container {
    width: 100%;
    display: flex;
    align-items: center;
    background: #fff;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 8px;
    margin-top: 35px;
}

.map-icon {
    background: url('/images/photo1767292180.jpg') no-repeat center center;
    background-size: cover;
    width: 40px;
    height: 40px;
    margin-right: 12px;
}

/* Radio & Checkbox Custom Styles */
.radio-container {
    display: flex;
    border: 1px solid #ddd;
    border-radius: 2px;
    overflow: hidden;
}

.radio-item {
    flex: 1;
    text-align: center;
    position: relative;
}

.radio-item input[type="radio"] {
    display: none;
}

.radio-label {
    display: block;
    padding: 8px 20px;
    cursor: pointer;
    background-color: #f8f9fa;
    color: #6c757d;
    transition: background-color 0.3s, color 0.3s;
}

.radio-item input[type="radio"]:checked + .radio-label {
    background-color: #c82333;
    color: white;
}

.checkbox-container {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 6px;
    border-radius: 2px;
}

.checkbox-item > input[type="checkbox"] {
    display: none;
}

.checkbox-label {
    display: inline-block;
    padding: 8px 20px;
    cursor: pointer;
    border: 1px solid #ddd;
    border-radius: 2px;
    background-color: #ffffff;
    color: #6c757d;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

.checkbox-item input[type="checkbox"]:checked + .checkbox-label {
    background-color: #f8d7da;
    color: #c82333;
    border-color: #c82333;
}

/* Owl Carousel */
.owl-carousel .item {
    transition: transform 0.3s ease;
}

.owl-carousel .item:hover {
    transform: scale(1.05);
}

/* Alpine.js Cloak */
[x-cloak] {
    display: none !important;
}

/* Lazy Loading */
.lazy {
    opacity: 0;
    transition: opacity 0.3s;
}

.lazy.loaded {
    opacity: 1;
}

/* Status Bar */
.status-bar {
    background-color: #eeff07;
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
}

@media (max-width: 768px) {
    .status-bar {
        margin-top: -24px;
        z-index: 99;
        position: absolute;
        background: #eeff07;
        left: -15px;
        right: -15px;
        justify-content: space-between;
        padding: 0 10px;
    }
}

/* Swipe Menu */
.swipe-menu-wrapper {
    white-space: nowrap;
    overflow-x: auto;
}

.swipe-menu-wrapper::-webkit-scrollbar {
    display: none;
}

.swipe-menu-wrapper .item {
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.swipe-menu-wrapper .item:hover,
.swipe-menu-wrapper .item.active {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background-color: #dae0e5 !important;
}

.swipe-menu-wrapper .item h2 {
    font-size: 18px;
    line-height: 1.2;
}

@media (max-width: 768px) {
    .swipe-menu-wrapper .item {
        width: 200px;
        height: 100px;
    }
    
    .swipe-menu-wrapper .item h2 {
        font-size: 16px;
        padding: 0.4rem;
    }
}

@media (min-width: 1200px) {
    .swipe-menu-wrapper .item {
        width: 250px;
        height: 120px;
    }
    
    .swipe-menu-wrapper .item h2 {
        font-size: 20px;
    }
}

/* Product Card Styles */
.product-card {
    background: white;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.product-card-image {
    position: relative;
    overflow: hidden;
    height: 10rem;
}

@media (max-width: 768px) {
    .product-card-image {
        height: 8rem;
    }
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Line Clamp */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Social Icons */
.social-icon {
    width: 2.25rem;
    height: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    border: 1px solid #e5e7eb;
    background-color: #fdf6f3;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: #0d2f5d;
    color: white;
    border-color: #0d2f5d;
}

/* Modal Styles */
.modal-fullscreen {
    width: 80% !important;
}

@media (max-width: 768px) {
    .modal-fullscreen {
        width: 100% !important;
    }
}

/* Slider Styles */
.slider-wrap .carousel-indicators [data-bs-target] {
    text-indent: initial !important;
}

.product-slider .slider-wrap {
    margin: 0 !important;
}

.slider-wrap .carousel-control-prev,
.slider-wrap .carousel-control-next {
    top: 20px !important;
}

.slider, .slider-inner, .slider-wrap {
    height: 5rem !important;
}

.carousel-inner,
.product-slider .carousel-item,
.product-slider .carousel-item img {
    border-radius: 0 !important;
}

.gallery-modal .modal-fullscreen {
    width: 99.9% !important;
    margin: 0 !important;
}

.slider-wrap .thumb.item img {
    height: 4.5rem;
    border-radius: 5px;
    width: 7.5rem;
    object-fit: cover;
}

.gallery-modal .slider,
.gallery-modal .slider-inner,
.gallery-modal .slider-wrap {
    height: 4.5rem !important;
    background: transparent;
    margin: 5px auto !important;
}

.gallery-modal .slider-wrap {
    width: 60%;
}

/* Utility Classes */
.container-custom {
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

/* SEO Section */
.seo-section h1,
.seo-section h2 {
    font-size: 18px;
}

/* Filter Form */
.filter-form .form-select,
.filter-form .dropdown-toggle {
    border: 1px solid #fff;
    border-right: 1px solid #f6f6f6;
}

/* Detail Container */
.detail-container {
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 10px 0;
    border-radius: 0;
}

/* Helper Search */
.helper-search .list-group-item {
    display: flex;
    justify-content: flex-start;
    gap: 10px;
}