/* css/style.css */
:root {
    --ink: #21182a;
    --muted: #655d6f;
    --line: #e6e1ea;
    --line-strong: #d7cede;
    --surface: #ffffff;
    --surface-soft: #faf8fc;
    --purple: #642d91;
    --purple-dark: #3f1d5f;
    --purple-soft: #f0e7f8;
    --purple-tint: #f7f2fb;
    --gold: #f4b942;
    --gold-dark: #9a6900;
    --success: #176b4d;
    --danger: #b42318;
    --shadow-sm: 0 8px 24px rgba(42, 23, 56, 0.08);
    --shadow-md: 0 18px 50px rgba(42, 23, 56, 0.16);
    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;
    --container: 1180px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
}

body {
    margin: 0;
    background: var(--surface-soft);
    color: var(--ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.no-scroll {
    overflow: hidden;
}

[hidden] {
    display: none !important;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--purple);
    text-decoration: underline;
    text-underline-offset: 0.16em;
}

a:hover {
    color: var(--purple-dark);
}

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

button:disabled {
    cursor: not-allowed;
    opacity: 0.62;
}

:focus-visible {
    outline: 3px solid rgba(100, 45, 145, 0.35);
    outline-offset: 3px;
    border-radius: 6px;
}

h1,
h2,
h3,
h4,
p {
    margin-top: 0;
}

h1,
h2,
h3,
h4 {
    line-height: 1.2;
    color: var(--ink);
}

p {
    margin-bottom: 1rem;
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.clipboard-helper {
    position: fixed;
    left: -9999px;
    top: 0;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.skip-link {
    position: fixed;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 999;
    transform: translateY(-180%);
    padding: 0.75rem 1rem;
    background: var(--surface);
    color: var(--purple-dark);
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.container {
    width: min(100% - 2rem, var(--container));
    margin-inline: auto;
}

.eyebrow {
    margin-bottom: 0.55rem;
    color: var(--purple);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.announcement {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.62rem 1rem;
    background: var(--purple-dark);
    color: #ffffff;
    font-size: 0.88rem;
    text-align: center;
}

.announcement a {
    color: #ffe9a8;
    font-weight: 700;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
}

.header-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    min-height: 80px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--ink);
    text-decoration: none;
}

.brand:hover {
    color: var(--ink);
}

.brand-mark {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--purple), #a46bcf);
    color: #ffffff;
    font-size: 1.35rem;
    font-weight: 900;
    box-shadow: 0 8px 20px rgba(100, 45, 145, 0.24);
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-name {
    font-size: 1.05rem;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.brand-tagline {
    color: var(--muted);
    font-size: 0.78rem;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    margin-left: 0.4rem;
}

.site-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0.5rem 0.78rem;
    border-radius: 999px;
    color: var(--ink);
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
    background: var(--purple-soft);
    color: var(--purple-dark);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-left: auto;
}

.cart-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 42px;
    padding: 0.55rem 0.9rem;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: var(--surface);
    color: var(--ink);
    font-size: 0.9rem;
    font-weight: 800;
    text-decoration: none;
}

.cart-button:hover {
    border-color: var(--purple);
    color: var(--purple);
}

.cart-count {
    display: inline-grid;
    place-items: center;
    min-width: 1.6rem;
    height: 1.6rem;
    padding: 0 0.35rem;
    border-radius: 999px;
    background: var(--purple);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 900;
    line-height: 1;
}

.nav-toggle {
    display: none;
    align-items: center;
    gap: 0.35rem;
    min-height: 42px;
    padding: 0.5rem 0.8rem;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: var(--surface);
    color: var(--ink);
    font-size: 0.9rem;
    font-weight: 800;
}

.nav-toggle-icon {
    font-size: 1.05rem;
    line-height: 1;
}

.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 46px;
    padding: 0.82rem 1.25rem;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.button-primary {
    background: var(--purple);
    color: #ffffff;
    box-shadow: 0 10px 22px rgba(100, 45, 145, 0.2);
}

.button-primary:hover {
    background: var(--purple-dark);
    color: #ffffff;
}

.button-secondary {
    background: var(--surface);
    color: var(--purple-dark);
    border-color: var(--purple);
}

.button-secondary:hover {
    background: var(--purple-soft);
    color: var(--purple-dark);
}

.button-quiet {
    background: transparent;
    color: var(--purple-dark);
    border-color: var(--line-strong);
}

.button-quiet:hover {
    background: var(--purple-tint);
    border-color: var(--purple);
}

.button-wide {
    width: 100%;
}

.link-button {
    display: inline;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--purple);
    font: inherit;
    text-align: left;
    text-decoration: underline;
    text-underline-offset: 0.16em;
}

.link-button:hover {
    color: var(--purple-dark);
}

.icon-button {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--surface-soft);
    color: var(--ink);
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 1;
}

