:root {
    --black-main: #050505;
    --black-2: #0D0D0D;
    --gold-main: #C9A45C;
    --gold-light: #E3C47A;
    --white: #FFFFFF;
    --cream: #F5F0E6;
    --gray: #A7A7A7;
    --max-width: 1200px;
}

/* =========================================================
   RESET
   ========================================================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    min-height: 100%;
    background: var(--black-main);
    color: var(--cream);
    font-family: "Montserrat", Arial, sans-serif;
}

body {
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

main {
    padding: 28px 0;
}

button {
    cursor: pointer;
}

a {
    transition: color 0.25s ease, transform 0.25s ease;
}

/* =========================================================
   CONTENEDOR
   ========================================================= */

.fs-container {
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding-left: 12px;
    padding-right: 12px;
}

/* =========================================================
   TIPOGRAFÍA
   ========================================================= */

h1,
h2,
h3,
h4 {
    margin: 0 0 12px 0;
}

h1 {
    font-size: 2.25rem;
}

h2 {
    font-size: 1.6rem;
}

h3 {
    font-size: 1.15rem;
}

p {
    margin: 0 0 12px 0;
    color: var(--gray);
}

section {
    margin-bottom: 28px;
}

/* =========================================================
   FORMULARIOS
   ========================================================= */

form {
    gap: 12px;
}

label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
}

input[type="text"],
input[type="number"],
input[type="password"],
select,
textarea {
    width: 100%;
    max-width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.02);
    color: var(--cream);
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: rgba(201, 164, 92, 0.45);
    box-shadow: 0 0 0 3px rgba(201, 164, 92, 0.06);
}

/* =========================================================
   HEADER
   ========================================================= */

.fs-header {
    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.92),
            rgba(0, 0, 0, 0.72)
        );

    border-bottom: 1px solid rgba(255, 255, 255, 0.03);

    position: sticky;
    top: 0;
    z-index: 100;

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.fs-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
}

.fs-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.fs-logo img {
    height: 88px;
    width: auto;
}

.fs-logo-text {
    display: none;
    font-family: "Playfair Display", serif;
    color: var(--gold-main);
    font-size: 20px;
    font-weight: 700;
}

.fs-nav {
    display: flex;
    gap: 22px;
    align-items: center;
}

.fs-nav a {
    color: var(--cream);
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.fs-nav a:hover {
    color: var(--gold-main);
}

.fs-menu-button {
    display: none;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--cream);
    padding: 8px 12px;
    border-radius: 6px;
}

.fs-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.fs-mobile-menu {
    display: none;
    flex-direction: column;
    background: var(--black-2);
    padding: 12px;
}

.fs-mobile-menu a {
    padding: 10px 0;
    color: var(--cream);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.fs-mobile-menu.open {
    display: flex;
    position: fixed;
    left: 12px;
    right: 12px;
    top: 74px;
    border-radius: 12px;
    padding: 18px;
    z-index: 200;

    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.fs-header.scrolled {
    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.97),
            rgba(0, 0, 0, 0.9)
        );

    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
}

/* =========================================================
   WHATSAPP
   ========================================================= */

.fs-btn--whatsapp {
    background:
        linear-gradient(
            90deg,
            var(--gold-main),
            var(--gold-light)
        );

    color: var(--black-main);

    padding: 8px 12px;
    border-radius: 8px;

    text-decoration: none;
    font-weight: 700;

    box-shadow: 0 6px 18px rgba(201, 164, 92, 0.08);
}

.fs-btn--whatsapp:hover {
    transform: translateY(-2px);
}

.fs-whatsapp-fixed {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 220;
}

.fs-whatsapp-fixed a {
    display: inline-block;

    padding: 12px 14px;

    border-radius: 999px;

    background:
        linear-gradient(
            90deg,
            var(--gold-main),
            var(--gold-light)
        );

    color: var(--black-main);

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);

    text-decoration: none;
    font-weight: 700;
}

/* =========================================================
   FOOTER
   ========================================================= */

.fs-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.03);

    padding: 36px 0;

    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.6),
            rgba(0, 0, 0, 0.9)
        );

    margin-top: 48px;
}

.fs-footer-inner {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    justify-content: space-between;
}

.fs-footer-logo {
    height: 56px;
}

.fs-footer-brand p {
    color: var(--gray);
    margin-top: 8px;
}

.fs-footer-links a {
    display: block;
    color: var(--cream);
    text-decoration: none;
    margin: 6px 0;
}

.fs-footer-links a:hover {
    color: var(--gold-main);
}

.fs-footer-contact a {
    color: var(--gold-main);
    text-decoration: none;
    font-weight: 700;
}

/* =========================================================
   HERO
   ========================================================= */

.fs-hero {
    min-height: 66vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 56px 0;
}

.fs-hero .fs-hero-inner {
    text-align: center;
}

.fs-hero h1 {
    font-family: "Playfair Display", serif;
    font-size: 44px;
    color: var(--white);
    margin-bottom: 8px;
}

.fs-hero p {
    color: var(--gray);
    margin-bottom: 18px;
}

