:root {

    /* פלטת "הורוויץ יודאיקה": נייר קרפט חום-בהיר ובורדו
       של כריכות ספרי קודש ישנים */
    --paper: #efe3cd;        /* רקע הדף - חום בהיר */
    --paper-raised: #f7efe0; /* חלונות, מגירות, כרטיסים */
    --kraft: #e2d0b0;        /* משטחים משניים ושורות */
    --line: #d3bd98;         /* קווים וגבולות */
    --burgundy: #6b1f2a;     /* צבע המותג */
    --burgundy-deep: #4f1520;
    --ink: #3a2024;          /* טקסט רגיל */
    --muted: #7d6352;        /* טקסט משני */
    --on-burgundy: #f3e7d3;  /* טקסט על רקע בורדו */

    /* שמות ישנים - ממופים לפלטה החדשה */
    --black: var(--burgundy-deep);
    --text: var(--ink);
    --light: var(--kraft);
    --white: var(--paper-raised);
    --accent: var(--burgundy);

    --container: 1440px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--paper);
    color: var(--text);
    font-family: "David Libre", "Times New Roman", serif;
    font-size: 15px;
    line-height: 1.6;
}

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

a {
    color: inherit;
    text-decoration: none;
}
/* ==================================================
   HEADER - עמוד שער
   הראש בנוי כמו עמוד שער של ספר ישן. כל הראש "נצמד"
   למעלה, אבל במרחק שלילי בגובה עמוד השער - כך שבגלילה
   עמוד השער נעלם ורק שורת התפריט נשארת גלויה.
================================================== */
:root {
    --masthead-h: 168px;
}

.site-header {
    position: sticky;
    top: calc(-1 * var(--masthead-h));
    z-index: 1000;
}

.masthead {
    height: var(--masthead-h);
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--paper);
    border-top: 5px solid var(--burgundy);
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--burgundy);
    text-align: center;
}

.logo-mark {
    width: 40px;
    height: 50px;
    margin-bottom: 8px;
}

.logo-mark svg,
.footer-mark svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.logo-portal {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
}

.logo-portal-fine {
    fill: none;
    stroke: currentColor;
    stroke-width: .7;
    opacity: .6;
}

.logo-portal-solid {
    fill: currentColor;
}

.logo-mark-letter {
    font-family: "Bona Nova", "David Libre", serif;
    font-size: 22px;
    font-weight: 700;
    fill: currentColor;
}

.logo-main {
    font-family: "Bona Nova", "David Libre", serif;
    font-size: 40px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .5px;
    white-space: nowrap;
}

.logo-rule {
    display: block;
    width: 220px;
    height: 12px;
    margin: 9px 0 6px;
}

.logo-rule svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: .8;
}

.logo-rule .logo-rule-solid,
.colophon-ornament .logo-rule-solid {
    fill: currentColor;
    stroke: none;
}

/* שורת המשנה בכתב רש"י, כמו בדפוסים ישנים */
.logo-sub {
    font-family: "Noto Rashi Hebrew", "David Libre", serif;
    font-size: 15px;
    color: var(--muted);
    white-space: nowrap;
}

html[lang="en"] .logo-sub {
    font-family: "David Libre", serif;
    font-style: italic;
}

/* שורת התפריט */
.header-bar {
    background: var(--paper-raised);
    border-top: 1px solid var(--line);
    border-bottom: 3px double var(--line);
}

.header-inner {
    max-width: var(--container);
    height: 54px;
    margin: auto;
    padding: 0 35px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.main-navigation {
    grid-column: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-navigation a {
    position: relative;
    padding: 4px 22px;
    font-family: "Bona Nova", "David Libre", serif;
    font-size: 16px;
    color: var(--ink);
    transition: color .2s;
}

/* מעוין קטן בין הקישורים, כמו בעיטורי דפוס */
.main-navigation a + a::before {
    content: "";
    position: absolute;
    inset-inline-start: -2.5px;
    top: 50%;
    width: 5px;
    height: 5px;
    background: var(--line);
    transform: translateY(-50%) rotate(45deg);
}

.main-navigation a:hover {
    color: var(--burgundy);
}

.main-navigation a:focus-visible,
.header-action:focus-visible,
.mobile-menu-button:focus-visible {
    outline: 2px solid var(--burgundy);
    outline-offset: 3px;
}

.header-actions {
    grid-column: 3;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 16px;
}

.header-action {
    position: relative;
    border: 0;
    background: transparent;
    color: var(--ink);
    padding: 4px;
    transition: color .2s;
}

.header-action:hover {
    color: var(--burgundy);
}

.header-action svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.3;
}

.lang-toggle {
    font-family: "Bona Nova", "David Libre", serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .5px;
    cursor: pointer;
    border: 1px solid var(--line) !important;
    padding: 3px 10px !important;
    border-radius: 0;
    transition: border-color .2s, color .2s;
}

.lang-toggle:hover {
    color: var(--accent);
    border-color: var(--accent);
}

.cart-count {
    position: absolute;
    top: -6px;
    inset-inline-end: -7px;
    min-width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--burgundy);
    color: var(--on-burgundy);
    font-size: 12px;
    line-height: 1;
}

.mobile-menu-button {
    display: none;
    grid-column: 1;
    justify-self: start;
    border: 0;
    background: transparent;
    padding: 6px 2px;
}

.mobile-menu-button span {
    display: block;
    width: 22px;
    height: 1px;
    background: var(--burgundy);
    margin: 5px 0;
}

.mobile-navigation {
    display: none;
}
/* ==================================================
   INTRO
================================================== */
.collection-intro {
    padding: 15px 25px 30px;
    text-align: center;
}

