:root {
    --ivory: #f5eee4;
    --paper: #fbf8f3;
    --sand: #e8d9c6;
    --champagne: #cbb18d;
    --ink: #332a25;
    --muted: #81756a;
    --line: #ded2c4;
    --rose: #e8d1ca;
    --serif: "Libre Baskerville", Georgia, serif;
    --sans: "Roboto", Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: var(--sans);
    font-size: 14px;
    line-height: 1.6;
}

button, input, select, textarea {
    font-family: var(--sans);
}

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

.announcement {
    padding: 8px 20px;
    text-align: center;
    color: #f8f1e9;
    background: var(--ink);
    font-size: 10px;
    letter-spacing: .12em;
    text-transform: uppercase;
}

/* Storefront header alignment */
/* Final storefront header alignment */
.site-header {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    min-height: 0;
    height: 250px;
    padding: 12px 5.5%;
    gap: 20px;
}

.header-logo-link {
    display: flex;
    align-items: center;
    justify-self: start;
}

.header-logo {
    width: 220px;
    height: 220px;
    max-width: 100%;
    object-fit: contain;
}

.main-nav {
    justify-self: center;
}

.header-actions {
    justify-self: end;
}

@media (max-width: 640px) {
    .site-header {
        display: flex;
        height: auto;
        min-height: 0;
        flex-wrap: wrap;
        justify-content: space-between;
        padding: 12px 5%;
        gap: 12px;
    }

    .header-logo {
        width: 155px;
        height: 155px;
    }

    .main-nav {
        order: 3;
        width: 100%;
        justify-content: center;
    }
}

.header-actions {
    justify-self: end;
}

.wordmark {
    font-family: var(--serif);
    font-size: 22px;
    line-height: 1.05;
    letter-spacing: .11em;
    white-space: nowrap;
}

    .wordmark span {
        display: block;
        margin-top: 5px;
        font-family: var(--sans);
        font-size: 9px;
        letter-spacing: .36em;
        text-align: center;
    }

.main-nav, .header-actions {
    display: flex;
    align-items: center;
    gap: 28px;
}
    /* Refined storefront header typography */
    .main-nav a, .text-link, .header-account-email, .header-signout, .bag-link {
        font-family: var(--sans);
        font-size: 12.5px;
        font-weight: 500;
        line-height: 1.35;
        letter-spacing: .025em;
        color: var(--ink);
        -webkit-font-smoothing: antialiased;
        text-rendering: optimizeLegibility;
    }

    .main-nav a {
        position: relative;
        padding: 7px 0;
        transition: color .2s ease;
    }

        .main-nav a::after {
            content: "";
            position: absolute;
            left: 0;
            right: 100%;
            bottom: 1px;
            height: 1px;
            background: var(--champagne);
            transition: right .22s ease;
        }

        .main-nav a:hover {
            color: #8a7054;
        }

            .main-nav a:hover::after {
                right: 0;
            }

.header-actions {
    gap: 18px;
}

.header-account-email {
    display: inline-block;
    max-width: 190px;
    overflow: hidden;
    color: var(--muted);
    font-size: 11.5px;
    font-weight: 400;
    text-overflow: ellipsis;
    white-space: nowrap;
}

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

.header-signout {
    appearance: none;
    border: 0;
    background: transparent;
    padding: 7px 0;
    cursor: pointer;
    transition: color .2s ease;
}

    .header-signout:hover {
        color: #8a7054;
    }

.text-link {
    transition: color .2s ease;
}

    .text-link:hover {
        color: #8a7054;
    }

.bag-link {
    border: 1px solid var(--line);
    border-radius: 30px;
    padding: 8px 14px;
    transition: border-color .2s ease, background .2s ease;
}

    .bag-link:hover {
        border-color: var(--champagne);
        background: rgba(203,177,141,.10);
    }

    .bag-link span {
        margin-left: 6px;
        color: var(--muted);
    }

.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 550px;
    padding: 44px 5.5% 55px;
    gap: 6%;
    align-items: center;
}

.hero-copy {
    padding: 24px 0 24px 6%;
}

.eyebrow {
    font-size: 9px;
    letter-spacing: .19em;
    font-weight: 700;
    color: #8a7661;
    text-transform: uppercase;
    margin: 0 0 18px;
}

h1, h2, h3, p {
    margin-top: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--serif);
    font-weight: 400;
    letter-spacing: -.035em;
}

.hero h1 {
    font-size: clamp(42px, 5.4vw, 74px);
    line-height: 1.09;
    margin: 0 0 22px;
}

h1 em, h2 em {
    font-weight: 400;
    color: #997c5b;
}

.hero-description {
    max-width: 390px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.9;
    margin-bottom: 27px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    border: 0;
    padding: 14px 20px;
    font-family: var(--sans);
    font-size: 11px;
    letter-spacing: .03em;
    cursor: pointer;
    transition: transform .2s ease, opacity .2s ease;
}

    .button:hover:not(:disabled) {
        transform: translateY(-2px);
    }

.button-dark {
    background: var(--ink);
    color: #fffaf4;
}

.button:disabled {
    cursor: not-allowed;
    opacity: .6;
}

.button-wide {
    width: 100%;
    margin-top: 20px;
}

