﻿
:root {
    --tj-page-background: #FDFBF5; /* Light golden beige */
}

/* Apply to every page */
html,
body {
    min-height: 100%;
    background-color: var(--tj-page-background) !important;
}

body {
    margin: 0;
    background-image: none;
}


/* ==========================================
   LUXURY PRODUCT SLIDERS - UNIFIED DESIGN
========================================== */

.mainSlick {
    width: 100%;
    max-width: 1500px;
    margin: 25px auto 55px;
    padding: 0 18px;
}

.slider-most-viewed,
.slider-promotions,
.slider-best-seller {
    display: block;
}

.product-card {
    padding: 12px;
    box-sizing: border-box;
    height: 100%;
}

    .product-card .card {
        height: 100%;
        min-height: 425px;
        display: flex;
        flex-direction: column;
        border: 1px solid #eee8dc !important;
        border-radius: 16px !important;
        overflow: hidden;
        background: #fff;
        box-shadow: 0 5px 18px rgba(0,0,0,0.055);
        transition: transform .35s ease, box-shadow .35s ease;
    }

        .product-card .card:hover {
            transform: translateY(-7px);
            box-shadow: 0 14px 30px rgba(0,0,0,0.12);
        }

    /* Consistent image area */
    .product-card .product-image-link {
        height: 255px;
        min-height: 255px;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        background: #faf9f6;
    }

    .product-card .product-image {
        width: 100%;
        height: 100%;
        object-fit: contain;
        padding: 12px;
        transition: transform .5s ease;
    }

    .product-card .card:hover .product-image {
        transform: scale(1.06);
    }

    /* Consistent card content */
    .product-card .card-body {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
        padding: 18px 14px;
        text-align: center;
    }

    .product-card .product-name {
        min-height: 42px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
        font-weight: 600;
        line-height: 1.5;
        color: #29251f;
        text-decoration: none;
    }

        .product-card .product-name:hover {
            color: #b89a65;
        }

    .product-card .price {
        min-height: 25px;
        margin: 8px 0 15px;
        color: #b89a65;
        font-size: 15px;
        font-weight: 700;
    }

    /* Unified action buttons */
    .product-card .product-action {
        width: 100%;
        min-height: 43px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 30px;
        font-size: 13px;
        font-weight: 600;
        letter-spacing: .5px;
        text-decoration: none;
        transition: all .3s ease;
    }

    .product-card .view-design-btn {
        background: #fff;
        border: 1px solid #b89a65;
        color: #927444;
    }

        .product-card .view-design-btn:hover {
            background: #b89a65;
            color: #fff;
        }

    .product-card .add-promo-btn {
        background: linear-gradient(135deg, #b89a65, #d9bd83);
        border: 1px solid #b89a65;
        color: #17130e;
        cursor: pointer;
    }

        .product-card .add-promo-btn:hover {
            background: #29251f;
            border-color: #29251f;
            color: #fff;
            transform: translateY(-2px);
        }

    .product-card form {
        width: 100%;
        margin: 0;
    }

/* Slider navigation */
.mainSlick .slick-prev,
.mainSlick .slick-next {
    z-index: 5;
    width: 38px;
    height: 38px;
}

    .mainSlick .slick-prev:before,
    .mainSlick .slick-next:before {
        color: #b89a65;
        font-size: 32px;
        opacity: 1;
    }

.mainSlick .slick-dots li button:before {
    color: #b89a65;
}

.mainSlick .slick-dots li.slick-active button:before {
    color: #b89a65;
}

/* Unified section headings */
.slider-header,
.product-section-heading {
    margin-bottom: 25px;
    text-align: center;
}

.slider-heading {
    color: #29251f;
    font-size: 25px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.gold-divider {
    width: 75px;
    height: 3px;
    margin: 12px auto 0;
    background: linear-gradient(90deg, #b89a65, #f0dfb4);
    border-radius: 5px;
}

/* Responsive */
@media (max-width: 768px) {
    .product-card .card {
        min-height: 390px;
    }

    .product-card .product-image-link {
        height: 220px;
        min-height: 220px;
    }

    .slider-heading {
        font-size: 20px;
    }

    .mainSlick {
        padding: 0 10px;
    }
}

@media (max-width: 480px) {
    .product-card {
        padding: 6px;
    }

        .product-card .product-image-link {
            height: 185px;
            min-height: 185px;
        }

        .product-card .card {
            min-height: 350px;
        }

        .product-card .card-body {
            padding: 12px 8px;
        }

        .product-card .product-name {
            font-size: 12px;
        }

        .product-card .price {
            font-size: 13px;
        }
}

/* Keep every Slick slide equally tall */
.slider-most-viewed .slick-track,
.slider-promotions .slick-track,
.slider-best-seller .slick-track {
    display: flex !important;
    align-items: stretch;
}

.slider-most-viewed .slick-slide,
.slider-promotions .slick-slide,
.slider-best-seller .slick-slide {
    height: auto;
}

    .slider-most-viewed .slick-slide > div,
    .slider-promotions .slick-slide > div,
    .slider-best-seller .slick-slide > div {
        height: 100%;
    }



/* ==========================================
   TAMTOUM JEWELS - FINAL UNIFIED SLIDER FIX
   Applies to all three product sliders
========================================== */

.mainSlick {
    width: 100%;
    max-width: 1500px;
    margin: 25px auto 65px;
    padding: 0 25px;
    box-sizing: border-box;
}

.slider-most-viewed,
.slider-promotions,
.slider-best-seller {
    display: block;
    width: 100%;
}

/* Equal slide heights */
.mainSlick .slick-track {
    display: flex !important;
    align-items: stretch;
}

.mainSlick .slick-slide {
    height: auto !important;
    box-sizing: border-box;
}

    .mainSlick .slick-slide > div {
        height: 100%;
    }

/* Product card */
.mainSlick .product-card {
    height: 100%;
    padding: 12px;
    box-sizing: border-box;
}

    .mainSlick .product-card .card {
        height: 100%;
        min-height: 425px;
        display: flex;
        flex-direction: column;
        overflow: hidden;
        border: 1px solid #eee8dc !important;
        border-radius: 16px !important;
        background: #fff;
        box-shadow: 0 5px 18px rgba(0,0,0,.055);
        transition: transform .35s ease, box-shadow .35s ease;
    }

        .mainSlick .product-card .card:hover {
            transform: translateY(-6px);
            box-shadow: 0 14px 30px rgba(0,0,0,.12);
        }

    /* Product images */
    .mainSlick .product-card .card-img-top {
        width: 100%;
        height: 255px !important;
        min-height: 255px;
        object-fit: contain !important;
        padding: 12px;
        background: #faf9f6;
        box-sizing: border-box;
        transition: transform .5s ease;
    }

    .mainSlick .product-card .card > a:first-child {
        display: block;
        overflow: hidden;
        background: #faf9f6;
    }

    .mainSlick .product-card .card:hover .card-img-top {
        transform: scale(1.06);
    }

    /* Product information */
    .mainSlick .product-card .card-body {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
        text-align: center;
        padding: 18px 14px;
    }

        .mainSlick .product-card .card-body > a {
            min-height: 42px;
            display: flex !important;
            align-items: center;
            justify-content: center;
            color: #29251f !important;
            font-size: 14px;
            font-weight: 600;
            line-height: 1.5;
            text-decoration: none;
        }

            .mainSlick .product-card .card-body > a:hover {
                color: #b89a65 !important;
            }

    /* Prices */
    .mainSlick .product-card .price {
        min-height: 25px;
        margin: 8px 0 15px;
        color: #b89a65 !important;
        font-size: 15px;
        font-weight: 700;
    }

    /* Buttons */
    .mainSlick .product-card form {
        width: 100%;
        margin: 0;
        display: flex;
        justify-content: center;
    }

        .mainSlick .product-card form button {
            width: 100%;
            min-height: 43px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 30px;
            font-size: 13px;
            font-weight: 600;
            transition: all .3s ease;
        }

    /* Most viewed and promotional buttons */
    .mainSlick .product-card .btn-cart-icon,
    .mainSlick .product-card .btn-cart-fashion1 {
        width: 48px;
        height: 48px;
        min-height: 48px;
        border: none;
        background: linear-gradient(135deg, #b89a65, #d9bd83);
        color: #17130e;
    }

        .mainSlick .product-card .btn-cart-icon:hover,
        .mainSlick .product-card .btn-cart-fashion1:hover {
            background: #29251f;
            color: #fff;
            transform: translateY(-2px);
        }

    /* Best seller button */
    .mainSlick .product-card .btn-dark {
        background: #29251f;
        border: 1px solid #b89a65;
        color: #fff;
    }

        .mainSlick .product-card .btn-dark:hover {
            background: #b89a65;
            color: #17130e;
        }

/* Navigation */
.mainSlick .slick-prev,
.mainSlick .slick-next {
    z-index: 5;
    width: 38px;
    height: 38px;
}

    .mainSlick .slick-prev:before,
    .mainSlick .slick-next:before {
        color: #b89a65;
        font-size: 32px;
        opacity: 1;
    }

/* Dots */
.mainSlick .slick-dots li button:before {
    color: #b89a65;
}

.mainSlick .slick-dots li.slick-active button:before {
    color: #b89a65;
}

/* Section headings */
.slider-header {
    margin: 35px 0 25px;
    text-align: center;
}

.slider-heading {
    color: #29251f;
    font-size: 25px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.gold-divider {
    width: 75px;
    height: 3px;
    margin: 12px auto 0;
    background: linear-gradient(90deg, #b89a65, #f0dfb4);
    border-radius: 5px;
}

/* Responsive */
@media (max-width: 768px) {
    .mainSlick {
        padding: 0 15px;
    }

        .mainSlick .product-card .card {
            min-height: 390px;
        }

        .mainSlick .product-card .card-img-top {
            height: 220px !important;
            min-height: 220px;
        }

    .slider-heading {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .mainSlick {
        padding: 0 8px;
    }

        .mainSlick .product-card {
            padding: 6px;
        }

            .mainSlick .product-card .card {
                min-height: 350px;
            }

            .mainSlick .product-card .card-img-top {
                height: 185px !important;
                min-height: 185px;
            }

            .mainSlick .product-card .card-body {
                padding: 12px 8px;
            }

                .mainSlick .product-card .card-body > a {
                    font-size: 12px;
                }

            .mainSlick .product-card .price {
                font-size: 13px;
            }
}
