:root {
    --cream: #f8f5ef;
    --ivory: #fffdf9;
    --brown: #49372e;
    --muted: #88766b;
    --terracotta: #ad7159;
    --sand: #e9dfd2;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--ivory);
    color: var(--brown);
    font-family: "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

.announcement {
    background: var(--brown);
    color: var(--white);
    text-align: center;
    padding: 9px 15px;
    font-size: 12px;
    letter-spacing: 1.5px;
}

.site-header {
    min-height: 105px;
    padding: 20px 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    background: var(--ivory);
    border-bottom: 1px solid var(--sand);
}

.brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.brand-name {
    font-family: Georgia, serif;
    font-size: 29px;
    letter-spacing: 5px;
    font-weight: normal;
}

.brand-tagline {
    font-size: 9px;
    letter-spacing: 3px;
    color: var(--muted);
}

.main-nav {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.main-nav a,
.cart-link {
    font-size: 13px;
    letter-spacing: 0.5px;
}

.main-nav a:hover,
.cart-link:hover {
    color: var(--terracotta);
}

.cart-link {
    white-space: nowrap;
}

.cart-symbol {
    font-size: 20px;
    margin-left: 5px;
}

main {
    min-height: 55vh;
}

.flash-container {
    max-width: 1100px;
    margin: 20px auto;
    padding: 0 20px;
}

.flash {
    padding: 12px 16px;
    margin-bottom: 10px;
    background: var(--cream);
    border-left: 3px solid var(--terracotta);
}

.flash-error {
    border-color: #a33e36;
}

.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 570px;
    background: var(--cream);
}

.hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 70px 12%;
}

.eyebrow {
    color: var(--terracotta);
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 3px;
    font-weight: 600;
}

.hero h1 {
    font-family: Georgia, serif;
    font-size: clamp(42px, 5vw, 66px);
    font-weight: normal;
    line-height: 1.12;
    margin: 20px 0;
}

.hero-copy p {
    max-width: 430px;
    color: var(--muted);
    font-size: 15px;
}

.hero-image {
    min-height: 570px;
    overflow: hidden;
}

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

.button {
    display: inline-block;
    margin-top: 22px;
    padding: 14px 29px;
    background: var(--brown);
    color: var(--white);
    border: 1px solid var(--brown);
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
}

.button:hover {
    background: var(--terracotta);
    border-color: var(--terracotta);
}

.section {
    padding: 75px 6%;
}

.section-heading {
    text-align: center;
    margin-bottom: 38px;
}

.section-heading h2 {
    font-family: Georgia, serif;
    font-size: 36px;
    font-weight: normal;
    margin: 8px 0;
}

.section-heading p {
    color: var(--muted);
    font-size: 14px;
}

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

.category-card {
    background: var(--cream);
    padding: 35px 15px;
    text-align: center;
    transition: background 0.2s ease;
}

.category-card:hover {
    background: var(--sand);
}

.category-card h3 {
    font-family: Georgia, serif;
    font-size: 22px;
    font-weight: normal;
    margin: 5px 0;
}

.category-card p {
    color: var(--muted);
    font-size: 12px;
}

.product-card img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    display: block;
    background: var(--cream);
}

.product-card h3 {
    font-family: Georgia, serif;
    font-size: 17px;
    font-weight: normal;
    margin: 12px 0 3px;
}

.product-card p {
    color: var(--muted);
    font-size: 13px;
    margin: 0;
}

.product-card .price {
    color: var(--brown);
    font-weight: 600;
    margin-top: 6px;
}

.intro-section {
    background: var(--cream);
    text-align: center;
}

.intro-section p {
    max-width: 680px;
    margin: 15px auto;
    color: var(--muted);
}

.site-footer {
    padding: 55px 20px 30px;
    background: var(--brown);
    color: var(--white);
    text-align: center;
}

.footer-brand {
    font-family: Georgia, serif;
    font-size: 25px;
    letter-spacing: 5px;
}

.footer-small {
    color: #d3c5ba;
    font-size: 11px;
    margin-top: 25px;
}

.page-container {
    max-width: 1200px;
    margin: auto;
    padding: 55px 25px;
}

.page-title {
    font-family: Georgia, serif;
    font-weight: normal;
    font-size: 38px;
}

.form-field {
    margin-bottom: 18px;
}

.form-field label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
}

.form-field input,
.form-field textarea,
.form-field select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--sand);
    background: var(--white);
    font: inherit;
}