.intro-container {
    max-width: 750px;
    margin: auto;
}

.section-label {
    display: block;
    color: var(--muted);
    font-size: 12px;
    letter-spacing: 1.5px;
}

.collection-intro h1 {
    font-family: "Bona Nova", "David Libre", serif;
    font-weight: 500;
    font-size: clamp(34px, 4vw, 48px);
    line-height: 1.15;
    margin: 8px 0 12px;
    color: var(--ink);
}

.collection-intro p {
    max-width: 560px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
}
/* ==================================================
   CATEGORY NAV
================================================== */
.category-navigation {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.category-inner {
    max-width: var(--container);
    margin: auto;
    padding: 0 35px;
    display: flex;
    justify-content: center;
    overflow-x: auto;
}

.category {
    padding: 17px 25px;
    white-space: nowrap;
    color: var(--muted);
    font-size: 12px;
    border-bottom: 1px solid transparent;
    transition: .2s;
}

.category:hover,
.category.active {
    color: var(--ink);
    border-bottom-color: var(--burgundy);
}
/* ==================================================
   COLLECTION
================================================== */
.collection {
    max-width: var(--container);
    margin: auto;
    padding: 55px 35px 120px;
}

.collection-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 35px;
}

.collection-count {
    display: flex;
    align-items: center;
    gap: 13px;
}

.collection-count strong {
    font-size: 16px;
    font-weight: 500;
}

.collection-count span {
    color: var(--muted);
    font-size: 13px;
}

.collection-tools {
    display: flex;
    gap: 25px;
}

.filter-button,
.sort-button {
    border: 0;
    background: transparent;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--ink);
    font-size: 12px;
}

.filter-button svg,
.sort-button svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.3;
}

.sort-button span {
    color: var(--muted);
}

.collection-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 45px;
}
/* ==================================================
   FILTER SIDEBAR
================================================== */
.filter-sidebar {
    border-top: 1px solid var(--line);
}

.filter-heading {
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
}

.filter-heading strong {
    font-weight: 500;
}

.filter-heading button {
    display: none;
    border: 0;
    background: transparent;
    font-size: 24px;
}

.filter-group {
    border-bottom: 1px solid var(--line);
    padding: 19px 0;
}

.filter-title {
    width: 100%;
    border: 0;
    background: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    color: var(--ink);
}

.filter-title span {
    color: var(--muted);
}

.filter-options {
    padding-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.filter-options label {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--muted);
    font-size: 12px;
    cursor: pointer;
}

.filter-options input {
    width: 14px;
    height: 14px;
    accent-color: var(--burgundy);
}

.price-fields {
    display: grid;
    grid-template-columns: 1fr 10px 1fr;
    align-items: center;
    gap: 5px;
    margin-top: 15px;
}

.price-fields input {
    width: 100%;
    border: 1px solid var(--line);
    padding: 8px;
    outline: none;
    font-size: 13px;
}

.clear-filters {
    border: 0;
    background: transparent;
    color: var(--muted);
    text-decoration: underline;
    text-underline-offset: 4px;
    margin-top: 20px;
    font-size: 13px;
}
/* ==================================================
   SORT MENU
================================================== */
.sort-wrapper {
    position: relative;
}

.sort-menu {
    position: absolute;
    top: calc(100% + 10px);
    inset-inline-end: 0;
    min-width: 230px;
    background: var(--paper-raised);
    border: 1px solid rgba(79, 21, 32, 0.08);
    box-shadow: 0 10px 30px rgba(79, 21, 32, 0.10);
    border-radius: 8px;
    padding: 6px;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.18s ease,
        transform 0.18s ease,
        visibility 0.18s ease;
}

.sort-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sort-option {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 12px;
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 14px;
    text-align: right;
    cursor: pointer;
    border-radius: 6px;
    color: inherit;
}

.sort-option:hover {
    background: rgba(0, 0, 0, 0.04);
}

.sort-option .sort-check {
    width: 16px;
    font-size: 14px;
    visibility: hidden;
}

.sort-option.active .sort-check {
    visibility: visible;
}
/* ==================================================
   PRODUCTS
================================================== */
.products {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 22px;
    row-gap: 50px;
}

.product {
    min-width: 0;
}

.product-image {
    position: relative;
    display: block;    
    aspect-ratio: 4 / 5;
    background: var(--kraft);
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .6s cubic-bezier(.2,.6,.2,1);
}

.product:hover
.product-image img {
    transform: scale(1.025);
}

.no-results {
    display: none;
    text-align: center;
    padding: 80px 30px;
    color: var(--muted);
}

.no-results.visible {
    display: block;
}

.no-results h3 {
    margin: 0 0 8px;
    color: var(--ink);
}

.no-results p {
    margin: 0 0 22px;
    line-height: 1.6;
}

.wishlist {
    position: absolute;
    top: 13px;
    inset-inline-start: 13px;
    width: 31px;
    height: 31px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: rgba(247, 239, 224, .92);
    color: var(--ink);
    font-size: 18px;
}

.wishlist.active {
    color: var(--accent);
}

.product-info {
    padding-top: 15px;
}

.product-type {
    color: var(--muted);
    font-size: 13px;
    letter-spacing: .8px;
}

.product-info h2 {
    font-family: "Bona Nova", "David Libre", serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.25;
    margin-top: 4px;
}

.product-info p {
    color: var(--muted);
    font-size: 13px;
    margin-top: 3px;
}

.product-info strong {
    display: block;
    margin-top: 9px;
    font-size: 13px;
    font-weight: 500;
}

.product-sold {
    color: var(--accent);
}
/* ==================================================
   ABOUT
================================================== */
.about-section {
    background: var(--kraft);
    padding: 105px 35px;
}

