/* ========================================
   LONGINES-INSPIRED PRODUCT PAGE
   Exact Replication of Longines.com Design
   ======================================== */

/* Import Fonts - Using Montserrat as LonginesSans Alternative */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

/* Typography - Match Longines Exactly */
body,
.products-page {
    font-family: 'Montserrat', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: #000000;
    letter-spacing: 0.3px;
}

/* Product Grid - 4:5 Portrait Cards */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 40px 0;
}

/* Product Card - Longines Style */
.product-card {
    background: transparent;
    border: none;
    box-shadow: none;
    overflow: visible;
    transition: none;
    animation: none;
    display: flex;
    flex-direction: column;
}

.product-card::before {
    display: none;
}

.product-card:hover {
    transform: none;
    box-shadow: none;
}

/* Product Image - 4:5 Aspect Ratio (Portrait) */
.product-image {
    position: relative;
    width: 100%;
    padding-top: 125%;
    /* 4:5 ratio = 100/0.8 = 125% */
    overflow: hidden;
    background: #f3f3f1;
    /* Longines light gray */
    border-radius: 0;
}

.product-image .image-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.08);
    /* Subtle zoom, not too much */
}

/* Minimalist Badges - Longines Style */
.product-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.badge {
    padding: 4px 10px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    border-radius: 0;
    /* Sharp corners */
    backdrop-filter: none;
    box-shadow: none;
    animation: none;
    background: white;
    color: black;
    border: 1px solid #e0e0e0;
}

.sale-badge {
    background: white;
    color: black;
}

.new-badge {
    background: white;
    color: black;
}

/* Quick View - Hidden on Longines, Simple Implementation */
.product-actions-hover {
    display: none;
}

/* Product Info - Longines Typography */
.product-info {
    padding: 16px 8px 0 8px;
    position: relative;
    z-index: 2;
}

.product-category {
    font-size: 10px;
    font-weight: 600;
    color: #666666;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
    opacity: 1;
}

.product-name {
    margin: 0 0 8px 0;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.5px;
}

.product-name a {
    color: #000000;
    text-decoration: none;
    transition: color 0.3s ease;
    text-transform: uppercase;
    /* UPPERCASE TITLES */
    display: block;
    overflow: visible;
    -webkit-line-clamp: unset;
    line-clamp: unset;
}

.product-name a:hover {
    color: #666666;
}

.product-short-desc {
    display: none;
    /* Longines doesn't show descriptions on cards */
}

/* Premium Price Display - Longines Style */
.product-price {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.current-price {
    font-size: 13px;
    font-weight: 500;
    color: #000000;
    font-family: 'Montserrat', sans-serif;
}

.original-price {
    font-size: 13px;
    color: #999999;
    text-decoration: line-through;
    font-weight: 400;
}

.discount-percent {
    display: none;
    /* Longines doesn't show percent badges */
}

/* Action Buttons - Longines Style (Sharp, Rectangular) */
.product-actions {
    display: flex;
    gap: 10px;
}

.add-to-cart-btn,
.view-details-btn {
    flex: 1;
    padding: 12px 20px;
    border-radius: 0;
    /* NO ROUNDING - Sharp corners */
    font-weight: 600;
    font-size: 11px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.add-to-cart-btn::before {
    display: none;
    /* Remove ripple effect */
}

.add-to-cart-btn {
    background: #000000;
    color: white;
    box-shadow: none;
}

.add-to-cart-btn:hover {
    background: #333333;
    transform: none;
    /* No lift effect */
    box-shadow: none;
}

.add-to-cart-btn:active {
    transform: none;
}

.view-details-btn {
    background: white;
    color: #000000;
    border: 2px solid #000000;
    text-decoration: none;
}

.view-details-btn:hover {
    background: #000000;
    color: white;
    border-color: #000000;
    transform: none;
}

/* Grid Responsive - Longines Breakpoints */
@media (max-width: 1400px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 400px;
        margin: 0 auto;
    }
}

/* Remove All Animations for Clean Longines Aesthetic */
@keyframes fadeInUp {

    from,
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes bounceIn {

    from,
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes pulse {

    from,
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes shimmer {

    from,
    to {
        opacity: 1;
        transform: none;
    }
}

.product-card,
.badge {
    animation: none !important;
}

/* Page Background */
.products-page {
    background: #fafafa;
}

.products-grid-section {
    background: #fafafa;
}

/* Products Header - Clean Longines Style */
.products-header {
    margin-bottom: 30px;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 20px;
}

.products-header h3 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #000000;
    margin: 0;
}

.count-text {
    font-size: 12px;
    color: #666666;
    font-weight: 400;
    margin-top: 8px;
}

/* Filter Section - Minimalist */
.filter-wrapper {
    padding: 20px 0;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 30px;
}

.filter-btn {
    padding: 10px 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    background: white;
    color: #000000;
    border: 1px solid #e0e0e0;
    border-radius: 0;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin-right: 10px;
    margin-bottom: 10px;
}

.filter-btn:hover,
.filter-btn.active {
    background: #000000;
    color: white;
    border-color: #000000;
}

/* Sort Dropdown */
.sort-select {
    padding: 10px 16px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    background: white;
    color: #000000;
    border: 1px solid #e0e0e0;
    border-radius: 0;
    font-family: 'Montserrat', sans-serif;
}

/* Animation Override Code */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

/* ========================================
   HERO ANIMATION LAYOUT (SPLIT SCREEN)
   ======================================== */
.products-hero {
    background: transparent;
    /* Show underlying page bg */
    padding: 60px 0;
    overflow: hidden;
}

.hero-split-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 400px;
    position: relative;
    gap: 40px;
}

/* Left Column: Text */
.hero-text-column {
    flex: 1;
    z-index: 2;
    text-align: left;
    max-width: 50%;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    color: #e8a2c0;
    /* Pink Primary */
    margin-bottom: 20px;
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.05);
}

.hero-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 90%;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #e8a2c0;
}

.stat-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #999;
    margin-top: 5px;
}

/* Right Column: Before/After Slider */
.hero-animation-column {
    flex: 1;
    height: 480px;
    /* Taller for portrait impact */
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    background: white;
    box-shadow: 0 20px 50px rgba(232, 162, 192, 0.2);
    border: 4px solid white;
}

/* Slider Component Styles */
.ba-slider {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    cursor: ew-resize;
}

.ba-image-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.ba-image-container img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

/* Overlay (Top Image) */
.ba-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    /* Initial state */
    height: 100%;
    overflow: hidden;
    z-index: 2;
    border-right: 2px solid white;
    /* Split line */
}

/* Drag Handle */
.ba-handle {
    position: absolute;
    top: 0;
    left: 50%;
    height: 100%;
    width: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ba-circle {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    color: var(--pink-primary);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

/* Labels */
.ba-labels {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    z-index: 4;
    pointer-events: none;
}

.ba-label {
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    backdrop-filter: blur(5px);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 991px) {
    .hero-split-layout {
        flex-direction: column;
        text-align: center;
    }

    .hero-text-column {
        max-width: 100%;
        text-align: center;
    }

    .hero-subtitle {
        margin: 0 auto 30px;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-animation-column {
        width: 100%;
        height: 300px;
        order: -1;
        /* Animation on top for mobile */
    }
}