/* ============================================================
   Full Catalog Page — Luxury Black/White/Gray
   ============================================================ */

body.full-catalog-page {
    background: var(--bg-primary);
}

/* ===== Catalog Hero ===== */
/* ===== Luxury Catalog Hero ===== */
.catalog-hero {
    position: relative;
    padding: 105px 0 35px;
    background: #07070a;
    color: #ffffff;
    overflow: hidden;
    isolation: isolate;
    text-align: center;
}

.catalog-hero-bg-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(500px 240px at 50% 0%, rgba(212, 175, 55, 0.15), transparent 75%),
        radial-gradient(700px 300px at 50% 100%, rgba(30, 35, 45, 0.4), transparent 80%),
        linear-gradient(180deg, #040406 0%, #0a0b0f 100%);
    z-index: 0;
}

.catalog-hero-bg-glow::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 36px 36px;
    mask-image: radial-gradient(ellipse at center, #000 35%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, #000 35%, transparent 75%);
    opacity: 0.55;
}

.catalog-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 650px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.catalog-hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

/* Breadcrumbs Pill Container */
.catalog-hero-crumbs {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 16px;
}

.catalog-hero-crumbs a {
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.25s ease;
}

.catalog-hero-crumbs a .font-gold {
    color: #d4af37;
    font-size: 0.78rem;
}

.catalog-hero-crumbs a:hover {
    color: #ffffff;
}

.catalog-hero-crumbs .crumb-sep {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.35);
}

.catalog-hero-crumbs .current {
    color: #ffffff;
    font-weight: 600;
}

/* Title Styling */
.catalog-hero-title {
    margin: 0 0 14px;
    line-height: 1.25;
}

.catalog-hero-title .title-main {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 900;
    color: #ffffff;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
}

.text-gold-gradient {
    background: linear-gradient(135deg, #fff7d6 0%, #d4af37 60%, #aa851e 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Accent Underline */
.catalog-hero-accent-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    max-width: 220px;
    margin-top: 4px;
    opacity: 0.85;
}

.catalog-hero-accent-line .line-side {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.5), transparent);
}

.catalog-hero-accent-line .line-dot {
    font-size: 0.55rem;
    color: #d4af37;
    opacity: 0.8;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .catalog-hero {
        padding: 90px 0 24px;
    }
    .catalog-hero-crumbs {
        font-size: 0.76rem;
        padding: 5px 14px;
    }
    .catalog-hero-title .title-main {
        font-size: clamp(1.7rem, 6vw, 2.4rem);
    }
}

/* ===== Products section adjustments on full catalog page ===== */
body.full-catalog-page .products-section {
    padding-top: 60px;
    padding-bottom: 100px;
    background:
        linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

body.full-catalog-page .products-section .section-header {
    display: none;
}

body.full-catalog-page #show-more-container {
    margin-top: 50px;
}

/* Subtle inset highlight at the top of the catalog */
body.full-catalog-page .products-section .container::before {
    content: '';
    display: block;
    height: 1px;
    margin: 0 auto 30px;
    width: min(280px, 50%);
    background: linear-gradient(90deg, transparent, rgba(20, 22, 26, 0.18), transparent);
}

/* Refined catalog controls bar for the dedicated page — non-sticky on this page */
body.full-catalog-page .catalog-controls,
body.full-catalog-page .catalog-controls.is-stuck {
    position: static;
    top: auto;
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    border: 1px solid rgba(20, 22, 26, 0.06);
    border-radius: 18px;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.6) inset,
        0 10px 40px -20px rgba(20, 22, 26, 0.18);
}

.catalog-search-wrap {
    margin: 0 auto 14px;
    max-width: 560px;
}

.catalog-search-label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    background: #fff;
    border: 1.5px solid rgba(20, 22, 26, 0.10);
    border-radius: 999px;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 4px 16px -8px rgba(20, 22, 26, 0.12);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.catalog-search-label:focus-within {
    border-color: #14161a;
    box-shadow: 0 0 0 4px rgba(20, 22, 26, 0.08), 0 4px 16px -8px rgba(20, 22, 26, 0.18);
}

.catalog-search-label > i {
    color: #6b7078;
    font-size: 0.95rem;
}

.catalog-search-input {
    flex: 1;
    border: 0;
    outline: 0;
    background: transparent;
    font-family: 'Tajawal', sans-serif;
    font-size: 0.95rem;
    color: #14161a;
    min-width: 0;
}

.catalog-search-input::placeholder {
    color: #9aa0a8;
}

.catalog-search-clear {
    border: 0;
    background: rgba(20, 22, 26, 0.06);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    color: #4a4d52;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    transition: background 0.2s ease, color 0.2s ease;
}

.catalog-search-clear:hover {
    background: #14161a;
    color: #fff;
}

.catalog-search-clear[hidden] {
    display: none !important;
}

@media (max-width: 768px) {
    .catalog-hero {
        padding: 110px 0 60px;
    }

    .catalog-search-wrap {
        max-width: 100%;
    }

    .catalog-search-label {
        padding: 10px 14px;
    }

    .catalog-hero-eyebrow {
        font-size: 0.7rem;
        letter-spacing: 0.28em;
        padding: 7px 14px;
    }

    .catalog-hero-sub {
        font-size: 0.95rem;
    }
}
