:root {

    --ivory: #FAF8F5;

    --sage: #3F5948;

    --sage-dark: #293E31;

    --sage-light: #E4EDE5;

    --ink: #242824;

    --muted: #77716E;

    --blush: #D8B6A7;

    --white: #FFFFFF;

    --radius: 24px;

}

* {

    box-sizing: border-box;

}

html {

    scroll-behavior: smooth;

}

body {

    margin: 0;

    font-family: 'Manrope', sans-serif;

    background: var(--ivory);

    color: var(--ink);

    line-height: 1.65;

}

button,

input {

    font: inherit;

}

button,

a {

    -webkit-tap-highlight-color: transparent;

}

a {

    text-decoration: none;

    color: inherit;

}

.container {

    width: min(1160px, calc(100% - 40px));

    margin-inline: auto;

}

.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;

}

/* HEADER */

.site-header {

    position: relative;

    z-index: 20;

    background: var(--ivory);

    border-bottom: 1px solid rgba(82, 107, 91, .1);

}

.nav-wrapper {

    min-height: 88px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 24px;

}

.logo {

    font-size: 24px;

    font-weight: 800;

    letter-spacing: -1.3px;

    white-space: nowrap;

}

.logo span {

    color: var(--sage);

}

.desktop-nav {

    display: flex;

    gap: 32px;

}

.desktop-nav a,

.footer-links a {

    font-size: 13px;

    font-weight: 700;

    transition: color .2s ease;

}

.desktop-nav a:hover,

.footer-links a:hover {

    color: var(--sage);

}

.nav-button {

    display: inline-flex;

    align-items: center;

    gap: 14px;

    padding: 12px 20px;

    background: var(--sage);

    color: var(--white);

    border-radius: 100px;

    font-size: 12px;

    font-weight: 700;

}

/* HERO */

.hero {

    overflow: hidden;

    padding: 90px 0 110px;

    background:

        radial-gradient(circle at 80% 42%,

        #e3ebe1 0%, transparent 37%),

        var(--ivory);

}

.hero-grid {

    display: grid;

    grid-template-columns: 1.05fr .95fr;

    align-items: center;

    gap: 60px;

}

.eyebrow,

.section-kicker {

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 2.4px;

    color: var(--sage);

}

.eyebrow {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    padding: 10px 15px;

    background: var(--sage-light);

    border-radius: 100px;

}

.eyebrow-dot {

    width: 7px;

    height: 7px;

    border-radius: 50%;

    background: var(--sage);

}

h1,

h2,

h3,

p {

    margin-top: 0;

}

h1,

h2 {

    font-family: 'DM Serif Display', serif;

    font-weight: 400;

    letter-spacing: -.025em;

    line-height: 1.12;

}

.hero h1 {

    font-size: clamp(46px, 5.3vw, 76px);

    margin: 28px 0;

}

.hero h1 span {

    display: block;

    color: var(--sage);

}

.hero-description {

    max-width: 510px;

    color: var(--muted);

    font-size: 16px;

    line-height: 1.9;

}

.hero-actions {

    display: flex;

    flex-wrap: wrap;

    gap: 14px;

    margin-top: 34px;

}

.btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 20px;

    padding: 15px 25px;

    border-radius: 100px;

    font-size: 13px;

    font-weight: 800;

    transition:

        transform .25s ease,

        background .25s ease,

        box-shadow .25s ease;

}

.btn:hover {

    transform: translateY(-3px);

}

.btn-primary {

    background: var(--sage);

    color: var(--white);

    box-shadow: 0 12px 25px rgba(82,107,91,.16);

}

.btn-primary:hover {

    background: var(--sage-dark);

}

.btn-outline {

    border: 1px solid #c7d2c8;

}

.hero-trust {

    display: flex;

    align-items: center;

    gap: 10px;

    margin-top: 34px;

    color: var(--muted);

    font-size: 12px;

}

.trust-icon {

    color: var(--sage);

    font-size: 20px;

}

/* HERO PRODUCT VISUAL */

.hero-visual {

    position: relative;

    min-height: 550px;

    display: flex;

    align-items: center;

    justify-content: center;

}

.visual-orbit {

    position: absolute;

    border-radius: 50%;

}

.orbit-one {

    width: 460px;

    height: 460px;

    max-width: 100%;

    background: #e2ebe0;

}

.orbit-two {

    width: 345px;

    height: 345px;

    max-width: 80%;

    border: 1px solid rgba(82,107,91,.24);

}

.product-stage {

    position: relative;

    z-index: 2;

    width: 200px;

    height: 370px;

    display: flex;

    flex-direction: column;

    align-items: center;

    filter: drop-shadow(22px 30px 25px rgba(40,55,42,.15));

    animation: float 5s ease-in-out infinite;

}

.product-cap {

    width: 85px;

    height: 66px;

    border-radius: 10px 10px 3px 3px;

    background: linear-gradient(90deg,

        #344a3a, #637b64, #304636);

    box-shadow: inset 10px 0 15px rgba(0,0,0,.12);

}

.product-bottle {

    width: 200px;

    height: 292px;

    border-radius: 35px 35px 26px 26px;

    background: linear-gradient(

        100deg,

        #e6e0d2 0%,

        #fffaf0 45%,

        #ddd5c6 100%

    );

    box-shadow:

        inset 12px 0 18px rgba(255,255,255,.55),

        inset -12px 0 18px rgba(76,65,50,.08);

    display: flex;

    justify-content: center;

    align-items: center;

}

.bottle-label {

    width: 165px;

    height: 215px;

    padding: 20px 14px;

    border: 1px solid rgba(82,107,91,.25);

    text-align: center;

    display: flex;

    flex-direction: column;

    align-items: center;

}

.bottle-label small {

    font-size: 10px;

    font-weight: 800;

    color: var(--sage);

}

.bottle-label strong {

    margin-top: 25px;

    font-family: 'DM Serif Display', serif;

    font-size: 31px;

    font-weight: 400;

    line-height: 1.05;

}

.bottle-label span {

    margin-top: 15px;

    font-size: 7px;

    letter-spacing: 1px;

}

.bottle-label em {

    margin-top: auto;

    font-size: 9px;

    font-style: normal;

}

.stage-shadow {

    position: absolute;

    bottom: -35px;

    width: 220px;

    height: 25px;

    border-radius: 50%;

    background: rgba(40,55,42,.14);

    filter: blur(13px);

}

.floating-card {

    position: absolute;

    z-index: 3;

    padding: 18px 22px;

    background: rgba(255,255,255,.94);

    border: 1px solid rgba(82,107,91,.1);

    border-radius: 18px;

    box-shadow: 0 18px 45px rgba(35,50,37,.09);

}

.match-card {

    top: 75px;

    right: 0;

    display: flex;

    flex-direction: column;

}

.floating-label {

    font-size: 9px;

    letter-spacing: 1px;

    font-weight: 800;

    color: var(--muted);

}

.match-card strong {

    color: var(--sage);

    font-size: 46px;

    line-height: 1.3;

}

.match-card strong span {

    font-size: 16px;

}

.match-card small,

.ingredient-card small {

    color: var(--muted);

    font-size: 10px;

}

.ingredient-card {

    left: -10px;

    bottom: 80px;

    display: flex;

    align-items: center;

    gap: 12px;

}

.ingredient-symbol {

    width: 38px;

    height: 38px;

    border-radius: 12px;

    display: grid;

    place-items: center;

    background: var(--sage-light);

    color: var(--sage);

    font-size: 24px;

}

.ingredient-card strong,

.ingredient-card small {

    display: block;

}

.ingredient-card strong {

    font-size: 12px;

}

/* GENERAL SECTIONS */

.section {

    padding: 110px 0;

}

.section-heading {

    max-width: 660px;

    margin: 0 auto 50px;

    text-align: center;

}

.section-heading h2,

.passport-content h2,

.analyze-box h2 {

    font-size: clamp(36px, 4vw, 54px);

    margin: 18px 0;

}

.section-heading p,

.passport-content p,

.analyze-box p {

    color: var(--muted);

}

.feature-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 24px;

}

.feature-card {

    position: relative;

    min-height: 290px;

    padding: 36px;

    background: var(--white);

    border: 1px solid #edf0e9;

    border-radius: var(--radius);

    transition:

        transform .3s ease,

        box-shadow .3s ease;

}

.feature-card:hover {

    transform: translateY(-8px);

    box-shadow: 0 22px 45px rgba(30,50,35,.07);

}

.feature-number {

    position: absolute;

    right: 30px;

    top: 25px;

    color: #b9c8b9;

    font-size: 12px;

}

.feature-icon {

    width: 58px;

    height: 58px;

    margin-bottom: 26px;

    display: grid;

    place-items: center;

    border-radius: 18px;

    background: var(--sage-light);

    color: var(--sage);

    font-size: 27px;

}

.feature-card h3,

.benefit-item h3 {

    font-size: 17px;

}

.feature-card p,

.benefit-item p {

    font-size: 13px;

    color: var(--muted);

}

/* ANALYZE */

.analyze-section {

    padding: 35px 0;

}

.analyze-box {

    padding: 80px 30px;

    text-align: center;

    background: var(--sage-light);

    border-radius: 34px;

}

.analyze-box p {

    max-width: 480px;

    margin-inline: auto;

}

.search-box {

    display: flex;

    align-items: center;

    max-width: 650px;

    margin: 35px auto 0;

    padding: 8px;

    background: var(--white);

    border-radius: 100px;

    box-shadow: 0 12px 35px rgba(35,55,40,.06);

}

.search-box input {

    flex: 1;

    min-width: 0;

    padding: 12px 20px;

    border: 0;

    outline: 0;

    background: transparent;

    font-size: 13px;

}

.search-box input:focus-visible {

    outline: 2px solid var(--sage);

    border-radius: 100px;

}

.search-box button {

    border: 0;

    padding: 15px 27px;

    border-radius: 100px;

    background: var(--sage);

    color: white;

    font-weight: 800;

    font-size: 12px;

    cursor: pointer;

}

.search-feedback {

    min-height: 24px;

    font-size: 12px;

}

/* BEAUTY PASSPORT */

.passport-grid {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 100px;

    align-items: center;

}

.passport-preview {

    padding: 55px;

    border-radius: 35px;

    background: #e8eee5;

}

.passport-card {

    max-width: 350px;

    margin: auto;

    padding: 32px;

    border-radius: 24px;

    background: #fffdf8;

    box-shadow: 0 25px 55px rgba(40,55,42,.1);

}

.passport-topline {

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 2px;

    color: var(--sage);

}

.passport-avatar {

    width: 70px;

    height: 70px;

    margin: 32px 0 20px;

    border-radius: 50%;

    background: var(--sage-light);

    display: grid;

    place-items: center;

    font-size: 34px;

    color: var(--sage);

}

.passport-subtitle {

    font-size: 9px;

    letter-spacing: 1.5px;

    color: var(--muted);

}

.passport-card h3 {

    font-family: 'DM Serif Display', serif;

    font-size: 35px;

    font-weight: 400;

    margin: 8px 0 25px;

}

.passport-divider {

    height: 1px;

    background: #e3e6dd;

    margin-bottom: 18px;

}

.passport-row {

    display: flex;

    justify-content: space-between;

    gap: 10px;

    padding: 10px 0;

    font-size: 10px;

}

.passport-row span {

    color: var(--muted);

}

.passport-row strong {

    color: var(--sage);

}

.passport-content p {

    max-width: 460px;

    line-height: 1.9;

    margin-bottom: 30px;

}

/* BENEFITS */

.benefits-section {

    background: #f1f3ed;

}

.benefits-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 25px;

}

.benefit-item {

    padding: 10px;

}

.benefit-item > span {

    display: block;

    color: var(--sage);

    font-size: 32px;

    margin-bottom: 20px;

}

/* FOOTER */

.site-footer {

    padding: 65px 0 25px;

    background: #e6ece3;

}

.footer-content {

    display: flex;

    justify-content: space-between;

    gap: 30px;

    padding-bottom: 55px;

}

.footer-content p {

    margin-top: 15px;

    color: var(--muted);

    font-size: 13px;

}

.footer-links {

    display: flex;

    flex-wrap: wrap;

    gap: 25px;

    align-items: flex-start;

}

.footer-bottom {

    display: flex;

    justify-content: space-between;

    gap: 20px;

    border-top: 1px solid #cad6ca;

    padding-top: 25px;

    color: var(--muted);

    font-size: 11px;

}

/* ANIMATIONS */

@keyframes float {

    0%, 100% {

        transform: translateY(0);

    }

    50% {

        transform: translateY(-14px);

    }

}

/* RESPONSIVE */

@media (max-width: 950px) {

    .desktop-nav {

        display: none;

    }

    .hero-grid,

    .passport-grid {

        grid-template-columns: 1fr;

        gap: 30px;

    }

    .hero {

        padding: 70px 0;

    }

    .hero-content {

        text-align: center;

    }

    .hero-description {

        margin-inline: auto;

    }

    .hero-actions,

    .hero-trust {

        justify-content: center;

    }

    .hero-visual {

        min-height: 510px;

    }

    .feature-grid {

        grid-template-columns: repeat(2, 1fr);

    }

    .benefits-grid {

        grid-template-columns: repeat(2, 1fr);

    }

    .passport-content {

        text-align: center;

    }

    .passport-content p {

        margin-inline: auto;

    }

}

@media (max-width: 600px) {

    .container {

        width: min(100% - 30px, 1160px);

    }

    .nav-wrapper {

        min-height: 72px;

    }

    .logo {

        font-size: 21px;

    }

    .nav-button {

        padding: 10px 13px;

        font-size: 10px;

    }

    .hero {

        padding: 55px 0 60px;

    }

    .hero h1 {

        font-size: 45px;

    }

    .eyebrow {

        font-size: 8px;

        letter-spacing: 1px;

    }

    .hero-visual {

        min-height: 440px;

    }

    .orbit-one {

        width: 330px;

        height: 330px;

    }

    .orbit-two {

        width: 260px;

        height: 260px;

    }

    .product-stage {

        transform: scale(.78);

        animation: none;

    }

    .floating-card {

        padding: 12px;

    }

    .match-card {

        top: 20px;

        right: 0;

    }

    .match-card strong {

        font-size: 30px;

    }

    .ingredient-card {

        left: 0;

        bottom: 30px;

    }

    .section {

        padding: 70px 0;

    }

    .feature-grid,

    .benefits-grid {

        grid-template-columns: 1fr;

    }

    .feature-card {

        min-height: auto;

    }

    .analyze-box {

        padding: 60px 20px;

    }

    .search-box {

        border-radius: 20px;

        flex-direction: column;

    }

    .search-box input,

    .search-box button {

        width: 100%;

    }

    .passport-preview {

        padding: 25px;

    }

    .footer-content,

    .footer-bottom {

        flex-direction: column;

    }

}

@media (prefers-reduced-motion: reduce) {

    *,

    *::before,

    *::after {

        scroll-behavior: auto !important;

        animation-duration: .01ms !important;

        animation-iteration-count: 1 !important;

        transition-duration: .01ms !important;

    }

}

/* HEADER ANIMATED BUTTON FIX */

.site-header .softly-morph-btn {

    border: none !important;

    outline: none;

    background-color: #3F5948;

}

.site-header .softly-morph-btn:focus-visible {

    outline: 3px solid #D8B6A7 !important;

}

/* Hide any leftover old CTA */

.site-header .nav-button {

    display: none !important;

}


