/* ═══════════════════════════════════════════════════════════
   INVICSCENT — SHOP PAGE  |  Luxury Dark Editorial Design
   ═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --rose:        #c9184a;
    --rose-light:  #ff4d7d;
    --rose-glow:   rgba(201,24,74,0.18);
    --gold:        #c9a84c;
    --dark:        #0c0c0e;
    --dark-2:      #131318;
    --dark-3:      #1a1a22;
    --surface:     #f7f3ef;
    --surface-2:   #eee9e3;
    --white:       #ffffff;
    --ink:         #1a1a1a;
    --muted:       #888;
    --border:      rgba(0,0,0,0.08);
    --ease:        cubic-bezier(0.4,0,0.2,1);
    --font-serif:  'Cormorant Garamond', Georgia, serif;
    --font-sans:   'Poppins', sans-serif;
}

/* ── BODY ── */
body { background: var(--surface); }

/* ════════════════════════════════════════
   SHOP HERO
════════════════════════════════════════ */
.shop-hero {
    background: var(--dark);
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 120px 40px 80px;
    text-align: center;
}

/* Noise texture overlay */
.hero-noise {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
    opacity: 0.6;
}

/* Glowing orbs */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}
.hero-orb-1 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(201,24,74,0.25), transparent 70%);
    top: -150px; left: -100px;
    animation: orbFloat 8s ease-in-out infinite alternate;
}
.hero-orb-2 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(201,168,76,0.12), transparent 70%);
    bottom: -120px; right: -80px;
    animation: orbFloat 10s ease-in-out infinite alternate-reverse;
}
@keyframes orbFloat {
    from { transform: translate(0,0) scale(1); }
    to   { transform: translate(30px, 20px) scale(1.1); }
}

/* Bottom line */
.shop-hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--rose) 50%, transparent 100%);
}

.shop-hero-inner { position: relative; z-index: 2; }

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--rose-light);
    border: 1px solid rgba(201,24,74,0.4);
    padding: 7px 18px;
    border-radius: 999px;
    margin-bottom: 28px;
    animation: fadeDown 0.8s var(--ease) both;
}
.hero-eyebrow i { font-size: 9px; }

.shop-hero h1 {
    font-family: var(--font-serif);
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.05;
    letter-spacing: -1px;
    margin-bottom: 20px;
    animation: fadeDown 0.9s var(--ease) 0.1s both;
}
.shop-hero h1 em {
    font-style: italic;
    background: linear-gradient(135deg, var(--rose-light), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shop-hero p {
    font-family: var(--font-sans);
    font-size: 1rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.8;
    margin-bottom: 48px;
    animation: fadeDown 1s var(--ease) 0.2s both;
}

.hero-stats {
    display: inline-flex;
    align-items: center;
    gap: 40px;
    animation: fadeDown 1.1s var(--ease) 0.3s both;
}
.stat { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.stat-num {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}
.stat-label {
    font-family: var(--font-sans);
    font-size: 0.65rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--muted);
}
.stat-divider {
    width: 1px; height: 40px;
    background: rgba(255,255,255,0.12);
}

.hero-scroll-hint {
    position: absolute;
    bottom: 28px; left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.25);
    font-size: 12px;
    animation: bounce 2s infinite;
    z-index: 2;
}
@keyframes bounce {
    0%,100% { transform: translateX(-50%) translateY(0); }
    50%      { transform: translateX(-50%) translateY(6px); }
}

/* ════════════════════════════════════════
   CATEGORY TABS
════════════════════════════════════════ */
.category-tabs-bar {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 80px;
    z-index: 100;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.category-tabs-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
}
.category-tabs-inner::-webkit-scrollbar { display: none; }

.cat-tab {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--muted);
    background: none;
    border: none;
    padding: 20px 22px;
    cursor: pointer;
    position: relative;
    transition: color 0.25s;
    white-space: nowrap;
}
.cat-tab::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%; right: 50%;
    height: 2px;
    background: var(--rose);
    transition: left 0.3s var(--ease), right 0.3s var(--ease);
}
.cat-tab:hover { color: var(--ink); }
.cat-tab.active { color: var(--rose); }
.cat-tab.active::after,
.cat-tab:hover::after { left: 0; right: 0; }