.fs-hero .fs-hero-sub {
    font-size: 18px;
    letter-spacing: 0.08em;
    color: var(--gray);
    margin-top: 6px;
}

.fs-hero .fs-hero-tag {
    font-family: "Playfair Display", serif;
    font-size: 20px;
    color: var(--gold-main);
    margin-top: 6px;
}

.fs-hero .fs-hero-inner img {
    max-height: 320px;
    width: auto;
    margin: 0 auto 18px;
}

.fs-section {
    padding: 36px 0;
}

/* =========================================================
   BUSCADOR Y FILTROS
   ========================================================= */

.fs-search {
    position: relative;
    z-index: 60;

    display: flex;
    gap: 10px;
    align-items: center;

    padding: 12px;

    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.025),
            rgba(255, 255, 255, 0.01)
        );

    border: 1px solid rgba(201, 164, 92, 0.12);

    border-radius: 12px;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

.fs-search input[type="text"] {
    flex: 1;

    padding: 10px 12px;

    background: rgba(255, 255, 255, 0.02);

    border: 1px solid rgba(255, 255, 255, 0.06);

    color: var(--cream);

    border-radius: 8px;
}

.fs-search input[type="text"]::placeholder {
    color: var(--gray);
}

.fs-search select {
    width: auto;
    min-width: 150px;

    padding: 10px 12px;

    background: rgba(255, 255, 255, 0.02);

    border: 1px solid rgba(255, 255, 255, 0.06);

    color: var(--cream);

    border-radius: 8px;
}

.fs-search select option {
    background: var(--black-main);
    color: var(--cream);
}

.fs-search button {
    padding: 10px 16px;

    border-radius: 8px;

    background: transparent;

    border: 1px solid rgba(201, 164, 92, 0.35);

    color: var(--gold-main);

    font-weight: 700;

    transition: all 0.25s ease;
}

.fs-search button:hover {
    background: rgba(201, 164, 92, 0.08);
    border-color: rgba(201, 164, 92, 0.65);
}

.fs-search .fs-clear {
    padding: 8px;

    background: transparent;

    color: var(--gray);

    border: none;

    text-decoration: none;
}

.fs-search .fs-clear:hover {
    color: var(--gold-main);
}

/* =========================================================
   CATÁLOGO
   ========================================================= */

.fs-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 18px;

    width: 100%;
}

/* =========================================================
   TARJETAS DE PERFUME
   ========================================================= */

.fs-card {
    display: flex;

    flex-direction: column;

    justify-content: space-between;

    padding: 0;

    min-height: 0;

    background:
        rgba(13, 13, 13, 0.78);

    border: 1px solid rgba(201, 164, 92, 0.14);

    border-radius: 14px;

    overflow: hidden;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.35);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.fs-card:hover {
    transform: translateY(-5px);

    border-color:
        rgba(201, 164, 92, 0.45);

    box-shadow:
        0 14px 35px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(201, 164, 92, 0.05);
}

/* =========================================================
   IMAGEN DEL PERFUME
   ========================================================= */

.fs-card .fs-card-img {
    width: 100%;

    height: 240px;

    display: flex;

    align-items: center;
    justify-content: center;

    position: relative;

    overflow: hidden;

    margin: 0;

    padding: 15px;

    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.025),
            rgba(0, 0, 0, 0.15)
        );
}

.fs-card .fs-card-img::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 55px;

    background:
        linear-gradient(
            to top,
            rgba(13, 13, 13, 0.75),
            transparent
        );

    pointer-events: none;
}

.fs-card .fs-card-img img {
    width: 100%;
    height: 100%;

    max-width: 100%;
    max-height: 215px;

    object-fit: contain;

    display: block;

    transition:
        transform 0.45s ease;
}

.fs-card:hover .fs-card-img img {
    transform: scale(1.04);
}

/* =========================================================
   CONTENIDO DE TARJETA
   ========================================================= */

.fs-card .fs-card-body {
    display: flex;

    flex-direction: column;

    gap: 7px;

    padding: 16px;
}

.fs-card .fs-card-body h3 {
    font-family:
        "Playfair Display",
        serif;

    font-size: 1.18rem;

    line-height: 1.3;

    color: var(--white);

    margin: 0;
}

.fs-card .fs-card-meta {
    color: var(--gray);

    font-size: 0.82rem;

    line-height: 1.45;

    min-height: 38px;
}

/* =========================================================
   DISPONIBILIDAD
   ========================================================= */

.fs-card .fs-card-body > div:not(.fs-card-actions) {
    color: var(--gray) !important;

    font-size: 0.78rem;

    margin: 2px 0;
}

/* =========================================================
   BOTONES DE TARJETA
   ========================================================= */

.fs-card .fs-card-actions {
    display: flex;

    flex-direction: column;

    gap: 7px;

    margin-top: 8px;
}

.fs-card .fs-card-actions .fs-btn {
    width: 100%;

    padding: 8px 10px;

    font-size: 0.78rem;

    text-align: center;

    border-radius: 7px;
}

