/* ==========================================================================
   Studio Santana — palette sampled from the logo (sage green, blush, gold, cream)
   ========================================================================== */

:root {
    --cream: #fdf6ee;
    --cream-soft: #fbeee0;
    --white: #ffffff;
    --sage: #7d8063;
    --sage-dark: #454833;
    --sage-light: #a3a687;
    --blush: #e3b7a0;
    --blush-soft: #f3ded1;
    --gold: #c9a05a;
    --gold-soft: #e6cd9f;
    --shadow: rgba(69, 72, 51, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Poppins", "Segoe UI", sans-serif;
    background: var(--cream);
    color: var(--sage-dark);
    padding-top: 176px;
}

img {
    max-width: 100%;
}

h1, h2, h3, h4 {
    font-family: "Playfair Display", "Georgia", serif;
    margin: 0 0 12px;
    color: var(--sage-dark);
}

a {
    color: inherit;
    text-decoration: none;
}

.script {
    font-family: "Dancing Script", cursive;
}

.section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 70px 24px;
}

.section > h2 {
    text-align: center;
    font-size: 2.1rem;
    margin-bottom: 8px;
}

.section-subtitle {
    text-align: center;
    color: var(--sage);
    max-width: 520px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

/* ---------------------------------- Header ---------------------------------- */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(253, 246, 238, 0.96);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid var(--gold-soft);
}

.header-top {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 12px 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.brand-logo {
    width: 92px;
    height: 92px;
    object-fit: contain;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-name {
    font-family: "Dancing Script", cursive;
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--sage-dark);
}

.brand-tagline {
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    color: var(--gold);
    text-transform: uppercase;
}

.search-bar {
    flex: 1;
    display: flex;
    max-width: 460px;
    margin: 0 auto;
}

.search-bar input {
    flex: 1;
    border: 1px solid var(--gold-soft);
    border-right: none;
    border-radius: 999px 0 0 999px;
    padding: 10px 18px;
    font-family: inherit;
    font-size: 0.9rem;
    background: var(--white);
    color: var(--sage-dark);
    outline: none;
}

.search-bar input::placeholder {
    color: var(--sage-light);
}

.search-bar button {
    border: 1px solid var(--gold);
    background: var(--gold);
    color: var(--white);
    border-radius: 0 999px 999px 0;
    padding: 0 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-icons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.icon-btn {
    position: relative;
    border: 1px solid var(--gold-soft);
    background: var(--white);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sage-dark);
    transition: transform 0.15s ease, border-color 0.15s ease;
}

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

.badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--blush);
    color: var(--sage-dark);
    font-size: 0.62rem;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
}

.nav-toggle {
    display: none;
    border: none;
    background: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--sage-dark);
}

/* ---------------------------------- Nav / dropdowns ---------------------------------- */

.main-nav {
    border-top: 1px solid var(--blush-soft);
}

.main-nav ul {
    max-width: 1200px;
    margin: 0 auto;
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 0 24px;
}

.main-nav > ul > li {
    position: relative;
}

.main-nav a,
.dropdown-toggle {
    display: block;
    padding: 12px 16px;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--sage-dark);
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.main-nav > ul > li > a,
.main-nav > ul > li > .dropdown-toggle {
    font-family: "Dancing Script", cursive;
    font-size: 1.4rem;
    font-weight: 700;
}

.main-nav a:hover,
.dropdown-toggle:hover,
.dropdown.open .dropdown-toggle {
    color: var(--gold);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    border: 1px solid var(--gold-soft);
    border-radius: 14px;
    box-shadow: 0 16px 40px var(--shadow);
    padding: 14px;
    min-width: 200px;
    display: none;
    flex-direction: column;
    gap: 2px;
    z-index: 50;
}

.dropdown-menu a {
    padding: 8px 12px;
    border-radius: 8px;
    font-weight: 500;
}

.dropdown-menu a:hover {
    background: var(--cream-soft);
    color: var(--gold);
}

.dropdown.open .dropdown-menu {
    display: flex;
}

.dropdown-menu--wide {
    display: none;
    flex-direction: row;
    gap: 28px;
    min-width: 560px;
    padding: 20px 24px;
}

.dropdown.open .dropdown-menu--wide {
    display: flex;
}

.season-col h4 {
    font-family: "Poppins", sans-serif;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gold);
    margin-bottom: 6px;
}

.season-col a {
    padding: 5px 8px;
    font-size: 0.9rem;
}

/* ---------------------------------- Hero ---------------------------------- */

.hero {
    max-width: 1100px;
    margin: 0 auto;
    padding: 56px 24px 20px;
    display: flex;
    align-items: center;
    gap: 48px;
}

.hero-copy {
    flex: 1;
}

.hero-copy .script {
    color: var(--gold);
    font-size: 1.6rem;
    display: block;
    margin-bottom: 4px;
}

.hero-copy h1 {
    font-size: 2.6rem;
    line-height: 1.15;
}

