/* ============================================================
   NEELA SHOP WIDGETS — shop-widgets.css v1.0
   Luxury product shop — mirrors About Us page animations:
   spring pop-ups, 3D tilt, ambient glows, corner accents.
   Fully responsive at 4 breakpoints.
   ============================================================ */

/* ─────────────────────────────────────────────────────────────
   GSAP INITIAL STATES
   ───────────────────────────────────────────────────────────── */
.gsap-reveal-eyebrow,
.gsap-reveal-heading,
.gsap-reveal-divider,
.gsap-reveal-text,
.gsap-reveal-pills,
.gsap-hero-ctas,
.gsap-mv-card {
    opacity: 0;
    will-change: opacity, transform;
}
.is-in-view .gsap-reveal-eyebrow,
.is-in-view .gsap-reveal-heading,
.is-in-view .gsap-reveal-divider,
.is-in-view .gsap-reveal-text,
.is-in-view .gsap-reveal-pills,
.is-in-view .gsap-hero-ctas,
.is-in-view .gsap-mv-card {
    opacity: 1;
    transform: none;
    transition:
        opacity  0.75s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.8s  cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ─────────────────────────────────────────────────────────────
   SHARED: Corner Accents (About Us frame style)
   ───────────────────────────────────────────────────────────── */
.nsw-corner-accent {
    position: absolute;
    width: 32px; height: 32px;
    border: 2px solid var(--neela-gold, #C9A24B);
    pointer-events: none;
    z-index: 3;
    transition: all 0.4s ease;
}
.nsw-corner-accent--tl { top: -6px; left: -6px; border-right: none; border-bottom: none; border-top-left-radius: 8px; }
.nsw-corner-accent--br { bottom: -6px; right: -6px; border-left: none; border-top: none; border-bottom-right-radius: 8px; }

/* ─────────────────────────────────────────────────────────────
   1. SHOP HERO V3
   ───────────────────────────────────────────────────────────── */
.nsw-hero--v3 {
    position: relative;
    padding: clamp(4.5rem, 9vw, 7.5rem) 0 clamp(4rem, 7vw, 6rem);
    background: linear-gradient(135deg, rgba(125, 31, 61, 0.93) 0%, rgba(74, 25, 66, 0.96) 100%);
    overflow: hidden;
    isolation: isolate;
}

/* Background image layer */
.nsw-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.18;
    transition: transform 8s ease;
    z-index: 0;
}
.nsw-hero--v3:hover .nsw-hero__bg { transform: scale(1.03); }

.nsw-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(125, 31, 61, 0.88) 0%, rgba(74, 25, 66, 0.92) 100%);
    z-index: 1;
}

/* Glow blobs */
.nsw-hero__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
    z-index: 1;
    opacity: 0.35;
}
.nsw-hero__glow--1 { top: -10%; left: -5%; width: 420px; height: 420px; background: radial-gradient(circle, rgba(201,162,75,0.5) 0%, transparent 70%); }
.nsw-hero__glow--2 { bottom: -15%; right: -5%; width: 380px; height: 380px; background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, transparent 70%); }

