:root {
    --ink: #272321;
    --muted: #786f69;
    --stone: #eeeae6;
    --paper: #faf9f7;
    --rose: #b88e85;
    --gold: #b89a69;
    --red: #74312c;
    --line: #e0d9d2
}


.announcement, header.navbar, .wd-toolbar, footer.footer {display: none;opacity: 0;visibility: hidden;}


* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: 'Montserrat', 'DM Sans', sans-serif;
    font-weight: 400;
    -webkit-font-smoothing: antialiased
}

button,
input {
    font: inherit
}

a {
    color: inherit;
    text-decoration: none
}

button {
    cursor: pointer
}

img {
    display: block;
    width: 100%;
    max-width: 100%
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: .24em;
    font-size: 12px;
    color:#a21a08;
    font-weight: 500
}

.subtle {
    color: var(--muted)
}

.serif {
    font-family: 'Montserrat', Georgia, serif;
    font-weight: 400
}

.announcement {
    height: 29px;
    background: #292623;
    color: #f5f0ea;
    text-align: center;
    font-size: 10px;
    letter-spacing: .20em;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase
}

.navbar {
    position: relative;
    z-index: 5;
    background: #faf9f7;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 clamp(24px, 5.5vw, 100px);
    height: 91px;
    border-bottom: 1px solid #eae5df
}

.brand {
    font-family: 'Montserrat';
    font-size: 29px;
    letter-spacing: .18em;
    font-weight: 400;
    white-space: nowrap
}

.navlinks {
    display: flex;
    align-items: center;
    gap: 34px
}

.navlinks a,
.nav-right a {
    font-size: 11px;
    letter-spacing: .17em;
    text-transform: uppercase
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 26px
}

.bag {
    font-size: 17px;
    font-weight: 300
}

.hamburger {
    display: none;
    background: none;
    border: 0;
    font-size: 20px
}

.breadcrumb {
    margin: 25px auto 24px;
    max-width: 1470px;
    padding: 0 5.5vw;
    color: #8b837c;
    font-size: 10px;
    letter-spacing: .15em;
    text-transform: uppercase
}

.breadcrumb span {
    padding: 0 12px;
    color: #b1aba6
}

.product {
    max-width: 1600px;
    margin: auto;
    padding: 0 clamp(20px, 5.5vw, 92px);
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(330px, .88fr);
    gap: clamp(32px, 6vw, 112px);
    align-items: start
}

.gallery-main {
    background: #e9e3df;
    aspect-ratio: 1.13;
    overflow: hidden;
    position: relative
}

.gallery-main img {
    height: 100%;
    object-fit: cover;
    transition: opacity .25s, transform .55s
}

.gallery-main:hover img {
    transform: scale(1.03)
}

.gallery-counter {
    position: absolute;
    bottom: 22px;
    left: 26px;
    font-size: 10px;
    letter-spacing: .2em;
    color: #6b645e;
    background: #faf9f7d9;
    padding: 9px 11px
}

.gallery-arrows {
    position: absolute;
    right: 16px;
    bottom: 16px;
    display: flex;
    gap: 4px
}

.gallery-arrows button {
    width: 37px;
    height: 37px;
    border: 0;
    background: #faf9f7e8;
    color: #342d29;
    font-size: 19px
}

.thumbs {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 7px;
    margin-top: 9px
}

.thumb {
    padding: 0;
    aspect-ratio: 1.13;
    background: #ece8e5;
    border: 1px solid transparent;
    overflow: hidden;
    opacity: .77
}

.thumb.active {
    border-color: #896f60;
    opacity: 1
}

.thumb img {
    height: 100%;
    object-fit: cover
}

.info {
    padding: clamp(14px, 2.2vw, 37px) 0 0
}

.coming {
    display: inline-block;
    border: 1px solid #a21a08;
    color: #a21a08;
    padding: 8px 13px;
    margin-bottom: 24px
}

.info h1 {
    font-family: 'Helvetica', Georgia, serif;
    font-size: clamp(61px, 6vw, 100px);
    font-weight: 400;
    line-height: .97;
    margin: 0 0 13px;
    letter-spacing: -.035em
}

.model {
    color: #8a8077;
    letter-spacing: .2em;
    font-size: 10px;
    text-transform: uppercase;
    margin: 0 0 33px
}