@media (max-width: 900px) {
    .site-header {
        flex-wrap: wrap;
        justify-content: center;
    }

    .main-nav {
        order: 3;
        width: 100%;
        gap: 15px;
    }

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

@media (max-width: 650px) {
    .hero {
        grid-template-columns: 1fr;
    }

    .hero-copy {
        padding: 55px 9%;
    }

    .hero-image {
        min-height: 380px;
        max-height: 500px;
    }

    .section {
        padding: 50px 5%;
    }

    .main-nav {
        gap: 12px;
    }

    .main-nav a {
        font-size: 12px;
    }
}

/* =========================================
   KUNEKRAFT PRODUCT DETAIL PAGE
   ========================================= */

.product-detail {
    max-width: 1250px;
    margin: 0 auto;
    padding: 65px 30px 85px;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 75px;
    align-items: start;
}

.product-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.product-gallery-image {
    background: var(--cream);
    overflow: hidden;
}

.product-gallery-image:first-child {
    grid-column: 1 / -1;
}

.product-gallery-image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 230px;
    max-height: 650px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-gallery-image:first-child img {
    max-height: 680px;
}

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

.product-image-placeholder {
    min-height: 420px;
    background: var(--sand);
    display: grid;
    place-items: center;
    color: var(--muted);
    text-align: center;
}

.product-information {
    position: sticky;
    top: 30px;
    padding: 15px 0;
}

.product-category {
    margin: 0 0 14px;
    color: var(--terracotta);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
}

.product-information h1 {
    margin: 0 0 12px;
    color: var(--brown);
    font-family: Georgia, serif;
    font-size: clamp(32px, 4vw, 46px);
    font-weight: normal;
    line-height: 1.15;
}

.product-sku {
    margin: 0 0 22px;
    color: var(--muted);
    font-size: 11px;
    letter-spacing: 1px;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 25px 0;
}

.product-current-price {
    color: var(--terracotta);
    font-family: Georgia, serif;
    font-size: 27px;
}

.product-original-price {
    color: var(--muted);
    font-size: 16px;
    text-decoration: line-through;
}

.product-short-description {
    margin: 25px 0;
    color: var(--brown);
    font-size: 16px;
    line-height: 1.8;
}

.product-description {
    margin: 22px 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.9;
    white-space: pre-line;
}

.product-details-list {
    margin: 28px 0;
    padding: 20px 0;
    border-top: 1px solid var(--sand);
    border-bottom: 1px solid var(--sand);
}

.product-details-list p {
    margin: 9px 0;
    color: var(--muted);
    font-size: 13px;
}

.product-details-list strong {
    display: inline-block;
    min-width: 95px;
    color: var(--brown);
    font-weight: 600;
}

.product-add-form {
    margin-top: 30px;
}

.product-add-form .form-group {
    margin-bottom: 20px;
}

.product-add-form label {
    display: block;
    margin-bottom: 9px;
    color: var(--brown);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
}

.product-add-form select,
.product-add-form input {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid var(--sand);
    border-radius: 0;
    background: var(--white);
    color: var(--brown);
    font: inherit;
}

.product-add-form select:focus,
.product-add-form input:focus {
    outline: 1px solid var(--terracotta);
    border-color: var(--terracotta);
}

.product-add-form button {
    width: 100%;
    min-height: 54px;
    padding: 15px 20px;
    border: 1px solid var(--brown);
    background: var(--brown);
    color: var(--white);
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.25s ease, border-color 0.25s ease;
}

.product-add-form button:hover {
    border-color: var(--terracotta);
    background: var(--terracotta);
}

.product-note {
    margin: 25px 0 18px;
    color: var(--muted);
    font-family: Georgia, serif;
    font-size: 14px;
    font-style: italic;
    line-height: 1.7;
}

.back-to-shop {
    display: inline-block;
    margin-top: 10px;
    color: var(--brown);
    font-size: 12px;
    letter-spacing: 1px;
    text-decoration: underline;
    text-underline-offset: 5px;
}

@media (max-width: 850px) {
    .product-detail {
        grid-template-columns: 1fr;
        gap: 35px;
        padding: 40px 22px 60px;
    }

    .product-information {
        position: static;
    }
}

@media (max-width: 520px) {
    .product-gallery {
        grid-template-columns: 1fr;
    }

    .product-gallery-image:first-child {
        grid-column: auto;
    }

    .product-gallery-image img {
        min-height: 280px;
        max-height: 500px;
    }

    .product-information h1 {
        font-size: 34px;
    }

    .product-detail {
        padding: 25px 16px 45px;
    }
}

/* =========================================
   KUNEKRAFT SHOPPING BAG
   ========================================= */

.cart-page {
    max-width: 1250px;
}

.cart-heading {
    margin-bottom: 45px;
}

.cart-heading .page-title {
    margin: 8px 0 12px;
}

.cart-intro {
    color: var(--muted);
    font-family: Georgia, serif;
    font-size: 16px;
}

.cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.8fr);
    gap: 55px;
    align-items: start;
}

.cart-item {
    display: grid;
    grid-template-columns: 145px minmax(0, 1fr) auto;
    gap: 24px;
    padding: 25px 0;
    border-bottom: 1px solid var(--sand);
    align-items: start;
}

.cart-item:first-child {
    border-top: 1px solid var(--sand);
}

.cart-item-image {
    display: block;
    min-height: 155px;
    background: var(--cream);
    color: var(--muted);
    text-align: center;
    font-size: 12px;
}

.cart-item-image img {
    display: block;
    width: 100%;
    height: 155px;
    object-fit: cover;
}

.cart-item-information h2 {
    margin: 2px 0 12px;
    font-family: Georgia, serif;
    font-size: 21px;
    font-weight: normal;
}

.cart-item-information h2 a {
    color: var(--brown);
    text-decoration: none;
}

.cart-item-information p {
    margin: 7px 0;
    color: var(--muted);
    font-size: 13px;
}

.cart-item-information .cart-item-price {
    margin-top: 15px;
    color: var(--brown);
    font-weight: 600;
}

.cart-item-total {
    padding-top: 5px;
    color: var(--brown);
    font-family: Georgia, serif;
    font-size: 17px;
    white-space: nowrap;
}

.cart-item-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-top: 18px;
}

.cart-quantity-form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.cart-quantity-form label {
    color: var(--muted);
    font-size: 12px;
}

.cart-quantity-form input {
    width: 62px;
    min-height: 36px;
    padding: 6px;
    border: 1px solid var(--sand);
    background: var(--white);
    color: var(--brown);
    font: inherit;
    text-align: center;
}

.cart-text-button,
.cart-remove-button {
    padding: 6px 0;
    border: 0;
    background: transparent;
    color: var(--terracotta);
    font: inherit;
    font-size: 12px;
    text-decoration: underline;
    text-underline-offset: 4px;
    cursor: pointer;
}

.cart-remove-button {
    color: var(--muted);
}

.cart-continue {
    margin-top: 28px;
}

.cart-summary {
    padding: 30px;
    border: 1px solid var(--sand);
    background: var(--ivory);
}

.cart-summary h2 {
    margin: 0 0 25px;
    color: var(--brown);
    font-family: Georgia, serif;
    font-size: 25px;
    font-weight: normal;
}

.cart-summary-line,
.cart-summary-total {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin: 17px 0;
    color: var(--muted);
    font-size: 13px;
}

.cart-summary-line strong,
.cart-summary-total strong {
    color: var(--brown);
}

.cart-delivery-note {
    margin: 18px 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.7;
}

.cart-summary-total {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--sand);
    color: var(--brown);
    font-size: 15px;
}

.cart-summary-total strong {
    font-family: Georgia, serif;
    font-size: 20px;
}

.cart-checkout-button {
    display: block;
    width: 100%;
    margin-top: 22px;
    padding: 16px 18px;
    border: 1px solid var(--brown);
    background: var(--brown);
    color: var(--white);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition: background 0.25s ease, border-color 0.25s ease;
}

