/* ============================================
   PISTOLET-A-GAZ.FR - Design Tactique Sombre
   ============================================ */

/* --- Variables --- */
:root {
    --bg-primary: #0d0d0d;
    --bg-secondary: #1a1a2e;
    --bg-card: #16213e;
    --bg-card-hover: #1b2a4a;
    --accent: #e63946;
    --accent-hover: #ff4d5a;
    --accent-green: #4ecca3;
    --text: #f0f0f0;
    --text-muted: #a0a0b0;
    --text-dark: #6c6c7c;
    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(230, 57, 70, 0.4);
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
    --shadow-hover: 0 8px 32px rgba(230, 57, 70, 0.15);
    --radius: 12px;
    --radius-sm: 8px;
    --font-heading: 'Rajdhani', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: 0.3s ease;
}

/* --- Reset --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    color: inherit;
}

/* --- Container --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn--primary {
    background: var(--accent);
    color: #fff;
    border: 2px solid var(--accent);
}

.btn--primary:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(230, 57, 70, 0.4);
}

.btn--outline {
    background: transparent;
    color: var(--text);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn--outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

.btn--sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
}

.btn--lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* --- Section Headers --- */
.section__header {
    text-align: center;
    margin-bottom: 3rem;
}

.section__badge {
    display: inline-block;
    padding: 0.25rem 1rem;
    background: rgba(230, 57, 70, 0.1);
    border: 1px solid rgba(230, 57, 70, 0.3);
    border-radius: 50px;
    color: var(--accent);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.section__title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.75rem;
}

.section__subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}

/* =====================
   HEADER / NAVIGATION
   ===================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(13, 13, 13, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: background var(--transition);
}

.header--scrolled {
    background: rgba(13, 13, 13, 0.97);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav__logo {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav__logo-icon {
    color: var(--accent);
    font-size: 1.5rem;
}

.nav__logo-accent {
    color: var(--accent);
}

.nav__list {
    display: flex;
    gap: 2rem;
}

.nav__link {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    position: relative;
    padding: 0.25rem 0;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width var(--transition);
}

.nav__link:hover,
.nav__link.active {
    color: var(--text);
}

.nav__link:hover::after,
.nav__link.active::after {
    width: 100%;
}

.nav__actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav__cart {
    position: relative;
    color: var(--text);
    padding: 0.5rem;
    transition: color var(--transition);
}

.nav__cart:hover {
    color: var(--accent);
}

.nav__cart-count {
    position: absolute;
    top: 0;
    right: -2px;
    background: var(--accent);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
}

.nav__toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: all var(--transition);
}

.nav__close {
    display: none;
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 1.5rem;
    color: var(--text);
}

/* ============
   HERO
   ============ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, #0f3460 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(230, 57, 70, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(78, 204, 163, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: url('/img/hero-bg.jpg') center/cover no-repeat;
    opacity: 0.15;
    pointer-events: none;
}

.hero__content {
    position: relative;
    z-index: 2;
    padding-top: 72px;
    max-width: 700px;
}

.hero__badge {
    display: inline-block;
    padding: 0.4rem 1.25rem;
    background: rgba(78, 204, 163, 0.1);
    border: 1px solid rgba(78, 204, 163, 0.3);
    border-radius: 50px;
    color: var(--accent-green);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.hero__title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.25rem;
}

.hero__title-accent {
    color: var(--accent);
}

.hero__description {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 550px;
}

.hero__buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ============
   FEATURES
   ============ */
.features {
    padding: 4rem 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.feature {
    text-align: center;
    padding: 1.5rem 1rem;
}

.feature__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: rgba(230, 57, 70, 0.1);
    border: 1px solid rgba(230, 57, 70, 0.2);
    border-radius: 50%;
    color: var(--accent);
    margin-bottom: 1rem;
}

.feature__title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature__text {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ============
   PRODUCTS
   ============ */
.products {
    padding: 5rem 0;
}

.products__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 1.75rem;
    margin-bottom: 2.5rem;
}

.products__cta {
    text-align: center;
}

/* Product Card */
.product-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all var(--transition);
}

.product-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.product-card__badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.25rem 0.75rem;
    background: var(--accent);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    z-index: 2;
}

.product-card__badge--new {
    background: var(--accent-green);
    color: var(--bg-primary);
}

.product-card__badge--promo {
    background: #f5a623;
    color: var(--bg-primary);
}

.product-card__image {
    position: relative;
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-card));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}

.product-card:hover .product-card__image img {
    transform: scale(1.05);
}

.product-card__content {
    padding: 1.25rem;
}

.product-card__title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.product-card__desc {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.product-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.product-card__price {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--accent);
}

/* ============
   GUIDE / SEO CONTENT
   ============ */
.guide {
    padding: 5rem 0;
    background: var(--bg-secondary);
}

.guide__content {
    max-width: 900px;
    margin: 0 auto;
}

.guide__block {
    margin-bottom: 2.5rem;
}

.guide__block h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--accent-green);
}

.guide__block p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.guide__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.guide__card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.75rem;
    transition: border-color var(--transition);
}

.guide__card:hover {
    border-color: var(--border-hover);
}

.guide__card-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    opacity: 0.5;
    margin-bottom: 0.5rem;
}

.guide__card h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.guide__card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ============
   FAQ
   ============ */
.faq {
    padding: 5rem 0;
}