.tagline {
    font-family: 'Montserrat', Georgia, serif;
    color:#a21a08;
    font-size: clamp(23px, 2.5vw, 34px);
    margin: 0 0 21px
}

.short-copy {
    font-size: 14px;
    color: #6a625d;
    line-height: 1.95;
    max-width: 475px;
    font-weight: 300;
    margin: 0 0 19px
}

.price {
    font-size: 22px;
    margin: 27px 0 33px;
    letter-spacing: .02em
}

.finish-label {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .16em;
    margin: 0 0 15px
}

.finish-label strong {
    font-weight: 400;
    color: #958478;
    letter-spacing: .03em;
    text-transform: none
}

.finishes {
    display: flex;
    gap: 12px;
    margin-bottom: 17px
}

.finish {
    border: 1px solid #ddd4cd;
    background: transparent;
    padding: 12px 16px;
    min-width: 150px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #645b54;
    font-size: 12px
}

.finish.selected {
    border-color: #5b4840;
    background: #fff
}

.swatch {
    height: 14px;
    width: 14px;
    border-radius: 50%;
    background: linear-gradient(120deg, #e5beb0, #ad7869);
    border: 1px solid #c9aaa0
}

.swatch.yellow {
    background: linear-gradient(120deg, #f2da99, #b38a40);
    border-color: #cfb778
}

.finish-note {
    margin: 0 0 27px;
    font-size: 11px;
    line-height: 1.7;
    color: #9a8a80
}

.waitlist-form {
    display: flex;
    gap: 0;
    width: 100%;
    max-width: 475px
}

.waitlist-form input {
    min-width: 0;
    flex: 1;
    padding: 17px 15px;
    border: 1px solid #cac3bd;
    background: #fff;
    outline: 0;
    font-size: 12px
}

.waitlist-form input:focus {
    border-color: #8b7062
}

.waitlist-form button {
    border: 1px solid #a21a08;
    background: #a21a08;
    color: #fff;
    padding: 0 25px;
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: .18em;
    white-space: nowrap;
    transition: background .2s
}

.waitlist-form button:hover {
    background: #000 !important;
}

.form-note {
    font-size: 11px;
    color: #847d75;
    margin: 13px 0 0;
    line-height: 1.7
}

.form-status {
    font-size: 12px;
    color: #6f4135;
    margin: 13px 0 0;
    min-height: 17px
}

.divider {
    height: 1px;
    background: var(--line);
    margin: 37px 0 25px
}

.shipping-note {
    display: flex;
    align-items: center;
    gap: 13px;
    font-size: 11px;
    letter-spacing: .04em;
    color: #847970
}

.shipping-note span:first-child {
    font-size: 19px
}

.editorial {
    max-width: 100%;
    padding: 0 clamp(0px, 5.5vw, 0px);
    margin: 130px auto 0
}

.section-label {
        font-size: 12px !important;
    letter-spacing: .25em;
    color: #a21a08;
    text-transform: uppercase;
    font-weight: 700;
}

.editorial-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(50px, 8vw, 150px);
    margin-top: 28px;
    align-items: center
}

.editorial-grid h2,
.features h2,
.spec-head h2,
.signature h2 {
    font: 400 clamp(43px, 5vw, 70px)/1.07 'Helvetica', Georgia, serif;
    letter-spacing: -.025em;
    margin: 15px 0 30px
}

.editorial-grid p {
    font-size: 14px;
    line-height: 2.05;
    color: #746b65;
    font-weight: 300;
    margin: 0 0 16px
}

.editorial-photo {
    aspect-ratio: 1.05;
    background: #eee9e4;
    overflow: hidden
}

.editorial-photo img {
    height: 100%;
    object-fit: cover
}

.detail-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 100%;
    padding: 0 clamp(0px, 5.5vw, 0px);
    margin: 80px auto 0;
}

.detail-strip figure {
    margin: 0;
    background: #efebe8
}

.detail-strip img {
    height: clamp(260px, 28vw, 420px);
    object-fit: cover
}

.detail-strip figcaption {
    font-size: 10px;
    letter-spacing: .2em;
    text-transform: uppercase;
    padding: 18px 3px;
    color: #756b62;
    background: var(--paper)
}

.features {
    margin: 100px auto 0;
    max-width: 1350px;
    padding: 0 clamp(0px, 5.5vw, 0px)
}