.hero-note {
    margin-top: 52px;
    color: var(--muted);
    font-size: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.small-line {
    width: 26px;
    height: 1px;
    background: var(--champagne);
}

.hero-art {
    position: relative;
    aspect-ratio: 6 / 5;
    min-height: 0;
    overflow: hidden;
    background: var(--sand);
}

.hero-art-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

.art-caption {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 17px;
    display: flex;
    justify-content: space-between;
    color: rgba(51,42,37,.7);
    font-size: 9px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.trust-strip {
    display: flex;
    justify-content: center;
    gap: clamp(22px,7vw,110px);
    padding: 21px 5%;
    background: #eee4d7;
    border-block: 1px solid rgba(51,42,37,.06);
}

    .trust-strip div {
        display: flex;
        align-items: center;
        gap: 10px;
        color: #68584a;
        font-size: 10px;
        letter-spacing: .04em;
    }

.trust-icon {
    font-size: 24px;
    color: #9a7c5b;
}

.section {
    padding: 92px 7% 100px;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 25px;
    margin-bottom: 34px;
}

    .section-heading .eyebrow {
        margin-bottom: 10px;
    }

h2 {
    font-size: clamp(30px,3.5vw,45px);
    line-height: 1.2;
    margin-bottom: 0;
}

.section-heading > p, .muted-note {
    color: var(--muted);
    font-size: 11px;
    line-height: 1.8;
    margin-bottom: 3px;
}

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

.collection-card {
    display: block;
}

.collection-art {
    min-height: 215px;
    position: relative;
    overflow: hidden;
    transition: filter .2s ease;
    background: var(--sand);
}

.collection-image {
    display: block;
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
}

.collection-card:hover .collection-art {
    filter: saturate(1.1);
}

.collection-symbol {
    font-family: var(--serif);
    font-size: 76px;
    color: rgba(255,255,255,.86);
    text-shadow: 0 8px 22px rgba(67,50,35,.12);
}

.collection-number {
    position: absolute;
    bottom: 12px;
    right: 13px;
    color: rgba(51,42,37,.6);
    font-size: 9px;
    letter-spacing: .1em;
}

.collection-card-bottom {
    display: flex;
    justify-content: space-between;
    margin-top: 14px;
    font-family: var(--serif);
    font-size: 18px;
}

.collection-card > p {
    margin: 3px 0 0;
    font-size: 10px;
    color: var(--muted);
}

.featured-section {
    background: #f0e7dc;
}

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

.product-image {
    min-height: 265px;
    position: relative;
    overflow: hidden;
    background: var(--sand);
}

.product-photo {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-label {
    position: absolute;
    left: 12px;
    top: 12px;
    font-size: 8px;
    letter-spacing: .14em;
    color: #796754;
}

.quick-view {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(251,248,243,.9);
    padding: 7px 10px;
    font-size: 9px;
    opacity: 0;
    transform: translateY(5px);
    transition: all .2s;
}

.product-card:hover .quick-view {
    opacity: 1;
    transform: translateY(0);
}

.product-info {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 12px;
    padding-top: 14px;
}

    .product-info h3 {
        font-family: var(--serif);
        font-size: 15px;
        font-weight: 400;
        line-height: 1.4;
        margin: 0 0 5px;
    }

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

    .product-info strong {
        font-size: 11px;
        white-space: nowrap;
        font-weight: 600;
    }

.empty-state {
    padding: 45px 20px;
    text-align: center;
    background: rgba(255,255,255,.35);
}

    .empty-state p {
        font-family: var(--serif);
        font-size: 23px;
        margin-bottom: 5px;
    }

    .empty-state span {
        font-size: 11px;
        color: var(--muted);
    }

/* Centered Solenos story section */
.story-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 100px 7%;
    background: #f8f5f0;
    text-align: center;
}

.story-copy {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    padding: 0;
}

    .story-copy .eyebrow {
        margin-bottom: 22px;
    }

    .story-copy h2 {
        font-size: clamp(34px, 4vw, 50px);
        line-height: 1.3;
        margin-bottom: 25px;
    }

    .story-copy > p:not(.eyebrow) {
        max-width: 650px;
        margin: 0 auto 18px;
        font-size: 13px;
        line-height: 2;
    }

    .story-copy .text-link {
        display: inline-block;
        margin-top: 15px;
    }

@media (max-width: 640px) {
    .story-section {
        padding: 65px 6%;
    }

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

.underline-link {
    display: inline-block;
    margin-top: 12px;
    padding-bottom: 5px;
    border-bottom: 1px solid var(--champagne);
}

.newsletter {
    padding: 65px 20px 70px;
    text-align: center;
    background: #e9dcd0;
}

    .newsletter .eyebrow {
        margin-bottom: 10px;
    }

    .newsletter h2 {
        font-size: 34px;
    }

    .newsletter > p:not(.eyebrow) {
        color: var(--muted);
        font-size: 11px;
        margin: 12px 0 23px;
    }

.newsletter-form {
    max-width: 440px;
    margin: 0 auto 12px;
    display: flex;
    border-bottom: 1px solid #a99783;
}

    .newsletter-form input {
        flex: 1;
        min-width: 0;
        border: 0;
        background: transparent;
        padding: 13px 0;
        outline: none;
        font: inherit;
        font-size: 11px;
    }

    .newsletter-form button {
        border: 0;
        background: transparent;
        color: var(--ink);
        font: inherit;
        font-size: 10px;
        cursor: pointer;
    }

.newsletter small {
    color: #8a7a6b;
    font-size: 9px;
}

.site-footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 40px 7% 25px;
    background: var(--ink);
    color: #f7eee3;
}

.footer-wordmark {
    display: inline-block;
    font-size: 18px;
}

    .footer-wordmark span {
        text-align: left;
        font-size: 8px;
    }

.site-footer p {
    color: #c7b8a8;
    font-size: 10px;
    margin: 14px 0 0;
}

.footer-links {
    display: flex;
    justify-content: end;
    align-items: start;
    gap: 20px;
    color: #d7c8b8;
    font-size: 10px;
}

.copyright {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(255,255,255,.14);
    padding-top: 18px;
    color: #b6a798;
    font-size: 9px;
}

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8%;
    min-height: 620px;
}

.detail-art {
    min-height: 480px;
    position: relative;
    overflow: hidden;
    background: var(--sand);
}

.detail-image {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-art .eyebrow {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 1;
    margin: 0;
    color: #fffaf4;
    text-shadow: 0 1px 5px rgba(0,0,0,.45);
}

.detail-gem {
    width: 150px;
    height: 190px;
}

.detail-copy {
    padding: 35px 0;
}

    .detail-copy h1 {
        font-size: clamp(34px,4vw,52px);
        line-height: 1.15;
        margin-bottom: 15px;
    }

.detail-price {
    font-size: 16px;
    margin-bottom: 25px;
}

.detail-description, .detail-description-full {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.9;
}

.spec-list {
    margin-top: 26px;
    border-top: 1px solid var(--line);
}

    .spec-list div {
        display: flex;
        justify-content: space-between;
        padding: 12px 0;
        border-bottom: 1px solid var(--line);
        font-size: 11px;
    }

    .spec-list span {
        color: var(--muted);
    }

    .spec-list strong {
        font-weight: 500;
    }

.fine-print {
    text-align: center;
    color: var(--muted);
    font-size: 9px;
}

.detail-description-full {
    margin-top: 30px;
}

.login-shell {
    min-height: 65vh;
    padding: 70px 20px;
    display: grid;
    place-items: center;
    background: #f0e7dc;
}

.login-card {
    width: min(100%,420px);
    background: var(--paper);
    padding: 40px;
    box-shadow: 0 12px 45px rgba(57,43,29,.06);
}

    .login-card h1 {
        font-size: 43px;
        line-height: 1.12;
        margin-bottom: 18px;
    }

    .login-card > p:not(.eyebrow) {
        color: var(--muted);
        font-size: 12px;
    }

.notice-box {
    padding: 12px;
    margin: 22px 0;
    background: #f1e6d8;
    color: #705b45;
    font-size: 10px;
    line-height: 1.7;
}

.login-card label {
    display: block;
    margin-bottom: 8px;
    font-size: 10px;
}

.mobile-input {
    display: flex;
    border: 1px solid var(--line);
    background: white;
}

    .mobile-input span {
        padding: 12px;
        border-right: 1px solid var(--line);
        font-size: 11px;
    }

    .mobile-input input {
        flex: 1;
        min-width: 0;
        border: 0;
        padding: 12px;
        font: inherit;
        font-size: 11px;
        outline: none;
    }

.back-link {
    display: block;
    text-align: center;
    margin-top: 22px;
    color: var(--muted);
    font-size: 10px;
}

.simple-message {
    text-align: center;
    padding: 100px 20px;
    min-height: 55vh;
}

    .simple-message h1 {
        font-size: 48px;
    }

    .simple-message p:not(.eyebrow) {
        color: var(--muted);
    }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

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

    .hero {
        padding-inline: 4%;
        gap: 4%;
    }

    .hero-copy {
        padding-left: 2%;
    }

    .hero-art {
        min-height: 370px;
    }

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

    .collection-art {
        min-height: 190px;
    }

    .product-image {
        min-height: 240px;
    }

    .section {
        padding: 70px 5%;
    }

    .story-section {
        padding: 70px 6%;
        gap: 5%;
    }
}

@media (max-width: 640px) {
    .announcement {
        font-size: 8px;
        letter-spacing: .07em;
    }

    .site-header {
        padding: 15px 5%;
        min-height: 72px;
        flex-wrap: wrap;
        gap: 12px;
    }

    .header-logo {
        width: 158px;
    }

    .wordmark {
        font-size: 18px;
    }

    .main-nav {
        order: 3;
        width: 100%;
        justify-content: center;
        gap: 25px;
        padding-top: 8px;
        border-top: 1px solid rgba(51,42,37,.08);
    }

        .main-nav a {
            font-size: 11px;
            letter-spacing: .015em;
        }

    .header-account-email {
        max-width: 125px;
        font-size: 10.5px;
    }

    .header-signout, .bag-link {
        font-size: 11px;
    }

    .header-actions {
        gap: 12px;
    }

    .hero {
        grid-template-columns: 1fr;
        padding: 38px 5% 35px;
        gap: 28px;
    }

    .hero-copy {
        padding: 0 3%;
    }

    .hero h1 {
        font-size: 48px;
    }

    .hero-note {
        margin-top: 28px;
    }

    .hero-art {
        min-height: 340px;
    }

    .trust-strip {
        flex-wrap: wrap;
        gap: 14px 22px;
        padding: 17px 5%;
        justify-content: start;
    }

        .trust-strip div {
            font-size: 9px;
        }

    .section {
        padding: 58px 5%;
    }

    .section-heading {
        align-items: start;
        flex-direction: column;
        gap: 12px;
    }

    .collection-grid, .product-grid {
        gap: 20px 12px;
    }

    .collection-art {
        min-height: 160px;
    }

    .product-image {
        min-height: 190px;
    }

    .product-info {
        flex-direction: column;
        gap: 5px;
    }

        .product-info h3 {
            font-size: 14px;
        }

    .story-section {
        grid-template-columns: 1fr;
        padding: 55px 5%;
        gap: 35px;
    }

    .story-art {
        min-height: 280px;
    }

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

    .newsletter {
        padding: 50px 20px;
    }

        .newsletter h2 {
            font-size: 30px;
        }

    .site-footer {
        grid-template-columns: 1fr;
        padding: 35px 6% 22px;
    }

    .footer-links {
        justify-content: start;
        flex-wrap: wrap;
    }

    .copyright {
        grid-column: auto;
    }

    .product-detail {
        grid-template-columns: 1fr;
        padding-top: 25px;
        gap: 10px;
    }

    .detail-art {
        min-height: 350px;
    }

    .detail-copy {
        padding: 25px 0 0;
    }

    .login-card {
        padding: 30px 24px;
    }
}


/* Stage 2: catalogue administration, product specifications and cart */
.admin-shell, .cart-shell, .checkout-shell {
    max-width: 1440px;
    margin: 0 auto;
}

.admin-toolbar, .admin-actions, .admin-form-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

    .admin-toolbar form, .admin-actions form {
        margin: 0;
    }

.button-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #b9aa97;
    padding: 12px 20px;
    background: transparent;
    color: #35291f;
    text-decoration: none;
    cursor: pointer;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 16px;
    margin: 26px 0;
}

    .admin-stats > div {
        border: 1px solid #e2d8ca;
        padding: 20px;
        background: #faf7f2;
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .admin-stats span, .admin-product-cell small {
        color: #776a5d;
        font-size: 13px;
    }

    .admin-stats strong {
        font-family: 'Libre Baskerville',serif;
        font-size: 30px;
        font-weight: 500;
    }

.admin-table-wrap {
    width: 100%;
    overflow-x: auto;
    border: 1px solid #e2d8ca;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 900px;
    background: #fffdfa;
}

    .admin-table th, .admin-table td {
        text-align: left;
        padding: 13px 14px;
        border-bottom: 1px solid #eee6dc;
        font-size: 13px;
        vertical-align: middle;
    }

    .admin-table th {
        background: #f7f1e8;
        font-weight: 600;
    }

.admin-product-cell {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 220px;
}

    .admin-product-cell img {
        width: 56px;
        height: 64px;
        object-fit: cover;
        background: #f0e8dd;
    }

    .admin-product-cell div {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

.admin-actions a, .admin-delete {
    color: #594333;
    text-decoration: underline;
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
    font: inherit;
}

.admin-form {
    max-width: 1000px;
}

.admin-form-section {
    margin: 26px 0;
    padding: 24px;
    border: 1px solid #e4d9ca;
    background: #fffdfa;
}

    .admin-form-section h2 {
        font-family: 'Libre Baskerville',serif;
        font-size: 24px;
        font-weight: 500;
        margin: 0 0 20px;
    }

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

.form-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-width: 0;
}

    .form-field.full {
        grid-column: 1 / -1;
    }

    .form-field label, .add-to-cart-form label {
        font-size: 13px;
        color: #594b3e;
    }

    .form-field input, .form-field select, .form-field textarea, .login-card input {
        width: 100%;
        border: 1px solid #d8cbbb;
        background: #fff;
        padding: 12px;
        color: #30261e;
        font: inherit;
        border-radius: 0;
    }

        .form-field input[type=file] {
            padding: 9px;
        }

    .form-field textarea {
        resize: vertical;
    }

.checkbox-row {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

    .checkbox-row label {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .checkbox-row input {
        accent-color: #594333;
    }

.admin-current-image {
    display: block;
    width: 120px;
    height: 120px;
    object-fit: cover;
    margin-top: 10px;
}

.validation-summary, .field-error {
    color: #a2382c;
    font-size: 13px;
}

    .validation-summary:empty {
        display: none;
    }

.admin-form-actions {
    margin-top: 24px;
}

.detail-gallery {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 12px 0;
}

    .detail-gallery img {
        width: 84px;
        height: 96px;
        object-fit: cover;
        border: 1px solid #e4d9ca;
    }

.add-to-cart-form {
    display: grid;
    grid-template-columns: auto 90px;
    gap: 10px;
    align-items: center;
    margin: 20px 0;
}

    .add-to-cart-form input {
        width: 90px;
        padding: 10px;
        border: 1px solid #d8cbbb;
        background: #fffdfa;
    }

    .add-to-cart-form .button {
        grid-column: 1 / -1;
    }

.compare-price {
    color: #827568;
    margin-top: -12px;
}

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

.cart-items {
    border-top: 1px solid #e4d9ca;
}

.cart-item {
    display: grid;
    grid-template-columns: 100px minmax(0,1fr) auto;
    gap: 18px;
    padding: 20px 0;
    border-bottom: 1px solid #e4d9ca;
    align-items: start;
}

    .cart-item > img {
        width: 100px;
        height: 120px;
        object-fit: cover;
        background: #f1e8dc;
    }

.cart-item-copy h2 {
    font-family: 'Libre Baskerville',serif;
    font-size: 20px;
    font-weight: 500;
    margin: 0;
}

.cart-item-copy a {
    color: inherit;
    text-decoration: none;
}

.cart-item-copy p {
    color: #827568;
    font-size: 12px;
}

.cart-item-actions, .cart-item-actions form {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.cart-item-actions {
    margin-top: 12px;
}

    .cart-item-actions form {
        margin: 0;
    }

    .cart-item-actions label {
        font-size: 12px;
    }

    .cart-item-actions input {
        width: 60px;
        padding: 6px;
        border: 1px solid #d8cbbb;
    }

    .cart-item-actions button {
        border: 0;
        background: none;
        padding: 0;
        text-decoration: underline;
        cursor: pointer;
        color: #594333;
    }

.cart-summary {
    padding: 24px;
    background: #f7f1e8;
    position: sticky;
    top: 20px;
}

    .cart-summary h2 {
        font-family: 'Libre Baskerville',serif;
        font-weight: 500;
        margin-top: 0;
    }

    .cart-summary > div {
        display: flex;
        justify-content: space-between;
        gap: 15px;
        margin: 16px 0;
        font-size: 14px;
    }

    .cart-summary .cart-total {
        padding-top: 16px;
        border-top: 1px solid #d8cbbb;
        font-size: 17px;
    }

.fine-print {
    color: #776a5d;
    font-size: 12px;
    line-height: 1.6;
}

.checkout-form {
    max-width: 820px;
}

.order-created {
    max-width: 850px;
    margin: auto;
    min-height: 50vh;
}

    .order-created h1 {
        font-family: 'Libre Baskerville',serif;
        font-size: clamp(34px,5vw,56px);
        font-weight: 500;
    }

@media (max-width:760px) {
    .admin-stats {
        grid-template-columns: 1fr;
    }

    .admin-form-section {
        padding: 17px;
    }

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

    .form-field.full {
        grid-column: auto;
    }

    .cart-layout {
        grid-template-columns: 1fr;
    }

    .cart-item {
        grid-template-columns: 76px minmax(0,1fr);
        gap: 12px;
    }

        .cart-item > img {
            width: 76px;
            height: 92px;
        }

        .cart-item > strong {
            grid-column: 2;
        }

    .cart-summary {
        position: static;
    }
}

.catalogue-shell {
    max-width: 1440px;
    margin: 0 auto;
}

.catalogue-filters {
    display: grid;
    grid-template-columns: minmax(200px,1fr) 220px 220px auto;
    gap: 12px;
    margin: 28px 0;
}

    .catalogue-filters input, .catalogue-filters select {
        min-width: 0;
        border: 1px solid #d8cbbb;
        padding: 12px;
        background: #fffdfa;
        font: inherit;
        color: #30261e;
    }

.catalogue-grid {
    margin-top: 28px;
}

@media(max-width:760px) {
    .catalogue-filters {
        grid-template-columns: 1fr 1fr;
    }

        .catalogue-filters input {
            grid-column: 1/-1;
        }
}


/* Category management and product offer presentation */
.admin-discount-note {
    display: block;
    color: #98764e;
    font-size: 11px;
    margin-top: 3px;
}

.product-sale-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    display: inline-flex;
    padding: 7px 11px;
    border-radius: 20px;
    background: #8a6244;
    color: #fffaf4;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    box-shadow: 0 3px 12px rgba(49,36,27,.12);
}

.product-price-stack {
    display: flex;
    align-items: baseline;
    gap: 9px;
    flex-wrap: wrap;
}

    .product-price-stack strong {
        color: #40342d;
    }

    .product-price-stack s {
        color: #978b7e;
        font-size: 12px;
        font-weight: 400;
    }

.detail-offer {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin: 12px 0 4px;
}

    .detail-offer .detail-price {
        margin: 0;
    }

    .detail-offer > s {
        color: #96897c;
        font-size: 16px;
    }

.detail-offer-badge {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 18px;
    background: #f1e6d8;
    color: #805a3c;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
}

.offer-caption {
    margin: 5px 0 18px;
    color: #8b7a69;
    font-size: 12px;
    letter-spacing: .02em;
}

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

    .cart-sale-price s {
        color: #998d80;
        font-size: 12px;
    }

    .cart-sale-price small {
        color: #8a6244;
        font-size: 11px;
        font-weight: 600;
    }

.category-admin-preview {
    max-width: 160px;
    max-height: 140px;
    object-fit: cover;
}


/* Direct purchase / Buy Now */
.buy-now-form {
    margin: 10px 0 22px;
}

    .buy-now-form .button {
        margin-top: 0;
    }

.button-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 24px;
    border: 1px solid #b99b76;
    background: transparent;
    color: #594333;
    text-decoration: none;
    font: inherit;
    cursor: pointer;
    transition: background .2s ease,color .2s ease,border-color .2s ease;
}

    .button-outline:hover {
        background: #f1e6d8;
        border-color: #98764e;
        color: #40342d;
    }

.buy-now-summary {
    display: flex;
    align-items: center;
    gap: 18px;
    max-width: 820px;
    margin: 0 0 24px;
    padding: 16px;
    border: 1px solid #e4d9ca;
    background: #fbf7f1;
}

    .buy-now-summary img {
        width: 88px;
        height: 100px;
        object-fit: cover;
        background: #f1e8dc;
    }

    .buy-now-summary h2 {
        margin: 4px 0;
        font: 500 20px 'Libre Baskerville',serif;
    }

    .buy-now-summary p {
        margin: 4px 0;
        color: #827568;
        font-size: 13px;
    }

    .buy-now-summary strong {
        color: #594333;
    }


/* SOLENOS shared pill navigation: storefront and admin */
.site-header {
    flex-wrap: nowrap;
}

.main-nav {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px;
    border: 1px solid rgba(139, 112, 84, .14);
    border-radius: 999px;
    background: #eee6dc;
}

    .main-nav a.store-menu-item {
        position: static;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 9px 16px;
        border-radius: 999px;
        color: #51443a;
        font-size: 12px;
        font-weight: 600;
        white-space: nowrap;
        text-decoration: none;
        transition: background .2s ease, color .2s ease, box-shadow .2s ease;
    }

        .main-nav a.store-menu-item::after {
            display: none;
        }

        .main-nav a.store-menu-item:hover,
        .main-nav a.store-menu-item:focus-visible {
            background: #fffaf4;
            color: #98764e;
            box-shadow: 0 2px 8px rgba(51, 42, 37, .07);
            outline: none;
        }

.header-account-email {
    max-width: 175px;
    padding: 8px 12px;
    border: 1px solid #e4d8c9;
    border-radius: 999px;
    background: #f3ece3;
}

.header-signout {
    padding: 8px 13px;
    border: 1px solid #d8c8b5;
    border-radius: 999px;
    background: transparent;
    font-weight: 600;
}

    .header-signout:hover {
        background: #eee6dc;
    }

.bag-link {
    padding: 9px 17px;
    border-color: #b99b76;
    background: #b99b76;
    color: #fffaf4;
    font-weight: 600;
}

    .bag-link:hover {
        border-color: #98764e;
        background: #98764e;
        color: #fff;
    }

/* Dedicated administrator shell and pill menu */
.admin-body {
    min-height: 100vh;
    background: #f8f5f0;
}

.admin-site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    min-height: 82px;
    padding: 14px 4.5%;
    border-bottom: 1px solid #e5d9c9;
    background: rgba(255, 253, 249, .97);
    backdrop-filter: blur(12px);
}

.admin-brand {
    display: flex;
    flex-direction: column;
    flex: 0 0 auto;
    color: #40342d;
    text-decoration: none;
}

.admin-brand-main {
    font-family: var(--serif);
    font-size: 20px;
    letter-spacing: .12em;
    line-height: 1.1;
}

.admin-brand-sub {
    margin-top: 5px;
    color: #98764e;
    font-size: 8px;
    letter-spacing: .2em;
}

.admin-menu {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px;
    border: 1px solid rgba(139, 112, 84, .14);
    border-radius: 999px;
    background: #eee6dc;
}

    .admin-menu a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 9px 15px;
        border-radius: 999px;
        color: #51443a;
        font-size: 12px;
        font-weight: 600;
        white-space: nowrap;
        transition: background .2s ease, color .2s ease, box-shadow .2s ease;
    }

        .admin-menu a:hover, .admin-menu a:focus-visible {
            background: #fffaf4;
            color: #98764e;
            box-shadow: 0 2px 8px rgba(51, 42, 37, .07);
            outline: none;
        }

