.sw-product-page {
    background: #f7f8f5;
    color: #222;
}

.sw-product-hero {
    padding: 34px 0 28px;
}

.sw-product-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(360px, .72fr);
    gap: 28px;
    align-items: start;
}

.sw-product-media,
.sw-product-summary,
.sw-product-info-block {
    background: #fff;
    border: 1px solid #e5e7df;
    border-radius: 8px;
}

.sw-product-media {
    padding: 20px;
}

.sw-product-image-shell {
    position: relative;
    display: grid;
    min-height: 430px;
    place-items: center;
    background: #fbfbf7;
    border: 1px solid #eceee5;
    border-radius: 8px;
    overflow: hidden;
}

.sw-product-image-shell img {
    max-width: 100%;
    max-height: 430px;
    object-fit: contain;
}

.sw-product-badges {
    position: absolute;
    top: 14px;
    left: 14px;
    right: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sw-product-badge,
.sw-stock-pill {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
}

.sw-product-badge.is-sale {
    background: #fff1e7;
    color: #b33d12;
}

.sw-product-badge.is-featured {
    background: #eaf5ff;
    color: #185f8f;
}

.sw-product-badge.is-storage {
    background: #eef7ed;
    color: #23663a;
}

.sw-product-image-note {
    margin: 14px 0 0;
    color: #687063;
    font-size: 13px;
    text-align: center;
}

.sw-product-summary {
    position: sticky;
    top: 18px;
    padding: 22px;
}

.sw-product-kicker {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 14px;
    color: #697064;
    font-size: 13px;
}

.sw-product-kicker a {
    color: #2d6a4f;
    font-weight: 700;
}

.sw-stock-pill.is-in {
    background: #e7f6ec;
    color: #1d6b3a;
}

.sw-stock-pill.is-low {
    background: #fff4d8;
    color: #8a5600;
}

.sw-stock-pill.is-out {
    background: #ffe8e5;
    color: #a12b20;
}

.sw-product-summary h1 {
    margin: 0 0 10px;
    color: #1f2a1f;
    font-size: 30px;
    line-height: 1.22;
    font-weight: 800;
    letter-spacing: 0;
}

.sw-product-subtitle {
    margin: 0 0 18px;
    color: #565f54;
    font-size: 15px;
    line-height: 1.55;
}

.sw-price-panel {
    padding: 18px;
    margin-bottom: 16px;
    background: #fbfcf8;
    border: 1px solid #e6eadf;
    border-radius: 8px;
}

.sw-price-was {
    color: #767d72;
    font-size: 14px;
}

.sw-price-now {
    display: flex;
    gap: 8px;
    align-items: baseline;
    margin-top: 4px;
    color: #b51f15;
}

.sw-price-now span {
    color: #767d72;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.sw-price-now strong {
    font-size: 32px;
    line-height: 1.1;
}

.sw-price-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin-top: 10px;
    color: #697064;
    font-size: 12px;
}

.sw-weight-notice {
    display: grid;
    gap: 8px;
    padding: 14px;
    margin-bottom: 16px;
    background: #fff9e8;
    border: 1px solid #f3dfad;
    border-radius: 8px;
    color: #514624;
}

.sw-weight-notice strong,
.sw-weight-notice span {
    display: block;
}

.sw-weight-notice span,
.sw-weight-notice p {
    font-size: 13px;
    line-height: 1.45;
}

.sw-weight-notice p {
    margin: 0;
}

.sw-product-actions {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
}

.sw-quantity-control {
    display: grid;
    grid-template-columns: 38px 1fr 38px;
    height: 48px;
    border: 1px solid #ccd3c5;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.sw-quantity-step,
.sw-quantity-input {
    border: 0;
    background: #fff;
    color: #1f2a1f;
    font-weight: 800;
    text-align: center;
}

.sw-quantity-step {
    font-size: 20px;
    cursor: pointer;
}

.sw-quantity-step:hover {
    background: #f0f4ed;
}

.sw-quantity-input {
    min-width: 0;
    border-left: 1px solid #edf0e9;
    border-right: 1px solid #edf0e9;
}

.sw-add-cart-button,
.sw-mobile-buy-bar button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 18px;
    border: 0;
    border-radius: 8px;
    background: #d9452b;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
}

.sw-add-cart-button:hover,
.sw-mobile-buy-bar button:hover {
    background: #bd321f;
    color: #fff;
}

.sw-add-cart-button.is-disabled {
    background: #9ca39a;
    cursor: not-allowed;
}

.sw-view-cart-link {
    grid-column: 1 / -1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border: 1px solid #bdc8b6;
    border-radius: 8px;
    color: #315f44;
    font-weight: 800;
}

.sw-view-cart-link:hover {
    background: #eef5ea;
    color: #244d37;
}

.sw-service-promises {
    display: grid;
    gap: 10px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #ecefe7;
}

.sw-service-promises div {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    color: #485244;
    font-size: 13px;
    line-height: 1.4;
}

.sw-service-promises i {
    color: #2f7d4d;
    font-size: 20px;
}

.sw-staff-panel {
    margin-top: 18px;
    padding: 14px;
    background: #f3f6fb;
    border: 1px solid #dce7f7;
    border-radius: 8px;
}

.sw-staff-panel dl {
    display: grid;
    gap: 6px;
    margin: 10px 0 0;
}

.sw-staff-panel dl div {
    display: flex;
    justify-content: space-between;
    gap: 14px;
}

.sw-staff-panel dt,
.sw-staff-panel dd {
    margin: 0;
    font-size: 12px;
}

.sw-staff-panel dt {
    color: #596879;
}

