/* Design Led Jewellery Section - Full Width Layout (Match Carousel Exactly) */

/* Import Playfair Display for serif title */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;500;600;700;900&display=swap');

.design-led-jewellery-section {
    /* Match products grid layout - use normal container flow */
    padding: 25px 0 !important; /* Exact 25px vertical padding */
    background: #f0eee5 !important; /* Updated background color as requested */
    position: relative;
    overflow: hidden;
    width: 100%; /* Normal width, not viewport */
    margin: 0; /* Normal margin */
    box-sizing: border-box;
}

.design-led-jewellery-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 20%, rgba(26, 54, 93, 0.02) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(26, 54, 93, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

/* Match products grid container exactly - use same width and padding */
.design-led-jewellery-section .container {
    width: 100%; /* Use container width, not viewport */
    max-width: 1600px; /* Match products grid max-width exactly */
    margin: 0 auto; /* Center the container like products grid */
    padding: 0 40px; /* EXACTLY 40px padding to match products grid */
    box-sizing: border-box;
}

/* Section header with minimal spacing */
.design-led-jewellery-section .section-header {
    margin: 0 0 25px !important; /* Exact 25px bottom margin */
    padding-top: 0;
    text-align: center;
}

/* Section Title - Large and prominent */
.design-led-title {
    font-family: 'Lato', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: #1a365d;
    text-align: center;
    margin: 0 0 25px !important; /* Exact 25px bottom margin */
    letter-spacing: -0.02em;
    line-height: 1.2;
    position: relative;
}

.design-led-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #1a365d, transparent);
    opacity: 0.3;
}

/* Three Column Grid Layout - Match products grid consistency */
.design-led-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px; /* Match products grid gap exactly for consistency */
    width: 100%;
    margin: 0 auto;
    max-width: 100%; /* Use full container width like products grid */
    box-sizing: border-box;
}

/* Individual Card Styling - Large and prominent */
.design-led-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    opacity: 1;
    transform: none;
    animation: none !important;
}

/* Image Container - Full width with proper aspect ratio */
.design-led-image-container {
    width: 100%;
    aspect-ratio: 4/3; /* Wider aspect ratio to fill width better */
    background: transparent;
    overflow: hidden;
    position: relative;
    box-shadow: none !important;
    transition: none !important;
    border-radius: 16px; /* Rounded corners like reference */
    margin: 0; /* Remove any margins */
    padding: 0; /* Remove any padding */
}

/* Remove hover effects on container */
.design-led-image-container:hover {
    box-shadow: none !important;
    transform: none !important;
}

/* Disable image scale on hover entirely */
.design-led-image-container:hover .design-led-model-image {
    transform: none !important;
}

/* Model Image Styling - Fill entire container */
.design-led-model-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: none !important;
    transform: none !important;
    border-radius: 16px;
    display: block; /* Ensure proper display */
}

/* Placeholder for Missing Images - Fill entire container */
.placeholder-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #8b9dc3 0%, #a8b5d1 100%);
    color: #fff;
    font-family: var(--font-primary, 'Lato', sans-serif);
    font-size: 18px;
    font-weight: 500;
    text-align: center;
    border-radius: 16px;
    margin: 0; /* Remove any margins */
    padding: 0; /* Remove any padding */
}

.placeholder-text {
    padding: 20px;
    line-height: 1.4;
}

/* Floating White Product Card - Large and prominent */
.design-led-label-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 0;
    margin-top: -40px; /* More overlap */
    position: relative;
    z-index: 2;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1) !important; /* Subtle shadow */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70%; /* Smaller percentage for better proportion */
    max-width: 180px;
    min-width: 140px;
    height: 140px;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
}

/* Product Images in White Cards */
.design-led-product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 16px;
    box-shadow: none !important;
    transition: none !important;
    transform: none !important;
}

/* Ensure only the main image scales on hover */
.design-led-image-container:hover ~ .design-led-label-card .design-led-product-image,
.design-led-card:hover .design-led-product-image {
    transform: none !important;
}

/* Category Labels - Match product card styling */
.design-led-label {
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #666;
    text-align: center;
    margin: 20px 0 0 0;
    letter-spacing: 0.02em;
    position: relative;
    z-index: 1;
}