.icon-button:hover {
    background: var(--purple-soft);
    color: var(--purple-dark);
}

.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem;
    padding: 1.1rem 0 0;
    color: var(--muted);
    font-size: 0.86rem;
}

.breadcrumb a {
    color: var(--muted);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--purple);
    text-decoration: underline;
}

.product-hero {
    padding: 1.25rem 0 2rem;
}

.product-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: start;
}

.product-gallery {
    display: grid;
    gap: 1rem;
}

.gallery-main {
    display: grid;
    place-items: center;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--purple-soft);
    box-shadow: var(--shadow-sm);
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
}

.gallery-thumb {
    aspect-ratio: 1 / 1;
    padding: 0;
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: 14px;
    background: var(--surface);
    cursor: pointer;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-thumb:hover {
    border-color: var(--line-strong);
}

.gallery-thumb.is-active {
    border-color: var(--purple);
    box-shadow: 0 0 0 3px rgba(100, 45, 145, 0.12);
}

.image-note {
    margin: 0;
    color: var(--muted);
    font-size: 0.82rem;
}

.purchase-panel {
    padding: clamp(1.25rem, 3vw, 1.8rem);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    scroll-margin-top: 120px;
}

.product-kicker {
    margin-bottom: 0.55rem;
    color: var(--purple);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.product-title {
    margin-bottom: 0.8rem;
    font-size: clamp(1.6rem, 3.5vw, 2.35rem);
    letter-spacing: -0.035em;
}

.product-subtitle {
    margin-bottom: 1rem;
    color: var(--muted);
    font-size: 1rem;
}

.product-subtitle strong {
    color: var(--purple-dark);
}

.badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.15rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0.32rem 0.65rem;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: var(--surface-soft);
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 800;
}

.badge-purple {
    border-color: #dfcdec;
    background: var(--purple-soft);
    color: var(--purple-dark);
}

.badge-warning {
    border-color: #f0dcae;
    background: #fff8e5;
    color: var(--gold-dark);
}

.price-box {
    margin: 1.2rem 0;
    padding: 1rem;
    border: 1px solid #e5d8f1;
    border-radius: var(--radius);
    background: var(--purple-tint);
}

.price-label {
    margin-bottom: 0.15rem;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.price-value {
    margin: 0 0 0.25rem;
    color: var(--purple-dark);
    font-size: 1.55rem;
    font-weight: 900;
    letter-spacing: -0.025em;
}

.price-note {
    margin: 0;
    color: var(--muted);
    font-size: 0.86rem;
}

.availability-box {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.15rem;
    color: var(--success);
    font-size: 0.92rem;
}

.availability-dot {
    flex: 0 0 auto;
    width: 0.68rem;
    height: 0.68rem;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 0 4px rgba(23, 107, 77, 0.12);
}

.purchase-row {
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.1rem;
}

.quantity-field label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.84rem;
    font-weight: 800;
}

.quantity-control {
    display: grid;
    grid-template-columns: 42px 64px 42px;
    width: max-content;
    overflow: hidden;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: var(--surface);
}

.quantity-button {
    display: grid;
    place-items: center;
    min-height: 42px;
    padding: 0;
    border: 0;
    background: var(--surface-soft);
    color: var(--purple);
    font-size: 1.2rem;
    font-weight: 900;
}

.quantity-button:hover {
    background: var(--purple-soft);
}

.quantity-control input {
    width: 100%;
    padding: 0.45rem 0.25rem;
    border: 0;
    background: var(--surface);
    color: var(--ink);
    font-weight: 800;
    text-align: center;
    appearance: textfield;
}

.quantity-control input::-webkit-outer-spin-button,
.quantity-control input::-webkit-inner-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

.action-stack {
    display: grid;
    gap: 0.65rem;
}

.purchase-notes {
    margin: 1.2rem 0 0;
    padding: 0;
    list-style: none;
    color: var(--muted);
    font-size: 0.88rem;
}

.purchase-notes li {
    position: relative;
    margin: 0.35rem 0;
    padding-left: 1.35rem;
}

.purchase-notes li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 900;
}

.content-section {
    margin: 1.5rem 0;
    padding: clamp(1.25rem, 3vw, 2.25rem);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    scroll-margin-top: 120px;
}

