/* ============================================
   The Pink Elephant Shop — Vitrine
   Carousel, grid, lightbox, CTA
   ============================================ */

/* === HERO CAROUSEL === */
.shop-hero {
    position: relative;
    width: 100%;
    height: 60vh;
    min-height: 360px;
    max-height: 600px;
    overflow: hidden;
    background: #1a1a1a;
}

.shop-hero__slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity .8s ease;
}

.shop-hero__slide.active { opacity: 1; }

.shop-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,.25) 0%,
        rgba(0,0,0,.65) 100%
    );
}

.shop-hero__content {
    position: absolute;
    bottom: 80px;
    left: 0;
    right: 0;
    text-align: center;
    color: #fff;
    padding: 0 24px;
    z-index: 2;
}

.shop-hero__title {
    font-size: clamp(24px, 4vw, 42px);
    font-weight: 700;
    letter-spacing: .02em;
    margin: 0 0 8px;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0,0,0,.7), 0 1px 3px rgba(0,0,0,.5);
}

.shop-hero__desc {
    font-size: 16px;
    color: #fff;
    opacity: .95;
    margin: 0;
    text-shadow: 0 2px 8px rgba(0,0,0,.6), 0 1px 2px rgba(0,0,0,.4);
}

.shop-hero__tagline {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
    color: rgba(255,255,255,.85);
    font-size: 13px;
    letter-spacing: .08em;
    z-index: 2;
    text-shadow: 0 1px 6px rgba(0,0,0,.5);
}

.shop-hero__tagline span {
    color: #E5007D;
    font-weight: 700;
}

/* Arrows */
.shop-hero__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    background: rgba(0,0,0,.4);
    color: #fff;
    border: none;
    font-size: 36px;
    line-height: 1;
    padding: 8px 14px;
    cursor: pointer;
    border-radius: 4px;
    transition: background .2s;
}

.shop-hero__arrow:hover { background: rgba(229,0,125,.7); }
.shop-hero__arrow--prev { left: 16px; }
.shop-hero__arrow--next { right: 16px; }

/* Dots */
.shop-hero__dots {
    position: absolute;
    bottom: 48px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 3;
}

.shop-hero__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,.6);
    background: transparent;
    cursor: pointer;
    transition: all .2s;
    padding: 0;
}

.shop-hero__dot.active,
.shop-hero__dot:hover {
    background: #E5007D;
    border-color: #E5007D;
}

/* === INTRO === */
.shop-intro {
    text-align: center;
    padding: 48px 24px 32px;
}

.shop-intro__title {
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 12px;
}

.shop-intro__text {
    font-size: 16px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* === CATEGORY PILLS === */
.shop-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 32px;
}

.shop-pills .pill {
    cursor: pointer;
    border: none;
    font-family: inherit;
}

/* === PRODUCT GRID === */
.shop-grid-section {
    padding-bottom: 48px;
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@keyframes shopFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* === PRODUCT CARD === */
.shop-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
    cursor: pointer;
    transition: transform .2s, box-shadow .2s;
}

.shop-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
}

.shop-card__img-wrap {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #f0f0f0;
}

.shop-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.shop-card:hover .shop-card__img {
    transform: scale(1.06);
}

.shop-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 14px;
}

.shop-card__hover {
    position: absolute;
    inset: 0;
    background: rgba(229,0,125,.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .3s;
}

.shop-card:hover .shop-card__hover { opacity: 1; }

.shop-card__hover-text {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 8px 20px;
    border: 2px solid #fff;
    border-radius: 4px;
}

.shop-card__body {
    padding: 16px;
}

.shop-card__name {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 4px;
}

.shop-card__desc {
    font-size: 13px;
    color: #888;
    margin: 0 0 8px;
    line-height: 1.4;
}

.shop-card__cat {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #E5007D;
    background: rgba(229,0,125,.08);
    padding: 2px 8px;
    border-radius: 10px;
}

/* === LIGHTBOX === */
.shop-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0,0,0,.92);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s;
}

.shop-lightbox.open {
    opacity: 1;
    visibility: visible;
}

.shop-lightbox__close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    color: #fff;
    font-size: 36px;
    cursor: pointer;
    z-index: 10;
    line-height: 1;
    opacity: .7;
    transition: opacity .2s;
}

.shop-lightbox__close:hover { opacity: 1; }

.shop-lightbox__content {
    max-width: 800px;
    width: 90%;
    text-align: center;
}

.shop-lightbox__img-wrap {
    position: relative;
    display: inline-block;
    max-width: 100%;
}

.shop-lightbox__img {
    max-width: 100%;
    max-height: 70vh;
    border-radius: 6px;
    object-fit: contain;
}

.shop-lightbox__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,.5);
    color: #fff;
    border: none;
    font-size: 32px;
    line-height: 1;
    padding: 6px 12px;
    cursor: pointer;
    border-radius: 4px;
    transition: background .2s;
}

.shop-lightbox__arrow:hover { background: rgba(229,0,125,.7); }
.shop-lightbox__arrow--prev { left: -50px; }
.shop-lightbox__arrow--next { right: -50px; }

.shop-lightbox__info {
    margin-top: 16px;
    color: #fff;
}

.shop-lightbox__name {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 6px;
}

.shop-lightbox__desc {
    font-size: 14px;
    color: rgba(255,255,255,.7);
    margin: 0 0 12px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.shop-lightbox__dots {
    display: flex;
    gap: 6px;
    justify-content: center;
}

.shop-lightbox__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.5);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: all .2s;
}

.shop-lightbox__dot.active {
    background: #E5007D;
    border-color: #E5007D;
}

/* === CTA === */
.shop-cta {
    background: linear-gradient(135deg, #684155 0%, #1a1a1a 100%);
    padding: 60px 0;
    margin-top: 32px;
}

.shop-cta__inner {
    display: flex;
    align-items: center;
    gap: 48px;
}

.shop-cta__text {
    flex: 1;
    color: #fff;
}

.shop-cta__title {
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 700;
    margin: 0 0 12px;
}

.shop-cta__subtitle {
    font-size: 16px;
    color: rgba(255,255,255,.8);
    margin: 0 0 16px;
    line-height: 1.5;
}

.shop-cta__address {
    font-size: 14px;
    color: rgba(255,255,255,.6);
    margin: 0 0 24px;
}

.shop-cta__buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-shop-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #E5007D;
    color: #fff;
    border: 2px solid #E5007D;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all .2s;
    cursor: pointer;
}

.btn-shop-cta:hover {
    background: #b8005e;
    border-color: #b8005e;
}

.btn-shop-cta--outline {
    background: transparent;
    border-color: rgba(255,255,255,.4);
}

.btn-shop-cta--outline:hover {
    background: rgba(255,255,255,.1);
    border-color: #fff;
}

.shop-cta__visual {
    flex-shrink: 0;
}

.shop-cta__elephant {
    width: 180px;
    height: auto;
    opacity: .8;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,.3));
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
    .shop-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 600px) {
    .shop-hero {
        height: 40vh;
        min-height: 260px;
    }

    .shop-hero__arrow { display: none; }

    .shop-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .shop-lightbox__arrow--prev { left: 4px; }
    .shop-lightbox__arrow--next { right: 4px; }

    .shop-cta__inner {
        flex-direction: column;
        text-align: center;
    }

    .shop-cta__buttons {
        justify-content: center;
    }

    .shop-cta__elephant {
        width: 120px;
    }
}