.about-content {
    max-width: 680px;
    margin: auto;
    text-align: center;
}

.about-content h2 {
    font-family: "Bona Nova", "David Libre", serif;
    font-weight: 400;
    font-size: 48px;
    margin-top: 12px;
}

.about-content p {
    max-width: 540px;
    margin: 18px auto 0;
    color: var(--muted);
    line-height: 1.9;
}

.simple-link {
    display: inline-flex;
    gap: 12px;
    margin-top: 25px;
    padding: 0 0 4px;
    border: 0;
    border-bottom: 1px solid var(--muted);
    font-size: 12px;
    background: transparent;
    color: inherit;
    font-family: inherit;
    cursor: pointer;
}

.simple-link span {
    transition: transform .2s;
}

.simple-link:hover span {
    transform: translateX(-4px);
}

/* ==================================================
   AUTHENTICITY INFO
================================================== */
.info-overlay {
    position: fixed;
    inset: 0;
    z-index: 3000;
    background: rgba(0, 0, 0, .32);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    opacity: 0;
    visibility: hidden;
    transition: .25s;
}

.info-overlay.open {
    opacity: 1;
    visibility: visible;
}

.info-box {
    position: relative;
    width: min(560px, 100%);
    max-height: 85vh;
    overflow-y: auto;
    background: var(--paper-raised);
    padding: 50px 45px;
    box-shadow: 0 20px 60px rgba(79, 21, 32, .18);
}

.info-close {
    position: absolute;
    top: 18px;
    inset-inline-start: 18px;
    border: 0;
    background: transparent;
    font-size: 24px;
    font-weight: 300;
    cursor: pointer;
    line-height: 1;
}

.info-box h2 {
    font-family: "Bona Nova", "David Libre", serif;
    font-weight: 400;
    font-size: 28px;
    margin-top: 10px;
    line-height: 1.35;
}

.info-body {
    margin-top: 22px;
}

.info-body p {
    color: var(--muted);
    line-height: 1.85;
    font-size: 14px;
}

