:root {
    --bg-top: #f4efe7;
    --bg-bottom: #f7f3ee;
    --text: #2d241f;
    --muted: #7b6d63;
    --accent: #8c3b2a;
    --accent-dark: #6d2f21;
    --panel: #fffdfb;
    --panel-bg: #fffdfb;
    --panel-border: #d9d0c6;
    --nav-bg: #746256;
    --shadow: rgba(95, 71, 52, 0.05);
}

@font-face {
    font-family: "Lobster";
    src: local("Lobster"), url("../fonts/Lobster.woff2") format("woff2");
    font-display: block;
}

* {
    box-sizing: border-box;
}

body {
    font-family: Georgia, "Times New Roman", serif;
    margin: 0;
    background: linear-gradient(180deg, var(--bg-top) 0%, #faf7f2 280px, var(--bg-bottom) 100%);
    color: var(--text);
}

a {
    color: var(--accent);
    text-decoration: none;
}

.lientexte {
    color: var(--accent);
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(10px);
    background: rgba(116, 98, 86, 0.94);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.nav-shell,
.footer-shell,
main {
    max-width: 1180px;
    margin: 0 auto;
}

.nav-shell {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 20px;
    align-items: center;
    padding: 14px 24px;
}

.nav-panel {
    display: contents;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 1.15rem;
    font-weight: 700;
    white-space: nowrap;
}

.brand-name {
    font-family: "Lobster", cursive;
    font-size: 1.8rem;
    font-weight: 400;
    line-height: 1;
}

.brand-mark {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.14);
}

.nav-links {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.nav-toggle {
    display: none;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
    justify-self: end;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    border-radius: 999px;
    background: #fff;
}

.nav-links a,
.nav-links details summary {
    color: #fff6ef;
    cursor: pointer;
    list-style: none;
    font-size: 0.96rem;
}

.nav-links a:hover,
.nav-links a:focus,
.nav-links details summary:hover,
.nav-links details summary:focus,
.menu-panel a:hover,
.menu-panel a:focus {
    text-decoration: none;
}

.brand:hover,
.brand:focus {
    color: #fff;
    text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus,
.nav-links details summary:hover,
.nav-links details summary:focus {
    color: #ffffff;
}

.menu-panel a:hover,
.menu-panel a:focus {
    color: var(--accent-dark);
}

.nav-links details {
    position: relative;
}

.nav-links details[open] .menu-panel {
    display: grid;
}

.menu-panel {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 250px;
    gap: 10px;
    padding: 14px;
    border-radius: 14px;
    border: 1px solid var(--panel-border);
    background: var(--panel);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.menu-panel a {
    color: var(--text);
}

.nav-search {
    display: flex;
    gap: 8px;
    align-items: center;
}

.nav-search input {
    width: 220px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.nav-search input::placeholder {
    color: rgba(255, 255, 255, 0.72);
}

.tlbc-btn {
    border-radius: 999px;
    font-weight: 700;
    line-height: 1.2;
    padding: 0.75rem 1.1rem;
}

.search-form-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

.search-form-grid select,
.search-form-grid input,
.search-form-grid button {
    width: 100%;
    min-width: 0;
    padding: 12px 14px;
    border-radius: 5px;
    border: 1px solid #cfbca9;
    font-size: 0.95rem;
    background: #fff;
}

.search-form-grid button {
    background: var(--accent);
    color: #fff;
    border: 0;
    cursor: pointer;
}

.search-form-inline {
    grid-template-columns: 1fr auto;
}

.search-shell {
    background: radial-gradient(circle at top left, #ffffff 0%, #f0e4d7 52%, #ead8c7 100%);
    border: 1px solid #dccab7;
    border-radius: 22px;
    padding: 28px;
    margin-bottom: 24px;
    box-shadow: 0 10px 30px var(--shadow);
}

.search-submit-overlay {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(248, 243, 235, 0.82);
    backdrop-filter: blur(3px);
    z-index: 1200;
}

.search-submit-overlay.is-active {
    display: flex;
}

.search-submit-overlay-card {
    width: min(100%, 360px);
    display: grid;
    justify-items: center;
    gap: 14px;
    padding: 28px 24px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(28, 22, 16, 0.16);
    text-align: center;
}

.search-submit-overlay-spinner {
    width: 44px;
    height: 44px;
    border: 4px solid #e9ddcf;
    border-top-color: #b06f3b;
    border-radius: 999px;
    animation: tlbc-spin 0.85s linear infinite;
}

.search-submit-overlay-title {
    margin: 0;
    font-size: 1.1rem;
}

.search-submit-overlay-text {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

@keyframes tlbc-spin {
    to {
        transform: rotate(360deg);
    }
}

body.search-overlay-open {
    overflow: hidden;
}

.cta,
.social-list a {
    border: 0;
    border-radius: 999px;
    padding: 10px 14px;
    background: var(--accent);
    color: #fff;
    cursor: pointer;
}

.btn-primary {
    --bs-btn-bg: rgb(140, 59, 42);
    --bs-btn-border-color: rgb(140, 59, 42);
    --bs-btn-hover-bg: rgb(122, 51, 36);
    --bs-btn-hover-border-color: rgb(122, 51, 36);
    --bs-btn-active-bg: rgb(110, 46, 32);
    --bs-btn-active-border-color: rgb(110, 46, 32);
    --bs-btn-disabled-bg: rgb(140, 59, 42);
    --bs-btn-disabled-border-color: rgb(140, 59, 42);
    background-color: rgb(140, 59, 42) !important;
    border-color: rgb(140, 59, 42) !important;
    color: #fff !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:focus-visible {
    background-color: rgb(122, 51, 36) !important;
    border-color: rgb(122, 51, 36) !important;
    color: #fff !important;
}

.btn-primary:active,
.btn-primary.active,
.show > .btn-primary.dropdown-toggle {
    background-color: rgb(110, 46, 32) !important;
    border-color: rgb(110, 46, 32) !important;
    color: #fff !important;
}

.btn-primary:disabled,
.btn-primary.disabled {
    background-color: rgb(140, 59, 42) !important;
    border-color: rgb(140, 59, 42) !important;
    color: #fff !important;
}

main {
    padding: 24px;
}

.panel {
    background: var(--panel);
    border: 1px solid var(--panel-border);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 18px;
    box-shadow: 0 10px 30px var(--shadow);
}

.sidebar-product-list {
    display: grid;
    gap: 16px;
}

.sidebar-product-card {
    display: grid;
    gap: 14px;
    padding: 20px;
    background: var(--panel);
    border: 1px solid var(--panel-border);
    border-radius: 18px;
    box-shadow: 0 10px 30px var(--shadow);
}

.sidebar-product-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    background: #f1ece4;
}

.sidebar-product-card .content {
    padding: 0;
    display: grid;
    gap: 12px;
    justify-items: center;
    text-align: center;
}

.sidebar-product-card h3 {
    margin: 0;
    font-size: 1rem;
    line-height: 1.35;
}

.sidebar-product-card p {
    margin: 0;
}

.sidebar-product-card .price {
    color: var(--accent);
    font-weight: 700;
}

.sidebar-product-card .product-card-action {
    width: auto;
}

.sidebar-product-card .product-card-action .cta {
    display: inline-block;
    width: auto;
    min-width: 132px;
    text-align: center;
}

.site-footer {
    margin-top: 36px;
    border-top: 1px solid #decec0;
    background: rgba(255, 252, 249, 0.72);
}

.footer-shell {
    padding: 24px;
}

.footer-top,
.footer-links,
.footer-meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.footer-links,
.footer-meta {
    margin-top: 14px;
    color: var(--muted);
    font-size: 0.95rem;
}

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

.footer-social-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    color: var(--muted);
    font-size: 0.95rem;
}

.footer-social-links a {
    color: var(--text);
}

.footer-separator {
    color: var(--muted);
}

.social-list {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

main h1,
.detail-card h1,
.article-shell h1,
.theme-hero h1 {
    margin: 0 0 14px;
    font-size: 2.4rem;
    line-height: 1.08;
}

main h2,
.section-title,
.side-card-title,
.story-card h2,
.story-card h3,
.article-body h2,
.article-body h3,
.about-copy h1,
.about-copy h2,
.partners-copy h2,
.legal-copy h1,
.legal-copy h2 {
    color: var(--accent-dark);
}

main h2 {
    margin: 15px 0 12px;
    font-size: 1.5rem;
    line-height: 1.22;
}

main h3 {
    margin: 0 0 10px;
    font-size: 1.08rem;
    line-height: 1.35;
}

.panel,
.result-card,
.article-shell,
.detail-card,
.side-card,
.related-card,
.linked-article-card,
.discover-mini-card,
.newsletter-panel,
.choice-card,
.theme-panel,
.theme-card,
.theme-side-card,
.theme-related-gift-card,
.related-gift-card,
.related-content-card,
.contact-card,
.placeholder-card,
.modal-card {
    background: var(--panel);
    border: 1px solid var(--panel-border);
    border-radius: 18px;
    box-shadow: 0 10px 30px var(--shadow);
}

.panel,
.article-shell,
.detail-card,
.side-card,
.newsletter-panel,
.theme-panel,
.theme-side-card,
.contact-card,
.placeholder-card {
    padding: 22px;
}

.result-card,
.linked-article-card,
.discover-mini-card,
.theme-related-gift-card,
.related-gift-card {
    padding: 20px;
}

.price,
.product-price,
.article-body .inline-product-price,
.main-product .product-price,
.related-card .price,
.discover-mini-card .price,
.article-block-product-card .price {
    color: var(--accent);
    font-weight: 700;
}

.media-frame,
.result-card .media,
.theme-related-gift-card img,
.related-gift-card img,
.related-card img,
.linked-article-card img,
.discover-mini-card img,
.product-card img,
.related-grid img,
.related-content-card img,
.sidebar-product-card img,
.theme-card img,
.story img,
.promo img,
.hero-image,
.main-product .product-image img,
.article-shell img.hero,
.article-block-product-card img,
.teaser-item-media,
.teaser-item-media img,
.empty-state img {
    background: #f1ece4;
}

.result-card .content,
.theme-related-gift-card .content,
.related-gift-card .content,
.related-card .content,
.linked-article-card .content,
.discover-mini-card .content,
.product-card .content,
.related-grid .content,
.related-content-card .content,
.sidebar-product-card .content {
    display: grid;
    gap: 12px;
    justify-items: center;
    text-align: center;
}

.meta,
.article-shell .meta,
.results-meta,
.muted-note,
.legal-note,
.footer-note,
.trust-note {
    color: var(--muted);
}

.auth-feedback-error,
.error-note,
.form-error-list,
.global-error {
    color: #a33f2d;
}

.auth-feedback-success,
.feedback-success,
.gift-message-success,
.search-hero-message,
.status-note {
    color: #295b2d;
}

.meta {
    font-size: 0.95rem;
}

.grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
    gap: 24px;
}

.story {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 18px;
    align-items: start;
}

.story img,
.promo img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
}

.story h2,
.sidebar-card h2 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.story p {
    margin: 0;
    line-height: 1.6;
}

.sidebar-card h3 {
    font-size: 1.15rem;
}

.promo {
    display: grid;
    gap: 12px;
}

.footer-note {
    margin-top: 24px;
    padding: 18px 0 4px;
    font-size: 0.95rem;
}

.results-meta {
    margin-bottom: 14px;
    text-align: center;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.result-card {
    display: grid;
    gap: 16px;
}

.result-card .media {
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    overflow: hidden;
}

.result-card .media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.result-card h2,
.result-card h3,
.theme-related-gift-card h3,
.related-gift-card h3,
.related-card h3,
.linked-article-card h3,
.discover-mini-card h3,
.sidebar-product-card h3 {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.35;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.tag-list span,
.tag-row span,
.pill {
    padding: 6px 10px;
    border-radius: 999px;
    background: #f1ece4;
    color: #6d5d53;
    font-size: 0.84rem;
}

.price-row {
    display: grid;
    gap: 12px;
    width: 100%;
}

.result-card .price-row {
    gap: 0;
}

.result-card .price {
    margin: 0;
}

.result-card .product-partner-label {
    color: var(--muted);
    font-weight: 600;
    text-align: center;
}

.result-card .product-actions {
    display: grid;
    gap: 10px;
    width: 100%;
    justify-items: center;
}

.result-card .buy-button-wide,
.result-card .add-to-list-button {
    width: min(100%, 260px);
    min-width: 0;
}

.result-card .existing-article-lists {
    margin-top: 4px;
    font-size: 0.88rem;
}

.price-row .cta,
.product-card:not(.article-block-product-card) .product-card-action .cta,
.related-content-card .product-card-action .cta,
.sidebar-product-card .product-card-action .cta {
    display: block;
    width: 100%;
    text-align: center;
}

.empty-state {
    text-align: center;
    padding: 28px;
}

.empty-state img {
    max-width: 240px;
    border-radius: 12px;
}

.newsletter-layout {
    display: grid;
    gap: 22px;
}

.choices {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 18px;
}

.choice-card label {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    cursor: pointer;
}

.choice-card input {
    margin-top: 4px;
}

.newsletter-form {
    display: grid;
    gap: 18px;
    margin-top: 24px;
}

.newsletter-form input[type='email'],
.auth-input,
.field input,
.field textarea,
.stack-form .form-control,
.stack-form .form-select {
    width: 100%;
    border: 1px solid var(--panel-border);
    border-radius: 12px;
    padding: 12px 14px;
    font: inherit;
    background: #fff;
}

.theme-layout,
.article-layout,
.detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
    gap: 24px;
}

.detail-grid {
    align-items: start;
}

.detail-grid > aside,
.aside-stack {
    display: grid;
    gap: 18px;
    align-content: start;
}

.theme-content-list,
.theme-gifts,
.teaser-list,
.story-stack,
.related-grid,
.related-contents,
.content-section-spaced,
.related-gifts-grid,
.discover-stack,
.sidebar-product-list {
    display: grid;
    gap: 18px;
}

.theme-content-list,
.theme-gifts,
.teaser-list,
.theme-discover-stack,
.related-gifts-grid,
.related-contents,
.content-section-spaced,
.similar-section,
.linked-articles-section,
.article-secondary-panels,
.main-product,
.theme-section-spaced {
    margin-top: 24px;
}

.theme-card,
.product-card,
.related-content-card {
    display: grid;
    grid-template-columns: 220px 1fr;
    overflow: hidden;
}

.related-content-card {
    grid-template-columns: 180px 1fr;
    padding: 0;
}

.theme-card .content,
.related-content-card .content,
.product-card .content,
.related-grid .content {
    padding: 18px;
}

.related-content-card .content {
    justify-items: start;
    text-align: left;
}

.theme-card img,
.product-card img,
.related-grid img,
.related-content-card img,
.theme-related-gift-card img,
.related-gift-card img,
.related-card img,
.discover-mini-card img,
.sidebar-product-card img,
.main-product .product-image img,
.article-block-product-card img {
    width: 100%;
    object-fit: cover;
    display: block;
}

.theme-card img,
.product-card img,
.related-grid img,
.related-content-card img {
    height: 100%;
}

.theme-related-gift-card img,
.related-gift-card img,
.related-card img,
.discover-mini-card img,
.sidebar-product-card img,
.main-product .product-image img,
.article-block-product-card img {
    aspect-ratio: 1 / 1;
    border-radius: 12px;
}

.linked-article-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
    border-radius: 12px;
}

.theme-gifts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.related-gifts-grid.theme-related-gifts-grid,
.related-gifts-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.linked-articles-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 18px;
}

.teaser-item {
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 12px;
    align-items: start;
}

.teaser-item-media {
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    overflow: hidden;
}

.teaser-item-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.teaser-list article {
    padding-bottom: 18px;
    border-bottom: 1px solid #ece3d8;
}

.teaser-list article:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.story-stack {
    background: #fff;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.article-copy,
.story-card,
.aside-card,
.related-content-card,
.about-copy,
.partners-copy,
.legal-copy,
.copy,
.contact-copy,
.centered-panel-readable,
.newsletter-section-spaced {
    line-height: 1.75;
}

.article-shell img.hero {
    width: 100%;
    border-radius: 14px;
    margin: 0 0 18px;
    object-fit: cover;
}

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

.story-card > h2,
.story-card > h3 {
    margin: 0 0 12px;
    line-height: 1.3;
    padding-top: 20px;
}

.story-card > h3 {
    font-size: 1.3rem;
    font-weight: 700;
}

.story-card > div > :first-child {
    margin-top: 0;
}

.story-card > div > :last-child {
    margin-bottom: 0;
}

.story-card > div p {
    margin: 0 0 14px;
}

.story-card > div h3,
.story-card > div h4 {
    margin: 18px 0 10px;
    line-height: 1.35;
}

.story-card > .product-card {
    overflow: visible;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    align-items: start;
}

.story-card > .product-card .content {
    padding: 0 0 0 18px;
}

.story-card > .article-block-product-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    max-width: 360px;
    justify-items: center;
    margin-inline: auto;
    margin-top: 18px;
    margin-bottom: 24px;
}

.story-card > .article-block-product-card .content {
    padding: 0;
}

.article-block-product-card > a {
    display: block;
    width: min(100%, 280px);
    margin-inline: auto;
}

.article-block-product-card .product-card-action .btn.btn-success {
    display: inline-block;
    width: auto;
    min-width: 132px;
    padding-inline: 22px;
}

.article-block-product-card .product-card-action .btn.buy-button-wide {
    display: inline-flex;
    width: auto;
    min-width: 260px;
}

.inline-product-badge,
.article-body .inline-product-badge,
.article-block-product-card .inline-product-badge {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 999px;
    background: #b93d27;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
}

.article-product-promo {
    display: grid;
    gap: 12px;
    justify-items: center;
}

.article-product-offer-line {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
}

.inline-product-reduction {
    color: var(--accent);
    font-weight: 700;
}

.article-product-previous-price,
.inline-product-previous-price,
.product-previous-price,
.main-product .product-previous-price {
    color: var(--muted);
    text-decoration: line-through;
}

.article-body {
    line-height: 1.75;
    margin-top: 15px;
}

.article-body .inline-product-callout,
.article-body .inline-product-meta {
    display: grid;
    justify-items: center;
    gap: 8px;
}

.article-body .inline-product-partner-label,
.main-product .product-partner-label,
.article-block-product-card .product-partner-label {
    color: var(--muted);
    font-weight: 600;
    text-align: center;
}

.article-block-product-card .price {
    margin-bottom: 4px;
}

.article-block-product-card .product-partner-label {
    margin-top: 0;
    margin-bottom: 8px;
}

.rating-div {
    width: 6rem;
    height: 2rem;
    margin: -0.5rem auto auto;
}

.rating-box {
    color: #e8e8e8;
    width: 10rem;
    margin: auto;
}

.rating-star {
    font-size: 1.5rem;
    width: 1.2rem;
    height: 1.5rem;
    padding: 0 0.1rem;
    position: relative;
    display: block;
    float: left;
}

.star100:before,
.star25:before,
.star50:before,
.star75:before {
    color: #f2b01e;
    content: "\2605";
    position: absolute;
    left: 0;
    overflow: hidden;
}

.star0:before {
    content: "\2605";
    position: absolute;
    left: 0;
    overflow: hidden;
}

.star25:after {
    content: '\2605';
    position: absolute;
    left: 0.5rem;
    text-indent: -0.5rem;
    overflow: hidden;
}

.star50:after {
    content: '\2605';
    position: absolute;
    left: 0.65rem;
    text-indent: -0.65rem;
    overflow: hidden;
}

.star75:after {
    content: '\2605';
    position: absolute;
    left: 0.85rem;
    text-indent: -0.85rem;
    overflow: hidden;
}

.is-hidden {
    display: none;
}

.meta-line,
.tag-row,
.backlinks,
.discover-stack,
.main-product .product-actions,
.stack-form,
.context-radio-group,
.context-option-block {
    display: grid;
    gap: 10px;
}

.meta-line,
.tag-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 14px;
}

.main-product {
    text-align: center;
}

.main-product .product-image {
    max-width: 500px;
    margin: 0 auto 16px;
}

.main-product .product-name {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.top-gift-badge {
    margin-bottom: 10px;
}

.top-gift-badge img {
    width: min(100%, 148px);
    height: auto;
}

.main-product .product-actions {
    justify-content: center;
    margin-top: 14px;
}

.article-block-product-card .product-actions {
    display: grid;
    gap: 10px;
    justify-content: center;
    margin-top: 14px;
}

.trust-note {
    margin-top: 18px;
}

.tlbc-btn-wide,
.buy-button-wide {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 260px;
    text-align: center;
}

.add-to-list-button,
.modal-submit-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
}

.modal-submit-button,
.modal-temporary-button {
    width: fit-content;
    max-width: 100%;
    min-width: 0;
    align-self: center;
    margin-inline: auto;
    text-align: center;
    white-space: nowrap;
    font-size: 1rem;
    line-height: 1.2;
    font-weight: 400;
}

.add-to-list-button .button-icon,
.modal-submit-button .button-icon {
    width: 1rem;
    height: 1rem;
    flex: 0 0 auto;
    fill: currentColor;
}

.existing-article-lists {
    margin-top: 14px;
    display: grid;
    gap: 4px;
    justify-items: center;
    text-align: center;
    font-size: 0.92rem;
}

.existing-article-lists-links {
    display: grid;
    gap: 4px;
    justify-items: center;
}

.existing-article-lists a {
    color: var(--accent);
    text-decoration: underline;
}

.stack-form .form-select {
    padding-right: 2.75rem;
}

.list-modal-card {
    width: min(560px, 100%);
}

.list-modal-card .stack-form {
    gap: 12px;
}

.list-modal-card .modal-section + .modal-section {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.list-modal-separator {
    padding: 10px 24px;
    text-align: center;
    color: var(--muted);
    font-weight: 600;
    letter-spacing: 0.04em;
}

.modal-temporary-form {
    margin-bottom: 14px;
}

.modal-auth-links {
    text-align: center;
}

.list-context-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 12px;
}

.list-context-row label {
    margin: 0;
    font-weight: 600;
}

.list-context-row .form-select {
    width: 100%;
}

.context-radio-group legend {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.context-radio-option,
.stack-form label {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    margin: 0;
    padding: 10px 12px;
    border: 1px solid var(--panel-border);
    border-radius: 12px;
    background: #fff;
}

.context-radio-option input[type="radio"],
.stack-form label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    flex: 0 0 auto;
}

.field-block.inline-date-field {
    display: none;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 12px;
}

.inline-date-field label {
    display: block;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    font-weight: 400;
}

.inline-date-field .form-control {
    width: min(150px, 100%);
    justify-self: start;
}

.field-block.inline-date-field.is-open {
    display: grid;
}

.form-error-list,
.global-error,
.status-note {
    margin-top: 1rem;
    padding: 12px 14px;
    border-radius: 12px;
}

.global-error,
.form-error-list {
    background: #fff1ee;
}

.status-note {
    background: #eef7ec;
}

.modal-backdrop-custom {
    position: fixed;
    inset: 0;
    background: rgba(22, 18, 15, 0.55);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 1000;
}

.modal-backdrop-custom.is-open {
    display: flex;
}

.modal-card {
    width: min(640px, 100%);
    max-height: 90vh;
    overflow: auto;
    border-radius: 22px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.18);
}

.modal-header-custom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 24px 24px 0;
    margin-bottom: 16px;
}

