﻿/* Palette tuned from your screenshot */
:root {
    --mp-teal: #2e7a6a;
    --mp-teal-600: #276a5c;
    --mp-coral: #ff6b7a;
    --mp-sand: #d7b89b;
    --mp-brown: #8c6b4f;
    --mp-ink: #203029;
    --mp-warm: #f7f2ed;
}

.carousel {
    border: 1px solid rgba(0,0,0,.06);
    background: #fff;
    margin-bottom: 1rem;
}

.cosmetic-features {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem .75rem;
}

    .cosmetic-features .feature {
        display: inline-flex;
        align-items: center;
        gap: .35rem;
        padding: .35rem .55rem;
        border: 1px solid rgba(0,0,0,.08);
        background: var(--mp-warm);
        border-radius: 999px;
        font-size: .85rem;
        line-height: 1;
        transition: transform .12s ease, box-shadow .12s ease, background .12s;
    }

        .cosmetic-features .feature:focus,
        .cosmetic-features .feature:hover {
            transform: translateY(-1px);
            box-shadow: 0 2px 8px rgba(0,0,0,.08);
            background: #fff;
        }

.feature-live-label {
    margin-top: .35rem;
    font-size: .85rem;
    color: var(--mp-ink);
    background: #fff;
    border-left: 3px solid var(--mp-teal);
    padding: .4rem .6rem;
    border-radius: .4rem;
    display: none;
}

/* Meta & Info lines */
.info-line {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: .5rem;
    padding: .6rem .75rem;
    background: #fff;
    border-bottom: 1px solid #d4f0d3;
    border-radius: .6rem;
}

    .info-line .label {
        color: #6b7a75;
        font-weight: 600;
    }

    .info-line .value {
        color: #2c3e36;
    }

/* Tabs styling to match the palette */
.pretty-tabs .nav-link {
    border: 0 !important;
    color: #5b6c65;
}

    .pretty-tabs .nav-link.active {
        color: var(--mp-teal);
        font-weight: 700;
        border-bottom: 3px solid var(--mp-teal) !important;
        background: transparent !important;
    }

.pretty-tabs {
    border-bottom: 1px solid rgba(0,0,0,.08);
}

/* Variant color chip (shown only when we have a hex) */
.color-chip {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 2px solid #fff;
    outline: 1px solid rgba(0,0,0,.1);
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
}

/* Misc */
.card-title {
    color: var(--mp-ink);
}

@media (max-width:576px) {
    .info-line {
        grid-template-columns: 1fr;
    }

    .feature-live-label {
        display: block;
    }
}

/* ---------- VARIANT DROPDOWN (CSS) ---------- */
.color-chip {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,.25);
    display: inline-block;
}

.dropdown-branches-menu {
    padding-top: 0;
    max-height: 15.6rem;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: #e5e5e5 transparent;
    scrollbar-gutter: stable;
    border-left-color: #ffc107;
    border-right-color: #ffc107;
    border-bottom-color: #ffc107;
    border-top-color: #ffffff;
    width: 100%;
}


.dropdown-pictures .row {
    padding: .5rem .5rem 0;
}

.picture-container {
    margin-bottom: .5rem;
}


.variant-choice {
    text-decoration: none;
    text-align: center;
    user-select: none;
}


.color-round {
    display: inline-block;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,.2);
    box-shadow: 0 2px 8px rgba(0,0,0,.06) inset, 0 1px 2px rgba(0,0,0,.04);
    background: var(--swatch, #f1f1f1);
    margin: 6px;
    cursor: pointer;
    position: relative;
    transition: box-shadow .15s ease, transform .05s ease;
    outline: none;
}

    .color-round:hover {
        transform: scale(1.1);
    }

    .color-round:active {
        transform: scale(1.1);
    }

    .color-round.is-selected::after, .color-round[aria-pressed="true"]::after {
        content: "✓";
        position: absolute;
        right: 30%;
        bottom: 30%;
        font-size: 1.5rem;
        line-height: 1;
        color: #4dff07;
        text-shadow: 0 1px 1px rgba(255, 255, 255, .8);
    }


.image-title {
    font-size: .9rem;
    font-weight: 600;
    color: #203029;
}


/* Elegant compact price */

.price {
    display: inline-flex;
    align-items: baseline;
    gap: .3rem;
    padding: .35rem .6rem;
    background: #fff;
    border: 1px solid #d4f0d3;
    border-radius: .55rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
    margin-top: 1rem;
}

    .price .amount {
        font-weight: 700;
        font-size: 1.5rem;
        opacity: .9;
        color: #212529;
    }

    .price .eur {
        font-weight: 700;
        font-size: 1rem;
        opacity: .9;
        color: #2e7a6a;
    }

.old-price {
    text-decoration: line-through;
    color: #6c757d73;
    font-size: 1.3rem;
    display: block;
    margin-top: 5px;
}


.shades {
    display: inline-flex;
    gap: .3rem;
    padding: .35rem .6rem;
    background: #fff;
    border: 1px solid #ffc107;
    border-radius: .55rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
}