.info-body p + p {
    margin-top: 14px;
}
/* ==================================================
   NEWSLETTER
================================================== */
.newsletter {
    max-width: 900px;
    margin: auto;
    padding: 90px 35px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.newsletter h2 {
    font-family: "Bona Nova", "David Libre", serif;
    font-size: 34px;
    font-weight: 400;
    margin-top: 8px;
}

.newsletter p {
    color: var(--muted);
    margin-top: 5px;
    font-size: 12px;
}

.newsletter-form {
    display: flex;
    border-bottom: 1px solid var(--burgundy);
}

.newsletter-form input {
    flex: 1;
    border: 0;
    outline: 0;
    padding: 12px 0;
    background: transparent;
    font-size: 12px;
}

.newsletter-form button {
    border: 0;
    background: transparent;
    font-size: 12px;
}
/* ==================================================
   FOOTER - קולופון
   כמו הדף האחרון בספר: מסגרת כפולה, עמודות קישורים,
   ובסוף עיטור ו"תם ונשלם" בכתב רש"י.
================================================== */
.footer {
    background: var(--burgundy-deep);
    color: var(--on-burgundy);
    padding: 34px 35px;
}

.footer-frame {
    max-width: var(--container);
    margin: auto;
    padding: 48px 50px 30px;
    border: 3px double rgba(243, 231, 211, .35);
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 50px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-mark {
    width: 30px;
    height: 37px;
    margin-bottom: 14px;
    color: var(--on-burgundy);
    opacity: .85;
}

.footer-brand strong {
    font-family: "Bona Nova", "David Libre", serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.1;
}

.footer-tagline {
    margin-top: 8px;
    font-family: "Noto Rashi Hebrew", "David Libre", serif;
    font-size: 14px;
    color: rgba(243, 231, 211, .75);
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.footer-column h3 {
    margin-bottom: 6px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(243, 231, 211, .25);
    font-family: "Bona Nova", "David Libre", serif;
    font-size: 17px;
    font-weight: 700;
}

.footer-column a {
    width: fit-content;
    font-size: 15px;
    color: rgba(243, 231, 211, .8);
    border-bottom: 1px solid transparent;
    transition: color .2s, border-color .2s;
}

.footer-column a:hover {
    color: var(--on-burgundy);
    border-bottom-color: rgba(243, 231, 211, .6);
}

.footer-column a:focus-visible {
    outline: 2px solid var(--on-burgundy);
    outline-offset: 3px;
}

.footer-colophon {
    margin-top: 44px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
}

.colophon-ornament {
    display: block;
    width: 200px;
    height: 12px;
    color: rgba(243, 231, 211, .55);
}

.colophon-ornament svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: .8;
}

.colophon-line {
    font-family: "Noto Rashi Hebrew", "David Libre", serif;
    font-size: 15px;
    color: rgba(243, 231, 211, .85);
}

html[lang="en"] .colophon-line {
    font-family: "David Libre", serif;
    font-style: italic;
}

.footer-copyright {
    display: flex;
    gap: 14px;
    font-size: 13px;
    color: rgba(243, 231, 211, .6);
}
/* ==================================================
   SEARCH
================================================== */
.search-overlay {
    position: fixed;
    inset: 0;
    z-index: 3000;
    background: rgba(247, 239, 224, .98);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 20vh;
    padding-bottom: 40px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: .25s;
}

.search-overlay.open {
    opacity: 1;
    visibility: visible;
}

.search-box {
    width: min(
        calc(100% - 50px),
        800px
    );
}

.search-close {
    position: fixed;
    top: 35px;
    inset-inline-start: 40px;
    border: 0;
    background: transparent;
    font-size: 28px;
    font-weight: 300;
}

.search-box h2 {
    font-family: "Bona Nova", "David Libre", serif;
    font-weight: 400;
    font-size: 48px;
    margin-top: 12px;
}

.search-input {
    margin-top: 40px;
    border-bottom: 1px solid var(--burgundy);
    display: flex;
    align-items: center;
}

.search-input input {
    flex: 1;
    border: 0;
    outline: 0;
    padding: 15px 0;
    font-size: 17px;
}

.search-input span {
    font-size: 22px;
}

.search-results {
    margin-top: 10px;
    max-height: 50vh;
    overflow-y: auto;
}

.search-result-item {
    display: grid;
    grid-template-columns: 56px 1fr auto;
    gap: 16px;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    cursor: pointer;
    text-align: right;
    background: transparent;
    border-left: 0;
    border-right: 0;
    border-top: 0;
    width: 100%;
    font-family: inherit;
}

.search-result-image {
    width: 56px;
    height: 72px;
    overflow: hidden;
    background: var(--kraft);
    flex-shrink: 0;
}

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

.search-result-info {
    min-width: 0;
}

.search-result-info span {
    display: block;
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 4px;
}

.search-result-info h3 {
    margin: 0 0 4px;
    font-family: "Bona Nova", "David Libre", serif;
    font-size: 17px;
    font-weight: 500;
}

.search-result-info p {
    margin: 0;
    font-size: 13px;
    color: var(--muted);
}

.search-result-price {
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.search-result-price.search-result-sold {
    color: var(--muted);
    font-weight: 500;
}

.search-empty {
    display: none;
    padding: 30px 0;
    color: var(--muted);
}

.search-empty.visible {
    display: block;
}
/* ==================================================
   CART
================================================== */
.cart-overlay {
    position: fixed;
    inset: 0;
    z-index: 2500;
    background: rgba(0, 0, 0, 0.20);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease,
        visibility 0.25s ease;
}

.cart-overlay.open {
    opacity: 1;
    visibility: visible;
}
/* ==================================================
   CART DRAWER
================================================== */
.cart-drawer {
    position: absolute;
    top: 0;
    bottom: 0;
    inset-inline-end: 0;
    width: min(420px, 92vw);
    background: var(--paper-raised);
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    padding: 28px;
    transform: translateX(-100%);
    transition: transform .3s;
}

.cart-overlay.open
.cart-drawer {
    transform: translateX(0);
}
/* ==================================================
   CART HEADER
================================================== */
.cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--line);
}

.cart-header strong {
    font-family: "Bona Nova", "David Libre", serif;
    font-size: 22px;
    font-weight: 400;
    color: var(--ink);
}

.cart-header button {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    color: var(--ink);
    font-size: 27px;
    line-height: 1;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.cart-header button:hover {
    opacity: 0.55;
}
.cart-content {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
}
.cart-items {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 20px 0;
}
.cart-item {
    display: grid;
    grid-template-columns: 82px 1fr 28px;
    gap: 14px;
    align-items: start;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
}
.cart-item-image {
    width: 82px;
    height: 105px;
    overflow: hidden;
    background: var(--kraft);
}
.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.cart-item-info {
    min-width: 0;

}
.cart-item-info span {
    display: block;
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 5px;
}
.cart-item-info h3 {
    margin: 0 0 6px;
    font-family: "Bona Nova", "David Libre", serif;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.3;
}
.cart-item-info p {
    margin: 0 0 9px;
    font-size: 13px;
    color: var(--muted);
}
.cart-item-info strong {
    font-size: 15px;
    font-weight: 600;
}
.cart-item-remove {
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--muted);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    transition: color .2s;
}
.cart-item-remove:hover {
    color: var(--ink);
}
/* ==================================================
   CART EMPTY
================================================== */
.cart-empty {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 10px;
    color: var(--muted);
}
.cart-empty p {
    margin: 0;
    font-size: 15px;
    color: var(--muted);
}
.cart-empty button {
    margin-top: 20px;
    min-height: 46px;
    padding: 0 24px;
    border: 1px solid var(--burgundy);
    background: var(--burgundy);
    color: var(--on-burgundy);
    font-family: inherit;
    font-size: 14px;
    cursor: pointer;
    transition: background .2s,
        color .2s;
}
.cart-empty button:hover {
    background: var(--paper-raised);
    color: var(--ink);
}
/* ==================================================
   CART SUMMARY
================================================== */
.cart-summary {
    padding-top: 24px;
    border-top: 1px solid var(--line);
}
.cart-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    font-size: 15px;
    color: var(--muted);
}
.cart-total strong {
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
}
.checkout-button {
    width: 100%;
    min-height: 50px;
    border: 1px solid var(--burgundy);
    background: var(--burgundy);
    color: var(--on-burgundy);
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease,
        color 0.2s ease;
}
.checkout-button:hover {
    background: var(--paper-raised);
    color: var(--ink);
}
/* ==================================================
   MOBILE
================================================== */
@media (max-width: 900px) {
    :root {
        --masthead-h: 112px;
    }
    .logo-mark {
        width: 28px;
        height: 35px;
        margin-bottom: 5px;
    }
    .logo-main {
        font-size: 28px;
    }
    .logo-rule {
        width: 160px;
        margin: 6px 0 3px;
    }
    .logo-sub {
        font-size: 13px;
    }
    .header-inner {
        height: 50px;
        padding: 0 16px;
    }
    .mobile-menu-button {
        display: block;
    }
    .main-navigation {
        display: none;
    }
    .header-actions {
        gap: 10px;
    }
    .mobile-navigation {
        display: none;
        background: var(--paper-raised);
        border-bottom: 1px solid var(--line);
        padding: 6px 20px 12px;
    }
    .mobile-navigation.open {
        display: flex;
        flex-direction: column;
    }
    .mobile-navigation a {
        padding: 12px 0;
        border-bottom: 1px solid var(--line);
        font-family: "Bona Nova", "David Libre", serif;
        font-size: 17px;
    }
    .mobile-navigation a:last-child {
        border-bottom: 0;
    }
    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 560px) {
    .lang-toggle {
        padding: 2px 7px !important;
        font-size: 12px;
    }
    .collection-layout {
        grid-template-columns: 1fr;
    }
    .filter-sidebar {
        display: none;
        position: fixed;
        inset: 0;
        z-index: 2000;
        background: var(--paper-raised);
        padding: 25px;
        overflow-y: auto;
    }
    .filter-sidebar.open {
        display: block;
    }
    .filter-heading button {
        display: block;
    }
    .products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 35px 15px;
    }
    .newsletter {
        grid-template-columns: 1fr;
        gap: 35px;
    }
}
@media (max-width: 550px) {
    .collection-intro {
        padding: 38px 20px 32px;
    }
    .collection-intro h1 {
        font-size: 32px;
    }
    .category-inner {
        justify-content: flex-start;
        padding: 0 10px;
    }
    .category {
        padding: 15px;
    }
    .collection {
        padding: 40px 15px 80px;
    }
    .collection-header {
        align-items: center;
    }
    .collection-tools {

        gap: 15px;
    }

    .products {

        grid-template-columns: 1fr 1fr;
    }

    .product-info h2 {

        font-size: 17px;
    }

    .about-section {

        padding: 80px 25px;
    }

    .about-content h2 {

        font-size: 39px;
    }

    .footer {
        padding: 16px;
    }

    .footer-frame {
        padding: 34px 22px 24px;
    }

    .footer-inner {
        gap: 34px;
    }

    .footer-copyright {
        flex-direction: column;
        gap: 4px;
    }
}
/* ==================================================
   WISHLIST OVERLAY
================================================== */
.wishlist-overlay {

    position: fixed;

    inset: 0;

    background: rgba(0, 0, 0, 0.35);

    z-index: 1000;

    opacity: 0;

    visibility: hidden;

    transition: opacity 0.25s ease,
        visibility 0.25s ease;
}