.modal-header-custom h2 {
    margin: 0;
}

.modal-card > .modal-section {
    padding: 0 24px;
}

.modal-card > .modal-section:last-child {
    padding-bottom: 24px;
}

.close-modal {
    border: 0;
    background: transparent;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    color: var(--muted);
}

.modal-section + .modal-section {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #ece3d8;
}

.centered-panel,
.auth-panel,
.contact-form-shell,
.about-copy {
    max-width: 760px;
    margin: 0 auto;
}

.auth-panel-wide {
    max-width: 820px;
}

.about-copy {
    max-width: 920px;
}

.auth-form,
.form-grid,
.cookie-form {
    display: grid;
    gap: 14px;
}

.auth-register-submit {
    text-align: center;
    margin-top: 4px;
    margin-bottom: 30px;
}

.auth-register-links {
    display: grid;
    gap: 8px;
    text-align: center;
}

.auth-register-links p {
    margin: 0;
}

.auth-google-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 38px;
    line-height: 1.1;
}

.auth-google-button-icon {
    width: 0.95rem;
    height: 0.95rem;
    flex: 0 0 auto;
}

.auth-ou-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 6px 0 18px;
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.auth-ou-divider::before,
.auth-ou-divider::after {
    content: '';
    flex: 1;
    border-top: 1px solid #e3d7ca;
}