/* PERMANENT HEADER + MOBILE NAV */
.site-header {position:sticky;top:0;z-index:1000;background:rgba(250,248,245,.97);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
.desktop-nav {align-items:center;gap:clamp(12px,1.5vw,26px)}
.desktop-nav a {position:relative;white-space:nowrap}
.desktop-nav a.is-active {color:var(--sage);font-weight:800}
.desktop-nav a.is-active::after {content:"";position:absolute;left:0;right:0;bottom:-9px;height:2px;background:var(--sage)}
.mobile-menu-toggle {display:none;width:44px;height:44px;padding:11px;align-items:center;justify-content:center;flex-direction:column;gap:5px;border:1px solid rgba(63,89,72,.2);border-radius:12px;background:transparent;cursor:pointer}
.mobile-menu-toggle span {display:block;width:20px;height:2px;border-radius:2px;background:var(--sage-dark)}
.mobile-navigation {display:none;padding:12px 20px 24px;background:var(--ivory);border-top:1px solid var(--sage-light)}
.mobile-navigation[hidden] {display:none!important}
.mobile-navigation a {display:block;padding:12px 8px;color:var(--sage-dark);font-size:14px;font-weight:700;border-bottom:1px solid var(--sage-light)}
section[id] {scroll-margin-top:105px}
@media(max-width:1050px) and (min-width:951px) {.desktop-nav{gap:12px}.desktop-nav a{font-size:11px}.logo{font-size:20px}.nav-wrapper{gap:12px}}
@media(max-width:950px) {.mobile-menu-toggle{display:flex}.mobile-navigation:not([hidden]){display:block}}
/* NEW HOMEPAGE SECTIONS */
.softly-preview-grid,.softly-article-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.softly-preview-card,.softly-article-card {display:block;min-width:0;overflow:hidden;border:1px solid #e4ede5;border-radius:24px;background:#fff;transition:transform .3s ease,box-shadow .3s ease}
.softly-preview-card:hover,.softly-article-card:hover {transform:translateY(-7px);box-shadow:0 22px 50px rgba(35,55,40,.09)}
.softly-preview-art {min-height:230px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px}
.softly-art-cleanser{background:#e5ebe2}.softly-art-serum{background:#f0e8df}.softly-art-moisturizer{background:#e9e4db}
.softly-preview-symbol{color:var(--sage);font-family:'DM Serif Display',serif;font-size:92px;line-height:1}
.softly-art-label{font-size:10px;font-weight:800;letter-spacing:2px;color:var(--sage)}
.softly-preview-info,.softly-article-content{padding:28px}
.softly-preview-info>span:first-child,.softly-article-category{font-size:10px;font-weight:800;letter-spacing:1.5px;color:var(--sage)}
.softly-preview-info h3,.softly-article-content h3{margin:12px 0;font-family:'DM Serif Display',serif;font-size:28px;font-weight:400;line-height:1.2}
.softly-preview-info p,.softly-article-content p{font-size:13px;color:var(--muted)}
.softly-preview-arrow,.softly-article-link{display:inline-block;margin-top:12px;color:var(--sage);font-size:12px;font-weight:800}
.softly-section-action{display:flex;justify-content:center;margin-top:42px}
.softly-ingredient-section{background:#f1f3ed}
.softly-ingredient-grid{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:80px}
.softly-ingredient-visual{position:relative;min-height:430px;display:grid;place-items:center;overflow:hidden;border-radius:35px;background:#e2eadf}
.softly-ingredient-circle{width:290px;height:290px;display:grid;place-items:center;border:1px solid rgba(63,89,72,.22);border-radius:50%;background:rgba(255,255,255,.25)}
.softly-ingredient-circle span{color:var(--sage);font-size:150px;line-height:1}
.softly-ingredient-tag{position:absolute;bottom:28px;left:28px;padding:12px 18px;border-radius:100px;background:#fff;color:var(--sage);font-size:10px;font-weight:800;letter-spacing:1.5px}
.softly-ingredient-copy h2{margin:20px 0;font-family:'DM Serif Display',serif;font-size:clamp(36px,4vw,54px);line-height:1.15;font-weight:400}
.softly-ingredient-copy h2 span{color:var(--sage)}
.softly-ingredient-copy p{max-width:490px;margin-bottom:24px;color:var(--muted);line-height:1.9}
.softly-ingredient-chips{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:30px}
.softly-ingredient-chips span{padding:9px 14px;border:1px solid #c9d6c8;border-radius:100px;color:var(--sage);background:rgba(255,255,255,.5);font-size:11px;font-weight:700}
.softly-articles-section{background:var(--ivory)}
.softly-article-art{min-height:210px;display:grid;place-items:center}
.softly-article-art span{color:var(--sage);font-family:'DM Serif Display',serif;font-size:95px;line-height:1}
.softly-article-art-one{background:#e6ede3}.softly-article-art-two{background:#ede7dd}.softly-article-art-three{background:#f0e2de}
.softly-article-content h3{font-size:25px}
@media(max-width:950px){.softly-preview-grid,.softly-article-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.softly-ingredient-grid{grid-template-columns:1fr;gap:35px}}
@media(max-width:600px){.softly-preview-grid,.softly-article-grid{grid-template-columns:1fr}.softly-ingredient-visual{min-height:320px}.softly-ingredient-circle{width:220px;height:220px}.softly-ingredient-circle span{font-size:115px}.softly-preview-art{min-height:190px}.softly-article-art{min-height:180px}}




/* ==========================================
   SOFTLYSTUDIOS — PRODUCTS DIRECTORY
========================================== */

.products-hero {
    padding: 100px 0 90px;
    text-align: center;
    background: radial-gradient(
        circle at 50% 100%,
        #E4EDE5 0%,
        #FAF8F5 65%
    );
}

.products-hero h1 {
    margin: 20px auto;
    max-width: 750px;
    font-size: clamp(46px, 6vw, 78px);
}

.products-hero h1 span {
    color: #3F5948;
}

.products-hero p {
    max-width: 560px;
    margin: 0 auto 35px;
    color: #77716E;
    font-size: 15px;
    line-height: 1.9;
}

.products-search {
    display: flex;
    align-items: center;
    gap: 15px;
    max-width: 540px;
    margin: 0 auto;
    padding: 17px 24px;
    border: 1px solid #DCE5DA;
    border-radius: 100px;
    background: #FFFFFF;
    box-shadow: 0 15px 40px rgba(40,55,42,.06);
}

.products-search > span {
    color: #3F5948;
    font-size: 27px;
    line-height: 1;
}

.products-search input {
    width: 100%;
    min-width: 0;
    border: none;
    outline: none;
    background: transparent;
    color: #242824;
    font-size: 13px;
}

.products-search:focus-within {
    outline: 2px solid #3F5948;
    outline-offset: 3px;
}

.products-directory {
    background: #FAF8F5;
}

.products-toolbar {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
}

.products-toolbar h2 {
    margin: 12px 0 0;
    font-size: clamp(32px, 4vw, 48px);
}

#products-count {
    color: #77716E;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.products-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 35px;
}

.products-filters button {
    padding: 11px 20px;
    border: 1px solid #D8E2D7;
    border-radius: 100px;
    background: #FFFFFF;
    color: #3F5948;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: .25s ease;
}

.products-filters button:hover,
.products-filters button.is-active {
    background: #3F5948;
    border-color: #3F5948;
    color: #FFFFFF;
}

.products-filters button:focus-visible {
    outline: 3px solid #D8B6A7;
    outline-offset: 3px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.directory-product-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #E5EAE2;
    border-radius: 22px;
    background: #FFFFFF;
    transition: transform .3s ease, box-shadow .3s ease;
}

.directory-product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(40,55,42,.09);
}

.directory-product-card[hidden],
.products-empty[hidden] {
    display: none !important;
}

.directory-product-art {
    min-height: 235px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.art-sage {
    background: #E4EDE5;
}

.art-peach {
    background: #F1E5DE;
}

.art-cream {
    background: #ECE8DF;
}

.art-yellow {
    background: #F3EEDC;
}

.product-art-icon {
    font-family: "DM Serif Display", serif;
    font-size: 88px;
    color: #3F5948;
    line-height: 1;
}

.product-art-caption {
    color: #3F5948;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 2px;
}

.directory-product-info {
    padding: 23px;
}

.directory-product-info > span:first-child {
    color: #3F5948;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.directory-product-info h3 {
    margin: 10px 0;
    font-family: "DM Serif Display", serif;
    font-size: 23px;
    font-weight: 400;
    line-height: 1.25;
}

.directory-product-info p {
    min-height: 45px;
    margin-bottom: 15px;
    color: #77716E;
    font-size: 12px;
    line-height: 1.8;
}

.product-demo-tag {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 100px;
    background: #F0F3ED;
    color: #3F5948;
    font-size: 10px;
    font-weight: 700;
}

.products-empty {
    padding: 45px 20px;
    text-align: center;
    color: #77716E;
}

@media (max-width: 1050px) {
    .products-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 750px) {
    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .products-toolbar {
        align-items: start;
        flex-direction: column;
    }

    .products-hero {
        padding: 70px 0;
    }
}

@media (max-width: 500px) {
    .products-grid {
        grid-template-columns: 1fr;
    }

    .directory-product-art {
        min-height: 200px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .directory-product-card,
    .products-filters button {
        transition: none;
    }
}




/* ==========================================
   SOFTLYSTUDIOS — INGREDIENT LIBRARY PAGE
========================================== */

.ingredient-library-hero {
    padding: 105px 0 95px;
    background:
        radial-gradient(circle at 80% 20%, #E2EBDF 0%, transparent 35%),
        #FAF8F5;
}

.ingredient-library-hero-inner {
    max-width: 790px;
    margin: 0 auto;
    text-align: center;
}

.ingredient-library-hero h1 {
    margin: 24px 0;
    font-family: "DM Serif Display", serif;
    font-size: clamp(45px, 6vw, 76px);
    font-weight: 400;
    line-height: 1.13;
}

.ingredient-library-hero h1 span {
    display: block;
    color: #3F5948;
}

.ingredient-library-hero p {
    max-width: 570px;
    margin: 0 auto 35px;
    color: #77716E;
    font-size: 15px;
    line-height: 1.9;
}

.ingredient-library-search {
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 590px;
    margin: 0 auto;
    padding: 17px 23px;
    border: 1px solid #D7E1D6;
    border-radius: 100px;
    background: #FFFFFF;
    box-shadow: 0 16px 40px rgba(40,55,42,.07);
}

.ingredient-library-search > span {
    color: #3F5948;
    font-size: 27px;
    line-height: 1;
}

.ingredient-library-search input {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
    background: transparent;
    color: #242824;
    font-family: "Manrope", sans-serif;
    font-size: 13px;
}

.ingredient-library-search:focus-within {
    outline: 2px solid #3F5948;
    outline-offset: 3px;
}

.ingredient-library-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-top: 24px;
    color: #77716E;
    font-size: 12px;
}

.ingredient-library-trust span {
    color: #3F5948;
    font-size: 18px;
}

.ingredient-library-section {
    background: #FAF8F5;
}

.ingredient-library-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 24px;
    margin-bottom: 28px;
}

.ingredient-library-heading h2 {
    margin: 14px 0;
    font-size: clamp(32px, 4vw, 48px);
}

.ingredient-library-heading p {
    margin: 0;
    color: #77716E;
    font-size: 14px;
}

#ingredient-result-count {
    color: #77716E;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.ingredient-filter-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 35px;
}

.ingredient-filter-list button {
    padding: 11px 18px;
    border: 1px solid #D5E0D4;
    border-radius: 100px;
    background: #FFFFFF;
    color: #3F5948;
    font-family: "Manrope", sans-serif;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    transition:
        background .25s ease,
        color .25s ease,
        border-color .25s ease;
}

.ingredient-filter-list button:hover,
.ingredient-filter-list button.is-active {
    background: #3F5948;
    border-color: #3F5948;
    color: #FFFFFF;
}

.ingredient-filter-list button:focus-visible {
    outline: 3px solid #D8B6A7;
    outline-offset: 3px;
}

.ingredient-library-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.ingredient-library-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 315px;
    padding: 30px;
    border: 1px solid #E5EAE2;
    border-radius: 24px;
    background: #FFFFFF;
    transition:
        transform .3s ease,
        box-shadow .3s ease;
}

.ingredient-library-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(35,55,40,.08);
}

.ingredient-library-card[hidden],
.ingredient-empty[hidden] {
    display: none !important;
}

.ingredient-library-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
}

.ingredient-card-symbol {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 17px;
    background: #E4EDE5;
    color: #3F5948;
    font-size: 27px;
}

.ingredient-card-category {
    color: #3F5948;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.3px;
    text-align: right;
}

.ingredient-library-card h3 {
    margin: 0 0 5px;
    font-family: "DM Serif Display", serif;
    font-size: 29px;
    font-weight: 400;
    line-height: 1.2;
}

.ingredient-common-name {
    color: #3F5948;
    font-size: 11px;
    font-weight: 700;
}

.ingredient-library-card > p {
    margin: 19px 0 25px;
    color: #77716E;
    font-size: 13px;
    line-height: 1.85;
}

.ingredient-card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid #E8EEE6;
    color: #3F5948;
    font-size: 11px;
    font-weight: 800;
}

.ingredient-card-bottom > span:last-child {
    font-size: 19px;
}

.ingredient-empty {
    padding: 60px 20px;
    text-align: center;
    border: 1px dashed #C9D6C8;
    border-radius: 24px;
}

.ingredient-empty > span {
    display: block;
    color: #3F5948;
    font-size: 40px;
}

.ingredient-empty h3 {
    margin: 10px 0;
    font-family: "DM Serif Display", serif;
    font-size: 30px;
    font-weight: 400;
}

.ingredient-empty p,
.ingredient-library-note {
    color: #77716E;
    font-size: 12px;
    line-height: 1.8;
}

.ingredient-library-note {
    max-width: 750px;
    margin: 35px auto 0;
    text-align: center;
}

.ingredient-bottom-cta {
    padding: 95px 20px;
    background: #E4EDE5;
    text-align: center;
}

.ingredient-bottom-cta h2 {
    max-width: 650px;
    margin: 18px auto;
    font-size: clamp(35px, 4.5vw, 54px);
}

.ingredient-bottom-cta p {
    max-width: 510px;
    margin: 0 auto 30px;
    color: #77716E;
    font-size: 14px;
    line-height: 1.9;
}

@media (max-width: 950px) {
    .ingredient-library-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 650px) {
    .ingredient-library-hero {
        padding: 70px 0;
    }

    .ingredient-library-heading {
        flex-direction: column;
        align-items: flex-start;
    }

    .ingredient-library-grid {
        grid-template-columns: 1fr;
    }

    .ingredient-library-card {
        min-height: 0;
    }

    .ingredient-library-search {
        padding: 15px 18px;
    }

    .ingredient-bottom-cta {
        padding: 70px 15px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ingredient-library-card,
    .ingredient-filter-list button {
        transition: none;
    }
}






/* ==========================================
   SOFTLYSTUDIOS — JOURNAL / ARTICLES PAGE
========================================== */

.journal-hero {
    padding: 95px 0;
    background: #FAF8F5;
}

.journal-hero-inner {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 70px;
}

.journal-hero-copy h1 {
    margin: 22px 0;
    font-family: "DM Serif Display", serif;
    font-size: clamp(45px, 5.5vw, 75px);
    font-weight: 400;
    line-height: 1.12;
}

.journal-hero-copy h1 em {
    display: block;
    color: #3F5948;
    font-weight: 400;
}

.journal-hero-copy p {
    max-width: 480px;
    margin-bottom: 30px;
    color: #77716E;
    font-size: 15px;
    line-height: 1.9;
}

.journal-hero-art {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 470px;
    overflow: hidden;
    border-radius: 34px;
    background: #E4EDE5;
}

.journal-orbit {
    position: absolute;
    border: 1px solid rgba(63,89,72,.2);
    border-radius: 50%;
}

.journal-orbit-one {
    width: 320px;
    height: 320px;
}

.journal-orbit-two {
    width: 450px;
    height: 450px;
}

.journal-hero-symbol {
    color: #3F5948;
    font-family: "DM Serif Display", serif;
    font-size: 180px;
    line-height: 1;
}

.journal-art-note {
    position: absolute;
    right: 25px;
    bottom: 25px;
    left: 25px;
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 22px;
    border: 1px solid rgba(255,255,255,.8);
    border-radius: 18px;
    background: rgba(255,255,255,.8);
    backdrop-filter: blur(10px);
}

.journal-art-note > span,
.journal-art-note > small {
    color: #3F5948;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.journal-art-note strong {
    font-family: "DM Serif Display", serif;
    font-size: 22px;
    font-weight: 400;
}

.journal-featured-section {
    background: #FFFFFF;
}

.journal-section-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 26px;
}

.journal-edition {
    color: #77716E;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.journal-featured-story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    border-radius: 28px;
    background: #F5F2EC;
}

.journal-featured-visual {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 440px;
    background: #E9E4D9;
}

.journal-featured-circle {
    display: grid;
    place-items: center;
    width: 285px;
    height: 285px;
    border: 1px solid rgba(63,89,72,.3);
    border-radius: 50%;
}

.journal-featured-circle span {
    color: #3F5948;
    font-size: 150px;
    line-height: 1;
}

.journal-featured-art-label {
    position: absolute;
    bottom: 30px;
    left: 30px;
    color: #3F5948;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
}

.journal-featured-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: clamp(30px, 5vw, 70px);
}

.journal-category-label {
    color: #3F5948;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.6px;
}

.journal-featured-copy h2 {
    margin: 18px 0;
    font-family: "DM Serif Display", serif;
    font-size: clamp(32px, 3.5vw, 49px);
    font-weight: 400;
    line-height: 1.18;
}

.journal-featured-copy p {
    margin-bottom: 22px;
    color: #77716E;
    font-size: 14px;
    line-height: 1.9;
}

.journal-reading-meta {
    margin-bottom: 20px;
    color: #77716E;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}

.journal-text-link {
    color: #3F5948;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.journal-text-link:hover {
    text-decoration: underline;
}

.journal-library-section {
    background: #FAF8F5;
}

.journal-library-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
}

.journal-library-heading h2 {
    margin: 12px 0;
    font-size: clamp(34px, 4vw, 52px);
}

.journal-library-heading p {
    color: #77716E;
    font-size: 14px;
}

#journal-article-count {
    color: #77716E;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.journal-search-wrap {
    display: flex;
    align-items: center;
    gap: 13px;
    max-width: 570px;
    margin-bottom: 25px;
    padding: 15px 22px;
    border: 1px solid #D7E1D6;
    border-radius: 100px;
    background: #FFFFFF;
}

.journal-search-wrap > span {
    color: #3F5948;
    font-size: 25px;
    line-height: 1;
}

.journal-search-wrap input {
    width: 100%;
    min-width: 0;
    border: none;
    outline: none;
    background: transparent;
    color: #242824;
    font-family: "Manrope", sans-serif;
    font-size: 13px;
}

.journal-search-wrap:focus-within {
    outline: 2px solid #3F5948;
    outline-offset: 3px;
}

.journal-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 35px;
}

.journal-filters button {
    padding: 11px 19px;
    border: 1px solid #D7E1D6;
    border-radius: 100px;
    background: #FFFFFF;
    color: #3F5948;
    font-family: "Manrope", sans-serif;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: .25s ease;
}

.journal-filters button:hover,
.journal-filters button.is-active {
    border-color: #3F5948;
    background: #3F5948;
    color: #FFFFFF;
}

.journal-filters button:focus-visible {
    outline: 3px solid #D8B6A7;
    outline-offset: 3px;
}

.journal-article-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.journal-article-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #E5EAE2;
    border-radius: 23px;
    background: #FFFFFF;
    transition:
        transform .3s ease,
        box-shadow .3s ease;
}

.journal-article-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(35,55,40,.09);
}

.journal-article-card[hidden],
.journal-empty[hidden] {
    display: none !important;
}

.journal-article-art {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 230px;
}

.journal-article-art > span {
    color: #3F5948;
    font-family: "DM Serif Display", serif;
    font-size: 105px;
    line-height: 1;
}

.journal-article-art > small {
    color: #3F5948;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.journal-art-sage {
    background: #E4EDE5;
}

.journal-art-blush {
    background: #F0E3DD;
}

.journal-art-cream {
    background: #ECE8DF;
}

.journal-art-sand {
    background: #F3EEDC;
}

.journal-article-body {
    display: flex;
    flex-direction: column;
    min-height: 230px;
    padding: 27px;
}

.journal-article-body h3 {
    margin: 13px 0;
    font-family: "DM Serif Display", serif;
    font-size: 26px;
    font-weight: 400;
    line-height: 1.25;
}

.journal-article-body p {
    margin-bottom: 22px;
    color: #77716E;
    font-size: 12px;
    line-height: 1.85;
}

.journal-card-bottom {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: auto;
    padding-top: 17px;
    border-top: 1px solid #E8EEE6;
    color: #3F5948;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .5px;
}

.journal-empty {
    padding: 55px 20px;
    border: 1px dashed #C9D6C8;
    border-radius: 24px;
    text-align: center;
}

.journal-empty > span {
    color: #3F5948;
    font-size: 42px;
}

.journal-empty h3 {
    margin: 10px 0;
    font-family: "DM Serif Display", serif;
    font-size: 30px;
    font-weight: 400;
}

.journal-empty p,
.journal-directory-note {
    color: #77716E;
    font-size: 12px;
    line-height: 1.8;
}

.journal-directory-note {
    margin-top: 32px;
    text-align: center;
}

.journal-bottom-cta {
    padding: 95px 20px;
    background: #E4EDE5;
    text-align: center;
}

.journal-bottom-cta h2 {
    margin: 20px auto;
    font-family: "DM Serif Display", serif;
    font-size: clamp(36px, 4.5vw, 58px);
    font-weight: 400;
}

.journal-bottom-cta p {
    max-width: 480px;
    margin: 0 auto 30px;
    color: #77716E;
    font-size: 14px;
    line-height: 1.9;
}

@media (max-width: 950px) {
    .journal-hero-inner {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .journal-hero-art {
        min-height: 380px;
    }

    .journal-article-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 650px) {
    .journal-hero {
        padding: 65px 0;
    }

    .journal-featured-story {
        grid-template-columns: 1fr;
    }

    .journal-featured-visual {
        min-height: 300px;
    }

    .journal-featured-circle {
        width: 210px;
        height: 210px;
    }

    .journal-featured-circle span {
        font-size: 115px;
    }

    .journal-library-heading {
        flex-direction: column;
        align-items: flex-start;
    }

    .journal-article-grid {
        grid-template-columns: 1fr;
    }

    .journal-article-art {
        min-height: 190px;
    }

    .journal-bottom-cta {
        padding: 70px 15px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .journal-article-card,
    .journal-filters button {
        transition: none;
    }
}




/* ==========================================
   SOFTLYSTUDIOS — ANALYZER PAGE
========================================== */

.analyzer-page {
    padding: 95px 0 110px;
    background:
        radial-gradient(circle at 90% 5%, #E4EDE5, transparent 38%),
        #FAF8F5;
}

.analyzer-heading {
    max-width: 820px;
    margin: 0 auto 65px;
    text-align: center;
}

.analyzer-heading h1 {
    margin: 20px 0;
    font-family: "DM Serif Display", serif;
    font-size: clamp(44px, 5.5vw, 76px);
    font-weight: 400;
    line-height: 1.12;
}

.analyzer-heading h1 span {
    display: block;
    color: #3F5948;
}

.analyzer-heading > p {
    max-width: 570px;
    margin: 0 auto;
    color: #77716E;
    font-size: 15px;
    line-height: 1.9;
}

.analyzer-layout {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    align-items: stretch;
    gap: 28px;
    max-width: 1120px;
    margin: 0 auto;
}

.analyzer-form-card {
    padding: clamp(25px, 4vw, 48px);
    border: 1px solid #E1E8DF;
    border-radius: 28px;
    background: #FFFFFF;
    box-shadow: 0 20px 55px rgba(40,55,42,.05);
}

.analyzer-step {
    color: #3F5948;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.analyzer-card-heading h2 {
    margin: 15px 0;
    font-family: "DM Serif Display", serif;
    font-size: clamp(30px, 3vw, 42px);
    font-weight: 400;
}

.analyzer-card-heading p {
    margin-bottom: 30px;
    color: #77716E;
    font-size: 13px;
    line-height: 1.8;
}

.analyzer-field {
    margin-bottom: 25px;
}

.analyzer-field label {
    display: block;
    margin-bottom: 10px;
    color: #293E31;
    font-size: 12px;
    font-weight: 800;
}

.analyzer-field label span {
    color: #77716E;
    font-weight: 500;
}

.analyzer-field input,
.analyzer-field textarea {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 16px 18px;
    border: 1px solid #DDE6DB;
    border-radius: 13px;
    outline: none;
    background: #FAF8F5;
    color: #242824;
    font-family: "Manrope", sans-serif;
    font-size: 13px;
    line-height: 1.6;
}

.analyzer-field textarea {
    resize: vertical;
    min-height: 145px;
}

.analyzer-field input:focus,
.analyzer-field textarea:focus {
    border-color: #3F5948;
    box-shadow: 0 0 0 3px rgba(63,89,72,.1);
}

.analyzer-field small {
    display: block;
    margin-top: 9px;
    color: #77716E;
    font-size: 11px;
    line-height: 1.7;
}

.analyzer-submit {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    padding: 18px 23px;
    border: none;
    border-radius: 100px;
    background: #3F5948;
    color: #FFFFFF;
    font-family: "Manrope", sans-serif;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: background .25s ease;
}

.analyzer-submit:hover {
    background: #293E31;
}

.analyzer-submit:focus-visible {
    outline: 3px solid #D8B6A7;
    outline-offset: 4px;
}

.analyzer-submit > span:last-child {
    font-size: 20px;
}

.analyzer-form-note {
    margin: 17px 0 0;
    color: #77716E;
    font-size: 11px;
    line-height: 1.8;
}

.analyzer-info-card {
    display: flex;
    flex-direction: column;
    padding: clamp(28px, 4vw, 45px);
    border-radius: 28px;
    background: #E4EDE5;
}

.analyzer-info-icon {
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    margin-bottom: 32px;
    border: 1px solid rgba(63,89,72,.2);
    border-radius: 22px;
    color: #3F5948;
    font-size: 42px;
}

.analyzer-info-card h2 {
    margin: 18px 0;
    font-family: "DM Serif Display", serif;
    font-size: clamp(32px, 3vw, 44px);
    font-weight: 400;
    line-height: 1.2;
}

.analyzer-info-card > p {
    margin-bottom: 30px;
    color: #59695D;
    font-size: 13px;
    line-height: 1.85;
}

.analyzer-info-list {
    display: grid;
    gap: 22px;
    margin-bottom: 35px;
}

.analyzer-info-list > div {
    display: flex;
    gap: 16px;
}

.analyzer-info-list > div > span {
    flex: 0 0 auto;
    color: #3F5948;
    font-size: 12px;
    font-weight: 800;
}

.analyzer-info-list strong {
    display: block;
    margin-bottom: 5px;
    color: #293E31;
    font-size: 13px;
}

.analyzer-info-list p {
    margin: 0;
    color: #59695D;
    font-size: 12px;
    line-height: 1.7;
}

.analyzer-info-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(63,89,72,.2);
    color: #293E31;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.analyzer-info-link:hover {
    text-decoration: underline;
}

.analyzer-result {
    max-width: 1120px;
    margin: 32px auto 0;
    padding: clamp(25px, 4vw, 45px);
    border: 1px solid #DDE6DB;
    border-radius: 25px;
    background: #FFFFFF;
}

.analyzer-result[hidden] {
    display: none !important;
}

.analyzer-result h2 {
    margin: 15px 0;
    font-family: "DM Serif Display", serif;
    font-size: clamp(30px, 4vw, 45px);
    font-weight: 400;
}

.analyzer-result > p {
    color: #77716E;
    font-size: 13px;
    line-height: 1.8;
}

.analyzer-preview-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 22px 0;
}

.analyzer-preview-tags span {
    padding: 9px 13px;
    border: 1px solid #DDE6DB;
    border-radius: 100px;
    background: #F0F5EF;
    color: #3F5948;
    font-size: 11px;
    font-weight: 700;
}

.analyzer-result-disclaimer {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #E5EAE2;
}

@media (max-width: 850px) {
    .analyzer-layout {
        grid-template-columns: 1fr;
    }

    .analyzer-page {
        padding: 65px 0 80px;
    }

    .analyzer-heading {
        margin-bottom: 40px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .analyzer-submit {
        transition: none;
    }
}






/* ==========================================
   SOFTLYSTUDIOS — BEAUTY PASSPORT
========================================== */

.bp-hero {
    padding: 95px 0 85px;
    background:
        radial-gradient(circle at 85% 35%, #E4EDE5, transparent 40%),
        #FAF8F5;
}

.bp-hero-inner {
    max-width: 750px;
    text-align: center;
}

.bp-hero h1 {
    margin: 20px 0;
    font-family: "DM Serif Display", serif;
    font-size: clamp(48px, 6vw, 78px);
    font-weight: 400;
    line-height: 1.12;
}

.bp-hero h1 em {
    display: block;
    color: #3F5948;
    font-weight: 400;
}

.bp-hero p {
    max-width: 540px;
    margin: 0 auto;
    color: #77716E;
    font-size: 15px;
    line-height: 1.9;
}

.bp-hero-note {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 25px;
    padding: 10px 16px;
    border-radius: 100px;
    background: #E4EDE5;
    color: #3F5948;
    font-size: 11px;
    font-weight: 700;
}

.bp-builder-section {
    padding: 85px 0 110px;
    background: #FFFFFF;
}

.bp-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 40px;
}

.bp-section-heading h2 {
    margin: 14px 0;
    font-size: clamp(34px, 4vw, 50px);
}

.bp-section-heading p {
    color: #77716E;
    font-size: 14px;
}

.bp-step-count {
    color: #3F5948;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
}

.bp-layout {
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    align-items: start;
    gap: 38px;
}

.bp-form-panel {
    padding: clamp(24px, 4vw, 45px);
    border: 1px solid #E5EAE2;
    border-radius: 28px;
    background: #FAF8F5;
}

.bp-fieldset {
    min-width: 0;
    margin: 0 0 40px;
    padding: 0 0 35px;
    border: 0;
    border-bottom: 1px solid #DEE7DC;
}

.bp-fieldset legend {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0;
    color: #242824;
    font-family: "DM Serif Display", serif;
    font-size: clamp(23px, 3vw, 31px);
    line-height: 1.3;
}

.bp-question-number {
    display: inline-grid;
    flex: 0 0 auto;
    place-items: center;
    width: 37px;
    height: 37px;
    border-radius: 12px;
    background: #E4EDE5;
    color: #3F5948;
    font-family: "Manrope", sans-serif;
    font-size: 11px;
    font-weight: 800;
}

.bp-fieldset > p {
    margin: 13px 0 24px;
    color: #77716E;
    font-size: 12px;
}

.bp-option-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.bp-option {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    min-height: 145px;
    padding: 18px;
    border: 1px solid #DCE5DA;
    border-radius: 17px;
    background: #FFFFFF;
    cursor: pointer;
    transition: .2s ease;
}

.bp-option:hover {
    border-color: #3F5948;
}

.bp-option:has(input:checked) {
    border-color: #3F5948;
    background: #E4EDE5;
    box-shadow: inset 0 0 0 1px #3F5948;
}

.bp-option:has(input:focus-visible),
.bp-chip:has(input:focus-visible),
.bp-goal-option:has(input:focus-visible) {
    outline: 3px solid #D8B6A7;
    outline-offset: 3px;
}

.bp-option input,
.bp-chip input,
.bp-goal-option input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.bp-option-symbol {
    color: #3F5948;
    font-size: 28px;
    line-height: 1;
}

.bp-option strong {
    color: #293E31;
    font-size: 13px;
}

.bp-option small {
    color: #77716E;
    font-size: 10px;
}

.bp-chip-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.bp-chip {
    position: relative;
    cursor: pointer;
}

.bp-chip span {
    display: block;
    padding: 12px 17px;
    border: 1px solid #DCE5DA;
    border-radius: 100px;
    background: #FFFFFF;
    color: #3F5948;
    font-size: 12px;
    font-weight: 700;
    transition: .2s ease;
}

.bp-chip:has(input:checked) span {
    border-color: #3F5948;
    background: #3F5948;
    color: #FFFFFF;
}

.bp-goal-list {
    display: grid;
    gap: 11px;
}

.bp-goal-option {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 19px;
    border: 1px solid #DCE5DA;
    border-radius: 14px;
    background: #FFFFFF;
    color: #293E31;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.bp-goal-option:has(input:checked) {
    border-color: #3F5948;
    background: #E4EDE5;
}

.bp-goal-option > span:last-child {
    font-size: 18px;
}

.bp-select-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.bp-select-field label {
    display: block;
    margin-bottom: 10px;
    color: #293E31;
    font-size: 12px;
    font-weight: 800;
}

.bp-select-field select {
    width: 100%;
    padding: 14px;
    border: 1px solid #DCE5DA;
    border-radius: 12px;
    background: #FFFFFF;
    color: #293E31;
    font-family: "Manrope", sans-serif;
    font-size: 12px;
}

.bp-select-field select:focus-visible {
    outline: 3px solid #D8B6A7;
}

.bp-form-actions {
    margin-top: 10px;
}

.bp-submit-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    width: 100%;
    padding: 18px 23px;
    border: 0;
    border-radius: 100px;
    background: #3F5948;
    color: #FFFFFF;
    font-family: "Manrope", sans-serif;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}

.bp-submit-btn:hover {
    background: #293E31;
}

.bp-submit-btn:focus-visible {
    outline: 3px solid #D8B6A7;
    outline-offset: 3px;
}

.bp-submit-btn > span:last-child {
    font-size: 20px;
}

.bp-form-actions > p {
    margin: 14px 0 0;
    color: #77716E;
    font-size: 11px;
    line-height: 1.8;
}

.bp-preview-sticky {
    position: sticky;
    top: 115px;
}

.bp-passport-card {
    padding: clamp(24px, 3vw, 35px);
    border: 1px solid #E5EAE2;
    border-radius: 27px;
    background: #F5F1E9;
    box-shadow: 0 25px 55px rgba(40,55,42,.1);
}

.bp-passport-top,
.bp-passport-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.bp-passport-top span:first-child,
.bp-passport-footer {
    color: #3F5948;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.bp-passport-top span:last-child {
    color: #3F5948;
    font-size: 24px;
}

.bp-passport-avatar {
    display: grid;
    place-items: center;
    width: 75px;
    height: 75px;
    margin: 35px 0 20px;
    border-radius: 50%;
    background: #E4EDE5;
    color: #3F5948;
    font-size: 44px;
}

.bp-passport-label {
    color: #77716E;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.bp-passport-card h2 {
    margin: 8px 0 27px;
    font-family: "DM Serif Display", serif;
    font-size: clamp(31px, 3vw, 40px);
    font-weight: 400;
}

.bp-passport-divider {
    height: 1px;
    margin-bottom: 12px;
    background: #D8DDD2;
}

.bp-passport-detail {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
    padding: 15px 0;
    border-bottom: 1px solid #E1E3DA;
}

.bp-passport-detail > span {
    flex: 0 0 40%;
    color: #77716E;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .6px;
}

.bp-passport-detail strong {
    overflow-wrap: anywhere;
    color: #3F5948;
    font-size: 11px;
    text-align: right;
}

.bp-passport-footer {
    margin-top: 28px;
}

.bp-preview-caption {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-top: 20px;
    color: #77716E;
    font-size: 11px;
    text-align: center;
}

.bp-preview-caption span {
    color: #3F5948;
    font-size: 18px;
}

.bp-save-actions {
    display: grid;
    gap: 10px;
    margin-top: 20px;
}

.bp-save-actions[hidden] {
    display: none !important;
}

.bp-save-actions button {
    padding: 13px 17px;
    border: 1px solid #3F5948;
    border-radius: 100px;
    background: #FFFFFF;
    color: #3F5948;
    font-family: "Manrope", sans-serif;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.bp-save-actions button:first-child {
    background: #3F5948;
    color: #FFFFFF;
}

#bp-save-status {
    margin: 0;
    color: #3F5948;
    font-size: 11px;
    text-align: center;
}

.bp-bottom-section {
    padding: 95px 20px;
    background: #E4EDE5;
    text-align: center;
}

.bp-bottom-section h2 {
    max-width: 700px;
    margin: 18px auto;
    font-size: clamp(36px, 4vw, 55px);
}

.bp-bottom-section p {
    max-width: 540px;
    margin: 0 auto 30px;
    color: #77716E;
    font-size: 14px;
    line-height: 1.9;
}

@media (max-width: 950px) {
    .bp-layout {
        grid-template-columns: 1fr;
    }

    .bp-preview-sticky {
        position: static;
    }

    .bp-preview-panel {
        max-width: 550px;
        width: 100%;
        margin: 0 auto;
    }
}

@media (max-width: 650px) {
    .bp-hero {
        padding: 65px 0;
    }

    .bp-builder-section {
        padding: 65px 0;
    }

    .bp-section-heading {
        flex-direction: column;
        align-items: flex-start;
    }

    .bp-option-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bp-select-grid {
        grid-template-columns: 1fr;
    }

    .bp-fieldset legend {
        align-items: flex-start;
    }

    .bp-bottom-section {
        padding: 70px 15px;
    }
}

@media (max-width: 380px) {
    .bp-option-grid {
        grid-template-columns: 1fr;
    }
}




/* ==========================================
   SOFTLYSTUDIOS — ABOUT & CONTACT PAGES
========================================== */

/* ABOUT HERO */

.ss-about-hero {
    padding: 95px 0;
    background: #FAF8F5;
}

.ss-about-hero-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 65px;
}

