/* ═══════════════════════════════════════
   BROTHERS' GARMENTS — Product Pages CSS
═══════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;800;900&family=Inter:wght@300;400;500;600&display=swap');

.product-page {
    background: var(--green-deep);
    color: var(--cream);
}

.product-page::before {
    content: '';
    position: fixed; inset: 0;
    background-image: radial-gradient(circle, rgba(201,168,76,0.04) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none; z-index: 0;
}

/* ── CATEGORY HERO ── */
.cat-hero {
    position: relative; overflow: hidden;
    padding: 110px 24px 80px;
    text-align: center; z-index: 1;
    background: linear-gradient(160deg, #0d1a0d 0%, #1a2e1a 50%, #243d24 100%);
}

.hero-orb {
    position: absolute; border-radius: 50%;
    filter: blur(90px); pointer-events: none;
}
.orb1 { width: 450px; height: 450px; background: rgba(201,168,76,0.12); top: -120px; right: -80px; }
.orb2 { width: 320px; height: 320px; background: rgba(61,107,61,0.25); bottom: -80px; left: -60px; }

.cat-hero-content { position: relative; z-index: 2; }

.cat-eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 0.72rem; font-weight: 700;
    letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--gold);
    background: rgba(201,168,76,0.1);
    border: 1px solid rgba(201,168,76,0.25);
    padding: 7px 18px; border-radius: 50px;
    margin-bottom: 22px;
}

.cat-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.6rem, 6vw, 4.5rem);
    font-weight: 900; color: var(--white);
    line-height: 1.05; margin-bottom: 14px;
    letter-spacing: -1px;
}

.cat-hero p {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.55);
    max-width: 500px; margin: 0 auto;
}

/* ── MAIN GRID ── */
.cat-main {
    position: relative; z-index: 1;
    max-width: 1200px; margin: 0 auto;
    padding: 56px 28px 80px;
}

.cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

/* ── PRODUCT CARDS ── */
.pcard {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(201,168,76,0.12);
    border-radius: 18px; overflow: hidden;
    display: flex; flex-direction: column;
    transition: transform 0.28s, box-shadow 0.28s, border-color 0.28s;
}
.pcard:hover {
    transform: translateY(-7px);
    border-color: rgba(201,168,76,0.4);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 0 1px rgba(201,168,76,0.1);
}

.pcard-img-wrap { position: relative; overflow: hidden; }
.pcard-img-wrap img {
    width: 100%; height: 220px;
    object-fit: cover; display: block;
    transition: transform 0.45s ease;
    filter: brightness(0.85) saturate(0.95);
}
.pcard:hover .pcard-img-wrap img { transform: scale(1.07); filter: brightness(1) saturate(1.05); }

.pbadge {
    position: absolute; top: 12px; left: 12px;
    background: var(--gold); color: var(--green-deep);
    font-size: 0.67rem; font-weight: 800;
    letter-spacing: 0.1em; text-transform: uppercase;
    padding: 4px 12px; border-radius: 50px;
}

.pcard-body {
    padding: 20px 22px 24px;
    display: flex; flex-direction: column; flex: 1;
    gap: 6px;
}
.pcard-body h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem; font-weight: 800;
    color: var(--white); margin: 0; line-height: 1.2;
}
.pcard-body p {
    font-size: 0.83rem;
    color: rgba(255,255,255,0.45);
    line-height: 1.55; flex: 1; margin: 4px 0 10px;
}
.pprice {
    font-size: 1.15rem; font-weight: 700;
    color: var(--gold); margin-bottom: 12px;
    font-family: 'Playfair Display', serif;
}
.pbtn {
    display: inline-block;
    background: #25D366; color: #fff;
    text-decoration: none; font-size: 0.83rem;
    font-weight: 700; padding: 11px 18px;
    border-radius: 9px; text-align: center;
    transition: opacity 0.2s, transform 0.15s;
    box-shadow: 0 4px 14px rgba(37,211,102,0.25);
}
.pbtn:hover { opacity: 0.9; transform: translateY(-1px); }

/* ── RELATED SECTION ── */
.related-section {
    background: rgba(0,0,0,0.2);
    border-top: 1px solid rgba(201,168,76,0.1);
    padding: 60px 28px 80px;
    position: relative; z-index: 1;
}
.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 18px; max-width: 1200px; margin: 0 auto;
}
.related-card {
    display: block; text-decoration: none;
    border-radius: 14px; overflow: hidden;
    border: 1px solid rgba(201,168,76,0.12);
    background: rgba(255,255,255,0.03);
    transition: transform 0.25s, border-color 0.25s;
}
.related-card:hover { transform: translateY(-5px); border-color: rgba(201,168,76,0.4); }
.related-card img {
    width: 100%; height: 160px;
    object-fit: cover; display: block;
    filter: brightness(0.8);
    transition: filter 0.3s;
}
.related-card:hover img { filter: brightness(1); }
.related-body {
    padding: 14px 16px;
    display: flex; justify-content: space-between; align-items: center;
}
.related-body h4 {
    font-family: 'Playfair Display', serif;
    font-size: 0.95rem; font-weight: 800;
    color: var(--white); margin: 0;
}
.related-body span {
    font-size: 0.75rem; color: var(--gold); font-weight: 600;
}

/* ── MOBILE ── */
@media (max-width: 700px) {
    .cat-hero { padding: 90px 20px 60px; }
    .cat-main { padding: 36px 16px 60px; }
    .cat-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
    .pcard-img-wrap img { height: 170px; }
    .pcard-body { padding: 14px 14px 18px; }
    .related-section { padding: 40px 16px 60px; }
}
@media (max-width: 420px) {
    .cat-grid { grid-template-columns: 1fr; }
}