.auth-ou-divider span {
    white-space: nowrap;
}

.cookie-form {
    margin-top: 18px;
}

.cookie-choice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.cookie-choice input {
    margin-top: 0.2rem;
}

.cookie-form-actions {
    text-align: center;
}

.auth-login-submit {
    margin-bottom: 12px;
    text-align: center;
}

.auth-login-links {
    margin: 0;
    text-align: center;
}

.auth-login-links + .auth-login-links {
    margin-top: 8px;
}

.form-grid {
    gap: 16px;
    margin-top: 1.5rem;
}

.field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
}

.field textarea {
    min-height: 180px;
    resize: vertical;
}

.captcha-row {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 16px;
    align-items: center;
}

.auth-captcha,
.captcha-image {
    border: 1px solid var(--panel-border);
    border-radius: 12px;
    background: #fff;
}

.auth-captcha {
    display: block;
    margin: 8px 0 10px;
}

.honeypot {
    position: absolute;
    left: -9999px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr;
    gap: 24px;
}

.contact-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.cta.alt {
    background: #ede1d3;
    color: var(--text);
}

.about-copy ul,
.legal-copy ul {
    padding-left: 1.2rem;
}

.legal-copy {
    font-size: 1rem;
}

.legal-copy p {
    margin: 0 0 1rem;
}

