/* =============================================================
   Homepage discovery sections
   [wplt_discovery_tiles] · [wplt_size_picks] · [wplt_price_bands]
   ============================================================= */

/* ════════════════════════════════════════════════════
   1. Intent icebreaker tiles  [wplt_discovery_tiles]
   Warm blush section background — tiles are full-colour
   blocks (accent as bg, white text) matching the site's
   photo-tile editorial style.
   ════════════════════════════════════════════════════ */

.wplt-discovery {
    background: var(--pc-accent-soft);
    padding: 40px 20px 48px;
}

.wplt-discovery__header {
    text-align: center;
    margin-bottom: 24px;
}

.wplt-discovery__title {
    font-size: clamp(19px, 3vw, 26px);
    font-weight: 700;
    color: var(--pc-primary);
    margin: 0;
    letter-spacing: -0.01em;
}

/* Grid: 3-col desktop → 2-col all mobile */
.wplt-discovery__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    max-width: 920px;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .wplt-discovery__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .wplt-discovery__grid {
        gap: 8px;
    }
}

/* Tile: use --tile-accent as the full background, white text throughout.
   This matches the existing category photo-tile language (rich colour, white text). */
.wplt-discovery__tile {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 18px;
    background: var(--tile-accent, var(--pc-primary));
    border-radius: 8px;
    text-decoration: none;
    color: #fff;
    position: relative;
    overflow: hidden;
    border: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Subtle top-left gloss — depth without images */
.wplt-discovery__tile::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 55%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.13) 0%, transparent 100%);
    pointer-events: none;
    border-radius: 8px 8px 0 0;
}

.wplt-discovery__tile:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.24);
    color: #fff;
}

/* Icon — translucent white circle on coloured background */
.wplt-discovery__icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: background 0.18s;
}

.wplt-discovery__tile:hover .wplt-discovery__icon {
    background: rgba(255, 255, 255, 0.28);
}

.wplt-discovery__icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Text block */
.wplt-discovery__text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
    min-width: 0;
}

.wplt-discovery__label {
    font-size: 13.5px;
    font-weight: 700;
    color: #fff;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wplt-discovery__sub {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Arrow */
.wplt-discovery__arrow {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
    flex-shrink: 0;
    transition: color 0.18s, transform 0.18s;
}

.wplt-discovery__tile:hover .wplt-discovery__arrow {
    color: #fff;
    transform: translateX(3px);
}

/* Mobile: hide sub text and arrow, keep tile compact */
@media (max-width: 480px) {
    .wplt-discovery__sub,
    .wplt-discovery__arrow { display: none; }

    .wplt-discovery__tile {
        padding: 16px 12px;
        gap: 10px;
        border-radius: 6px;
    }
    .wplt-discovery__icon {
        width: 34px;
        height: 34px;
    }
    .wplt-discovery__icon svg {
        width: 16px;
        height: 16px;
    }
    .wplt-discovery__label {
        font-size: 12.5px;
        white-space: normal;
        line-height: 1.3;
    }
}

/* ════════════════════════════════════════════════════
   2. Size picks   [wplt_size_picks]
   Dark plum bar — same brand anchor as existing headers.
   ════════════════════════════════════════════════════ */

.wplt-size-picks {
    background: var(--pc-primary);
    padding: 36px 24px;
}

.wplt-size-picks__inner {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.wplt-size-picks__title {
    font-size: 11px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    flex-shrink: 0;
    white-space: nowrap;
}

.wplt-size-picks__pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    flex: 1;
}

.wplt-size-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    padding: 10px 22px;
    background: rgba(255, 255, 255, 0.1);
    border: 1.5px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.03em;
    transition: background 0.15s, border-color 0.15s, transform 0.15s;
}

.wplt-size-pill:hover,
.wplt-size-pill:focus-visible {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.7);
    color: #fff;
    transform: translateY(-1px);
}

.wplt-size-picks__all {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    padding-left: 20px;
    transition: color 0.15s;
}

.wplt-size-picks__all:hover {
    color: #fff;
}

@media (max-width: 640px) {
    .wplt-size-picks { padding: 28px 16px; }
    .wplt-size-picks__all { border-left: none; padding-left: 0; }
}

/* ════════════════════════════════════════════════════
   3. Price band tiles   [wplt_price_bands]
   Dark plum section — matches WOMEN'S NIGHT WEAR &
   KALAMKARI headers for visual consistency.
   Glass-card style on dark background.
   ════════════════════════════════════════════════════ */

.wplt-price-bands {
    background: var(--pc-primary);
    padding: 48px 24px;
}

.wplt-price-bands__header {
    text-align: center;
    margin-bottom: 30px;
}

.wplt-price-bands__title {
    font-size: clamp(19px, 3vw, 26px);
    font-weight: 700;
    color: #fff;
    margin: 0;
    letter-spacing: -0.01em;
}

.wplt-price-bands__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    max-width: 820px;
    margin: 0 auto;
}

@media (max-width: 640px) {
    .wplt-price-bands__grid {
        grid-template-columns: 1fr;
        max-width: 380px;
    }
}

/* Glass card */
.wplt-price-band {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    padding: 28px 20px 24px;
    background: rgba(255, 255, 255, 0.07);
    border: 1.5px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    text-decoration: none;
    color: #fff;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.wplt-price-band:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.36);
    transform: translateY(-4px);
    color: #fff;
}

.wplt-price-band__icon {
    width: 46px;
    height: 46px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.wplt-price-band__icon svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.wplt-price-band__label {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.01em;
}

.wplt-price-band__sub {
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.62);
    line-height: 1.4;
}

.wplt-price-band__cta {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
    margin-top: 6px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 6px 18px;
    border-radius: 999px;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.wplt-price-band:hover .wplt-price-band__cta {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 640px) {
    .wplt-price-band {
        flex-direction: row;
        text-align: left;
        align-items: center;
        gap: 14px;
        padding: 18px 20px;
    }
    .wplt-price-band__icon { flex-shrink: 0; }
    .wplt-price-band__cta { display: none; }
}