.ss-about-hero-copy h1 {
    margin: 22px 0;
    font-family: "DM Serif Display", serif;
    font-size: clamp(45px, 5.5vw, 75px);
    font-weight: 400;
    line-height: 1.12;
}

.ss-about-hero-copy h1 em {
    display: block;
    color: #3F5948;
    font-weight: 400;
}

.ss-about-hero-copy p {
    max-width: 490px;
    margin-bottom: 30px;
    color: #77716E;
    font-size: 15px;
    line-height: 1.9;
}

.ss-about-hero-art {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 470px;
    overflow: hidden;
    border-radius: 34px;
    background: #E4EDE5;
}

.ss-about-orbit {
    position: absolute;
    border: 1px solid rgba(63,89,72,.2);
    border-radius: 50%;
}

.ss-about-orbit-one {
    width: 320px;
    height: 320px;
}

.ss-about-orbit-two {
    width: 450px;
    height: 450px;
}

.ss-about-center-symbol {
    color: #3F5948;
    font-size: 175px;
    line-height: 1;
}

.ss-about-art-label {
    position: absolute;
    right: 25px;
    bottom: 25px;
    left: 25px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 22px;
    border: 1px solid rgba(255,255,255,.8);
    border-radius: 18px;
    background: rgba(255,255,255,.85);
    backdrop-filter: blur(10px);
}

.ss-about-art-label span,
.ss-about-art-label small {
    color: #3F5948;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.4px;
}

.ss-about-art-label strong {
    font-family: "DM Serif Display", serif;
    font-size: 23px;
    font-weight: 400;
}

/* ABOUT STORY */

.ss-about-story {
    background: #FFFFFF;
}

.ss-about-story-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    align-items: center;
    gap: 85px;
}

.ss-about-story-art {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    min-height: 420px;
    border-radius: 30px;
    background: #EEE9E0;
}

.ss-about-story-symbol {
    color: #3F5948;
    font-size: 160px;
    line-height: 1;
}

.ss-about-story-caption {
    color: #3F5948;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
}

.ss-about-story-copy h2 {
    margin: 18px 0 25px;
    font-size: clamp(35px, 4vw, 52px);
}

.ss-about-story-copy p {
    color: #77716E;
    font-size: 14px;
    line-height: 2;
}

.ss-about-signature {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 28px;
    padding-top: 23px;
    border-top: 1px solid #E5EAE2;
    color: #3F5948;
    font-size: 12px;
    font-weight: 700;
}

.ss-about-signature span {
    font-size: 25px;
}

/* ABOUT VALUES */

.ss-about-values {
    background: #FAF8F5;
}

.ss-about-values-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.ss-about-value-card {
    min-height: 300px;
    padding: 35px;
    border: 1px solid #E5EAE2;
    border-radius: 25px;
    background: #FFFFFF;
    transition: transform .25s ease, box-shadow .25s ease;
}

.ss-about-value-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(35,55,40,.07);
}

.ss-about-value-number {
    color: #3F5948;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.2px;
}

.ss-about-value-icon {
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    margin: 30px 0 22px;
    border-radius: 18px;
    background: #E4EDE5;
    color: #3F5948;
    font-size: 32px;
}

.ss-about-value-card h3 {
    font-family: "DM Serif Display", serif;
    font-size: 26px;
    font-weight: 400;
}

.ss-about-value-card p {
    color: #77716E;
    font-size: 13px;
    line-height: 1.9;
}

/* ABOUT JOURNEY */

.ss-about-journey {
    padding: 100px 0;
    background: #E4EDE5;
}

.ss-about-journey-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 75px;
}

.ss-about-journey h2 {
    margin: 18px 0;
    font-size: clamp(35px, 4vw, 52px);
}

.ss-about-journey p {
    max-width: 490px;
    color: #59695D;
    font-size: 14px;
    line-height: 1.9;
}

.ss-about-journey-list {
    display: grid;
}

.ss-about-journey-list a {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 22px 0;
    border-bottom: 1px solid rgba(63,89,72,.2);
    color: #293E31;
    text-decoration: none;
}

.ss-about-journey-list a > span:first-child {
    color: #3F5948;
    font-size: 11px;
    font-weight: 800;
}

.ss-about-journey-list a strong {
    flex: 1;
    font-size: 14px;
}

.ss-about-journey-list a > span:last-child {
    font-size: 20px;
}

.ss-about-journey-list a:hover strong {
    text-decoration: underline;
}

.ss-about-bottom {
    padding: 95px 20px;
    background: #FAF8F5;
    text-align: center;
}

.ss-about-bottom h2 {
    margin: 18px auto;
    font-size: clamp(36px, 4vw, 55px);
}

.ss-about-bottom p {
    margin-bottom: 30px;
    color: #77716E;
    font-size: 14px;
}

/* CONTACT HERO */

.ss-contact-hero {
    padding: 100px 20px 90px;
    background:
        radial-gradient(circle at 80% 40%, #E4EDE5, transparent 40%),
        #FAF8F5;
    text-align: center;
}

.ss-contact-hero h1 {
    margin: 20px auto;
    font-family: "DM Serif Display", serif;
    font-size: clamp(48px, 6vw, 78px);
    font-weight: 400;
    line-height: 1.12;
}

.ss-contact-hero h1 em {
    display: block;
    color: #3F5948;
    font-weight: 400;
}

.ss-contact-hero p {
    max-width: 550px;
    margin: 0 auto;
    color: #77716E;
    font-size: 15px;
    line-height: 1.9;
}

/* CONTACT FORM */

.ss-contact-main {
    padding: 85px 0 110px;
    background: #FFFFFF;
}

.ss-contact-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    align-items: stretch;
    gap: 28px;
}

.ss-contact-form-panel {
    padding: clamp(25px, 4vw, 48px);
    border: 1px solid #E5EAE2;
    border-radius: 28px;
    background: #FAF8F5;
}

.ss-contact-form-panel h2 {
    margin: 15px 0;
    font-size: clamp(32px, 3.5vw, 44px);
}

.ss-contact-form-intro {
    margin-bottom: 30px;
    color: #77716E;
    font-size: 13px;
    line-height: 1.9;
}

.ss-contact-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px;
}

.ss-contact-field {
    margin-bottom: 22px;
}

.ss-contact-field label {
    display: block;
    margin-bottom: 10px;
    color: #293E31;
    font-size: 12px;
    font-weight: 800;
}

.ss-contact-field input,
.ss-contact-field select,
.ss-contact-field textarea {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 16px 18px;
    border: 1px solid #DCE5DA;
    border-radius: 13px;
    outline: none;
    background: #FFFFFF;
    color: #242824;
    font-family: "Manrope", sans-serif;
    font-size: 13px;
    line-height: 1.6;
}

.ss-contact-field textarea {
    min-height: 150px;
    resize: vertical;
}

.ss-contact-field input:focus,
.ss-contact-field select:focus,
.ss-contact-field textarea:focus {
    border-color: #3F5948;
    box-shadow: 0 0 0 3px rgba(63,89,72,.1);
}

.ss-contact-submit {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    width: 100%;
    padding: 18px 23px;
    border: 0;
    border-radius: 100px;
    background: #3F5948;
    color: #FFFFFF;
    font-family: "Manrope", sans-serif;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}

.ss-contact-submit:hover {
    background: #293E31;
}

.ss-contact-submit:focus-visible {
    outline: 3px solid #D8B6A7;
    outline-offset: 3px;
}

.ss-contact-submit > span:last-child {
    font-size: 20px;
}

.ss-contact-disclaimer {
    margin: 15px 0 0;
    color: #77716E;
    font-size: 11px;
    line-height: 1.8;
}

.ss-contact-success {
    margin-top: 25px;
    padding: 24px;
    border: 1px solid #C8D9C7;
    border-radius: 18px;
    background: #E4EDE5;
}

.ss-contact-success[hidden] {
    display: none !important;
}

.ss-contact-success > span {
    color: #3F5948;
    font-size: 28px;
}

.ss-contact-success h3 {
    margin: 8px 0;
    font-family: "DM Serif Display", serif;
    font-size: 27px;
    font-weight: 400;
}

.ss-contact-success p {
    color: #59695D;
    font-size: 12px;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

/* CONTACT SIDE PANEL */

.ss-contact-side-panel {
    display: flex;
    flex-direction: column;
    padding: clamp(30px, 4vw, 48px);
    border-radius: 28px;
    background: #E4EDE5;
}

.ss-contact-side-symbol {
    display: grid;
    place-items: center;
    width: 75px;
    height: 75px;
    margin-bottom: 30px;
    border: 1px solid rgba(63,89,72,.2);
    border-radius: 22px;
    color: #3F5948;
    font-size: 40px;
}

.ss-contact-side-panel h2 {
    margin: 18px 0;
    font-size: clamp(32px, 3.5vw, 46px);
}

.ss-contact-side-panel > p {
    margin-bottom: 30px;
    color: #59695D;
    font-size: 13px;
    line-height: 1.9;
}

.ss-contact-side-divider {
    height: 1px;
    margin-bottom: 25px;
    background: rgba(63,89,72,.2);
}

.ss-contact-info-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 25px;
}

.ss-contact-info-item > span {
    color: #3F5948;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.3px;
}

.ss-contact-info-item strong,
.ss-contact-info-item a {
    color: #293E31;
    font-size: 13px;
    font-weight: 700;
}

.ss-contact-info-item a:hover {
    text-decoration: underline;
}

.ss-contact-bottom {
    padding: 85px 20px;
    background: #FAF8F5;
    text-align: center;
}

.ss-contact-bottom h2 {
    margin: 18px auto 30px;
    font-size: clamp(35px, 4vw, 52px);
}

/* RESPONSIVE */

@media (max-width: 950px) {
    .ss-about-hero-grid,
    .ss-about-story-grid,
    .ss-about-journey-grid,
    .ss-contact-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .ss-about-values-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 650px) {
    .ss-about-hero,
    .ss-about-journey,
    .ss-contact-main {
        padding: 65px 0;
    }

    .ss-about-hero-art {
        min-height: 350px;
    }

    .ss-about-story-art {
        min-height: 300px;
    }

    .ss-about-values-grid,
    .ss-contact-row {
        grid-template-columns: 1fr;
    }

    .ss-about-bottom,
    .ss-contact-bottom {
        padding: 70px 15px;
    }

    .ss-contact-hero {
        padding: 70px 15px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ss-about-value-card {
        transition: none;
    }
}



/* ==========================================
   SOFTLYSTUDIOS — MOBILE LAYOUT REPAIR
========================================== */

@media (max-width: 950px) {

    /* Header */
    .nav-wrapper {
        gap: 10px;
        min-width: 0;
    }

    .logo {
        flex-shrink: 0;
    }

    .mobile-menu-toggle {
        flex-shrink: 0;
        margin-left: auto;
    }

    /* Prevent wide grid children */
    .hero-grid,
    .passport-grid,
    .softly-ingredient-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-grid > *,
    .passport-grid > *,
    .softly-ingredient-grid > * {
        min-width: 0;
        max-width: 100%;
    }

    /* Hero content */
    .hero-content {
        width: 100%;
        max-width: 100%;
    }

    .hero h1 {
        overflow-wrap: break-word;
    }

    .hero-description {
        max-width: 100%;
    }

    /* Hero visual */
    .hero-visual {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }
}

@media (max-width: 600px) {

    /* Header: keep logo and menu visible */
    .nav-wrapper {
        min-height: 72px;
        gap: 8px;
    }

    .logo {
        font-size: 19px;
    }

    /* Hide desktop-style animated CTA on mobile.
       Analyze remains available in mobile menu. */
    .site-header .softly-morph-btn {
        display: none !important;
    }

    .mobile-menu-toggle {
        display: flex;
        margin-left: auto;
    }

    /* Fix heading sizing */
    .hero h1 {
        font-size: clamp(34px, 9vw, 45px);
        line-height: 1.15;
    }

    .hero-description {
        font-size: 14px;
        line-height: 1.8;
    }

    /* Keep visual elements inside mobile viewport */
    .hero-visual {
        overflow: hidden;
    }

    .floating-card {
        max-width: 55%;
    }

    .hero-actions {
        align-items: center;
    }
}



/* SOFTLYSTUDIOS — PRODUCT DETAIL PAGE */

.detail-back-link {
    display: inline-flex;
    align-items: center;
    margin-bottom: 36px;
    color: #3F5948;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.softly-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(30px, 5vw, 80px);
    align-items: center;
}

.softly-detail-visual {
    min-height: 470px;
    border-radius: 28px;
    background: #E4EDE5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 35px;
    text-align: center;
}

.softly-detail-symbol {
    font-size: 120px;
    color: #3F5948;
    line-height: 1;
}

.softly-detail-visual-label {
    color: #3F5948;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

.softly-detail-content h1 {
    font-family: "DM Serif Display", serif;
    font-size: clamp(38px, 4.5vw, 64px);
    line-height: 1.12;
    color: #293E31;
    margin: 20px 0;
}

.softly-detail-description {
    color: #626B63;
    font-size: 16px;
    line-height: 1.9;
    margin-bottom: 28px;
}

.softly-detail-facts {
    display: grid;
    gap: 14px;
    margin-bottom: 28px;
}

.softly-detail-facts > div {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 15px 0;
    border-bottom: 1px solid #E4EDE5;
}

.softly-detail-facts span {
    color: #788278;
    font-size: 13px;
}

.softly-detail-facts strong {
    color: #293E31;
    font-size: 14px;
    text-align: right;
}

.softly-detail-disclaimer {
    color: #788278;
    font-size: 12px;
    line-height: 1.7;
    margin-bottom: 25px;
}

.directory-product-info h3 a {
    color: inherit;
    text-decoration: none;
}

.directory-product-info h3 a:hover {
    color: #3F5948;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .softly-detail-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .softly-detail-visual {
        min-height: 300px;
    }

    .softly-detail-symbol {
        font-size: 85px;
    }
}


/* SOFTLYSTUDIOS — INGREDIENT DETAIL PAGE */

.ingredient-detail-section {
    margin-bottom: 26px;
    padding-bottom: 22px;
    border-bottom: 1px solid #E4EDE5;
}

.ingredient-detail-section h2 {
    font-family: "DM Serif Display", serif;
    font-size: 26px;
    color: #293E31;
    margin-bottom: 12px;
}

.ingredient-detail-section p {
    color: #626B63;
    font-size: 15px;
    line-height: 1.85;
}

.ingredient-library-card h3 a {
    color: inherit;
    text-decoration: none;
}

.ingredient-library-card h3 a:hover {
    color: #3F5948;
    text-decoration: underline;
}


/* SOFTLYSTUDIOS — ADMIN */

.softly-admin-login {
    max-width: 480px;
    margin: 40px auto;
    padding: 42px;
    background: #F7F8F3;
    border-radius: 24px;
}

.softly-admin-login h1,
.softly-admin-dashboard h1 {
    font-family: "DM Serif Display", serif;
    color: #293E31;
    font-size: 44px;
    margin: 16px 0;
}

.softly-admin-login p,
.softly-admin-dashboard p {
    color: #626B63;
    line-height: 1.7;
}

.softly-admin-login form {
    display: grid;
    gap: 14px;
    margin-top: 28px;
}

.softly-admin-login label {
    color: #293E31;
    font-weight: 600;
}

.softly-admin-login input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #D9E1D7;
    border-radius: 12px;
    background: #FFFFFF;
    font: inherit;
}

.softly-admin-login .admin-form-error {
    color: #B23B3B;
    font-size: 13px;
}

.softly-admin-login button {
    margin-top: 12px;
    cursor: pointer;
}

.softly-admin-dashboard {
    max-width: 1000px;
    margin: 20px auto;
}

.softly-admin-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin: 32px 0;
}

.softly-admin-stat {
    padding: 30px;
    border-radius: 20px;
    background: #E9F0E7;
}

.softly-admin-stat span {
    display: block;
    color: #626B63;
    margin-bottom: 14px;
}

.softly-admin-stat strong {
    font-size: 42px;
    color: #293E31;
}

@media (max-width: 600px) {
    .softly-admin-login {
        padding: 25px;
    }

    .softly-admin-stats {
        grid-template-columns: 1fr;
    }
}




/* SOFTLYSTUDIOS — ADMIN PRODUCT MANAGEMENT */

.admin-page-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.admin-table-wrap {
    overflow-x: auto;
    background: #fff;
    border: 1px solid #e3e9e0;
    border-radius: 18px;
}

.admin-products-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.admin-products-table th,
.admin-products-table td {
    padding: 18px 20px;
    text-align: left;
    border-bottom: 1px solid #edf0e9;
}

.admin-products-table th {
    background: #f4f7f1;
    color: #293e31;
    font-size: 13px;
}

.admin-row-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.admin-row-actions a {
    color: #3f5948;
    font-weight: 700;
}

.admin-delete-button {
    border: none;
    background: none;
    color: #b23b3b;
    cursor: pointer;
    font: inherit;
}

.admin-success-message {
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 12px;
    background: #e9f0e7;
    color: #293e31;
}

.softly-admin-form-wrap {
    max-width: 750px;
    margin: 20px auto;
}

.softly-admin-form-wrap h1 {
    font-family: "DM Serif Display", serif;
    font-size: 44px;
    color: #293e31;
    margin: 18px 0 30px;
}

.softly-admin-product-form {
    display: grid;
    gap: 15px;
}

.softly-admin-product-form label {
    font-weight: 600;
    color: #293e31;
}

.softly-admin-product-form input,
.softly-admin-product-form select,
.softly-admin-product-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #d9e1d7;
    border-radius: 12px;
    background: #fff;
    font: inherit;
}

.softly-admin-product-form .admin-checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
}

.softly-admin-product-form input[type="checkbox"] {
    width: auto;
}

.admin-form-error {
    color: #b23b3b;
    margin-bottom: 20px;
}

.admin-pagination {
    margin-top: 25px;
}

@media (max-width: 600px) {
    .admin-page-heading {
        align-items: flex-start;
        flex-direction: column;
    }
}



/* SOFTLY JOURNAL — DYNAMIC ARTICLE LINKS */

.journal-article-body h3 a {
    color: inherit;
    text-decoration: none;
}

.journal-article-body h3 a:hover {
    color: #698472;
}

.journal-card-bottom a {
    color: inherit;
    text-decoration: none;
    font-weight: 700;
}

/* SOFTLY JOURNAL — ARTICLE DETAIL */

.softly-article-detail {
    max-width: 790px;
    margin: 20px auto 80px;
}

.softly-article-detail .section-kicker {
    display: inline-block;
    margin-top: 38px;
}