.wishlist-overlay.open {

    opacity: 1;

    visibility: visible;
}

/* PANEL */
.wishlist-panel {

    position: absolute;

    top: 0;

    inset-inline-start: 0;

    width: min(430px, 92vw);

    height: 100%;

    background: var(--paper-raised);

    box-shadow: -8px 0 30px rgba(79, 21, 32, 0.12);

    transform: translateX(100%);

    transition: transform 0.3s ease;

    display: flex;

    flex-direction: column;
}

.wishlist-overlay.open
.wishlist-panel {

    transform: translateX(0);
}

/* HEADER */
.wishlist-header {

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 22px 24px;

    border-bottom: 1px solid var(--line);
}

.wishlist-header h2 {

    margin: 0;

    font-size: 20px;
}

.wishlist-close {

    border: 0;

    background: none;

    font-size: 30px;

    line-height: 1;

    cursor: pointer;

    color: var(--muted);
}

/* ITEMS */
.wishlist-items {

    flex: 1;

    overflow-y: auto;

    padding: 20px;
}

/* EMPTY */
.wishlist-empty {

    display: none;

    text-align: center;

    padding: 60px 30px;

    color: var(--muted);
}

.wishlist-empty.visible {

    display: block;
}

.wishlist-empty-icon {

    font-size: 46px;

    margin-bottom: 15px;
}

.wishlist-empty h3 {

    margin: 0 0 8px;

    color: var(--ink);
}

.wishlist-empty p {

    margin: 0;

    line-height: 1.6;
}

/* WISHLIST PRODUCT */
.wishlist-product {

    display: flex;

    gap: 14px;

    padding: 14px 0;

    border-bottom: 1px solid var(--line);
}

.wishlist-product-image {

    width: 75px;

    height: 95px;

    flex-shrink: 0;

    overflow: hidden;
}

.wishlist-product-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;
}

.wishlist-product-info {

    flex: 1;
}

.wishlist-product-info h3 {

    margin: 0 0 6px;

    font-size: 16px;
}

.wishlist-product-info p {

    margin: 0 0 8px;

    font-size: 13px;

    color: var(--muted);
}

.wishlist-product-info strong {

    font-size: 15px;
}

.wishlist-remove {

    border: 0;

    background: none;

    cursor: pointer;

    font-size: 21px;

    align-self: flex-start;
}
/* ==================================================
   PRODUCT DETAILS
================================================== */
.product-overlay {

    position: fixed;

    inset: 0;

    background: rgba(58, 18, 26, 0.5);

    z-index: 1100;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 20px;

    opacity: 0;

    visibility: hidden;

    transition: opacity 0.25s ease,
        visibility 0.25s ease;
}

.product-overlay.open {

    opacity: 1;

    visibility: visible;
}

/* MODAL */
.product-modal {

    position: relative;

    width: min(900px, 100%);

    max-height: 90vh;

    overflow-y: auto;

    background: var(--paper-raised);

    border-radius: 4px;

    box-shadow: 0 20px 60px rgba(79, 21, 32, 0.18);

    transform: translateY(20px);

    transition: transform 0.3s ease;
}

.product-overlay.open
.product-modal {

    transform: translateY(0);
}