.content-section h2 {
    margin-bottom: 1rem;
    font-size: clamp(1.45rem, 3vw, 2rem);
    letter-spacing: -0.025em;
}

.content-section h3 {
    margin-bottom: 0.6rem;
    font-size: 1.12rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-bottom: 1.6rem;
}

.feature-card {
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface-soft);
}

.feature-card p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 0.94rem;
}

.split-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.styled-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.styled-list li {
    position: relative;
    margin: 0.55rem 0;
    padding-left: 1.45rem;
    color: var(--muted);
}

.styled-list li::before {
    content: "•";
    position: absolute;
    left: 0.2rem;
    top: 0;
    color: var(--purple);
    font-weight: 900;
}

.details-table-wrap {
    overflow-x: auto;
}

.details-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
}

.details-table th,
.details-table td {
    padding: 0.8rem;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.details-table th {
    width: 36%;
    background: var(--surface-soft);
    color: var(--muted);
    font-weight: 800;
}

.safety-box {
    padding: 1rem 1.1rem;
    border-left: 5px solid var(--purple);
    border-radius: var(--radius-sm);
    background: var(--purple-tint);
}

.safety-box p:last-child {
    margin-bottom: 0;
}

.article-prose {
    max-width: 880px;
}

.article-prose p {
    color: var(--muted);
}

.article-prose h3 {
    margin-top: 1.35rem;
}

.faq-list {
    border-top: 1px solid var(--line);
}

.faq-list details {
    border-bottom: 1px solid var(--line);
}

.faq-list summary {
    position: relative;
    padding: 1rem 2rem 1rem 0;
    color: var(--ink);
    font-weight: 800;
    cursor: pointer;
    list-style: none;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    color: var(--purple);
    font-size: 1.4rem;
    font-weight: 900;
    line-height: 1;
}

.faq-list details[open] summary::after {
    content: "−";
}

.faq-list details p {
    margin: 0 0 1rem;
    color: var(--muted);
}

.contact-cta {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(250px, 0.7fr);
    gap: 1.5rem;
    align-items: center;
    background: linear-gradient(135deg, #ffffff, var(--purple-tint));
}

.contact-cta p:last-child {
    margin-bottom: 0;
}

.contact-actions {
    display: grid;
    gap: 0.7rem;
}

.legal-layout {
    padding-top: 0.25rem;
    padding-bottom: 1rem;
}

.legal-header {
    max-width: 860px;
    padding: 1.3rem 0 0.5rem;
}

.legal-header h1 {
    margin-bottom: 0.5rem;
    font-size: clamp(2rem, 5vw, 3.1rem);
    letter-spacing: -0.04em;
}

.legal-meta {
    color: var(--muted);
    font-size: 0.9rem;
}

.legal-content {
    max-width: 960px;
}

.legal-content h2 {
    margin-bottom: 1rem;
}

.legal-content h3 {
    margin-top: 1.65rem;
    font-size: 1.2rem;
}

.legal-content ul {
    margin-top: 0;
    color: var(--muted);
}

.legal-content li {
    margin: 0.45rem 0;
}

.legal-content code {
    padding: 0.08rem 0.35rem;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--surface-soft);
    color: var(--purple-dark);
    font-size: 0.9em;
}

.site-footer {
    margin-top: 4rem;
    padding: 3rem 0 1.5rem;
    background: #1f122b;
    color: #f8f2fc;
}

.site-footer a {
    color: #f4e8ff;
}

.site-footer a:hover {
    color: #ffffff;
}

.site-footer .brand {
    color: #ffffff;
}

.site-footer .brand-tagline {
    color: #c9b4db;
}

.site-footer .brand-mark {
    background: linear-gradient(135deg, #f4b942, #f3d17a);
    color: #2a1738;
}

.site-footer .link-button {
    color: #f4e8ff;
}

.site-footer .link-button:hover {
    color: #ffffff;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.45fr 0.85fr 1.25fr 0.75fr;
    gap: 2rem;
}

.footer-grid h2 {
    margin-bottom: 0.8rem;
    color: #ffffff;
    font-size: 1rem;
    letter-spacing: 0.02em;
}

.footer-brand-column p {
    max-width: 33rem;
    color: #d9cbe4;
}

.footer-note {
    font-size: 0.86rem;
}

.footer-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links li {
    margin: 0.45rem 0;
    color: #d9cbe4;
}

.footer-links a {
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2.5rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    color: #bfaace;
    font-size: 0.82rem;
}

.footer-bottom p {
    margin: 0;
}

.cookie-banner {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    z-index: 80;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
    max-width: 980px;
    margin-inline: auto;
    padding: 1.1rem 1.2rem;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow-md);
}

.cookie-banner h2 {
    margin-bottom: 0.35rem;
    font-size: 1rem;
}

.cookie-banner p {
    margin: 0;
    color: var(--muted);
    font-size: 0.88rem;
}

.cookie-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    justify-content: flex-end;
}