/* Mobile Layout */
@media (max-width: 768px) {
    .design-led-jewellery-section {
        padding: 0 !important; /* Remove all padding */
    }

    .design-led-jewellery-section .container {
        padding: 0 20px; /* Keep horizontal padding only */
    }

    .design-led-title {
        font-size: 2.5rem;
        margin-bottom: 20px !important; /* Reduced spacing */
    }

    .design-led-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 4px;
        padding: 0 16px;
    }

    .design-led-image-container {
        aspect-ratio: 4/3;
        width: 100%;
    }

    .design-led-label-card {
        width: 65%;
        max-width: 160px;
        min-width: 120px;
        height: 130px;
        margin-top: -35px;
    }

    .design-led-label {
        font-size: 14px;
        margin: 18px 0 0 0;
    }
}

@media (max-width: 480px) {
    .design-led-jewellery-section {
        padding: 0 !important; /* Remove all padding */
    }

    .design-led-jewellery-section .container {
        padding: 0 12px; /* Keep horizontal padding only */
    }

    .design-led-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 3px;
        padding: 0 12px;
    }

    .design-led-image-container {
        aspect-ratio: 4/3;
        width: 100%;
    }

    .design-led-label-card {
        width: 60%;
        max-width: 140px;
        min-width: 100px;
        height: 120px;
        margin-top: -30px;
    }

    .design-led-label {
        font-size: 13px;
        margin: 15px 0 0 0;
    }
}

/* Small Mobile */
@media (min-width: 481px) and (max-width: 767px) {
    .design-led-jewellery-section {
        padding: 0 !important; /* Remove all padding */
    }

    .design-led-jewellery-section .container {
        padding: 0 30px; /* Keep horizontal padding only */
    }

    .design-led-title {
        font-size: 2.5rem;
        margin-bottom: 20px !important; /* Reduced spacing */
    }

    .design-led-grid {
        grid-template-columns: 1fr;
        gap: 50px;
        max-width: 100%;
    }

    .design-led-image-container {
        aspect-ratio: 4/3;
        width: 100%;
    }

    .design-led-label-card {
        width: 65%;
        max-width: 160px;
        min-width: 120px;
        height: 130px;
        margin-top: -35px;
    }

    .design-led-label {
        font-size: 14px;
        margin: 18px 0 0 0;
    }
}

/* Tablet Portrait */
@media (min-width: 768px) and (max-width: 1023px) {
    .design-led-jewellery-section {
        padding: 0 !important; /* Remove all padding */
    }

    .design-led-jewellery-section .container {
        padding: 0 40px; /* Keep horizontal padding only */
    }

    .design-led-title {
        font-size: 2.8rem;
        margin-bottom: 20px !important; /* Reduced spacing */
    }

    .design-led-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
        max-width: 100%;
    }

    .design-led-image-container {
        aspect-ratio: 4/3;
        width: 100%;
    }

    .design-led-label-card {
        width: 70%;
        max-width: 160px;
        min-width: 120px;
        height: 130px;
        margin-top: -35px;
    }

    .design-led-label {
        font-size: 15px;
        margin: 18px 0 0 0;
    }
}

/* Tablet Landscape */
@media (min-width: 1024px) and (max-width: 1279px) {
    .design-led-jewellery-section {
        padding: 0 !important; /* Remove all padding */
    }

    .design-led-jewellery-section .container {
        padding: 0 60px; /* Keep horizontal padding only */
    }

    .design-led-title {
        font-size: 2.9rem;
        margin-bottom: 20px !important; /* Reduced spacing */
    }

    .design-led-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 35px;
        max-width: 100%;
    }

    .design-led-image-container {
        aspect-ratio: 4/3;
        width: 100%;
    }

    .design-led-label-card {
        width: 75%;
        max-width: 180px;
        min-width: 140px;
        height: 140px;
        margin-top: -40px;
    }

    .design-led-label {
        font-size: 16px;
        margin: 20px 0 0 0;
    }
}

/* Desktop Large */
@media (min-width: 1280px) {
    .design-led-jewellery-section {
        padding: 0 !important; /* Remove all padding */
    }

    .design-led-jewellery-section .container {
        padding: 0 80px; /* Keep horizontal padding only */
    }

    .design-led-title {
        font-size: 3rem;
        margin-bottom: 20px !important; /* Reduced spacing */
    }

    .design-led-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
        max-width: 100%;
    }

    .design-led-image-container {
        aspect-ratio: 4/3;
        width: 100%;
    }

    .design-led-label-card {
        width: 80%;
        max-width: 200px;
        min-width: 160px;
        height: 150px;
        margin-top: -45px;
    }

    .design-led-label {
        font-size: 16px;
        margin: 22px 0 0 0;
    }
}
