body {
    margin: 0;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background-color: #f6f2e9;
    border-bottom: 1px solid #cdbfa3;
}

header #site-name {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 26px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #3f5d35;
    text-decoration: none;
    margin-right: auto;
    margin-left: 8px;
}

#header-logo {
    width: 26px;
}

header nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

header nav a {
    font-family: -apple-system, "Segoe UI", Tahoma, sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: #6b5b3e;
    text-decoration: none;
    padding-bottom: 4px;
    border-bottom: 1px solid transparent;
    transition: color 0.25s ease, border-color 0.25s ease;
}

header nav a:hover {
    color: #3f5d35;
    border-bottom-color: #8a9a5b;
}

header > span {
    display: block;
    margin: auto;
    text-align: center;
    font-family: Georgia, "Times New Roman", serif;
    font-style: italic;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.6px;
    color: #8a4a1f;
    padding: 12px 0;
}

.flash-notification-success,
.flash-notification-error {
    position: fixed;
    padding: 1rem 1.25rem;
    border-left: 4px solid;
    font-family: system-ui, -apple-system, sans-serif;
    font-size: 0.95rem;
    line-height: 1.5;
}

.flash-notification-success {
    border-left-color: #6b8e23;
    background-color: #f5faf0;
    color: #3d4a15;
}

.flash-notification-error {
    border-left-color: #a16c4c;
    background-color: #faf7f2;
    color: #5a3a28;
}

.flash-notification-success p,
.flash-notification-error p {
    margin: 0;
}

.flash-notification-success strong,
.flash-notification-error strong {
    font-weight: 600;
}

.flash-notification-success strong {
    color: #556b2f;
}

.flash-notification-error strong {
    color: #8b5a3c;
}

#container-product-list {
    max-width: 1200px;
    margin: auto;
    padding: 0 40px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

#container-product-list .product-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

#container-product-list h1 {
    text-align: center;
    font-size: 28px;
    font-weight: 600;
    color: #3f5d35;
    margin-bottom: 32px;
    letter-spacing: 0.3px;
}

#container-product-list .container-product {
    width: 340px;
    border: 1px solid #d8cfb8;
    border-radius: 6px;
    overflow: hidden;
}

#container-product-list .product-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background-color: #cdbfa3;
    border-bottom: 1px solid #d8cfb8;
}

#container-product-list .product-header h2 {
    font-size: 18px;
    font-weight: 600;
    color: #3f5d35;
    margin: 0;
}

#container-product-list .product-type {
    font-size: 13px;
    font-weight: 500;
    color: #6b5b3e;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#container-product-list .product-infos {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px 20px;
}

#container-product-list .product-infos span {
    font-size: 15px;
    color: #4a5d3a;
}

#container-product-list .product-infos strong {
    color: #6b5b3e;
    font-weight: 600;
}

#container-product-list .product-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
    padding: 12px 20px;
    background-color: #f6f2e9;
    border-top: 1px solid #d8cfb8;
}

#container-product-list .product-footer span {
    font-size: 13px;
    color: #6b5b3e;
}

#container-product-list .product-footer strong {
    color: #3f5d35;
    font-weight: 600;
}

#container-product-list .my-products-list-btn {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 16px 20px;
    border-top: 1px solid #d8cfb8;
}

#container-product-list .my-products-list-btn form {
    display: inline-flex;
    margin: 0;
}

#container-cgu {
    max-width: 760px;
    margin: 60px auto;
    padding: 0 20px;
    font-family: Georgia, serif;
    color: #4a5d3a;
}

#container-cgu h1 {
    font-size: 32px;
    color: #6b5b3e;
    font-weight: normal;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

#container-cgu .cgu-updated {
    font-size: 14px;
    color: #8a4a1f;
    font-style: italic;
    margin-bottom: 40px;
}

#container-cgu section {
    margin-bottom: 32px;
    padding-bottom: 28px;
    border-bottom: 1px solid #c98a3e;
}

#container-cgu section:last-child {
    border-bottom: none;
}

#container-cgu h2 {
    font-size: 20px;
    color: #3f5d35;
    font-weight: normal;
    margin-bottom: 12px;
}

#container-cgu p,
#container-cgu li {
    font-size: 16px;
    line-height: 1.7;
}

#container-cgu p {
    margin-bottom: 12px;
}

#container-cgu ul {
    list-style: none;
    padding-left: 0;
    margin-top: 12px;
}

#container-cgu li {
    padding-left: 18px;
    position: relative;
    margin-bottom: 8px;
}

#container-cgu li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: #c98a3e;
}

footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    border-top: 1px solid #c98a3e;
}

footer p {
    margin-left: 5px;
}

footer p a {
    text-decoration: none;
}

footer p,
footer a {
    font-family: Georgia, serif;
    font-size: 13px;
    color: #6b5b3e;
    letter-spacing: 0.3px;
}