/* CLOSE */
.product-modal-close {

    position: absolute;

    top: 15px;

    inset-inline-start: 15px;

    z-index: 2;

    width: 38px;

    height: 38px;

    border: 0;

    border-radius: 50%;

    background: rgba(247, 239, 224, 0.9);

    font-size: 28px;

    line-height: 1;

    cursor: pointer;
}

/* CONTENT */
.product-modal-content {

    display: grid;

    grid-template-columns: minmax(300px, 1fr)
        minmax(300px, 1fr);

    gap: 40px;

    padding: 40px;
}

/* IMAGE */
.product-modal-image {

    aspect-ratio: 4 / 5;

    overflow: hidden;

    background: var(--kraft);
}

.product-modal-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    display: block;
}

/* INFO */
.product-modal-info {

    display: flex;

    flex-direction: column;

    justify-content: center;
}

.product-modal-type {

    font-size: 13px;

    color: var(--muted);

    margin-bottom: 12px;
}

.product-modal-info h2 {

    margin: 0 0 12px;

    font-size: 30px;

    font-weight: 500;
}

.product-modal-meta {

    margin: 0 0 20px;

    color: var(--muted);
}

.product-modal-condition {

    margin: -6px 0 14px;

    font-size: 13px;

    color: var(--burgundy);
}

.product-modal-price {

    display: block;

    font-size: 24px;

    margin-bottom: 25px;

}

.product-modal-description {

    line-height: 1.8;

    color: var(--muted);

    margin-bottom: 30px;
}
/* ACTIONS */
.product-modal-actions {

    display: flex;

    gap: 10px;
}

.product-modal-cart {

    flex: 1;

    min-height: 48px;

    padding: 0 24px;

    border: 1px solid var(--burgundy);

    background: var(--burgundy);

    color: var(--on-burgundy);

    font-family: inherit;

    font-size: 15px;

    font-weight: 500;

    cursor: pointer;

    transition: background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}


.product-modal-cart:hover {

    background: var(--paper-raised);

    color: var(--ink);

    border-color: var(--burgundy);
}

.product-modal-cart.added {

    background: #3f6b4a;

    border-color: #3f6b4a;

    color: var(--on-burgundy);
}

.product-modal-cart.sold {

    background: var(--kraft);

    border-color: var(--line);

    color: var(--muted);

    cursor: not-allowed;
}

.product-modal-cart.sold:hover {

    background: var(--kraft);

    color: var(--muted);
}

.product-modal-wishlist {

    width: 50px;

    min-height: 48px;

    border: 1px solid var(--line);

    background: var(--paper-raised);

    cursor: pointer;

    font-size: 22px;
}

.product-modal-wishlist.active {

    color: var(--accent);
}

/* MOBILE */

@media (max-width: 700px) {

    .product-modal-content {

        grid-template-columns: 1fr;

        gap: 25px;

        padding: 25px;
    }

    .product-modal-image {
       
        max-height: 350px;
    }

    .product-modal-info h2 {

        font-size: 24px;
    }
}
/* ==================================================
   PRODUCT GALLERY (כמה תמונות לפריט)
================================================== */

.product-gallery {

    display: flex;

    flex-direction: column;

    gap: 12px;

    min-width: 0;
}

.product-modal-image {

    position: relative;

    touch-action: pan-y;

    user-select: none;
}

.product-modal-image img {

    cursor: zoom-in;

    -webkit-user-drag: none;
}

.gallery-arrow {

    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    width: 40px;

    height: 40px;

    border: 0;

    border-radius: 50%;

    background: rgba(247, 239, 224, 0.92);

    color: var(--black);

    font-size: 26px;

    line-height: 1;

    cursor: pointer;

    box-shadow: 0 2px 10px rgba(79, 21, 32, 0.12);

    opacity: 0;

    transition: opacity 0.2s ease;
}

.gallery-prev { inset-inline-start: 12px; }

.gallery-next { inset-inline-end: 12px; }

.product-modal-image:hover .gallery-arrow,
.gallery-arrow:focus-visible {

    opacity: 1;
}

.gallery-zoom {

    position: absolute;

    bottom: 12px;

    inset-inline-end: 12px;

    width: 36px;

    height: 36px;

    display: grid;

    place-items: center;

    border: 0;

    border-radius: 50%;

    background: rgba(247, 239, 224, 0.92);

    color: var(--black);

    cursor: pointer;

    box-shadow: 0 2px 10px rgba(79, 21, 32, 0.12);
}

.gallery-counter {

    position: absolute;

    bottom: 12px;

    inset-inline-start: 12px;

    padding: 3px 10px;

    border-radius: 20px;

    background: rgba(23, 23, 23, 0.65);

    color: var(--on-burgundy);

    font-size: 12px;

    /* המספרים עצמם תמיד משמאל לימין ("2 / 5"), בלי להזיז
       את מיקום התגית לצד הלא נכון */
    unicode-bidi: plaintext;
}

.gallery-thumbs {

    display: flex;

    gap: 8px;

    overflow-x: auto;

    scroll-snap-type: x mandatory;

    scrollbar-width: thin;

    padding-bottom: 4px;
}

.gallery-thumbs[hidden],
.gallery-arrow[hidden],
.gallery-counter[hidden],
.lightbox-arrow[hidden] {

    display: none;
}

.gallery-thumb {

    flex: 0 0 64px;

    height: 80px;

    padding: 0;

    border: 1px solid var(--line);

    background: var(--kraft);

    cursor: pointer;

    scroll-snap-align: start;

    opacity: 0.6;

    transition: opacity 0.2s ease, border-color 0.2s ease;
}

.gallery-thumb img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    display: block;
}

.gallery-thumb:hover { opacity: 0.9; }

.gallery-thumb.active {

    opacity: 1;

    border-color: var(--black);

    box-shadow: inset 0 0 0 1px var(--black);
}