.softly-article-detail h1 {
    font-family: "DM Serif Display", serif;
    font-size: clamp(38px, 6vw, 68px);
    line-height: 1.12;
    font-weight: 400;
    color: #293e31;
    margin: 20px 0;
}

.softly-article-meta {
    color: #7b857c;
    font-size: 13px;
    letter-spacing: 0.04em;
    margin-bottom: 32px;
}

.softly-article-intro {
    font-size: 21px;
    line-height: 1.7;
    color: #506356;
    padding-bottom: 28px;
    border-bottom: 1px solid #e1e7dd;
}

.softly-article-body {
    margin-top: 36px;
    font-size: 17px;
    line-height: 2;
    color: #39483e;
    overflow-wrap: anywhere;
}

.softly-article-footer {
    margin-top: 55px;
    padding-top: 24px;
    border-top: 1px solid #e1e7dd;
}

.softly-article-footer p {
    color: #7b857c;
    font-size: 14px;
    line-height: 1.8;
}

.softly-article-footer .journal-text-link {
    display: inline-block;
    margin-top: 20px;
}



/* Analyzer backend results */

.analyzer-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 24px 0;
}

.analyzer-summary p {
    padding: 12px 18px;
    border: 1px solid rgba(75, 90, 70, 0.15);
    border-radius: 12px;
}

.analyzer-matches,
.analyzer-unknown {
    margin-top: 28px;
}

.analyzer-ingredient-item {
    padding: 22px 0;
    border-bottom: 1px solid rgba(75, 90, 70, 0.15);
}

.analyzer-ingredient-item h4 {
    margin-bottom: 10px;
}

.analyzer-ingredient-item h4 a {
    color: inherit;
    text-decoration: none;
}

.analyzer-ingredient-item h4 a:hover {
    text-decoration: underline;
}

.analyzer-ingredient-item p {
    margin-top: 10px;
    line-height: 1.8;
}

.analyzer-unknown {
    padding: 20px;
    border-radius: 14px;
    background: rgba(180, 155, 120, 0.08);
}

.analyzer-validation-errors {
    margin-bottom: 22px;
    padding: 16px;
    border: 1px solid #b98585;
    border-radius: 12px;
    color: #8c4545;
}

.analyzer-validation-errors ul {
    margin: 10px 0 0 20px;
}



/* Beauty Passport backend messages */

.bp-notice {
    margin-bottom: 28px;
    padding: 18px 22px;
    border-radius: 14px;
    border: 1px solid rgba(77, 98, 76, 0.22);
    background: rgba(115, 145, 105, 0.08);
    line-height: 1.7;
}

.bp-notice-error {
    border-color: rgba(170, 75, 75, 0.35);
    background: rgba(170, 75, 75, 0.07);
}

.bp-notice-error ul {
    margin: 10px 0 0 20px;
}



/* ==========================================
   SOFTLYSTUDIOS — SKIN WEATHER
========================================== */

.ss-weather-section {
    background: #f8f7f2;
}

.ss-weather-card {
    max-width: 1050px;
    margin: 0 auto;
    padding: clamp(24px, 5vw, 52px);
    border: 1px solid #e8e7df;
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 18px 55px rgba(35, 46, 38, 0.05);
}

.ss-weather-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 30px;
}

.ss-weather-top h3 {
    margin: 10px 0 0;
    font-size: clamp(24px, 3vw, 34px);
    color: #26372f;
}

.ss-weather-city {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.ss-weather-city label {
    font-size: 12px;
    color: #66736a;
}

.ss-weather-city select {
    min-width: 170px;
    padding: 13px 16px;
    border: 1px solid #dce2d9;
    border-radius: 12px;
    background: #f8faf7;
    color: #26372f;
    font: inherit;
    cursor: pointer;
}

.ss-weather-status {
    margin: 0 0 22px;
    font-size: 13px;
    color: #748077;
}

.ss-weather-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.ss-weather-stat {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 24px;
    border: 1px solid #edf0e9;
    border-radius: 18px;
    background: #f7f9f5;
}

.ss-weather-stat > span {
    font-size: 12px;
    color: #718075;
}

.ss-weather-stat strong {
    font-size: clamp(27px, 4vw, 42px);
    line-height: 1.1;
    color: #314d3c;
}

.ss-weather-stat small {
    font-size: 12px;
    color: #7b887d;
}

.ss-weather-guidance {
    margin-top: 30px;
    padding-top: 28px;
    border-top: 1px solid #e9ede6;
}

.ss-weather-guidance h4 {
    margin: 12px 0 20px;
    font-size: 22px;
    color: #26372f;
}

.ss-weather-guidance ul {
    display: grid;
    gap: 12px;
    margin: 0;
    padding-left: 22px;
    color: #526157;
    line-height: 1.8;
}

.ss-weather-disclaimer {
    margin: 28px 0 0;
    font-size: 12px;
    line-height: 1.7;
    color: #849087;
}

@media (max-width: 700px) {
    .ss-weather-top {
        flex-direction: column;
        align-items: stretch;
    }

    .ss-weather-city select {
        width: 100%;
    }

    .ss-weather-stats {
        grid-template-columns: 1fr;
    }

    .ss-weather-stat {
        padding: 20px;
    }

    .ss-weather-card {
        border-radius: 20px;
    }
}





/* ==========================================
   SOFTLYSTUDIOS
   WORLDWIDE SMART SKIN WEATHER
========================================== */

.ss-weather-section {
    background: #f8f8f4;
}

.ss-weather-card {
    max-width: 1100px;
    margin: 0 auto;
    padding: clamp(24px, 4vw, 50px);
    background: #ffffff;
    border: 1px solid #e7ebe4;
    border-radius: 28px;
    box-shadow: 0 20px 60px rgba(35, 52, 42, 0.055);
}

.ss-weather-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 30px;
}

.ss-weather-heading {
    max-width: 650px;
}

.ss-weather-eyebrow {
    display: inline-block;
    margin-bottom: 13px;
    color: #6d8a75;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
}

.ss-weather-heading h3 {
    margin: 0 0 12px;
    color: #283d32;
    font-size: clamp(25px, 3vw, 36px);
    line-height: 1.25;
}

.ss-weather-heading p {
    margin: 0;
    color: #78857a;
    line-height: 1.8;
}

.ss-weather-header-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 92px;
    height: 92px;
    border-radius: 50%;
    background: #f0f5ec;
    color: #819e78;
    font-size: 46px;
}

.ss-weather-location-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 20px 22px;
    border: 1px solid #e4eae0;
    border-radius: 17px;
    background: #f8faf6;
}

.ss-weather-location-info {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.ss-weather-location-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #e7eee4;
    color: #55745e;
    font-size: 25px;
}

.ss-weather-location-info > div {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.ss-weather-location-label {
    color: #8a998d;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.ss-weather-location-info strong {
    color: #2c4737;
    font-size: 17px;
    overflow-wrap: anywhere;
}

.ss-weather-location-info small {
    color: #89958b;
    font-size: 12px;
}

.ss-weather-change-btn,
.ss-weather-search-btn {
    flex-shrink: 0;
    padding: 12px 18px;
    border: 0;
    border-radius: 10px;
    background: #375842;
    color: #ffffff;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease,
                transform 0.2s ease;
}

.ss-weather-change-btn:hover,
.ss-weather-search-btn:hover {
    background: #274432;
    transform: translateY(-1px);
}

.ss-weather-search-panel {
    margin-top: 16px;
    padding: 24px;
    border: 1px solid #e5ebe2;
    border-radius: 16px;
    background: #fcfdfa;
}

.ss-weather-search-panel[hidden],
#ss-weather-content[hidden] {
    display: none !important;
}

.ss-weather-search-panel label {
    display: block;
    margin-bottom: 11px;
    color: #3c5946;
    font-size: 13px;
    font-weight: 600;
}

.ss-weather-search-row {
    display: flex;
    gap: 10px;
}

.ss-weather-search-row input {
    flex: 1;
    min-width: 0;
    padding: 13px 16px;
    border: 1px solid #dfe6dc;
    border-radius: 10px;
    outline: none;
    background: #ffffff;
    color: #293c30;
    font: inherit;
}

.ss-weather-search-row input:focus {
    border-color: #799b80;
    box-shadow: 0 0 0 3px rgba(121, 155, 128, 0.12);
}

.ss-weather-city-results {
    display: grid;
    gap: 6px;
    margin-top: 12px;
}

.ss-weather-city-result {
    width: 100%;
    padding: 13px 15px;
    border: 1px solid #e7ece5;
    border-radius: 9px;
    background: #ffffff;
    color: #3d5545;
    text-align: left;
    font: inherit;
    font-size: 13px;
    cursor: pointer;
}

.ss-weather-city-result:hover {
    border-color: #9db5a0;
    background: #f0f5ef;
}

.ss-weather-empty {
    margin: 8px 0;
    color: #7d897f;
    font-size: 13px;
}

.ss-weather-location-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 20px;
}

.ss-weather-text-btn {
    padding: 0;
    border: 0;
    background: transparent;
    color: #4b7658;
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.ss-weather-text-btn:hover {
    text-decoration: underline;
}

.ss-weather-location-note {
    margin: 16px 0 0;
    color: #879388;
    font-size: 12px;
    line-height: 1.7;
}

.ss-weather-status {
    margin: 20px 0;
    color: #738174;
    font-size: 13px;
    line-height: 1.6;
}

.ss-weather-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.ss-weather-stat {
    display: flex;
    flex-direction: column;
    gap: 13px;
    padding: 27px 24px;
    border: 1px solid #e9eee6;
    border-radius: 18px;
    background: #f7f9f5;
}

.ss-weather-stat-icon {
    color: #789a7c;
    font-size: 25px;
}

.ss-weather-stat-label {
    color: #809083;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.6px;
}

.ss-weather-stat strong {
    color: #304e3a;
    font-size: clamp(32px, 4vw, 46px);
    font-weight: 600;
    line-height: 1.1;
}

.ss-weather-stat small {
    color: #8a968b;
    font-size: 12px;
}

.ss-weather-guidance {
    margin-top: 34px;
    padding-top: 32px;
    border-top: 1px solid #e9ede7;
}

.ss-weather-guidance-heading h4 {
    margin: 12px 0;
    color: #2b4434;
    font-size: clamp(22px, 3vw, 28px);
}

.ss-weather-guidance-heading p {
    margin: 0;
    color: #7b887e;
    line-height: 1.7;
}

.ss-weather-tips {
    display: grid;
    gap: 12px;
    margin-top: 24px;
}

.ss-weather-tip {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 19px 21px;
    border: 1px solid #e9eee6;
    border-radius: 14px;
    background: #fbfcf9;
}

.ss-weather-tip-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #eaf1e8;
    color: #608069;
    font-size: 19px;
}

.ss-weather-tip p {
    margin: 0;
    color: #5a6b5e;
    font-size: 14px;
    line-height: 1.8;
}

.ss-weather-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: 27px;
}

.ss-weather-bottom span {
    color: #8b978c;
    font-size: 12px;
}

.ss-weather-refresh-btn {
    padding: 0;
    border: 0;
    background: transparent;
    color: #52755c;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.ss-weather-refresh-btn:hover {
    text-decoration: underline;
}

.ss-weather-disclaimer {
    margin: 28px 0 0;
    color: #929c93;
    font-size: 11px;
    line-height: 1.8;
}

/* MOBILE RESPONSIVE */

@media (max-width: 768px) {

    .ss-weather-card {
        padding: 24px 18px;
        border-radius: 20px;
    }

    .ss-weather-header {
        align-items: flex-start;
    }

    .ss-weather-header-icon {
        width: 56px;
        height: 56px;
        font-size: 30px;
    }

    .ss-weather-location-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .ss-weather-change-btn {
        width: 100%;
    }

    .ss-weather-stats {
        grid-template-columns: 1fr;
    }

    .ss-weather-stat {
        padding: 22px;
    }

    .ss-weather-search-row {
        flex-direction: column;
    }

    .ss-weather-search-btn {
        width: 100%;
    }

    .ss-weather-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {

    .ss-weather-header-icon {
        display: none;
    }

    .ss-weather-search-panel {
        padding: 17px;
    }

    .ss-weather-heading h3 {
        font-size: 25px;
    }
}





/* ==========================================
   SOFTLYSTUDIOS CONTACT PAGE
========================================== */

.ss-contact-section {
    background: #f8f9f5;
    min-height: 70vh;
}

.ss-contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: clamp(30px, 5vw, 80px);
    align-items: start;
    max-width: 1150px;
    margin: 45px auto 0;
}

.ss-contact-intro {
    padding-top: 30px;
}

.ss-contact-intro h2 {
    margin: 18px 0;
    color: #2e4938;
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.25;
}

.ss-contact-intro > p {
    color: #77877b;
    font-size: 15px;
    line-height: 1.9;
}

.ss-contact-note {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    padding: 20px;
    border: 1px solid #e1e9df;
    border-radius: 14px;
    background: #eef4eb;
}

.ss-contact-note span {
    color: #6e9474;
    font-size: 24px;
}

.ss-contact-note p {
    margin: 0;
    color: #59705e;
    font-size: 13px;
    line-height: 1.8;
}

.ss-contact-form-card {
    padding: clamp(24px, 4vw, 42px);
    border: 1px solid #e6ece3;
    border-radius: 24px;
    background: white;
    box-shadow: 0 18px 55px rgba(39, 62, 44, 0.05);
}

.ss-contact-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 17px;
}

.ss-contact-field {
    margin-bottom: 20px;
}

.ss-contact-field label {
    display: block;
    margin-bottom: 9px;
    color: #425c49;
    font-size: 13px;
    font-weight: 600;
}

.ss-contact-field input,
.ss-contact-field textarea {
    display: block;
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #dfe7dc;
    border-radius: 10px;
    background: #fcfdfa;
    color: #2c4433;
    font: inherit;
    outline: none;
}

.ss-contact-field input:focus,
.ss-contact-field textarea:focus {
    border-color: #7fa488;
    box-shadow: 0 0 0 3px rgba(127, 164, 136, 0.12);
}

.ss-contact-field textarea {
    resize: vertical;
}

.ss-contact-submit {
    width: 100%;
    padding: 16px 20px;
    border: 0;
    border-radius: 11px;
    background: #365b43;
    color: white;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.ss-contact-submit:hover {
    background: #294b35;
}

.ss-contact-success,
.ss-contact-errors {
    margin-bottom: 22px;
    padding: 15px 18px;
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.7;
}

.ss-contact-success {
    background: #e9f5e8;
    color: #315e39;
}

.ss-contact-errors {
    background: #fff0ed;
    color: #9b4136;
}

.ss-contact-privacy {
    margin: 15px 0 0;
    color: #91a093;
    text-align: center;
    font-size: 12px;
}

.ss-contact-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

@media (max-width: 768px) {
    .ss-contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .ss-contact-intro {
        padding-top: 0;
    }

    .ss-contact-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}






/* ============================================
   SOFTLYSTUDIOS PREMIUM NEWSLETTER
============================================ */

.ss-newsletter-section {
    padding: 90px 20px;
    background: #fafbf8;
}

.ss-newsletter-container {
    position: relative;
    max-width: 1180px;
    margin: 0 auto;
    padding: 85px 30px;
    overflow: hidden;
    border-radius: 28px;
    background: linear-gradient(
        135deg,
        #e9f1e7 0%,
        #f3f6ee 52%,
        #e4ede2 100%
    );
    text-align: center;
}

.ss-newsletter-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.ss-newsletter-eyebrow {
    color: #66846c;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
}

.ss-newsletter-icon {
    margin: 22px 0 10px;
    color: #85a78a;
    font-size: 30px;
}

.ss-newsletter-content h2 {
    margin: 0;
    color: #2e4938;
    font-size: clamp(32px, 4.5vw, 55px);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -1px;
}

.ss-newsletter-description {
    max-width: 530px;
    margin: 24px auto 34px;
    color: #708173;
    font-size: 15px;
    line-height: 1.9;
}

.ss-newsletter-form {
    display: flex;
    gap: 10px;
    max-width: 570px;
    margin: 0 auto;
    padding: 7px;
    border: 1px solid #dce7da;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 12px 35px rgba(40, 70, 45, 0.06);
}

.ss-newsletter-form input[type="email"] {
    flex: 1;
    min-width: 0;
    padding: 13px 15px;
    border: 0;
    background: transparent;
    color: #344b39;
    font: inherit;
    font-size: 14px;
    outline: none;
}

.ss-newsletter-form button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    padding: 14px 22px;
    border: 0;
    border-radius: 9px;
    background: #365b43;
    color: #fff;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.2s ease;
}

.ss-newsletter-form button:hover {
    background: #294a35;
}

.ss-newsletter-footnote {
    margin-top: 18px;
    color: #8b9c8d;
    font-size: 12px;
}

.ss-newsletter-alert {
    max-width: 570px;
    margin: 0 auto 18px;
    padding: 13px 18px;
    border-radius: 10px;
    font-size: 13px;
}

.ss-newsletter-alert-success {
    background: #dcefd9;
    color: #305c38;
}

.ss-newsletter-alert-error {
    background: #ffebe7;
    color: #9c3c35;
}

.ss-newsletter-decor {
    position: absolute;
    width: 290px;
    height: 290px;
    border-radius: 50%;
    background: rgba(153, 186, 153, 0.13);
    filter: blur(3px);
}

.ss-newsletter-decor-one {
    top: -130px;
    left: -100px;
}

.ss-newsletter-decor-two {
    right: -100px;
    bottom: -150px;
}

.ss-newsletter-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.ss-newsletter-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: 650px) {
    .ss-newsletter-section {
        padding: 55px 15px;
    }

    .ss-newsletter-container {
        padding: 65px 20px;
        border-radius: 20px;
    }

    .ss-newsletter-form {
        flex-direction: column;
        padding: 10px;
    }

    .ss-newsletter-form input[type="email"] {
        width: 100%;
        padding: 15px;
    }

    .ss-newsletter-form button {
        width: 100%;
        padding: 16px;
    }
}






/* ==========================================
   SOFTLYSTUDIOS SMART BEAUTY WISHLIST
========================================== */

.ss-wishlist-page {
    min-height: 75vh;
    padding: 85px 20px;
    background: #f9faf7;
}

.ss-wishlist-wrap {
    max-width: 1200px;
    margin: 0 auto;
}

.ss-wishlist-heading {
    text-align: center;
    margin-bottom: 45px;
}

.ss-wishlist-eyebrow {
    color: #7e9b82;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
}

.ss-wishlist-heading h1 {
    margin: 15px 0;
    color: #2e4938;
    font-size: clamp(34px, 4vw, 54px);
    font-weight: 500;
}

.ss-wishlist-heading p {
    color: #7a897d;
    line-height: 1.8;
}

.ss-wishlist-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.ss-wishlist-stat {
    padding: 25px;
    border: 1px solid #e3eae0;
    border-radius: 15px;
    background: white;
    text-align: center;
}

.ss-wishlist-stat strong {
    display: block;
    margin-bottom: 8px;
    color: #355a42;
    font-size: 30px;
}

.ss-wishlist-stat span {
    color: #859287;
    font-size: 12px;
}

.ss-wishlist-toolbar {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 30px;
}

.ss-wishlist-toolbar input,
.ss-wishlist-toolbar select,
.ss-wishlist-collections-panel input {
    width: 100%;
    min-width: 0;
    padding: 14px;
    border: 1px solid #dfe7dd;
    border-radius: 10px;
    background: white;
    color: #344c39;
    font: inherit;
    outline: none;
}

.ss-wishlist-collections-panel {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
    padding: 25px;
    border: 1px solid #e2e9df;
    border-radius: 16px;
    background: #fff;
}

.ss-wishlist-collections-panel h2 {
    margin: 0 0 8px;
    color: #34543d;
    font-size: 21px;
}

.ss-wishlist-collections-panel p {
    margin: 0;
    color: #89978b;
    font-size: 13px;
}

.ss-wishlist-collections-panel form {
    display: flex;
    gap: 10px;
}

.ss-wishlist-collections-panel button {
    padding: 12px 18px;
    border: 0;
    border-radius: 9px;
    background: #365b43;
    color: white;
    cursor: pointer;
    white-space: nowrap;
}

.ss-wishlist-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.ss-wishlist-chip {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 9px 13px;
    border: 1px solid #dbe7d9;
    border-radius: 30px;
    background: #eef4eb;
    color: #527058;
    font-size: 12px;
}

.ss-wishlist-chip button {
    border: 0;
    background: none;
    color: #7b8f7c;
    font-size: 18px;
    cursor: pointer;
}

.ss-wishlist-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 23px;
}

.ss-wishlist-card {
    overflow: hidden;
    border: 1px solid #e2e9df;
    border-radius: 18px;
    background: white;
}

.ss-wishlist-card-image {
    position: relative;
    height: 210px;
    background: #edf2e9;
}

.ss-wishlist-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ss-wishlist-placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    color: #96b29a;
    font-size: 55px;
}

.ss-wishlist-type-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 7px 12px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.92);
    color: #4b6b52;
    font-size: 11px;
    text-transform: capitalize;
}

.ss-wishlist-card-body {
    padding: 22px;
}

.ss-wishlist-card-body h3 {
    margin: 0 0 10px;
    color: #304b39;
    font-size: 19px;
}

.ss-wishlist-view {
    display: inline-block;
    margin-bottom: 22px;
    color: #5d8064;
    font-size: 13px;
    text-decoration: none;
}

.ss-wishlist-notes-label {
    display: block;
    margin-bottom: 8px;
    color: #526b57;
    font-size: 12px;
    font-weight: 600;
}

.ss-wishlist-notes {
    width: 100%;
    min-height: 85px;
    padding: 12px;
    border: 1px solid #e0e8dd;
    border-radius: 9px;
    font: inherit;
    font-size: 13px;
    resize: vertical;
}

.ss-wishlist-card-collections {
    display: grid;
    gap: 9px;
    margin: 18px 0;
}

.ss-wishlist-card-collections strong {
    color: #526b57;
    font-size: 12px;
}

.ss-wishlist-collection-option {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #65796a;
    font-size: 12px;
}

.ss-wishlist-remove {
    width: 100%;
    padding: 12px;
    border: 1px solid #efd9d9;
    border-radius: 9px;
    background: #fff5f4;
    color: #a35c58;
    font: inherit;
    font-size: 12px;
    cursor: pointer;
}

.ss-wishlist-empty {
    padding: 65px 20px;
    border: 1px dashed #cadbc8;
    border-radius: 18px;
    background: #f2f6ef;
    text-align: center;
}

.ss-wishlist-empty[hidden] {
    display: none;
}

.ss-wishlist-empty-icon {
    color: #88a78c;
    font-size: 70px;
}

.ss-wishlist-empty h2 {
    color: #355a42;
}

.ss-wishlist-empty p {
    color: #7c8f7f;
}

.ss-wishlist-empty-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 25px;
}

.ss-wishlist-empty-links a {
    padding: 13px 18px;
    border-radius: 9px;
    background: #365b43;
    color: white;
    text-decoration: none;
    font-size: 13px;
}

.ss-wishlist-heart {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid #dfe8dd;
    border-radius: 50%;
    background: white;
    color: #657d6a;
    font-size: 25px;
    cursor: pointer;
    transition: transform 0.2s ease, color 0.2s ease;
}

.ss-wishlist-heart:hover {
    transform: scale(1.08);
}

.ss-wishlist-heart.is-saved {
    color: #c96f79;
    background: #fff0f1;
}

.ss-wishlist-toast {
    position: fixed;
    right: 24px;
    bottom: 25px;
    z-index: 9999;
    max-width: 350px;
    padding: 14px 20px;
    border-radius: 12px;
    background: #355a42;
    color: white;
    box-shadow: 0 12px 35px rgba(0,0,0,.15);
    opacity: 0;
    transform: translateY(15px);
    pointer-events: none;
    transition: 0.25s ease;
}