.card-ribbon-info {
    position: relative;
    width: 112px;
    background: linear-gradient(135deg, #fd657b 0%, #53265E 100%);
    display: inline-block;
    align-items: center;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 16px;
    box-shadow: 0 3px 10px -5px #cdaa82;
    text-align: center;
    border-radius: 0.7rem;
    padding: 0.3rem;
    margin-right: 0.5rem;
}


#productCarousel {
    position: relative;
}

    #productCarousel .carousel-inner {
        position: relative;
        width: 100%;
        overflow: hidden;
        background-color: #ffffff;
    }

    #productCarousel .carousel-item {
        height: clamp(260px, 60vw, 520px);
        background: #ffffff;
        padding-bottom:1.5rem
    }


.item-center {
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .item-center img.mag-img {
        max-width: 100%;
        height: auto;
        display: block;
    }

.mag-lens {
    position: absolute;
    pointer-events: none; /* let mouse events pass through to the img */
    width: 160px;
    height: 160px;
    border-radius: 50%;
    box-shadow: 0 8px 20px rgba(0,0,0,0.35), inset 0 0 0 2px rgba(255,255,255,0.9);
    background-repeat: no-repeat;
    background-position: 0 0;
    background-size: 0 0; /* set via JS */
    transform: translate(-50%, -50%); /* center lens at cursor */
    z-index: 5;
    display: none; /* shown on hover */
    backdrop-filter: none; /* ensure crispness */
}

.item-center {
    cursor: none;
}



    /* Controls: fixed vertical center relative to carousel wrapper */
    #productCarousel .carousel-control-prev,
    #productCarousel .carousel-control-next {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        bottom: auto;
        width: 36px !important;
        height: 36px !important;
        padding: 0;
        border: none;
        border-radius: 50%;
        background: #1987549e;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 5;
        opacity: 1;
        transition: background .2s ease;
    }

    #productCarousel .carousel-control-prev {
        left: 3px;
    }

    #productCarousel .carousel-control-next {
        right: 3px;
    }

        #productCarousel .carousel-control-prev:hover,
        #productCarousel .carousel-control-next:hover {
            background: rgba(255,69,96,.9);
        }

    #productCarousel .carousel-control-prev-icon,
    #productCarousel .carousel-control-next-icon {
        filter: invert(1);
        width: 16px;
        height: 16px;
        background-size: 100% 100%;
    }


/* ===== Fancy indicators (dots) ===== */

#productCarousel .carousel-indicators {
    bottom: -10px; /* lift a bit closer to the image; adjust to taste */
    gap: .5rem;
    margin-right: 0;
    margin-left: 0;
}

    #productCarousel .carousel-indicators [data-bs-target] {
        width: 14px;
        height: 14px;
        border-radius: 999px;
        background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(255,255,255,.7));
        border: 2px solid rgba(0,0,0,.25);
        box-shadow: 0 4px 10px rgba(0,0,0,.15), inset 0 1px 2px rgba(0,0,0,.1);
        opacity: 1; /* keep fully opaque */
        transition: transform .2s ease, background .2s ease, border-color .2s ease;
    }

        #productCarousel .carousel-indicators [data-bs-target]:hover {
            transform: translateY(-2px) scale(1.1);
            border-color: rgba(0,0,0,.4);
        }

    #productCarousel .carousel-indicators .active {
        width: 28px; /* pill for active */
        background: linear-gradient(180deg, #ffffff, #f1f1f1);
        border-color: rgba(0,0,0,.5);
    }


.add-to-basket {
    margin-left: 1rem;
    margin-top: 0.1rem;
}



/* Dropdown menu */
#priceDropdown .dropdown-menu {
    background: #fff;
    border: 1px solid #ffc107;
    border-radius: .55rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
    padding: .25rem;
    width: 100%;
}

/* Items */
#priceDropdown .dropdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: .45rem;
    padding: .55rem .75rem;
}

    #priceDropdown .dropdown-item:hover,
    #priceDropdown .dropdown-item:focus {
        background: rgba(255, 193, 7, 0.12); 
    }

    /* Left text (qty + measure) */
    #priceDropdown .dropdown-item .qty {
        font-weight: 500;
    }

    /* Right prices */
    #priceDropdown .dropdown-item .prices {
        white-space: nowrap;
    }

/* Old/New price look */
#priceDropdown .old-price {
    color: #6c757d;
    text-decoration: line-through;
    margin-right: .35rem;
}

#priceDropdown .new {
    font-weight: 700;
}

/* Badge for code-only discounts */
#priceDropdown .badge {
    border-radius: .35rem;
    padding: .25rem .5rem;
}


#selectedOption {
    font-size: medium;
    color: #212529;
}

.dropdown-item.active, .dropdown-item:active {
    color: #dc3545;
    text-decoration: none;
    background-color: #d4f0d3;
    font-weight: 700;
}

.dropdown{
    padding-left:0px;
    padding-right:0px;
}