.drawer-backdrop,
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(18, 12, 24, 0.56);
}

.drawer-backdrop {
    z-index: 90;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    display: flex;
    flex-direction: column;
    width: min(430px, 100%);
    padding: 1.2rem;
    background: var(--surface);
    box-shadow: -20px 0 60px rgba(18, 12, 24, 0.28);
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--line);
}

.drawer-header h2 {
    margin: 0;
    font-size: 1.35rem;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 0.5rem 0;
}

.empty-cart {
    margin: 1rem 0;
    padding: 1rem;
    border: 1px dashed var(--line-strong);
    border-radius: var(--radius);
    background: var(--surface-soft);
    color: var(--muted);
    font-size: 0.92rem;
}

.cart-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.8rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
}

.cart-item-title {
    margin: 0 0 0.25rem;
    font-size: 0.92rem;
    font-weight: 800;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.cart-item-note {
    margin: 0;
    color: var(--muted);
    font-size: 0.8rem;
}

.cart-item-controls {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.45rem;
}

.quantity-control-small {
    grid-template-columns: 34px 44px 34px;
}

.cart-quantity {
    display: grid;
    place-items: center;
    min-height: 42px;
    background: var(--surface);
    color: var(--ink);
    font-size: 0.9rem;
    font-weight: 800;
}

.cart-remove {
    font-size: 0.8rem;
}

.cart-drawer-footer {
    padding-top: 1rem;
    border-top: 1px solid var(--line);
}

.cart-drawer-footer .button + .button {
    margin-top: 0.6rem;
}

.drawer-note {
    margin: 0.8rem 0 0;
    color: var(--muted);
    font-size: 0.8rem;
}

.modal-backdrop {
    z-index: 110;
}

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 120;
    width: min(560px, calc(100% - 2rem));
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
    padding: 1.5rem;
    transform: translate(-50%, -50%);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-md);
}

.modal-close {
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
}

.modal h2 {
    margin-bottom: 0.6rem;
    padding-right: 2.5rem;
    font-size: 1.5rem;
}

.modal-summary {
    margin: 1rem 0;
    padding: 0.85rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--surface-soft);
    color: var(--muted);
    font-size: 0.88rem;
    white-space: pre-line;
    overflow-wrap: anywhere;
}

.modal-actions {
    display: grid;
    gap: 0.65rem;
    margin-top: 1rem;
}

.modal-note {
    margin: 1rem 0 0;
    color: var(--muted);
    font-size: 0.85rem;
}

@media (max-width: 1000px) {
    .product-layout,
    .split-content,
    .contact-cta {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    html {
        scroll-padding-top: 90px;
    }

    .header-grid {
        min-height: 72px;
    }

    .nav-toggle {
        display: inline-flex;
        order: 2;
    }

    .site-nav {
        display: none;
        order: 5;
        flex-basis: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0.2rem;
        margin: 0;
        padding: 0.35rem 0 0.9rem;
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav a {
        justify-content: flex-start;
        width: 100%;
        border-radius: 12px;
    }

    .header-actions {
        margin-left: auto;
    }

    .header-cta {
        display: none;
    }
}

@media (max-width: 760px) {
    .cookie-banner {
        grid-template-columns: 1fr;
    }

    .cookie-actions {
        justify-content: stretch;
    }

    .cookie-actions .button {
        flex: 1 1 150px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-bottom {
        flex-direction: column;
    }
}

@media (max-width: 560px) {
    .container {
        width: min(100% - 1.25rem, var(--container));
    }

    .brand-tagline {
        display: none;
    }

    .brand-name {
        font-size: 0.98rem;
    }

    .cart-button {
        padding: 0.5rem 0.7rem;
        font-size: 0.82rem;
    }

    .product-title {
        font-size: 1.5rem;
    }

    .price-value {
        font-size: 1.35rem;
    }

    .thumbnail-row {
        gap: 0.45rem;
    }

    .gallery-thumb {
        border-radius: 10px;
    }

    .content-section,
    .purchase-panel {
        border-radius: 14px;
    }

    .cart-item {
        grid-template-columns: 1fr;
    }

    .cart-item-controls {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .modal {
        padding: 1.2rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}