.ss-wishlist-toast.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 950px) {
    .ss-wishlist-toolbar {
        grid-template-columns: repeat(2, 1fr);
    }

    .ss-wishlist-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 650px) {
    .ss-wishlist-page {
        padding: 55px 15px;
    }

    .ss-wishlist-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .ss-wishlist-toolbar,
    .ss-wishlist-grid {
        grid-template-columns: 1fr;
    }

    .ss-wishlist-collections-panel {
        flex-direction: column;
        align-items: stretch;
    }

    .ss-wishlist-collections-panel form {
        flex-direction: column;
    }
}






/* ==========================================
   SOFTLYSTUDIOS DIRECTORY WISHLIST HEARTS
========================================== */

.ss-directory-favorite-card,
.ss-ingredient-favorite-card {
    position: relative;
}

.ss-directory-favorite-card .directory-product-art {
    position: relative;
}

.ss-card-heart {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 5;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: #526e59;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 5px 18px rgba(34, 57, 38, 0.08);
    transition: transform .2s ease, background .2s ease;
}

.ss-card-heart:hover {
    transform: scale(1.1);
    background: white;
}

.ss-card-heart.is-saved {
    background: #fff0f1;
    color: #c66d78;
}

.ss-ingredient-heart {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 5;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid #e0e8df;
    border-radius: 50%;
    background: #fff;
    color: #607c66;
    font-size: 25px;
    cursor: pointer;
    transition: transform .2s ease;
}

.ss-ingredient-heart:hover {
    transform: scale(1.1);
}

.ss-ingredient-heart.is-saved {
    background: #fff0f1;
    color: #c66d78;
    border-color: #f1d9dc;
}

.ss-directory-toolbar-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
    flex-wrap: wrap;
}

.ss-directory-wishlist-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 16px;
    border: 1px solid #dbe6d9;
    border-radius: 30px;
    background: #f2f7ef;
    color: #3b6046;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: background .2s ease;
}

.ss-directory-wishlist-link:hover {
    background: #e6f0e2;
}

.ss-directory-wishlist-link > span:first-child {
    font-size: 19px;
    line-height: 1;
}

.ss-directory-wishlist-link [data-wishlist-count] {
    display: grid;
    place-items: center;
    min-width: 22px;
    height: 22px;
    padding: 0 5px;
    border-radius: 50%;
    background: #365b43;
    color: white;
    font-size: 11px;
}

.ss-directory-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.ss-directory-explore-link,
.ss-ingredient-explore {
    color: #4b7354;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}

.ss-directory-explore-link:hover,
.ss-ingredient-explore:hover {
    color: #294d34;
}

@media (max-width: 650px) {
    .ss-directory-toolbar-right {
        justify-content: flex-start;
        gap: 12px;
    }

    .ss-card-heart,
    .ss-ingredient-heart {
        width: 38px;
        height: 38px;
        font-size: 23px;
    }
}





/* =========================================
   SOFTLYSTUDIOS SMART PRODUCT COMPARISON
========================================= */

.ss-compare-add-btn {
    padding: 9px 13px;
    border: 1px solid #d7e4d7;
    border-radius: 30px;
    background: #f1f6ef;
    color: #41664a;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: .2s ease;
}

.ss-compare-add-btn:hover {
    background: #e2eee0;
}

.ss-compare-add-btn.is-selected {
    background: #355a42;
    color: #fff;
    border-color: #355a42;
}

.ss-compare-tray[hidden],
.ss-compare-empty[hidden],
#ss-compare-content[hidden] {
    display: none !important;
}

.ss-compare-tray {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9000;
    width: min(1100px, calc(100% - 32px));
    padding: 18px 22px;
    border: 1px solid #dce8d9;
    border-radius: 18px;
    background: rgba(255,255,255,.97);
    box-shadow: 0 15px 55px rgba(32,55,37,.16);
    backdrop-filter: blur(14px);
}

.ss-compare-tray-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.ss-compare-tray-title {
    display: grid;
    gap: 4px;
    color: #355a42;
    font-size: 13px;
}

.ss-compare-tray-title span {
    color: #849488;
    font-size: 11px;
}

.ss-compare-tray-items {
    display: flex;
    flex: 1;
    gap: 8px;
    flex-wrap: wrap;
}

.ss-compare-tray-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border-radius: 30px;
    background: #eef4ec;
    color: #4b6d53;
    font-size: 11px;
}

.ss-compare-tray-item button {
    border: 0;
    background: transparent;
    color: #9b676a;
    font-size: 17px;
    cursor: pointer;
}

.ss-compare-tray-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.ss-compare-clear-btn,
.ss-compare-go-btn {
    padding: 11px 15px;
    border-radius: 9px;
    font: inherit;
    font-size: 12px;
    cursor: pointer;
}

.ss-compare-clear-btn {
    border: 1px solid #e3e9e0;
    background: white;
    color: #617366;
}

.ss-compare-go-btn {
    border: 1px solid #355a42;
    background: #355a42;
    color: white;
    text-decoration: none;
}

.ss-compare-go-btn.is-disabled {
    opacity: .5;
    cursor: not-allowed;
}

.ss-compare-page {
    min-height: 75vh;
    padding: 80px 0 100px;
    background: #f9faf7;
}

.ss-compare-heading {
    text-align: center;
    margin-bottom: 40px;
}

.ss-compare-heading h1 {
    margin: 16px 0;
    color: #304d39;
    font-size: clamp(34px, 5vw, 56px);
    font-weight: 500;
}

.ss-compare-heading h1 em {
    color: #83a087;
    font-style: normal;
}

.ss-compare-heading p {
    color: #7d8c80;
    line-height: 1.8;
}

.ss-compare-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 22px;
    color: #637c68;
    font-size: 13px;
}

.ss-compare-actions button {
    padding: 10px 15px;
    border: 1px solid #e4d6d6;
    border-radius: 9px;
    background: #fff;
    color: #a36767;
    cursor: pointer;
}

.ss-compare-message {
    margin-bottom: 15px;
    color: #65806b;
    font-size: 13px;
}

.ss-compare-table-scroll {
    overflow-x: auto;
    border: 1px solid #e1e9df;
    border-radius: 18px;
    background: white;
}

.ss-compare-table {
    width: 100%;
    min-width: 680px;
    border-collapse: collapse;
}

.ss-compare-table th,
.ss-compare-table td {
    padding: 20px;
    border-bottom: 1px solid #e7ede5;
    text-align: left;
    vertical-align: top;
    color: #546b59;
    font-size: 13px;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.ss-compare-table thead th {
    background: #f0f5ee;
}

.ss-compare-table th:first-child {
    width: 180px;
    color: #355a42;
}

.ss-compare-table tbody th {
    font-weight: 700;
}

.ss-compare-difference {
    background: #f6faf3;
}

.ss-compare-product-heading {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.ss-compare-product-heading strong {
    color: #304d39;
    font-size: 17px;
}

.ss-compare-product-symbol {
    display: grid;
    place-items: center;
    width: 75px;
    height: 75px;
    border-radius: 14px;
    background: #e5efe2;
    color: #7b9d80;
    font-size: 35px;
}

.ss-compare-product-heading a {
    color: #4c7654;
    text-decoration: none;
    font-size: 12px;
}

.ss-compare-product-heading button {
    padding: 7px 11px;
    border: 1px solid #ecdada;
    border-radius: 8px;
    background: #fff8f7;
    color: #a36868;
    cursor: pointer;
}

.ss-compare-disclaimer {
    margin-top: 22px;
    color: #8a968c;
    font-size: 12px;
    line-height: 1.8;
}

.ss-compare-empty {
    padding: 75px 20px;
    border: 1px dashed #cbdcc9;
    border-radius: 20px;
    background: #f1f6ee;
    text-align: center;
}

.ss-compare-empty > span {
    color: #8eaa90;
    font-size: 65px;
}

.ss-compare-empty h2 {
    color: #355a42;
}

.ss-compare-empty p {
    color: #7f9181;
}

.ss-compare-explore {
    display: inline-block;
    margin-top: 18px;
    padding: 13px 22px;
    border-radius: 10px;
    background: #355a42;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
}

.ss-compare-toast {
    position: fixed;
    bottom: 135px;
    right: 24px;
    z-index: 9999;
    padding: 13px 18px;
    border-radius: 10px;
    background: #355a42;
    color: white;
    font-size: 12px;
    opacity: 0;
    transform: translateY(10px);
    transition: .2s ease;
    pointer-events: none;
}

.ss-compare-toast.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 650px) {
    .ss-compare-page {
        padding: 55px 0 85px;
    }

    .ss-compare-tray {
        bottom: 10px;
        padding: 14px;
    }

    .ss-compare-tray-inner {
        gap: 12px;
    }

    .ss-compare-tray-items {
        flex-basis: 100%;
    }

    .ss-compare-tray-actions {
        width: 100%;
        justify-content: space-between;
    }

    .ss-compare-actions {
        flex-wrap: wrap;
    }

    .ss-compare-table th,
    .ss-compare-table td {
        padding: 14px;
    }
}






/* ==========================================
   SOFTLYSTUDIOS SKINCARE ROUTINE BUILDER
========================================== */

.ss-routine-page {
    min-height: 80vh;
    padding: 85px 0 110px;
    background: #f9faf7;
}

.ss-routine-hero {
    max-width: 760px;
    margin: 0 auto 45px;
    text-align: center;
}

.ss-routine-hero h1 {
    margin: 15px 0;
    color: #304d39;
    font-family: "DM Serif Display", serif;
    font-size: clamp(36px, 5vw, 60px);
    font-weight: 400;
}

.ss-routine-hero h1 span {
    color: #88a38a;
}

.ss-routine-hero p {
    color: #7e8d81;
    line-height: 1.9;
}

.ss-routine-hero-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.ss-routine-outline-link {
    display: inline-flex;
    align-items: center;
    padding: 12px 18px;
    border: 1px solid #dce7da;
    border-radius: 30px;
    color: #42694b;
    background: #fff;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.ss-routine-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.ss-routine-stat {
    padding: 25px;
    border: 1px solid #e2eae0;
    border-radius: 16px;
    background: #fff;
    text-align: center;
}

.ss-routine-stat strong {
    display: block;
    margin-bottom: 7px;
    color: #355a42;
    font-size: 30px;
}

.ss-routine-stat span {
    color: #89988b;
    font-size: 12px;
}

.ss-routine-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 25px;
}

.ss-routine-tabs button {
    flex: 1;
    padding: 17px;
    border: 1px solid #dfe9dd;
    border-radius: 13px;
    background: #fff;
    color: #68806d;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.ss-routine-tabs button.is-active {
    background: #355a42;
    color: #fff;
    border-color: #355a42;
}

.ss-routine-main {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr);
    gap: 25px;
    align-items: start;
}

.ss-routine-workspace {
    padding: 30px;
    border: 1px solid #e2e9df;
    border-radius: 20px;
    background: #fff;
}

.ss-routine-section-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
}

.ss-routine-section-heading h2,
.ss-routine-sidebar-card h2 {
    margin: 10px 0;
    color: #355a42;
    font-family: "DM Serif Display", serif;
    font-size: 27px;
    font-weight: 400;
}

.ss-routine-section-heading p,
.ss-routine-sidebar-card p {
    color: #8a988b;
    font-size: 13px;
    line-height: 1.8;
}

.ss-routine-text-button {
    padding: 9px 13px;
    border: 1px solid #e4eae2;
    border-radius: 9px;
    background: #fff;
    color: #728776;
    font-size: 11px;
    cursor: pointer;
}

.ss-routine-steps {
    display: grid;
    gap: 15px;
}

.ss-routine-step {
    display: flex;
    gap: 18px;
    padding: 22px;
    border: 1px solid #e3eae1;
    border-radius: 15px;
    background: #fbfcfa;
}

.ss-routine-step-number {
    display: grid;
    place-items: center;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e5efe2;
    color: #4c7053;
    font-weight: 700;
    font-size: 13px;
}

.ss-routine-step-content {
    flex: 1;
    min-width: 0;
}

.ss-routine-step-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
}

.ss-routine-step-category {
    color: #89a08d;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ss-routine-step h3 {
    margin: 8px 0;
    color: #355a42;
    font-size: 18px;
}

.ss-routine-step-brand {
    color: #8a998c;
    font-size: 12px;
}

.ss-routine-check-label {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #607b65;
    font-size: 12px;
    cursor: pointer;
}

.ss-routine-notes-label {
    display: block;
    margin: 20px 0 8px;
    color: #657e69;
    font-size: 12px;
    font-weight: 700;
}

.ss-routine-step-notes {
    width: 100%;
    min-height: 75px;
    padding: 12px;
    border: 1px solid #e0e8dd;
    border-radius: 9px;
    color: #405c47;
    font: inherit;
    font-size: 12px;
    resize: vertical;
}

.ss-routine-step-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.ss-routine-step-actions button {
    padding: 8px 11px;
    border: 1px solid #e0e8de;
    border-radius: 8px;
    background: #fff;
    color: #66806b;
    font-size: 11px;
    cursor: pointer;
}

.ss-routine-step-actions button:disabled {
    opacity: .4;
    cursor: not-allowed;
}

.ss-routine-step-actions .ss-routine-remove {
    color: #a86b6b;
    border-color: #f0dede;
}

.ss-routine-empty {
    padding: 60px 20px;
    border: 1px dashed #cfddcc;
    border-radius: 16px;
    background: #f5f8f3;
    text-align: center;
}

.ss-routine-empty[hidden] {
    display: none;
}

.ss-routine-empty > span {
    color: #8eaa91;
    font-size: 55px;
}

.ss-routine-empty h3 {
    color: #355a42;
}

.ss-routine-empty p {
    color: #89988b;
    font-size: 13px;
}

.ss-routine-sidebar {
    display: grid;
    gap: 20px;
}

.ss-routine-sidebar-card {
    padding: 25px;
    border: 1px solid #e2e9df;
    border-radius: 18px;
    background: #fff;
}

#ss-routine-product-search {
    width: 100%;
    padding: 13px;
    border: 1px solid #dce6d9;
    border-radius: 10px;
    background: #fbfcfa;
    color: #355a42;
    font: inherit;
    font-size: 12px;
    outline: none;
}

.ss-routine-product-list {
    display: grid;
    gap: 8px;
    max-height: 340px;
    margin-top: 15px;
    overflow-y: auto;
}

.ss-routine-product-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px;
    border: 1px solid #e7eee5;
    border-radius: 10px;
    background: #fbfcfa;
}

.ss-routine-product-option strong {
    display: block;
    color: #4b6b52;
    font-size: 12px;
}

.ss-routine-product-option span {
    display: block;
    margin-top: 4px;
    color: #96a498;
    font-size: 10px;
}

.ss-routine-product-option button {
    flex: 0 0 30px;
    height: 30px;
    border: 0;
    border-radius: 50%;
    background: #e4efe1;
    color: #4b7655;
    font-size: 20px;
    cursor: pointer;
}

.ss-routine-product-status {
    margin-top: 12px;
    color: #829486;
    font-size: 11px;
}

.ss-routine-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    margin-top: 20px;
}

.ss-routine-day {
    min-width: 0;
    padding: 10px 2px;
    border: 1px solid #e2eae0;
    border-radius: 7px;
    background: #fff;
    color: #8a9b8d;
    font-size: 10px;
    cursor: pointer;
}

.ss-routine-day.is-selected {
    background: #355a42;
    color: #fff;
    border-color: #355a42;
}

.ss-routine-note {
    margin-top: 15px;
    font-size: 11px !important;
}

.ss-routine-toast {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 9999;
    padding: 14px 20px;
    border-radius: 11px;
    background: #355a42;
    color: #fff;
    font-size: 12px;
    box-shadow: 0 10px 35px rgba(0,0,0,.15);
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: .2s ease;
}

.ss-routine-toast.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 950px) {
    .ss-routine-main {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 650px) {
    .ss-routine-page {
        padding: 55px 0 85px;
    }

    .ss-routine-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .ss-routine-stat {
        padding: 17px 8px;
    }

    .ss-routine-stat strong {
        font-size: 24px;
    }

    .ss-routine-tabs {
        gap: 8px;
    }

    .ss-routine-tabs button {
        padding: 14px 8px;
        font-size: 11px;
    }

    .ss-routine-workspace {
        padding: 18px;
    }

    .ss-routine-section-heading {
        flex-direction: column;
    }

    .ss-routine-step {
        gap: 10px;
        padding: 15px;
    }

    .ss-routine-step-number {
        flex-basis: 32px;
        width: 32px;
        height: 32px;
    }

    .ss-routine-step-top {
        flex-wrap: wrap;
    }

    .ss-routine-sidebar-card {
        padding: 20px;
    }
}







/* ==========================================
   SOFTLYSTUDIOS ROUTINE PREMIUM UPGRADE
========================================== */

/* Copy routine */

.ss-routine-copy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 22px;
    padding: 12px 19px;
    border: 1px solid #cbdcc8;
    border-radius: 30px;
    background: #edf5ea;
    color: #3e6648;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s ease;
}

.ss-routine-copy-btn:hover {
    background: #355a42;
    color: #fff;
    border-color: #355a42;
}

/* Product and wishlist tabs */

.ss-routine-product-tabs {
    display: flex;
    gap: 8px;
    margin-top: 17px;
    margin-bottom: 12px;
}

.ss-routine-product-tabs button {
    flex: 1;
    padding: 11px 8px;
    border: 1px solid #dce7d9;
    border-radius: 10px;
    background: #fff;
    color: #65806b;
    font: inherit;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: .2s ease;
}

.ss-routine-product-tabs button:hover {
    background: #f1f6ef;
}

.ss-routine-product-tabs button.is-active {
    background: #355a42;
    border-color: #355a42;
    color: #fff;
}

/* Drag and drop */

.ss-routine-sortable {
    transition:
        box-shadow .2s ease,
        border-color .2s ease,
        opacity .2s ease;
}

.ss-routine-sortable:hover {
    border-color: #b9cfb6;
}

.ss-routine-sortable.is-dragging {
    opacity: .55;
    border: 2px dashed #83a78b;
    background: #edf5ea;
    box-shadow: 0 12px 28px rgba(53, 90, 66, .08);
}

.ss-routine-drag-handle {
    background: #e7f0e3 !important;
    border-color: #cbdcc7 !important;
    color: #426e4b !important;
    cursor: grab !important;
    user-select: none;
    touch-action: none;
}

.ss-routine-drag-handle:active {
    cursor: grabbing !important;
}

.ss-routine-step-actions {
    align-items: center;
}

/* Weekly calendar */

.ss-routine-calendar-section {
    margin-top: 28px;
    padding: 32px;
    border: 1px solid #e2e9df;
    border-radius: 20px;
    background: #fff;
}

.ss-routine-calendar-section h2 {
    margin: 12px 0 8px;
    color: #355a42;
    font-family: "DM Serif Display", Georgia, serif;
    font-size: 30px;
    font-weight: 400;
}

.ss-routine-calendar-section > p {
    margin-bottom: 24px;
    color: #879789;
    font-size: 13px;
    line-height: 1.8;
}

.ss-routine-calendar {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 12px;
}

.ss-routine-calendar-day {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 18px 8px;
    border: 1px solid #e1e9de;
    border-radius: 14px;
    background: #fafcf9;
    text-align: center;
}

.ss-routine-calendar-day.is-today {
    border-color: #82a78a;
    background: #edf5ea;
    box-shadow: 0 4px 18px rgba(53, 90, 66, .07);
}

.ss-routine-calendar-day strong {
    color: #57745e;
    font-size: 12px;
}

.ss-routine-calendar-day > span {
    color: #355a42;
    font-size: 24px;
    font-weight: 700;
}

.ss-routine-calendar-day small {
    color: #859687;
    font-size: 10px;
    line-height: 1.5;
}

.ss-routine-calendar-track {
    width: 100%;
    height: 6px;
    overflow: hidden;
    border-radius: 20px;
    background: #dfe9dc;
}

.ss-routine-calendar-track span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: #6f9a79;
    transition: width .25s ease;
}

/* Undo toast */

.ss-routine-toast {
    display: flex;
    align-items: center;
    gap: 15px;
}

.ss-routine-undo-btn {
    padding: 7px 12px;
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 8px;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.ss-routine-undo-btn:hover {
    background: rgba(255, 255, 255, .22);
}

/* Responsive */

@media (max-width: 900px) {
    .ss-routine-calendar {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 650px) {
    .ss-routine-calendar-section {
        padding: 20px 15px;
    }

    .ss-routine-calendar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
    }

    .ss-routine-calendar-day {
        padding: 14px 8px;
    }

    .ss-routine-calendar-day > span {
        font-size: 21px;
    }

    .ss-routine-product-tabs button {
        font-size: 10px;
    }

    .ss-routine-copy-btn {
        width: 100%;
    }

    .ss-routine-drag-handle {
        padding: 9px 12px !important;
    }

    .ss-routine-toast {
        left: 15px;
        right: 15px;
        bottom: 20px;
        justify-content: space-between;
    }
}






/* ==========================================
   SOFTLYSTUDIOS SKIN RECOMMENDATIONS
========================================== */

.ss-recs-page {
    min-height: 80vh;
    padding: 85px 0 110px;
    background: #f9faf7;
}

.ss-recs-hero {
    max-width: 760px;
    margin: 0 auto 55px;
    text-align: center;
}

.ss-recs-hero h1 {
    margin: 18px 0;
    color: #304d39;
    font-family: "DM Serif Display", Georgia, serif;
    font-size: clamp(36px, 5vw, 60px);
    font-weight: 400;
    line-height: 1.2;
}

.ss-recs-hero h1 em {
    display: block;
    color: #89a38a;
    font-style: normal;
}

.ss-recs-hero p {
    color: #829184;
    font-size: 14px;
    line-height: 1.9;
}

.ss-recs-layout {
    display: grid;
    grid-template-columns: minmax(280px, .9fr) minmax(0, 1.5fr);
    align-items: start;
    gap: 28px;
}

.ss-recs-quiz {
    position: sticky;
    top: 25px;
    padding: 30px;
    border: 1px solid #e1e9de;
    border-radius: 20px;
    background: #fff;
}

.ss-recs-quiz-heading h2 {
    margin: 12px 0;
    color: #355a42;
    font-family: "DM Serif Display", Georgia, serif;
    font-size: 28px;
    font-weight: 400;
}

.ss-recs-quiz-heading p,
.ss-recs-field-hint {
    color: #8a998c;
    font-size: 12px;
    line-height: 1.8;
}

.ss-recs-fieldset {
    min-width: 0;
    margin: 25px 0;
    padding: 0;
    border: 0;
}

.ss-recs-fieldset legend {
    margin-bottom: 15px;
    color: #4e6f56;
    font-size: 13px;
    font-weight: 700;
}

.ss-recs-skin-grid,
.ss-recs-concern-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.ss-recs-choice {
    position: relative;
    display: block;
    cursor: pointer;
}

.ss-recs-choice input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.ss-recs-choice span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 8px;
    border: 1px solid #dce7d9;
    border-radius: 11px;
    background: #fafcf9;
    color: #617c67;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    transition: .2s ease;
}

.ss-recs-choice:hover span {
    border-color: #9ab69c;
    background: #f0f6ed;
}

.ss-recs-choice input:checked + span {
    border-color: #355a42;
    background: #355a42;
    color: #fff;
}

.ss-recs-choice input:focus-visible + span {
    outline: 3px solid #8daf95;
    outline-offset: 3px;
}

.ss-recs-submit {
    display: block;
    width: 100%;
    padding: 16px;
    border: 1px solid #355a42;
    border-radius: 12px;
    background: #355a42;
    color: #fff;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: .2s ease;
}

.ss-recs-submit:hover {
    background: #284a34;
}

.ss-recs-submit:disabled {
    opacity: .6;
    cursor: wait;
}

.ss-recs-reset {
    display: block;
    width: 100%;
    margin-top: 12px;
    padding: 12px;
    border: 0;
    background: transparent;
    color: #879789;
    font: inherit;
    font-size: 12px;
    cursor: pointer;
}

