/* ── Page Layout ── */
.pm-page { background: #f8f9fa; min-height: 100vh; }

/* ── Hero Section ── */
.pm-hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #000 100%);
    padding: 5rem 0 4rem;
    position: relative;
    overflow: hidden;
    /* Break out of .content-wrapper's max-width: 1440px so the band runs
       edge-to-edge instead of leaving page-background gutters on wide screens. */
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}
.pm-hero::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(102,126,234,0.18) 0%, transparent 70%);
}
.pm-hero-content { position: relative; z-index: 1; }
.pm-hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: #fff !important;
    line-height: 1.2;
    margin-bottom: 1rem;
}
.pm-hero p { color: rgba(255,255,255,0.7) !important; font-size: 1.15rem; }
.pm-hero-icon {
    font-size: 5rem;
    filter: drop-shadow(0 0 30px rgba(102,126,234,0.5));
    animation: heroFloat 4s ease-in-out infinite;
}
@keyframes heroFloat {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* ── Live Prices Strip ── */
.pm-prices-strip {
    background: #fff;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    padding: 0.85rem 0;
}
.pm-prices-strip .price-scroll {
    display: flex; gap: 1.5rem; align-items: center;
    overflow-x: auto; scrollbar-width: none;
}
.pm-prices-strip .price-scroll::-webkit-scrollbar { display: none; }
.pm-price-chip {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: #f8f9fa; border: 1px solid #e9ecef;
    border-radius: 50px; padding: 0.45rem 1rem;
    white-space: nowrap; font-size: 0.875rem;
    font-weight: 600; color: #2c3e50;
    transition: all 0.3s ease;
    flex-shrink: 0;
}
.pm-price-chip:hover { border-color: #000000; background: rgba(102,126,234,0.06); }
.pm-price-chip .live-dot {
    width: 7px; height: 7px; background: #28a745;
    border-radius: 50%;
    animation: blink 1.5s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1;} 50%{opacity:0.3;} }
.pm-price-chip .price-val { color: #28a745; font-size: 1rem; }
.pm-prices-label {
    display: flex; align-items: center; gap: 0.5rem;
    font-weight: 700; color: #2c3e50; font-size: 0.875rem;
    flex-shrink: 0;
}

/* ── Category Cards ── */
.pm-categories { padding: 4rem 0; }
.pm-category-card {
    background: #fff;
    border-radius: 20px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
    display: flex; flex-direction: column;
    height: 100%;
    text-decoration: none; color: inherit;
}
.pm-category-card:hover {
    transform: translateY(-12px);
    border-color: #000000;
    box-shadow: 0 20px 40px rgba(102,126,234,0.2);
    color: inherit; text-decoration: none;
}
.pm-category-card-top {
    background: linear-gradient(135deg, #f5f7fa 0%, #e9ecef 100%);
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.pm-category-card-top::after {
    content: '';
    position: absolute; bottom: -30px; left: 50%; transform: translateX(-50%);
    width: 200px; height: 60px;
    background: #fff;
    border-radius: 50%;
}
.pm-category-icon {
    font-size: 4.5rem;
    display: block; line-height: 1;
    position: relative; z-index: 1;
    transition: transform 0.4s ease;
}
.pm-category-card:hover .pm-category-icon { transform: scale(1.15) rotate(-3deg); }
.pm-category-body {
    padding: 2rem 1.75rem;
    flex: 1; display: flex; flex-direction: column;
}
.pm-category-body h3 {
    font-size: 1.5rem; font-weight: 800;
    color: #1a1a2e !important; margin-bottom: 0.5rem;
}
.pm-category-body .cat-meta {
    color: #6c757d; font-size: 0.9rem; margin-bottom: 1.25rem;
    display: flex; align-items: center; gap: 0.4rem;
}
.pm-category-body .cat-meta i { color: #000000; }
.pm-category-card .pm-browse-btn {
    margin-top: auto;
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: #000; color: #fff;
    border: 2px solid #000;
    border-radius: 12px;
    padding: 0.75rem 1.5rem;
    font-weight: 700; font-size: 0.95rem;
    transition: all 0.3s ease;
    text-decoration: none; width: fit-content;
}
.pm-category-card:hover .pm-browse-btn {
    background: #000000; border-color: #000000;
}

/* ── Section Title ── */
.pm-section-title {
    font-size: 1.75rem; font-weight: 800;
    color: #1a1a2e !important;
    position: relative; display: inline-block;
    margin-bottom: 0.5rem;
}
.pm-section-title::after {
    content: ''; display: block;
    width: 50px; height: 4px;
    background: linear-gradient(135deg, var(--primary, #007aff) 0%, var(--secondary, #000000) 100%);
    border-radius: 2px; margin-top: 0.4rem;
}
