/* Modern, Elegant Boxed Card layout styling for FlairyDesigns Theme */

/* Body Background and Outer Wrapper */
body {
    background-color: #ede7e1; /* Soft Warm Gray/Beige Outer Background */
    margin: 0;
    padding: 0;
}

.site-wrapper {
    min-height: 100vh;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

@media (max-width: 768px) {
    .site-wrapper {
        padding: 10px;
    }
}

/* White Boxed Main Container Card */
.site-container {
    background-color: #ffffff;
    width: 100%;
    max-width: 1200px;
    border-radius: 12px;
    box-shadow: 0 15px 50px rgba(44, 41, 39, 0.06);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Header Navigation and Brand */
.site-header {
    background-color: #ffffff;
    border-bottom: 1px solid #f2ece6;
    position: relative;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    padding: 0 40px;
}

@media (max-width: 768px) {
    .header-inner {
        padding: 0 20px;
        height: 60px;
    }
}

.logo a {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--color-text-dark);
    letter-spacing: -0.5px;
}

.main-navigation {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
}

.nav-menu a {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-text-muted);
    transition: var(--transition-smooth);
}

.nav-menu a:hover,
.nav-menu .current-menu-item a {
    color: var(--color-text-dark);
}

/* Header Social Media Links (Right Side) */
.header-social-links {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.header-social-icon {
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.header-social-icon:hover {
    color: var(--color-primary);
}

@media (max-width: 992px) {
    .header-social-links {
        display: none; /* Hide on mobile/tablet to save space */
    }
}

/* Mobile Nav Toggle Button */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background-color: var(--color-text-dark);
    margin-bottom: 4px;
    transition: var(--transition-smooth);
}

.menu-toggle span:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .main-navigation {
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background-color: #ffffff;
        border-bottom: 1px solid #f2ece6;
        padding: 20px;
        display: none;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    }
    
    .main-navigation.active {
        display: block;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Hero Section inside White Card */
.hero-section {
    padding: var(--spacing-md) 40px;
    background-color: #fcfbfa;
    border-bottom: 1px solid #f2ece6;
}

@media (max-width: 768px) {
    .hero-section {
        padding: var(--spacing-sm) 20px;
    }
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
    align-items: center;
}

@media (min-width: 992px) {
    .hero-grid {
        grid-template-columns: 1.2fr 0.8fr;
        gap: var(--spacing-lg);
    }
}

.hero-content h1 {
    font-size: clamp(2rem, 3.5vw, 3rem);
    margin-bottom: var(--spacing-xs);
    line-height: 1.15;
}

.hero-content p {
    font-size: 1rem;
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-sm);
    max-width: 500px;
}

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

.hero-buttons .button {
    padding: 0.6rem 1.5rem;
    font-size: 0.85rem;
}

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

.hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    border: 4px solid #ffffff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);
}

/* Main Shop Layout & Grid */
.shop-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px;
}

@media (min-width: 992px) {
    .shop-layout {
        grid-template-columns: 1fr 260px; /* Main content left, Sidebar right */
    }
}

@media (max-width: 768px) {
    .shop-layout {
        padding: 20px;
        gap: 20px;
    }
}

/* Sidebar Styling (Right Column) */
.shop-sidebar {
    border-left: 1px solid #f5ede6;
    padding-left: 30px;
}

@media (max-width: 992px) {
    .shop-sidebar {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid #f5ede6;
        padding-top: 30px;
    }
}

.sidebar-widget {
    margin-bottom: 2.5rem;
}

.sidebar-widget:last-child {
    margin-bottom: 0;
}

.widget-title {
    font-family: var(--font-body);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-text-dark);
    font-weight: 700;
    border-bottom: 1px solid var(--color-text-dark);
    padding-bottom: 8px;
    margin-bottom: 15px;
}

.filter-list li {
    margin-bottom: 0.5rem;
}

.filter-link {
    color: var(--color-text-muted);
    font-size: 0.85rem;
    display: block;
    padding: 4px 0;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.filter-link:hover, .filter-link.active {
    color: var(--color-text-dark);
    font-weight: 600;
}

.filter-count {
    display: none; /* Hide count bubbles to match clean text menu look */
}

/* Get Inspired Tags */
.inspired-tag {
    display: block;
    background-color: #f3ebe4; /* Pastel sand tag */
    color: var(--color-text-muted) !important;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 600;
    transition: var(--transition-smooth);
    border-left: 3px solid var(--color-primary);
}

.inspired-tag:hover {
    background-color: var(--color-primary-light);
    color: var(--color-text-dark) !important;
    transform: translateX(3px);
}

/* Minimalist Product Grid & Card */
.shop-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.results-count {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 30px;
}

@media (min-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr); /* Force 3 columns on desktop matching image */
    }
}

.product-card {
    background: transparent;
    display: flex;
    flex-direction: column;
    position: relative;
    border: none;
    box-shadow: none;
    border-radius: 0;
    overflow: visible;
}

.product-category-top {
    display: block;
    text-align: center;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 8px;
}

.product-image-link {
    display: block;
    aspect-ratio: 16/11; /* Clean landscape ratio */
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid #f2ece6;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    margin-bottom: 12px;
    background-color: var(--color-bg-base);
}

.product-image-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

.product-title-bottom {
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 500;
    text-align: center;
    color: var(--color-text-dark);
    margin: 0;
    line-height: 1.4;
}

.product-title-bottom a {
    color: var(--color-text-dark);
    transition: var(--transition-smooth);
}

.product-title-bottom a:hover {
    color: var(--color-primary);
}

/* Hide price and details details on main grid to match minimalist lookup */
.product-badge,
.product-details,
.product-footer {
    display: none;
}

/* Search widget wrapper */
.search-input-wrapper button svg {
    transition: var(--transition-smooth);
}

.search-input-wrapper button:hover svg {
    transform: scale(1.1);
    color: var(--color-primary);
}

/* Footer Section inside Card */
.site-footer {
    background-color: #ffffff;
    border-top: 1px solid #f2ece6;
    padding: 60px 40px 40px;
    margin-top: auto;
}

@media (max-width: 768px) {
    .site-footer {
        padding: 30px 20px;
    }
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-column h3 {
    color: var(--color-text-dark);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    font-family: var(--font-body);
    font-weight: 700;
}

.footer-column p {
    color: var(--color-text-muted);
    font-size: 0.85rem;
    line-height: 1.6;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--color-text-muted);
    font-size: 0.85rem;
    transition: var(--transition-smooth);
}

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

.footer-bottom {
    border-top: 1px solid #f5ede6;
    padding-top: 25px;
    text-align: center;
    font-size: 0.78rem;
    color: var(--color-text-muted);
}

/* Simple Blog index & details override */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    padding: 40px;
}

.blog-post-card {
    background-color: #ffffff;
    border: 1px solid #f2ece6;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.post-card-content {
    padding: 20px;
}

/* Single Product override spacing */
.product-single-container {
    padding: 40px;
}

/* Newsletter styling adjust */
.newsletter-section {
    background-color: #fcfbfa;
    padding: 60px 40px;
    border-top: 1px solid #f2ece6;
}

.newsletter-card {
    border: none;
    box-shadow: none;
    background: transparent;
    padding: 0;
}

.newsletter-card h2 {
    font-size: 1.6rem;
}