.hero-copy p {
    max-width: 480px;
    line-height: 1.7;
    color: var(--sage);
    margin-bottom: 24px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-image img {
    width: min(100%, 400px);
    filter: drop-shadow(0 22px 34px var(--shadow));
}

/* ---------------------------------- Our Story ---------------------------------- */

.about-section {
    max-width: 680px;
    margin: 0 auto;
    padding: 20px 24px 100px;
    text-align: center;
}

.about-heading {
    margin-bottom: 32px;
}

.about-heading .script {
    color: var(--gold);
    font-size: 1.4rem;
    display: block;
    margin-bottom: 4px;
}

.about-heading h2 {
    font-size: 2.2rem;
    margin-bottom: 6px;
}

.about-heading .artist-name {
    font-family: "Dancing Script", cursive;
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--gold);
}

.about-image {
    margin: 0 auto 40px;
}

.about-image img {
    width: min(100%, 340px);
    border-radius: 24px;
    box-shadow: 0 22px 44px var(--shadow);
}

.about-copy {
    text-align: left;
}

.about-copy p {
    line-height: 1.8;
    color: var(--sage);
    margin: 0 0 20px;
}

.about-copy p:last-child {
    margin-bottom: 0;
}

.policy-content {
    max-width: 680px;
    margin: 0 auto;
    padding: 10px 24px 100px;
}

.policy-content h3 {
    margin: 32px 0 8px;
}

.policy-content h3:first-child {
    margin-top: 0;
}

.policy-content p {
    line-height: 1.8;
    color: var(--sage);
    margin: 0;
}

.policy-content p + p {
    margin-top: 16px;
}

.policy-content a {
    color: var(--gold);
    font-weight: 600;
}

.btn {
    display: inline-block;
    background: var(--gold);
    color: var(--white);
    padding: 13px 28px;
    border-radius: 999px;
    font-weight: 700;
    box-shadow: 0 10px 24px var(--shadow);
    transition: transform 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 1.5px solid var(--sage);
    color: var(--sage-dark);
    box-shadow: none;
    margin-left: 12px;
}

/* ---------------------------------- Breadcrumb ---------------------------------- */

.breadcrumb {
    max-width: 1100px;
    margin: 0 auto;
    padding: 22px 24px 0;
    font-size: 0.85rem;
    color: var(--sage);
}

.breadcrumb a {
    font-weight: 600;
    color: var(--sage);
}

.breadcrumb a:hover {
    color: var(--gold);
}

/* ---------------------------------- Sub-page hero (season / holiday) ---------------------------------- */

.page-hero {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    padding: 36px 24px 12px;
}

.page-hero .script {
    color: var(--gold);
    font-size: 1.4rem;
    display: block;
    margin-bottom: 6px;
}

.page-hero h1 {
    font-size: 2.4rem;
}

.page-hero p {
    color: var(--sage);
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto 20px;
}

.holiday-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    max-width: 800px;
    margin: 0 auto;
    padding: 10px 24px 90px;
}

.holiday-link {
    background: var(--white);
    border: 1px solid var(--gold-soft);
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 600;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.holiday-link:hover {
    transform: translateY(-3px);
    border-color: var(--gold);
    box-shadow: 0 14px 28px var(--shadow);
}

.season-group {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 32px 24px;
    border-top: 1px solid var(--blush-soft);
}

.season-group:first-of-type {
    border-top: none;
}

.season-group h2 a:hover {
    color: var(--gold);
}

.season-group p {
    color: var(--sage);
    line-height: 1.6;
    max-width: 520px;
    margin: 0 auto 18px;
}

.season-group .holiday-links {
    padding: 0;
}

.badge-tag {
    display: inline-block;
    background: var(--cream-soft);
    border: 1px solid var(--gold-soft);
    color: var(--gold);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 18px;
}

.coming-soon {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
    padding: 40px 24px 110px;
}

.section-heading {
    text-align: center;
    font-size: 1.6rem;
    max-width: 1200px;
    margin: 20px auto 0;
    padding: 0 24px;
}

.product-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 24px 100px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 24px;
}

.product-card {
    background: var(--white);
    border: 1px solid var(--blush-soft);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px var(--shadow);
}

.product-card-media {
    position: relative;
}

.product-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
}

.product-card-body {
    padding: 16px 18px 20px;
    display: block;
}

.favorite-toggle {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid var(--gold-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--sage-dark);
    z-index: 2;
    transition: transform 0.15s ease, border-color 0.15s ease;
}

.favorite-toggle:hover {
    transform: translateY(-2px);
    border-color: var(--gold);
}

.favorite-toggle.is-favorited {
    color: var(--gold);
}

.favorite-toggle.is-favorited svg {
    fill: var(--blush);
}