.faq__list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq__item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: border-color var(--transition);
}

.faq__item[open] {
    border-color: rgba(230, 57, 70, 0.3);
}

.faq__question {
    padding: 1.25rem 1.5rem;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: color var(--transition);
    list-style: none;
}

.faq__question::-webkit-details-marker {
    display: none;
}

.faq__question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--accent);
    font-weight: 300;
    transition: transform var(--transition);
}

.faq__item[open] .faq__question::after {
    transform: rotate(45deg);
}

.faq__question:hover {
    color: var(--accent);
}

.faq__answer {
    padding: 0 1.5rem 1.25rem;
}

.faq__answer p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* ============
   FOOTER
   ============ */
.footer {
    padding: 4rem 0 2rem;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.footer__logo {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer__desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer__title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1.25rem;
    color: var(--text);
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer__links li,
.footer__links a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: color var(--transition);
}

.footer__links a:hover {
    color: var(--accent);
}

.footer__bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer__bottom p {
    color: var(--text-dark);
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}

.footer__legal {
    color: var(--text-dark);
    font-size: 0.8rem;
}

/* ============
   PAGE : PRODUITS
   ============ */
.page-header {
    padding: 8rem 0 3rem;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    text-align: center;
}

.page-header__breadcrumb {
    font-size: 0.85rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.page-header__breadcrumb a {
    color: var(--text-muted);
}

.page-header__breadcrumb a:hover {
    color: var(--accent);
}

.catalog {
    padding: 3rem 0 5rem;
}

.catalog__toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.catalog__filters {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.catalog__filter {
    padding: 0.5rem 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50px;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
}

.catalog__filter:hover,
.catalog__filter.active {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(230, 57, 70, 0.08);
}

.catalog__sort {
    padding: 0.5rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 0.9rem;
}

.catalog__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 1.75rem;
}

/* ============
   PAGE : CONTACT
   ============ */
.contact-section {
    padding: 3rem 0 5rem;
}

.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact__form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form__group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form__label {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
}

.form__input,
.form__textarea {
    padding: 0.75rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: border-color var(--transition);
}

.form__input:focus,
.form__textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.form__textarea {
    min-height: 150px;
    resize: vertical;
}

.contact__info h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.contact__info p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.contact__details {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact__detail {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact__detail-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(230, 57, 70, 0.1);
    border: 1px solid rgba(230, 57, 70, 0.2);
    border-radius: 50%;
    color: var(--accent);
    flex-shrink: 0;
}

.contact__detail-text {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ============
   PAGE : LEGALES / CGV
   ============ */
.legal-content {
    padding: 3rem 0 5rem;
}

.legal-content__inner {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--accent-green);
}

.legal-content h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-content p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.legal-content ul {
    color: var(--text-muted);
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.legal-content li {
    list-style: disc;
    margin-bottom: 0.4rem;
    line-height: 1.6;
}

/* ============
   PAGE : PRODUIT INDIVIDUEL
   ============ */
.product-detail {
    padding: 2rem 0 4rem;
}

.product-detail__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.product-detail__image {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-detail__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-detail__title {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.product-detail__price {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.product-detail__specs {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    padding: 1.25rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.product-detail__spec {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-detail__spec-label {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.product-detail__spec-value {
    font-weight: 500;
    font-size: 0.9rem;
}

.product-detail__guarantees {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
}

.product-detail__guarantee {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.product-detail__guarantee svg {
    color: var(--accent-green);
    flex-shrink: 0;
}

.product-detail__description {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    max-width: 800px;
}

.product-detail__description h2 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--accent-green);
}

.product-detail__description p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.product-card__title a,
.product-card__image {
    color: inherit;
    text-decoration: none;
}

/* ============
   RESPONSIVE
   ============ */

/* Tablet */
@media (max-width: 968px) {
    .features__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .contact__grid {
        grid-template-columns: 1fr;
    }

    .product-detail__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .product-detail__image {
        max-height: 400px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    /* Navigation mobile */
    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-secondary);
        border-left: 1px solid var(--border);
        padding: 5rem 2rem 2rem;
        transition: right var(--transition);
        z-index: 100;
    }

    .nav__menu.active {
        right: 0;
    }

    .nav__list {
        flex-direction: column;
        gap: 1.5rem;
    }

    .nav__link {
        font-size: 1.15rem;
    }

    .nav__toggle {
        display: flex;
    }

    .nav__close {
        display: block;
    }

    /* Hero */
    .hero {
        min-height: 90vh;
    }

    .hero__content {
        padding-top: 100px;
    }

    .hero__buttons {
        flex-direction: column;
    }

    .hero__buttons .btn {
        width: 100%;
        text-align: center;
    }

    /* Features */
    .features__grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .feature {
        padding: 1rem 0.5rem;
    }

    /* Products */
    .products__grid {
        grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
        gap: 1rem;
    }

    /* Guide */
    .guide__grid {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Catalog */
    .catalog__toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .catalog__grid {
        grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .features__grid {
        grid-template-columns: 1fr;
    }

    .products__grid,
    .catalog__grid {
        grid-template-columns: 1fr;
    }

    .section__title {
        font-size: 1.5rem;
    }

    .hero__title {
        font-size: 2rem;
    }
}

/* ============
   ANIMATIONS
   ============ */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile menu overlay */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}