.cart-checkout-button:hover {
    border-color: var(--terracotta);
    background: var(--terracotta);
}

.cart-summary-note {
    margin: 20px 0 0;
    color: var(--muted);
    font-family: Georgia, serif;
    font-size: 13px;
    font-style: italic;
    line-height: 1.7;
    text-align: center;
}

.cart-empty {
    max-width: 620px;
    margin: 50px auto;
    padding: 55px 25px;
    background: var(--ivory);
    text-align: center;
}

.cart-empty h2 {
    color: var(--brown);
    font-family: Georgia, serif;
    font-size: 28px;
    font-weight: normal;
}

.cart-empty p {
    margin: 18px 0 28px;
    color: var(--muted);
    font-size: 14px;
}

@media (max-width: 850px) {
    .cart-layout {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .cart-summary {
        max-width: 550px;
    }
}

@media (max-width: 560px) {
    .cart-item {
        grid-template-columns: 105px minmax(0, 1fr);
        gap: 15px;
    }

    .cart-item-image,
    .cart-item-image img {
        min-height: 120px;
        height: 120px;
    }

    .cart-item-total {
        grid-column: 2;
        padding-top: 0;
    }

    .cart-item-information h2 {
        font-size: 18px;
    }

    .cart-item-actions {
        gap: 10px;
    }

    .cart-summary {
        padding: 23px 18px;
    }
}

/* =========================================================
   KUNEKRAFT ADMINISTRATION
   ========================================================= */

.admin-body {
    min-height: 100vh;
    background: var(--cream);
    color: var(--brown);
}

.admin-header {
    min-height: 88px;
    padding: 16px 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: var(--ivory);
    border-bottom: 1px solid var(--sand);
}

.admin-brand {
    display: flex;
    flex-direction: column;
}

.admin-brand-name {
    font-family: Georgia, serif;
    font-size: 25px;
    letter-spacing: 4px;
}

.admin-brand-tagline {
    color: var(--muted);
    font-size: 9px;
    letter-spacing: 2px;
}

.admin-top-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.admin-top-nav form {
    margin: 0;
}

.admin-top-nav a,
.admin-logout {
    color: var(--brown);
    font-size: 13px;
}

.admin-logout {
    padding: 9px 16px;
    background: transparent;
    border: 1px solid var(--sand);
    cursor: pointer;
}

.admin-logout:hover {
    background: var(--cream);
}

.admin-main {
    min-height: calc(100vh - 155px);
}

.admin-flash-container {
    width: min(1100px, 90%);
    margin: 20px auto;
}

.admin-footer {
    padding: 22px;
    border-top: 1px solid var(--sand);
    color: var(--muted);
    text-align: center;
    font-size: 10px;
    letter-spacing: 2px;
}

.admin-login-page {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 45px 20px;
}

.admin-login-card {
    width: 100%;
    max-width: 440px;
    padding: 42px;
    background: var(--ivory);
    border: 1px solid var(--sand);
}

.admin-eyebrow {
    color: var(--terracotta);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2.5px;
}

.admin-login-card h1,
.admin-dashboard h1 {
    font-family: Georgia, serif;
    font-weight: normal;
}

.admin-login-card h1 {
    margin: 12px 0;
    font-size: 38px;
}

.admin-login-intro,
.admin-login-note {
    color: var(--muted);
    font-size: 13px;
}

.admin-login-form {
    margin-top: 30px;
}

.admin-form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.admin-form-field label {
    font-size: 12px;
    font-weight: 600;
}

.admin-form-field input {
    width: 100%;
    padding: 13px;
    border: 1px solid var(--sand);
    background: var(--white);
    color: var(--brown);
    font: inherit;
}

.admin-form-field input:focus {
    outline: 2px solid var(--terracotta);
    outline-offset: 2px;
}

.admin-field-error {
    color: #a33e36;
    font-size: 12px;
}

.admin-submit-button {
    width: 100%;
    padding: 14px;
    background: var(--brown);
    color: var(--white);
    border: 1px solid var(--brown);
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
}

.admin-submit-button:hover {
    background: var(--terracotta);
    border-color: var(--terracotta);
}

.admin-login-note {
    margin-top: 25px;
}

.admin-store-link {
    display: inline-block;
    margin-top: 15px;
    color: var(--terracotta);
    font-size: 12px;
}

.admin-dashboard {
    width: min(1200px, 90%);
    margin: 0 auto;
    padding: 48px 0 70px;
}

.admin-dashboard-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 35px;
}

.admin-dashboard-heading h1 {
    margin: 8px 0;
    font-size: 42px;
}

.admin-dashboard-heading > div > p:last-child {
    color: var(--muted);
    font-size: 14px;
}

.admin-status {
    padding: 8px 14px;
    background: var(--sand);
    font-size: 11px;
}

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

.admin-module-card {
    min-height: 205px;
    padding: 24px;
    background: var(--ivory);
    border: 1px solid var(--sand);
}

.admin-module-icon {
    color: var(--terracotta);
    font-family: Georgia, serif;
    font-size: 20px;
}

.admin-module-card h2 {
    margin: 13px 0 8px;
    font-family: Georgia, serif;
    font-size: 21px;
    font-weight: normal;
}

.admin-module-card p {
    min-height: 44px;
    color: var(--muted);
    font-size: 12px;
}