.credit-columns {
    columns: 2 18rem;
    gap: 2rem;
}

.placeholder-card {
    background: #fff;
}

.home-code,
.placeholder-code {
    background: #f1ece4;
    padding: 2px 6px;
    border-radius: 4px;
}

.contact-copy p,
.contact-card p,
.linked-article-card p,
.discover-mini-card p,
.related-content-card .content p {
    margin: 0;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    max-width: 760px;
    margin: 0 auto;
}

.dashboard-stack {
    display: grid;
    gap: 18px;
}

.dashboard-account-actions {
    justify-content: center;
}

.list-card,
.temp-card {
    display: grid;
    gap: 10px;
    border: 1px solid var(--panel-border);
    border-radius: 14px;
    padding: 16px;
    background: #fff;
}

.list-card-link {
    color: inherit;
    text-decoration: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.list-card-link:hover,
.list-card-link:focus-visible {
    color: inherit;
    text-decoration: none;
    border-color: #d9c3ad;
    box-shadow: 0 12px 30px rgba(69, 46, 29, 0.08);
    transform: translateY(-1px);
}

.list-meta,
.muted {
    color: var(--muted);
}

.list-meta-stack {
    display: grid;
    gap: 4px;
}

.list-title {
    margin: 0;
    font-size: 1.1rem;
}

.pill-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.pill-row span {
    padding: 6px 10px;
    border-radius: 999px;
    background: #f1ece4;
    font-size: 0.92rem;
}

.list-form-shell {
    max-width: 860px;
    margin: 0 auto;
}

.list-form-intro {
    margin-bottom: 0;
}

.list-form-grid {
    display: grid;
    gap: 18px;
}

.list-form-row-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.list-form-field {
    display: grid;
    gap: 8px;
    align-content: start;
}

.list-form-field input,
.list-form-field select {
    width: 100%;
    padding: 12px 14px;
    min-height: 48px;
    border-radius: 12px;
    border: 1px solid var(--panel-border);
    background: #fff;
    font-size: 1rem;
    line-height: 1.2;
}

.list-form-select {
    padding-right: 42px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #8c3b2a 50%), linear-gradient(135deg, #8c3b2a 50%, transparent 50%);
    background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 12px) calc(50% - 3px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

.list-settings-card {
    display: grid;
    gap: 16px;
    padding: 18px;
    border: 1px solid var(--panel-border);
    border-radius: 16px;
    background: #fff;
}

.list-section-title {
    margin: 0;
    font-size: 1.05rem;
}

.list-form-context-row {
    align-items: center;
}

.list-form-context-block {
    display: none;
    gap: 14px;
}

.list-form-context-block.is-open {
    display: grid;
}

.list-form-inline-date {
    grid-template-columns: auto minmax(0, 200px);
    align-items: center;
}

.list-form-inline-date label {
    margin: 0;
    font-weight: 400;
}

.list-form-inline-date input {
    min-height: 40px;
    padding-block: 8px;
}

.list-form-switch-group {
    display: grid;
    gap: 10px;
}

.list-form-switch-group .list-form-switch-control + .list-form-switch-control {
    border-top: 1px solid var(--panel-border);
    padding-top: 12px;
    margin-top: 2px;
}

.list-form-switch-control {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    padding: 4px 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    cursor: pointer;
}

.list-form-switch-control > span:last-child {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    flex: 0 0 48px;
    width: 48px;
    height: 28px;
}

.list-form-switch-control input {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    pointer-events: auto;
    cursor: pointer;
    z-index: 1;
}

.list-form-switch-text {
    flex: 1;
}

.list-form-switch-slider {
    position: relative;
    flex: 0 0 48px;
    width: 48px;
    height: 28px;
    border-radius: 999px;
    background: #d7cec5;
    transition: background 0.2s ease;
}

.list-form-switch-slider::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease;
}

.list-form-switch-control input:checked + .list-form-switch-slider {
    background: #8c3b2a;
}

.list-form-switch-control input:checked + .list-form-switch-slider::after {
    transform: translateX(20px);
}

.list-form-switch-control input:focus-visible + .list-form-switch-slider {
    outline: 2px solid #8c3b2a;
    outline-offset: 3px;
}

.list-form-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-top: 6px;
}