/* ---------- LIGHTBOX ---------- */

.lightbox {

    position: fixed;

    inset: 0;

    z-index: 4000;

    background: rgba(36, 14, 18, 0.95);

    display: flex;

    align-items: center;

    justify-content: center;

    opacity: 0;

    visibility: hidden;

    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.lightbox.open {

    opacity: 1;

    visibility: visible;
}

.lightbox-stage {

    width: 100%;

    height: 100%;

    display: flex;

    align-items: center;

    justify-content: center;

    overflow: hidden;

    touch-action: none;

    padding: 60px 70px;
}

.lightbox-stage img {

    max-width: 100%;

    max-height: 100%;

    object-fit: contain;

    cursor: zoom-in;

    transition: transform 0.25s ease;

    user-select: none;

    -webkit-user-drag: none;
}

.lightbox.zoomed .lightbox-stage img {

    cursor: grab;

    transition: none;
}

.lightbox-close {

    position: absolute;

    top: 14px;

    inset-inline-start: 14px;

    z-index: 2;

    width: 44px;

    height: 44px;

    border: 0;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.12);

    color: var(--on-burgundy);

    font-size: 30px;

    line-height: 1;

    cursor: pointer;
}

.lightbox-arrow {

    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    z-index: 2;

    width: 48px;

    height: 48px;

    border: 0;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.12);

    color: var(--on-burgundy);

    font-size: 30px;

    line-height: 1;

    cursor: pointer;
}

.lightbox-prev { inset-inline-start: 14px; }

.lightbox-next { inset-inline-end: 14px; }

.lightbox.zoomed .lightbox-arrow { display: none; }

.lightbox-footer {

    position: absolute;

    bottom: 16px;

    left: 0;

    right: 0;

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 4px;

    color: rgba(255, 255, 255, 0.75);

    font-size: 13px;

    pointer-events: none;
}

.lightbox-counter { direction: ltr; }

/* במסכי מגע אין hover - החיצים תמיד גלויים */
@media (hover: none) {

    .gallery-arrow { opacity: 1; }
}

@media (max-width: 700px) {

    .product-modal-image {

        max-height: none;
    }

    .gallery-arrow {

        width: 34px;

        height: 34px;

        font-size: 22px;
    }

    .gallery-thumb {

        flex-basis: 54px;

        height: 68px;
    }

    .lightbox-stage { padding: 56px 8px 64px; }

    .lightbox-arrow {

        top: auto;

        bottom: 44px;

        transform: none;

        width: 42px;

        height: 42px;
    }
}

/* ==================================================
   CHECKOUT
================================================== */

.checkout-overlay {

    position: fixed;

    inset: 0;

    z-index: 3000;

    background: rgba(0, 0, 0, .32);

    opacity: 0;

    visibility: hidden;

    transition: .25s;

    overflow-y: auto;

}


.checkout-overlay.open {

    opacity: 1;

    visibility: visible;

}


.checkout-panel {

    width: min(760px, calc(100% - 30px));

    margin: 40px auto;

    background: var(--paper-raised);

    min-height: 600px;

    box-shadow: 0 20px 60px rgba(79, 21, 32, .18);

}


.checkout-header {

    display: flex;

    align-items: flex-start;

    justify-content: space-between;

    padding: 30px 35px;

    border-bottom: 1px solid var(--line);

}


.checkout-header h2 {

    margin: 7px 0 0;

    font-family: "Bona Nova", "David Libre", serif;

    font-weight: 400;

}


.checkout-close {

    width: 38px;

    height: 38px;

    border: 1px solid var(--line);

    background: var(--paper-raised);

    font-size: 25px;

    line-height: 1;

    cursor: pointer;

}


.checkout-steps {

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 25px 35px;

    border-bottom: 1px solid var(--line);

}


.checkout-step {

    display: flex;

    align-items: center;

    gap: 8px;

    color: var(--muted);

    font-size: 13px;

}


.checkout-step span {

    width: 28px;

    height: 28px;

    display: flex;

    align-items: center;

    justify-content: center;

    border: 1px solid var(--line);

    border-radius: 50%;

    font-size: 12px;

}


.checkout-step.active {

    color: var(--ink);

}


.checkout-step.active span {

    border-color: var(--burgundy);

    background: var(--burgundy);

    color: var(--on-burgundy);

}


.checkout-step.completed span {

    background: var(--burgundy);

    color: var(--on-burgundy);

    border-color: var(--burgundy);

}


.checkout-step-line {

    width: 55px;

    height: 1px;

    background: var(--line);

    margin: 0 15px;

}


.checkout-content {

    padding: 35px;

}


.checkout-stage {

    display: none;

}


.checkout-stage.active {

    display: block;

}


.checkout-stage-title {

    margin-bottom: 30px;

}


.checkout-stage-title h3 {

    margin: 0 0 7px;

    font-size: 22px;

    font-weight: 500;

}


.checkout-stage-title p {

    margin: 0;

    color: var(--muted);

    font-size: 14px;

}


.checkout-form-grid {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 20px;

}


.checkout-field {

    display: flex;

    flex-direction: column;

    gap: 7px;

}


.checkout-field-full {

    grid-column: 1 / -1;

}


.checkout-field label {

    font-size: 13px;

    font-weight: 500;

}


.checkout-field input {

    width: 100%;

    min-height: 46px;

    padding: 10px 13px;

    border: 1px solid var(--line);

    background: var(--paper-raised);

    font-family: inherit;

    font-size: 15px;

    outline: none;

    transition: border-color .2s;

    box-sizing: border-box;

}


.checkout-field input:focus {

    border-color: var(--muted);

}