.features h2 {
    text-align: center;
    margin-bottom: 53px
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 36px 37px
}

.feature {
    border-top: 1px solid #d7cec6;
    padding-top: 22px
}

.feature .num {
    font-size: 10px;
    color: #b09278;
    letter-spacing: .15em
}

.feature h3 {
    font-size: 14px;
    font-weight: 500;
    margin: 17px 0 11px
}

.feature p {
    font-size: 12px;
    color: #7d736c;
    line-height: 1.85;
    font-weight: 300;
    margin: 0
}

.spec-wrap {
    background: rgb(243 243 243 / 75%);
    margin-top: 110px;
    padding: 100px max(5.5vw, 24px)
}

.spec-inner {
    max-width: 1120px;
    margin: auto
}

.spec-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 1px solid #d7cfc7;
    padding-bottom: 19px
}

.spec-head h2 {
    margin: 13px 0 0
}

.spec-head span {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .2em;
    color: #a21a08;
    text-transform: uppercase
}

.specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 80px
}

.spec-row {
    border-bottom: 1px solid #dcd5ce;
    padding: 17px 0;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: start;
    font-size: 12px
}

.spec-row .key {
    color: #898078
}

.spec-row .value {
    text-align: right;
    max-width: 60%;
    font-weight: 400
}

.signature {
    padding: 114px 20px 118px;
    text-align: center;
    max-width: 850px;
    margin: auto
}

.signature h2 {
    margin: 14px 0 29px
}

.signature p {
    font-size: 15px;
    line-height: 2;
    color: #746b65;
    font-weight: 300
}

.signature .final {
    letter-spacing: .14em;
    text-transform: uppercase;
    font-size: 11px;
    margin-top: 35px;
    color: #5c4940
}

.bottom-cta {
    background: #d9d9d9;
    display: flex;
        border-bottom: 1px solid #000000;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 58px max(5.5vw, 24px)
}

.bottom-cta h2 {
    font: 400 clamp(34px, 4vw, 53px) 'Helvetica', Georgia, serif;
    margin: 8px 0
}

.bottom-cta a {
    background: #a21a08;
    color: #fff;
    padding: 17px 29px;
    text-transform: uppercase;
    letter-spacing: .18em;
    font-size: 10px;
    white-space: nowrap
}


.bottom-cta a:hover {
    background: #000 !important;
    color: #fff;
}

.footer {
    background: #25221f;
    color: #ede5df;
    padding: 65px max(5.5vw, 24px) 30px
}

.footer-grid {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 40px
}

.footer-brand {
    font: 400 29px Georgia, serif;
    letter-spacing: .18em
}

.footer p {
    font-size: 12px;
    color: #aaa29d;
    max-width: 350px;
    line-height: 1.9
}

.footer-links {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    font-size: 10px;
    letter-spacing: .16em;
    text-transform: uppercase
}

.copyright {
    margin-top: 80px;
    border-top: 1px solid #49423d;
    padding-top: 23px;
    font-size: 10px;
    color: #978d87
}

.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 20;
    background: #1d1b19ef;
    align-items: center;
    justify-content: center;
    padding: 55px
}

.lightbox.open {
    display: flex
}

.lightbox img {
    width: auto;
    height: auto;
    max-height: 90vh;
    max-width: 90vw;
    object-fit: contain
}

.lightbox button {
    position: absolute;
    right: 26px;
    top: 17px;
    color: #fff;
    background: none;
    border: 0;
    font-size: 34px
}

@media(max-width:1000px) {
    .navlinks {
        gap: 18px
    }

    .product {
        grid-template-columns: 1fr 1fr;
        gap: 35px
    }

    .info h1 {
        font-size: 65px
    }

    .thumbs {
        grid-template-columns: repeat(4, 1fr)
    }

    .feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }
}

