:root {
    --primary-color: #FF6B6B;
}

html {
    scroll-behavior: smooth;
}

/* Swiper Pagination Customization */
.swiper-pagination-bullet-active {
    background-color: var(--primary-color) !important;
}

/* Navigation Hover Effects */
.nav-link {
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s;
}
.nav-link:hover::after {
    width: 100%;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1; 
}
::-webkit-scrollbar-thumb {
    background: #ccc; 
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color); 
}

/* Product Card Animation */
.product-card {
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.product-card:hover {
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

/* Black Border Animation: Bottom-Left -> Up -> Right */
.border-line-black-left {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 2px;
    height: 0;
    background-color: #000;
    transition: height 0.3s ease-out;
    z-index: 10;
}
.border-line-black-top {
    position: absolute;
    top: 0;
    left: 0;
    height: 2px;
    width: 0;
    background-color: #000;
    transition: width 0.3s ease-out;
    transition-delay: 0s; /* Initially no delay */
    z-index: 10;
}

/* Primary Border Animation: Bottom-Left -> Right -> Up */
.border-line-primary-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease-out;
    z-index: 10;
}
.border-line-primary-right {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 2px;
    height: 0;
    background-color: var(--primary-color);
    transition: height 0.3s ease-out;
    transition-delay: 0s;
    z-index: 10;
}

/* Hover States for Borders */
.product-card:hover .border-line-black-left {
    height: 100%;
}
.product-card:hover .border-line-black-top {
    width: 100%;
    transition-delay: 0.3s; /* Wait for left to finish */
}

.product-card:hover .border-line-primary-bottom {
    width: 100%;
}
.product-card:hover .border-line-primary-right {
    height: 100%;
    transition-delay: 0.3s; /* Wait for bottom to finish */
}

/* Quick View Overlay */
.quick-view-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px;
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(100%);
    transition: transform 0.3s ease-out;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 20;
}
.product-card:hover .quick-view-overlay {
    transform: translateY(0);
}

/* Action Buttons - Always Visible */
.product-actions {
    /* Previously hidden on default, now always visible as per user request */
    margin-top: 0.75rem; /* Equivalent to mt-3 */
}
