/* ========================================
   CUSTOM BEST SELLERS SECTION
   ======================================== */

.custom-best-sellers {
    background-color: #FFFFFF;
    padding: 100px 60px;
    color: #1A1A1A;
}

.custom-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.custom-section-title-wrap {
    text-align: left;
}

.custom-section-subtitle {
    display: block;
    font-size: 11px;
    letter-spacing: 0.3em;
    color: #CDBA98;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.custom-section-title {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 400;
    margin: 0;
    color: #000000;
}

.custom-view-all {
    color: #000000;
    font-size: 11px;
    letter-spacing: 0.15em;
    text-decoration: none;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    padding-bottom: 5px;
    transition: border-color 0.3s ease;
}

.custom-view-all:hover {
    color: #cccccc;
    border-color: #cccccc;
}

/* Product Grid */
.custom-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Product Card */
.custom-product-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    position: relative;
}

.custom-product-image {
    width: 100%;
    aspect-ratio: 1 / 1.35;
    overflow: hidden;
    margin-bottom: 0;
    background-color: #f7f7f7;
    position: relative;
}

.custom-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.4s ease-in-out;
}

.custom-product-image .primary-img {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.custom-product-image .secondary-img {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    opacity: 0;
}

.custom-product-card:hover .secondary-img {
    opacity: 1;
}

.custom-product-card:hover .primary-img {
    opacity: 0;
}

.custom-product-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 10px;
    background: #fff;
    text-align: center;
    z-index: 3;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.custom-product-card:hover .custom-product-info {
    opacity: 1;
    transform: translateY(0);
}

.custom-product-name {
    font-family: 'Playfair Display', serif;
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 4px 0;
    color: #111 !important;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.custom-product-price {
    font-family: Inter, -apple-system, sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #333 !important;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .custom-product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 20px;
    }

    .custom-best-sellers {
        padding: 80px 40px;
    }
}

@media (max-width: 768px) {
    .custom-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .custom-section-title {
        font-size: 32px;
        /* Slightly smaller for mobile */
    }

    .custom-product-name {
        font-size: 13px;
        line-height: 1.3;
        margin-bottom: 4px;
    }

    .custom-product-price {
        font-size: 12px;
    }

    .custom-product-image {
        margin-bottom: 0;
    }
}

@media (max-width: 480px) {
    .custom-product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 15px;
    }

    .custom-best-sellers {
        padding: 60px 20px;
    }
}

/* ========================================
   CUSTOM COLLECTION BANNER
   ======================================== */

.custom-collection-banner {
    position: relative;
    width: 100%;
    height: 720px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.custom-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: rgba(0, 0, 0, 0.4); */
    z-index: 1;
}

.custom-banner-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
    color: #FFFFFF;
}

.custom-banner-label {
    font-size: 11px;
    letter-spacing: 0.3em;
    color: #CDBA98;
    /* Soft gold color from design */
    margin-bottom: 25px;
    display: block;
    text-transform: uppercase;
    font-weight: 500;
}

.custom-banner-title {
    font-family: 'Playfair Display', serif;
    font-size: 72px;
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 25px;
    letter-spacing: -0.01em;
}

.custom-banner-description {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.custom-banner-button {
    display: inline-block;
    padding: 20px 50px;
    background-color: #1A1A1A;
    /* Dark contrast for button */
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
}

.custom-banner-button:hover {
    background-color: #FFFFFF;
    transform: translateY(-2px);
}

/* Responsive Banner Styles */
@media (max-width: 1024px) {
    .custom-banner-title {
        font-size: 56px;
    }
}

@media (max-width: 768px) {
    .custom-collection-banner {
        height: 500px;
    }

    .custom-banner-title {
        font-size: 42px;
    }

    .custom-banner-description {
        font-size: 14px;
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .custom-collection-banner {
        height: 400px;
    }

    .custom-banner-title {
        font-size: 32px;
    }

    .custom-banner-button {
        padding: 15px 35px;
        font-size: 11px;
    }
}

/* ========================================
   CUSTOM PHILOSOPHY SECTION
   ======================================== */

.custom-philosophy {
    background-color: #F9F9F9;
    width: 100%;
    height: 650px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 40px;
}

.custom-philosophy-content {
    max-width: 850px;
    color: #1A1A1A;
    padding: 0px 30px 0px 0px;
}

.custom-philosophy-label {
    display: block;
    font-size: 11px;
    letter-spacing: 0.3em;
    color: #CDBA98;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.custom-philosophy-title {
    font-family: 'Playfair Display', serif;
    font-size: 52px;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 30px;
    color: #000000;
}

.custom-philosophy-description {
    font-size: 16px;
    line-height: 1.8;
    color: #444444;
    margin: 0 auto 40px;
    max-width: 700px;
}

.custom-philosophy-link {
    display: inline-block;
    color: #000000;
    font-size: 12px;
    letter-spacing: 0.15em;
    text-decoration: none;
    text-transform: uppercase;
    padding-bottom: 5px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.custom-philosophy-link:hover {
    color: #cccccc;
    border-bottom-color: #cccccc;
}

/* Responsive Philosophy Styles */
@media (max-width: 1024px) {
    .custom-philosophy-title {
        font-size: 42px;
    }
}

@media (max-width: 768px) {
    .custom-philosophy {
        height: auto;
        padding: 100px 30px;
    }

    .custom-philosophy-title {
        font-size: 36px;
    }

    .custom-philosophy-description {
        font-size: 14px;
        line-height: 1.6;
    }
}

@media (max-width: 480px) {
    .custom-philosophy-title {
        font-size: 28px;
    }

    .custom-philosophy {
        padding: 80px 20px;
    }
}