.temp-card {
    grid-template-columns: 100px 1fr;
    align-items: start;
}

.temp-card img {
    width: 100%;
    border-radius: 12px;
    display: block;
    background: #f1ece4;
}

.temp-card-image-link {
    display: block;
}

.action-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.temp-card-actions {
    display: grid;
    gap: 12px;
    margin-top: 12px;
}

.temp-card-actions .btn,
.transfer-form .btn,
.inline-form {
    justify-self: center;
}

.temp-card-actions .btn-success {
    min-width: 150px;
    text-align: center;
}

.action-row .secondary,
.dashboard-stack .secondary {
    display: inline-block;
    padding: 10px 14px;
    border-radius: 999px;
    background: #ede1d3;
    color: var(--text);
}

.inline-form {
    display: inline-flex;
}

.transfer-form {
    display: grid;
    gap: 10px;
    margin-top: 0;
}

.transfer-label {
    color: var(--text);
    font-size: 0.98rem;
}

.transfer-form select {
    min-width: 220px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid var(--panel-border);
    background: #fff;
}

.inline-form .btn-outline-danger,
.transfer-form .btn-outline-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.inline-form .btn-outline-danger svg,
.transfer-form .btn-outline-secondary svg {
    width: 1rem;
    height: 1rem;
    fill: currentColor;
    flex: 0 0 auto;
}