.fs-btn {
    display: inline-block;

    background: transparent;

    color: var(--gold-main);

    border: 1px solid rgba(201, 164, 92, 0.18);

    padding: 10px 18px;

    border-radius: 8px;

    text-decoration: none;

    font-weight: 700;

    transition:
        all 0.25s ease;
}

.fs-btn:hover {
    transform: translateY(-2px);

    border-color:
        rgba(201, 164, 92, 0.45);
}

.fs-btn--primary {
    background:
        linear-gradient(
            90deg,
            var(--gold-main),
            var(--gold-light)
        );

    color: var(--black-main);
}

/* =========================================================
   SIN RESULTADOS
   ========================================================= */

.fs-empty {
    color: var(--gray);

    padding: 22px;

    background:
        rgba(255, 255, 255, 0.02);

    border:
        1px solid rgba(255, 255, 255, 0.04);

    border-radius: 10px;

    text-align: center;
}

/* =========================================================
   DETALLE DEL PERFUME
   ========================================================= */

.fs-detail {
    display: grid;

    grid-template-columns:
        1fr 420px;

    gap: 28px;

    align-items: start;

    padding: 36px 0;
}

.fs-detail-image {
    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.06),
            rgba(0, 0, 0, 0.02)
        );

    border-radius: 12px;

    padding: 18px;

    display: flex;

    align-items: center;

    justify-content: center;
}

.fs-detail-image img {
    max-height: 520px;

    max-width: 100%;

    height: auto;

    border-radius: 10px;

    object-fit: contain;
}

.fs-detail-info {
    background: transparent;

    padding: 6px;
}

.fs-detail-info h1 {
    font-family:
        "Playfair Display",
        serif;

    font-size: 34px;

    margin-bottom: 6px;
}

.fs-detail-info h2 {
    font-size: 16px;

    color: var(--gray);

    margin-bottom: 10px;
}

.fs-availability {
    font-weight: 700;

    color: var(--cream);

    margin-top: 6px;
}

.fs-attr {
    display: flex;

    gap: 12px;

    flex-wrap: wrap;

    margin: 10px 0;
}

.fs-attr .fs-attr-item {
    background:
        rgba(255, 255, 255, 0.02);

    padding: 8px 10px;

    border-radius: 8px;

    color: var(--gray);

    font-size: 0.95rem;
}

.fs-notes {
    margin-top: 14px;

    background:
        rgba(255, 255, 255, 0.02);

    padding: 16px;

    border-radius: 10px;
}

.fs-reviews {
    margin-top: 24px;
}

.fs-review {
    background:
        rgba(255, 255, 255, 0.02);

    padding: 14px;

    border-radius: 8px;

    margin-bottom: 12px;
}

.fs-stars {
    color: var(--gold-main);

    font-weight: 700;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .fs-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));

        gap: 16px;
    }

    .fs-card .fs-card-img {
        height: 225px;
    }
}

/* =========================================================
   TABLET PEQUEÑA
   ========================================================= */

@media (max-width: 900px) {

    .fs-nav {
        display: none;
    }

    .fs-menu-button {
        display: block;
    }

    .fs-mobile-menu {
        display: none;
    }

    .fs-logo img {
        height: 72px;
    }

    .fs-detail {
        grid-template-columns: 1fr;
    }

    .fs-detail-image img {
        max-height: 360px;
    }
}

@media (max-width: 800px) {

    .fs-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 14px;
    }

    .fs-card .fs-card-img {
        height: 210px;
    }

    .fs-card .fs-card-body {
        padding: 14px;
    }
}

/* =========================================================
   CELULAR
   ========================================================= */

@media (max-width: 600px) {

    main {
        padding: 18px 0;
    }

    .fs-container {
        width: 94%;
        padding-left: 6px;
        padding-right: 6px;
    }

    .fs-header-inner {
        padding: 12px 0;
        gap: 8px;
    }

    .fs-logo img {
        height: 56px;
    }

    .fs-search {
        flex-direction: column;

        align-items: stretch;

        gap: 8px;
    }

    .fs-search input[type="text"],
    .fs-search select,
    .fs-search button {
        width: 100%;
    }

    .fs-search select {
        min-width: 0;
    }

    .fs-search .fs-clear {
        text-align: center;
    }

    .fs-footer-inner {
        flex-direction: column;
    }

    .fs-hero {
        padding: 40px 0;
    }

    .fs-hero h1 {
        font-size: 34px;
    }

    .fs-detail {
        padding: 24px 0;
    }

    .fs-detail-info h1 {
        font-size: 28px;
    }
}

/* =========================================================
   CELULAR PEQUEÑO
   ========================================================= */

@media (max-width: 520px) {

    .fs-grid {
        grid-template-columns: 1fr;

        gap: 14px;

        max-width: 390px;

        margin-left: auto;
        margin-right: auto;
    }

    .fs-card .fs-card-img {
        height: 280px;
    }

    .fs-card .fs-card-img img {
        max-height: 250px;
    }

    .fs-card .fs-card-body h3 {
        font-size: 1.12rem;
    }
}