/**
 * Main Stylesheet
 *
 * This file contains the main CSS for the Rosalynn theme.
 *
 * @package Rosalynn
 * @since 1.0.0
 */

/* ==========================================================================
   Base Styles
   ========================================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Remove focus outline on all interactive elements */
a:focus,
a:active,
button:focus,
button:active,
input:focus,
input:active,
select:focus,
select:active,
textarea:focus,
textarea:active,
[role="button"]:focus,
[role="button"]:active,
[tabindex]:focus,
[tabindex]:active {
    outline: none;
    box-shadow: none;
}

body {
    margin: 0;
    padding: 0;
    background-color: #FEFBF4;
}

img {
    display: block;
}

#rdpanier {
    cursor: pointer;
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
    padding: 20px 0;
    border-bottom: 1px solid #e5e5e5;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.site-branding {
    flex-shrink: 0;
}

.site-title {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
}

.site-title a {
    color: #333;
    text-decoration: none;
}

.site-description {
    margin: 5px 0 0;
    font-size: 14px;
    color: #666;
}

/* Navigation */
.main-navigation {
    flex-grow: 1;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 30px;
}

.main-navigation a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
}

.main-navigation a:hover {
    opacity: 0.7;
}

.main-navigation .current-menu-item a,
.main-navigation .current-menu-ancestor a {
    color: #000;
    font-weight: 600;
}

/* Header Cart */
.header-cart {
    flex-shrink: 0;
}

.cart-icon {
    position: relative;
    display: inline-block;
    padding: 10px;
}

.cart-count {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    background: #333;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    border-radius: 10px;
}

/* ==========================================================================
   Content
   ========================================================================== */

.site-main {
    padding: 60px 0;
    min-height: 60vh;
}

.entry-header {
    margin-bottom: 30px;
}

.entry-title {
    margin-bottom: 10px;
}

.entry-content {
    line-height: 1.8;
}

.entry-content > * + * {
    margin-top: 1.5rem;
}

.entry-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #e5e5e5;
}

.read-more {
    display: inline-block;
    padding: 10px 20px;
    background: #333;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s;
}

.read-more:hover {
    background: #000;
}

/* Pagination */
.pagination {
    margin-top: 60px;
}

.nav-links {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.page-numbers {
    display: inline-block;
    padding: 10px 15px;
    border: 1px solid #e5e5e5;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s;
}

.page-numbers:hover,
.page-numbers.current {
    background: #333;
    color: #fff;
    border-color: #333;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 60px 20px;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    padding: 40px 0;
    background: #f9f9f9;
    border-top: 1px solid #e5e5e5;
    margin-top: 60px;
}

.site-info {
    text-align: center;
    color: #666;
    font-size: 14px;
}

.site-info a {
    color: #333;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
    .site-header .container {
        flex-wrap: wrap;
    }

    .main-navigation {
        order: 3;
        width: 100%;
    }

    .main-navigation ul {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .site-header {
        padding: 15px 0;
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .site-main {
        padding: 40px 0;
    }
}

/* ==========================================================================
   Template Racine - Full Width
   ========================================================================== */

/* Retirer le padding pour coller le contenu */
.site-main--full-width {
    padding: 0;
    margin: 0;
}

/* Template Racine: Structure minimaliste */
.template-racine {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Elementor compatibility */
.template-racine .elementor,
.template-racine .elementor-section-wrap {
    margin: 0;
    padding: 0;
}

.template-racine .elementor-section {
    margin: 0;
}

.template-racine .elementor-inner {
    max-width: 100%;
}