.list-header {
    display: grid;
    gap: 12px;
}

.list-header-action-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
}

.list-header-action-button .button-icon {
    width: 1rem;
    height: 1rem;
    flex: 0 0 auto;
    fill: currentColor;
}

.share-stack,
.participants-stack {
    display: grid;
    gap: 16px;
}

.field-block textarea,
.field-block select {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid var(--panel-border);
    background: #fff;
}

.mode-card,
.participant-card {
    border: 1px solid var(--panel-border);
    border-radius: 14px;
    background: #fff;
    padding: 16px;
}

.participant-card {
    display: grid;
    gap: 10px;
}

.participant-card .action-row {
    justify-content: center;
}

.participant-action-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 220px;
    max-width: 100%;
    text-align: center;
}

.participant-head {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.status-badge {
    padding: 6px 10px;
    border-radius: 999px;
    background: #f1ece4;
    font-size: 0.92rem;
}

.share-actions,
.participants-header-actions {
    justify-content: center;
}

.share-action-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    width: 13rem;
    max-width: 100%;
}

.share-action-button .button-icon {
    width: 1rem;
    height: 1rem;
    flex: 0 0 auto;
    fill: currentColor;
}

.share-action-button [data-copy-label="true"] {
    min-width: 0;
    text-align: center;
}