@media(max-width:720px) {
    .announcement {
        font-size: 8px
    }

    .navbar {
        height: 73px;
        padding: 0 21px
    }

    .brand {
        font-size: 24px
    }

    .navlinks,
    .nav-right a {
        display: none
    }

    .hamburger {
        display: block
    }

    .breadcrumb {
        margin: 22px auto;
        padding: 0 21px
    }

    .product {
        display: block;
        padding: 0 18px
    }

    .gallery-main {
        aspect-ratio: 1.14
    }

    .info {
        padding-top: 40px
    }

    .info h1 {
        font-size: 72px
    }

    .thumbs {
        grid-template-columns: repeat(8, 1fr);
        gap: 4px
    }

    .thumb {
        min-width: 0
    }

    .finishes {
        flex-wrap: wrap
    }

    .finish {
        min-width: 140px
    }

    .editorial {
        margin-top: 92px;
        padding: 0 21px
    }

    .editorial-grid {
        display: flex;
        flex-direction: column;
        gap: 30px
    }

    .editorial-photo {
        width: 100%
    }

    .detail-strip {
        padding: 0 21px;
        gap: 10px;
        margin-top: 50px
    }

    .detail-strip img {
        height: 230px
    }

    .features {
        margin-top: 85px;
        padding: 0 21px
    }

    .feature-grid {
        gap: 26px 18px
    }

    .spec-wrap {
        padding: 77px 21px;
        margin-top: 80px
    }

    .specs {
        grid-template-columns: 1fr
    }

    .spec-head span {
        display: none
    }

    .signature {
        padding: 85px 25px
    }

    .bottom-cta {
        flex-direction: column;
        align-items: flex-start
    }

    .footer-grid {
        flex-direction: column
    }

    .footer-links {
        gap: 17px
    }

    .copyright {
        margin-top: 45px
    }
}

@media(max-width:410px) {
    .waitlist-form {
        flex-direction: column
    }

    .waitlist-form button {
        padding: 17px
    }

    .info h1 {
        font-size: 61px
    }
}


.waitlist-form button:hover {
    color: #fff !important;
}

section#specifications {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.detail-strip figcaption {
    background: #fff !important;
}


section.bottom-cta {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}


.page-template-rose-gilt .main-page-wrapper .container {
    max-width: 85% !important;
}

.page-template-rose-gilt .main-page-wrapper .container .breadcrumb {
    margin: 40px 0 20px !important;
    max-width: 100% !important;
    padding: 0 0 !important;
    display: block;
    width: 100% !important;
}

.product {
    max-width: 100%;
    padding: 0 clamp(15px, 5.5vw, 0px);
}


#waitlist-message {
    width: 100%;
    box-sizing: border-box;
    position: relative;
    z-index: 10;
    text-align: left;
    border-radius: 4px;
}























@media only screen and (max-width: 768px) {
.product {padding-left: 0 !important;padding-right: 0 !important;}

.page-template-rose-gilt .main-page-wrapper .container .breadcrumb {
    margin-bottom: 12px !important;
}

.thumbs {
    grid-template-columns: repeat(5, 1fr) !important;
}

.info {
}

.tagline {
    font-size: 20px;
    margin-bottom: 5px;
}

.model {
    margin-bottom: 15px;
}

.coming {
    font-size: 10px !important;
}

.info h1 {
    font-size: 50px;
}

.editorial {
    padding: 0 0 !important;
    margin-top: 50px;
}

.editorial-grid h2, .features h2, .spec-head h2, .signature h2 {
    font-size: 25px;
    line-height: 35px;
    margin: 0 0 10px;
}

.detail-strip {
    padding: 0 !important;
    display: block;
}

.detail-strip img {
}

.features {
    padding: 0 !important;
    margin-top: 40px !important;
}

.section-label {
    margin-bottom: 10px;
}

.feature-grid {
    gap: 20px 12px;
}

section#specifications {
    padding: 40px 15px !important;
    margin-top: 40px;
}

.signature {
    padding: 50px 12px 20px !important;
}

.waitlist-form button {
    margin-top: 10px !important;
}

section.bottom-cta h2 {
    font-size: 32px !important;
    line-height: 40px;
    margin-bottom: 10px !important;
}

.finishes {
    flex-wrap: nowrap !important;
}

.finishes button.finish {
    padding: 10px !important;
    font-size: 11px !important;
}

.editorial-grid {
    flex-direction: column-reverse !important;
    gap: 20px !important;
}


}