/* ════════════════════════════════════════
   SHOP MAIN
════════════════════════════════════════ */
.shop-main {
    max-width: 1300px;
    margin: 0 auto;
    padding: 70px 40px 80px;
}

/* ════════════════════════════════════════
   COLLECTION SECTION
════════════════════════════════════════ */
.collection-section { margin-bottom: 90px; }

.collection-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 32px;
}
.coll-eyebrow {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--rose);
    margin-bottom: 6px;
}
.coll-title {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    font-weight: 700;
    color: var(--ink);
    margin: 0;
    letter-spacing: -0.5px;
    line-height: 1;
}

.collection-head-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Dots */
.slider-dots {
    display: flex;
    gap: 6px;
    align-items: center;
}
.s-dot {
    width: 6px; height: 6px;
    border-radius: 999px;
    background: #ccc;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s;
}
.s-dot.active {
    background: var(--rose);
    width: 22px;
}

/* Arrows */
.slider-arrows { display: flex; gap: 8px; }
.arr-btn {
    width: 44px; height: 44px;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    background: var(--white);
    color: var(--ink);
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s var(--ease);
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
}
.arr-btn:hover {
    background: var(--rose);
    border-color: var(--rose);
    color: var(--white);
    box-shadow: 0 6px 24px var(--rose-glow);
    transform: scale(1.05);
}
.arr-btn.disabled { opacity: 0.3; pointer-events: none; }

/* ── SLIDER ── */
.slider-viewport { overflow: hidden; border-radius: 8px; }
.slider-track {
    display: flex;
    gap: 24px;
    transition: transform 0.55s var(--ease);
    will-change: transform;
}

/* Loading */
.loading-state {
    padding: 60px;
    color: var(--muted);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 12px;
}
.loader {
    width: 18px; height: 18px;
    border: 2px solid #ddd;
    border-top-color: var(--rose);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ════════════════════════════════════════
   PRODUCT CARD
════════════════════════════════════════ */
.product-card {
    flex: 0 0 calc(25% - 18px);
    min-width: 0;
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    border: 1px solid var(--border);
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
    animation: cardIn 0.5s var(--ease) both;
}
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 60px rgba(0,0,0,0.12), 0 0 0 1px rgba(201,24,74,0.1);
}

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

/* ── Image area ── */
.product-image {
    position: relative;
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: var(--surface-2);
}
.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}
.product-card:hover .product-image img {
    transform: scale(1.07);
}

/* Dark gradient fade at bottom */
.product-image::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 55%;
    background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 100%);
    opacity: 1;
    transition: opacity 0.4s;
    z-index: 2;
}
.product-card:hover .product-image::before { opacity: 1; }

/* ── Badge ── */
.product-badge {
    position: absolute;
    top: 14px; left: 14px;
    background: var(--ink);
    color: var(--white);
    font-family: var(--font-sans);
    font-size: 0.58rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    z-index: 5;
}
.product-badge.new { background: var(--rose); }

/* ── Wishlist corner button ── */
.card-wish-btn {
    position: absolute;
    top: 14px; right: 14px;
    width: 34px; height: 34px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.9);
    color: var(--muted);
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    transition: all 0.25s;
    z-index: 5;
    opacity: 0;
    transform: scale(0.8);
    text-decoration: none;
}
.product-card:hover .card-wish-btn {
    opacity: 1;
    transform: scale(1);
}
.card-wish-btn:hover { background: var(--rose); color: var(--white); }

/* ── Hover overlay actions ── */
.card-actions {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px;
    transform: translateY(0);
    transition: transform 0.35s var(--ease);
    z-index: 10;
}
.product-card:hover .card-actions { transform: translateY(0); }

.btn-add-cart {
    width: 100%;
    background: var(--white);
    color: var(--ink);
    border: none;
    padding: 12px;
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.25s, color 0.25s;
}
.btn-add-cart:hover { background: var(--rose); color: var(--white); }