.share-action-button .button-icon.is-hidden {
    visibility: hidden;
}

.article-stack {
    display: grid;
    gap: 16px;
    margin-bottom: 24px;
    grid-template-columns: 1fr;
}

.article-card {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 16px;
    border: 1px solid var(--panel-border);
    border-radius: 14px;
    padding: 16px;
    background: #fff;
}

.article-card img,
.image-placeholder {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 12px;
    background: #f1ece4;
}

.image-placeholder {
    display: grid;
    place-items: center;
    color: var(--muted);
    font-size: 0.92rem;
    text-align: center;
    padding: 12px;
}

.article-title {
    margin: 0 0 8px;
}

.article-card-content {
    display: grid;
    justify-items: center;
    text-align: center;
}

.article-card-content .action-row {
    justify-content: center;
}

.price-line {
    margin: 0 0 6px;
}

.article-list-promo-badge {
    margin: 4px 0 6px;
}

.status-ok {
    color: #295b2d;
}

.status-warn {
    color: #8a2b1f;
}

.secondary-link {
    display: inline-block;
    padding: 10px 14px;
    border-radius: 999px;
    background: #ede1d3;
    color: var(--text);
}

.buy-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    text-align: center;
}

.list-card-action-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 220px;
    max-width: 100%;
    text-align: center;
}