.admin-module-status {
    color: var(--terracotta);
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

@media (max-width: 800px) {
    .admin-dashboard-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 540px) {
    .admin-header {
        padding: 14px 5%;
    }

    .admin-brand-name {
        font-size: 20px;
    }

    .admin-top-nav {
        gap: 12px;
    }

    .admin-login-card {
        padding: 28px 22px;
    }

    .admin-dashboard-grid {
        grid-template-columns: 1fr;
    }

    .admin-dashboard-heading {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* ADMIN STORE SETTINGS */

.admin-settings-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 35px;
    background: var(--ivory);
    border: 1px solid var(--sand);
}

.admin-settings-card h2 {
    margin: 0 0 12px;
    font-family: Georgia, serif;
    font-size: 25px;
    font-weight: normal;
}

.admin-settings-card p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
}

.admin-settings-form {
    max-width: 420px;
}

.admin-money-input {
    display: flex;
    align-items: center;
    border: 1px solid var(--sand);
    background: var(--white);
}

.admin-money-input span {
    padding: 12px 15px;
    color: var(--muted);
    border-right: 1px solid var(--sand);
}

.admin-money-input input {
    width: 100%;
    min-width: 0;
    padding: 12px;
    border: 0;
    background: transparent;
    color: var(--brown);
    font: inherit;
}

.admin-money-input input:focus {
    outline: 2px solid var(--terracotta);
    outline-offset: -2px;
}

.admin-settings-note {
    margin: 8px 0 22px;
    font-size: 11px !important;
}

@media (max-width: 700px) {
    .admin-settings-card {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 24px;
    }
}

/* CHECKOUT PAGE */

.checkout-layout {
    align-items: start;
}

.checkout-form-panel {
    min-width: 0;
    padding: 32px;
    background: var(--ivory);
    border: 1px solid var(--sand);
}

.checkout-section {
    margin-bottom: 30px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--sand);
}

.checkout-section h2,
.checkout-summary h2,
.order-payment-status h2 {
    margin: 0 0 20px;
    color: var(--brown);
    font-family: Georgia, serif;
    font-size: 23px;
    font-weight: normal;
}

.checkout-section .form-field:last-child {
    margin-bottom: 0;
}

.checkout-form-panel .form-field input,
.checkout-form-panel .form-field textarea,
.checkout-form-panel .form-field select {
    box-sizing: border-box;
    border-radius: 0;
    color: var(--brown);
}

.checkout-form-panel .form-field input:focus,
.checkout-form-panel .form-field textarea:focus,
.checkout-form-panel .form-field select:focus {
    outline: 2px solid var(--terracotta);
    outline-offset: 1px;
}

.field-error {
    margin: 6px 0 0;
    color: #a33d32;
    font-size: 12px;
}

.checkout-payment-note {
    margin: 0 0 20px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.8;
}

.checkout-summary {
    position: sticky;
    top: 24px;
}

.checkout-summary-item {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 15px 0;
    border-bottom: 1px solid var(--sand);
    font-size: 13px;
}

.checkout-summary-item > div {
    min-width: 0;
}

.checkout-summary-item p {
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
}

.checkout-summary-item > strong {
    white-space: nowrap;
}

/* ORDER CONFIRMATION */

.order-confirmation-page {
    max-width: 850px;
    margin-right: auto;
    margin-left: auto;
}

.order-confirmation-card {
    padding: 55px 45px;
    background: var(--ivory);
    border: 1px solid var(--sand);
    text-align: center;
}

.order-confirmation-card h1 {
    margin: 12px 0 18px;
    color: var(--brown);
    font-family: Georgia, serif;
    font-size: clamp(30px, 5vw, 44px);
    font-weight: normal;
    line-height: 1.2;
}

.order-confirmation-intro {
    max-width: 540px;
    margin: 0 auto 30px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
}

.order-reference {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin: 0 auto 28px;
    padding: 22px;
    background: var(--white);
    border: 1px solid var(--sand);
}

.order-reference span {
    color: var(--muted);
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.order-reference strong {
    color: var(--brown);
    font-family: Georgia, serif;
    font-size: 25px;
    letter-spacing: 1px;
}

.order-payment-status {
    margin: 0 auto 22px;
}

.order-payment-status h2 {
    margin-bottom: 8px;
}

.order-payment-status p {
    color: var(--terracotta);
    font-size: 14px;
    font-weight: 600;
}

.order-confirmation-note {
    max-width: 580px;
    margin: 0 auto 28px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.8;
}

.order-confirmation-card .cart-checkout-button {
    display: inline-block;
    width: auto;
    min-width: 210px;
    text-align: center;
    text-decoration: none;
}

@media (max-width: 850px) {
    .checkout-summary {
        position: static;
    }
}

@media (max-width: 560px) {
    .checkout-form-panel {
        padding: 22px 18px;
    }

    .checkout-section h2,
    .checkout-summary h2 {
        font-size: 21px;
    }

    .checkout-summary-item {
        font-size: 12px;
    }

    .order-confirmation-card {
        padding: 38px 20px;
    }

    .order-reference {
        padding: 18px 12px;
    }

    .order-reference strong {
        font-size: 21px;
    }
}



/* ADMIN ORDERS AND PAYMENTS */

.admin-page {
    width: min(1200px, 90%);
    margin: 0 auto;
    padding: 48px 0 70px;
}

.admin-page-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
}

.admin-page-heading h1 {
    margin: 8px 0;
    font-family: Georgia, serif;
    font-size: 40px;
    font-weight: normal;
}

.admin-page-heading p:last-child {
    color: var(--muted);
    font-size: 13px;
}

.admin-secondary-button {
    display: inline-block;
    padding: 11px 16px;
    border: 1px solid var(--sand);
    color: var(--brown);
    font-size: 11px;
    text-decoration: none;
}

.admin-secondary-button:hover {
    background: var(--ivory);
}

.admin-panel {
    margin-bottom: 22px;
    padding: 25px;
    background: var(--ivory);
    border: 1px solid var(--sand);
}

.admin-panel h2 {
    margin: 0 0 20px;
    font-family: Georgia, serif;
    font-size: 22px;
    font-weight: normal;
}

.admin-panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.admin-panel-heading h2 {
    margin-bottom: 18px;
}

.admin-panel-heading > span {
    color: var(--muted);
    font-size: 11px;
}

.admin-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 12px;
}

.admin-table th {
    padding: 13px 12px;
    background: var(--cream);
    color: var(--brown);
    font-size: 10px;
    letter-spacing: .5px;
    text-transform: uppercase;
    white-space: nowrap;
}

.admin-table td {
    padding: 15px 12px;
    border-bottom: 1px solid var(--sand);
    vertical-align: top;
    line-height: 1.7;
}

.admin-table td span {
    color: var(--muted);
    font-size: 11px;
}

.admin-table a {
    color: var(--terracotta);
}

.admin-empty-state {
    padding: 35px 15px;
    text-align: center;
}