.product-detail-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.detail-favorite {
    position: static;
    width: auto;
    height: auto;
    border-radius: 999px;
    padding: 12px 20px;
    gap: 8px;
    font-weight: 600;
    font-size: 0.9rem;
}

.product-card h3 {
    font-size: 1.02rem;
    margin: 0 0 6px;
}

.product-price {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gold);
    margin: 0;
}

.product-detail {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px 24px 100px;
    display: flex;
    align-items: flex-start;
    gap: 48px;
}

.product-detail-image {
    flex: 0 0 420px;
}

.product-detail-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 22px 44px var(--shadow);
}

.product-detail-info {
    flex: 1;
    padding-top: 8px;
}

.product-detail-info .script {
    color: var(--gold);
    font-size: 1.2rem;
    display: block;
    margin-bottom: 6px;
}

.product-detail-info h1 {
    font-size: 1.9rem;
    margin-bottom: 10px;
}

.product-detail-info .product-price {
    font-size: 1.25rem;
    margin-bottom: 22px;
}

.product-detail-info .back-link {
    display: block;
    margin-top: 16px;
}

.btn-disabled,
.btn-disabled:hover {
    background: var(--blush-soft);
    color: var(--sage);
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
    border: none;
}

.back-link {
    display: inline-block;
    margin-top: 8px;
    font-weight: 600;
    color: var(--sage);
}

.back-link:hover {
    color: var(--gold);
}

/* ---------------------------------- Custom order form ---------------------------------- */

.custom-example {
    max-width: 420px;
    margin: 0 auto;
    padding: 10px 24px 30px;
    text-align: center;
}

.custom-example img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 18px 36px var(--shadow);
    margin-bottom: 14px;
}

.custom-example p {
    color: var(--sage);
    font-size: 0.9rem;
    line-height: 1.6;
}

.order-form-wrap {
    max-width: 640px;
    margin: 0 auto;
    padding: 10px 24px 100px;
}

.order-form {
    background: var(--white);
    border: 1px solid var(--gold-soft);
    border-radius: 20px;
    padding: 36px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-row label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--sage-dark);
}

.form-row input,
.form-row select,
.form-row textarea {
    border: 1px solid var(--gold-soft);
    border-radius: 12px;
    padding: 12px 14px;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--sage-dark);
    background: var(--cream);
    outline: none;
    resize: vertical;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    border-color: var(--gold);
}

.order-form .btn {
    align-self: flex-start;
    border: none;
    cursor: pointer;
}

.form-note {
    font-size: 0.8rem;
    color: var(--sage);
    margin: -8px 0 0;
}

/* ---------------------------------- Footer ---------------------------------- */

.site-footer {
    background: var(--cream-soft);
    border-top: 1px solid var(--gold-soft);
    padding: 40px 24px 24px;
    text-align: center;
}

.site-footer .script {
    color: var(--gold);
    font-size: 1.3rem;
    display: block;
    margin-bottom: 4px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin: 16px 0;
    flex-wrap: wrap;
}

.footer-links a {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--sage-dark);
}

.footer-links a:hover {
    color: var(--gold);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
}

.social-links .icon-btn {
    color: var(--sage-dark);
}

.copyright {
    font-size: 0.78rem;
    color: var(--sage);
    margin-top: 16px;
}

.credit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.74rem;
    color: var(--sage);
    margin-top: 8px;
}

.credit-icon {
    width: 22px;
    height: auto;
    opacity: 0.9;
}

/* ---------------------------------- Responsive ---------------------------------- */

@media (max-width: 860px) {
    body {
        padding-top: 84px;
    }

    .search-bar {
        display: none;
    }

    .brand-logo {
        width: 52px;
        height: 52px;
    }

    .brand-name {
        font-size: 1.5rem;
    }

    .brand-tagline {
        font-size: 0.62rem;
    }

    .nav-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .main-nav {
        display: none;
        position: fixed;
        top: 84px;
        left: 0;
        right: 0;
        height: calc(100vh - 84px);
        background: var(--cream);
        overflow-y: auto;
    }

    .main-nav.open {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        padding: 10px 20px 40px;
        gap: 0;
    }

    .main-nav a,
    .dropdown-toggle {
        padding: 14px 4px;
        border-bottom: 1px solid var(--blush-soft);
        width: 100%;
        text-align: left;
    }

    .dropdown-menu,
    .dropdown-menu--wide {
        position: static;
        box-shadow: none;
        border: none;
        border-radius: 0;
        min-width: 0;
        width: 100%;
        padding: 0 0 10px 14px;
        flex-direction: column !important;
        gap: 0;
    }

    .hero,
    .product-detail {
        flex-direction: column;
        text-align: center;
    }

    .product-detail-image {
        flex: 0 0 auto;
        width: 100%;
        max-width: 340px;
        margin: 0 auto;
    }

    .hero-copy p {
        margin-left: auto;
        margin-right: auto;
    }

    .btn-outline {
        margin-left: 0;
        margin-top: 10px;
    }
}