.btn-quickview {
    width: 100%;
    background: rgba(255,255,255,0.15);
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.35);
    padding: 10px;
    font-family: var(--font-sans);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 5px;
    cursor: pointer;
    backdrop-filter: blur(6px);
    transition: background 0.25s;
    text-decoration: none;
    text-align: center;
    display: block;
}
.btn-quickview:hover { background: rgba(255,255,255,0.3); color: var(--white); }

/* ── Product info ── */

#men-collection{
    display: flex;
    justify-content: center;
    align-items:center ;
    font-size: 35px;
}
.product-info {
    padding: 16px 16px 20px;
    border-top: 1px solid var(--border);
}
.card-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 6px;
}
.card-stars i { font-size: 10px; color: var(--gold); }
.card-stars span {
    font-family: var(--font-sans);
    font-size: 0.68rem;
    color: var(--muted);
    margin-left: 4px;
}
.product-info h4 {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ink);
    margin: 0 0 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.price-row { display: flex; align-items: center; gap: 8px; }
.price {
    font-family: var(--font-sans);
    color: var(--rose);
    font-weight: 700;
    font-size: 0.95rem;
}
.old-price {
    font-family: var(--font-sans);
    color: #bbb;
    font-size: 0.78rem;
    text-decoration: line-through;
}

/* ════════════════════════════════════════
   PROMO BANNER STRIP
════════════════════════════════════════ */
.promo-strip {
    background: var(--dark);
    border-radius: 14px;
    margin-bottom: 90px;
    overflow: hidden;
    position: relative;
}
.promo-strip::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 50% 100% at 5% 50%, rgba(201,24,74,0.25) 0%, transparent 55%),
        radial-gradient(ellipse 40% 80% at 95% 50%, rgba(201,168,76,0.1) 0%, transparent 55%);
    pointer-events: none;
}
.promo-strip-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px 56px;
    position: relative;
    z-index: 1;
    gap: 40px;
}
.promo-eyebrow {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--rose-light);
    margin-bottom: 12px;
}
.promo-text h3 {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 3vw, 2.4rem);
    color: var(--white);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 10px;
}
.promo-text h3 em {
    font-style: italic;
    color: var(--gold);
}
.promo-text p {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
    margin-bottom: 28px;
}
.promo-text strong { color: rgba(255,255,255,0.85); }
.promo-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--rose);
    color: var(--white);
    padding: 13px 28px;
    border-radius: 5px;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.25s, box-shadow 0.25s, transform 0.25s;
}
.promo-cta:hover {
    background: #a01038;
    box-shadow: 0 10px 30px var(--rose-glow);
    transform: translateY(-2px);
    color: var(--white);
}

/* Decorative circle */
.promo-visual {
    position: relative;
    flex-shrink: 0;
    width: 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.promo-circle {
    width: 100px; height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--rose), #7b0032);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--white);
    box-shadow: 0 0 40px var(--rose-glow);
    z-index: 2;
    position: relative;
}
.promo-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(201,24,74,0.25);
    animation: ringPulse 3s ease-in-out infinite;
}
.promo-ring-1 { width: 140px; height: 140px; animation-delay: 0s; }
.promo-ring-2 { width: 180px; height: 180px; animation-delay: 0.8s; }
@keyframes ringPulse {
    0%,100% { opacity: 0.5; transform: scale(1); }
    50%     { opacity: 1; transform: scale(1.04); }
}

/* ════════════════════════════════════════
   WHY US STRIP
════════════════════════════════════════ */
.why-us-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    margin-top: 20px;
}
.why-item {
    background: var(--white);
    padding: 28px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: background 0.25s;
}
.why-item:hover { background: #fdf8f5; }
.why-item > i {
    font-size: 1.5rem;
    color: var(--rose);
    flex-shrink: 0;
    width: 40px;
    text-align: center;
}
.why-item div { display: flex; flex-direction: column; gap: 2px; }
.why-item strong {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ink);
}
.why-item span {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    color: var(--muted);
}