.admin-empty-state h3 {
    font-family: Georgia, serif;
    font-weight: normal;
}

.admin-empty-state p {
    color: var(--muted);
    font-size: 12px;
}

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

.admin-detail-list {
    margin: 0;
}

.admin-detail-list > div {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 10px 0;
    border-bottom: 1px solid var(--sand);
    font-size: 12px;
}

.admin-detail-list dt {
    color: var(--muted);
}

.admin-detail-list dd {
    margin: 0;
    text-align: right;
}

.admin-order-totals {
    width: min(380px, 100%);
    margin: 20px 0 0 auto;
}

.admin-payment-status {
    display: inline-block;
    padding: 5px 8px;
    background: var(--cream);
    color: var(--brown) !important;
    font-size: 10px !important;
    white-space: nowrap;
}

.admin-payment-status.status-paid {
    background: #e5eee4;
}

.admin-payment-status.status-failed,
.admin-payment-status.status-cancelled {
    background: #f4e5e1;
}

.admin-payment-failure {
    max-width: 220px;
    color: #a33e36;
    font-size: 11px;
}

@media (max-width: 700px) {
    .admin-page-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-detail-grid {
        grid-template-columns: 1fr;
    }

    .admin-panel {
        padding: 18px 14px;
    }
}

/* CUSTOMER INVOICE */
.customer-invoice-page address {
    font-size: 12px;
    line-height: 1.9;
    font-style: normal;
}

.invoice-policy {
    padding: 18px 0;
    border-top: 1px solid var(--sand);
}

.invoice-policy h3 {
    margin: 0 0 10px;
    font-family: Georgia, serif;
    font-size: 18px;
    font-weight: normal;
}

