.shamodest-account-wrap{display:flex;align-items:center;justify-content:center}
.shamodest-account-link{position:relative;display:flex;width:24px;height:24px;align-items:center;justify-content:center;color:inherit;text-decoration:none}
.shamodest-account-link svg{width:23px;height:23px;display:block}
.shamodest-account-dot{position:absolute;right:-2px;top:-1px;width:7px;height:7px;border-radius:50%;background:#1f5a49;border:1px solid #fff}
.shamodest-cart-trigger,.shamodest-cart-close,.shamodest-link-button{border:0;background:transparent;padding:0;font:inherit;color:inherit;cursor:pointer}
.shamodest-cart-panel{display:none!important}
.shamodest-cart-panel.is-open{display:block!important;z-index:10002}
.shamodest-cart-overlay{display:none;position:fixed;inset:0;background:rgba(0,0,0,.28);z-index:10000}
[data-shamodest-cart].is-open .shamodest-cart-overlay{display:block}
[data-shamodest-cart].is-open .shamodest-cart-panel{z-index:10001}
.shamodest-cart-empty{padding:32px 20px 20px;text-align:center}
.shamodest-cart-empty p{margin:0 0 22px}
.shamodest-link-button{text-decoration:underline;font-size:12px}
.shamodest-quantity-form{margin:0}
.header-nav-icon{gap:18px}

.shamodest-auth-page{min-height:100vh;background:#f7f5f1;color:#173d32;font-family:Montserrat,Arial,sans-serif;padding:32px 18px}
.shamodest-auth-shell{width:min(1040px,100%);margin:0 auto}
.shamodest-auth-logo{display:block;width:190px;margin:0 auto 34px}
.shamodest-auth-logo img{display:block;width:100%;height:auto}
.shamodest-auth-card{width:min(520px,100%);margin:0 auto;background:#fff;border:1px solid rgba(23,61,50,.14);padding:42px;border-radius:2px}
.shamodest-auth-card h1{margin:0 0 10px;font-size:32px;font-weight:500;text-align:center}
.shamodest-auth-subtitle{text-align:center;color:#65726d;margin:0 0 30px;font-size:14px}
.shamodest-field{margin-bottom:18px}
.shamodest-field label{display:block;margin-bottom:7px;font-size:13px;font-weight:600}
.shamodest-field input,.shamodest-field select{width:100%;box-sizing:border-box;border:1px solid #d9ddda;background:#fff;padding:13px 14px;font:inherit;color:#173d32;outline:none}
.shamodest-field input:focus,.shamodest-field select:focus{border-color:#173d32}
.shamodest-check{display:flex;gap:9px;align-items:center;margin:4px 0 20px;font-size:13px}
.shamodest-check input{width:auto}
.shamodest-primary-btn{display:inline-flex;width:100%;justify-content:center;align-items:center;border:0;background:#173d32;color:#fff;padding:14px 20px;font:inherit;font-weight:600;cursor:pointer;text-decoration:none}
.shamodest-auth-switch{text-align:center;margin:22px 0 0;font-size:13px}
.shamodest-auth-switch a{color:#173d32;font-weight:600}
.shamodest-errors{margin:0 0 20px;padding:12px 14px;background:#fff2f2;border:1px solid #e4bcbc;font-size:13px}
.shamodest-status{margin:0 0 20px;padding:12px 14px;background:#eff8f3;border:1px solid #b9d9c7;font-size:13px}

.shamodest-account-page{min-height:100vh;background:#f7f5f1;color:#173d32;font-family:Montserrat,Arial,sans-serif;padding:24px 18px 60px}
.shamodest-account-container{width:min(1120px,100%);margin:0 auto}
.shamodest-account-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:30px;gap:20px}
.shamodest-account-top img{width:175px;height:auto}
.shamodest-account-actions{display:flex;align-items:center;gap:14px}
.shamodest-account-actions a,.shamodest-account-actions button{font:inherit;font-size:13px;color:#173d32;background:none;border:0;cursor:pointer;text-decoration:underline}
.shamodest-account-header{margin:20px 0 28px}
.shamodest-account-header h1{margin:0 0 6px;font-size:36px;font-weight:500}
.shamodest-account-header p{margin:0;color:#65726d}
.shamodest-account-grid{display:grid;grid-template-columns:1.4fr .8fr;gap:24px}
.shamodest-panel{background:#fff;border:1px solid rgba(23,61,50,.14);padding:30px}
.shamodest-panel h2{font-size:20px;margin:0 0 22px;font-weight:600}
.shamodest-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}
.shamodest-form-grid .full{grid-column:1/-1}
.shamodest-secondary-btn{display:inline-flex;justify-content:center;border:1px solid #173d32;background:#fff;color:#173d32;padding:12px 18px;font:inherit;font-weight:600;cursor:pointer}
.shamodest-account-side{display:grid;gap:24px;align-content:start}
.shamodest-account-placeholder{padding:16px 0;border-top:1px solid #eceeec;color:#65726d;font-size:14px}
@media(max-width:767px){.shamodest-auth-card{padding:30px 22px}.shamodest-account-grid{grid-template-columns:1fr}.shamodest-form-grid{grid-template-columns:1fr}.shamodest-form-grid .full{grid-column:auto}.shamodest-account-top{align-items:flex-start}.shamodest-account-header h1{font-size:30px}.header-nav-icon{gap:12px}}

/* SHAMODEST Phase 1 layout fixes */
/* Remove the Webflow outer canvas gap so the site reaches the viewport edges. */
.page-wrapper {
    padding: 0 !important;
}

/* Keep the new account icon inside the desktop action group next to the cart. */
@media screen and (min-width: 992px) {
    .header-navbar {
        display: contents !important;
    }

    .header-nav-icon {
        grid-column: 3 !important;
        grid-row: 1 !important;
        justify-self: end !important;
        align-self: center !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 18px !important;
        position: static !important;
        width: auto !important;
    }

    .shamodest-account-wrap,
    .shamodest-account-link {
        position: relative !important;
        inset: auto !important;
        margin: 0 !important;
    }
}


/* SHAMODEST cart interaction fix
   Webflow's original cart modal is exported with opacity:0 and the inner
   container scaled/hidden. The backend cart uses the same classes, so the
   open state must explicitly restore the visible values. */
.shamodest-cart-panel.is-open {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    background-color: rgba(0, 0, 0, .55) !important;
    z-index: 10010 !important;
}

.shamodest-cart-panel.is-open .header-cart-continer {
    opacity: 1 !important;
    transform: scale(1) !important;
    visibility: visible !important;
    position: relative;
    z-index: 1;
}

/* The full-screen Webflow cart panel already supplies the backdrop. */
.shamodest-cart-overlay,
[data-shamodest-cart].is-open .shamodest-cart-overlay {
    display: none !important;
}

.product-bag,
.product-details-add-to-cart .cart-button {
    cursor: pointer;
}

.product-bag.is-adding,
.product-details-add-to-cart .cart-button.is-adding {
    pointer-events: none;
    opacity: .65;
}

/* Dynamic DB-backed product listing (temporary Webflow test catalog). */
.shamodest-product-post .shamodest-product-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform .45s ease;
}
.shamodest-product-post:hover .shamodest-product-image {
    transform: scale(1.025) !important;
}
.shamodest-product-card.is-open {
    display: flex !important;
    opacity: 1 !important;
}
.shamodest-product-toggle.is-open {
    opacity: 0;
    pointer-events: none;
}
.shamodest-shop-empty {
    min-height: 220px;
    border: 1px solid rgba(0, 0, 0, .1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 36px 24px;
    text-align: center;
}
.shamodest-shop-empty span {
    margin-bottom: 10px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--_neutral-color---300);
}
.shamodest-shop-empty p {
    margin: 0;
    max-width: 460px;
}

/* Dynamic product details page */
.shamodest-product-details-image-block {
    background: #f7f5f1;
    min-width: 0;
}

.shamodest-product-details-image {
    display: block;
    width: 100%;
    max-height: 900px;
    object-fit: contain;
    object-position: center;
    background: #f7f5f1;
}

.shamodest-detail-price-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
}

.shamodest-detail-price-row .product-details-price {
    margin-bottom: 0;
}

.shamodest-test-price {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 5px 9px;
    border: 1px solid rgba(0, 0, 0, .16);
    font-size: 10px;
    line-height: 1;
    font-weight: 600;
    letter-spacing: 1.1px;
    text-transform: uppercase;
}

.shamodest-detail-errors {
    margin: -10px 0 24px;
    padding: 12px 14px;
    border: 1px solid #dfbcbc;
    background: #fff4f4;
    font-size: 13px;
    line-height: 1.55;
}

.shamodest-product-details-form {
    margin-bottom: 34px;
}

.shamodest-detail-option-group {
    min-width: 0;
    margin: 0 0 24px;
    padding: 0;
    border: 0;
}

.shamodest-detail-option-group legend,
.shamodest-detail-field-label {
    display: block;
    margin-bottom: 10px;
    font-size: 12px;
    line-height: 1.3;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.shamodest-detail-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.shamodest-detail-option {
    position: relative;
    margin: 0;
    cursor: pointer;
}

.shamodest-detail-option input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.shamodest-detail-option span {
    display: flex;
    min-width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border: 1px solid var(--_neutral-color---300);
    background: var(--white);
    color: var(--_neutral-color---300);
    font-size: 13px;
    font-weight: 600;
    transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}

.shamodest-detail-option input:checked + span {
    border-color: var(--neutral);
    background: var(--neutral);
    color: var(--white);
}

.shamodest-detail-option input:focus-visible + span {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

.shamodest-color-option span {
    width: auto;
    min-width: 0;
    height: 42px;
    padding: 0 14px;
}

.shamodest-detail-purchase-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.shamodest-detail-quantity-control {
    display: grid;
    grid-template-columns: 38px 54px 38px;
    height: 42px;
    border: 1px solid rgba(0, 0, 0, .25);
}

.shamodest-detail-quantity-control button,
.shamodest-detail-quantity-control input {
    border: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
    font: inherit;
}

.shamodest-detail-quantity-control button {
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
}

.shamodest-detail-quantity-control input {
    width: 100%;
    padding: 0;
    text-align: center;
    -moz-appearance: textfield;
}

.shamodest-detail-quantity-control input::-webkit-outer-spin-button,
.shamodest-detail-quantity-control input::-webkit-inner-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

.shamodest-detail-stock {
    display: flex;
    align-items: center;
    gap: 7px;
    padding-bottom: 10px;
    color: var(--_neutral-color---300);
    font-size: 12px;
    white-space: nowrap;
}

.shamodest-detail-stock > span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #7b7b7b;
}

.shamodest-detail-stock.is-in-stock > span {
    background: #2e765e;
}

.shamodest-detail-stock.is-out-of-stock > span {
    background: #a44a4a;
}

.shamodest-detail-cart-button {
    width: 100%;
    border: 0;
    cursor: pointer;
    font: inherit;
}

.shamodest-detail-cart-button:disabled {
    cursor: not-allowed;
    opacity: .5;
}

.shamodest-product-info-grid {
    grid-template-columns: 42px 1fr;
    align-items: flex-start;
}

.shamodest-product-info-number {
    display: flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 0, 0, .18);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .8px;
}

.shamodest-product-description-image {
    background: #f7f5f1;
}

.shamodest-product-info-image {
    width: 100%;
    height: 100%;
    min-height: 520px;
    object-fit: contain;
    object-position: center;
    background: #f7f5f1;
    filter: none !important;
    transform: none !important;
}

.shamodest-related-products-section {
    border-top: 1px solid var(--_neutral-color---100);
}

.shamodest-related-products-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 34px;
}

.shamodest-related-products-heading h4 {
    margin: 0;
    text-transform: uppercase;
}

.shamodest-related-products-link {
    color: inherit;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .6px;
    text-transform: uppercase;
    text-underline-offset: 4px;
}

.shamodest-cart-variant {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 10px;
    margin-top: 4px;
    color: var(--_neutral-color---300);
    font-size: 11px;
}

@media screen and (max-width: 767px) {
    .shamodest-product-details-image {
        max-height: 680px;
    }

    .shamodest-detail-purchase-row,
    .shamodest-related-products-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .shamodest-detail-stock {
        padding-bottom: 0;
    }

    .shamodest-product-info-image {
        min-height: 360px;
    }
}

/* Product details refinements: quantity, related products, and shop spacing. */
.shamodest-detail-quantity-control {
    grid-template-columns: 44px 58px 44px;
    height: 44px;
    overflow: hidden;
    border-color: rgba(0, 0, 0, .22);
}

.shamodest-detail-quantity-control .shamodest-quantity-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    transition: background-color .25s ease, color .25s ease;
}

.shamodest-detail-quantity-control .shamodest-quantity-arrow:first-child {
    border-right: 1px solid rgba(0, 0, 0, .12);
}

.shamodest-detail-quantity-control .shamodest-quantity-arrow:last-child {
    border-left: 1px solid rgba(0, 0, 0, .12);
}

.shamodest-detail-quantity-control .shamodest-quantity-arrow:hover {
    background: var(--neutral);
    color: var(--white);
}

.shamodest-detail-quantity-control .shamodest-quantity-arrow svg {
    width: 18px;
    height: 18px;
    display: block;
}

.shamodest-detail-quantity-control input {
    font-weight: 600;
}

/* The Webflow product-card overlay assumes identical CMS image dimensions.
   Related products use their own stable grid so mixed catalog images never
   leave detached quick-action circles or invisible cards. */
.shamodest-related-products-section {
    overflow: hidden;
}

.shamodest-related-products-heading {
    align-items: center;
    margin-bottom: 36px;
}

.shamodest-related-products-heading h4 {
    margin-top: 6px;
    text-transform: none;
}

.shamodest-related-products-button {
    flex: none;
    min-width: 190px;
}

.shamodest-related-products-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}

.shamodest-related-card {
    min-width: 0;
}

.shamodest-related-image-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.shamodest-related-image-frame {
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #f4f0ea;
}

.shamodest-related-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    transition: transform .5s ease;
}

.shamodest-related-card:hover .shamodest-related-image {
    transform: scale(1.025);
}

.shamodest-related-card-info {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding-top: 14px;
}

.shamodest-related-name {
    display: inline-block;
    margin-top: 2px;
}

.shamodest-related-price {
    flex: none;
    font-size: 15px;
    line-height: 1.6;
}

/* Keep the final shop column away from the viewport edge on wide screens. */
.shop-section > .section-gap > .shop-block {
    padding-right: 2.083vw;
}

@media screen and (max-width: 991px) {
    .shamodest-related-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media screen and (max-width: 767px) {
    .shamodest-related-products-heading {
        gap: 20px;
    }

    .shamodest-related-products-button {
        width: 100%;
        min-width: 0;
    }

    .shamodest-related-products-grid {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .shop-section > .section-gap > .shop-block {
        padding-right: 16px;
    }
}

/* Checkout now renders the Laravel session cart instead of the exported
   Webflow demo order. Keep the original checkout identity while making
   variable product names/options and empty carts lay out cleanly. */
.shamodest-checkout-order-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.shamodest-checkout-order-item {
    min-width: 0;
}

.shamodest-checkout-order-item .checkout-item-image {
    flex: 0 0 auto;
    object-fit: cover;
    object-position: center;
}

.shamodest-checkout-order-item .checkout-item-block {
    min-width: 0;
}

.shamodest-checkout-item-meta {
    margin-top: 3px;
    opacity: .72;
}

.shamodest-checkout-empty {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 22px 0;
}

.shamodest-checkout-empty strong {
    font-size: 18px;
    font-weight: 500;
}

.shamodest-checkout-empty span {
    font-size: 13px;
    opacity: .72;
}

.shamodest-checkout-empty .button {
    margin-top: 8px;
}

/* DB-backed home collection cards use the same exported product grid, but
   the current catalog has mixed source image ratios. Normalize the frames so
   the new Dresses/Tops/Sets/Pajamas tabs remain aligned. */
.home-product-section .shamodest-home-product-list .product-image-block {
    overflow: hidden;
}

.home-product-section .shamodest-home-product-list .shamodest-product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.shamodest-home-products-empty {
    width: 100%;
    padding: 48px 20px;
    text-align: center;
    font-size: 14px;
    opacity: .68;
}

@media screen and (min-width: 992px) {
    .home-product-section .shamodest-home-product-list .product-image-block {
        aspect-ratio: 4 / 5;
        display: block;
    }
}

/* Reuse the original Webflow category hero on every current shop category.
   Its copy is swapped client-side when the visitor changes tabs. */
.shamodest-category-hero {
    scroll-margin-top: 20px;
}

.shamodest-category-hero .trending-hero-title-block {
    max-width: 470px;
}

.shamodest-category-hero .home-hero-subtitle {
    max-width: 470px;
}

#shop-products {
    scroll-margin-top: 24px;
}

@media screen and (max-width: 991px) {
    /* The exported Webflow CSS hides this image on tablet/mobile. Keep the
       restored category visual visible, with a soft overlay for legibility. */
    .shamodest-category-hero .trending-hero-image {
        display: block;
    }

    .shamodest-category-hero::after {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 0;
        background: rgba(245, 239, 232, .28);
        pointer-events: none;
    }

    .shamodest-category-hero .trending-hero-block {
        z-index: 1;
    }
}

.shamodest-category-hero-subtitle,
.shamodest-category-hero-title,
.shamodest-category-hero-button {
    opacity: 1;
    transform: none;
}

.shamodest-category-hero-subtitle {
    animation: shamodest-category-copy-in .55s ease both;
}

.shamodest-category-hero-title {
    animation: shamodest-category-copy-in .65s .06s ease both;
}

.shamodest-category-hero-button {
    animation: shamodest-category-copy-in .65s .12s ease both;
}

.shamodest-category-hero-copy-refresh .shamodest-category-hero-subtitle,
.shamodest-category-hero-copy-refresh .shamodest-category-hero-title {
    animation: shamodest-category-copy-in .35s ease both;
}

@keyframes shamodest-category-copy-in {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .shamodest-category-hero-subtitle,
    .shamodest-category-hero-title,
    .shamodest-category-hero-button,
    .shamodest-category-hero-copy-refresh .shamodest-category-hero-subtitle,
    .shamodest-category-hero-copy-refresh .shamodest-category-hero-title {
        animation: none;
    }
}

/* Variant-aware storefront and cart controls */
.shamodest-detail-option.is-unavailable {
    cursor: not-allowed;
}

.shamodest-detail-option.is-unavailable span {
    opacity: .36;
    text-decoration: line-through;
    background: rgba(0, 0, 0, .025);
}

.shamodest-detail-stock strong {
    font: inherit;
    font-weight: 500;
}

.shamodest-product-card-stock {
    margin-top: 5px;
    color: var(--_neutral-color---300);
    font-size: 10px;
    line-height: 1.3;
    letter-spacing: .4px;
    text-transform: uppercase;
}

.shamodest-product-out-link {
    color: inherit;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-decoration: underline;
    text-transform: uppercase;
}

.shamodest-cart-sku,
.shamodest-drawer-stock {
    display: block;
    margin-top: 4px;
    color: var(--_neutral-color---300);
    font-size: 9px;
    line-height: 1.3;
    letter-spacing: .35px;
}

.shamodest-drawer-quantity-form {
    align-self: center;
    min-width: 82px;
}

.shamodest-drawer-qty-control {
    display: grid;
    grid-template-columns: 24px 34px 24px;
    align-items: stretch;
    height: 34px;
    border: 1px solid rgba(0, 0, 0, .18);
}

.shamodest-drawer-qty-control button,
.shamodest-drawer-qty-control input.cart-quantity {
    width: 100% !important;
    min-width: 0 !important;
    height: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: inherit !important;
    box-shadow: none !important;
    font: inherit;
    text-align: center;
}

.shamodest-drawer-qty-control button {
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
}

.shamodest-drawer-qty-control button:disabled {
    cursor: default;
    opacity: .25;
}

.shamodest-drawer-qty-control input.cart-quantity {
    -moz-appearance: textfield;
    font-size: 11px !important;
}

.shamodest-drawer-qty-control input.cart-quantity::-webkit-outer-spin-button,
.shamodest-drawer-qty-control input.cart-quantity::-webkit-inner-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

@media screen and (max-width: 479px) {
    .shamodest-drawer-quantity-form {
        min-width: 74px;
    }

    .shamodest-drawer-qty-control {
        grid-template-columns: 22px 30px 22px;
    }
}

/* Real Laravel checkout / order confirmation */
.shamodest-checkout-live {
    padding-top: 56px;
    padding-bottom: 80px;
}

.shamodest-checkout-heading {
    max-width: 720px;
    margin-bottom: 34px;
}

.shamodest-checkout-heading h1,
.shamodest-order-success-header h1 {
    margin-top: 10px;
    margin-bottom: 10px;
    font-weight: 500;
}

.shamodest-checkout-heading p,
.shamodest-order-success-header p {
    margin: 0;
    font-size: 13px;
    line-height: 1.7;
    opacity: .72;
}

.shamodest-checkout-back {
    color: inherit;
    font-size: 11px;
    letter-spacing: .7px;
    text-decoration: none;
    text-transform: uppercase;
}

.shamodest-checkout-alert {
    margin-bottom: 26px;
    padding: 18px 20px;
    border: 1px solid rgba(130, 45, 45, .28);
    background: rgba(130, 45, 45, .055);
    font-size: 12px;
    line-height: 1.6;
}

.shamodest-checkout-alert ul {
    margin: 8px 0 0;
    padding-left: 18px;
}

.shamodest-field-error {
    margin-top: -8px;
    margin-bottom: 12px;
    color: #8a3030;
    font-size: 10px;
    line-height: 1.4;
}

.shamodest-checkout-options {
    display: grid;
    gap: 10px;
}

.shamodest-checkout-option {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    align-items: center;
    width: 100%;
    cursor: pointer;
}

.shamodest-checkout-option .checkout-item-block {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.shamodest-checkout-option .checkout-item-text {
    font-size: 10px;
    opacity: .65;
}

.shamodest-checkout-checkbox {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 20px;
    cursor: pointer;
    font-size: 12px;
}

.shamodest-checkout-checkbox input {
    width: 15px;
    height: 15px;
}

.shamodest-billing-fields.is-hidden {
    display: none;
}

.shamodest-checkout-textarea {
    min-height: 110px;
    resize: vertical;
}

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

.shamodest-checkout-total-row {
    padding-top: 16px;
    border-top: 1px solid rgba(0, 0, 0, .14);
}

.shamodest-place-order-button {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 22px;
    text-align: center;
}

.shamodest-checkout-submit-note {
    margin: 10px 0 0;
    font-size: 9px;
    line-height: 1.55;
    text-align: center;
    opacity: .62;
}

.shamodest-checkout-empty-page .checkout-block-content {
    padding: 34px;
}

.shamodest-order-success-header {
    max-width: 760px;
    margin: 0 auto 38px;
    text-align: center;
}

.shamodest-order-success-mark {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin: 0 auto 15px;
    border: 1px solid currentColor;
    border-radius: 50%;
    font-size: 18px;
}

.shamodest-order-success-eyebrow {
    font-size: 10px !important;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.shamodest-order-success-note {
    margin-top: 8px !important;
}

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

.shamodest-order-number-card {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 20px;
    padding: 14px 0 0;
    border-top: 1px solid rgba(0, 0, 0, .14);
}

.shamodest-order-number-card span {
    font-size: 9px;
    letter-spacing: .8px;
    text-transform: uppercase;
    opacity: .62;
}

.shamodest-order-number-card strong {
    font-size: 12px;
    font-weight: 500;
}

@media screen and (max-width: 991px) {
    .shamodest-checkout-summary {
        position: static;
    }
}

@media screen and (max-width: 767px) {
    .shamodest-checkout-live {
        padding-top: 30px;
        padding-bottom: 50px;
    }

    .shamodest-confirmation-columns {
        grid-template-columns: 1fr;
    }

    .shamodest-checkout-option {
        grid-template-columns: auto 1fr;
    }

    .shamodest-checkout-option > .checkout-item-price {
        grid-column: 2;
    }
}

/* Checkout polish — 2026-09-01 */
.shamodest-checkout-live > .container-default {
    display: block !important;
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
}

.shamodest-checkout-live .shamodest-checkout-heading,
.shamodest-checkout-live .shamodest-order-success-header {
    width: 100%;
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
}

.shamodest-checkout-live .shamodest-checkout-heading {
    margin-bottom: 28px;
}

.shamodest-checkout-live .shamodest-checkout-heading h1,
.shamodest-checkout-live .shamodest-order-success-header h1 {
    font-size: clamp(42px, 5vw, 68px);
    line-height: .98;
    letter-spacing: -.04em;
}

.shamodest-checkout-live form > .checkout-block,
.shamodest-checkout-live .shamodest-confirmation-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(330px, 390px);
    gap: 28px;
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    align-items: start;
}

.shamodest-checkout-live .checkout-left-block,
.shamodest-checkout-live .checkout-right-block {
    width: 100%;
    max-width: none;
    min-width: 0;
}

.shamodest-checkout-live .checkout-left-block {
    gap: 18px;
}

.shamodest-checkout-live .checkout-right-block {
    position: static;
    gap: 18px;
}

.shamodest-checkout-live .checkout-customer-info,
.shamodest-checkout-live .checkout-shipping-address,
.shamodest-checkout-live .checkout-shipping-method,
.shamodest-checkout-live .checkout-payment-info,
.shamodest-checkout-live .checkout-billing-address,
.shamodest-checkout-live .checkout-order-notes,
.shamodest-checkout-live .checkout-order-items,
.shamodest-checkout-live .checkout-order-summery {
    overflow: hidden;
    border: 1px solid rgba(30, 26, 22, .10);
    border-radius: 10px;
    background: #fff;
}

.shamodest-checkout-live .checkout-block-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(30, 26, 22, .10);
    background: #fff;
}

.shamodest-checkout-live .checkout-block-content {
    padding: 24px;
    background: #fff;
}

.shamodest-checkout-live .checkout-title {
    margin: 0;
    font-size: 25px;
    line-height: 1.05;
}

.shamodest-checkout-live .checkout-info {
    font-size: 11px;
    white-space: nowrap;
}

.shamodest-section-hint {
    margin: 5px 0 0;
    font-size: 10px;
    line-height: 1.5;
    opacity: .58;
}

.shamodest-secure-label {
    flex: none;
    border: 1px solid rgba(30, 26, 22, .12);
    border-radius: 999px;
    padding: 7px 10px;
    font-size: 9px;
    letter-spacing: .6px;
    text-transform: uppercase;
    opacity: .68;
}

.shamodest-checkout-live .checkout-field-label {
    display: block;
    margin-bottom: 7px;
    font-size: 11px;
    line-height: 1.3;
}

.shamodest-checkout-live .checkout-text-field {
    height: 46px;
    margin-bottom: 16px;
    border-color: rgba(30, 26, 22, .14);
    border-radius: 6px;
    padding: 10px 12px;
    font-size: 13px;
}

.shamodest-checkout-live .checkout-text-field:focus {
    border-color: rgba(30, 26, 22, .55);
    outline: 0;
    box-shadow: 0 0 0 2px rgba(30, 26, 22, .04);
}

.shamodest-checkout-live .checkout-field-block {
    gap: 12px;
}

.shamodest-checkout-options {
    gap: 10px;
}

.shamodest-checkout-option {
    box-sizing: border-box;
    min-height: 72px;
    padding: 14px 15px !important;
    border: 1px solid rgba(30, 26, 22, .11);
    border-radius: 7px;
    background: #fff;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.shamodest-checkout-option:hover {
    border-color: rgba(30, 26, 22, .28);
}

.shamodest-checkout-option.is-selected {
    border-color: #111;
    background: #fbfaf8;
    box-shadow: inset 0 0 0 1px #111;
}

.shamodest-checkout-option .checkout-item-button {
    align-self: center;
    width: 16px;
    height: 16px;
    margin: 0;
}

.shamodest-checkout-option .checkout-item-name {
    font-size: 12px;
    line-height: 1.35;
}

.shamodest-checkout-option .checkout-item-text {
    margin-top: 2px;
    font-size: 10px;
    line-height: 1.45;
}

.shamodest-checkout-option > .checkout-item-price {
    font-size: 11px;
    white-space: nowrap;
}

.shamodest-payment-details {
    margin-top: 18px;
}

.shamodest-payment-panel[hidden],
.shamodest-billing-fields[hidden] {
    display: none !important;
}

.shamodest-payment-panel {
    border: 1px solid rgba(30, 26, 22, .11);
    border-radius: 8px;
    background: #fbfaf8;
    padding: 18px;
}

.shamodest-payment-panel-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 14px;
}

.shamodest-payment-panel-heading > div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.shamodest-payment-panel-heading strong {
    font-size: 13px;
    font-weight: 600;
}

.shamodest-payment-panel-heading span:not(.shamodest-payment-status-pill) {
    font-size: 10px;
    opacity: .6;
}

.shamodest-payment-status-pill {
    border: 1px solid rgba(30, 26, 22, .12);
    border-radius: 999px;
    padding: 5px 8px;
    font-size: 8px;
    letter-spacing: .45px;
    text-transform: uppercase;
    white-space: nowrap;
    opacity: .7;
}

.shamodest-provider-note,
.shamodest-payment-panel-copy {
    margin: 0 0 15px;
    font-size: 10px;
    line-height: 1.65;
    opacity: .7;
}

.shamodest-provider-note {
    padding: 12px 13px;
    border-left: 2px solid #111;
    background: rgba(255, 255, 255, .7);
}

.shamodest-card-preview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.shamodest-payment-field-wide {
    grid-column: 1 / -1;
}

.shamodest-secure-input-placeholder,
.shamodest-provider-action-placeholder {
    display: flex;
    align-items: center;
    min-height: 44px;
    box-sizing: border-box;
    border: 1px dashed rgba(30, 26, 22, .24);
    border-radius: 6px;
    background: rgba(255, 255, 255, .75);
    padding: 10px 12px;
    color: rgba(30, 26, 22, .52);
    font-size: 11px;
}

.shamodest-provider-action-placeholder {
    justify-content: center;
    font-weight: 500;
    text-align: center;
}

.shamodest-payment-contact-preview,
.shamodest-bank-instruction-preview {
    display: grid;
    gap: 0;
    overflow: hidden;
    border: 1px solid rgba(30, 26, 22, .10);
    border-radius: 6px;
    background: rgba(255, 255, 255, .75);
}

.shamodest-payment-contact-preview > div,
.shamodest-bank-instruction-preview > div {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 12px;
    padding: 10px 12px;
    border-bottom: 1px solid rgba(30, 26, 22, .08);
}

.shamodest-payment-contact-preview > div:last-child,
.shamodest-bank-instruction-preview > div:last-child {
    border-bottom: 0;
}

.shamodest-payment-contact-preview span,
.shamodest-bank-instruction-preview span {
    font-size: 9px;
    letter-spacing: .45px;
    text-transform: uppercase;
    opacity: .55;
}

.shamodest-payment-contact-preview strong,
.shamodest-bank-instruction-preview strong {
    min-width: 0;
    overflow-wrap: anywhere;
    font-size: 10px;
    font-weight: 500;
}

.shamodest-checkout-checkbox {
    margin-bottom: 0;
    padding: 2px 0;
}

.shamodest-billing-fields:not([hidden]) {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(30, 26, 22, .10);
}

.shamodest-checkout-textarea {
    min-height: 100px !important;
}

.shamodest-checkout-order-item {
    padding: 12px 0;
    border-bottom: 1px solid rgba(30, 26, 22, .08) !important;
}

.shamodest-checkout-order-item:first-child {
    padding-top: 0;
}

.shamodest-checkout-order-item:last-child {
    padding-bottom: 0;
    border-bottom: 0 !important;
}

.shamodest-checkout-order-item .checkout-item-image {
    width: 68px;
    height: 82px;
    border-radius: 5px;
    object-fit: cover;
}

.shamodest-checkout-live .checkout-line-item {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
}

.shamodest-checkout-summary {
    position: sticky !important;
    top: 22px;
}

.shamodest-place-order-button {
    min-height: 48px;
    border-radius: 5px;
}

/* Confirmation layout */
.shamodest-order-success-header {
    margin-bottom: 28px !important;
    text-align: left;
}

.shamodest-order-success-mark {
    margin: 0 0 14px;
}

.shamodest-order-success-header p {
    max-width: 720px;
}

.shamodest-confirmation-layout .checkout-left-block {
    gap: 18px;
}

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

.shamodest-confirmation-detail-grid > section {
    min-width: 0;
}

.shamodest-confirmation-payment-note {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(30, 26, 22, .08);
    font-size: 10px;
    line-height: 1.55;
    opacity: .7;
}

.shamodest-payment-status-badge {
    display: inline-flex;
    align-items: center;
    margin-top: 6px;
    border: 1px solid rgba(30, 26, 22, .12);
    border-radius: 999px;
    padding: 5px 8px;
    font-size: 8px;
    letter-spacing: .45px;
    text-transform: uppercase;
}

@media screen and (max-width: 991px) {
    .shamodest-checkout-live form > .checkout-block,
    .shamodest-checkout-live .shamodest-confirmation-layout {
        grid-template-columns: 1fr;
        max-width: 760px;
    }

    .shamodest-checkout-live .shamodest-checkout-heading,
    .shamodest-checkout-live .shamodest-order-success-header {
        max-width: 760px;
    }

    .shamodest-checkout-summary {
        position: static !important;
    }
}

@media screen and (max-width: 767px) {
    .shamodest-checkout-live {
        padding-left: 0;
        padding-right: 0;
    }

    .shamodest-checkout-live .checkout-block-header,
    .shamodest-checkout-live .checkout-block-content {
        padding-left: 18px;
        padding-right: 18px;
    }

    .shamodest-checkout-live .checkout-field-block,
    .shamodest-confirmation-detail-grid,
    .shamodest-confirmation-columns {
        grid-template-columns: 1fr;
    }

    .shamodest-card-preview-grid {
        grid-template-columns: 1fr 1fr;
    }

    .shamodest-checkout-live .checkout-title {
        font-size: 22px;
    }
}

@media screen and (max-width: 479px) {
    .shamodest-checkout-live .checkout-block-header {
        align-items: flex-start;
    }

    .shamodest-secure-label {
        display: none;
    }

    .shamodest-checkout-option {
        grid-template-columns: auto 1fr !important;
    }

    .shamodest-checkout-option > .checkout-item-price {
        grid-column: 2;
    }

    .shamodest-payment-contact-preview > div,
    .shamodest-bank-instruction-preview > div {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}

/* Current product galleries: exactly three photos per photographed colour. */
.shamodest-product-details-image-block[data-product-gallery] {
    min-width: 0;
}

.shamodest-gallery-group[hidden] {
    display: none !important;
}

.shamodest-gallery-group.is-active {
    display: block;
}

.shamodest-gallery-main-frame {
    width: 100%;
    overflow: hidden;
    background: #f7f5f1;
}

.shamodest-gallery-main-image {
    width: 100%;
    height: min(72vh, 820px);
    min-height: 560px;
    object-fit: contain;
    object-position: center;
    background: #f7f5f1;
}

.shamodest-gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 12px;
}

.shamodest-gallery-thumbnail {
    min-width: 0;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 0;
    background: #f7f5f1;
    cursor: pointer;
    overflow: hidden;
    transition: border-color .2s ease, opacity .2s ease;
}

.shamodest-gallery-thumbnail:hover,
.shamodest-gallery-thumbnail:focus-visible,
.shamodest-gallery-thumbnail.is-active {
    border-color: #173d32;
}

.shamodest-gallery-thumbnail img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center;
}

/* Out-of-stock colours stay selectable so their three photos remain viewable. */
.shamodest-color-option.is-unavailable {
    cursor: pointer;
}

@media screen and (max-width: 767px) {
    .product-details-image-block.shamodest-product-details-image-block[data-product-gallery] {
        display: block !important;
        width: 100%;
        max-width: 100%;
    }

    .product-details-slider {
        display: none !important;
    }

    .shamodest-gallery-main-image {
        height: auto;
        min-height: 0;
        aspect-ratio: 4 / 5;
        object-fit: contain;
    }

    .shamodest-gallery-thumbnails {
        gap: 8px;
        margin-top: 8px;
    }

    .shamodest-gallery-thumbnail img {
        aspect-ratio: 1 / 1.15;
    }
}

/* Product image lightbox / zoom */
.shamodest-gallery-main-frame {
    position: relative;
}

.shamodest-gallery-main-image,
.shamodest-product-details-image-block > .shamodest-product-details-image {
    cursor: zoom-in;
}

.shamodest-gallery-main-image:focus-visible,
.shamodest-product-details-image-block > .shamodest-product-details-image:focus-visible {
    outline: 2px solid #173d32;
    outline-offset: -2px;
}

body.shamodest-lightbox-open {
    overflow: hidden;
}

.shamodest-image-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: grid;
    grid-template-columns: minmax(56px, 9vw) 1fr minmax(56px, 9vw);
    align-items: center;
    background: rgba(10, 10, 10, .94);
    opacity: 0;
    visibility: hidden;
    transition: opacity .18s ease, visibility .18s ease;
}

.shamodest-image-lightbox[hidden] {
    display: none !important;
}

.shamodest-image-lightbox.is-open {
    opacity: 1;
    visibility: visible;
}

.shamodest-lightbox-stage {
    grid-column: 2;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100vh;
    padding: 32px 0;
}

.shamodest-lightbox-image {
    display: block;
    max-width: min(86vw, 1400px);
    max-height: calc(100vh - 64px);
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
    user-select: none;
    -webkit-user-drag: none;
}

.shamodest-lightbox-close,
.shamodest-lightbox-nav {
    appearance: none;
    -webkit-appearance: none;
    border: 0;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    cursor: pointer;
    transition: background-color .2s ease, transform .2s ease;
}

.shamodest-lightbox-close:hover,
.shamodest-lightbox-close:focus-visible,
.shamodest-lightbox-nav:hover,
.shamodest-lightbox-nav:focus-visible {
    background: rgba(255, 255, 255, .18);
    outline: 0;
}

.shamodest-lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 36px;
    line-height: 1;
    font-family: Arial, sans-serif;
}

.shamodest-lightbox-close span {
    margin-top: -3px;
}

.shamodest-lightbox-nav {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 72px;
    margin: 0 auto;
    border-radius: 999px;
    font-size: 52px;
    line-height: 1;
    font-family: Arial, sans-serif;
}

.shamodest-lightbox-prev {
    grid-column: 1;
}

.shamodest-lightbox-next {
    grid-column: 3;
}

.shamodest-lightbox-counter {
    position: absolute;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(0, 0, 0, .48);
    color: #fff;
    font-size: 12px;
    line-height: 1;
    font-weight: 600;
    letter-spacing: .08em;
}

@media screen and (max-width: 767px) {
    .shamodest-image-lightbox {
        grid-template-columns: 52px 1fr 52px;
    }

    .shamodest-lightbox-stage {
        padding: 56px 0 42px;
    }

    .shamodest-lightbox-image {
        max-width: calc(100vw - 32px);
        max-height: calc(100vh - 112px);
    }

    .shamodest-lightbox-close {
        top: 12px;
        right: 12px;
        width: 42px;
        height: 42px;
        font-size: 31px;
    }

    .shamodest-lightbox-nav {
        position: absolute;
        top: 50%;
        width: 42px;
        height: 58px;
        margin: 0;
        transform: translateY(-50%);
        font-size: 42px;
    }

    .shamodest-lightbox-prev {
        left: 8px;
    }

    .shamodest-lightbox-next {
        right: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .shamodest-image-lightbox,
    .shamodest-lightbox-close,
    .shamodest-lightbox-nav {
        transition: none;
    }
}

/* SHAMODEST lightbox alignment fix
   Only adjusts the enlarged-image overlay alignment and navigation buttons. */
.shamodest-image-lightbox {
    display: block;
}

.shamodest-lightbox-stage {
    position: absolute;
    inset: 0;
    grid-column: auto;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    box-sizing: border-box;
    padding: 32px 92px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shamodest-lightbox-image {
    max-width: min(calc(100vw - 184px), 1400px);
    max-height: calc(100vh - 64px);
    max-height: calc(100dvh - 64px);
    margin: 0 auto;
}

.shamodest-lightbox-nav {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 56px;
    height: 56px;
    min-width: 56px;
    min-height: 56px;
    margin: 0;
    padding: 0;
    border-radius: 50%;
    transform: translateY(-50%);
    box-sizing: border-box;
    font-size: 44px;
    line-height: 1;
}

.shamodest-lightbox-nav > span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    line-height: 1;
    transform: translateY(-2px);
}

.shamodest-lightbox-prev {
    left: 24px;
    grid-column: auto;
}

.shamodest-lightbox-next {
    right: 24px;
    grid-column: auto;
}

@media screen and (max-width: 767px) {
    .shamodest-image-lightbox {
        display: block;
        grid-template-columns: none;
    }

    .shamodest-lightbox-stage {
        inset: 0;
        width: 100vw;
        height: 100vh;
        height: 100dvh;
        padding:
            calc(62px + env(safe-area-inset-top))
            16px
            calc(48px + env(safe-area-inset-bottom));
    }

    .shamodest-lightbox-image {
        display: block;
        max-width: calc(100vw - 32px);
        max-height: calc(100vh - 110px);
        max-height: calc(100dvh - 110px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
        width: auto;
        height: auto;
        margin: 0 auto;
        object-position: center center;
    }

    .shamodest-lightbox-nav {
        position: absolute;
        top: 50%;
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
        margin: 0;
        padding: 0;
        border-radius: 50%;
        transform: translateY(-50%);
        font-size: 36px;
        background: rgba(30, 30, 30, .72);
    }

    .shamodest-lightbox-nav > span {
        transform: translateY(-1px);
    }

    .shamodest-lightbox-prev {
        left: 10px;
    }

    .shamodest-lightbox-next {
        right: 10px;
    }

    .shamodest-lightbox-close {
        top: calc(12px + env(safe-area-inset-top));
        right: 12px;
    }

    .shamodest-lightbox-counter {
        bottom: calc(12px + env(safe-area-inset-bottom));
    }
}

/* SHAMODEST shop-page parity
   Keep the Shop page aligned with the Home page without changing any other page. */
@media screen and (min-width: 992px) {
    .shamodest-shop-page .shop-section > .section-gap > .shop-block {
        box-sizing: border-box;
        width: 100%;
        padding-left: 2.083vw;
        padding-right: 2.083vw;
    }
}

@media screen and (max-width: 991px) {
    .shamodest-shop-page .main-wrapper {
        box-sizing: border-box;
        width: 100%;
        padding-left: 10px;
        padding-right: 10px;
    }

    .shamodest-shop-page .trending-hero-section,
    .shamodest-shop-page .shop-section {
        box-sizing: border-box;
        width: 100%;
    }

    .shamodest-shop-page .shop-section > .section-gap,
    .shamodest-shop-page .shop-section > .section-gap > .shop-block {
        box-sizing: border-box;
        width: 100%;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .shamodest-shop-page .shop-content-block {
        box-sizing: border-box;
        width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

    .shamodest-shop-page .shop-tabs,
    .shamodest-shop-page .shop-tabs-content,
    .shamodest-shop-page .shop-tab-pane,
    .shamodest-shop-page .product-list,
    .shamodest-shop-page .product-post,
    .shamodest-shop-page .product-image-block {
        min-width: 0;
        max-width: 100%;
    }

    .shamodest-shop-page .product-list {
        width: 100%;
    }
}

/* SHAMODEST site-wide storefront spacing + mobile header parity. */
:root {
    --shamodest-storefront-mobile-gutter: 10px;
}

@media screen and (max-width: 991px) {
    /* Keep the same safe edge spacing used on the corrected Shop page. */
    body:not(.shamodest-home-page) .page-wrapper > .main-wrapper {
        box-sizing: border-box;
        width: 100%;
        min-width: 0;
        padding-left: var(--shamodest-storefront-mobile-gutter) !important;
        padding-right: var(--shamodest-storefront-mobile-gutter) !important;
    }

    body:not(.shamodest-home-page) .page-wrapper > .main-wrapper > section,
    body:not(.shamodest-home-page) .page-wrapper > .main-wrapper .container-default {
        min-width: 0;
        max-width: 100%;
    }

    /* display: contents on the mobile icon wrapper made the account icon
       auto-place onto a second grid row. Anchor it beside the cart instead. */
    .header-block {
        position: relative;
    }

    .header-block .shamodest-account-wrap {
        position: absolute !important;
        top: 50% !important;
        right: 58px !important;
        z-index: 4;
        width: 24px;
        height: 32px;
        margin: 0 !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
        transform: translateY(-50%);
    }

    .header-block .shamodest-account-link {
        position: relative !important;
        inset: auto !important;
        width: 24px;
        height: 24px;
        margin: 0 !important;
    }
}

@media screen and (max-width: 479px) {
    .header-block .shamodest-account-wrap {
        right: 52px !important;
    }
}

/* Smooth movement when customers change or swipe product photos. */
.shamodest-gallery-main-frame {
    overflow: hidden;
}

.shamodest-gallery-main-image {
    touch-action: pan-y;
    will-change: transform, opacity;
}

.shamodest-lightbox-image {
    will-change: transform, opacity;
}

.shamodest-gallery-group.is-gallery-entering {
    animation: shamodest-gallery-group-enter .28s cubic-bezier(.22, .61, .36, 1) both;
}

.shamodest-gallery-main-image.is-slide-next,
.shamodest-lightbox-image.is-slide-next {
    animation: shamodest-product-image-next .3s cubic-bezier(.22, .61, .36, 1) both;
}

.shamodest-gallery-main-image.is-slide-prev,
.shamodest-lightbox-image.is-slide-prev {
    animation: shamodest-product-image-prev .3s cubic-bezier(.22, .61, .36, 1) both;
}

@keyframes shamodest-gallery-group-enter {
    from {
        opacity: .45;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shamodest-product-image-next {
    from {
        opacity: .35;
        transform: translateX(22px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes shamodest-product-image-prev {
    from {
        opacity: .35;
        transform: translateX(-22px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .shamodest-gallery-group.is-gallery-entering,
    .shamodest-gallery-main-image.is-slide-next,
    .shamodest-gallery-main-image.is-slide-prev,
    .shamodest-lightbox-image.is-slide-next,
    .shamodest-lightbox-image.is-slide-prev {
        animation: none !important;
    }
}

/* SHAMODEST compact product cards: two-across mobile catalogue + visible metadata. */
.shamodest-product-media {
    position: relative;
    min-width: 0;
}

.shamodest-product-listing-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
    padding: 13px 4px 0;
    text-align: center;
}

.shamodest-product-swatches {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 7px;
    min-height: 20px;
    margin-bottom: 10px;
}

.shamodest-product-swatch {
    display: inline-block;
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    border: 1px solid rgba(0, 0, 0, .14);
    border-radius: 50%;
    background: var(--shamodest-swatch, #d6d0c8);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35);
}

.shamodest-product-swatch-more {
    font-size: 12px;
    line-height: 17px;
    font-weight: 600;
}

.shamodest-product-listing-name {
    display: block;
    width: 100%;
    color: var(--neutral);
    font-size: 15px;
    line-height: 1.35;
    font-weight: 500;
    letter-spacing: .02em;
    text-decoration: none;
}

.shamodest-product-listing-price {
    margin-top: 5px;
    color: var(--neutral);
    font-size: 17px;
    line-height: 1.25;
    font-weight: 500;
}

@media screen and (max-width: 767px) {
    .product-list,
    .product-list.for-home,
    .product-list.for-trending {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        grid-column-gap: 10px !important;
        grid-row-gap: 28px !important;
    }

    .shamodest-product-post {
        min-width: 0;
        overflow: visible;
    }

    .shamodest-product-media {
        width: 100%;
        aspect-ratio: 2 / 3;
        overflow: hidden;
        background: #f4f1ec;
    }

    .shamodest-product-media .product-image-block,
    .shamodest-product-media .shamodest-product-image {
        width: 100%;
        height: 100%;
    }

    .shamodest-product-media .shamodest-product-image {
        object-fit: cover;
        object-position: center;
    }

    .shamodest-product-media .product-icon {
        width: 32px;
        height: 32px;
        right: 8px;
        bottom: 8px;
    }

    .shamodest-product-media .product-plus {
        height: 13px;
    }

    .shamodest-product-media .product-minus {
        width: 13px;
    }

    .shamodest-product-listing-meta {
        padding-top: 9px;
    }

    .shamodest-product-swatches {
        gap: 5px;
        margin-bottom: 7px;
    }

    .shamodest-product-swatch {
        width: 14px;
        height: 14px;
        flex-basis: 14px;
    }

    .shamodest-product-swatch-more {
        font-size: 10px;
        line-height: 14px;
    }

    .shamodest-product-listing-name {
        font-size: 12px;
        line-height: 1.35;
    }

    .shamodest-product-listing-price {
        margin-top: 4px;
        font-size: 14px;
    }

    .shamodest-product-card {
        max-width: calc(100% - 12px);
        right: 6px;
        bottom: 6px;
    }
}

/* New-customer 15% welcome voucher modal. The form is front-end ready and
   intentionally waits for the voucher-code generator integration. */
.shamodest-welcome-offer[hidden] {
    display: none !important;
}

.shamodest-welcome-offer {
    position: fixed;
    inset: 0;
    z-index: 20000;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 24px;
}

.shamodest-welcome-offer-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: rgba(0, 0, 0, .58);
    cursor: pointer;
}

.shamodest-welcome-offer-dialog {
    position: relative;
    z-index: 1;
    width: min(600px, 100%);
    max-height: calc(100vh - 48px);
    max-height: calc(100dvh - 48px);
    overflow: auto;
    border-radius: 18px;
    background: #fff;
    color: #111;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .28);
}

.shamodest-welcome-offer-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 3;
    display: flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    color: #111;
    font-size: 34px;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
}

.shamodest-welcome-offer-visual {
    position: relative;
    min-height: 320px;
    overflow: hidden;
    background: #eee8df;
}

.shamodest-welcome-offer-image {
    display: block;
    width: 100%;
    height: 360px;
    object-fit: cover;
    object-position: center 37%;
}

.shamodest-welcome-offer-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,.02) 25%, rgba(0,0,0,.16) 100%);
    pointer-events: none;
}

.shamodest-welcome-offer-visual-copy {
    position: absolute;
    z-index: 2;
    inset: 24px 24px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #111;
    text-align: center;
}

.shamodest-welcome-offer-logo {
    width: 170px;
    max-width: 52%;
    height: auto;
    margin-bottom: 8px;
}

.shamodest-welcome-offer-visual-copy span {
    font-size: 15px;
    letter-spacing: .22em;
    text-transform: uppercase;
}

.shamodest-welcome-offer-visual-copy strong {
    margin-top: 150px;
    padding: 11px 24px;
    border-radius: 12px;
    background: rgba(244, 206, 123, .93);
    font-size: 36px;
    line-height: 1;
    letter-spacing: .12em;
}

.shamodest-welcome-offer-content {
    padding: 26px 38px 34px;
    text-align: center;
}

.shamodest-welcome-offer-content h2 {
    margin: 0 0 8px;
    font-size: 30px;
    line-height: 1.12;
    font-weight: 700;
}

.shamodest-welcome-offer-lead {
    margin: 0;
    font-size: 17px;
    line-height: 1.45;
    font-weight: 600;
}

.shamodest-welcome-offer-note {
    margin: 8px 0 20px;
    font-size: 14px;
    line-height: 1.5;
}

.shamodest-welcome-offer-form {
    display: grid;
    gap: 12px;
}

.shamodest-welcome-offer-form input {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #b8b8b8;
    border-radius: 0;
    background: #fff;
    padding: 15px 16px;
    color: #111;
    font: inherit;
    font-size: 16px;
    outline: none;
}

.shamodest-welcome-offer-form input:focus {
    border-color: #111;
}

.shamodest-welcome-offer-form button {
    border: 0;
    background: #efc36a;
    padding: 16px 18px;
    color: #111;
    font: inherit;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .02em;
    cursor: pointer;
}

.shamodest-welcome-offer-status {
    min-height: 0;
    margin: 0;
    color: #5e5e5e;
    font-size: 12px;
    line-height: 1.45;
}

.shamodest-welcome-offer-status:empty {
    display: none;
}

.shamodest-welcome-offer-decline {
    margin-top: 18px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #111;
    font: inherit;
    font-size: 14px;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.shamodest-welcome-offer-fineprint {
    margin: 22px auto 0;
    max-width: 460px;
    color: #707070;
    font-size: 10px;
    line-height: 1.55;
}

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

body.shamodest-offer-open {
    overflow: hidden;
}

@media screen and (max-width: 767px) {
    .shamodest-welcome-offer {
        align-items: center;
        padding: 16px;
    }

    .shamodest-welcome-offer-dialog {
        width: min(520px, 100%);
        max-height: calc(100vh - 32px);
        max-height: calc(100dvh - 32px);
        border-radius: 14px;
    }

    .shamodest-welcome-offer-close {
        top: 9px;
        right: 9px;
        width: 38px;
        height: 38px;
        font-size: 30px;
    }

    .shamodest-welcome-offer-visual {
        min-height: 235px;
    }

    .shamodest-welcome-offer-image {
        height: 255px;
    }

    .shamodest-welcome-offer-visual-copy {
        inset: 16px 16px auto;
    }

    .shamodest-welcome-offer-logo {
        width: 138px;
    }

    .shamodest-welcome-offer-visual-copy span {
        font-size: 11px;
    }

    .shamodest-welcome-offer-visual-copy strong {
        margin-top: 101px;
        padding: 9px 18px;
        font-size: 27px;
    }

    .shamodest-welcome-offer-content {
        padding: 20px 20px 24px;
    }

    .shamodest-welcome-offer-content h2 {
        font-size: 24px;
    }

    .shamodest-welcome-offer-lead {
        font-size: 15px;
    }

    .shamodest-welcome-offer-note {
        font-size: 12px;
        margin-bottom: 16px;
    }

    .shamodest-welcome-offer-form input,
    .shamodest-welcome-offer-form button {
        padding: 13px 14px;
        font-size: 14px;
    }

    .shamodest-welcome-offer-fineprint {
        margin-top: 16px;
        font-size: 9px;
    }
}

/* SHAMODEST storefront consistency pass: product detail page + related catalogue. */
@media screen and (max-width: 991px) {
    .shamodest-product-page .page-wrapper > .main-wrapper {
        box-sizing: border-box;
        width: 100%;
        padding-left: var(--shamodest-storefront-mobile-gutter) !important;
        padding-right: var(--shamodest-storefront-mobile-gutter) !important;
    }

    .shamodest-product-page .hero-section > .container-default,
    .shamodest-product-page .product-details-section > .container-default,
    .shamodest-product-page .shamodest-product-info-section > .container-default,
    .shamodest-product-page .shamodest-related-products-section .container-default,
    .shamodest-product-page .newsletter-section > .container-default {
        box-sizing: border-box;
        width: 100%;
        max-width: 100%;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .shamodest-product-page .product-details-block,
    .shamodest-product-page .product-details-image-block,
    .shamodest-product-page .product-details-content-block,
    .shamodest-product-page .product-description-block,
    .shamodest-product-page .shamodest-related-product-list {
        min-width: 0;
        max-width: 100%;
    }
}

/* "More from …" now follows the same two-across mobile card system as Shop. */
.shamodest-related-product-list {
    width: 100%;
}

@media screen and (max-width: 767px) {
    .shamodest-related-product-list {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        grid-column-gap: 10px !important;
        grid-row-gap: 28px !important;
    }
}

/* Welcome voucher: protect the fashion photo from promotional overlays. */
.shamodest-welcome-offer-visual {
    min-height: 0;
    background: #eee8df;
}

.shamodest-welcome-offer-image {
    width: 100%;
    height: 330px;
    object-fit: cover;
    object-position: center 34%;
}

.shamodest-welcome-offer-visual::after {
    display: none;
}

.shamodest-welcome-offer-visual-copy {
    display: none;
}

.shamodest-welcome-offer-branding {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: -4px 0 15px;
    text-align: center;
}

.shamodest-welcome-offer-branding .shamodest-welcome-offer-logo {
    width: 128px;
    max-width: 48%;
    height: auto;
    margin: 0 0 3px;
}

.shamodest-welcome-offer-eyebrow {
    font-size: 10px;
    line-height: 1.35;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.shamodest-welcome-offer-discount {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 9px;
    padding: 7px 17px;
    border-radius: 999px;
    background: #efc36a;
    color: #111;
    font-size: 18px;
    line-height: 1;
    letter-spacing: .08em;
}

@media screen and (max-width: 767px) {
    .shamodest-welcome-offer-dialog {
        max-height: calc(100dvh - 24px);
    }

    .shamodest-welcome-offer-image {
        height: 245px;
        object-position: center 31%;
    }

    .shamodest-welcome-offer-content {
        padding-top: 16px;
    }

    .shamodest-welcome-offer-branding {
        margin-bottom: 12px;
    }

    .shamodest-welcome-offer-branding .shamodest-welcome-offer-logo {
        width: 104px;
    }

    .shamodest-welcome-offer-discount {
        margin-top: 7px;
        padding: 6px 14px;
        font-size: 16px;
    }
}

/* Shop card colour preview: clicking a colour swatch slides the card image to
   the first photo stored for that colour. Scoped to the shop page only. */
.shamodest-shop-page .shamodest-product-post .product-image-block {
    overflow: hidden;
}

.shamodest-shop-page .shamodest-product-post .shamodest-product-image {
    transition: transform .28s cubic-bezier(.22, .61, .36, 1), opacity .28s ease;
}

.shamodest-shop-page .shamodest-product-swatch[data-product-color-swatch] {
    cursor: pointer;
}

.shamodest-shop-page .shamodest-product-swatch[data-product-color-swatch]:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

.shamodest-shop-page .shamodest-product-image.is-color-slide-out-left {
    transform: translateX(-16%) !important;
    opacity: 0;
}

.shamodest-shop-page .shamodest-product-image.is-color-slide-out-right {
    transform: translateX(16%) !important;
    opacity: 0;
}

.shamodest-shop-page .shamodest-product-image.is-color-slide-prep-right {
    transition: none !important;
    transform: translateX(16%) !important;
    opacity: 0;
}

.shamodest-shop-page .shamodest-product-image.is-color-slide-prep-left {
    transition: none !important;
    transform: translateX(-16%) !important;
    opacity: 0;
}

.shamodest-shop-page .shamodest-product-image.is-color-slide-in {
    transform: translateX(0) !important;
    opacity: 1;
}

/* Keep compositor promotion temporary. Permanently applying will-change to
   every desktop product image creates a large GPU texture budget; Chromium can
   then evict off-screen card textures and re-rasterize/decode them when the
   user scrolls back. Only the image currently sliding needs its own layer. */
.shamodest-shop-page .shamodest-product-image.is-color-slide-out-left,
.shamodest-shop-page .shamodest-product-image.is-color-slide-out-right,
.shamodest-shop-page .shamodest-product-image.is-color-slide-prep-right,
.shamodest-shop-page .shamodest-product-image.is-color-slide-prep-left,
.shamodest-shop-page .shamodest-product-image.is-color-slide-in {
    will-change: transform, opacity;
}


/* Shop colour preview: keep the card's existing hover zoom active throughout
   the colour slide. Without this, the slide ends at translateX(0) and then the
   normal product-card hover scale(1.025) is re-applied one frame later, which
   causes a visible post-slide flicker/snap. */
.shamodest-shop-page .shamodest-product-post:hover .shamodest-product-image.is-color-slide-out-left {
    transform: translateX(-16%) scale(1.025) !important;
}

.shamodest-shop-page .shamodest-product-post:hover .shamodest-product-image.is-color-slide-out-right {
    transform: translateX(16%) scale(1.025) !important;
}

.shamodest-shop-page .shamodest-product-post:hover .shamodest-product-image.is-color-slide-prep-right {
    transform: translateX(16%) scale(1.025) !important;
}

.shamodest-shop-page .shamodest-product-post:hover .shamodest-product-image.is-color-slide-prep-left {
    transform: translateX(-16%) scale(1.025) !important;
}

.shamodest-shop-page .shamodest-product-post:hover .shamodest-product-image.is-color-slide-in {
    transform: translateX(0) scale(1.025) !important;
}

/* SHAMODEST unified CTA buttons — match the Place Order button exactly. */
.shamodest-primary-btn,
.shamodest-secondary-btn,
.shamodest-cart-page-primary,
.shamodest-detail-cart-button,
.header-checkout-button,
.checkout-button {
    border: 0 !important;
    border-radius: var(--_border-radius---small, 4px) !important;
    background-color: var(--neutral, #000) !important;
    color: var(--white, #fff) !important;
    background-image: url('../images/Cicle.svg') !important;
    background-position: 20% -20% !important;
    background-repeat: no-repeat !important;
    background-size: auto !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 14px 22px !important;
    font: inherit;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: background-position 1.2s ease-out !important;
    overflow: hidden !important;
    cursor: pointer;
}

.shamodest-primary-btn:hover,
.shamodest-secondary-btn:hover,
.shamodest-cart-page-primary:hover,
.shamodest-detail-cart-button:hover,
.header-checkout-button:hover,
.checkout-button:hover {
    background-position: 20% 55% !important;
}

/* Keep disabled CTA buttons visually disabled without changing their design. */
.shamodest-primary-btn:disabled,
.shamodest-secondary-btn:disabled,
.shamodest-detail-cart-button:disabled,
.checkout-button:disabled {
    cursor: not-allowed;
    opacity: .5;
}

/* Profile page: remove the old green palette and use SHAMODEST's neutral identity. */
body.shamodest-account-page {
    background: var(--background, #fbf8f1) !important;
    color: var(--neutral, #000) !important;
}

.shamodest-account-actions a,
.shamodest-account-actions button {
    color: var(--neutral, #000) !important;
}

.shamodest-account-header p,
.shamodest-account-placeholder {
    color: var(--_neutral-color---300, #545454) !important;
}

.shamodest-account-page .shamodest-panel {
    border-color: rgba(0, 0, 0, .12) !important;
}

.shamodest-account-page .shamodest-field input,
.shamodest-account-page .shamodest-field select {
    color: var(--neutral, #000) !important;
    border-color: #d8d3ca !important;
}

.shamodest-account-page .shamodest-field input:focus,
.shamodest-account-page .shamodest-field select:focus {
    border-color: var(--neutral, #000) !important;
}

.shamodest-account-page .shamodest-status {
    background: #f3eee6 !important;
    border-color: #d8cdbf !important;
    color: var(--neutral, #000) !important;
}
/* Center logo on Profile page only */
.shamodest-account-top {
    position: relative;
    justify-content: flex-end;
    min-height: 90px;
}

.shamodest-account-top > a:first-child {
    position: absolute;
    left: 50%;
    top: 12px;
    transform: translateX(-50%);
}

.shamodest-account-top > a:first-child img {
    display: block;
}
/* Profile top layout fix */
.shamodest-account-top {
    position: relative;
    min-height: 115px;
    margin-bottom: 10px;
}

/* Center logo */
.shamodest-account-top > a:first-child {
    position: absolute;
    left: 50%;
    top: 12px;
    transform: translateX(-50%);
}

/* Move Continue Shopping + Log Out down beside My Account */
.shamodest-account-actions {
    position: absolute;
    right: 0;
    bottom: 8px;
}
/* SHAMODEST footer identity fix */
.shamodest-footer {
    color: #1f1a17;
    background: #f4f0e9;
    border-top: 1px solid rgba(31, 26, 23, 0.12);
}

.shamodest-instagram {
    background: #ffffff;
    border-bottom: 1px solid rgba(31, 26, 23, 0.12);
}

.shamodest-instagram-title,
.shamodest-instagram-mark,
.shamodest-footer-kicker,
.shamodest-footer-statement,
.shamodest-footer-heading,
.shamodest-footer-shop-link {
    color: #1f1a17;
}

.shamodest-instagram-kicker,
.shamodest-footer-description,
.shamodest-footer-link,
.shamodest-footer-back-to-top,
.shamodest-footer-bottom {
    color: rgba(31, 26, 23, 0.72);
}

.shamodest-footer-shop-link {
    border-bottom: 1px solid currentColor;
}

.shamodest-footer-link:hover,
.shamodest-footer-back-to-top:hover,
.shamodest-footer-shop-link:hover,
.shamodest-instagram-card:hover .shamodest-instagram-overlay {
    color: #000000;
}

.shamodest-footer-bottom {
    border-top: 1px solid rgba(31, 26, 23, 0.12);
}
/* Hide the old Webflow Pages dropdown */
.header-dropdown.w-dropdown {
    display: none !important;
}


/* Database-managed Offers use the exact existing welcome-popup design.
   This class gives non-email offers the same gold CTA treatment as the current form button. */
.shamodest-welcome-offer-cta {
    display: block;
    width: 100%;
    box-sizing: border-box;
    border: 0;
    background: #efc36a;
    padding: 16px 18px;
    color: #111;
    font: inherit;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: .02em;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.shamodest-welcome-offer-cta:hover,
.shamodest-welcome-offer-cta:focus {
    color: #111;
    text-decoration: none;
}


/* ============================================================
   SHAMODEST Discounts
   ============================================================ */

.shamodest-price-display {
    display: inline-flex;
    flex-direction: column;
    align-items: inherit;
    gap: 4px;
    line-height: 1.25;
}

.shamodest-discount-price-line {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: inherit;
    gap: 5px 8px;
}

.shamodest-discount-old-price {
    color: #7e7772;
    font-weight: 400;
    text-decoration-line: line-through;
    text-decoration-color: #e35b5b;
    text-decoration-thickness: 1.6px;
}

.shamodest-discount-new-price {
    color: inherit;
    font-weight: 700;
}

.shamodest-discount-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 7px;
    border: 1px solid rgba(214, 70, 70, .42);
    border-radius: 999px;
    background: rgba(214, 70, 70, .06);
    color: #cf4646;
    font-size: 9px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: .05em;
    text-transform: uppercase;
    white-space: nowrap;
}

.shamodest-discount-countdown {
    color: #756e69;
    font-size: 10px;
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: .02em;
}

.shamodest-price-display.is-detail {
    gap: 7px;
}

.shamodest-price-display.is-detail .shamodest-discount-price-line {
    gap: 8px 12px;
}

.shamodest-price-display.is-detail .shamodest-discount-old-price,
.shamodest-price-display.is-detail .shamodest-discount-new-price {
    font-size: inherit;
}

.shamodest-price-display.is-detail .shamodest-discount-countdown {
    font-size: 11px;
}

.shamodest-product-listing-price .shamodest-price-display,
.product-original-price .shamodest-price-display {
    align-items: center;
}

.shamodest-product-listing-price .shamodest-discount-price-line,
.product-original-price .shamodest-discount-price-line {
    justify-content: center;
}

.header-cart-price .shamodest-cart-old-unit,
.shamodest-cart-old-line,
.shamodest-cart-old-unit,
.shamodest-checkout-old-price {
    color: #817a75;
    text-decoration-line: line-through;
    text-decoration-color: #e35b5b;
    text-decoration-thickness: 1.5px;
}

.header-cart-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 7px;
}

.shamodest-cart-page-price .shamodest-cart-old-line {
    font-size: 12px;
}

.shamodest-cart-discount-label {
    color: #cf4646 !important;
    font-size: 10px !important;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.shamodest-cart-saving-row,
.shamodest-checkout-saving-row {
    color: #b13e3e;
}

.shamodest-checkout-discount-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

@media screen and (max-width: 767px) {
    .shamodest-discount-price-line {
        gap: 4px 6px;
    }

    .shamodest-discount-label {
        padding: 1px 6px;
        font-size: 8px;
    }

    .shamodest-discount-countdown {
        font-size: 9px;
    }
}


/* ============================================================
   SHAMODEST Discount Price – visual correction
   Old price: clearly struck through.
   New price: restrained sale red.
   ============================================================ */

.shamodest-discount-old-price {
    position: relative !important;
    display: inline-block !important;
    color: #514b47 !important;
    text-decoration: none !important;
    font-weight: 400 !important;
}

.shamodest-discount-old-price::after {
    content: "" !important;
    position: absolute !important;
    left: -2% !important;
    right: -2% !important;
    top: 50% !important;
    height: 1.5px !important;
    background: #d84b4b !important;
    transform: translateY(-50%) !important;
    pointer-events: none !important;
}

.shamodest-discount-new-price {
    color: #cf3f3f !important;
    font-weight: 700 !important;
}


/* ============================================================
   SHAMODEST Discount Price – final colour plan
   Old price: red + struck through
   New price: green
   SALE word: larger green text, no badge/icon
   Countdown: yellow
   ============================================================ */

.shamodest-discount-old-price {
    position: relative !important;
    display: inline-block !important;
    color: #d94a4a !important;
    text-decoration: none !important;
    font-weight: 500 !important;
}

.shamodest-discount-old-price::after {
    content: "" !important;
    position: absolute !important;
    left: -2% !important;
    right: -2% !important;
    top: 50% !important;
    height: 1.6px !important;
    background: #d94a4a !important;
    transform: translateY(-50%) !important;
    pointer-events: none !important;
}

.shamodest-discount-new-price {
    color: #2f8f46 !important;
    font-weight: 700 !important;
}

.shamodest-discount-label {
    display: inline !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #2f8f46 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    letter-spacing: .035em !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
}

.shamodest-discount-countdown {
    color: #d6a300 !important;
    font-weight: 600 !important;
}

.shamodest-price-display.is-detail .shamodest-discount-label {
    font-size: 14px !important;
}

.shamodest-price-display.is-detail .shamodest-discount-countdown {
    color: #d6a300 !important;
}
/* Keep all Shop product images exactly 2:3 on every screen */
.shamodest-shop-page .shamodest-product-media {
    width: 100%;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: #f4f1ec;
}

.shamodest-shop-page .shamodest-product-media .product-image-block {
    width: 100%;
    height: 100%;
}

.shamodest-shop-page .shamodest-product-media .shamodest-product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Dynamic curated collections: Trending / On Sale / Best Selling / New Collection. */
.shamodest-collection-page .shamodest-product-media {
    width: 100%;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: #f4f1ec;
}

.shamodest-collection-page .shamodest-product-media .product-image-block,
.shamodest-collection-page .shamodest-product-media .shamodest-product-image {
    width: 100%;
    height: 100%;
}

.shamodest-collection-page .shamodest-product-media .shamodest-product-image {
    object-fit: cover;
    object-position: center;
}

.shamodest-collection-page .shamodest-product-listing-meta {
    display: none;
}

.shamodest-collection-empty {
    width: 100%;
    min-height: 360px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 48px 24px;
    border: 1px solid rgba(0, 0, 0, .1);
    background: #f7f4ef;
    text-align: center;
}

.shamodest-collection-empty strong {
    font-size: 20px;
    font-weight: 600;
}

.shamodest-collection-empty span {
    max-width: 520px;
    font-size: 13px;
    line-height: 1.6;
    opacity: .68;
}

/* ==========================================================================
   SHAMODEST HOME — merchandising category cards
   Trending / New Collection / Best Selling / On Sale all use the exact same
   compact 4:5 card. The flex layout keeps every card equal-sized and centers
   incomplete rows when more categories are added.
   ========================================================================== */
.shamodest-home-page .home-merchandising-section + .home-merchandising-section {
    padding-top: clamp(72px, 7vw, 120px);
}

.shamodest-home-page .home-trending-post-block {
    width: min(calc(100% - 64px), 1480px);
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 20px;
    overflow: visible;
}

.shamodest-home-page .home-trending-post {
    flex: 0 1 340px;
    width: min(100%, 340px);
    max-width: 340px;
    aspect-ratio: 4 / 5;
    min-height: 0;
}

.shamodest-home-page .home-trending-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

/* Give home collection cards the exact Lookbook fade, limited to the
   bottom half of the image so the top stays clear. The existing text
   wrapper (z-index: 3) remains above this overlay (z-index: 1). */
.shamodest-home-page .home-trending-post .home-trending-overlay {
    width: 100%;
    height: 50%;
    bottom: 0;
    left: 0;
    background-color: transparent;
    background-image: linear-gradient(180deg, var(--transparent), var(--neutral) 90%);
    pointer-events: none;
}

/* Keep the collection label top-left and the category name in the same
   bottom-right position for every merchandising type. */
.shamodest-home-page .home-trending-name {
    bottom: 20px;
    right: 30px;
}

@media screen and (max-width: 991px) and (min-width: 768px) {
    .shamodest-home-page .home-trending-post-block {
        width: min(calc(100% - 40px), 900px);
        gap: 14px;
    }

    .shamodest-home-page .home-trending-post {
        flex-basis: 280px;
        max-width: 280px;
    }
}

@media screen and (max-width: 767px) {
    .shamodest-home-page .home-merchandising-section + .home-merchandising-section {
        padding-top: 56px;
    }

    /* Match Shop's two-column mobile product grid: 10px edge gutters,
       10px between cards and the same 2:3 image aspect ratio.
       Flex-wrap also centers an unpaired last collection card. */
    .shamodest-home-page .home-trending-post-block {
        box-sizing: border-box;
        width: calc(100% - 20px);
        max-width: none;
        gap: 10px;
        justify-content: center;
    }

    .shamodest-home-page .home-trending-post {
        box-sizing: border-box;
        flex: 0 0 calc((100% - 10px) / 2);
        width: calc((100% - 10px) / 2);
        max-width: calc((100% - 10px) / 2);
        aspect-ratio: 2 / 3;
        min-height: 0;
    }

    /* Keep category names and badges readable on the narrower card. */
    .shamodest-home-page .home-trending-tag {
        top: 9px;
        left: 9px;
        padding: 6px 8px;
        font-size: 9px;
        line-height: 1.25;
        max-width: calc(100% - 18px);
    }

    .shamodest-home-page .home-trending-name {
        bottom: 12px;
        right: 10px;
        left: 10px;
        margin: 0;
        font-size: clamp(12px, 3.3vw, 16px);
        line-height: 1.2;
        overflow-wrap: anywhere;
        text-align: end;
    }
}



/* Product detail related cards: use the exact same 2:3 image system as Shop. */
.shamodest-product-page .shamodest-related-product-list .shamodest-product-media {
    width: 100%;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: #f4f1ec;
}

.shamodest-product-page .shamodest-related-product-list .shamodest-product-media .product-image-block {
    width: 100%;
    height: 100%;
}

.shamodest-product-page .shamodest-related-product-list .shamodest-product-media .shamodest-product-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}


/* Home testimonials: reproduce the About Us continuous testimonial movement on Home.
   The original Webflow interaction is scoped to the About Us page ID, so the copied
   section needs the same 30-second -100% loop here. */
@media screen and (min-width: 992px) {
    .shamodest-home-testimonial-section .testimonial-card-block:not(.display-none-for-desktop) {
        overflow: hidden;
    }

    .shamodest-home-testimonial-section .testimonial-card-block:not(.display-none-for-desktop) .testimonial-card-wrapper {
        animation: shamodest-home-testimonial-loop 30s linear infinite;
        will-change: transform;
    }

    @keyframes shamodest-home-testimonial-loop {
        from {
            transform: translate3d(0, 0, 0);
        }
        to {
            transform: translate3d(-100%, 0, 0);
        }
    }
}


/* Home reviews spacing:
   keep the normal section gap above the reviews, but avoid doubling the
   space below because the following Home product section already adds
   its own top section-gap. */
.shamodest-home-testimonial-section.section-gap {
    padding-bottom: 0;
}

/* Shop mobile cover slider sizing.
   Keep the shop hero compact and independent from the much taller Home hero. */
.shamodest-mobile-cover-slider {
    display: none;
}

@media screen and (max-width: 767px) {
    .shamodest-shop-page .shamodest-category-hero {
        position: relative;
        width: 100%;
        height: clamp(420px, 55vh, 500px);
        min-height: 0;
        padding-top: 0;
        overflow: hidden;
    }

    .shamodest-shop-page .shamodest-desktop-cover-image {
        display: none !important;
    }

    .shamodest-shop-page .shamodest-mobile-cover-slider {
        display: block;
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        overflow: hidden;
        z-index: 0;
        touch-action: pan-y;
    }

    .shamodest-shop-page .shamodest-mobile-cover-track {
        display: flex;
        position: relative;
        width: 100%;
        height: 100%;
        transform: translate3d(0, 0, 0);
        transition: transform .65s cubic-bezier(.22, .61, .36, 1);
        will-change: transform;
    }

    .shamodest-shop-page .shamodest-mobile-cover-track.has-multiple-slides {
        transform: translate3d(-100%, 0, 0);
    }

    .shamodest-shop-page .shamodest-mobile-cover-track.no-transition {
        transition: none !important;
    }

    .shamodest-shop-page .shamodest-mobile-cover-slide {
        position: relative;
        flex: 0 0 100%;
        width: 100%;
        min-width: 100%;
        height: 100%;
    }

    .shamodest-shop-page .shamodest-mobile-cover-slide img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .shamodest-shop-page .shamodest-mobile-cover-dots {
        position: absolute;
        z-index: 5;
        left: 50%;
        bottom: 16px;
        transform: translateX(-50%);
        display: flex;
        gap: 8px;
    }

    .shamodest-shop-page .shamodest-mobile-cover-dot {
        width: 7px;
        height: 7px;
        padding: 0;
        border: 1px solid #fff;
        border-radius: 50%;
        background: transparent;
    }

    .shamodest-shop-page .shamodest-mobile-cover-dot.active {
        background: #fff;
        transform: scale(1.25);
    }

    .shamodest-shop-page .shamodest-category-hero .trending-hero-block {
        height: 100%;
        min-height: 0;
        padding: 20px;
    }

    /* Keep the white transparent layer disabled on the mobile Shop cover. */
    .shamodest-shop-page .shamodest-category-hero::after {
        display: none !important;
    }
}


/* ==========================================================================
   HOME — consistent section spacing + full-width reviews marquee
   One regular section gap is used between adjacent Home sections.
   ========================================================================== */

/* Product section already has a full section-gap on top.
   Let the Lookbook provide the single gap below it instead of stacking
   two 100px gaps between "View All Collections" and "Get Inspired". */
.shamodest-home-page .home-product-section > .section-gap {
    padding-bottom: 0;
}

/* The Lookbook's bottom gap is the one regular gap before the ribbon.
   Remove the ribbon's own extra top/bottom padding so gaps do not stack. */
.shamodest-home-page .ribbon-section {
    padding-top: 0;
    padding-bottom: 0;
}

/* The exported template gives the ribbon 160–260px of trailing canvas on
   larger screens. On Home, keep exactly one regular section gap instead. */
.shamodest-home-page .ribbon-wrapper {
    padding-bottom: var(--_gap---medium);
}

/* The reviews now sit directly after the ribbon. The ribbon supplies the
   gap above, so the reviews must not add another gap on top. The new
   Fashion with a Purpose section supplies the single regular gap below. */
.shamodest-home-page .shamodest-home-testimonial-section.section-gap {
    padding-top: 0;
    padding-bottom: 0;
}

/* Fashion with a Purpose is the final Home section. Keep one regular
   section gap after the reviews, then compensate for the footer's own
   Instagram top padding so the final section-to-footer spacing stays at
   the same visual rhythm as the rest of the Home page. */
.shamodest-home-page .overview-section > .section-gap {
    padding-top: var(--_gap---medium);
    padding-bottom: 48px;
}

/* Let testimonial cards travel through the full viewport like About Us.
   Clip only at the section/viewport edge, never at the inner container edge. */
.shamodest-home-page .shamodest-home-testimonial-section {
    overflow: hidden;
}

@media screen and (min-width: 992px) {
    .shamodest-home-page .shamodest-home-testimonial-section
    .testimonial-card-block:not(.display-none-for-desktop) {
        overflow: visible;
    }
}

/* Mobile footer Instagram uses 42px top padding: 58 + 42 = 100px. */
@media screen and (max-width: 767px) {
    .shamodest-home-page .overview-section > .section-gap {
        padding-bottom: 58px;
    }
}



/* SHAMODEST product-page breadcrumb: replaces the large coloured hero title. */
.shamodest-product-breadcrumb-section {
    padding-top: 26px;
    padding-bottom: 2px;
    background: transparent;
}

.shamodest-product-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    min-height: 24px;
    color: #7a746f;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .04em;
    line-height: 1.5;
}

.shamodest-product-breadcrumb a {
    color: #4d4a47;
    text-decoration: none;
    transition: color .2s ease;
}

.shamodest-product-breadcrumb a:hover {
    color: #000;
}

.shamodest-product-breadcrumb [aria-current="page"] {
    color: #111;
}

/* Cart drawer: keep the cart compact and scroll only the product list when needed. */
.shamodest-cart-panel .header-cart-continer {
    max-height: min(760px, calc(100dvh - 28px));
    overflow: hidden !important;
}

.shamodest-cart-panel .header-cart-footer {
    min-height: 0;
    overflow: hidden;
}

.shamodest-cart-panel .header-cart-list {
    min-height: 0;
    max-height: min(430px, calc(100dvh - 230px));
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.shamodest-cart-panel .cart-footer {
    flex: none;
    background: #fff;
}

/* Keep cart thumbnails small while preserving the product photo proportions. */
.shamodest-cart-panel .header-cart-item {
    align-items: flex-start;
}

.shamodest-cart-panel .header-cart-image {
    flex: 0 0 60px;
    width: 60px !important;
    height: 90px !important;
    max-width: 60px;
    object-fit: cover;
    object-position: center top;
    align-self: flex-start;
    display: block;
}

@media screen and (max-width: 991px) {
    .shamodest-product-breadcrumb-section {
        padding-top: 20px;
    }
}

@media screen and (max-width: 767px) {
    .shamodest-product-breadcrumb-section {
        padding-top: 16px;
        padding-bottom: 0;
    }

    .shamodest-product-breadcrumb {
        gap: 5px;
        font-size: 10px;
    }

    .shamodest-cart-panel .header-cart-continer {
        width: calc(100vw - 20px);
        min-width: 0;
        max-width: 480px;
        max-height: calc(100dvh - 20px);
    }

    .shamodest-cart-panel .header-cart-list {
        max-height: min(360px, calc(100dvh - 210px));
    }

    .shamodest-cart-panel .header-cart-image {
        flex-basis: 60px;
        width: 60px !important;
        height: 90px !important;
        max-width: 60px;
    }
}

/* Cart drawer: keep a small visual gap between the two footer actions. */
.shamodest-cart-panel .cart-footer .header-checkout-button + .header-checkout-button {
    margin-top: 10px !important;
}

/* SHAMODEST customer account security */
.shamodest-login-options{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:4px 0 20px}
.shamodest-login-options .shamodest-check{margin:0}
.shamodest-forgot-link{color:#173d32;font-size:13px;font-weight:600;text-decoration:underline}
.shamodest-auth-kicker{text-align:center;margin:0 0 10px;color:#7a8581;font-size:11px;font-weight:600;letter-spacing:1.6px;text-transform:uppercase}
.shamodest-verification-copy{margin:0 0 24px;padding:18px;background:#f7f5f1;border:1px solid #e2e3df;font-size:14px;line-height:1.7;color:#596a64}
.shamodest-auth-actions-row{display:flex;align-items:center;justify-content:center;gap:20px;margin-top:24px;padding-top:20px;border-top:1px solid #eceeec;font-size:13px}
.shamodest-auth-actions-row a,.shamodest-auth-actions-row button{border:0;background:none;padding:0;color:#173d32;font:inherit;font-weight:600;text-decoration:underline;cursor:pointer}
.shamodest-success-card{text-align:center}
.shamodest-success-mark{display:flex;width:54px;height:54px;margin:0 auto 20px;align-items:center;justify-content:center;border:1px solid #173d32;border-radius:50%;font-size:24px;font-weight:600;color:#173d32}
.shamodest-field-help{display:block;margin-top:7px;color:#7a8581;font-size:11px;line-height:1.5}
.shamodest-verified-badge{display:inline-flex;margin-left:8px;padding:3px 7px;border:1px solid #b9d9c7;background:#eff8f3;color:#325f4e;font-size:10px;font-weight:600;letter-spacing:.5px;text-transform:uppercase;vertical-align:middle}
@media(max-width:520px){.shamodest-login-options{align-items:flex-start;flex-direction:column;gap:10px}.shamodest-auth-actions-row{flex-direction:column;gap:12px}}

/* Home: Fashion with a Purpose.
   Recreates the original About-page reveal + rolling-counter animation on Home. */
.shamodest-home-page .shamodest-home-purpose-section .overview-number-wrap {
    overflow: hidden;
}

.shamodest-home-page .shamodest-home-purpose-section .overview-number,
.shamodest-home-page .shamodest-home-purpose-section .overview-number-reverse {
    will-change: transform;
}

.shamodest-home-page .shamodest-home-purpose-section [data-purpose-reveal] {
    will-change: transform, opacity;
}

/* Responsive product media: all storefront cards share one stable 2:3 frame.
   The original high-resolution image is preserved for product lightbox use. */
.shamodest-product-post .product-image-block {
    display: block;
    width: 100%;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: #f7f5f1;
}

.shamodest-product-post .shamodest-product-image,
.home-product-section .shamodest-home-product-list .shamodest-product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

@media screen and (min-width: 992px) {
    .home-product-section .shamodest-home-product-list .product-image-block {
        aspect-ratio: 2 / 3;
    }
}

/* SHAMODEST — mobile language icon beside the account icon in all LTR locales.
   The selector stays outside the four-column header grid so it cannot create
   another row or displace the centred logo. The Arabic counterpart is in RTL CSS. */
@media screen and (max-width: 991px) {
  html:not([dir="rtl"]) .header-section .header-block {
    position: relative;
  }
  html:not([dir="rtl"]) .header-section .header-block .shamodest-language-switcher {
    position: absolute !important;
    top: 50% !important;
    left: auto !important;
    right: 90px !important;
    bottom: auto !important;
    transform: translateY(-50%) !important;
    width: 36px !important;
    height: 32px !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 8 !important;
  }
  html:not([dir="rtl"]) .header-section .shamodest-language-switcher select {
    width: 36px !important;
    max-width: 36px !important;
    height: 30px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    font-size: 17px !important;
  }
}
@media screen and (max-width: 479px) {
  html:not([dir="rtl"]) .header-section .header-block .shamodest-language-switcher {
    right: 84px !important;
  }
}

/* LTR mobile header: center SHAMODEST against the entire header width, not
   the off-center flexible grid track. Keep all action icons in their tracks. */
@media screen and (max-width: 991px) {
  html:not([dir="rtl"]) .header-section .header-block {
    position: relative;
  }
  html:not([dir="rtl"]) .header-section .header-block > .header-brand {
    grid-area: auto !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    right: auto !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
    justify-self: auto !important;
    z-index: 9;
  }
}

/* SHAMODEST — final polish: keep the LTR mobile logo mathematically centred
   regardless of the variable width of the icon groups on either side. */
@media screen and (max-width: 991px) {
  html:not([dir="rtl"]) .header-section .header-block {
    position: relative !important;
  }
  html:not([dir="rtl"]) .header-section .header-block > .header-brand,
  html:not([dir="rtl"]) .header-section .header-block > .header-brand.w-nav-brand {
    position: absolute !important;
    left: 50% !important;
    right: auto !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
    z-index: 9 !important;
  }
}


/* Focused auth pages: minimal header and generous space before the footer.
   The shared storefront navigation is unchanged on other pages. */
body.shamodest-auth-page.shamodest-minimal-auth-page {
    padding: 0 !important;
}
.shamodest-minimal-auth-page .shamodest-login-utility {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: min(1040px, calc(100% - 36px));
    min-height: 70px;
    margin: 0 auto;
    padding-top: 18px;
}
.shamodest-minimal-auth-page .shamodest-login-back-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #173c35;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
    transition: color .18s ease;
}
.shamodest-minimal-auth-page .shamodest-login-back-link svg {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
}
html[dir="rtl"] .shamodest-minimal-auth-page .shamodest-login-back-link svg {
    transform: scaleX(-1);
}
.shamodest-minimal-auth-page .shamodest-login-back-link:hover,
.shamodest-minimal-auth-page .shamodest-login-back-link:focus-visible {
    color: #b58459;
}
.shamodest-minimal-auth-page .shamodest-login-utility .shamodest-language-switcher {
    margin-inline: 0 !important;
}
.shamodest-minimal-auth-page .shamodest-auth-shell {
    box-sizing: border-box;
    padding: 16px 18px clamp(84px, 10vh, 132px);
}
@media (max-width: 767px) {
    .shamodest-minimal-auth-page .shamodest-login-utility {
        min-height: 62px;
        padding-top: 12px;
    }
    .shamodest-minimal-auth-page .shamodest-auth-shell {
        padding: 12px 18px 84px;
    }
    .shamodest-minimal-auth-page .shamodest-auth-logo {
        width: 170px;
        margin-bottom: 28px;
    }
}

/* Home influencer product cards: on phones, match Shop's exact mobile
   product-grid geometry (10px side gutters, 10px column gap, 2:3 images).
   These are the same product-card partials; only the grid's usable width
   differed because Shop has gutters on .main-wrapper and Home does not. */
@media screen and (max-width: 767px) {
    .shamodest-home-page .home-product-section .shamodest-home-product-list {
        box-sizing: border-box;
        width: 100%;
        max-width: 100%;
        padding-inline: 10px;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        column-gap: 10px !important;
        row-gap: 28px !important;
    }
}


/* Auth text palette: use storefront black instead of the former green.
   Only login, sign-up and forgot-password; keep the action buttons' white
   labels for contrast and do not change any authenticated/storefront pages. */
:is(.shamodest-login-page, .shamodest-register-page, .shamodest-forgot-password-page) {
    color: #171717;
}
:is(.shamodest-login-page, .shamodest-register-page, .shamodest-forgot-password-page)
:is(.shamodest-auth-card, .shamodest-auth-card h1, .shamodest-auth-subtitle,
    .shamodest-auth-kicker, .shamodest-field label, .shamodest-field input,
    .shamodest-field select, .shamodest-check, .shamodest-forgot-link,
    .shamodest-auth-switch, .shamodest-auth-switch a,
    .shamodest-login-back-link, .shamodest-status, .shamodest-errors) {
    color: #171717;
}
:is(.shamodest-login-page, .shamodest-register-page, .shamodest-forgot-password-page)
:is(.shamodest-field input, .shamodest-field select):focus {
    border-color: #171717;
}
:is(.shamodest-login-page, .shamodest-register-page, .shamodest-forgot-password-page)
.shamodest-login-back-link:is(:hover, :focus-visible),
:is(.shamodest-login-page, .shamodest-register-page, .shamodest-forgot-password-page)
:is(.shamodest-auth-switch a, .shamodest-forgot-link):is(:hover, :focus-visible) {
    color: #171717;
}