.nsw-hero__inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Eyebrow */
.nsw-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1.35rem;
    border: 1.5px solid rgba(201, 162, 75, 0.55);
    border-radius: 50px;
    background: rgba(201, 162, 75, 0.14);
    backdrop-filter: blur(8px);
    color: var(--neela-gold, #C9A24B);
    font-family: var(--neela-font-nav);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.nsw-hero__heading {
    font-family: var(--neela-font-heading, 'Playfair Display', serif);
    font-size: clamp(2.8rem, 6vw, 4.2rem);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.15;
    margin: 0 0 1rem 0;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nsw-hero__divider {
    width: 80px; height: 3px;
    background: var(--neela-gold, #C9A24B);
    border-radius: 4px;
    margin: 0 auto 1.35rem;
}

.nsw-hero__subtext {
    font-family: var(--neela-font-body, 'Inter', sans-serif);
    font-size: clamp(0.95rem, 1.8vw, 1.1rem);
    color: rgba(255, 255, 255, 0.88);
    max-width: 55ch;
    margin: 0 auto 2rem;
    line-height: 1.75;
}

/* Filter Pills */
.nsw-hero__filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    justify-content: center;
}
.nsw-filter-pill {
    padding: 0.5rem 1.35rem;
    border-radius: 50px;
    border: 1.5px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    color: rgba(255, 255, 255, 0.88);
    font-family: var(--neela-font-nav);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.nsw-filter-pill:hover,
.nsw-filter-pill--active {
    background: var(--neela-gold, #C9A24B);
    border-color: var(--neela-gold, #C9A24B);
    color: #1a0a10;
    transform: scale(1.05);
}

/* Bottom gold accent */
.nsw-hero__bottom-accent {
    position: absolute; bottom: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--neela-gold, #C9A24B), transparent);
    z-index: 2;
}

/* ─────────────────────────────────────────────────────────────
   2. PRODUCT GRID V3
   ───────────────────────────────────────────────────────────── */
.nsw-grid--v3 {
    position: relative;
    padding: clamp(4rem, 7vw, 6rem) 0;
    background: linear-gradient(180deg, #fdfbf7 0%, #ffffff 50%, #fcf8f2 100%);
    overflow: hidden;
}

.nsw-grid__glow {
    position: absolute; border-radius: 50%;
    filter: blur(100px); pointer-events: none; opacity: 0.25; z-index: 0;
}
.nsw-grid__glow--1 { top: -10%; right: -5%; width: 420px; height: 420px; background: radial-gradient(circle, rgba(201,162,75,0.22) 0%, transparent 70%); }
.nsw-grid__glow--2 { bottom: -10%; left: -5%; width: 380px; height: 380px; background: radial-gradient(circle, rgba(125,31,61,0.15) 0%, transparent 70%); }

/* Grid: 3-column by default */
.nsw-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

/* ─────────────────────────────────────────────────────────────
   PRODUCT CARD
   ───────────────────────────────────────────────────────────── */
.nsw-product-card {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 20px rgba(125, 31, 61, 0.08);
    overflow: hidden;
    transition:
        box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.4s ease,
        transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform-style: preserve-3d;
    position: relative;
}
.nsw-product-card:hover {
    box-shadow: 0 18px 50px rgba(125, 31, 61, 0.16);
    border-color: rgba(201, 162, 75, 0.3);
    transform: translateY(-6px);
}

/* Image wrap */
.nsw-product-card__img-wrap {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(125, 31, 61, 0.06), rgba(74, 25, 66, 0.12));
}

.nsw-product-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 20px 20px 0 0;
}
.nsw-product-card:hover .nsw-product-card__img { transform: scale(1.06); }

/* Placeholder (no real image) */
.nsw-product-card__img--placeholder {
    background: linear-gradient(135deg, var(--product-accent, #7D1F3D) 0%, rgba(74,25,66,0.95) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px 20px 0 0;
}
.nsw-product-placeholder-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem;
    text-align: center;
}
.nsw-product-placeholder-inner span {
    font-family: var(--neela-font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255,255,255,0.75);
    line-height: 1.4;
}

.nsw-product-card__img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,0.22) 100%);
    pointer-events: none;
    border-radius: 20px 20px 0 0;
}

/* Badge */
.nsw-product-card__badge {
    position: absolute;
    top: 12px; right: 12px;
    z-index: 4;
    padding: 0.28rem 0.75rem;
    border-radius: 50px;
    font-family: var(--neela-font-nav, 'Jost', sans-serif);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* Wishlist button */
.nsw-product-card__wishlist {
    position: absolute;
    bottom: 12px; right: 12px;
    z-index: 4;
    width: 34px; height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--product-accent, #7D1F3D);
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    transition: all 0.3s ease;
}
.nsw-product-card__wishlist:hover,
.nsw-product-card__wishlist.is-active {
    background: var(--product-accent, #7D1F3D);
    border-color: var(--product-accent, #7D1F3D);
    color: #ffffff;
}
.nsw-product-card__wishlist.is-active svg { fill: #ffffff; stroke: none; }

/* Content area */
.nsw-product-card__content {
    padding: 1.25rem 1.3rem 1.5rem;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.45rem;
    flex: 1 !important;
}

/* Rating row */
.nsw-product-card__rating-row {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}
.nsw-product-card__stars {
    color: var(--neela-gold, #C9A24B);
    font-size: 0.9rem;
    letter-spacing: 1px;
}
.nsw-product-card__reviews {
    font-family: var(--neela-font-body, 'Jost', sans-serif);
    font-size: 0.75rem;
    color: var(--neela-text-muted, #6B5A5F);
}

/* Name */
.nsw-product-card__name {
    font-family: var(--neela-font-heading, 'Playfair Display', serif);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--neela-maroon, #7D1F3D);
    margin: 0;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.85rem;
}

/* Description */
.nsw-product-card__desc {
    font-family: var(--neela-font-body, 'Mulish', sans-serif);
    font-size: 0.825rem;
    color: var(--neela-text-muted, #6B5A5F);
    line-height: 1.6;
    margin: 0 0 0.5rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.65rem;
}

/* Price row */
.nsw-product-card__price-row {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: auto;
    padding-top: 0.4rem;
    min-height: 2.2rem;
}
.nsw-product-card__price {
    font-family: var(--neela-font-heading, 'Playfair Display', serif);
    font-size: 1.2rem;
    font-weight: 800;
    color: #7D1F3D !important;
}
.nsw-product-card__old-price {
    font-family: var(--neela-font-body, 'Mulish', sans-serif);
    font-size: 0.85rem;
    color: var(--neela-text-muted, #6B5A5F);
    text-decoration: line-through;
    margin-right: 0.5rem;
    opacity: 0.85;
}
.nsw-product-card__discount-pill {
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    background: rgba(201, 162, 75, 0.12);
    border: 1px solid rgba(201, 162, 75, 0.3);
    font-family: var(--neela-font-nav, 'Jost', sans-serif);
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--neela-gold, #C9A24B);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* CTA Buttons */
.nsw-product-card__ctas {
    display: flex !important;
    gap: 0.6rem !important;
    width: 100% !important;
    margin-top: 0.5rem !important;
}
.nsw-product-card__btn {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    height: 40px !important;
    padding: 0 0.75rem !important;
    border-radius: 999px !important;
    font-family: var(--neela-font-nav, 'Jost', sans-serif) !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
    transition: all 0.3s ease !important;
}
.nsw-product-card__btn--primary {
    background: linear-gradient(135deg, #7D1F3D 0%, #4A1942 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(125, 31, 61, 0.2) !important;
    border: none !important;
}
.nsw-product-card__btn--primary:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(125, 31, 61, 0.35) !important;
}
.nsw-product-card__btn--ghost {
    color: #7D1F3D !important;
    border: 1.5px solid #7D1F3D !important;
    background: transparent !important;
}
.nsw-product-card__btn--ghost:hover {
    background: rgba(125, 31, 61, 0.08) !important;
    transform: translateY(-2px) !important;
}

/* ─────────────────────────────────────────────────────────────
/* ─────────────────────────────────────────────────────────────
   3. SHOP CTA V3 — Full Bleed Luxury Theme Design
   ───────────────────────────────────────────────────────────── */
.nsw-cta--v3 {
    position: relative !important;
    overflow: hidden !important;
    background: linear-gradient(135deg, #7D1F3D 0%, #4A1942 50%, #5c1833 100%) !important;
    padding: clamp(4.5rem, 8vw, 6.5rem) clamp(1.25rem, 4vw, 2.5rem) !important;
    text-align: center !important;
    color: #ffffff !important;
    isolation: isolate !important;
    width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    margin-top: 0 !important;
    margin-bottom: -5px !important;
    border: none !important;
    border-bottom: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}
.nsw-cta__glow {
    position: absolute !important; inset: 0 !important;
    background: radial-gradient(circle at 50% 0%, rgba(201,162,75,0.3) 0%, transparent 65%) !important;
    pointer-events: none !important; z-index: 0 !important;
}
.nsw-cta__eyebrow {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.6rem !important;
    font-family: var(--neela-font-nav, 'Jost', sans-serif) !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    color: #C9A24B !important;
    background: rgba(255, 255, 255, 0.12) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(201, 162, 75, 0.40) !important;
    padding: 0.45rem 1.25rem !important;
    border-radius: 999px !important;
    margin-bottom: 1.25rem !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15) !important;
}
.nsw-cta__heading {
    font-family: var(--neela-font-heading, 'Playfair Display', serif) !important;
    font-size: clamp(2.2rem, 5vw, 3.4rem) !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin: 0 0 1rem 0 !important;
    line-height: 1.2 !important;
}
.nsw-cta__divider {
    height: 3px !important; width: 100px !important;
    background: linear-gradient(90deg, transparent, #C9A24B, transparent) !important;
    border-radius: 4px !important;
    margin: 0 auto 1.5rem !important;
}
.nsw-cta__subtext {
    font-family: var(--neela-font-body, 'Mulish', sans-serif) !important;
    font-size: 1.08rem !important;
    color: rgba(255,255,255,0.92) !important;
    max-width: 60ch !important;
    margin: 0 auto 2.25rem !important;
    line-height: 1.75 !important;
}
.nsw-cta__stats {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 1.25rem !important;
    flex-wrap: wrap !important;
    margin-bottom: 2.5rem !important;
}
.nsw-cta__stat {
    background: rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 16px !important;
    padding: 0.85rem 1.75rem !important;
    text-align: center !important;
    transition: transform 0.3s ease, border-color 0.3s ease !important;
}
.nsw-cta__stat:hover {
    transform: translateY(-3px) !important;
    border-color: rgba(201, 162, 75, 0.5) !important;
}
.nsw-cta__stat-num {
    font-family: var(--neela-font-heading, 'Playfair Display', serif) !important;
    font-size: 1.6rem !important;
    font-weight: 800 !important;
    color: #C9A24B !important;
    line-height: 1.1 !important;
}
.nsw-cta__stat-label {
    font-family: var(--neela-font-nav, 'Jost', sans-serif) !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    color: rgba(255,255,255,0.85) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    margin-top: 0.2rem !important;
}
.nsw-cta__stat-divider { display: none !important; }

/* ─────────────────────────────────────────────────────────────
   RESPONSIVE BREAKPOINTS
   ───────────────────────────────────────────────────────────── */
@media (max-width: 1199px) {
    .nsw-products-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .nsw-products-grid { grid-template-columns: 1fr; }
    .nsw-hero__glow { display: none; }
    .nsw-cta__stat-divider { display: none; }
    .nsw-cta__stats { gap: 1.5rem; }
}
@media (max-width: 480px) {
    .nsw-product-card__ctas { flex-direction: column; }
    .nsw-product-card__btn { justify-content: center; width: 100%; }
    .nsw-hero__filter-pills { gap: 0.5rem; }
    .nsw-filter-pill { font-size: 0.72rem; padding: 0.4rem 1rem; }
}
