/* Custom Styles */
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Glassmorphism */
.glass {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    /* Softer border */
}

/* Premium Hover Card Shadow (Desktop) */
@media (min-width: 768px) {
    .hover-card-shadow:hover {
        box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.05);
        /* Softer shadow */
        transform: translateY(-5px);
    }
}

/* Mobile specific adjustments */
body {
    -webkit-tap-highlight-color: transparent;
}

.safe-bottom {
    padding-bottom: env(safe-area-inset-bottom);
}

/* Animation Utils */
.animate-fade-in-up {
    animation: fadeInUp 0.5s ease-out forwards;
}

.animate-slide-in-right {
    animation: slideInRight 0.3s ease-out forwards;
}

.animate-pulse-slow {
    animation: pulse 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(0);
    }
}

/* Details Accordion Animation */
details>summary {
    list-style: none;
}

details>summary::-webkit-details-marker {
    display: none;
}

/* Product Description Formatting Fixes */
#p-description-full {
    white-space: pre-wrap;
}

#p-description-full ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

#p-description-full ol {
    list-style-type: decimal;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

#p-description-full p {
    margin-bottom: 1rem;
}

#p-description-full strong,
#p-description-full b {
    font-weight: 700;
}

#p-description-full h1,
#p-description-full h2,
#p-description-full h3,
#p-description-full h4,
#p-description-full h5,
#p-description-full h6 {
    font-weight: 700;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}
/* --- Mobile Gallery Snap Settings --- */
#mobile-gallery {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

#mobile-gallery > * {
    scroll-snap-align: start;
    flex: 0 0 100%;
}