.invoice-policy-body {
    font-size: 12px;
    line-height: 1.8;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.customer-invoice-page .order-confirmation-note {
    margin: 24px 0;
    font-size: 12px;
    line-height: 1.7;
}

@media print {
    .announcement,
    .site-header,
    .site-footer,
    .flash-container,
    .invoice-print-button {
        display: none !important;
    }

    body,
    main {
        background: #fff !important;
    }

    .customer-invoice-page {
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .customer-invoice-page .admin-page-heading {
        margin-bottom: 20px;
    }

    .customer-invoice-page .admin-panel {
        break-inside: avoid;
        background: #fff;
        border: 1px solid #d8cfc2;
        padding: 16px;
    }

    .customer-invoice-page .admin-detail-grid {
        gap: 10px;
    }

    .customer-invoice-page .admin-table {
        font-size: 10px;
    }

    .customer-invoice-page .admin-table th,
    .customer-invoice-page .admin-table td {
        padding: 8px;
    }

    .customer-invoice-page .admin-order-totals {
        margin-left: auto;
    }

    .invoice-policies {
        break-before: auto;
    }

    a {
        color: inherit !important;
        text-decoration: none !important;
    }
}

/* PUDO PACKAGING SETTINGS */

.admin-pudo-settings-card {
    display: block;
    margin-top: 24px;
}

.admin-pudo-settings-card > div:first-child {
    max-width: 760px;
    margin-bottom: 24px;
}

.admin-pudo-settings-card .admin-eyebrow {
    letter-spacing: 1.5px;
}

.admin-pudo-form {
    width: 100%;
}

.admin-pudo-table-wrap {
    width: 100%;
    overflow-x: auto;
    border: 1px solid var(--sand);
    background: var(--white);
}

.admin-pudo-table {
    width: 100%;
    min-width: 1120px;
    border-collapse: collapse;
    font-size: 12px;
}

.admin-pudo-table th,
.admin-pudo-table td {
    padding: 12px 10px;
    border-bottom: 1px solid var(--sand);
    text-align: left;
    vertical-align: middle;
}

.admin-pudo-table thead th {
    background: var(--ivory);
    color: var(--brown);
    font-size: 10px;
    font-weight: 600;
    white-space: nowrap;
}

.admin-pudo-table tbody th {
    min-width: 105px;
    font-weight: 600;
}

.admin-pudo-table tbody th small {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 10px;
    font-weight: normal;
}

.admin-pudo-table input[type="number"],
.admin-pudo-table input[type="date"] {
    box-sizing: border-box;
    width: 100%;
    min-width: 82px;
    padding: 9px 7px;
    border: 1px solid var(--sand);
    border-radius: 0;
    background: var(--white);
    color: var(--brown);
    font: inherit;
}

.admin-pudo-table input:focus {
    outline: 2px solid var(--terracotta);
    outline-offset: 1px;
}

.admin-pudo-table .admin-money-input {
    min-width: 112px;
}

.admin-pudo-table .admin-money-input span {
    padding: 9px 7px;
}

.admin-pudo-table .admin-money-input input {
    min-width: 65px;
    border: 0;
}

.admin-pudo-active {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    color: var(--brown);
    font-size: 11px;
}

.admin-pudo-active input {
    accent-color: var(--terracotta);
}

.admin-pudo-form > .admin-settings-note {
    margin: 16px 0 20px;
}

@media (max-width: 700px) {
    .admin-pudo-settings-card {
        padding: 20px;
    }
}

/* PUDO CHECKOUT */

/* PUDO CHECKOUT */

.checkout-page [hidden] {
    display: none !important;
}

#pudo-location-results {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

.pudo-location-option {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    width: 100%;
    padding: 15px 16px;
    background: var(--white);
    border: 1px solid var(--sand);
    color: var(--brown);
    text-align: left;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.pudo-location-option:hover,
.pudo-location-option:focus-visible {
    background: var(--ivory);
    border-color: var(--terracotta);
    outline: none;
}

.pudo-location-option strong {
    font-family: Georgia, serif;
    font-size: 16px;
    font-weight: normal;
}

.pudo-location-option span {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.6;
}

#pudo-selected-location {
    margin-top: 14px;
    padding: 14px 16px;
    background: var(--ivory);
    border-left: 3px solid var(--terracotta);
    color: var(--brown);
    font-size: 13px;
    line-height: 1.7;
}

#pudo-location-search {
    width: 100%;
}

@media (max-width: 560px) {
    .pudo-location-option {
        padding: 13px;
    }
}

/* =========================================
   KUNE KRAFT BRAND REFRESH — NOVEMBER 2026
   ========================================= */

:root {
    --cream: #f7f1e7;
    --ivory: #fffdf9;
    --brown: #49372e;
    --muted: #88766b;
    --terracotta: #ad7159;
    --sand: #e9dfd2;
    --gold: #b89555;
    --white: #ffffff;
}

.announcement {
    background: #49372e;
    color: #f5e9d4;
    letter-spacing: 2px;
}

.site-header {
    background: #fffdf9;
    border-bottom: 1px solid #e5d8c5;
}

.brand {
    width: 110px;
}

.brand-logo {
    display: block;
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.main-nav {
    align-items: center;
    gap: clamp(12px, 2vw, 27px);
}

.main-nav a {
    font-size: 12px;
    letter-spacing: 0.7px;
    transition: color 0.2s ease;
}

.main-nav a:hover {
    color: var(--gold);
}

.hero {
    background: #f7f1e7;
}

.hero-copy {
    padding-top: 85px;
    padding-bottom: 85px;
}

.hero h1 {
    color: #49372e;
    letter-spacing: 0.5px;
}

.hero-copy p {
    line-height: 1.9;
}

.eyebrow {
    color: #a8874e;
}

.button {
    background: #49372e;
    border-color: #b89555;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.button:hover {
    background: #a8874e;
    border-color: #a8874e;
}

.story-section {
    background: #fffdf9;
}

.story-section .section-heading,
.pop-up-section .section-heading {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.story-section .section-heading p,
.pop-up-section .section-heading p {
    line-height: 1.9;
}

.story-signature {
    color: #a8874e !important;
    font-family: Georgia, serif;
    font-size: 18px !important;
    font-style: italic;
    margin-top: 28px !important;
}

.pop-up-section {
    background: #f3eadc;
}

.contact-section {
    background: #fffdf9;
}

.contact-details {
    max-width: 1050px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.contact-item {
    padding: 25px 18px;
    text-align: center;
    background: #f7f1e7;
    border-bottom: 2px solid #b89555;
}

.contact-item h3 {
    font-family: Georgia, serif;
    font-size: 19px;
    font-weight: normal;
    margin: 0 0 12px;
}

.contact-item p {
    color: var(--muted);
    font-size: 13px;
    margin: 7px 0;
    overflow-wrap: anywhere;
}

.contact-item a:hover {
    color: var(--gold);
}

.featured-section {
    background: #f7f1e7;
}

.featured-section .product-card {
    background: #fffdf9;
    padding-bottom: 15px;
}

.featured-section .product-card h3,
.featured-section .product-card p {
    margin-left: 12px;
    margin-right: 12px;
}

.empty-featured {
    text-align: center;
    color: var(--muted);
}

.site-footer {
    background: #49372e;
    color: #f5e9d4;
    border-top: 3px solid #b89555;
}

.footer-logo {
    display: block;
    width: 90px;
    height: 90px;
    object-fit: contain;
    margin: 0 auto 15px;
    background: #fffdf9;
    border-radius: 50%;
}

.site-footer > p:not(.footer-small) {
    letter-spacing: 1px;
    font-family: Georgia, serif;
    font-style: italic;
}

@media (max-width: 900px) {
    .site-header {
        gap: 15px;
    }

    .brand-logo {
        width: 85px;
        height: 85px;
    }

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

@media (max-width: 650px) {
    .site-header {
        padding: 15px 4%;
    }

    .brand-logo {
        width: 75px;
        height: 75px;
    }

    .main-nav {
        justify-content: center;
        row-gap: 12px;
    }

    .main-nav a {
        font-size: 11px;
    }

    .hero-copy {
        padding: 55px 8%;
    }

    .hero h1 {
        font-size: clamp(39px, 10vw, 54px);
    }

    .contact-details {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .section-heading h2 {
        font-size: 30px;
    }
}


/* =========================================
   KUNE KRAFT — ALTERNATING EDITORIAL LAYOUT
   ========================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    min-height: 100px;
    box-shadow: 0 3px 12px rgba(73, 55, 46, 0.07);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 115px;
}

.editorial-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    min-height: calc(100vh - 100px);
    min-height: calc(100svh - 100px);
    padding: 0;
    align-items: stretch;
    scroll-margin-top: 115px;
}

.editorial-image-left {
    grid-template-areas: "image copy";
}

.editorial-image-right {
    grid-template-areas: "copy image";
}

.editorial-copy {
    grid-area: copy;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: clamp(35px, 6vw, 90px);
    max-width: 760px;
    width: 100%;
    margin: 0 auto;
}

.editorial-copy h1,
.editorial-copy h2 {
    font-family: Georgia, serif;
    color: var(--brown);
    font-weight: normal;
    line-height: 1.15;
    margin: 18px 0;
}

.editorial-copy h1 {
    font-size: clamp(42px, 5vw, 68px);
}

.editorial-copy h2 {
    font-size: clamp(34px, 4vw, 49px);
}

.editorial-copy p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.9;
    max-width: 500px;
}

.editorial-image {
    grid-area: image;
    min-width: 0;
    min-height: 100%;
    background: #f3eadc;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 18px;
}

.editorial-image img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: calc(100svh - 136px);
    object-fit: contain;
    object-position: center;
}

.story-section {
    background: #fffdf9;
}

.pop-up-section {
    background: #f3eadc;
}

.contact-section {
    background: #fffdf9;
}

.story-signature {
    color: var(--gold) !important;
    font-family: Georgia, serif;
    font-size: 19px !important;
    font-style: italic;
    margin-top: 20px;
}

.contact-copy .contact-details {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 15px;
}

.contact-copy .contact-item {
    padding: 15px 12px;
    background: #f7f1e7;
    border-bottom: 2px solid var(--gold);
    text-align: left;
}

.contact-copy .contact-item h3 {
    margin: 0 0 8px;
    font-size: 18px;
}

.contact-copy .contact-item p {
    font-size: 13px;
    margin: 5px 0;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.contact-copy .contact-item a:hover {
    color: var(--gold);
}

@media (max-width: 900px) {
    .site-header {
        min-height: 0;
        padding: 10px 3%;
        gap: 10px;
    }

    .main-nav {
        gap: 12px;
    }

    .editorial-copy {
        padding: 35px;
    }
}

@media (max-width: 650px) {
    html {
        scroll-padding-top: 145px;
    }

    .site-header {
        position: sticky;
        top: 0;
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 5px;
        padding: 7px 8px 10px;
    }

    .brand {
        width: auto;
    }

    .brand-logo {
        width: 52px;
        height: 52px;
    }

    .main-nav {
        order: initial;
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 7px 14px;
    }

    .main-nav a {
        font-size: 11px;
        white-space: nowrap;
    }

    .cart-link {
        position: absolute;
        top: 20px;
        right: 12px;
        font-size: 11px;
    }

    .editorial-section {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "image"
            "copy";
        min-height: calc(100svh - 125px);
        scroll-margin-top: 145px;
    }

    .editorial-image-left,
    .editorial-image-right {
        grid-template-areas:
            "image"
            "copy";
    }

    .editorial-image {
        min-height: 43svh;
        height: 43svh;
        padding: 10px;
    }

    .editorial-image img {
        max-height: 100%;
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .editorial-copy {
        padding: 28px 8% 38px;
        justify-content: center;
    }

    .editorial-copy h1 {
        font-size: clamp(39px, 10vw, 52px);
    }

    .editorial-copy h2 {
        font-size: 32px;
    }

    .editorial-copy p {
        font-size: 14px;
        line-height: 1.75;
    }

    .contact-copy .contact-details {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
    }

    .contact-copy .contact-item {
        padding: 12px 10px;
    }

    .contact-copy .contact-item h3 {
        font-size: 16px;
    }

    .contact-copy .contact-item p {
        font-size: 12px;
    }
}


/* =========================================
   KUNE KRAFT — SECTION SPACING AND SCROLL
   ========================================= */

html {
    scroll-snap-type: y mandatory;
    scroll-padding-top: 115px;
}

.editorial-section {
    scroll-snap-align: start;
    scroll-snap-stop: always;
    margin: 0;
    gap: 0;
}

@media (max-width: 900px) {
    .editorial-section,
    .editorial-image-left,
    .editorial-image-right {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "image"
            "copy";
        min-height: calc(100svh - 125px);
        height: auto;
    }

    .editorial-image {
        min-height: 0;
        height: 38svh;
        padding: 10px;
    }

    .editorial-image img {
        width: 100%;
        height: 100%;
        max-height: 100%;
        object-fit: contain;
    }

    .editorial-copy {
        padding: 24px clamp(24px, 7vw, 55px) 30px;
        justify-content: center;
    }

    .editorial-copy h1,
    .editorial-copy h2 {
        margin: 10px 0 14px;
    }

    .editorial-copy p {
        margin: 8px 0;
        line-height: 1.7;
    }

    html {
        scroll-padding-top: 115px;
    }
}

@media (max-width: 650px) {
    .editorial-image {
        height: 34svh;
        min-height: 220px;
        padding: 8px;
    }

    .editorial-copy {
        padding: 20px 7% 26px;
    }

    .editorial-copy h1 {
        font-size: clamp(36px, 9vw, 48px);
    }

    .editorial-copy h2 {
        font-size: 30px;
    }

    .contact-copy .contact-details {
        margin-top: 10px;
        gap: 8px;
    }
}

/* =========================================
   KUNE KRAFT — TWO COLUMNS ON ALL SCREENS
   ========================================= */

@media (max-width: 900px) {
    .editorial-section,
    .editorial-image-left,
    .editorial-image-right {
        grid-template-columns: minmax(0, 42%) minmax(0, 58%);
        min-height: calc(100svh - 125px);
        height: auto;
    }

    .editorial-image-left {
        grid-template-areas: "image copy";
    }

    .editorial-image-right {
        grid-template-areas: "copy image";
    }

    .editorial-image {
        height: 38svh;
        min-height: 220px;
        padding: 8px;
    }

    .editorial-copy {
        min-width: 0;
        padding: 16px 12px;
    }

    .editorial-copy p {
        font-size: 13px;
        line-height: 1.55;
    }
}

@media (max-width: 650px) {
    .editorial-section,
    .editorial-image-left,
    .editorial-image-right {
        grid-template-columns: minmax(0, 42%) minmax(0, 58%);
    }

    .editorial-image {
        height: 34svh;
        min-height: 190px;
        padding: 6px;
    }

    .editorial-copy {
        padding: 12px 9px;
    }

    .editorial-copy h1 {
        font-size: clamp(25px, 7vw, 36px);
        line-height: 1.12;
    }

    .editorial-copy h2 {
        font-size: clamp(23px, 6vw, 30px);
        line-height: 1.15;
    }

    .editorial-copy p {
        font-size: 11px;
        line-height: 1.5;
    }

    .editorial-copy .eyebrow {
        font-size: 8px;
        letter-spacing: 2px;
    }

    .editorial-copy .button {
        padding: 11px 9px;
        font-size: 9px;
        text-align: center;
    }

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

/* Hero only: reduce the empty space below the sticky header */
.hero .editorial-copy {
    justify-content: flex-start;
    padding-top: clamp(24px, 4vh, 48px);
}

.hero .editorial-image {
    align-items: flex-start;
    padding-top: clamp(24px, 4vh, 48px);
}

/* KUNE KRAFT — UNIFORM HOMEPAGE IMAGE FRAMES */
@media (max-width: 900px) {
    .editorial-image {
        box-sizing: border-box;
        height: 38svh;
        min-height: 220px;
        padding: clamp(24px, 4vh, 48px) 8px 8px;
        align-items: flex-start;
    }

    .editorial-image img {
        width: 100%;
        height: 100%;
        max-height: 100%;
        object-fit: contain;
        object-position: top center;
    }
}

@media (max-width: 650px) {
    .editorial-image {
        height: 38svh;
        min-height: 220px;
        padding: clamp(24px, 4vh, 48px) 6px 6px;
    }

    .editorial-copy {
        align-self: start;
        justify-content: flex-start;
        padding-top: clamp(24px, 4vh, 48px);
    }
}

/* KUNE KRAFT — CONSISTENT SECTION ALIGNMENT */
@media (max-width: 900px) {
    .editorial-section,
    .editorial-image-left,
    .editorial-image-right {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        min-height: 0;
        height: auto;
        align-items: start;
    }

    .editorial-image {
        box-sizing: border-box;
        width: 100%;
        height: 38svh;
        min-height: 220px;
        margin: 0;
        padding: clamp(24px, 4vh, 48px) 8px 8px;
        align-self: start;
        align-items: flex-start;
    }

    .editorial-image img {
        display: block;
        width: 100%;
        height: 100%;
        max-height: 100%;
        object-fit: contain;
        object-position: top center;
    }

    .editorial-copy {
        box-sizing: border-box;
        min-width: 0;
        width: 100%;
        margin: 0;
        padding: clamp(24px, 4vh, 48px) 12px 24px;
        align-self: start;
        justify-content: flex-start;
    }
}

@media (max-width: 650px) {
    .editorial-image {
        height: 38svh;
        min-height: 220px;
        padding-left: 6px;
        padding-right: 6px;
    }

    .editorial-copy {
        padding-left: 9px;
        padding-right: 9px;
    }
}


/* KUNE KRAFT — UPCOMING POP-UP SECTION ONLY */
.editorial-section.pop-up-section {
    display: block;
    min-height: 0;
    height: auto;
    padding: clamp(32px, 4vw, 54px) clamp(18px, 5vw, 70px) 48px;
    background: #f3eadc;
    scroll-snap-align: start;
}

.pop-up-section .pop-up-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0 26px;
    text-align: center;
}

.pop-up-section .pop-up-copy .eyebrow {
    text-align: center;
}

.pop-up-section .pop-up-copy h2 {
    margin: 10px 0 12px;
    text-align: center;
}

.pop-up-section .pop-up-copy p {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.pop-up-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(14px, 2.5vw, 28px);
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
}

.pop-up-gallery-item {
    min-width: 0;
    aspect-ratio: 1.22 / 1;
    overflow: hidden;
    border-radius: 3px;
    background: #e8ddce;
}

.pop-up-gallery-item img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 650px) {
    .editorial-section.pop-up-section {
        padding: 30px 16px 36px;
    }

    .pop-up-section .pop-up-copy {
        padding-bottom: 20px;
    }

    .pop-up-section .pop-up-copy h2 {
        font-size: clamp(27px, 6vw, 34px);
    }

    .pop-up-section .pop-up-copy p {
        font-size: 13px;
        line-height: 1.65;
    }

    .pop-up-gallery {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .pop-up-gallery-item {
        aspect-ratio: 1.15 / 1;
    }
}

/* COMPACT CUSTOMER INVOICE AND ADMIN ORDER PRINT */
@media print {
    @page {
        size: A4;
        margin: 8mm;
    }

    html,
    body {
        background: #fff !important;
        font-size: 9pt !important;
    }

    .customer-invoice-page,
    .admin-order-print-page {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
        color: #222 !important;
    }

    .customer-invoice-page .admin-page-heading,
    .admin-order-print-page .admin-page-heading {
        margin: 0 0 7px !important;
        padding: 0 0 6px !important;
    }

    .customer-invoice-page .admin-page-heading h1,
    .admin-order-print-page .admin-page-heading h1 {
        margin: 0 !important;
        font-size: 18pt !important;
    }

    .customer-invoice-page .admin-page-heading p,
    .admin-order-print-page .admin-page-heading p {
        margin: 2px 0 !important;
        font-size: 8pt !important;
    }

    .customer-invoice-page .admin-panel,
    .admin-order-print-page .admin-panel {
        margin: 0 0 6px !important;
        padding: 8px 10px !important;
        border: 1px solid #d8cfc2 !important;
        background: #fff !important;
        break-inside: avoid;
    }

    .customer-invoice-page .admin-panel h2,
    .admin-order-print-page .admin-panel h2 {
        margin: 0 0 5px !important;
        font-size: 12pt !important;
    }

    .customer-invoice-page .admin-detail-grid,
    .admin-order-print-page .admin-detail-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 6px !important;
        margin-bottom: 6px !important;
    }

    .customer-invoice-page .admin-detail-list > div,
    .admin-order-print-page .admin-detail-list > div {
        gap: 8px !important;
        padding: 3px 0 !important;
        font-size: 8pt !important;
        line-height: 1.25 !important;
    }

    .customer-invoice-page address,
    .admin-order-print-page address,
    .customer-invoice-page .admin-panel p,
    .admin-order-print-page .admin-panel p {
        margin: 2px 0 !important;
        font-size: 8pt !important;
        line-height: 1.3 !important;
    }

    .customer-invoice-page .admin-table,
    .admin-order-print-page .admin-table {
        font-size: 8pt !important;
        line-height: 1.2 !important;
    }

    .customer-invoice-page .admin-table th,
    .customer-invoice-page .admin-table td,
    .admin-order-print-page .admin-table th,
    .admin-order-print-page .admin-table td {
        padding: 4px 5px !important;
        line-height: 1.2 !important;
    }

    .customer-invoice-page .admin-order-totals,
    .admin-order-print-page .admin-order-totals {
        width: min(300px, 100%) !important;
        margin: 5px 0 0 auto !important;
    }

    .customer-invoice-page .invoice-policy {
        padding: 5px 0 !important;
    }

    .customer-invoice-page .invoice-policy h3 {
        margin: 0 0 3px !important;
        font-size: 10pt !important;
    }

    .customer-invoice-page .invoice-policy-body {
        font-size: 8pt !important;
        line-height: 1.3 !important;
    }

    .customer-invoice-page .order-confirmation-note {
        margin: 6px 0 !important;
        font-size: 8pt !important;
        line-height: 1.3 !important;
    }

    .admin-order-print-page .print-exclude {
        display: none !important;
    }

    .customer-invoice-page .admin-table tr,
    .admin-order-print-page .admin-table tr {
        break-inside: avoid;
    }

    .customer-invoice-page .admin-table-wrap,
    .admin-order-print-page .admin-table-wrap {
        overflow: visible !important;
    }

    a {
        color: inherit !important;
        text-decoration: none !important;
    }
}