/* ════════════════════════════════════════
   ANIMATIONS
════════════════════════════════════════ */
@keyframes fadeDown {
    from { opacity: 0; transform: translateY(-16px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════ */
@media (max-width: 1100px) {
    .product-card { flex: 0 0 calc(33.333% - 16px); }
}

@media (max-width: 900px) {
    .shop-hero { padding: 110px 24px 70px; min-height: 420px; }
    .hero-stats { gap: 24px; }
    .shop-main { padding: 50px 24px 60px; }
    .category-tabs-inner { padding: 0 16px; }
    .collection-head { flex-direction: column; align-items: flex-start; gap: 16px; }
    .product-card { flex: 0 0 calc(50% - 12px); }
    .promo-strip-inner { flex-direction: column; text-align: center; padding: 44px 32px; }
    .promo-visual { display: none; }
    .why-us-strip { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
    .shop-hero h1 { font-size: 2.2rem; }
    .hero-stats { flex-direction: column; gap: 16px; }
    .stat-divider { display: none; }
    .product-card { flex: 0 0 calc(100% - 0px); }
    .slider-arrows { display: none; }
    /* Always show actions on mobile */
    .card-actions { transform: translateY(0) !important; }
    .card-wish-btn { opacity: 1 !important; transform: scale(1) !important; }
    .product-image::before { opacity: 1 !important; }
    .why-us-strip { grid-template-columns: 1fr; }
    .shop-main { padding: 40px 16px 50px; }
    .collection-head { flex-direction: column; gap: 14px; }
    .slider-dots-row { display: none; }
}

/* ── SIZE SELECTOR ON CARD ── */
.card-size-row {
    margin: 8px 0 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-size-select {
    width: 100%;
    padding: 7px 10px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--ink);
    background: var(--surface);
    cursor: pointer;
    transition: border-color 0.2s;
    appearance: auto;
}

.card-size-select:focus {
    outline: none;
    border-color: var(--rose);
}





/* ════════════════════════════════════════
   ALL PRODUCTS SECTION HEADER
════════════════════════════════════════ */
.all-products-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 32px;
    position: relative;
}
.all-products-head::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--rose);
}
.all-products-head .coll-eyebrow {
    display: block;
    font-size: 0.65rem;
    letter-spacing: 5px;
    margin-bottom: 10px;
}
.all-products-head .coll-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 14px;
}
.all-products-subtitle {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--muted);
    max-width: 480px;
    line-height: 1.7;
}

/* ════════════════════════════════════════
   ALL PRODUCTS GRID
════════════════════════════════════════ */
.all-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    margin-bottom: 80px;
}

/* Loading state */
.grid-loading {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 80px 20px;
    color: var(--muted);
    font-family: var(--font-sans);
    font-size: 0.9rem;
}

/* Empty state */
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
    color: var(--muted);
    font-family: var(--font-sans);
}
.empty-state i {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 16px;
    opacity: 0.4;
}

/* Product cards inside the grid — override flex card sizing */
.all-products-grid .product-card {
    flex: unset;
    min-width: unset;
    width: 100%;
}

/* ════════════════════════════════════════
   HIDE CATEGORY TABS & SLIDERS
════════════════════════════════════════ */
.category-tabs-bar { display: none !important; }
.collection-section { display: none !important; }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
    .all-products-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .all-products-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .all-products-head .coll-title { font-size: 2rem; }
}
@media (max-width: 480px) {
    .all-products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

/* --- CENTER TEXT & PRICE ON SHOP CARDS --- */
.product-info {
    text-align: center; /* Centers the product title */
}

.card-stars {
    justify-content: center; /* Centers the 5 stars */
}

.price-row {
    justify-content: center; /* Centers the PKR price */
}

/* --- CENTER THE PINK LINE ON SHOP PAGE HEADINGS --- */
h1.collection-title {
    display: center;
    width: 200px;

}

h1.collection-title::after {
    left: 50% !important;
    transform: translateX(-50%) !important;
}