@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --accent: #C90059;
    --accent-dark: #8B0039;
    --bg-dark: #050505;
    --bg-panel: rgba(12, 12, 12, 0.85);
    --text-body: #e8e8e8;
    --text-muted: #b7b7b7;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-dark);
    color: var(--text-body);
    -webkit-font-smoothing: antialiased;
    margin: 0;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

nav .nav_crumbs a {
    color: var(--text-muted);
}

nav .nav_crumbs a:hover {
    color: var(--accent);
}

.category-hero {
    background: radial-gradient(circle at top, rgba(201, 0, 89, 0.35), rgba(5, 5, 5, 0.9));
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}

.category-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.05), transparent 55%);
    pointer-events: none;
}

.category-hero .container {
    position: relative;
    z-index: 1;
}

.category-hero-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 18px;
    letter-spacing: 0.6px;
}

.category-hero-label i {
    color: var(--accent);
    font-size: 16px;
}

.category-hero h1 {
    font-size: clamp(2.4rem, 4vw, 3.2rem);
    margin-bottom: 24px;
    color: #fff;
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.category-layout {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 40px 100px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 46px;
    align-items: start;
}

.category-main {
    background: linear-gradient(145deg, rgba(10, 10, 10, 0.9), rgba(6, 6, 6, 0.9));
    border-radius: 28px;
    padding: 50px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.pillar-badge {
    display: inline-flex;
    padding: 4px 16px;
    border-radius: 999px;
    background: rgba(201, 0, 89, 0.12);
    color: var(--accent);
    font-size: 0.85rem;
    letter-spacing: 0.8px;
    margin-bottom: 20px;
}

.pillar-intro h2 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 20px;
}

.pillar-intro p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-body);
    margin-bottom: 18px;
}

.intro-copy {
    overflow: hidden;
    max-height: 260px;
    transition: max-height 0.4s cubic-bezier(0.65, 0, 0.35, 1);
    position: relative;
    will-change: max-height;
}

.intro-copy::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 120px;
    background: linear-gradient(180deg, transparent, rgba(5, 5, 5, 0.95));
    pointer-events: none;
}

.intro-copy.expanded {
    max-height: 2000px;
}

.intro-copy.expanded::after {
    display: none;
}

.intro-toggle {
    margin-top: 14px;
    padding: 10px 20px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: transparent;
    color: #fff;
    font-size: 0.9rem;
    letter-spacing: 0.9px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
}

.intro-toggle:hover {
    background: rgba(201, 0, 89, 0.12);
    color: var(--accent);
}

.pillar-callout {
    margin: 32px 0 48px;
    padding: 28px 30px;
    border-radius: 20px;
    background: rgba(201, 0, 89, 0.07);
    border: 1px solid rgba(201, 0, 89, 0.25);
}

.pillar-callout h3 {
    font-size: 1.25rem;
    color: var(--accent);
    margin-bottom: 14px;
}

.category-section-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 28px;
}

.category-section-header h3 {
    font-size: 1.6rem;
    color: #fff;
    margin: 0;
}

.category-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.category-card {
    border-radius: 24px;
    background: rgba(5, 5, 5, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    position: relative;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.category-card .card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.category-card .card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    flex-shrink: 0;
}

.category-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.category-card h4 {
    flex: 1;
    padding: 20px;
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
    color: #fff;
    display: flex;
    align-items: center;
    min-height: 80px;
}

.category-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(201, 0, 89, 0.15), transparent 55%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.category-card:hover::before {
    opacity: 1;
}

.category-card .card-placeholder {
    padding: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-placeholder h4 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.card-placeholder p {
    color: var(--text-muted);
    margin: 0;
}

.category-sidebar {
    background: rgba(5, 5, 5, 0.9);
    border-radius: 32px;
    padding: 30px 28px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 35px 90px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(18px);
}

.sidebar-title {
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 12px;
}

.sidebar-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 70px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), transparent);
}

.product-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.product-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-radius: 24px;
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.product-card:hover {
    transform: translateY(-6px);
    border-color: rgba(201, 0, 89, 0.6);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.product-thumb {
    width: 100%;
    height: 160px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
    display: block;
}

.product-title {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    color: #fff;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-prices {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.product-old-price {
    font-size: 0.87rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: line-through;
}

.product-price {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
}

.category-bottom-copy {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px 140px;
}

.category-bottom-panel {
    border-radius: 30px;
    padding: 60px 70px;
    border: 1px solid rgba(255,255,255,0.05);
    background: linear-gradient(145deg, rgba(10,10,10,0.95), rgba(6,6,6,0.92));
    box-shadow: 0 25px 80px rgba(0,0,0,0.4);
    position: relative;
    overflow: hidden;
}

.category-bottom-panel::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(201,0,89,0.4), transparent 65%);
    opacity: 0.6;
    pointer-events: none;
}

.category-bottom-panel::after {
    content: '';
    position: absolute;
    inset: 18px;
    border-radius: 26px;
    border: 1px solid rgba(255,255,255,0.05);
    pointer-events: none;
}

.category-bottom-panel h2 {
    font-size: clamp(2rem, 3vw, 2.4rem);
    color: #fff;
    margin-bottom: 28px;
    position: relative;
    padding-bottom: 18px;
}

.category-bottom-panel h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 120px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), transparent);
}

.category-bottom-panel p {
    font-size: 1.08rem;
    line-height: 1.9;
    color: var(--text-body);
    margin-bottom: 22px;
    position: relative;
}

.category-bottom-panel p:last-child {
    margin-bottom: 0;
}

@media (max-width: 1200px) {
    .category-layout {
        grid-template-columns: 1fr;
    }

    .category-sidebar {
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .category-layout {
        padding: 40px 20px 80px;
    }

    .category-main {
        padding: 30px;
    }

    .category-card-grid {
        grid-template-columns: 1fr;
    }

    .category-bottom-copy {
        padding: 0 20px 110px;
    }

    .category-bottom-panel {
        padding: 42px 28px;
    }

    .category-bottom-panel h2 {
        font-size: 1.8rem;
    }
}

