/*
Theme Name: SEMO Boutique
Theme URI: https://semoboutique.com
Author: SEMO Boutique
Description: Light, country styled swap shop theme built for Elementor and classifieds plugins.
Version: 1.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: semo-boutique
*/

body {
    margin: 0;
    padding: 0;
    font-family: "Nunito", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background-color: #f8f3ea;
    color: #222222;
    line-height: 1.6;
}

a {
    color: #855628;
    text-decoration: none;
}

a:hover,
a:focus {
    text-decoration: underline;
}

.site-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-header {
    background: linear-gradient(90deg, #fdf7ec, #f3e2c5);
    border-bottom: 3px solid #d1b38a;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    padding: 1rem 1.5rem;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.site-branding {
    display: flex;
    flex-direction: column;
}

.site-title {
    font-family: "Lora", "Georgia", serif;
    font-size: 1.9rem;
    margin: 0;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #5f3a1d;
}

.site-description {
    margin: 0.1rem 0 0;
    font-size: 0.9rem;
    color: #7a6246;
}

.primary-menu {
    list-style: none;
    display: flex;
    gap: 1.2rem;
    margin: 0;
    padding: 0;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.primary-menu li a {
    padding: 0.25rem 0;
    border-bottom: 2px solid transparent;
}

.primary-menu li a:hover,
.primary-menu li a:focus,
.primary-menu li.current-menu-item > a {
    border-bottom-color: #855628;
}

.cta-buttons {
    display: flex;
    gap: 0.75rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 1.1rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.btn-primary {
    background-color: #8a5d2c;
    color: #fffef8;
    border-color: #724824;
    box-shadow: 0 2px 4px rgba(0,0,0,0.12);
}

.btn-primary:hover {
    background-color: #724824;
}

.btn-outline {
    background-color: transparent;
    color: #5f3a1d;
    border-color: #b79160;
}

.btn-outline:hover {
    background-color: #f3e2c5;
}

/* Content */

.site-content {
    flex: 1 0 auto;
    padding: 1.5rem 1rem 2.5rem;
}

.content-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 1fr);
    gap: 1.75rem;
}

.content-full {
    max-width: 1200px;
    margin: 0 auto;
}

.main-column {
    background-color: #fffdf7;
    border-radius: 14px;
    border: 1px solid #e0ccb0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    padding: 1.5rem 1.75rem;
}

.sidebar {
    background-color: #fffaf2;
    border-radius: 14px;
    border: 1px dashed #d5b992;
    padding: 1.25rem 1.5rem;
}

.widget-title {
    font-family: "Lora", "Georgia", serif;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: #5f3a1d;
    margin-top: 0;
    padding-bottom: 0.4rem;
    border-bottom: 2px solid #d1b38a;
}

.country-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    background-color: #f3e2c5;
    color: #5f3a1d;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

/* Hero for front page */

.hero {
    background: radial-gradient(circle at top left, #fff7e5 0, #f8f0de 40%, #f5e2c3 100%);
    border-radius: 16px;
    padding: 2rem 2rem 1.5rem;
    border: 1px solid #e0ccb0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto -40px -60px auto;
    width: 180px;
    height: 180px;
    background-image: radial-gradient(circle, rgba(190,140,88,0.18) 0, transparent 60%);
    opacity: 0.9;
}

.hero-kicker {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.75rem;
    color: #7a6246;
    margin-bottom: 0.4rem;
}

.hero-title {
    font-family: "Lora", "Georgia", serif;
    font-size: 2.1rem;
    margin: 0 0 0.6rem;
    color: #4b2b12;
}

.hero-subtitle {
    margin: 0 0 1.1rem;
    font-size: 0.98rem;
    color: #6e5335;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.8rem;
    color: #7a6246;
}

/* Listings teaser */

.listing-teaser-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.listing-card {
    background-color: #fffef9;
    border-radius: 14px;
    border: 1px solid #e0ccb0;
    padding: 0.75rem 0.9rem 0.9rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.listing-title {
    font-weight: 700;
    font-size: 0.98rem;
    margin: 0 0 0.25rem;
    color: #3c2613;
}

.listing-meta {
    font-size: 0.8rem;
    color: #7a6246;
}

/* Footer */

.site-footer {
    flex-shrink: 0;
    background-color: #f3e2c5;
    border-top: 2px solid #d1b38a;
    padding: 1.2rem 1rem;
    margin-top: auto;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    font-size: 0.85rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: space-between;
    align-items: center;
    color: #63462a;
}

/* Basic responsive tweaks */

@media (max-width: 900px) {
    .header-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .cta-buttons {
        margin-top: 0.5rem;
    }

    .content-inner {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 640px) {
    .site-header {
        padding: 0.9rem 1rem;
    }

    .hero {
        padding: 1.4rem 1.3rem;
    }

    .hero-title {
        font-size: 1.6rem;
    }

    .primary-menu {
        flex-wrap: wrap;
        gap: 0.75rem;
        font-size: 0.85rem;
    }
}
