/* DZPRC - Custom Styles */

/* Smooth scrollbar */
html {
    scroll-behavior: smooth;
}

/* Hide scrollbar for carousel */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Product image hover zoom */
.product-card:hover .product-image {
    transform: scale(1.05);
}

/* Custom checkbox/radio for filters */
.filter-option input:checked + label {
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* Slide animations */
.slide-enter {
    transform: translateX(100%);
}
.slide-enter-active {
    transform: translateX(0);
    transition: transform 0.3s ease-out;
}

/* Accordion animation */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}
.accordion-content.open {
    max-height: 500px;
}

/* Size selector */
.size-btn {
    min-width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e5e5e5;
    transition: all 0.15s ease;
}
.size-btn:hover {
    border-color: #1a1a1a;
}
.size-btn.selected {
    background-color: #1a1a1a;
    color: white;
    border-color: #1a1a1a;
}

/* Quantity input */
.qty-input {
    -moz-appearance: textfield;
}
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Free shipping progress bar */
.shipping-progress {
    height: 3px;
    background-color: #e5e5e5;
    border-radius: 2px;
    overflow: hidden;
}
.shipping-progress-bar {
    height: 100%;
    background-color: #1a1a1a;
    transition: width 0.5s ease;
}

/* Focus styles */
input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #1a1a1a;
}

/* Button loading state */
.btn-loading {
    position: relative;
    color: transparent;
}
.btn-loading::after {
    content: '';
    position: absolute;
    inset: 0;
    margin: auto;
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