.ss-recs-privacy {
    margin-top: 20px;
    color: #9aa79b;
    font-size: 11px;
    line-height: 1.7;
    text-align: center;
}

.ss-recs-intro,
.ss-recs-loading,
.ss-recs-no-results {
    padding: 90px 30px;
    border: 1px dashed #cadbc8;
    border-radius: 20px;
    background: #f0f6ed;
    text-align: center;
}

.ss-recs-intro > span {
    color: #88a88b;
    font-size: 65px;
}

.ss-recs-intro h2,
.ss-recs-no-results h3 {
    color: #355a42;
    font-family: "DM Serif Display", Georgia, serif;
    font-size: 29px;
    font-weight: 400;
}

.ss-recs-intro p,
.ss-recs-loading p,
.ss-recs-no-results p {
    color: #849586;
    font-size: 13px;
    line-height: 1.8;
}

.ss-recs-results-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.ss-recs-results-heading h2 {
    margin: 10px 0;
    color: #355a42;
    font-family: "DM Serif Display", Georgia, serif;
    font-size: 32px;
    font-weight: 400;
}

.ss-recs-results-heading p,
#ss-recs-count {
    color: #89988b;
    font-size: 12px;
}

.ss-recs-product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.ss-recs-product-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e0e9dd;
    border-radius: 17px;
    background: #fff;
    transition: transform .2s ease, box-shadow .2s ease;
}

.ss-recs-product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(53,90,66,.07);
}

.ss-recs-product-art {
    position: relative;
    display: grid;
    place-items: center;
    height: 165px;
    background: linear-gradient(145deg, #e5efe2, #f3f7ef);
}

.ss-recs-product-art > span {
    color: #91ae95;
    font-size: 65px;
}

.ss-recs-heart {
    position: absolute;
    top: 14px;
    right: 14px;
}

.ss-recs-product-content {
    padding: 21px;
}

.ss-recs-category {
    color: #89a18d;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.ss-recs-product-content h3 {
    margin: 9px 0 5px;
    color: #355a42;
    font-size: 19px;
    line-height: 1.4;
}

.ss-recs-brand {
    margin: 0 0 15px;
    color: #9ba99d;
    font-size: 11px;
}

.ss-recs-description {
    min-height: 66px;
    color: #748778;
    font-size: 12px;
    line-height: 1.8;
}

.ss-recs-reasons {
    display: grid;
    gap: 8px;
    margin-top: 18px;
    padding: 14px;
    border-radius: 10px;
    background: #f1f6ee;
}

.ss-recs-reasons strong {
    color: #4e7056;
    font-size: 11px;
}

.ss-recs-reasons span {
    color: #718a76;
    font-size: 11px;
    line-height: 1.6;
}

.ss-recs-card-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    margin-top: 18px;
}

.ss-recs-view-btn,
.ss-recs-compare-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 12px;
    border-radius: 9px;
    font: inherit;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.ss-recs-view-btn {
    background: #355a42;
    border: 1px solid #355a42;
    color: #fff;
}

.ss-recs-compare-btn {
    background: #edf5ea;
    border: 1px solid #cbdcc8;
    color: #426d4b;
}

.ss-recs-compare-btn.is-selected {
    background: #355a42;
    border-color: #355a42;
    color: #fff;
}

.ss-recs-disclaimer {
    margin-top: 24px;
    color: #929f94;
    font-size: 11px;
    line-height: 1.8;
}

.ss-recs-error {
    margin-top: 16px;
    padding: 14px;
    border: 1px solid #efd6d6;
    border-radius: 10px;
    background: #fff6f5;
    color: #a16666;
    font-size: 12px;
}

.ss-recs-spinner {
    display: inline-block;
    width: 34px;
    height: 34px;
    border: 3px solid #d9e6d7;
    border-top-color: #355a42;
    border-radius: 50%;
    animation: ss-recs-spin .7s linear infinite;
}

@keyframes ss-recs-spin {
    to {
        transform: rotate(360deg);
    }
}

#ss-recs-intro[hidden],
#ss-recs-loading[hidden],
#ss-recs-output[hidden],
#ss-recs-error[hidden] {
    display: none !important;
}

@media (max-width: 950px) {
    .ss-recs-layout {
        grid-template-columns: 1fr;
    }

    .ss-recs-quiz {
        position: static;
    }
}

@media (max-width: 600px) {
    .ss-recs-page {
        padding: 55px 0 85px;
    }

    .ss-recs-quiz {
        padding: 20px;
    }

    .ss-recs-product-grid {
        grid-template-columns: 1fr;
    }

    .ss-recs-results-heading {
        flex-wrap: wrap;
    }

    .ss-recs-intro,
    .ss-recs-loading {
        padding: 55px 20px;
    }
}






/* ==============================================
   SOFTLYSTUDIOS PHASE 5
   SMART RECOMMENDATIONS INTEGRATION
============================================== */

/* Individual recommendation card actions */

.ss-recs-routine-actions {
    margin-top: 19px;
    padding-top: 16px;
    border-top: 1px solid #e8eee5;
}

.ss-recs-routine-label {
    display: block;
    margin-bottom: 11px;
    color: #8a9f8c;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.2px;
}

.ss-recs-routine-buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
}

.ss-recs-routine-buttons button {
    min-height: 42px;
    padding: 10px 8px;
    border: 1px solid #cddfca;
    border-radius: 9px;
    background: #f0f6ed;
    color: #426a4c;
    font: inherit;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition:
        background .2s ease,
        color .2s ease,
        transform .2s ease;
}

.ss-recs-routine-buttons button:hover {
    background: #355a42;
    border-color: #355a42;
    color: #fff;
    transform: translateY(-1px);
}

/* Suggested daily routine section */

.ss-recs-routine-suggestions {
    margin-top: 38px;
    padding: 30px;
    border: 1px solid #dae6d7;
    border-radius: 20px;
    background: #f1f6ee;
}

.ss-recs-routine-suggestions[hidden] {
    display: none !important;
}

.ss-recs-ritual-heading {
    margin-bottom: 25px;
}

.ss-recs-ritual-heading h3 {
    margin: 13px 0 9px;
    color: #355a42;
    font-family: "DM Serif Display", Georgia, serif;
    font-size: 31px;
    font-weight: 400;
    line-height: 1.3;
}

.ss-recs-ritual-heading p {
    max-width: 580px;
    margin: 0;
    color: #819284;
    font-size: 12px;
    line-height: 1.9;
}

.ss-recs-ritual-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px;
}

.ss-recs-ritual-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 23px;
    border: 1px solid #e0e9de;
    border-radius: 15px;
    background: #fff;
}

.ss-recs-ritual-card-top {
    display: flex;
    align-items: center;
    gap: 13px;
    padding-bottom: 17px;
    border-bottom: 1px solid #eaf0e8;
}

.ss-recs-ritual-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #e5efe1;
    color: #517658;
    font-size: 22px;
}

.ss-recs-ritual-card-top h4 {
    margin: 0 0 5px;
    color: #355a42;
    font-family: "DM Serif Display", Georgia, serif;
    font-size: 21px;
    font-weight: 400;
}

.ss-recs-ritual-card-top p {
    margin: 0;
    color: #9ba99c;
    font-size: 11px;
    line-height: 1.5;
}

.ss-recs-ritual-steps {
    flex: 1;
    margin: 19px 0;
    padding-left: 21px;
}

.ss-recs-ritual-steps li {
    margin-bottom: 16px;
    padding-left: 4px;
    color: #54715a;
    font-size: 12px;
}

.ss-recs-ritual-steps li span {
    display: block;
    margin-bottom: 4px;
    color: #9baa9d;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .8px;
}

.ss-recs-ritual-steps li strong {
    display: block;
    color: #4d6c54;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.6;
}

.ss-recs-ritual-add {
    display: block;
    width: 100%;
    padding: 13px 10px;
    border: 1px solid #355a42;
    border-radius: 10px;
    background: #355a42;
    color: #fff;
    font: inherit;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s ease;
}

.ss-recs-ritual-add:hover {
    background: #284934;
}

.ss-recs-ritual-add:disabled {
    opacity: .45;
    cursor: not-allowed;
}

.ss-recs-ritual-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 21px;
}

.ss-recs-ritual-bottom span {
    max-width: 430px;
    color: #87988a;
    font-size: 11px;
    line-height: 1.7;
}

.ss-recs-ritual-bottom a {
    color: #416a4c;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.ss-recs-ritual-bottom a:hover {
    text-decoration: underline;
}

/* Synced Wishlist and Compare states */

.ss-recs-product-card
[data-wishlist-toggle].is-saved,
.ss-recs-product-card
[data-wishlist-toggle].is-active {
    color: #a16e77;
}

.ss-recs-product-card
[data-compare-toggle].is-selected {
    background: #355a42;
    border-color: #355a42;
    color: #fff;
}

/* Integration toast */

.ss-recs-integration-toast {
    position: fixed;
    right: 24px;
    bottom: 25px;
    z-index: 9999;
    max-width: min(390px, calc(100vw - 32px));
    padding: 15px 20px;
    border: 1px solid #486b50;
    border-radius: 12px;
    background: #355a42;
    box-shadow: 0 12px 30px rgba(32, 60, 39, .2);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.6;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition:
        opacity .2s ease,
        transform .2s ease,
        visibility .2s ease;
    pointer-events: none;
}

.ss-recs-integration-toast.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Responsive */

@media (max-width: 900px) {
    .ss-recs-ritual-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .ss-recs-routine-suggestions {
        padding: 21px 15px;
        margin-top: 25px;
    }

    .ss-recs-ritual-heading h3 {
        font-size: 27px;
    }

    .ss-recs-ritual-card {
        padding: 18px;
    }

    .ss-recs-ritual-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .ss-recs-integration-toast {
        right: 16px;
        left: 16px;
        bottom: 18px;
        max-width: none;
    }
}





/* =========================================================
   SOFTLYSTUDIOS — PREMIUM UI FOUNDATION
   Clean luxury sizing + layout system
========================================================= */

:root {
    --ss-bg: #faf8f4;
    --ss-surface: #ffffff;
    --ss-surface-soft: #f4f7f2;

    --ss-text: #243328;
    --ss-text-soft: #66756a;
    --ss-text-muted: #8a968d;

    --ss-line: #dfe8de;
    --ss-line-soft: #e9efea;

    --ss-primary: #355a42;
    --ss-primary-dark: #294634;
    --ss-primary-soft: #e8f0e8;

    --ss-accent: #d9b8a8;
    --ss-accent-soft: #f6ece7;

    --ss-shadow-sm: 0 6px 18px rgba(33, 49, 39, 0.05);
    --ss-shadow-md: 0 16px 40px rgba(33, 49, 39, 0.08);
    --ss-shadow-lg: 0 24px 60px rgba(33, 49, 39, 0.1);

    --ss-radius-sm: 12px;
    --ss-radius-md: 18px;
    --ss-radius-lg: 24px;
    --ss-radius-xl: 32px;

    --ss-container: 1240px;
    --ss-space-section: clamp(72px, 8vw, 120px);
    --ss-space-block: clamp(24px, 3vw, 40px);
}

/* Base */

html {
    scroll-behavior: smooth;
}

body {
    background: var(--ss-bg);
    color: var(--ss-text);
    font-family: "Manrope", sans-serif;
    font-size: 15px;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(var(--ss-container), calc(100% - 40px));
    margin-inline: auto;
}

.section {
    padding: var(--ss-space-section) 0;
}

/* Typography */

h1, h2, h3, h4 {
    margin: 0;
    color: var(--ss-text);
    letter-spacing: -0.02em;
}

h1, h2 {
    font-family: "DM Serif Display", Georgia, serif;
    font-weight: 400;
    line-height: 1.15;
}

h3, h4 {
    font-family: "Manrope", sans-serif;
    font-weight: 700;
    line-height: 1.35;
}

h1 {
    font-size: clamp(40px, 5.4vw, 72px);
}

h2 {
    font-size: clamp(30px, 4vw, 50px);
}

h3 {
    font-size: clamp(20px, 2.2vw, 28px);
}

p {
    margin: 0;
    color: var(--ss-text-soft);
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ss-primary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.section-kicker::before {
    content: "";
    width: 26px;
    height: 1px;
    background: rgba(53, 90, 66, 0.35);
}

/* Premium cards */

.ss-card,
.directory-product-card,
.ingredient-library-card,
.ss-recs-product-card,
.analyzer-form-card,
.analyzer-info-card,
.analyzer-result,
.journal-featured-story {
    background: var(--ss-surface);
    border: 1px solid var(--ss-line-soft);
    border-radius: var(--ss-radius-md);
    box-shadow: var(--ss-shadow-sm);
    transition:
        transform 0.24s ease,
        box-shadow 0.24s ease,
        border-color 0.24s ease;
}

.ss-card:hover,
.directory-product-card:hover,
.ingredient-library-card:hover,
.ss-recs-product-card:hover,
.journal-featured-story:hover {
    transform: translateY(-4px);
    box-shadow: var(--ss-shadow-md);
    border-color: #d5e2d6;
}

/* Buttons */

.btn,
.btn-primary,
.btn-secondary,
.btn-outline,
.analyzer-submit,
.ss-recs-submit,
.ss-recs-view-btn,
.ss-recs-compare-btn,
.ss-recs-reset {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 0 20px;
    border-radius: 999px;
    font-family: "Manrope", sans-serif;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.01em;
    transition:
        transform 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        box-shadow 0.2s ease;
    cursor: pointer;
}

.btn:hover,
.btn-primary:hover,
.btn-secondary:hover,
.btn-outline:hover,
.analyzer-submit:hover,
.ss-recs-submit:hover,
.ss-recs-view-btn:hover,
.ss-recs-compare-btn:hover {
    transform: translateY(-2px);
}

.btn-primary,
.analyzer-submit,
.ss-recs-submit,
.ss-recs-view-btn {
    background: var(--ss-primary);
    border: 1px solid var(--ss-primary);
    color: #fff;
    box-shadow: 0 12px 28px rgba(53, 90, 66, 0.18);
}

.btn-primary:hover,
.analyzer-submit:hover,
.ss-recs-submit:hover,
.ss-recs-view-btn:hover {
    background: var(--ss-primary-dark);
    border-color: var(--ss-primary-dark);
}

.btn-outline,
.btn-secondary,
.ss-recs-compare-btn {
    background: #fff;
    border: 1px solid var(--ss-line);
    color: var(--ss-primary);
}

.btn-outline:hover,
.btn-secondary:hover,
.ss-recs-compare-btn:hover {
    background: var(--ss-primary-soft);
    border-color: #cfe0cf;
}

/* Inputs */

input,
textarea,
select {
    width: 100%;
    border: 1px solid var(--ss-line);
    border-radius: 16px;
    background: #fff;
    color: var(--ss-text);
    font-family: "Manrope", sans-serif;
    font-size: 14px;
    line-height: 1.5;
    padding: 15px 16px;
    outline: none;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

input::placeholder,
textarea::placeholder {
    color: #9ba69f;
}

input:focus,
textarea:focus,
select:focus {
    border-color: #8fb297;
    box-shadow: 0 0 0 4px rgba(143, 178, 151, 0.15);
}

/* Header polish */

.site-header {
    background: rgba(250, 248, 244, 0.9);
    border-bottom: 1px solid rgba(53, 90, 66, 0.08);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.logo {
    color: var(--ss-text);
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.logo span {
    color: var(--ss-primary);
}

.desktop-nav a,
.mobile-navigation a {
    color: var(--ss-text-soft);
    font-size: 13px;
    font-weight: 700;
    transition: color 0.2s ease;
}

.desktop-nav a:hover,
.mobile-navigation a:hover {
    color: var(--ss-primary);
}

/* Hero sections */

.products-hero,
.ingredient-library-hero,
.analyzer-page,
.ss-recs-page {
    position: relative;
    overflow: hidden;
}

.products-hero::before,
.ingredient-library-hero::before,
.analyzer-page::before,
.ss-recs-page::before {
    content: "";
    position: absolute;
    top: -120px;
    right: -120px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(217,184,168,0.18), transparent 65%);
    pointer-events: none;
}

.products-hero .container,
.ingredient-library-hero .container,
.analyzer-page .container,
.ss-recs-page .container {
    position: relative;
    z-index: 1;
}

/* Search bars */

.products-search,
.ingredient-library-search {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 560px;
    margin-top: 26px;
    padding: 14px 18px;
    border: 1px solid var(--ss-line);
    border-radius: 999px;
    background: rgba(255,255,255,0.95);
    box-shadow: var(--ss-shadow-sm);
}

.products-search span,
.ingredient-library-search span {
    color: var(--ss-primary);
    font-size: 18px;
}

.products-search input,
.ingredient-library-search input {
    border: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
}

/* Products page */

.products-toolbar,
.ingredient-library-heading,
.ss-recs-results-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
}

.products-filters,
.ingredient-filter-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.products-filters button,
.ingredient-filter-list button {
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid var(--ss-line);
    border-radius: 999px;
    background: #fff;
    color: var(--ss-text-soft);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.products-filters button:hover,
.ingredient-filter-list button:hover,
.products-filters button.is-active,
.ingredient-filter-list button.is-active {
    background: var(--ss-primary);
    border-color: var(--ss-primary);
    color: #fff;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.directory-product-card {
    overflow: hidden;
}

.directory-product-art {
    min-height: 210px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 22px;
    border-bottom: 1px solid #edf2ec;
}

.directory-product-info {
    padding: 22px;
}

.directory-product-info > span:first-child {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--ss-primary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.directory-product-info h3 {
    margin-bottom: 10px;
    font-size: 22px;
}

.directory-product-info p {
    min-height: 72px;
    font-size: 13px;
    line-height: 1.8;
}

.product-demo-tag {
    display: inline-flex;
    margin-top: 16px;
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--ss-primary-soft);
    color: var(--ss-primary);
    font-size: 11px;
    font-weight: 700;
}

/* Ingredient page */

.ingredient-library-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.ingredient-library-card {
    padding: 24px;
}

.ingredient-library-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}

.ingredient-card-symbol {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--ss-primary-soft);
    color: var(--ss-primary);
    font-size: 20px;
}

.ingredient-card-category {
    color: var(--ss-primary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.ingredient-library-card h3 {
    margin-bottom: 8px;
}

.ingredient-common-name {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--ss-text-muted);
    font-size: 12px;
    font-weight: 700;
}

.ingredient-library-card p {
    min-height: 86px;
    font-size: 13px;
}

.ingredient-card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--ss-line-soft);
    color: var(--ss-primary);
    font-size: 12px;
    font-weight: 700;
}

/* Analyzer */

.analyzer-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 24px;
    align-items: start;
}

.analyzer-form-card,
.analyzer-info-card,
.analyzer-result {
    padding: 30px;
}

.analyzer-card-heading h2,
.analyzer-info-card h2 {
    margin: 10px 0 12px;
}

.analyzer-field {
    margin-top: 18px;
}

.analyzer-field label {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--ss-text);
    font-size: 13px;
    font-weight: 700;
}

.analyzer-form-note,
.analyzer-result-disclaimer {
    margin-top: 16px;
    color: var(--ss-text-muted);
    font-size: 12px;
}

/* Recommendations */

.ss-recs-product-content h3 {
    font-size: 22px;
}

.ss-recs-description {
    font-size: 13px;
    line-height: 1.8;
}

/* Footer polish */

.site-footer {
    margin-top: 60px;
    padding: 70px 0 30px;
    border-top: 1px solid var(--ss-line-soft);
    background: #f7f4ef;
}

/* Utilities */

.text-center {
    text-align: center;
}

.hidden {
    display: none !important;
}

/* Responsive */

@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .products-grid,
    .ingredient-library-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .analyzer-layout {
        grid-template-columns: 1fr;
    }

    .products-toolbar,
    .ingredient-library-heading,
    .ss-recs-results-heading {
        align-items: start;
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(var(--ss-container), calc(100% - 24px));
    }

    .products-grid,
    .ingredient-library-grid {
        grid-template-columns: 1fr;
    }

    .directory-product-art {
        min-height: 180px;
    }

    .analyzer-form-card,
    .analyzer-info-card,
    .analyzer-result,
    .ingredient-library-card {
        padding: 22px;
    }

    .products-search,
    .ingredient-library-search {
        padding: 12px 16px;
    }
}




/* New Product CSS */



/* =====================================================
   SOFTLYSTUDIOS — LUXURY PRODUCTS COLLECTION
   Editorial storefront · 2026
===================================================== */

.ss-shop-page {
    --shop-ink: #273b2f;
    --shop-forest: #365a43;
    --shop-muted: #7f8a80;
    --shop-line: #e6e9e1;
    --shop-ivory: #faf9f5;
    --shop-cream: #f4f1e9;
    --shop-radius: 20px;

    background: var(--shop-ivory);
    color: var(--shop-ink);
}

.ss-shop-page *,
.ss-shop-page *::before,
.ss-shop-page *::after {
    box-sizing: border-box;
}

.ss-shop-page .container {
    width: min(1250px, calc(100% - 64px));
    margin-inline: auto;
}

.ss-shop-page a {
    text-decoration: none;
}

.ss-shop-page button {
    font-family: inherit;
}

.ss-shop-page button:focus-visible,
.ss-shop-page a:focus-visible,
.ss-shop-page input:focus-visible,
.ss-shop-page select:focus-visible {
    outline: 3px solid #a8c6aa;
    outline-offset: 3px;
}

/* HERO */

.ss-shop-hero {
    position: relative;
    overflow: hidden;
    min-height: 570px;
    background: #eeeee6;
}

.ss-shop-hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
    align-items: center;
    gap: 48px;
    min-height: 570px;
}

.ss-shop-hero-copy {
    position: relative;
    z-index: 2;
    padding: 86px 0;
}

.ss-shop-eyebrow,
.ss-shop-section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #6e856d;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2.2px;
    text-transform: uppercase;
}

.ss-shop-eyebrow-line {
    width: 34px;
    height: 1px;
    background: #869e87;
}

.ss-shop-hero h1 {
    max-width: 670px;
    margin: 24px 0 22px;
    color: #294232;
    font-family: "DM Serif Display", Georgia, serif;
    font-size: clamp(50px, 5.3vw, 79px);
    font-weight: 400;
    line-height: 1.06;
    letter-spacing: -2.3px;
}

.ss-shop-hero h1 em {
    display: block;
    color: #78927b;
    font-weight: 400;
    font-style: italic;
}

.ss-shop-hero-copy > p {
    max-width: 455px;
    color: #738074;
    font-size: 14px;
    line-height: 1.95;
}

.ss-shop-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
    margin-top: 34px;
}

.ss-shop-primary-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    min-height: 53px;
    padding: 0 24px;
    border: 1px solid #365a43;
    border-radius: 8px;
    background: #365a43;
    color: white !important;
    font-size: 12px;
    font-weight: 700;
    transition: background .25s ease, transform .25s ease;
}

.ss-shop-primary-link:hover {
    background: #284a34;
    transform: translateY(-2px);
}

.ss-shop-text-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #365a43 !important;
    font-size: 12px;
    font-weight: 700;
}

.ss-shop-text-link:hover {
    text-decoration: underline;
}

.ss-shop-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 70px;
    color: #929b90;
    font-size: 10px;
    letter-spacing: .8px;
    text-transform: uppercase;
}

/* EDITORIAL HERO ILLUSTRATION */

.ss-shop-hero-art {
    position: relative;
    display: grid;
    place-items: center;
    height: 520px;
    isolation: isolate;
}

.ss-shop-art-halo {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        #e1e8d8 0%,
        #e8ebe1 56%,
        rgba(232, 235, 225, 0) 71%
    );
}

.ss-shop-art-orbit {
    position: absolute;
    width: 345px;
    height: 345px;
    border: 1px solid rgba(97, 132, 100, .17);
    border-radius: 50%;
    transform: rotate(-17deg) scaleX(1.2);
}

.ss-shop-art-bottle {
    position: absolute;
    display: flex;
    align-items: center;
    flex-direction: column;
    filter: drop-shadow(24px 23px 19px rgba(44, 60, 44, .12));
}