.checkout-actions {

    display: flex;

    justify-content: flex-end;

    margin-top: 35px;

}


.checkout-actions-between {

    justify-content: space-between;

}


.checkout-next,
.checkout-submit {

    min-height: 48px;

    padding: 0 28px;

    border: 1px solid var(--burgundy);

    background: var(--burgundy);

    color: var(--on-burgundy);

    font-family: inherit;

    font-size: 14px;

    cursor: pointer;

    transition: .2s;

}


.checkout-next:hover,
.checkout-submit:hover {

    background: var(--burgundy);

}


.checkout-back {

    min-height: 48px;

    padding: 0 22px;

    border: 1px solid var(--line);

    background: var(--paper-raised);

    color: var(--ink);

    font-family: inherit;

    font-size: 14px;

    cursor: pointer;

}


.checkout-next span {

    margin-right: 10px;

}


.shipping-options {

    display: flex;

    flex-direction: column;

    gap: 12px;

    margin-top: 25px;

}


.shipping-option {

    display: flex;

    align-items: center;

    gap: 14px;

    padding: 17px;

    border: 1px solid var(--line);

    cursor: pointer;

}


.shipping-option input {

    accent-color: var(--burgundy);

}


.shipping-option span {

    display: flex;

    flex-direction: column;

    gap: 4px;

}


.shipping-option small {

    color: var(--muted);

}


.checkout-review {

    border-top: 1px solid var(--line);

    border-bottom: 1px solid var(--line);

}


.checkout-review-item {

    display: flex;

    align-items: center;

    gap: 18px;

    padding: 18px 0;

    border-bottom: 1px solid var(--line);

}


.checkout-review-item: last-child {

    border-bottom: 0;

}


.checkout-review-image {

    width: 72px;

    height: 90px;

    flex-shrink: 0;

    background: var(--kraft);

    overflow: hidden;

}


.checkout-review-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

}


.checkout-review-info {

    flex: 1;

}


.checkout-review-info span {

    display: block;

    color: var(--muted);

    font-size: 12px;

    margin-bottom: 5px;

}


.checkout-review-info h4 {

    margin: 0 0 5px;

    font-size: 15px;

    font-weight: 500;

}


.checkout-review-info p {

    margin: 0;

    color: var(--muted);

    font-size: 13px;

}


.checkout-review-price {

    font-weight: 600;

    white-space: nowrap;

}


.checkout-order-total {

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding: 22px 0;

    font-size: 16px;

    border-top: 1px solid var(--line);

}


.checkout-order-total strong {

    font-size: 20px;

}


.checkout-summary-lines {

    padding-top: 18px;

    border-top: 1px solid var(--line);
}

.checkout-summary-line {

    display: flex;

    justify-content: space-between;

    padding: 6px 0;

    font-size: 13.5px;

    color: var(--muted);
}


.checkout-note {

    display: flex;

    gap: 12px;

    padding: 15px;

    background: var(--kraft);

    margin-bottom: 25px;

}


.checkout-note span {

    font-size: 16px;

}


.checkout-note p {

    margin: 0;

    color: var(--muted);

    font-size: 13px;

    line-height: 1.6;

}


.checkout-terms {

    display: flex;

    align-items: flex-start;

    gap: 10px;

    margin-bottom: 25px;

    cursor: pointer;

}

.checkout-terms input {

    margin-top: 3px;

    width: 16px;

    height: 16px;

    accent-color: var(--accent);

    cursor: pointer;

    flex-shrink: 0;
}

.checkout-terms span {

    font-size: 13px;

    color: var(--muted);

    line-height: 1.6;
}

.checkout-terms a {

    color: var(--ink);

    text-decoration: underline;

    text-underline-offset: 3px;
}

.checkout-terms a:hover {

    color: var(--accent);
}

.checkout-submit: disabled {

    opacity: .45;

    cursor: not-allowed;
}


.checkout-success {

    display: none;

    text-align: center;

    padding: 80px 35px;

}


.checkout-success.visible {

    display: block;

}


.checkout-success-icon {

    width: 58px;

    height: 58px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin: 0 auto 25px;

    border: 1px solid var(--burgundy);

    border-radius: 50%;

    font-size: 24px;

}


.checkout-success h3 {

    margin: 15px 0;

    font-family: "Bona Nova", "David Libre", serif;

    font-size: 30px;

    font-weight: 400;

}


.checkout-success p {

    max-width: 450px;

    margin: 0 auto 20px;

    color: var(--muted);

    line-height: 1.8;

}


.checkout-success > strong {

    display: block;

    margin-bottom: 30px;

    font-size: 14px;

}


.checkout-success-button {

    min-height: 46px;

    padding: 0 25px;

    border: 1px solid var(--burgundy);

    background: var(--burgundy);

    color: var(--on-burgundy);

    font-family: inherit;

    cursor: pointer;

}


@media (max-width: 600px) {

    .checkout-panel {

        width: 100%;

        min-height: 100vh;

        margin: 0;

    }


    .checkout-header {

        padding: 22px;

    }


    .checkout-content {

        padding: 25px 22px;

    }


    .checkout-steps {

        padding: 20px;

    }


    .checkout-step strong {

        display: none;

    }


    .checkout-step-line {

        width: 35px;

        margin: 0 8px;

    }


    .checkout-form-grid {

        grid-template-columns: 1fr;

    }


    .checkout-field-full {

        grid-column: auto;

    }


    .checkout-actions {

        margin-top: 28px;

    }


    .checkout-next,
    .checkout-submit {

        flex: 1;

    }


    .checkout-review-item {

        gap: 12px;

    }


    .checkout-review-image {

        width: 60px;

        height: 76px;

    }

}