/* ========== Fix for very small screens (320px - 400px) ========== */
@media only screen and (max-width: 400px) {

    html, body {
        overflow-x: hidden;
        max-width: 100%;
    }

    /* Prevent 100vw overflow */
    section#specifications,
    section.bottom-cta {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* Finish buttons - force wrap + smaller size */
    .finishes {
        flex-wrap: wrap !important;
        gap: 8px !important;
    }

    .finishes button.finish {
        min-width: 0 !important;
        flex: 1 1 calc(50% - 6px);
        padding: 10px 8px !important;
        font-size: 11px !important;
        justify-content: center;
    }

    /* Product area */
    .product {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .info {
        padding-left: 0;
        padding-right: 0;
    }

    /* Heading size */
    .info h1 {
        font-size: 42px !important;
        line-height: 1.05 !important;
    }

    .tagline {
        font-size: 18px !important;
    }

    /* Waitlist form */
    .waitlist-form {
        flex-direction: column;
        max-width: 100%;
    }

    .waitlist-form input,
    .waitlist-form button {
        width: 100%;
    }

    .waitlist-form button {
        margin-top: 8px !important;
        padding: 15px !important;
    }

    /* Thumbs - fewer columns */
    .thumbs {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 4px !important;
    }

    /* Editorial + Features */
    .editorial-grid h2,
    .features h2,
    .spec-head h2,
    .signature h2 {
        font-size: 26px !important;
        line-height: 1.2 !important;
    }

    .feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 16px 10px !important;
    }

    /* Specs */
    section#specifications {
        padding: 40px 14px !important;
    }

    .spec-row {
        font-size: 11px;
        gap: 10px;
    }

    .spec-row .value {
        max-width: 55%;
    }

    /* Bottom CTA */
    section.bottom-cta {
        padding: 40px 16px !important;
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    section.bottom-cta h2 {
        font-size: 28px !important;
        line-height: 1.25 !important;
    }

    section.bottom-cta a {
        width: 100%;
        text-align: center;
        padding: 16px 20px;
    }

    /* Signature */
    .signature {
        padding: 50px 16px 30px !important;
    }

    /* Detail strip */
    .detail-strip {
        gap: 12px !important;
    }

    .detail-strip img {
        height: 200px !important;
    }
    .page-template-rose-gilt .main-page-wrapper .container {
        max-width: 100% !important;
    }
    main,.page-template-rose-gilt .main-page-wrapper .container .breadcrumb {
        padding: 0px 12px !important;
        box-sizing: border-box;
    }
    
    .product {
        padding-left: 0px !important;
        padding-right: 0px !important;
    }
    
    .gallery {
        margin-left: 0px;
        margin-right: 0px;
    }
    
    main {
        margin-bottom: 15px;
    }
    .gallery-counter {
        left: 15px;
    }
    
    .gallery-arrows {
        right: 15px;
    }
}


/* =====================================================================
   iPHONE / SAFARI HORIZONTAL OVERFLOW FIX
   ===================================================================== */

/* 1. Never allow the page to scroll / widen sideways.
      "clip" is used where supported (iOS 16+), "hidden" is the fallback. */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

@supports (overflow: clip) {
    html,
    body {
        overflow-x: clip;
    }
}

/* 2. Grid / flex children must be allowed to shrink below their content width */
.product > *,
.editorial-grid > *,
.feature,
.spec-row > *,
.footer-grid > * {
    min-width: 0;
}

/* 3. Long unbreakable strings (e.g. "hydrophobic/oleophobic") must wrap in Safari */
.feature h3,
.feature p,
.spec-row .key,
.spec-row .value,
.short-copy,
.editorial-grid p,
.signature p,
.bottom-cta h2,
.info h1 {
    overflow-wrap: anywhere;
    word-break: normal;
}

/* 4. Mobile + tablet: drop the 100vw "full-bleed" trick (the main cause of the overflow)
      and let the container use the full width. Covers ALL iPhones (incl. 402px / 430px / 440px). */
@media only screen and (max-width: 768px) {

    .page-template-rose-gilt .main-page-wrapper .container {
        max-width: 100% !important;
        width: 100% !important;
    }

    section#specifications,
    section.bottom-cta {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .page-template-rose-gilt .main-page-wrapper .container .breadcrumb {
        padding: 0 !important;
    }

    .feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .specs {
        grid-template-columns: minmax(0, 1fr);
    }

    .spec-row .value {
        max-width: 60%;
    }

    .finishes {
        flex-wrap: wrap !important;
    }

    .finishes button.finish {
        min-width: 0 !important;
        flex: 1 1 calc(50% - 6px);
        justify-content: center;
    }

    .waitlist-form {
        max-width: 100%;
    }

    .bottom-cta a {
        max-width: 100%;
        white-space: normal;
        text-align: center;
    }
}


/* =====================================================================
   MOBILE LAYOUT (300px - 768px) - same on iPhone and Android
   Side spacing: 10px left + 10px right on <main> (and breadcrumb).
   ===================================================================== */
@media only screen and (max-width: 768px) {

    /* theme container: no extra padding, full width (the gutter comes from <main>) */
    .page-template-rose-gilt .main-page-wrapper .container {
        padding-left: 0 !important;
        padding-right: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    /* gutters are applied per section below, so main has none */
    main {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box !important;
        overflow-x: hidden;
    }

    .page-template-rose-gilt .main-page-wrapper .container .breadcrumb {
        padding-left: 15px !important;
        padding-right: 15px !important;
        box-sizing: border-box;
        overflow-wrap: anywhere;
    }

    /* sections must not add their own side padding / width tricks */
    .product,
    .editorial,
    .features,
    .detail-strip,
    .signature,
    section#specifications,
    section.bottom-cta {
        padding-left: 15px !important;
        padding-right: 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    section#specifications,
    section.bottom-cta {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box;
    }

    /* everything inside may shrink instead of overflowing */
    main * {
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
    }

    main img {
        max-width: 100%;
        height: auto;
    }

    .gallery-main img,
    .thumb img,
    .editorial-photo img {
        height: 100%;
    }

    .detail-strip img {
        height: 220px !important;
    }

    /* heading scales with the screen (300px -> 450px) */
    .info h1 {
        font-size: clamp(36px, 12vw, 56px) !important;
        line-height: 1.05 !important;
    }

    .tagline {
        font-size: clamp(16px, 5vw, 20px) !important;
    }

    .editorial-grid h2,
    .features h2,
    .spec-head h2,
    .signature h2 {
        font-size: clamp(22px, 6.5vw, 28px) !important;
        line-height: 1.25 !important;
    }

    section.bottom-cta h2 {
        font-size: clamp(24px, 7vw, 32px) !important;
        line-height: 1.25 !important;
    }

    /* gallery */
    .thumbs {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 4px !important;
    }

    .gallery-counter {
        left: 10px;
        bottom: 10px;
    }

    .gallery-arrows {
        right: 10px;
        bottom: 10px;
    }

    /* finish buttons */
    .finish-label {
        flex-wrap: wrap;
    }

    .finishes {
        flex-wrap: wrap !important;
        gap: 8px !important;
    }

    .finishes button.finish {
        flex: 1 1 calc(50% - 4px);
        min-width: 0 !important;
        justify-content: center;
        padding: 10px 8px !important;
        font-size: 11px !important;
    }

    /* waitlist form */
    .waitlist-form {
        flex-direction: column !important;
        max-width: 100% !important;
        width: 100%;
    }

    .waitlist-form input,
    .waitlist-form button {
        width: 100%;
    }

    .waitlist-form button {
        margin-top: 8px !important;
        padding: 15px !important;
    }

    /* features: two columns, text wraps */
    .feature-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 20px 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .feature {
        width: 100%;
        overflow: hidden;
    }

    .feature h3,
    .feature p,
    .spec-row .key,
    .spec-row .value,
    .short-copy,
    .editorial-grid p,
    .signature p,
    .form-note,
    .finish-note,
    .shipping-note {
        overflow-wrap: anywhere;
        word-break: normal;
    }

    /* specifications */
    .specs {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .spec-row {
        font-size: 11px;
        gap: 10px;
    }

    .spec-row .value {
        max-width: 60% !important;
    }

    /* bottom CTA */
    section.bottom-cta {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }

    section.bottom-cta a {
        width: 100%;
        text-align: center;
        white-space: normal;
        padding: 16px 20px;
    }

    .lightbox {
        padding: 20px;
    }
    .row {
        margin-inline: unset !important;
    }
    .gallery {
        margin: 0px !important;
    }
}

/* phones up to 480px: single-column features (no sideways overflow possible) */
@media only screen and (max-width: 480px) {
    .feature-grid {
        grid-template-columns: minmax(0, 1fr) !important;
    }
}

/* very small phones (300px - 340px): stack spec label/value */
@media only screen and (max-width: 340px) {
    .spec-row {
        flex-direction: column;
        gap: 4px;
    }

    .spec-row .value {
        max-width: 100% !important;
        text-align: left;
    }
}