.ss-shop-art-bottle-front {
    z-index: 2;
    transform: translate(-48px, 30px) rotate(-7deg);
}

.ss-shop-art-bottle-front .ss-shop-art-bottle-cap {
    width: 65px;
    height: 69px;
    border-radius: 9px 9px 4px 4px;
    background: linear-gradient(90deg, #244532, #42664b 55%, #284c36);
}

.ss-shop-art-bottle-front .ss-shop-art-bottle-body {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    width: 174px;
    height: 258px;
    margin-top: -3px;
    border: 1px solid rgba(255,255,255,.55);
    border-radius: 26px 26px 19px 19px;
    background: linear-gradient(
        110deg,
        #d0d8c5,
        #f1eee2 45%,
        #d4d9c6 100%
    );
    box-shadow: inset 13px 0 15px rgba(255,255,255,.28);
}

.ss-shop-art-brand {
    color: #355540;
    font-family: Georgia, serif;
    font-size: 23px;
    letter-spacing: 3px;
}

.ss-shop-art-divider {
    width: 48px;
    height: 1px;
    margin: 17px 0;
    background: #a6b4a5;
}

.ss-shop-art-product {
    color: #435b47;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
}

.ss-shop-art-subtitle {
    margin-top: 13px;
    color: #829181;
    font-size: 8px;
    letter-spacing: 1px;
}

.ss-shop-art-bottle-back {
    z-index: 1;
    transform: translate(112px, 73px) rotate(11deg);
}

.ss-shop-art-bottle-back .ss-shop-art-bottle-cap {
    width: 77px;
    height: 26px;
    border-radius: 8px 8px 2px 2px;
    background: #9cae98;
}

.ss-shop-art-bottle-back .ss-shop-art-bottle-body {
    width: 146px;
    height: 217px;
    border-radius: 19px 19px 30px 30px;
    background: linear-gradient(
        110deg,
        #b6cbb5,
        #d9e5d1 46%,
        #a0bea2
    );
    box-shadow: inset 12px 0 15px rgba(255,255,255,.28);
}

.ss-shop-art-sparkle {
    position: absolute;
    color: #809b80;
    font-size: 34px;
}

.ss-shop-sparkle-one {
    top: 92px;
    right: 86px;
}

.ss-shop-sparkle-two {
    bottom: 110px;
    left: 55px;
    font-size: 24px;
}

.ss-shop-art-caption {
    position: absolute;
    z-index: 3;
    right: -5px;
    bottom: 40px;
    color: #687a68;
    font-family: Georgia, serif;
    font-size: 15px;
    font-style: italic;
    text-align: right;
}

.ss-shop-art-caption span {
    display: block;
}

/* COLLECTION */

.ss-shop-collection {
    padding: 94px 0 110px;
}

.ss-shop-section-top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 37px;
}

.ss-shop-section-top h2 {
    max-width: 650px;
    margin: 15px 0 11px;
    color: #2d4535;
    font-family: "DM Serif Display", Georgia, serif;
    font-size: clamp(32px, 3.6vw, 48px);
    font-weight: 400;
    line-height: 1.18;
    letter-spacing: -.7px;
}

.ss-shop-section-top p {
    color: #859086;
    font-size: 13px;
    line-height: 1.8;
}

.ss-shop-wishlist-link {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    gap: 11px;
    padding: 12px 0;
    color: #365a43 !important;
    font-size: 12px;
    font-weight: 700;
}

.ss-shop-wishlist-link > span:first-child {
    font-size: 20px;
}

/* SEARCH / FILTER CONTROLS */

.ss-shop-controls {
    padding: 23px;
    border: 1px solid #e6e9e0;
    border-radius: 16px;
    background: #fff;
}

.ss-shop-search-wrap {
    margin-bottom: 20px;
}

.ss-shop-search {
    display: flex;
    align-items: center;
    gap: 13px;
    width: min(100%, 520px);
    min-height: 52px;
    padding: 0 18px;
    border: 1px solid #e3e8de;
    border-radius: 9px;
    background: #fafbf8;
    color: #7c907b;
    transition: border-color .2s ease;
}

.ss-shop-search:focus-within {
    border-color: #8cae90;
}

.ss-shop-search input {
    width: 100%;
    min-height: 50px;
    padding: 0;
    border: 0;
    border-radius: 0;
    outline: none;
    background: transparent;
    box-shadow: none;
    color: #314735;
    font: inherit;
    font-size: 13px;
}

.ss-shop-search input:focus {
    border: 0;
    outline: none;
    box-shadow: none;
}

.ss-shop-search input::placeholder {
    color: #9fa9a0;
}

.ss-shop-filter-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.ss-shop-filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ss-shop-filter {
    min-height: 38px;
    padding: 0 15px;
    border: 1px solid #e6eae3;
    border-radius: 7px;
    background: #fff;
    color: #829083;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: .2s ease;
}

.ss-shop-filter:hover {
    border-color: #a9c2ac;
    color: #365a43;
}

.ss-shop-filter.is-active {
    border-color: #365a43;
    background: #365a43;
    color: #fff;
}

.ss-shop-sort-label {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 10px;
}

.ss-shop-sort-label > span {
    color: #95a095;
    font-size: 11px;
    white-space: nowrap;
}

.ss-shop-sort-label select {
    width: auto;
    min-height: 39px;
    padding: 8px 27px 8px 11px;
    border: 1px solid #e3e8de;
    border-radius: 7px;
    background: #fff;
    color: #3f5b45;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}

.ss-shop-results-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 30px 0 19px;
}

.ss-shop-results-heading p {
    color: #536b58;
    font-size: 12px;
    font-weight: 700;
}

.ss-shop-results-decoration {
    color: #a9b2a5;
    font-size: 9px;
    letter-spacing: 1.7px;
}

/* PRODUCT GRID */

.ss-shop-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 25px;
}

.ss-shop-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e6eae2;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 6px 24px rgba(47, 65, 49, .035);
    transition:
        transform .28s ease,
        box-shadow .28s ease,
        border-color .28s ease;
}

.ss-shop-card:hover {
    transform: translateY(-5px);
    border-color: #d4e0d2;
    box-shadow: 0 19px 40px rgba(40, 60, 43, .09);
}

.ss-shop-card[hidden] {
    display: none !important;
}

/* PRODUCT ART */

.ss-shop-card-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 290px;
    overflow: hidden;
    isolation: isolate;
}

.ss-shop-tone-cleanser {
    background: #e9ede2;
}

.ss-shop-tone-serum {
    background: #eee7dc;
}

.ss-shop-tone-moisturizer {
    background: #e6ece7;
}

.ss-shop-tone-sunscreen {
    background: #f1ebdf;
}

.ss-shop-tone-other {
    background: #ebede6;
}

.ss-shop-card-visual::after {
    content: "";
    position: absolute;
    z-index: -1;
    top: 19%;
    left: 50%;
    width: 210px;
    height: 210px;
    border: 1px solid rgba(255,255,255,.65);
    border-radius: 50%;
    transform: translateX(-50%);
}

.ss-shop-card-topline {
    position: relative;
    z-index: 4;
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 12px;
    padding: 17px;
}

.ss-shop-category-label {
    display: inline-flex;
    align-items: center;
    min-height: 29px;
    padding: 0 10px;
    border: 1px solid rgba(255,255,255,.7);
    border-radius: 5px;
    background: rgba(255,255,255,.6);
    color: #536d55;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .8px;
    text-transform: uppercase;
}

.ss-shop-heart {
    display: grid;
    place-items: center;
    width: 35px;
    height: 35px;
    min-width: 35px;
    padding: 0;
    border: 1px solid rgba(255,255,255,.85);
    border-radius: 50%;
    background: rgba(255,255,255,.85);
    color: #55735a;
    font-size: 21px;
    line-height: 1;
    cursor: pointer;
    transition: .2s ease;
}

.ss-shop-heart:hover {
    background: #fff;
    transform: scale(1.08);
}

.ss-shop-heart[aria-pressed="true"] {
    color: #ae7580;
}

.ss-shop-visual-link {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: grid;
    place-items: center;
}

.ss-shop-card-product-art {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    padding-top: 27px;
    transition: transform .35s ease;
}

.ss-shop-card:hover .ss-shop-card-product-art {
    transform: translateY(-6px) scale(1.025);
}

.ss-shop-card-art-index {
    position: absolute;
    right: 19px;
    bottom: 13px;
    color: rgba(64, 86, 68, .55);
    font-size: 10px;
    letter-spacing: 2px;
}

/* GENERIC PRODUCT ILLUSTRATION */

.ss-shop-illus {
    position: relative;
    display: flex;
    align-items: center;
    flex-direction: column;
    filter: drop-shadow(16px 17px 12px rgba(47, 56, 44, .14));
}

.ss-shop-illus-body {
    position: relative;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.65);
}

.ss-shop-illus-body > span {
    color: #425a48;
    font-family: Georgia, serif;
    font-size: 14px;
    letter-spacing: 2px;
}

.ss-shop-illus-body > small {
    margin-top: 13px;
    color: #829184;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 1.2px;
}

/* Serum dropper */