.transfer-action-row {
    justify-content: center;
}

.create-idea-action-row {
    justify-content: flex-start;
}

.dashboard-create-list-action-row {
    justify-content: center;
}

.list-article-delete-form {
    display: flex;
    justify-content: center;
    width: auto;
}

.danger-link {
    display: inline-block;
    padding: 10px 14px;
    border-radius: 999px;
    background: #f9e4e1;
    color: #8a2b1f;
    border: 0;
    cursor: pointer;
}

.add-form-grid {
    display: grid;
    gap: 14px;
}

.field-block {
    display: grid;
    gap: 8px;
}

.field-block input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid var(--panel-border);
    background: #fff;
}

.field-block .form-select {
    width: 100%;
}

.modal-body-custom,
.modal-footer-custom {
    padding: 18px 20px;
}

.modal-body-custom p {
    margin: 0;
}

.modal-footer-custom {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
    border-top: 1px solid var(--panel-border);
}

@media (max-width: 1080px) {
    .results-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 940px) {
    .article-layout,
    .detail-grid,
    .product-card,
    .related-grid,
    .related-gifts-grid,
    .related-content-card,
    .article-secondary-panels,
    .linked-articles-grid {
        grid-template-columns: 1fr;
    }

    .teaser-item {
        grid-template-columns: 72px 1fr;
    }

    .tlbc-btn-wide,
    .buy-button-wide {
        width: min(100%, 320px);
        min-width: 0;
    }
}

@media (max-width: 920px) {
    .grid,
    .story,
    .results-grid,
    .dashboard-grid,
    .theme-layout,
    .theme-card,
    .theme-gifts,
    .related-gifts-grid.theme-related-gifts-grid,
    .choices {
        grid-template-columns: 1fr;
    }

    .temp-card {
        grid-template-columns: 1fr;
    }

    .detail-card h1,
    .article-shell h1,
    .theme-hero h1,
    main h1 {
        font-size: 2rem;
    }
}

@media (max-width: 860px) {
    .list-form-row-grid {
        grid-template-columns: 1fr;
    }

    .list-form-inline-date {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .captcha-row {
        grid-template-columns: 1fr;
    }

    .article-card {
        grid-template-columns: 1fr;
    }

    .list-card-action-button {
        width: 220px;
        max-width: 100%;
        margin-inline: auto;
    }

    .create-idea-action-row {
        justify-content: center;
    }
}

@media (min-width: 1200px) {
    .article-stack {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        align-items: start;
    }

    .article-card {
        grid-template-columns: 1fr;
        align-content: start;
    }
}

@media (max-width: 980px) {
    .nav-shell {
        grid-template-columns: 1fr auto;
        gap: 14px;
    }

    .nav-toggle {
        display: block;
        grid-column: 2;
        grid-row: 1;
    }

    .nav-panel {
        grid-column: 1 / -1;
        display: none;
        background: rgba(255, 255, 255, 0.06);
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 18px;
        padding: 16px;
    }

    .nav-panel.is-open {
        display: grid;
        gap: 16px;
    }

    .nav-links,
    .nav-search {
        justify-content: flex-start;
        width: 100%;
    }

    .nav-links {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .nav-links a,
    .nav-links details summary {
        display: block;
        width: 100%;
        padding: 8px 0;
    }

    .nav-links details {
        width: 100%;
    }

    .menu-panel {
        position: static;
        margin-top: 10px;
        min-width: 0;
        width: 100%;
        box-shadow: none;
    }

    .nav-search {
        flex-direction: column;
        align-items: stretch;
    }

    .nav-search input {
        width: 100%;
    }

    .search-form-grid,
    .search-form-inline {
        grid-template-columns: 1fr;
    }

    .search-shell {
        padding: 22px;
    }
}

@media (max-width: 640px) {
    .list-context-row {
        grid-template-columns: 1fr;
        align-items: stretch;
    }
}