.admin-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}

    .admin-header-actions form {
        margin: 0;
    }

.admin-user-label {
    max-width: 150px;
    overflow: hidden;
    color: #81756a;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-signout, .admin-back-store {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 15px;
    border: 1px solid #b99b76;
    border-radius: 999px;
    background: transparent;
    color: #51443a;
    font: 600 12px var(--sans);
    cursor: pointer;
    white-space: nowrap;
}

    .admin-signout:hover, .admin-back-store:hover {
        background: #eee6dc;
        color: #98764e;
    }

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

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

    .admin-site-header {
        flex-wrap: wrap;
        justify-content: center;
    }

    .admin-menu {
        order: 3;
    }
}

@media (max-width: 640px) {
    .main-nav {
        order: 3;
        width: auto;
        max-width: 100%;
        gap: 2px;
        padding: 4px;
        border-top: 1px solid rgba(139,112,84,.14);
    }

        .main-nav a.store-menu-item {
            padding: 8px 11px;
            font-size: 10.5px;
        }

    .header-actions {
        gap: 7px;
    }

    .header-account-email {
        max-width: 112px;
        padding: 7px 9px;
        font-size: 10px;
    }

    .header-signout {
        padding: 7px 9px;
        font-size: 10px;
    }

    .bag-link {
        padding: 8px 12px;
        font-size: 10px;
    }

    .admin-site-header {
        gap: 12px;
        padding: 12px 4%;
    }

    .admin-menu {
        order: 3;
        max-width: 100%;
        flex-wrap: wrap;
        justify-content: center;
    }

        .admin-menu a {
            padding: 8px 10px;
            font-size: 10.5px;
        }

    .admin-header-actions {
        gap: 7px;
    }

    .admin-user-label {
        max-width: 100px;
    }
}