.ss-shop-illus-serum .ss-shop-illus-dropper {
    width: 24px;
    height: 52px;
    border-radius: 11px 11px 3px 3px;
    background: linear-gradient(90deg, #45644b, #789279, #3b5843);
}

.ss-shop-illus-serum .ss-shop-illus-neck {
    width: 39px;
    height: 16px;
    border-radius: 3px;
    background: #b7b9aa;
}

.ss-shop-illus-serum .ss-shop-illus-body {
    width: 111px;
    height: 139px;
    border-radius: 15px 15px 12px 12px;
    background: linear-gradient(100deg, #d9ba91, #f4e4c7 48%, #d4b28d);
}

/* Cleanser tube */

.ss-shop-illus-cleanser .ss-shop-illus-cap {
    position: absolute;
    z-index: 2;
    bottom: -8px;
    width: 53px;
    height: 25px;
    border-radius: 3px 3px 8px 8px;
    background: #879d86;
}

.ss-shop-illus-cleanser .ss-shop-illus-body {
    width: 111px;
    height: 209px;
    border-radius: 18px 18px 12px 12px;
    background: linear-gradient(100deg, #edf3e9, #fff 50%, #d4e3d1);
    clip-path: polygon(0 0, 100% 0, 91% 100%, 9% 100%);
}

/* Moisturizer jar */

.ss-shop-illus-jar {
    padding-top: 50px;
}

.ss-shop-illus-jar .ss-shop-illus-lid {
    width: 162px;
    height: 33px;
    border-radius: 14px 14px 4px 4px;
    background: linear-gradient(100deg, #7d9c87, #b4c5af, #78947c);
}

.ss-shop-illus-jar .ss-shop-illus-body {
    width: 154px;
    height: 101px;
    border-radius: 7px 7px 35px 35px;
    background: linear-gradient(110deg, #d1ded2, #fafbf5 50%, #c9d8c8);
}

/* Sunscreen tube */

.ss-shop-illus-sunscreen .ss-shop-illus-body {
    width: 119px;
    height: 193px;
    border-radius: 15px 15px 9px 9px;
    background: linear-gradient(100deg, #e9d8b5, #fff5df 48%, #ddc7a6);
    clip-path: polygon(0 0, 100% 0, 91% 100%, 9% 100%);
}

.ss-shop-illus-sunscreen .ss-shop-illus-cap {
    width: 63px;
    height: 23px;
    margin-top: -1px;
    border-radius: 3px 3px 7px 7px;
    background: #889b80;
}

/* CARD COPY */

.ss-shop-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 23px;
}

.ss-shop-card-brand {
    margin-bottom: 9px;
    color: #8c9d8e;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.ss-shop-card-body h3 {
    min-height: 49px;
    margin: 0 0 12px;
    color: #2e4736;
    font-family: "DM Serif Display", Georgia, serif;
    font-size: 22px;
    font-weight: 400;
    line-height: 1.18;
    letter-spacing: -.2px;
}

.ss-shop-card-body > a:hover h3 {
    color: #66876c;
}

.ss-shop-card-description {
    min-height: 66px;
    margin: 0 0 16px;
    color: #828d82;
    font-size: 12px;
    line-height: 1.8;
}

.ss-shop-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    min-height: 29px;
    margin-bottom: 17px;
}

.ss-shop-card-tags > span {
    display: inline-flex;
    align-items: center;
    padding: 4px 9px;
    border: 1px solid #e4ece2;
    border-radius: 5px;
    background: #f6f9f4;
    color: #69806b;
    font-size: 10px;
    font-weight: 600;
}

.ss-shop-card-tags .ss-shop-tag-featured {
    border-color: #eee2ce;
    background: #f9f2e7;
    color: #9b8356;
}

.ss-shop-card-bottom {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding: 17px 0;
    border-top: 1px solid #eef0eb;
}

.ss-shop-price-block {
    display: grid;
    gap: 3px;
}

.ss-shop-price-block > span {
    color: #a1aba0;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.ss-shop-price-block strong {
    color: #2e4936;
    font-size: 21px;
    font-weight: 700;
    letter-spacing: -.4px;
    font-variant-numeric: tabular-nums;
}

.ss-shop-view-detail {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 1px solid #e3e9e0;
    border-radius: 50%;
    color: #4c7253 !important;
    font-size: 19px;
    transition: .2s ease;
}

.ss-shop-view-detail:hover {
    border-color: #365a43;
    background: #365a43;
    color: #fff !important;
}

.ss-shop-card-actions {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
    gap: 8px;
}

.ss-shop-cart-btn,
.ss-shop-compare-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 100%;
    min-height: 43px;
    padding: 9px 10px;
    border-radius: 7px;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
    transition: .2s ease;
}

.ss-shop-cart-btn {
    border: 1px solid #365a43;
    background: #365a43;
    color: #fff;
}

.ss-shop-cart-btn:hover {
    background: #294a34;
}

.ss-shop-compare-btn {
    border: 1px solid #dce6da;
    background: #fff;
    color: #517457;
}

.ss-shop-compare-btn:hover {
    background: #f0f5ed;
}

.ss-shop-compare-btn.is-selected,
.ss-shop-compare-btn[aria-pressed="true"] {
    border-color: #365a43;
    background: #e8efe5;
    color: #355a42;
}

/* EMPTY STATES */

.ss-shop-no-products,
.ss-shop-empty-filter {
    grid-column: 1 / -1;
    padding: 75px 20px;
    border: 1px dashed #d3dfd0;
    border-radius: 14px;
    background: #f3f7f0;
    text-align: center;
}

.ss-shop-no-products > span,
.ss-shop-empty-filter > span {
    color: #9bb39a;
    font-size: 45px;
}

.ss-shop-no-products h3,
.ss-shop-empty-filter h3 {
    margin: 10px 0;
    color: #365a43;
    font-family: "DM Serif Display", Georgia, serif;
    font-size: 27px;
    font-weight: 400;
}

.ss-shop-no-products p,
.ss-shop-empty-filter p {
    color: #8a998a;
    font-size: 13px;
}

.ss-shop-empty-filter[hidden] {
    display: none !important;
}

#ss-shop-clear-filters {
    margin-top: 20px;
    padding: 12px 19px;
    border: 1px solid #365a43;
    border-radius: 7px;
    background: #365a43;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

/* PAGINATION */

.ss-shop-pagination {
    margin-top: 35px;
}

/* BOTTOM CTA */

.ss-shop-bottom-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-top: 95px;
    padding: 45px 48px;
    border-radius: 16px;
    background: #355a42;
}

.ss-shop-bottom-banner > div {
    max-width: 650px;
}

.ss-shop-bottom-banner > div > span {
    color: #b9d0b9;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.8px;
}

.ss-shop-bottom-banner h2 {
    margin: 14px 0 0;
    color: #fff;
    font-family: "DM Serif Display", Georgia, serif;
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 400;
    line-height: 1.25;
}

.ss-shop-bottom-banner > a {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    gap: 20px;
    min-height: 47px;
    padding: 0 18px;
    border-radius: 7px;
    background: #f4f0e6;
    color: #365a43 !important;
    font-size: 11px;
    font-weight: 800;
    transition: transform .2s ease;
}

.ss-shop-bottom-banner > a:hover {
    transform: translateY(-2px);
}

/* TOAST */

.ss-shop-toast {
    position: fixed;
    z-index: 9999;
    right: 23px;
    bottom: 25px;
    max-width: min(390px, calc(100vw - 32px));
    padding: 15px 20px;
    border: 1px solid #446a4b;
    border-radius: 11px;
    background: #355a42;
    box-shadow: 0 15px 35px rgba(31, 53, 36, .19);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: .22s ease;
    pointer-events: none;
}

.ss-shop-toast.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* RESPONSIVE */

@media (max-width: 1100px) {
    .ss-shop-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ss-shop-hero h1 {
        font-size: clamp(46px, 5vw, 67px);
    }

    .ss-shop-filter-row {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 780px) {
    .ss-shop-page .container {
        width: calc(100% - 36px);
    }

    .ss-shop-hero-layout {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .ss-shop-hero-copy {
        padding: 75px 0 25px;
    }

    .ss-shop-hero-art {
        height: 390px;
        transform: scale(.83);
        transform-origin: center top;
    }

    .ss-shop-hero-meta {
        margin-top: 35px;
    }

    .ss-shop-section-top {
        align-items: flex-start;
        flex-direction: column;
    }

    .ss-shop-collection {
        padding-top: 65px;
    }

    .ss-shop-bottom-banner {
        align-items: flex-start;
        flex-direction: column;
        padding: 35px;
    }
}

@media (max-width: 560px) {
    .ss-shop-page .container {
        width: calc(100% - 28px);
    }

    .ss-shop-hero-copy {
        padding-top: 56px;
    }

    .ss-shop-hero h1 {
        font-size: clamp(42px, 11vw, 56px);
        letter-spacing: -1px;
    }

    .ss-shop-hero-copy > p {
        font-size: 13px;
    }

    .ss-shop-hero-actions {
        gap: 18px;
    }

    .ss-shop-hero-meta {
        gap: 12px;
        font-size: 9px;
    }

    .ss-shop-hero-art {
        height: 335px;
        transform: scale(.69);
    }

    .ss-shop-grid {
        grid-template-columns: 1fr;
        gap: 17px;
    }

    .ss-shop-card-visual {
        height: 260px;
    }

    .ss-shop-card-body {
        padding: 19px;
    }

    .ss-shop-card-description {
        min-height: 0;
    }

    .ss-shop-controls {
        padding: 16px;
    }

    .ss-shop-filter-buttons {
        gap: 6px;
    }

    .ss-shop-filter {
        min-height: 35px;
        padding: 0 10px;
        font-size: 10px;
    }

    .ss-shop-results-decoration {
        display: none;
    }

    .ss-shop-section-top h2 {
        font-size: 33px;
    }

    .ss-shop-bottom-banner {
        margin-top: 65px;
        padding: 27px 22px;
    }

    .ss-shop-bottom-banner > a {
        width: 100%;
        justify-content: center;
    }

    .ss-shop-toast {
        right: 14px;
        left: 14px;
        bottom: 17px;
        max-width: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ss-shop-page *,
    .ss-shop-page *::before,
    .ss-shop-page *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }
}






/* ================================================
   SOFTLYSTUDIOS — PREMIUM MINI SHOPPING BAG
================================================ */

.ss-header-cart-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 46px;
    min-height: 44px;
    padding: 7px 10px;
    border: 1px solid transparent;
    border-radius: 9px;
    background: transparent;
    color: #355a42;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s ease;
}

.ss-header-cart-btn:hover {
    background: #e9f1e6;
}

.ss-header-cart-btn:focus-visible,
.ss-cart-drawer button:focus-visible,
.ss-cart-drawer a:focus-visible {
    outline: 3px solid #9dbba2;
    outline-offset: 2px;
}

.ss-header-cart-count {
    display: grid;
    place-items: center;
    min-width: 21px;
    height: 21px;
    padding: 0 5px;
    border-radius: 20px;
    background: #355a42;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.ss-header-cart-count[hidden] {
    display: none !important;
}

/* Overlay */

.ss-cart-backdrop {
    position: fixed;
    z-index: 9997;
    inset: 0;
    background: rgba(22, 35, 26, .5);
    backdrop-filter: blur(3px);
}

.ss-cart-backdrop[hidden] {
    display: none !important;
}

/* Drawer */

.ss-cart-drawer {
    position: fixed;
    z-index: 9998;
    top: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    width: min(455px, 100%);
    overflow: hidden;
    border-left: 1px solid #e0e9de;
    background: #faf9f5;
    box-shadow: -20px 0 60px rgba(20, 37, 24, .18);
}

.ss-cart-drawer[hidden] {
    display: none !important;
}

.ss-cart-drawer-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
    padding: 29px 29px 22px;
    border-bottom: 1px solid #e5eae1;
}

.ss-cart-eyebrow {
    color: #839887;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.8px;
}

.ss-cart-drawer-header h2 {
    margin: 9px 0 6px;
    color: #2c4935;
    font-family: "DM Serif Display", Georgia, serif;
    font-size: 31px;
    font-weight: 400;
}

.ss-cart-drawer-header p {
    color: #8a9a8b;
    font-size: 12px;
}

.ss-cart-close {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 35px;
    height: 35px;
    border: 1px solid #dde6dc;
    border-radius: 50%;
    background: #fff;
    color: #47634b;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

/* Item List */

.ss-cart-drawer-items {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 12px 29px;
}

.ss-cart-item {
    display: grid;
    grid-template-columns: 85px minmax(0, 1fr);
    gap: 16px;
    padding: 22px 0;
    border-bottom: 1px solid #e6eae2;
}

.ss-cart-item-art {
    display: grid;
    place-items: center;
    height: 100px;
    border-radius: 10px;
    background: linear-gradient(145deg, #e5ece0, #f1eee3);
    color: #90a590;
    font-size: 35px;
}

.ss-cart-item-info {
    min-width: 0;
}

.ss-cart-item-brand {
    display: block;
    margin-bottom: 6px;
    color: #91a092;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.1px;
    text-transform: uppercase;
}

.ss-cart-item-name {
    display: block;
    margin-bottom: 7px;
    color: #324c39;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
    text-decoration: none;
}

.ss-cart-item-name:hover {
    color: #739278;
}

.ss-cart-item-price {
    display: block;
    color: #486a50;
    font-size: 13px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.ss-cart-item-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 14px;
}

.ss-cart-quantity {
    display: inline-flex;
    align-items: center;
    border: 1px solid #dce5d9;
    border-radius: 7px;
    overflow: hidden;
    background: #fff;
}

.ss-cart-quantity button {
    width: 31px;
    height: 31px;
    padding: 0;
    border: 0;
    background: #fff;
    color: #42664a;
    font-size: 18px;
    cursor: pointer;
}

.ss-cart-quantity button:hover:not(:disabled) {
    background: #edf3eb;
}

.ss-cart-quantity button:disabled {
    opacity: .4;
    cursor: not-allowed;
}

.ss-cart-quantity span {
    min-width: 31px;
    color: #355a42;
    font-size: 12px;
    font-weight: 800;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

.ss-cart-remove {
    padding: 0;
    border: 0;
    background: transparent;
    color: #9a7b7c;
    font: inherit;
    font-size: 11px;
    text-decoration: underline;
    cursor: pointer;
}

/* Bottom Summary */

.ss-cart-drawer-bottom {
    padding: 23px 29px 28px;
    border-top: 1px solid #e0e8de;
    background: #fff;
}

.ss-cart-subtotal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.ss-cart-subtotal span {
    color: #5e7662;
    font-size: 13px;
    font-weight: 700;
}

.ss-cart-subtotal strong {
    color: #2e4d38;
    font-size: 23px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.ss-cart-checkout-note {
    margin: 13px 0 18px;
    color: #9aa79b;
    font-size: 11px;
    line-height: 1.7;
}

.ss-cart-checkout-btn {
    display: block;
    width: 100%;
    min-height: 48px;
    border: 1px solid #b9c9b8;
    border-radius: 8px;
    background: #dce7d9;
    color: #708971;
    font: inherit;
    font-size: 12px;
    font-weight: 800;
    cursor: not-allowed;
}

.ss-cart-continue-btn {
    display: block;
    width: 100%;
    margin-top: 13px;
    padding: 10px;
    border: 0;
    background: transparent;
    color: #436a4b;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.ss-cart-continue-btn:hover {
    text-decoration: underline;
}

/* Empty bag */

.ss-cart-empty {
    padding: 75px 8px;
    text-align: center;
}

.ss-cart-empty > span {
    color: #9db39c;
    font-size: 55px;
}

.ss-cart-empty h3 {
    margin: 13px 0;
    color: #355a42;
    font-family: "DM Serif Display", Georgia, serif;
    font-size: 26px;
    font-weight: 400;
}

.ss-cart-empty p {
    color: #899a8c;
    font-size: 12px;
    line-height: 1.8;
}

.ss-cart-empty button {
    margin-top: 20px;
    padding: 12px 18px;
    border: 1px solid #355a42;
    border-radius: 8px;
    background: #355a42;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}

/* Mobile */

@media (max-width: 560px) {
    .ss-header-cart-label {
        display: none;
    }

    .ss-header-cart-btn {
        gap: 5px;
        padding-inline: 5px;
    }

    .ss-cart-drawer-header {
        padding: 24px 19px 19px;
    }

    .ss-cart-drawer-items {
        padding-inline: 19px;
    }

    .ss-cart-drawer-bottom {
        padding: 18px 19px 22px;
    }

    .ss-cart-item {
        grid-template-columns: 72px minmax(0, 1fr);
        gap: 12px;
    }

    .ss-cart-item-art {
        height: 91px;
    }
}






/* =====================================================
   SOFTLYSTUDIOS — FULL SHOPPING CART PAGE
   Warm ivory · Forest green · Clean luxury
===================================================== */

.ss-cart-page {
    --cart-ink: #2c4434;
    --cart-green: #355a42;
    --cart-muted: #819084;
    --cart-line: #e5ebe3;
    --cart-cream: #faf9f5;

    min-height: 80vh;
    background: var(--cart-cream);
    color: var(--cart-ink);
}

.ss-cart-page *,
.ss-cart-page *::before,
.ss-cart-page *::after {
    box-sizing: border-box;
}

.ss-cart-page .container {
    width: min(1220px, calc(100% - 48px));
    margin-inline: auto;
}

.ss-cart-page a {
    text-decoration: none;
}

/* Hero */

.ss-cart-page-hero {
    padding: 45px 0 53px;
    border-bottom: 1px solid #e7ece3;
    background: linear-gradient(115deg, #f0f2e9, #f9f7f1);
}

.ss-cart-breadcrumb {
    display: flex;
    align-items: center;
    gap: 13px;
    color: #829384;
    font-size: 11px;
}

.ss-cart-breadcrumb a:hover {
    color: var(--cart-green);
}

.ss-cart-hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 35px;
}

.ss-cart-page-eyebrow {
    color: #819886;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.ss-cart-hero-inner h1 {
    margin: 15px 0;
    color: #294532;
    font-family: "DM Serif Display", Georgia, serif;
    font-size: clamp(42px, 5vw, 66px);
    font-weight: 400;
    line-height: 1.12;
}

.ss-cart-hero-inner h1 em {
    color: #88a28a;
    font-weight: 400;
}

.ss-cart-hero-inner p {
    max-width: 500px;
    color: #849185;
    font-size: 13px;
    line-height: 1.85;
}

.ss-cart-hero-mark {
    display: grid;
    place-items: center;
    gap: 4px;
    width: 155px;
    height: 155px;
    flex-shrink: 0;
    border: 1px solid #d5e0d1;
    border-radius: 50%;
    color: #77917a;
}

.ss-cart-hero-mark span {
    font-size: 62px;
    line-height: 1;
}

.ss-cart-hero-mark small {
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Main layout */

.ss-cart-page-content {
    padding: 65px 0 110px;
}

.ss-cart-page-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(300px, .88fr);
    gap: 35px;
    align-items: start;
}

.ss-cart-page-list-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 23px;
}

.ss-cart-page-list-heading h2 {
    margin: 10px 0 0;
    color: #2e4837;
    font-family: "DM Serif Display", Georgia, serif;
    font-size: 32px;
    font-weight: 400;
}

.ss-cart-page-count {
    color: #7f9582;
    font-size: 12px;
    font-weight: 700;
}

/* Product rows */

.ss-cart-page-items {
    border: 1px solid var(--cart-line);
    border-radius: 15px;
    overflow: hidden;
    background: #fff;
}

.ss-cart-page-items:empty {
    display: none;
}

.ss-cart-page-item {
    display: grid;
    grid-template-columns: 125px minmax(0, 1fr) auto;
    align-items: center;
    gap: 23px;
    padding: 26px;
    border-bottom: 1px solid #edf0e9;
}

.ss-cart-page-item:last-child {
    border-bottom: none;
}

.ss-cart-page-item-visual {
    display: block;
    width: 125px;
    height: 142px;
}

.ss-cart-page-item-art {
    position: relative;
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 10px;
    background: #e9eee5;
}

.ss-cart-art-serum {
    background: #eee6da;
}

.ss-cart-art-cleanser {
    background: #e7eee4;
}

.ss-cart-art-moisturizer {
    background: #e2ebe4;
}

.ss-cart-art-sunscreen {
    background: #f0eadd;
}

.ss-cart-art-circle {
    position: absolute;
    width: 105px;
    height: 105px;
    border: 1px solid rgba(255,255,255,.7);
    border-radius: 50%;
}

.ss-cart-art-bottle {
    position: relative;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    width: 60px;
    height: 94px;
    border: 1px solid rgba(255,255,255,.6);
    border-radius: 11px 11px 7px 7px;
    background: linear-gradient(
        100deg,
        #cbdac9,
        #f8f8eb 55%,
        #becfba
    );
    box-shadow: 9px 10px 13px rgba(44,65,44,.12);
}

.ss-cart-art-serum .ss-cart-art-bottle {
    background: linear-gradient(
        100deg,
        #d8b78e,
        #f7e4c7,
        #d2af89
    );
}

.ss-cart-art-bottle span {
    color: #59745c;
    font-family: Georgia, serif;
    font-size: 10px;
    letter-spacing: 1px;
}

.ss-cart-art-bottle small {
    margin-top: 8px;
    color: #829683;
    font-size: 6px;
    letter-spacing: .5px;
}

/* Item content */

.ss-cart-page-item-detail {
    min-width: 0;
}

.ss-cart-page-item-brand {
    display: block;
    margin-bottom: 8px;
    color: #95a496;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.ss-cart-page-item-title {
    display: block;
    color: #304b39;
    font-family: "DM Serif Display", Georgia, serif;
    font-size: 21px;
    line-height: 1.3;
}

.ss-cart-page-item-title:hover {
    color: #729577;
}

.ss-cart-page-item-category {
    display: inline-block;
    margin-top: 8px;
    color: #869789;
    font-size: 11px;
    text-transform: capitalize;
}

.ss-cart-page-item-tools {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 19px;
}

.ss-cart-page-quantity {
    display: inline-flex;
    align-items: center;
    overflow: hidden;
    border: 1px solid #dce7da;
    border-radius: 8px;
    background: #fff;
}

.ss-cart-page-quantity button {
    display: grid;
    place-items: center;
    width: 35px;
    height: 35px;
    padding: 0;
    border: 0;
    background: #fff;
    color: #416b49;
    font-size: 19px;
    cursor: pointer;
}

.ss-cart-page-quantity button:hover:not(:disabled) {
    background: #edf4e9;
}

.ss-cart-page-quantity button:disabled {
    opacity: .35;
    cursor: not-allowed;
}

.ss-cart-page-quantity output {
    min-width: 31px;
    color: #395b41;
    font-size: 12px;
    font-weight: 800;
    text-align: center;
}

.ss-cart-page-remove {
    padding: 5px 0;
    border: 0;
    background: transparent;
    color: #a38280;
    font-size: 11px;
    font-weight: 700;
    text-decoration: underline;
    cursor: pointer;
}

.ss-cart-page-item-price {
    display: grid;
    align-self: center;
    gap: 6px;
    min-width: 100px;
    text-align: right;
}

.ss-cart-page-item-price > span {
    color: #9aa69a;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
}

.ss-cart-page-item-price strong {
    color: #37563f;
    font-size: 19px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.ss-cart-page-item-price small {
    color: #9aa79a;
    font-size: 10px;
}

/* Bottom */

.ss-cart-page-bottom-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-top: 23px;
}

.ss-cart-page-bottom-actions[hidden] {
    display: none !important;
}

.ss-cart-page-bottom-actions a {
    color: #436a4b;
    font-size: 12px;
    font-weight: 700;
}

.ss-cart-page-bottom-actions button {
    padding: 8px 0;
    border: 0;
    background: transparent;
    color: #a0807e;
    font-size: 11px;
    font-weight: 700;
    text-decoration: underline;
    cursor: pointer;
}

/* Empty cart */

.ss-cart-page-empty {
    padding: 80px 25px;
    border: 1px dashed #cfddcb;
    border-radius: 15px;
    background: #f3f7ef;
    text-align: center;
}

.ss-cart-page-empty[hidden] {
    display: none !important;
}

.ss-cart-empty-symbol {
    color: #90aa91;
    font-size: 70px;
}

.ss-cart-page-empty h2 {
    margin: 9px 0 12px;
    color: #355a42;
    font-family: "DM Serif Display", Georgia, serif;
    font-size: 33px;
    font-weight: 400;
}

.ss-cart-page-empty p {
    margin-bottom: 25px;
    color: #8a9a8c;
    font-size: 13px;
}

.ss-cart-page-primary-link {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    min-height: 48px;
    padding: 0 19px;
    border-radius: 7px;
    background: #355a42;
    color: #fff !important;
    font-size: 12px;
    font-weight: 700;
}

/* Summary */

.ss-cart-page-summary {
    position: sticky;
    top: 24px;
}

.ss-cart-summary-card {
    padding: 30px;
    border: 1px solid #e0e8dd;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 12px 35px rgba(42,64,45,.045);
}

.ss-cart-summary-card h2 {
    margin: 12px 0 0;
    color: #2f4a38;
    font-family: "DM Serif Display", Georgia, serif;
    font-size: 29px;
    font-weight: 400;
}

.ss-cart-summary-divider {
    height: 1px;
    margin: 22px 0;
    background: #e9eee6;
}

.ss-cart-summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 16px;
    color: #839284;
    font-size: 12px;
}

.ss-cart-summary-row strong {
    color: #365741;
    font-size: 13px;
}

.ss-cart-summary-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.ss-cart-summary-total > div {
    display: grid;
    gap: 6px;
}

.ss-cart-summary-total span {
    color: #385940;
    font-size: 13px;
    font-weight: 800;
}

.ss-cart-summary-total small {
    color: #a0aca0;
    font-size: 10px;
}

.ss-cart-summary-total strong {
    color: #2d4a36;
    font-size: 24px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.ss-cart-page-checkout {
    display: block;
    width: 100%;
    min-height: 52px;
    margin-top: 25px;
    padding: 10px;
    border: 1px solid #c9d8c6;
    border-radius: 8px;
    background: #e5eee2;
    color: #78907b;
    font-size: 12px;
    font-weight: 800;
    cursor: not-allowed;
}

.ss-cart-summary-note {
    margin-top: 15px;
    color: #9aa79c;
    font-size: 11px;
    line-height: 1.75;
}

.ss-cart-summary-continue {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #eef1eb;
    color: #8a9e8d;
    font-family: Georgia, serif;
    font-size: 13px;
    font-style: italic;
    text-align: center;
}

/* Discovery card */

.ss-cart-discovery-card {
    margin-top: 20px;
    padding: 28px;
    border: 1px solid #dfe8da;
    border-radius: 15px;
    background: #e9f0e6;
}

.ss-cart-discovery-card > span {
    color: #829b85;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.ss-cart-discovery-card h3 {
    margin: 12px 0;
    color: #365a42;
    font-family: "DM Serif Display", Georgia, serif;
    font-size: 25px;
    font-weight: 400;
    line-height: 1.3;
}

.ss-cart-discovery-card p {
    color: #809282;
    font-size: 12px;
    line-height: 1.8;
}

.ss-cart-discovery-card a {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    color: #365a42;
    font-size: 12px;
    font-weight: 800;
}

/* Toast */

.ss-cart-page-toast {
    position: fixed;
    z-index: 9999;
    right: 24px;
    bottom: 24px;
    max-width: min(380px, calc(100vw - 32px));
    padding: 14px 20px;
    border-radius: 10px;
    background: #355a42;
    box-shadow: 0 13px 30px rgba(36,60,42,.2);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: .22s ease;
    pointer-events: none;
}

.ss-cart-page-toast.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Responsive */

@media (max-width: 1050px) {
    .ss-cart-page-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .ss-cart-page-summary {
        position: static;
    }
}

@media (max-width: 680px) {
    .ss-cart-page .container {
        width: calc(100% - 30px);
    }

    .ss-cart-page-hero {
        padding: 32px 0 38px;
    }

    .ss-cart-hero-inner {
        margin-top: 25px;
    }

    .ss-cart-hero-mark {
        display: none;
    }

    .ss-cart-page-content {
        padding: 37px 0 75px;
    }

    .ss-cart-page-item {
        grid-template-columns: 90px minmax(0, 1fr);
        gap: 14px;
        padding: 18px 14px;
    }

    .ss-cart-page-item-visual {
        width: 90px;
        height: 115px;
    }

    .ss-cart-page-item-title {
        font-size: 18px;
    }

    .ss-cart-page-item-price {
        grid-column: 2;
        justify-self: start;
        text-align: left;
    }

    .ss-cart-page-item-price > span {
        display: none;
    }

    .ss-cart-page-item-price strong {
        font-size: 17px;
    }

    .ss-cart-page-list-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .ss-cart-summary-card {
        padding: 23px;
    }

    .ss-cart-page-bottom-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .ss-cart-page-toast {
        right: 15px;
        left: 15px;
        bottom: 17px;
        max-width: none;
    }
}


.ss-cart-view-full {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    min-height: 48px;
    margin-top: 19px;
    border-radius: 8px;
    background: #355a42;
    color: #fff !important;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.ss-cart-view-full:hover {
    background: #294b36;
}




/* ==============================================
   SOFTLYSTUDIOS · PREMIUM GUEST CHECKOUT
============================================== */

.ss-checkout,
.ss-order-success {
    background: #faf9f5;
    color: #304a39;
    min-height: 80vh;
    padding: 55px 0 105px;
}

.ss-checkout .container,
.ss-order-success .container {
    width: min(1190px, calc(100% - 36px));
    margin-inline: auto;
}

.ss-checkout *,
.ss-checkout *::before,
.ss-checkout *::after,
.ss-order-success * {
    box-sizing: border-box;
}

.ss-checkout-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    color: #91a093;
    font-size: 11px;
}

.ss-checkout-breadcrumb a {
    color: #6e876f;
    text-decoration: none;
}

.ss-checkout-heading {
    max-width: 690px;
    margin: 52px 0 49px;
}

.ss-checkout-kicker {
    color: #829a84;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
}

.ss-checkout-heading h1,
.ss-order-success-card h1 {
    margin: 17px 0;
    color: #2d4936;
    font-family: "DM Serif Display", Georgia, serif;
    font-size: clamp(43px, 5vw, 68px);
    font-weight: 400;
    line-height: 1.12;
    letter-spacing: -1px;
}

.ss-checkout-heading h1 em {
    color: #86a08a;
    font-weight: 400;
}

.ss-checkout-heading p {
    color: #899789;
    font-size: 13px;
    line-height: 1.85;
}

.ss-checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(290px, .85fr);
    align-items: start;
    gap: 30px;
}

.ss-checkout-form-panel {
    padding: 34px;
    border: 1px solid #e2e9df;
    border-radius: 17px;
    background: #fff;
}

.ss-checkout-panel-heading {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 12px 0 25px;
}

.ss-checkout-panel-heading:not(:first-child) {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #edf0eb;
}

.ss-checkout-number {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border: 1px solid #d5e4d4;
    border-radius: 50%;
    background: #f0f6ed;
    color: #456a4c;
    font-size: 12px;
    font-weight: 800;
}

.ss-checkout-panel-heading h2,
.ss-checkout-summary-card h2 {
    margin: 0 0 5px;
    color: #365540;
    font-family: "DM Serif Display", Georgia, serif;
    font-size: 27px;
    font-weight: 400;
}

.ss-checkout-panel-heading p {
    color: #97a398;
    font-size: 11px;
}

.ss-checkout-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.ss-checkout-fields label {
    display: flex;
    flex-direction: column;
    gap: 9px;
    color: #55725c;
    font-size: 12px;
    font-weight: 700;
}

.ss-checkout-fields label > span {
    color: #b78d82;
}

.ss-checkout-span-two {
    grid-column: 1 / -1;
}

.ss-checkout-fields input,
.ss-checkout-fields textarea {
    display: block;
    width: 100%;
    min-width: 0;
    padding: 14px 15px;
    border: 1px solid #dfe8dd;
    border-radius: 9px;
    background: #fafcf9;
    color: #354d3c;
    font: inherit;
    font-size: 13px;
    font-weight: 400;
    outline: none;
    transition: border-color .2s ease;
}

.ss-checkout-fields input:focus,
.ss-checkout-fields textarea:focus {
    border-color: #7fac84;
    box-shadow: 0 0 0 3px rgba(127,172,132,.12);
}

.ss-checkout-fields textarea {
    resize: vertical;
}

.ss-checkout-payment-option {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 19px;
    border: 1px solid #cadfc9;
    border-radius: 12px;
    background: #f1f7ef;
    cursor: pointer;
}

.ss-checkout-payment-option input {
    width: auto;
    flex-shrink: 0;
    accent-color: #365a43;
}

.ss-checkout-payment-icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #e1ecdd;
    color: #54795b;
    font-size: 22px;
}

.ss-checkout-payment-option strong {
    display: block;
    color: #3b5c44;
    font-size: 13px;
}

.ss-checkout-payment-option small {
    display: block;
    margin-top: 5px;
    color: #8c9e8f;
    font-size: 11px;
    line-height: 1.5;
}

.ss-checkout-error {
    margin-top: 22px;
    padding: 14px 16px;
    border: 1px solid #e8cfcf;
    border-radius: 9px;
    background: #fff4f2;
    color: #a06666;
    font-size: 12px;
    line-height: 1.7;
}

.ss-checkout-error[hidden] {
    display: none !important;
}

.ss-checkout-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: 100%;
    min-height: 53px;
    margin-top: 26px;
    padding: 12px 20px;
    border: 1px solid #355a42;
    border-radius: 9px;
    background: #355a42;
    color: #fff;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: .2s ease;
}

.ss-checkout-submit:hover:not(:disabled) {
    background: #294b36;
}

.ss-checkout-submit:disabled {
    opacity: .5;
    cursor: not-allowed;
}

.ss-checkout-disclaimer {
    margin: 15px 0 0;
    color: #9ba89b;
    font-size: 11px;
    line-height: 1.8;
}

.ss-checkout-summary {
    position: sticky;
    top: 24px;
}

.ss-checkout-summary-card {
    padding: 29px;
    border: 1px solid #e3eade;
    border-radius: 16px;
    background: #fff;
}

.ss-checkout-summary-card h2 {
    margin: 12px 0 22px;
}

.ss-checkout-items {
    max-height: 350px;
    overflow-y: auto;
    border-top: 1px solid #edf0eb;
}

.ss-checkout-item {
    display: grid;
    grid-template-columns: 52px minmax(0,1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 16px 0;
    border-bottom: 1px solid #edf0eb;
}

.ss-checkout-item-art {
    display: grid;
    place-items: center;
    width: 52px;
    height: 60px;
    border-radius: 8px;
    background: #e9f0e5;
    color: #84a189;
    font-size: 26px;
}

.ss-checkout-item strong {
    display: block;
    color: #3c5a44;
    font-size: 12px;
    line-height: 1.5;
}

.ss-checkout-item small {
    display: block;
    margin-top: 5px;
    color: #94a194;
    font-size: 10px;
}

.ss-checkout-item b {
    color: #46674d;
    font-size: 12px;
    white-space: nowrap;
}

.ss-checkout-summary-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin: 23px 0 12px;
}

.ss-checkout-summary-total span {
    color: #5b785f;
    font-size: 12px;
    font-weight: 700;
}

.ss-checkout-summary-total strong {
    color: #305039;
    font-size: 22px;
    font-variant-numeric: tabular-nums;
}

.ss-checkout-quote-status {
    color: #729078;
    font-size: 11px;
    line-height: 1.7;
}

.ss-checkout-edit-bag {
    display: inline-block;
    margin-top: 25px;
    color: #476b4e;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.ss-checkout-support {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 21px;
    padding: 19px;
    border-radius: 13px;
    background: #eaf1e7;
}

.ss-checkout-support span {
    color: #719579;
    font-size: 33px;
}

.ss-checkout-support p {
    color: #7e9180;
    font-family: Georgia, serif;
    font-size: 13px;
    font-style: italic;
    line-height: 1.7;
}

/* Order success */

.ss-order-success {
    display: flex;
    align-items: center;
}

.ss-order-success-card {
    max-width: 740px;
    margin: 0 auto;
    padding: 55px 48px;
    border: 1px solid #e0e8dc;
    border-radius: 20px;
    background: #fff;
    text-align: center;
}

.ss-order-success-symbol {
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    margin: 0 auto 24px;
    border: 1px solid #d4e3d1;
    border-radius: 50%;
    background: #eaf3e7;
    color: #4c7855;
    font-size: 32px;
}

.ss-order-success-card h1 {
    font-size: clamp(37px, 5vw, 54px);
}

.ss-order-success-card > p {
    color: #859587;
    font-size: 13px;
    line-height: 1.8;
}

.ss-order-reference {
    display: grid;
    gap: 9px;
    margin: 28px 0;
    padding: 19px;
    border: 1px dashed #cfdfcc;
    border-radius: 11px;
    background: #f4f8f1;
}

.ss-order-reference span {
    color: #90a393;
    font-size: 10px;
    letter-spacing: 1.5px;
}

.ss-order-reference strong {
    color: #365c43;
    font-size: 20px;
    letter-spacing: 1px;
    overflow-wrap: anywhere;
}

.ss-order-success-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    text-align: left;
}

.ss-order-success-details > div {
    display: grid;
    gap: 6px;
    padding: 15px;
    border: 1px solid #e7ece4;
    border-radius: 10px;
}

.ss-order-success-details span {
    color: #99a69a;
    font-size: 10px;
}

.ss-order-success-details strong {
    color: #46654d;
    font-size: 12px;
}

.ss-order-success-notice {
    margin-top: 27px;
}

.ss-order-success-link {
    max-width: 300px;
    margin: 28px auto 0;
}

@media (max-width: 950px) {
    .ss-checkout-layout {
        grid-template-columns: 1fr;
    }

    .ss-checkout-summary {
        position: static;
    }
}

@media (max-width: 600px) {
    .ss-checkout {
        padding: 35px 0 70px;
    }

    .ss-checkout-heading {
        margin: 40px 0;
    }

    .ss-checkout-fields {
        grid-template-columns: 1fr;
    }

    .ss-checkout-span-two {
        grid-column: auto;
    }

    .ss-checkout-form-panel,
    .ss-checkout-summary-card {
        padding: 21px;
    }

    .ss-order-success-card {
        padding: 35px 20px;
    }

    .ss-order-success-details {
        grid-template-columns: 1fr;
    }
}



.ss-cart-checkout-active {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 50px;
    border: 1px solid #355a42 !important;
    border-radius: 9px;
    background: #355a42 !important;
    color: #fff !important;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer !important;
    transition: background .2s ease;
}

.ss-cart-checkout-active:hover {
    background: #294b36 !important;
}
