header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 40px;
    border-bottom: 1px solid #e4dcc8;
}

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: 12px;
}

header #header-logo {
    width: 26px;
}

header nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

header nav a {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #5a4a2e;
    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,
header nav a:focus-visible {
    color: #3f5d35;
    border-bottom-color: #c98a3e;
}

header nav a:focus-visible {
    outline: 2px solid #c98a3e;
    outline-offset: 4px;
}

header > span {
    display: block;
    margin: auto;
    padding: 12px 0;
    text-align: center;
    font-family: Georgia, "Times New Roman", serif;
    font-style: italic;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0.6px;
    color: #8a4a1f;
}

.flash-notification-success,
.flash-notification-error {
    position: fixed;
    max-width: 720px;
    margin: 20px auto;
    padding: 14px 20px;
    border: 1px solid #e4dcc8;
    border-left: 4px solid;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: 15px;
    line-height: 1.5;
}

.flash-notification-success {
    border-left-color: #6b8e23;
    color: #3d4a15;
}

.flash-notification-error {
    border-left-color: #a16c4c;
    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: 40px auto;
    padding: 0 40px;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

#container-product-list h1 {
    margin-bottom: 40px;
    text-align: center;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 32px;
    font-weight: 400;
    letter-spacing: 0.3px;
    color: #3f5d35;
}

#container-product-list h1::after {
    content: "";
    display: block;
    width: 48px;
    margin: 16px auto 0;
    border-top: 1px solid #c98a3e;
}

#container-product-list .product-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

#container-product-list .container-product {
    width: 340px;
    border: 1px solid #e4dcc8;
    border-radius: 8px;
    transition: border-color 0.25s ease;
}

#container-product-list .container-product:hover {
    border-color: #c98a3e;
}

#container-product-list .product-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px 14px;
    border-bottom: 1px solid #e4dcc8;
}

#container-product-list .product-header h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 20px;
    font-weight: 400;
    color: #3f5d35;
}

#container-product-list .product-type {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #8a4a1f;
}

#container-product-list .product-body {
    display: flex;
    align-items: flex-start;
}

#container-product-list .product-image, #edit-product-form .vich-image img {
    flex-shrink: 0;
    width: 96px;
    height: 96px;
    margin: 20px 0 20px 24px;
    border: 1px solid #e4dcc8;
    border-radius: 6px;
    object-fit: cover;
}

#container-product-list .product-infos {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px 24px;
}

#container-product-list .product-infos span {
    font-size: 15px;
    line-height: 1.4;
    color: #4a5d3a;
}

#container-product-list .product-infos strong {
    font-weight: 600;
    color: #5a4a2e;
}

#container-product-list .product-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
    padding: 14px 24px;
    border-top: 1px solid #e4dcc8;
}

#container-product-list .product-footer span {
    font-size: 13px;
    color: #5a4a2e;
}

#container-product-list .product-footer strong {
    font-weight: 600;
    color: #3f5d35;
}

#container-product-list .my-products-list-btn {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 16px 24px;
    border-top: 1px solid #e4dcc8;
}

#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: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    color: #4a5d3a;
}

#container-cgu h1 {
    margin-bottom: 8px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 32px;
    font-weight: 400;
    letter-spacing: 0.5px;
    color: #3f5d35;
}

#container-cgu .cgu-updated {
    margin-bottom: 40px;
    font-size: 14px;
    font-style: italic;
    color: #8a4a1f;
}

#container-cgu section {
    margin-bottom: 32px;
    padding-bottom: 28px;
    border-bottom: 1px solid #e4dcc8;
}

#container-cgu section:last-child {
    border-bottom: none;
}

#container-cgu h2 {
    margin-bottom: 12px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 20px;
    font-weight: 400;
    color: #3f5d35;
}

#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 {
    position: relative;
    padding-left: 18px;
    margin-bottom: 8px;
}

#container-cgu li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: #c98a3e;
}

footer {
    position: fixed;
    bottom: 0;
}

footer p {
    color: black;
}

footer p a {
    text-decoration: none;
    color: blue;
}

footer p,
footer a {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: 13px;
    letter-spacing: 0.3px;
}

footer a:hover {
    text-decoration: underline;
}