.sw-staff-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.sw-staff-actions a {
    padding: 6px 10px;
    border-radius: 6px;
    background: #2f5c88;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.sw-product-info-section {
    padding: 18px 0 36px;
}

.sw-product-info-grid {
    display: grid;
    grid-template-columns: 1.2fr .9fr .9fr;
    gap: 18px;
}

.sw-product-info-block {
    padding: 20px;
}

.sw-product-info-block h2 {
    margin: 0 0 12px;
    color: #1f2a1f;
    font-size: 20px;
    line-height: 1.25;
    font-weight: 800;
}

.sw-product-info-block p,
.sw-rich-text,
.sw-check-list {
    color: #4d564b;
    font-size: 14px;
    line-height: 1.6;
}

.sw-rich-text p:last-child,
.sw-product-info-block p:last-child,
.sw-check-list {
    margin-bottom: 0;
}

.sw-check-list {
    padding-left: 18px;
}

.sw-check-list li {
    margin-bottom: 8px;
}

.sw-inline-link {
    display: inline-flex;
    margin-top: 14px;
    color: #2d6a4f;
    font-weight: 800;
}

.sw-product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-top: 18px;
}

.sw-product-tags span {
    color: #66705f;
    font-size: 13px;
    font-weight: 800;
}

.sw-product-tags a {
    padding: 6px 10px;
    border: 1px solid #d9e2d3;
    border-radius: 999px;
    background: #fff;
    color: #315f44;
    font-size: 13px;
    font-weight: 700;
}

.sw-related-products {
    padding: 24px 0 54px;
    background: #fff;
}

.sw-related-heading {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: end;
    margin-bottom: 18px;
}

.sw-related-heading span {
    color: #6c7567;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.sw-related-heading h2 {
    margin: 4px 0 0;
    color: #1f2a1f;
    font-size: 24px;
    font-weight: 800;
}

.sw-related-heading a {
    color: #2d6a4f;
    font-weight: 800;
}

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

.sw-related-card {
    display: grid;
    grid-template-rows: auto 1fr;
    border: 1px solid #e5e7df;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.sw-related-image {
    position: relative;
    display: grid;
    aspect-ratio: 1 / 1;
    place-items: center;
    background: #fbfbf7;
}

.sw-related-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12px;
}

.sw-related-image span {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 4px 8px;
    border-radius: 999px;
    background: #fff1e7;
    color: #b33d12;
    font-size: 11px;
    font-weight: 800;
}

.sw-related-copy {
    display: grid;
    gap: 6px;
    padding: 12px;
}

.sw-related-name {
    color: #1f2a1f;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.35;
}

.sw-related-copy p {
    min-height: 36px;
    margin: 0;
    color: #677060;
    font-size: 12px;
    line-height: 1.45;
}

.sw-related-price {
    color: #b51f15;
    font-size: 15px;
    font-weight: 800;
}

.sw-related-copy small {
    color: #687063;
}

.sw-related-add {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 34px;
    margin-top: 4px;
    border-radius: 7px;
    background: #eef5ea;
    color: #2d6a4f;
    font-size: 13px;
    font-weight: 800;
}

.sw-related-add:hover {
    background: #2d6a4f;
    color: #fff;
}

.sw-mobile-buy-bar {
    display: none;
}

@media (max-width: 1199px) {
    .sw-product-layout {
        grid-template-columns: minmax(0, 1fr) minmax(330px, .72fr);
    }

    .sw-related-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .sw-product-layout,
    .sw-product-info-grid {
        grid-template-columns: 1fr;
    }

    .sw-product-summary {
        position: static;
    }
}

@media (max-width: 767px) {
    .sw-product-page {
        padding-bottom: 78px;
    }

    .sw-product-hero {
        padding: 18px 0 16px;
    }

    .sw-product-media,
    .sw-product-summary,
    .sw-product-info-block {
        border-radius: 0;
        border-left: 0;
        border-right: 0;
    }

    .sw-product-media,
    .sw-product-summary {
        padding: 14px;
    }

    .sw-product-image-shell {
        min-height: 300px;
    }

    .sw-product-image-shell img {
        max-height: 300px;
    }

    .sw-product-summary h1 {
        font-size: 23px;
    }

    .sw-price-now strong {
        font-size: 26px;
    }

    .sw-product-actions {
        grid-template-columns: 126px minmax(0, 1fr);
    }

    .sw-related-heading {
        align-items: start;
        flex-direction: column;
    }

    .sw-related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .sw-related-copy {
        padding: 10px;
    }

    .sw-related-copy p {
        min-height: 0;
    }

    .sw-mobile-buy-bar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1050;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 10px;
        align-items: center;
        padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
        background: #fff;
        border-top: 1px solid #dde3d8;
        box-shadow: 0 -10px 30px rgba(24, 31, 24, .12);
    }

    .sw-mobile-buy-bar span,
    .sw-mobile-buy-bar small {
        display: block;
    }

    .sw-mobile-buy-bar span {
        color: #b51f15;
        font-size: 16px;
        font-weight: 800;
        line-height: 1.2;
    }

    .sw-mobile-buy-bar small {
        color: #63705e;
        font-size: 12px;
    }

    .sw-mobile-buy-bar button {
        min-height: 44px;
        padding: 0 14px;
        white-space: nowrap;
    }
}

@media (max-width: 420px) {
    .sw-product-actions {
        grid-template-columns: 1fr;
    }

    .sw-quantity-control,
    .sw-add-cart-button {
        width: 100%;
    }

    .sw-related-grid {
        grid-template-columns: 1fr;
    }
}