/* Sales & analytics dashboard */
.admin-dashboard {
    max-width: 1500px;
    margin: 0 auto;
    padding: 34px 4.5% 64px;
    color: #40372f;
}

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

    .admin-dashboard-heading h1 {
        margin: 4px 0 6px;
        font: 500 clamp(28px,3vw,38px) var(--serif);
        color: #40342d;
    }

    .admin-dashboard-heading p {
        margin: 0;
    }

.admin-eyebrow {
    color: #98764e;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .18em;
}

.admin-muted, .analytics-period-note {
    color: #85796d;
    font-size: 12px;
}

.admin-outline-button, .analytics-custom-range button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border: 1px solid #b99b76;
    border-radius: 999px;
    background: #b99b76;
    color: #fffaf4;
    font: 600 12px var(--sans);
    text-decoration: none;
    cursor: pointer;
}

    .admin-outline-button:hover, .analytics-custom-range button:hover {
        background: #98764e;
        border-color: #98764e;
        color: white;
    }

.analytics-filter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin: 20px 0 8px;
    padding: 12px;
    border: 1px solid #e9dfd3;
    border-radius: 16px;
    background: #fffdf9;
}

.analytics-presets {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

    .analytics-presets a {
        display: inline-flex;
        align-items: center;
        padding: 8px 12px;
        border: 1px solid transparent;
        border-radius: 999px;
        background: transparent;
        color: #6f6257;
        font: 600 11px var(--sans);
        text-decoration: none;
        cursor: pointer;
    }

        .analytics-presets a:hover, .analytics-presets a.selected {
            border-color: #e2d3c0;
            background: #f1e9df;
            color: #765b3c;
        }

.analytics-custom-range {
    display: flex;
    align-items: end;
    flex-wrap: wrap;
    gap: 8px;
}

    .analytics-custom-range label {
        display: grid;
        gap: 4px;
        color: #84786d;
        font-size: 10px;
        font-weight: 600;
    }

    .analytics-custom-range input {
        min-height: 34px;
        padding: 5px 8px;
        border: 1px solid #e2d8cc;
        border-radius: 8px;
        background: #fff;
        color: #51443a;
        font: 12px var(--sans);
    }

    .analytics-custom-range button {
        min-height: 34px;
        padding: 8px 14px;
    }

.analytics-period-note {
    margin: 8px 2px 25px;
}

.analytics-section-title {
    margin: 22px 0 12px;
}

    .analytics-section-title h2, .analytics-panel-heading h2 {
        margin: 0;
        color: #40342d;
        font: 500 21px var(--serif);
    }

    .analytics-section-title p, .analytics-panel-heading p {
        margin: 4px 0 0;
        color: #8a7e72;
        font-size: 11px;
    }

.analytics-kpi-grid {
    display: grid;
    grid-template-columns: repeat(6,minmax(0,1fr));
    gap: 12px;
}

.analytics-kpi {
    min-height: 116px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    padding: 17px;
    border: 1px solid #ebe2d8;
    border-radius: 15px;
    background: #fffdf9;
}

    .analytics-kpi span {
        color: #807468;
        font-size: 11px;
        font-weight: 600;
    }

    .analytics-kpi strong {
        color: #40342d;
        font: 500 clamp(21px,2vw,27px) var(--serif);
    }

    .analytics-kpi small {
        color: #998d81;
        font-size: 10px;
        line-height: 1.4;
    }

.analytics-kpi-primary {
    border-color: #d9c5a9;
    background: linear-gradient(145deg,#f5eee4,#fffdf9);
}

    .analytics-kpi-primary strong {
        color: #876843;
    }

.analytics-main-grid {
    display: grid;
    grid-template-columns: minmax(0,1.45fr) minmax(300px,.85fr);
    gap: 16px;
    margin-top: 16px;
}

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

.analytics-panel {
    min-width: 0;
    padding: 20px;
    border: 1px solid #ebe2d8;
    border-radius: 16px;
    background: #fffdf9;
}

.analytics-panel-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

    .analytics-panel-heading > strong {
        color: #876843;
        font: 500 19px var(--serif);
        white-space: nowrap;
    }

.sales-bars {
    display: flex;
    align-items: stretch;
    gap: 7px;
    min-height: 190px;
    padding: 8px 0 0;
}

.sales-bar-column {
    display: flex;
    flex: 1 1 0;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.sales-bar-track {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    width: 100%;
    height: 150px;
    border-bottom: 1px solid #e8ded2;
    background: repeating-linear-gradient(to top,transparent 0,transparent 36px,#f1ebe4 37px,#f1ebe4 38px);
}

.sales-bar {
    width: min(28px,70%);
    min-height: 0;
    border-radius: 7px 7px 2px 2px;
    background: linear-gradient(180deg,#c5a77e,#98764e);
    transition: height .25s ease;
}

.sales-bar-column span {
    color: #8b7f73;
    font-size: 9px;
    white-space: nowrap;
}

.analytics-breakdown {
    display: grid;
    gap: 15px;
}

.analytics-breakdown-row > div:first-child {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 7px;
    color: #6e6257;
    font-size: 11px;
}

.analytics-breakdown-row strong {
    color: #40342d;
}

.analytics-progress {
    height: 7px;
    overflow: hidden;
    border-radius: 99px;
    background: #f0e9e1;
}

    .analytics-progress i {
        display: block;
        height: 100%;
        border-radius: 99px;
        background: #b99b76;
    }

.analytics-empty {
    display: flex;
    min-height: 145px;
    align-items: center;
    justify-content: center;
    padding: 18px;
    border: 1px dashed #e3d8cb;
    border-radius: 12px;
    color: #95897d;
    font-size: 12px;
    text-align: center;
}

.store-overview-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 10px;
}

    .store-overview-grid > div {
        display: flex;
        flex-direction: column;
        gap: 4px;
        padding: 12px;
        border-radius: 10px;
        background: #f7f2ec;
    }

    .store-overview-grid strong {
        color: #51443a;
        font: 500 21px var(--serif);
    }

    .store-overview-grid span {
        color: #8a7e72;
        font-size: 10px;
        line-height: 1.3;
    }

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

.analytics-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 11px;
}

    .analytics-table th, .analytics-table td {
        padding: 11px 9px;
        border-bottom: 1px solid #f0e9e1;
        text-align: left;
        white-space: nowrap;
    }

    .analytics-table th {
        color: #8a7e72;
        font-size: 9px;
        letter-spacing: .08em;
        text-transform: uppercase;
    }

    .analytics-table td {
        color: #55493e;
    }

.analytics-recent-orders {
    display: grid;
}

.analytics-recent-order {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f0e9e1;
}

    .analytics-recent-order:last-child {
        border-bottom: 0;
    }

    .analytics-recent-order > div:first-child, .analytics-recent-meta {
        display: flex;
        min-width: 0;
        flex-direction: column;
        gap: 4px;
    }

    .analytics-recent-order strong {
        color: #51443a;
        font-size: 11px;
    }

    .analytics-recent-order span, .analytics-recent-order small {
        overflow: hidden;
        color: #8c8074;
        font-size: 9px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

.analytics-recent-meta {
    align-items: flex-end;
    flex: 0 0 auto;
}

.status-pill {
    padding: 4px 8px;
    border-radius: 999px;
    background: #f1e9df;
    color: #806344 !important;
    font-weight: 700;
}

.status-paid {
    background: #e7efe6;
    color: #557452 !important;
}

.status-failed {
    background: #f7e8e5;
    color: #a15f55 !important;
}

.status-pending {
    background: #f7f0df;
    color: #97783d !important;
}

.product-inventory-panel {
    margin-top: 16px;
}

.admin-text-link {
    color: #98764e;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

    .admin-text-link:hover {
        text-decoration: underline;
    }

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

@media(max-width:850px) {
    .admin-dashboard {
        padding: 25px 4%;
    }

    .analytics-main-grid, .analytics-second-grid {
        grid-template-columns: 1fr;
    }

    .analytics-filter {
        align-items: flex-start;
        flex-direction: column;
    }
}

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

    .analytics-kpi-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 8px;
    }

    .analytics-kpi {
        min-height: 105px;
        padding: 13px;
    }

    .analytics-custom-range {
        width: 100%;
    }

        .analytics-custom-range label {
            flex: 1;
            min-width: 110px;
        }

        .analytics-custom-range input {
            width: 100%;
        }

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

    .analytics-panel {
        padding: 15px;
    }

    .sales-bars {
        gap: 3px;
    }

    .sales-bar-column span {
        font-size: 8px;
    }
}

/* Admin order fulfilment */
.admin-dashboard-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.admin-menu a[aria-current="page"] {
    color: #8b6945;
}

.analytics-order-link {
    color: inherit;
    text-decoration: none;
}

    .analytics-order-link:hover {
        background: #faf6f0;
    }

.orders-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin: 0 0 16px;
}

    .orders-filter input {
        flex: 1 1 260px;
        min-width: 180px;
        padding: 11px 13px;
        border: 1px solid #e5d9ca;
        border-radius: 9px;
        background: #fffdf9;
    }

    .orders-filter select {
        padding: 11px 13px;
        border: 1px solid #e5d9ca;
        border-radius: 9px;
        background: #fffdf9;
    }

    .orders-filter button {
        padding: 11px 18px;
        border: 0;
        border-radius: 999px;
        background: #b99b76;
        color: white;
        cursor: pointer;
    }

    .orders-filter a, .admin-text-link {
        color: #876843;
        font-size: 12px;
    }

.order-admin-grid {
    display: grid;
    grid-template-columns: minmax(0,1.5fr) minmax(260px,.8fr);
    gap: 16px;
    margin-bottom: 16px;
}

.order-subheading {
    margin: 22px 0 10px;
    font: 500 17px var(--serif);
}

.order-shipping-panel {
    margin-top: 16px;
}

    .order-shipping-panel .admin-form-grid {
        display: grid;
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 14px;
    }

    .order-shipping-panel .form-field {
        display: flex;
        flex-direction: column;
        gap: 6px;
    }

        .order-shipping-panel .form-field.full {
            grid-column: 1/-1;
        }

    .order-shipping-panel input, .order-shipping-panel select, .order-shipping-panel textarea {
        width: 100%;
        padding: 11px 12px;
        border: 1px solid #e5d9ca;
        border-radius: 8px;
        background: #fffdf9;
        font: 13px var(--sans);
    }

@media(max-width:800px) {
    .order-admin-grid {
        grid-template-columns: 1fr;
    }
}

@media(max-width:560px) {
    .order-shipping-panel .admin-form-grid {
        grid-template-columns: 1fr;
    }

    .order-shipping-panel .form-field.full {
        grid-column: auto;
    }
}

/* Elegant Solenos divider */
.brand-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 26px;
    padding: 4px 1%;
    background: #f8f5f0;
}

.divider-line {
    flex: 1;
    max-width: 280px;
    height: 1px;
    background: linear-gradient( to right, transparent, #c5a77e );
}

    .divider-line:last-child {
        background: linear-gradient( to left, transparent, #c5a77e );
    }

.divider-content {
    text-align: center;
    color: #8a7054;
}

.divider-symbol {
    display: block;
    font-size: 27px;
    color: #b89560;
    margin-bottom: 8px;
}

.divider-content p {
    font-size: 9px;
    letter-spacing: .22em;
    margin-bottom: 7px;
}

.divider-subtitle {
    font-family: var(--serif);
    font-size: 17px;
    font-style: italic;
    color: #665344;
}

/* Jewellery care */
.care-section {
    padding: 90px 7% 85px;
    background: #f5f0e9;
}

.care-heading {
    max-width: 650px;
    margin: 0 auto 48px;
    text-align: center;
}

    .care-heading h2 {
        font-size: clamp(32px, 4vw, 48px);
        line-height: 1.25;
        margin-bottom: 8px;
    }

        .care-heading h2 em {
            color: #997c5b;
            font-weight: 400;
        }

    .care-heading > p:last-child {
        max-width: 520px;
        margin: 0 auto;
        color: var(--muted);
        font-size: 13px;
        line-height: 1.9;
    }

.care-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    max-width: 1250px;
    margin: 0 auto;
}

.care-card {
    padding: 32px 25px;
    text-align: center;
    background: #fbf9f5;
    border: 1px solid rgba(157, 125, 87, .16);
    transition: transform .25s ease, box-shadow .25s ease;
}

    .care-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 30px rgba(70, 50, 30, .07);
    }

.care-icon {
    display: inline-block;
    font-size: 27px;
    color: #ae8b5d;
    margin-bottom: 18px;
}

.care-card h3 {
    font-family: var(--serif);
    font-size: 18px;
    font-weight: 400;
    color: var(--ink);
    margin-bottom: 13px;
}

.care-card p {
    color: var(--muted);
    font-size: 11px;
    line-height: 1.9;
    margin: 0;
}

.care-note {
    text-align: center;
    max-width: 750px;
    margin: 35px auto 0;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.8;
}

/* Responsive */
@media (max-width: 900px) {
    .care-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .brand-divider {
        gap: 14px;
        padding: 38px 5%;
    }

    .divider-content p {
        font-size: 8px;
        letter-spacing: .12em;
    }

    .divider-subtitle {
        font-size: 15px;
    }

    .care-section {
        padding: 60px 5%;
    }

    .care-grid {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .care-card {
        padding: 25px 22px;
    }
}

/* =========================================================
   SOLENOS HOMEPAGE REDESIGN — source-level editable content
   Retains the existing ivory, champagne, espresso palette
   and Libre Baskerville / Roboto typography.
   ========================================================= */
.redesigned-header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: auto;
    min-height: 0;
    padding: 8px 5.5% 18px;
    gap: 3px;
    background: var(--paper);
}
.redesigned-header .header-logo-link { justify-self: auto; }
.redesigned-header .header-logo { width: 142px; height: 142px; }
.header-navigation-row {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 18px;
}
.header-navigation-row .main-nav { grid-column: 2; justify-self: center; gap: clamp(14px, 2.7vw, 36px); }
.header-navigation-row .header-actions { grid-column: 3; justify-self: end; gap: 20px; }
.full-bleed-hero {
    position: relative;
    width: 100%;
    min-height: clamp(440px, 57vw, 690px);
    overflow: hidden;
    display: flex;
    align-items: center;
    background: #8e7a65;
}
.full-bleed-hero-image, .full-bleed-hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.full-bleed-hero-image { object-fit: cover; object-position: center 48%; }
.full-bleed-hero-shade { background: linear-gradient(90deg, rgba(31,25,21,.67) 0%, rgba(31,25,21,.38) 43%, rgba(31,25,21,.04) 100%); }
.full-bleed-hero-copy { position: relative; z-index: 1; width: min(620px, 58%); padding: 72px 0 72px 9%; color: #fffaf4; }
.full-bleed-hero-copy .eyebrow { color: #ead9c2; }
.full-bleed-hero-copy h1 { font-size: clamp(38px, 5.4vw, 72px); line-height: 1.17; margin: 0 0 22px; }
.full-bleed-hero-copy h1 em { color: #ead2b2; }
.full-bleed-hero-copy > p:not(.eyebrow) { max-width: 430px; margin-bottom: 28px; color: rgba(255,250,244,.9); font-size: 14px; line-height: 1.9; }
.full-bleed-hero-copy .button-dark { background: #f5eee4; color: var(--ink); }
.gemstone-marquee { overflow: hidden; background: #eee4d7; border-block: 1px solid rgba(51,42,37,.07); padding: 16px 0; }
.gemstone-marquee-track { display: flex; align-items: center; justify-content: space-around; gap: 34px; width: max-content; min-width: 200%; animation: solenos-marquee 34s linear infinite; }
.gemstone-marquee-track span { color: #68584a; font-size: 10px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; white-space: nowrap; }
.gemstone-marquee-track i { color: #a8875e; font-size: 17px; font-style: normal; }
@keyframes solenos-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.top-gemstones-section { background: #fbf8f3; }
.gemstone-card-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; }
.gemstone-card { min-width: 0; background: #f6f0e8; border: 1px solid rgba(157,125,87,.14); }
.gemstone-card-image { display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--sand); }
.gemstone-card-image img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .45s ease; }
.gemstone-card:hover .gemstone-card-image img { transform: scale(1.035); }
.gemstone-card-content { padding: 22px 20px 24px; }
.gemstone-card-content .eyebrow { font-size: 8px; margin-bottom: 9px; }
.gemstone-card-content h3 { font-size: 24px; margin: 0 0 10px; }
.gemstone-card-description { color: var(--muted); font-size: 11px; line-height: 1.8; min-height: 58px; }
.gemstone-more { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 12px 0; margin: 12px 0 14px; }
.gemstone-more summary { display: flex; justify-content: space-between; align-items: center; cursor: pointer; list-style: none; color: var(--ink); font-size: 10px; font-weight: 600; letter-spacing: .03em; }
.gemstone-more summary::-webkit-details-marker { display: none; }
.gemstone-more[open] summary span { transform: rotate(45deg); }
.gemstone-more-content { padding-top: 12px; color: var(--muted); font-size: 10px; line-height: 1.75; overflow-wrap: anywhere; }
.gemstone-more-content p { margin: 0 0 7px; }
.gemstone-more-content strong { color: var(--ink); margin-right: 5px; }
.gemstone-product-link { font-size: 10px; }
@media (prefers-reduced-motion: reduce) { .gemstone-marquee-track { animation: none; } *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; } }
@media (max-width: 900px) {
    .gemstone-card-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .header-navigation-row { display: flex; flex-wrap: wrap; justify-content: center; }
    .header-navigation-row .main-nav, .header-navigation-row .header-actions { justify-self: auto; }
}
@media (max-width: 640px) {
    .redesigned-header { padding: 5px 5% 15px; }
    .redesigned-header .header-logo { width: 118px; height: 118px; }
    .header-navigation-row { gap: 13px; }
    .header-navigation-row .main-nav { order: 2; width: 100%; flex-wrap: wrap; justify-content: center; gap: 12px 18px; }
    .header-navigation-row .header-actions { order: 1; width: 100%; justify-content: center; gap: 22px; }
    .full-bleed-hero { min-height: 520px; align-items: end; }
    .full-bleed-hero-image { object-position: 58% center; }
    .full-bleed-hero-shade { background: linear-gradient(0deg, rgba(31,25,21,.78) 0%, rgba(31,25,21,.38) 62%, rgba(31,25,21,.06) 100%); }
    .full-bleed-hero-copy { width: 100%; padding: 55px 7% 48px; }
    .full-bleed-hero-copy h1 { font-size: clamp(36px, 10vw, 48px); }
    .gemstone-marquee-track { gap: 22px; }
    .gemstone-card-grid { grid-template-columns: 1fr; gap: 18px; }
    .gemstone-card { display: grid; grid-template-columns: 42% 1fr; }
    .gemstone-card-image { aspect-ratio: auto; min-height: 100%; }
    .gemstone-card-content { padding: 17px 15px; }
    .gemstone-card-content h3 { font-size: 20px; }
    .gemstone-card-description { min-height: 0; }
}


/* Follow-up homepage refinements: left brand cluster, top navigation, expandable gemstone cards. */
.redesigned-header {
    min-height: 112px;
    padding: 10px 5.5%;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: clamp(18px, 3vw, 48px);
}
.header-brand-group { display: flex; align-items: center; gap: 18px; flex: 0 0 auto; }
.redesigned-header .header-logo { width: 108px; height: 108px; object-fit: contain; }
.header-instagram-link { display: inline-flex; align-items: center; gap: 7px; color: var(--ink); font-size: 10px; letter-spacing: .04em; text-decoration: none; white-space: nowrap; }
.header-instagram-link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.header-navigation-row { width: auto; flex: 1 1 auto; display: flex; justify-content: flex-end; align-items: center; gap: clamp(18px, 2.4vw, 38px); }
.header-navigation-row .main-nav { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: clamp(12px, 1.8vw, 27px); }
.header-navigation-row .header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 18px; white-space: nowrap; }
.gemstone-card-toggle { display: block; padding: 0; overflow: hidden; }
.gemstone-card-summary { display: block; cursor: pointer; list-style: none; }
.gemstone-card-summary::-webkit-details-marker { display: none; }
.gemstone-card-summary .gemstone-card-image { display: block; }
.gemstone-card-summary .gemstone-card-content { display: block; }
.gemstone-card-title { display: block; font-family: var(--serif); font-size: 24px; color: var(--ink); margin: 0 0 10px; }
.gemstone-card-summary .gemstone-card-description { display: block; }
.gemstone-card-prompt { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 13px; margin-top: 14px; color: var(--ink); font-size: 10px; font-weight: 600; letter-spacing: .03em; }
.gemstone-toggle-icon { font-size: 18px; font-weight: 400; transition: transform .2s ease; }
.gemstone-card-toggle[open] .gemstone-toggle-icon { transform: rotate(45deg); }
.gemstone-expanded-content { padding: 0 20px 22px; color: var(--muted); font-size: 10px; line-height: 1.75; overflow-wrap: anywhere; }
.gemstone-expanded-content p { margin: 0 0 7px; }
.gemstone-expanded-content strong { color: var(--ink); margin-right: 5px; }
.gemstone-expanded-content .gemstone-product-link { display: inline-block; margin-top: 9px; }
@media (max-width: 1100px) {
    .redesigned-header { align-items: flex-start; }
    .header-navigation-row { flex-direction: column; align-items: flex-end; gap: 12px; }
}
@media (max-width: 760px) {
    .redesigned-header { flex-direction: column; align-items: center; padding: 8px 5% 16px; gap: 8px; }
    .header-brand-group { justify-content: center; }
    .redesigned-header .header-logo { width: 92px; height: 92px; }
    .header-navigation-row { width: 100%; align-items: center; gap: 12px; }
    .header-navigation-row .main-nav { justify-content: center; }
    .header-navigation-row .header-actions { justify-content: center; }
}


/* v3 homepage corrections: always-visible gemstone discovery and centered navigation */
.redesigned-header {
    display: grid;
    grid-template-columns: minmax(190px, 245px) minmax(0, 1fr);
    align-items: center;
    justify-content: stretch;
    min-height: 124px;
    height: auto;
    padding: 10px 5.5%;
    gap: clamp(18px, 3vw, 44px);
}
.redesigned-header .header-brand-group {
    grid-column: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
}
.redesigned-header .header-logo { width: 104px; height: 104px; object-fit: contain; }
.redesigned-header .header-navigation-row {
    grid-column: 2;
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 20px;
}
.redesigned-header .header-navigation-row .main-nav {
    grid-column: 1;
    justify-self: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: clamp(12px, 2vw, 28px);
}
.redesigned-header .header-navigation-row .header-actions {
    grid-column: 2;
    justify-self: end;
}
.top-gemstones-section { display: block !important; }
.gemstone-fallback-art {
    display: flex;
    aspect-ratio: 1 / 1;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: radial-gradient(circle at 50% 43%, rgba(255,255,255,.65), transparent 36%), linear-gradient(145deg, #e8ddd0, #c8b39b);
}
.gemstone-fallback-art span {
    display: grid;
    place-items: center;
    width: 104px;
    height: 104px;
    border-radius: 28% 42% 32% 45%;
    transform: rotate(45deg);
    border: 1px solid rgba(255,255,255,.65);
    box-shadow: 12px 15px 28px rgba(51,42,37,.18), inset 7px 7px 15px rgba(255,255,255,.35);
    color: rgba(255,255,255,.9);
    font-family: var(--serif);
    font-size: 38px;
    text-shadow: 0 2px 8px rgba(0,0,0,.18);
}
.gemstone-fallback-art span { line-height: 1; }
.gemstone-fallback-amethyst { background: linear-gradient(145deg, #e8dfe9, #b7a1bd); }
.gemstone-fallback-amethyst span { background: linear-gradient(135deg, #bca1ce, #60416f); }
.gemstone-fallback-citrine { background: linear-gradient(145deg, #eee4ce, #cdb68c); }
.gemstone-fallback-citrine span { background: linear-gradient(135deg, #f3d88a, #a77a2f); }
.gemstone-fallback-garnet { background: linear-gradient(145deg, #e8d9d3, #b9958d); }
.gemstone-fallback-garnet span { background: linear-gradient(135deg, #a94c50, #57232e); }
.gemstone-fallback-peridot { background: linear-gradient(145deg, #e3e6d4, #b1b58c); }
.gemstone-fallback-peridot span { background: linear-gradient(135deg, #c6d17a, #65743d); }
.gemstone-fallback-art span { transform: none; border-radius: 42% 28% 45% 32%; }
@media (max-width: 900px) {
    .redesigned-header { grid-template-columns: 1fr; justify-items: center; gap: 8px; }
    .redesigned-header .header-brand-group { justify-content: center; }
    .redesigned-header .header-navigation-row { grid-column: 1; grid-template-columns: 1fr; justify-items: center; gap: 12px; }
    .redesigned-header .header-navigation-row .main-nav { grid-column: 1; justify-self: center; }
    .redesigned-header .header-navigation-row .header-actions { grid-column: 1; justify-self: center; }
}
@media (max-width: 640px) {
    .redesigned-header { padding: 8px 5% 14px; }
    .redesigned-header .header-logo { width: 82px; height: 82px; }
    .redesigned-header .header-navigation-row .main-nav { gap: 10px 16px; }
    .gemstone-card-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 420px) {
    .gemstone-card-grid { grid-template-columns: 1fr; }
}

/* SOLENOS storefront header: true viewport-centered desktop navigation */
@media (min-width: 901px) {
    .redesigned-header {
        position: relative;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        min-height: 124px;
        height: auto;
        padding: 10px 5.5%;
        gap: 20px;
    }

    .redesigned-header .header-brand-group {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        flex: 0 0 auto;
        z-index: 2;
    }

    .redesigned-header .header-navigation-row {
        position: static;
        display: block;
        width: auto;
        flex: 0 0 auto;
    }

    .redesigned-header .header-navigation-row .main-nav {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: nowrap;
        gap: 28px;
        white-space: nowrap;
        z-index: 1;
    }

    .redesigned-header .header-navigation-row .header-actions {
        position: absolute;
        right: 5.5%;
        top: 50%;
        transform: translateY(-50%);
        display: flex;
        align-items: center;
        gap: 20px;
        z-index: 2;
    }
}

/* Keep the stacked, centered navigation on tablet and mobile */
@media (max-width: 900px) {
    .redesigned-header {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: auto;
        min-height: 0;
        gap: 10px;
    }

    .redesigned-header .header-brand-group {
        justify-content: center;
    }

    .redesigned-header .header-navigation-row {
        position: static;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        gap: 12px;
    }

    .redesigned-header .header-navigation-row .main-nav,
    .redesigned-header .header-navigation-row .header-actions {
        position: static;
        transform: none;
        justify-self: auto;
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* Prevent the centered menu from colliding with the logo or account actions */
@media (min-width: 901px) and (max-width: 1180px) {
    .redesigned-header .header-navigation-row .main-nav {
        gap: 14px;
    }

    .redesigned-header .header-navigation-row .main-nav a.store-menu-item {
        padding-inline: 10px;
        font-size: 11px;
    }

    .redesigned-header .header-logo {
        width: 88px;
        height: 88px;
    }

    .redesigned-header .header-instagram-link span {
        display: none;
    }
}


/* Reduce the complete gap between Collections and Meet the Stones by approximately 90%. */
.collections-section { 
    padding-bottom: 30px; 

}
.collections-section {
    padding-top: 30px;
}
.top-gemstones-section { 
    padding-top: 30px; 
}
.care-section {
    padding-top: 30px;
    padding-bottom: 30px;
}
