:root {
    --iw-navy: #213d68;
    --iw-navy-deep: #142a4b;
    --iw-blue-soft: #58708f;
    --iw-sand: #b99a73;
    --iw-sand-soft: #e8dfd2;
    --iw-cream: #f7f3ec;
    --iw-cream-deep: #eee7dd;
    --iw-ink: #202a36;
    --iw-muted: #6f7378;
    --iw-line: #ddd8d0;
    --iw-white: #ffffff;
    --iw-success: #28744b;
    --radius: 14px;
    --shadow: 0 16px 38px rgba(30, 42, 54, .10);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--iw-ink);
    background: var(--iw-white);
    font-family: "DM Sans", "Segoe UI", Arial, sans-serif;
}

a {
    color: inherit;
}

.py-lg-6 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.storefront-shell {
    width: min(100%, 1680px);
    padding-left: clamp(1rem, 3vw, 3.4rem);
    padding-right: clamp(1rem, 3vw, 3.4rem);
    margin-inline: auto;
}

/* HEADER */
.store-header {
    z-index: 1030;
    background: #fff;
    border-bottom: 1px solid rgba(33, 61, 104, .12);
}

.main-navbar {
    background: #fff;
    min-height: 86px;
}

.brand-lockup {
    text-decoration: none;
    padding: 0;
    margin-right: 2rem;
}

.brand-wordmark,
.footer-wordmark {
    display: flex;
    flex-direction: column;
    font-family: "Fredoka", "DM Sans", sans-serif;
    font-weight: 700;
    line-height: .78;
    letter-spacing: -.045em;
    color: var(--iw-navy);
}

.brand-wordmark {
    font-size: 1.6rem;
}

.footer-wordmark {
    font-size: 2rem;
    color: #fff;
}

.main-navbar .nav-link {
    color: #4d535a;
    font-weight: 600;
    font-size: .87rem;
    padding: 1rem .72rem !important;
}

.main-navbar .nav-link:hover,
.main-navbar .nav-link.active {
    color: var(--iw-navy);
}

.main-navbar .nav-link.active {
    position: relative;
}

.main-navbar .nav-link.active::after {
    content: "";
    position: absolute;
    height: 2px;
    left: .72rem;
    right: .72rem;
    bottom: .55rem;
    background: var(--iw-navy);
    border-radius: 4px;
}

.navbar-toggler {
    border: 0;
    color: var(--iw-navy);
    font-size: 1.6rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.utility-link,
.utility-icon {
    text-decoration: none;
    color: var(--iw-navy);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.utility-link i,
.utility-icon i {
    font-size: 1.15rem;
}

.utility-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
}

.utility-link:hover,
.utility-icon:hover {
    color: var(--iw-blue-soft);
}

.utility-disabled {
    opacity: .35;
    cursor: not-allowed;
}

/* HERO CAROUSEL */
.hero-carousel {
    position: relative;
    width: 100%;
    min-height: clamp(500px, 62vh, 650px);
    overflow: hidden;
    background: #d9d5cf;
    isolation: isolate;
}

.hero-carousel-track {
    position: relative;
    min-height: inherit;
}

.hero-slide {
    position: absolute;
    inset: 0;
    min-height: inherit;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: scale(1.01);
    transition: opacity .65s ease, visibility .65s ease, transform 1.1s ease;
}

.hero-slide.is-active {
    position: relative;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: scale(1);
    z-index: 2;
}

.hero-slide-media,
.hero-slide-shade {
    position: absolute;
    inset: 0;
}

.hero-slide-media {
    z-index: -3;
    background-image: var(--hero-image);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    transform: scale(1.025);
    transition: transform 7s ease;
}

.hero-slide.is-active .hero-slide-media {
    transform: scale(1);
}

.hero-slide-shade {
    z-index: -2;
    background: linear-gradient(
        90deg,
        rgba(15, 24, 34, .72) 0%,
        rgba(15, 24, 34, .48) 32%,
        rgba(15, 24, 34, .14) 58%,
        rgba(15, 24, 34, .04) 100%
    );
}

.hero-slide-content {
    min-height: inherit;
    display: flex;
    align-items: center;
    padding-top: 2rem;
    padding-bottom: 2.75rem;
}

.hero-slide-copy {
    width: min(680px, 92%);
    color: #fff;
}

.hero-kicker {
    display: inline-block;
    margin-bottom: 1.2rem;
    color: #e4cfaf;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .19em;
}

.hero-slide h1,
.hero-slide h2 {
    margin: 0 0 1.35rem;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3.4rem, 6.6vw, 7rem);
    font-weight: 400;
    line-height: .92;
    letter-spacing: -.045em;
}

.hero-slide h1 em,
.hero-slide h2 em {
    font-style: italic;
    font-weight: 400;
}

.hero-slide-copy p {
    max-width: 560px;
    margin: 0;
    color: rgba(255, 255, 255, .84);
    font-size: clamp(.95rem, 1.15vw, 1.08rem);
    line-height: 1.7;
}


.hero-shop-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .65rem;
    margin-top: 1.6rem;
    padding: .9rem 1.35rem;
    border: 1px solid rgba(255, 255, 255, .78);
    border-radius: 999px;
    background: rgba(255, 255, 255, .94);
    color: var(--iw-navy-deep);
    text-decoration: none;
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .035em;
    text-transform: uppercase;
    transition: .2s ease;
}

.hero-shop-button:hover {
    background: var(--iw-navy);
    border-color: var(--iw-navy);
    color: #fff;
    transform: translateY(-1px);
}

.hero-shop-button i {
    transition: transform .2s ease;
}

.hero-shop-button:hover i {
    transform: translateX(3px);
}

.hero-carousel-dots {
    position: absolute;
    z-index: 5;
    left: 50%;
    bottom: 1.8rem;
    display: flex;
    align-items: center;
    gap: .55rem;
    transform: translateX(-50%);
}

.hero-carousel-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .48);
    transition: .2s ease;
}

.hero-carousel-dot.is-active {
    width: 24px;
    border-radius: 999px;
    background: #fff;
}

@media (max-width: 991.98px) {
    .hero-carousel { min-height: 560px; }
    .hero-slide-copy { width: min(610px, 88%); }
}

@media (max-width: 767.98px) {
    .hero-carousel { min-height: 540px; }

    .hero-slide-media {
        background-position: 58% center;
    }

    .hero-slide-shade {
        background: linear-gradient(
            180deg,
            rgba(15, 24, 34, .20) 0%,
            rgba(15, 24, 34, .42) 45%,
            rgba(15, 24, 34, .86) 100%
        );
    }

    .hero-slide-content {
        align-items: flex-end;
        padding-top: 2.5rem;
        padding-bottom: 4.75rem;
    }

    .hero-slide-copy {
        width: calc(100% - 3.6rem);
    }

    .hero-slide h1,
    .hero-slide h2 {
        font-size: clamp(3rem, 13vw, 4.6rem);
        line-height: .94;
    }
.hero-carousel-dots { bottom: 2.35rem; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-slide,
    .hero-slide-media,
    .hero-carousel-dot {
        transition: none;
    }
}

/* BENEFITS */
.quick-benefits {
    background: #fff;
    border-bottom: 1px solid var(--iw-line);
}

.quick-benefit {
    height: 100%;
    padding: 1.45rem 1rem;
    display: flex;
    gap: .85rem;
    align-items: center;
    border-right: 1px solid var(--iw-line);
}

.quick-benefits [class*="col-"]:last-child .quick-benefit {
    border-right: 0;
}

.quick-benefit > i {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    display: grid;
    place-items: center;
    color: var(--iw-navy);
    font-size: 1.25rem;
}

.quick-benefit div {
    display: flex;
    flex-direction: column;
}

.quick-benefit strong {
    font-size: .88rem;
}

.quick-benefit small {
    color: var(--iw-muted);
    font-size: .71rem;
}

/* SECTION TYPOGRAPHY */
.store-section {
    background: #fff;
}

.bg-soft,
.why-shop {
    background: var(--iw-cream);
}

.section-heading h2 {
    font-family: "Fredoka", "DM Sans", sans-serif;
    font-size: clamp(2rem, 3vw, 3rem);
    color: var(--iw-navy-deep);
    font-weight: 700;
    letter-spacing: -.035em;
    margin-bottom: .35rem;
}

.section-heading p {
    color: var(--iw-muted);
    margin: 0;
}

.section-link {
    color: var(--iw-navy);
    text-decoration: none;
    font-weight: 700;
    white-space: nowrap;
}

.section-link:hover {
    color: var(--iw-blue-soft);
}

/* PRODUCT CARDS */
.product-card {
    border: 1px solid var(--iw-line);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    display: flex;
    flex-direction: column;
    transition: .22s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.product-image-wrap {
    display: block;
    position: relative;
    background: #f3f1ed;
    aspect-ratio: 4 / 4.4;
    overflow: hidden;
}

.product-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.product-card:hover .product-image-wrap img {
    transform: scale(1.035);
}

.product-image-placeholder {
    width: 100%;
    height: 100%;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    color: #989a9b;
}

.product-image-placeholder i {
    font-size: 2rem;
}

.product-image-placeholder.detail {
    min-height: 520px;
    background: #f3f1ed;
    border-radius: 12px;
}

.product-badge {
    position: absolute;
    top: .75rem;
    left: .75rem;
    padding: .34rem .6rem;
    background: var(--iw-navy);
    color: #fff;
    border-radius: 6px;
    font-size: .63rem;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.product-card-body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-category {
    color: var(--iw-sand);
    text-transform: uppercase;
    font-size: .64rem;
    font-weight: 800;
    letter-spacing: .08em;
}

.product-card h3 {
    margin: .3rem 0 .5rem;
    font-size: .98rem;
    line-height: 1.3;
    font-weight: 700;
}

.product-card h3 a {
    text-decoration: none;
    color: var(--iw-ink);
}

.price-line {
    display: flex;
    gap: .55rem;
    align-items: center;
    flex-wrap: wrap;
}

.price-line strong {
    color: var(--iw-navy-deep);
}

.price-line del {
    color: #969a9e;
    font-size: .78rem;
}

.colour-row {
    display: flex;
    gap: .35rem;
    margin-top: .7rem;
}

.colour-dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--swatch);
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px #c6c8ca;
    display: inline-block;
}

.stock-indicator {
    font-size: .7rem;
    font-weight: 700;
}

.stock-indicator.in-stock {
    color: var(--iw-success);
}

.stock-indicator.out-stock {
    color: #8b8e92;
}

.view-product {
    font-size: .7rem;
    font-weight: 800;
    color: var(--iw-navy);
    text-decoration: none;
}

.view-product:hover {
    color: var(--iw-blue-soft);
}

/* CATEGORIES (legacy classes, kept so other pages using them are unaffected) */
.category-section {
    background: #f4f0ea;
    color: var(--iw-ink);
    border-top: 1px solid var(--iw-line);
    border-bottom: 1px solid var(--iw-line);
}

.category-section .section-heading h2 {
    color: var(--iw-navy-deep);
}

.category-section .section-heading p {
    color: var(--iw-muted);
}

.category-card {
    text-decoration: none;
    color: var(--iw-ink);
    min-height: 200px;
    height: 100%;
    padding: 1rem;
    border: 1px solid var(--iw-line);
    border-radius: 12px;
    background: rgba(255,255,255,.72);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: .2s ease;
}

.category-card:hover {
    color: var(--iw-ink);
    transform: translateY(-4px);
    background: #fff;
    box-shadow: var(--shadow);
}

.category-image {
    height: 105px;
    border-radius: 9px;
    overflow: hidden;
    background: var(--iw-cream-deep);
    display: grid;
    place-items: center;
    margin-bottom: 1rem;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-image i {
    font-size: 2rem;
    color: var(--iw-navy);
}

.category-card strong {
    display: block;
    font-size: 1rem;
}

.category-card small {
    display: block;
    color: var(--iw-muted);
    margin-top: .2rem;
}

.category-card > i {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    color: var(--iw-navy);
}

/* OFFERS */
.offer-banner {
    border-radius: 12px;
    padding: 2rem;
    background: var(--iw-navy);
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.offer-banner span {
    color: #d7c5a8;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .12em;
}

.offer-banner h2 {
    font-family: "Fredoka", "DM Sans", sans-serif;
    font-weight: 700;
    margin: .35rem 0;
}

.offer-banner p {
    margin: 0;
    color: rgba(255,255,255,.72);
}

.offer-banner > i {
    font-size: 4rem;
    opacity: .35;
}

/* WHY SHOP */
.why-card {
    background: #fff;
    border: 1px solid var(--iw-line);
    border-radius: 12px;
    height: 100%;
    padding: 1.5rem;
    text-align: center;
}

.why-card > i {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: var(--iw-cream-deep);
    color: var(--iw-navy);
    font-size: 1.35rem;
}

.why-card h3 {
    color: var(--iw-navy-deep);
    font-size: 1.05rem;
    font-weight: 800;
}

.why-card p {
    font-size: .83rem;
    color: var(--iw-muted);
    line-height: 1.65;
    margin: 0;
}

/* SOCIAL / FOOTER */
.social-proof-section {
    background: var(--iw-navy-deep);
    color: #fff;
}

.social-message {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.social-message h2 {
    font-family: "Fredoka", "DM Sans", sans-serif;
    font-size: clamp(1.8rem, 3vw, 3.2rem);
    font-weight: 700;
    max-width: 850px;
}

.social-message p {
    color: rgba(255,255,255,.68);
    max-width: 850px;
}

.social-icons {
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
}

.social-icons i {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 50%;
    color: #d8c6aa;
    font-size: 1.2rem;
}

.shopping-assurance {
    background: #1b2c46;
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.assurance-item {
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: 1.4rem .9rem;
    border-right: 1px solid rgba(255,255,255,.08);
}

.assurance-item i {
    color: #d8c6aa;
    font-size: 1.35rem;
}

.assurance-item div {
    display: flex;
    flex-direction: column;
}

.assurance-item strong {
    font-size: .83rem;
}

.assurance-item small {
    color: rgba(255,255,255,.50);
    font-size: .68rem;
}

.site-footer {
    background: #132238;
    color: rgba(255,255,255,.74);
}

.footer-copy {
    max-width: 420px;
    color: rgba(255,255,255,.58);
}

.site-footer h5 {
    color: #fff;
    font-size: .9rem;
    margin-bottom: 1rem;
}

.site-footer a,
.site-footer .col-6 span {
    display: block;
    color: rgba(255,255,255,.62);
    text-decoration: none;
    margin-bottom: .55rem;
    font-size: .8rem;
}

.site-footer a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    color: rgba(255,255,255,.44);
    font-size: .72rem;
}

.scroll-top {
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: var(--iw-navy);
    color: #fff;
    z-index: 1050;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: .2s ease;
    box-shadow: var(--shadow);
}

.scroll-top.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

/* COMMON */
.store-empty-state {
    padding: 4rem 1.5rem;
    text-align: center;
    border: 1px dashed #c9c5bd;
    border-radius: 12px;
    background: var(--iw-cream);
}

.store-empty-state > i {
    font-size: 2.5rem;
    color: var(--iw-sand);
}

.store-empty-state h3 {
    color: var(--iw-navy-deep);
    margin-top: 1rem;
}

.store-empty-state p {
    color: var(--iw-muted);
}

.page-hero {
    background: linear-gradient(125deg, var(--iw-cream), #ece4d8);
    color: var(--iw-navy-deep);
    border-bottom: 1px solid var(--iw-line);
}

.page-hero h1 {
    font-family: "Fredoka", "DM Sans", sans-serif;
    font-size: clamp(2.8rem, 5vw, 5rem);
    font-weight: 700;
    letter-spacing: -.045em;
}

.page-hero p {
    color: var(--iw-muted);
}

.catalogue-toolbar {
    background: var(--iw-cream);
    border: 1px solid var(--iw-line);
    border-radius: 12px;
    padding: 1rem;
}

.catalogue-toolbar .form-label {
    font-size: .72rem;
    font-weight: 800;
    color: var(--iw-navy-deep);
}

.catalogue-toolbar .form-control,
.catalogue-toolbar .form-select,
.catalogue-toolbar .input-group-text {
    min-height: 46px;
    border-color: #d9d4cc;
}

.store-pagination .pagination {
    justify-content: center;
}

.store-pagination .page-link {
    color: var(--iw-navy);
}

.store-pagination .active > .page-link {
    background: var(--iw-navy);
    border-color: var(--iw-navy);
}

/* PRODUCT DETAIL */
.product-detail-section {
    background: #fff;
}

.breadcrumb a {
    color: var(--iw-navy);
    text-decoration: none;
}

.product-gallery-main {
    background: #f3f1ed;
    border-radius: 12px;
    overflow: hidden;
    min-height: 520px;
}

.product-gallery-main img {
    width: 100%;
    height: 560px;
    object-fit: contain;
}

.product-thumbnails {
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
}

.product-thumbnails button {
    width: 82px;
    height: 82px;
    padding: 0;
    border: 1px solid var(--iw-line);
    border-radius: 9px;
    background: #f3f1ed;
    overflow: hidden;
}

.product-thumbnails img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-detail-copy h1 {
    font-family: "Fredoka", "DM Sans", sans-serif;
    font-size: clamp(2.2rem, 4vw, 4rem);
    color: var(--iw-navy-deep);
    font-weight: 700;
    letter-spacing: -.04em;
    margin: .4rem 0 1rem;
}

.detail-price {
    display: flex;
    align-items: center;
    gap: .8rem;
    margin-bottom: 1.25rem;
}

.detail-price strong {
    font-size: 1.7rem;
    color: var(--iw-navy-deep);
}

.detail-price del {
    color: #969a9e;
}

.product-detail-copy .lead {
    color: var(--iw-muted);
    font-size: 1rem;
    line-height: 1.75;
}

.availability-box {
    display: flex;
    gap: .8rem;
    padding: 1rem;
    border-radius: 10px;
    margin: 1.5rem 0;
}

.availability-box.available {
    background: #edf6f0;
    color: #286b45;
}

.availability-box.unavailable {
    background: #f2f2f0;
    color: #74777a;
}

.availability-box > i {
    font-size: 1.3rem;
}

.availability-box div {
    display: flex;
    flex-direction: column;
}

.availability-box small {
    opacity: .75;
    margin-top: .25rem;
}

.detail-option {
    margin: 1.4rem 0;
}

.detail-option label {
    display: block;
    font-size: .78rem;
    font-weight: 850;
    color: var(--iw-navy-deep);
    margin-bottom: .65rem;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.option-pills {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
}

.colour-choice,
.size-choice {
    border: 1px solid var(--iw-line);
    border-radius: 9px;
    padding: .55rem .75rem;
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    background: #fff;
    font-size: .8rem;
}

.variant-availability h3 {
    font-size: 1rem;
    color: var(--iw-navy-deep);
    font-weight: 850;
}

.cart-stage-notice {
    display: flex;
    gap: .8rem;
    background: var(--iw-cream);
    border: 1px solid #d9cdbb;
    border-radius: 10px;
    padding: 1rem;
    margin-top: 1.5rem;
    color: #625340;
}

.cart-stage-notice i {
    font-size: 1.2rem;
}

.cart-stage-notice p {
    font-size: .78rem;
}

.fulfilment-notes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .75rem;
    margin-top: 1.2rem;
}

.fulfilment-notes > div {
    border: 1px solid var(--iw-line);
    border-radius: 10px;
    padding: .8rem;
    display: flex;
    gap: .7rem;
    align-items: center;
}

.fulfilment-notes i {
    color: var(--iw-sand);
    font-size: 1.25rem;
}

.fulfilment-notes span {
    display: flex;
    flex-direction: column;
    font-size: .72rem;
    color: var(--iw-muted);
}

.fulfilment-notes strong {
    color: var(--iw-navy-deep);
    font-size: .8rem;
}

.product-description {
    border-top: 1px solid var(--iw-line);
    padding-top: 2rem;
    color: var(--iw-muted);
    line-height: 1.75;
}

.product-description h2 {
    color: var(--iw-navy-deep);
    font-weight: 850;
}

/* RESPONSIVE */
@media (max-width: 991.98px) {
    .main-navbar {
        min-height: 74px;
    }

    .main-navbar .nav-link.active::after {
        display: none;
    }

    .desktop-utilities {
        border-top: 1px solid var(--iw-line);
        padding-top: 1rem;
        margin-top: .5rem;
    }

    .hero-section {
        min-height: 690px;
    }

    .hero-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(247, 243, 236, .98) 0%,
                rgba(247, 243, 236, .92) 55%,
                rgba(247, 243, 236, .46) 100%
            );
    }

    .hero-content {
        padding-top: 4rem;
        align-items: flex-start;
    }

    .hero-section h1 {
        max-width: 720px;
    }

    .hero-feature-card {
        left: 1rem;
        right: auto;
    }

    .quick-benefit {
        border-bottom: 1px solid var(--iw-line);
    }

    .social-message {
        flex-direction: column;
        align-items: flex-start;
    }

    .assurance-item {
        border-bottom: 1px solid rgba(255,255,255,.08);
    }
}

@media (max-width: 767.98px) {
    .storefront-shell {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .brand-wordmark {
        font-size: 1.35rem;
    }

    .hero-section {
        min-height: 760px;
    }

    .hero-photo {
        background-position: 62% center;
    }

    .hero-overlay {
        background:
            linear-gradient(
                180deg,
                rgba(247, 243, 236, .98) 0%,
                rgba(247, 243, 236, .94) 45%,
                rgba(247, 243, 236, .50) 72%,
                rgba(20, 42, 75, .20) 100%
            );
    }

    .hero-content {
        align-items: flex-start;
        padding-top: 3.5rem;
        padding-bottom: 9rem;
    }

    .hero-section h1 {
        font-size: clamp(3.7rem, 17vw, 5.3rem);
    }

    .hero-copy {
        font-size: .95rem;
        max-width: 95%;
    }

    .hero-trust {
        gap: .75rem 1rem;
    }

    .hero-feature-card {
        bottom: 1rem;
        left: 1rem;
        right: 1rem;
        width: auto;
    }

    .quick-benefit {
        padding: 1rem .65rem;
    }

    .quick-benefit small {
        display: none;
    }

    .section-heading.d-flex {
        align-items: flex-start !important;
        flex-direction: column;
    }

    .product-card-body {
        padding: .8rem;
    }

    .product-card h3 {
        font-size: .9rem;
    }

    .price-line strong {
        font-size: .86rem;
    }

    .view-product {
        display: none;
    }

    .shopping-assurance .assurance-item {
        padding: 1rem .6rem;
    }

    .assurance-item small {
        display: none;
    }

    .fulfilment-notes {
        grid-template-columns: 1fr;
    }

    .product-gallery-main,
    .product-image-placeholder.detail {
        min-height: 380px;
    }

    .product-gallery-main img {
        height: 400px;
    }

    .py-lg-6 {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
}

/* BRANDS WE STOCK / SHOP BY BRAND */
.brands-section {
    background:
        radial-gradient(circle at 50% 20%, rgba(255, 255, 255, .92), transparent 48%),
        var(--iw-cream);
    border-top: 1px solid var(--iw-line);
    border-bottom: 1px solid var(--iw-line);
}

.brands-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.brands-carousel-window {
    flex: 1;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    padding: .35rem .1rem .65rem;
}

.brands-carousel-window::-webkit-scrollbar {
    display: none;
}

.brands-carousel-track {
    display: flex;
    align-items: stretch;
    gap: 1rem;
    width: max-content;
}

.brand-card {
    width: 150px;
    flex: 0 0 150px;
    scroll-snap-align: start;
    text-decoration: none;
    color: var(--iw-navy-deep);
    text-align: center;
    transition: transform .2s ease;
}

.brand-card:hover {
    color: var(--iw-navy-deep);
    transform: translateY(-3px);
}

.brand-card-logo {
    height: 126px;
    padding: 1rem;
    background: #fff;
    border: 1px solid var(--iw-line);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 22px rgba(30, 42, 54, .035);
    transition: border-color .2s ease, box-shadow .2s ease;
}

.brand-card:hover .brand-card-logo {
    border-color: rgba(33, 61, 104, .30);
    box-shadow: 0 12px 28px rgba(30, 42, 54, .09);
}

.brand-card-logo img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 120px;
    max-height: 78px;
    object-fit: contain;
}

.brand-name-fallback {
    font-family: "DM Sans", sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--iw-navy-deep);
}

.brand-card-name {
    display: block;
    margin-top: .7rem;
    font-size: .82rem;
    font-weight: 600;
    color: #4d535a;
}

.brands-carousel-control {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border: 1px solid var(--iw-line);
    border-radius: 50%;
    background: rgba(255, 255, 255, .82);
    color: var(--iw-navy);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: .2s ease;
}

.brands-carousel-control:hover {
    background: var(--iw-navy);
    color: #fff;
    border-color: var(--iw-navy);
}

.brands-carousel-control:disabled {
    opacity: .35;
    cursor: default;
}

.brands-carousel-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    min-height: 18px;
    margin-top: 1.1rem;
}

.brands-carousel-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #d6cdc1;
    transition: .2s ease;
}

.brands-carousel-dot.active {
    width: 10px;
    height: 10px;
    background: var(--iw-navy);
}

.product-brand {
    margin-top: .2rem;
    color: var(--iw-blue-soft);
    font-size: .67rem;
    font-weight: 700;
}

.product-brand-link {
    display: inline-block;
    margin-top: .25rem;
    color: var(--iw-blue-soft);
    text-decoration: none;
    font-size: .76rem;
    font-weight: 700;
}

.product-brand-link:hover {
    color: var(--iw-navy-deep);
}

@media (max-width: 991.98px) {
    .brand-card {
        width: 140px;
        flex-basis: 140px;
    }

    .brand-card-logo {
        height: 116px;
    }
}

@media (max-width: 767.98px) {
    .brands-carousel {
        gap: .55rem;
    }

    .brands-carousel-control {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }

    .brand-card {
        width: 128px;
        flex-basis: 128px;
    }

    .brand-card-logo {
        height: 102px;
        padding: .8rem;
    }

    .brand-card-logo img {
        max-width: 100px;
        max-height: 64px;
    }

    .brand-card-name {
        font-size: .75rem;
    }
}

/* =========================================================
   HOMEPAGE RETAIL MERCHANDISING UPDATE
   Hero > Offers > Categories > Fresh Arrivals > Recommended
   > Brands > Trust > Connected Shopping
   ========================================================= */

.category-section {
    background: #f7f3ec;
    padding: 0;
}

.category-section .container,
.store-section .container {
    max-width: 1680px;
}

.category-section .section-heading {
    text-align: left !important;
    margin-bottom: 2rem !important;
}

.category-section .section-heading h2 {
    font-size: clamp(2rem, 2.7vw, 2.8rem);
}

.category-card {
    min-height: 185px;
    background: #fff;
    border-color: rgba(33, 61, 104, .10);
}

.category-image {
    height: 112px;
    background: #f3f1ed;
}

.store-section {
    border-bottom: 1px solid rgba(33, 61, 104, .07);
}

/* Special Offers is deliberately the first shopping section after the hero. */
#offers {
    background: #fff;
}

#offers .offer-banner {
    margin-top: 0;
}

.brands-section {
    background: #fff;
    border-top: 1px solid rgba(33, 61, 104, .08);
    border-bottom: 1px solid rgba(33, 61, 104, .08);
}

.brands-section .section-heading {
    margin-bottom: 2rem !important;
}

.why-shop {
    background: var(--iw-cream);
    border-top: 1px solid var(--iw-line);
}

.why-shop .section-heading h2 {
    font-size: clamp(1.8rem, 2.5vw, 2.6rem);
}

.retail-assurance-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    background: #fff;
    border: 1px solid var(--iw-line);
    border-radius: 14px;
    overflow: hidden;
}

.retail-assurance-item {
    min-width: 0;
    padding: 1.45rem 1.2rem;
    display: flex;
    align-items: center;
    gap: .9rem;
    border-right: 1px solid var(--iw-line);
}

.retail-assurance-item:last-child {
    border-right: 0;
}

.retail-assurance-item > i {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--iw-cream-deep);
    color: var(--iw-navy);
    font-size: 1.2rem;
}

.retail-assurance-item > div {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: .2rem;
}

.retail-assurance-item strong {
    color: var(--iw-navy-deep);
    font-size: .88rem;
    line-height: 1.25;
}

.retail-assurance-item small {
    color: var(--iw-muted);
    font-size: .7rem;
    line-height: 1.4;
}

@media (max-width: 1199.98px) {
    .retail-assurance-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .retail-assurance-item {
        border-bottom: 1px solid var(--iw-line);
    }

    .retail-assurance-item:nth-child(3) {
        border-right: 0;
    }

    .retail-assurance-item:nth-child(4),
    .retail-assurance-item:nth-child(5) {
        border-bottom: 0;
    }
}

@media (max-width: 767.98px) {
    .category-section .section-heading {
        margin-bottom: 1.5rem !important;
    }

    .category-card {
        min-height: 165px;
    }

    .category-image {
        height: 92px;
    }

    .retail-assurance-grid {
        grid-template-columns: 1fr;
    }

    .retail-assurance-item,
    .retail-assurance-item:nth-child(3),
    .retail-assurance-item:nth-child(4) {
        border-right: 0;
        border-bottom: 1px solid var(--iw-line);
    }

    .retail-assurance-item:last-child {
        border-bottom: 0;
    }

    .why-shop .section-heading {
        text-align: left !important;
    }
}

/* =========================================================
   STEP 10B - SHOPPABLE PRODUCT DETAIL
   ========================================================= */

.product-detail-container {
    max-width: 1500px;
}

.product-breadcrumb {
    font-size: .78rem;
}

.storefront-alert {
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: .9rem 1rem;
    border-radius: 10px;
    font-size: .82rem;
    font-weight: 600;
}

.storefront-alert.success {
    background: #edf6f0;
    color: #286b45;
    border: 1px solid #cfe5d7;
}

.storefront-alert.error {
    background: #fff1ef;
    color: #8e3a32;
    border: 1px solid #eed0cb;
}

.product-gallery-panel {
    position: sticky;
    top: 110px;
}

.product-gallery-main {
    min-height: 620px;
    border-radius: 10px;
    background: #f3f1ed;
    border: 1px solid rgba(33, 61, 104, .08);
}

.product-gallery-main img {
    height: 650px;
    object-fit: contain;
    padding: 1rem;
}

.product-thumbnails {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: .25rem;
    scrollbar-width: thin;
}

.product-thumbnails button {
    width: 92px;
    height: 92px;
    flex: 0 0 92px;
    border-radius: 8px;
    transition: .2s ease;
}

.product-thumbnails button:hover,
.product-thumbnails button.is-active {
    border-color: var(--iw-navy);
    box-shadow: 0 0 0 1px var(--iw-navy);
}

.product-purchase-panel {
    position: sticky;
    top: 110px;
    padding: .2rem 0 1rem;
}

.product-detail-brand {
    display: inline-flex;
    align-items: center;
    margin-bottom: .45rem;
    color: var(--iw-navy-deep);
    text-decoration: none;
    font-size: .82rem;
    font-weight: 800;
}

.product-detail-brand:hover {
    color: var(--iw-blue-soft);
}

.product-purchase-panel h1 {
    max-width: 680px;
    margin: .35rem 0 1rem;
    font-family: "DM Sans", "Segoe UI", sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.7rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -.04em;
    color: var(--iw-ink);
}

.product-live-price {
    margin-bottom: .65rem;
}

.product-live-price strong {
    font-size: clamp(1.65rem, 2.7vw, 2.25rem);
    color: var(--iw-ink);
}

.promotion-chip {
    width: fit-content;
    margin-bottom: 1rem;
    padding: .38rem .65rem;
    border-radius: 5px;
    background: var(--iw-navy);
    color: #fff;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.product-detail-summary {
    margin: 1rem 0 1.5rem;
    color: var(--iw-muted);
    font-size: .92rem;
    line-height: 1.7;
}

.purchase-option-group {
    padding: 1.25rem 0;
    border-top: 1px solid var(--iw-line);
}

.purchase-option-heading {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: .75rem;
}

.purchase-option-heading > span {
    color: var(--iw-ink);
    font-size: .82rem;
    font-weight: 800;
}

.purchase-option-heading small {
    color: var(--iw-muted);
    font-size: .69rem;
}

.purchase-options {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
}

.purchase-colour-option,
.purchase-size-option {
    border: 1px solid #d8d6d2;
    background: #fff;
    color: var(--iw-ink);
    transition: .18s ease;
}

.purchase-colour-option {
    min-height: 44px;
    padding: .55rem .75rem;
    border-radius: 7px;
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    font-size: .78rem;
    font-weight: 600;
}

.purchase-colour-swatch {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--swatch);
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px #c9c9c7;
}

.purchase-size-option {
    min-width: 54px;
    min-height: 44px;
    padding: .5rem .8rem;
    border-radius: 5px;
    font-size: .78rem;
    font-weight: 700;
}

.purchase-colour-option:hover:not(:disabled),
.purchase-size-option:hover:not(:disabled),
.purchase-colour-option.is-selected,
.purchase-size-option.is-selected {
    border-color: var(--iw-navy-deep);
    color: var(--iw-navy-deep);
    box-shadow: inset 0 0 0 1px var(--iw-navy-deep);
}

.purchase-colour-option.is-selected,
.purchase-size-option.is-selected {
    background: #f5f7fa;
}

.purchase-colour-option:disabled,
.purchase-size-option:disabled,
.purchase-colour-option.is-unavailable,
.purchase-size-option.is-unavailable {
    opacity: .32;
    cursor: not-allowed;
    text-decoration: line-through;
}

.selected-stock-panel {
    margin: .4rem 0 1.25rem;
    padding: 1rem;
    border: 1px solid #dce7df;
    border-radius: 8px;
    background: #f7fbf8;
}

.selected-stock-panel > div {
    display: flex;
    align-items: flex-start;
    gap: .7rem;
}

.selected-stock-panel i {
    color: var(--iw-success);
    font-size: 1.15rem;
}

.selected-stock-panel span {
    display: flex;
    flex-direction: column;
    gap: .2rem;
}

.selected-stock-panel strong {
    color: #275f40;
    font-size: .79rem;
}

.selected-stock-panel small {
    color: #5d7466;
    font-size: .69rem;
}

.selected-stock-panel p {
    margin: .65rem 0 0 1.85rem;
    color: var(--iw-muted);
    font-size: .69rem;
}

.quantity-and-cart {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: .8rem;
    align-items: end;
}

.quantity-selector {
    display: flex;
    flex-direction: column;
    gap: .4rem;
}

.quantity-label {
    color: var(--iw-ink);
    font-size: .72rem;
    font-weight: 800;
}

.quantity-controls {
    height: 52px;
    display: grid;
    grid-template-columns: 42px 1fr 42px;
    border: 1px solid var(--iw-line);
    border-radius: 7px;
    overflow: hidden;
    background: #fff;
}

.quantity-controls button {
    border: 0;
    background: #fff;
    color: var(--iw-navy-deep);
}

.quantity-controls button:hover {
    background: var(--iw-cream);
}

.quantity-controls input {
    width: 100%;
    border: 0;
    border-left: 1px solid var(--iw-line);
    border-right: 1px solid var(--iw-line);
    text-align: center;
    font-weight: 700;
    outline: 0;
    appearance: textfield;
}

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

.add-to-cart-button {
    min-height: 52px;
    border: 0;
    border-radius: 7px;
    background: var(--iw-navy-deep);
    color: #fff;
    font-size: .82rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    transition: .18s ease;
}

.add-to-cart-button:hover:not(:disabled) {
    background: var(--iw-navy);
    transform: translateY(-1px);
}

.add-to-cart-button:disabled {
    opacity: .38;
    cursor: not-allowed;
}

.purchase-assurance {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .65rem;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--iw-line);
}

.purchase-assurance > div {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
}

.purchase-assurance i {
    color: var(--iw-navy);
    margin-top: .1rem;
}

.purchase-assurance span {
    display: flex;
    flex-direction: column;
    color: var(--iw-muted);
    font-size: .68rem;
    line-height: 1.45;
}

.purchase-assurance strong {
    color: var(--iw-ink);
    font-size: .74rem;
}

.cart-stock-note {
    margin-top: 1rem;
    padding: .8rem .9rem;
    border-radius: 7px;
    background: var(--iw-cream);
    color: #6d6254;
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    font-size: .68rem;
    line-height: 1.5;
}

.product-information-panel {
    padding: 2.25rem 0;
    border-top: 1px solid var(--iw-line);
    border-bottom: 1px solid var(--iw-line);
}

.product-information-heading h2 {
    margin: .35rem 0 1.5rem;
    color: var(--iw-ink);
    font-size: 1.55rem;
    font-weight: 800;
}

.product-information-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border: 1px solid var(--iw-line);
    border-radius: 8px;
    overflow: hidden;
}

.product-information-grid > div {
    min-width: 0;
    padding: 1rem;
    border-right: 1px solid var(--iw-line);
    background: #fff;
}

.product-information-grid > div:last-child {
    border-right: 0;
}

.product-information-grid span,
.product-information-grid strong {
    display: block;
}

.product-information-grid span {
    color: var(--iw-muted);
    font-size: .67rem;
    margin-bottom: .3rem;
}

.product-information-grid strong {
    color: var(--iw-ink);
    font-size: .8rem;
}

.product-description-copy {
    margin-top: 1.5rem;
    max-width: 1050px;
    color: var(--iw-muted);
    font-size: .86rem;
    line-height: 1.8;
}

.you-may-also-like {
    border-top: 0;
}

@media (max-width: 1199.98px) {
    .product-gallery-main {
        min-height: 540px;
    }

    .product-gallery-main img {
        height: 570px;
    }

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

    .product-information-grid > div:nth-child(2) {
        border-right: 0;
    }

    .product-information-grid > div:nth-child(-n+2) {
        border-bottom: 1px solid var(--iw-line);
    }
}

@media (max-width: 991.98px) {
    .product-gallery-panel,
    .product-purchase-panel {
        position: static;
    }

    .product-purchase-panel {
        padding-top: .5rem;
    }
}

@media (max-width: 767.98px) {
    .product-gallery-main {
        min-height: 390px;
    }

    .product-gallery-main img {
        height: 420px;
        padding: .5rem;
    }

    .product-thumbnails button {
        width: 74px;
        height: 74px;
        flex-basis: 74px;
    }

    .product-purchase-panel h1 {
        font-size: 1.75rem;
    }

    .purchase-option-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: .2rem;
    }

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

    .purchase-assurance {
        grid-template-columns: 1fr;
    }

    .product-information-grid {
        grid-template-columns: 1fr;
    }

    .product-information-grid > div {
        border-right: 0;
        border-bottom: 1px solid var(--iw-line);
    }

    .product-information-grid > div:last-child {
        border-bottom: 0;
    }
}



/* =========================================================
   STEP 10B UI REFINEMENT
   ========================================================= */

.storefront-toast {
    position: fixed;
    z-index: 3000;
    left: 50%;
    top: 50%;
    width: max-content;
    max-width: min(88vw, 520px);
    min-width: min(360px, 78vw);
    padding: 1.15rem 1.45rem;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 8px;
    background: rgba(18, 18, 18, .72);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .8rem;
    box-shadow: 0 18px 48px rgba(0, 0, 0, .22);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transform: translate(-50%, -50%);
    opacity: 1;
    pointer-events: none;
    font-size: .92rem;
    font-weight: 600;
    line-height: 1.35;
    text-align: center;
    transition:
        opacity .24s ease,
        transform .24s ease;
}

.storefront-toast i {
    flex: 0 0 auto;
    font-size: 1.08rem;
}

.storefront-toast.is-success i {
    color: #a6dfb7;
}

.storefront-toast.is-error i {
    color: #ffaaa2;
}

.storefront-toast.is-hiding {
    opacity: 0;
    transform: translate(-50%, calc(-50% - 8px));
}

.quantity-availability {
    display: block;
    min-height: 1rem;
    margin-top: .42rem;
    color: var(--iw-muted);
    font-size: .68rem;
    font-weight: 600;
    line-height: 1.3;
}

.selected-stock-panel {
    display: none !important;
}

@media (max-width: 767.98px) {
    .storefront-toast {
        min-width: min(320px, 84vw);
        max-width: 88vw;
        padding: 1rem 1.2rem;
        font-size: .82rem;
    }
}


/* =========================================================
   AJAX ADD-TO-CART
   Prevents page reload and scroll movement.
   ========================================================= */

.add-to-cart-button .spinner-border {
    width: .9rem;
    height: .9rem;
    border-width: .12em;
}

/* =========================================================
   STEP 10C - SHOPPING CART
   ========================================================= */

.cart-utility {
    position: relative;
}

.cart-count-badge {
    position: absolute;
    top: -3px;
    right: -5px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--iw-navy-deep);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .58rem;
    font-weight: 800;
    line-height: 1;
    border: 2px solid #fff;
}

.cart-count-badge.is-empty {
    display: none;
}

.cart-page {
    min-height: 70vh;
    background: #f8f6f1;
}

.cart-page-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
}

.cart-page-heading h1 {
    margin: .35rem 0 0;
    color: var(--iw-navy-deep);
    font-family: "Fredoka", "DM Sans", sans-serif;
    font-size: clamp(2rem, 3.2vw, 3.25rem);
    font-weight: 700;
    letter-spacing: -.04em;
}

.cart-page-count {
    color: var(--iw-muted);
    font-size: .78rem;
    font-weight: 700;
}

.cart-items-card,
.cart-summary-card,
.cart-empty-state {
    background: #fff;
    border: 1px solid rgba(33, 61, 104, .10);
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(30, 42, 54, .045);
}

.cart-item {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 1.25rem;
    padding: 1.25rem;
    border-bottom: 1px solid var(--iw-line);
}

.cart-item:last-child {
    border-bottom: 0;
}

.cart-item.has-issue {
    background: #fffaf6;
}

.cart-item-image {
    width: 150px;
    height: 170px;
    overflow: hidden;
    border-radius: 8px;
    background: #f3f1ed;
    display: grid;
    place-items: center;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: .5rem;
}

.cart-item-main {
    min-width: 0;
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
}

.cart-item-copy {
    min-width: 0;
    flex: 1;
}

.cart-item-brand {
    display: block;
    margin-bottom: .25rem;
    color: var(--iw-blue-soft);
    font-size: .66rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.cart-item-copy h2 {
    margin: 0 0 .55rem;
    font-size: 1rem;
    line-height: 1.35;
    font-weight: 800;
}

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

.cart-item-copy h2 a:hover {
    color: var(--iw-navy);
}

.cart-item-variant {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem 1rem;
    color: var(--iw-muted);
    font-size: .72rem;
}

.cart-item-variant strong {
    color: var(--iw-ink);
}

.cart-item-unit-price {
    display: flex;
    align-items: baseline;
    gap: .55rem;
    margin-top: .8rem;
}

.cart-item-unit-price strong {
    color: var(--iw-ink);
    font-size: .9rem;
}

.cart-item-unit-price del {
    color: #9a9da0;
    font-size: .68rem;
}

.cart-item-warning {
    margin-top: .8rem;
    max-width: 520px;
    padding: .65rem .75rem;
    border-radius: 6px;
    background: #fff0e9;
    color: #9b4d28;
    display: flex;
    align-items: flex-start;
    gap: .5rem;
    font-size: .68rem;
    line-height: 1.45;
}

.cart-item-actions {
    width: 210px;
    flex: 0 0 210px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: .85rem;
}

.cart-quantity {
    width: 138px;
    height: 42px;
    display: grid;
    grid-template-columns: 40px 1fr 40px;
    border: 1px solid var(--iw-line);
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
}

.cart-quantity button {
    border: 0;
    background: #fff;
    color: var(--iw-navy-deep);
}

.cart-quantity button:hover {
    background: var(--iw-cream);
}

.cart-quantity input {
    min-width: 0;
    width: 100%;
    border: 0;
    border-left: 1px solid var(--iw-line);
    border-right: 1px solid var(--iw-line);
    text-align: center;
    font-size: .78rem;
    font-weight: 800;
    outline: 0;
    appearance: textfield;
}

.cart-quantity input::-webkit-inner-spin-button,
.cart-quantity input::-webkit-outer-spin-button {
    appearance: none;
}

.cart-quantity-availability {
    display: block;
    margin-top: .35rem;
    color: var(--iw-muted);
    text-align: right;
    font-size: .62rem;
    font-weight: 600;
}

.cart-item-total {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: .15rem;
}

.cart-item-total span {
    color: var(--iw-muted);
    font-size: .62rem;
}

.cart-item-total strong {
    color: var(--iw-ink);
    font-size: .9rem;
}

.cart-remove-button {
    padding: 0;
    border: 0;
    background: transparent;
    color: #8b8e92;
    font-size: .68rem;
    font-weight: 700;
}

.cart-remove-button:hover {
    color: #a3463e;
}

.cart-continue-shopping a {
    color: var(--iw-navy);
    text-decoration: none;
    font-size: .76rem;
    font-weight: 800;
}

.cart-summary-card {
    position: sticky;
    top: 110px;
    padding: 1.5rem;
}

.cart-summary-card h2 {
    margin: .35rem 0 1.25rem;
    color: var(--iw-navy-deep);
    font-size: 1.35rem;
    font-weight: 800;
}

.cart-summary-lines {
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--iw-line);
}

.cart-summary-lines > div,
.cart-summary-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.cart-summary-lines > div + div {
    margin-top: .7rem;
}

.cart-summary-lines span {
    color: var(--iw-muted);
    font-size: .75rem;
}

.cart-summary-lines strong {
    color: var(--iw-ink);
    font-size: .78rem;
}

.cart-summary-lines .discount strong {
    color: var(--iw-success);
}

.cart-summary-total {
    padding: 1.1rem 0;
}

.cart-summary-total span {
    color: var(--iw-ink);
    font-size: .82rem;
    font-weight: 800;
}

.cart-summary-total strong {
    color: var(--iw-navy-deep);
    font-size: 1.25rem;
}

.cart-stock-readiness {
    margin-bottom: 1rem;
    padding: .8rem;
    border-radius: 7px;
    display: flex;
    align-items: flex-start;
    gap: .65rem;
}

.cart-stock-readiness.ready {
    background: #eef7f1;
    color: #2f6c45;
}

.cart-stock-readiness.attention {
    background: #fff0e9;
    color: #9b4d28;
}

.cart-stock-readiness i {
    margin-top: .08rem;
}

.cart-stock-readiness div {
    display: flex;
    flex-direction: column;
    gap: .15rem;
}

.cart-stock-readiness strong {
    font-size: .73rem;
}

.cart-stock-readiness small {
    font-size: .64rem;
    line-height: 1.45;
}

.cart-checkout-button {
    width: 100%;
    min-height: 52px;
    border: 0;
    border-radius: 7px;
    background: var(--iw-navy-deep);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    font-size: .8rem;
    font-weight: 800;
}

.cart-checkout-button:disabled {
    opacity: .45;
    cursor: not-allowed;
}

.cart-checkout-note {
    margin: .7rem 0 1rem;
    color: var(--iw-muted);
    font-size: .62rem;
    line-height: 1.5;
    text-align: center;
}

.cart-payment-note {
    padding-top: 1rem;
    border-top: 1px solid var(--iw-line);
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    color: var(--iw-muted);
}

.cart-payment-note i {
    color: var(--iw-navy);
}

.cart-payment-note span {
    display: flex;
    flex-direction: column;
    gap: .15rem;
    font-size: .64rem;
    line-height: 1.45;
}

.cart-payment-note strong {
    color: var(--iw-ink);
    font-size: .7rem;
}

.cart-empty-state {
    padding: clamp(3rem, 7vw, 6rem) 1.5rem;
    text-align: center;
}

.cart-empty-icon {
    width: 78px;
    height: 78px;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
    background: var(--iw-cream);
    color: var(--iw-navy);
    display: grid;
    place-items: center;
    font-size: 1.8rem;
}

.cart-empty-state h2 {
    color: var(--iw-navy-deep);
    font-size: 1.55rem;
    font-weight: 800;
}

.cart-empty-state p {
    max-width: 480px;
    margin: .6rem auto 1.35rem;
    color: var(--iw-muted);
    font-size: .82rem;
}

@media (max-width: 991.98px) {
    .cart-summary-card {
        position: static;
    }
}

@media (max-width: 767.98px) {
    .cart-page-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: .35rem;
    }

    .cart-item {
        grid-template-columns: 92px minmax(0, 1fr);
        gap: .85rem;
        padding: 1rem;
    }

    .cart-item-image {
        width: 92px;
        height: 112px;
    }

    .cart-item-main {
        flex-direction: column;
        gap: .9rem;
    }

    .cart-item-actions {
        width: 100%;
        flex-basis: auto;
        align-items: stretch;
    }

    .cart-item-actions form:first-child {
        width: 100%;
    }

    .cart-quantity {
        width: 138px;
    }

    .cart-quantity-availability {
        text-align: left;
    }

    .cart-item-total {
        align-items: flex-start;
    }
}

/* =========================================================
   STEP 10D - CHECKOUT
   ========================================================= */

.cart-checkout-button {
    text-decoration: none;
}

.cart-checkout-button:hover {
    color: #fff;
}

.checkout-page,
.checkout-confirmation-page {
    min-height: 70vh;
    background: #f8f6f1;
}

.checkout-heading h1 {
    margin: .3rem 0 .45rem;
    color: var(--iw-navy-deep);
    font-family: "Fredoka", "DM Sans", sans-serif;
    font-size: clamp(2rem, 3.2vw, 3.2rem);
    font-weight: 700;
    letter-spacing: -.04em;
}

.checkout-heading p {
    max-width: 760px;
    margin: 0;
    color: var(--iw-muted);
    font-size: .84rem;
    line-height: 1.65;
}

.checkout-alert {
    padding: .85rem 1rem;
    border: 1px solid #efd0c8;
    border-radius: 7px;
    background: #fff0ec;
    color: #93463d;
    display: flex;
    align-items: center;
    gap: .6rem;
    font-size: .78rem;
    font-weight: 600;
}

.checkout-card,
.checkout-summary {
    background: #fff;
    border: 1px solid rgba(33, 61, 104, .10);
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(30, 42, 54, .045);
}

.checkout-card {
    padding: 1.5rem;
}

.checkout-card-heading {
    display: flex;
    align-items: flex-start;
    gap: .85rem;
    margin-bottom: 1.25rem;
}

.checkout-card-heading > span {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    border-radius: 50%;
    background: var(--iw-navy-deep);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: .68rem;
    font-weight: 800;
}

.checkout-card-heading h2 {
    margin: 0;
    color: var(--iw-ink);
    font-size: 1rem;
    font-weight: 800;
}

.checkout-card-heading p {
    margin: .2rem 0 0;
    color: var(--iw-muted);
    font-size: .68rem;
}

.checkout-card .form-label {
    color: var(--iw-ink);
    font-size: .72rem;
    font-weight: 800;
}

.checkout-card .form-control,
.checkout-card .form-select {
    min-height: 46px;
    border-color: var(--iw-line);
    border-radius: 7px;
    font-size: .78rem;
}

.checkout-card textarea.form-control {
    min-height: auto;
}

.fulfilment-choice-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .75rem;
}

.fulfilment-choice {
    position: relative;
    cursor: pointer;
}

.fulfilment-choice > input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.fulfilment-choice-body {
    min-height: 150px;
    padding: 1rem;
    border: 1px solid var(--iw-line);
    border-radius: 8px;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .45rem;
    transition: .18s ease;
}

.fulfilment-choice-body > i {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--iw-cream);
    color: var(--iw-navy);
    display: grid;
    place-items: center;
    font-size: 1rem;
}

.fulfilment-choice-body strong {
    color: var(--iw-ink);
    font-size: .76rem;
}

.fulfilment-choice-body small {
    color: var(--iw-muted);
    font-size: .65rem;
    line-height: 1.45;
}

.fulfilment-choice > input:checked + .fulfilment-choice-body {
    border-color: var(--iw-navy-deep);
    box-shadow: inset 0 0 0 1px var(--iw-navy-deep);
    background: #f8fafc;
}

.delivery-arrangement-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .7rem;
}

.delivery-arrangement-option {
    position: relative;
    cursor: pointer;
}

.delivery-arrangement-option > input {
    position: absolute;
    opacity: 0;
}

.delivery-arrangement-option > span {
    min-height: 96px;
    padding: .9rem;
    border: 1px solid var(--iw-line);
    border-radius: 7px;
    display: flex;
    flex-direction: column;
    gap: .3rem;
}

.delivery-arrangement-option strong {
    color: var(--iw-ink);
    font-size: .72rem;
}

.delivery-arrangement-option small {
    color: var(--iw-muted);
    font-size: .63rem;
    line-height: 1.45;
}

.delivery-arrangement-option > input:checked + span {
    border-color: var(--iw-navy-deep);
    background: #f8fafc;
    box-shadow: inset 0 0 0 1px var(--iw-navy-deep);
}

.checkout-info-note {
    margin-top: .9rem;
    padding: .75rem .85rem;
    border-radius: 7px;
    background: var(--iw-cream);
    color: #6c6257;
    display: flex;
    align-items: flex-start;
    gap: .55rem;
    font-size: .66rem;
    line-height: 1.5;
}

.courier-fee-note {
    margin-top: .9rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .8rem .9rem;
    border: 1px solid var(--iw-line);
    border-radius: 7px;
}

.courier-fee-note span {
    color: var(--iw-muted);
    font-size: .7rem;
}

.courier-fee-note strong {
    color: var(--iw-navy-deep);
    font-size: .82rem;
}

.checkout-summary {
    position: sticky;
    top: 110px;
    padding: 1.5rem;
}

.checkout-summary h2 {
    margin: .3rem 0 1rem;
    color: var(--iw-navy-deep);
    font-size: 1.25rem;
    font-weight: 800;
}

.checkout-summary-items {
    max-height: 270px;
    overflow-y: auto;
    padding-right: .25rem;
}

.checkout-summary-item {
    padding: .65rem 0;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px solid var(--iw-line);
}

.checkout-summary-item div {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: .16rem;
}

.checkout-summary-item strong {
    color: var(--iw-ink);
    font-size: .69rem;
    line-height: 1.35;
}

.checkout-summary-item small {
    color: var(--iw-muted);
    font-size: .6rem;
}

.checkout-summary-item > span {
    white-space: nowrap;
    color: var(--iw-ink);
    font-size: .68rem;
    font-weight: 700;
}

.checkout-summary-lines {
    padding: 1rem 0;
    border-bottom: 1px solid var(--iw-line);
}

.checkout-summary-lines > div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-size: .7rem;
}

.checkout-summary-lines > div + div {
    margin-top: .55rem;
}

.checkout-summary-lines span {
    color: var(--iw-muted);
}

.checkout-summary-lines strong {
    color: var(--iw-ink);
}

.checkout-summary-lines .discount strong {
    color: var(--iw-success);
}

.checkout-total {
    padding: 1rem 0;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
}

.checkout-total span {
    color: var(--iw-ink);
    font-size: .8rem;
    font-weight: 800;
}

.checkout-total strong {
    color: var(--iw-navy-deep);
    font-size: 1.2rem;
}

.checkout-submit-button {
    width: 100%;
    min-height: 52px;
    border: 0;
    border-radius: 7px;
    background: var(--iw-navy-deep);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    font-size: .78rem;
    font-weight: 800;
}

.checkout-submit-button:hover {
    background: var(--iw-navy);
}

.checkout-payment-message {
    margin: .75rem 0 0;
    color: var(--iw-muted);
    text-align: center;
    font-size: .61rem;
    line-height: 1.5;
}

.checkout-confirmation-card {
    width: min(100%, 820px);
    margin: 0 auto;
    padding: clamp(2rem, 5vw, 4rem);
    border: 1px solid rgba(33, 61, 104, .10);
    border-radius: 14px;
    background: #fff;
    box-shadow: var(--shadow);
    text-align: center;
}

.checkout-confirmation-icon {
    width: 78px;
    height: 78px;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
    background: #eef7f1;
    color: var(--iw-success);
    display: grid;
    place-items: center;
    font-size: 1.8rem;
}

.checkout-confirmation-card h1 {
    margin: .4rem 0 .5rem;
    color: var(--iw-navy-deep);
    font-size: clamp(1.65rem, 4vw, 2.6rem);
    font-weight: 800;
}

.checkout-confirmation-lead {
    color: var(--iw-muted);
    font-size: .82rem;
}

.checkout-confirmation-status {
    margin: 1.5rem 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid var(--iw-line);
    border-radius: 8px;
    overflow: hidden;
}

.checkout-confirmation-status > div {
    padding: 1rem;
    border-right: 1px solid var(--iw-line);
}

.checkout-confirmation-status > div:last-child {
    border-right: 0;
}

.checkout-confirmation-status span,
.checkout-confirmation-status strong {
    display: block;
}

.checkout-confirmation-status span {
    color: var(--iw-muted);
    font-size: .62rem;
}

.checkout-confirmation-status strong {
    margin-top: .2rem;
    color: var(--iw-ink);
    font-size: .75rem;
}

.checkout-confirmation-method,
.checkout-next-stage {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    display: flex;
    align-items: flex-start;
    gap: .7rem;
    text-align: left;
}

.checkout-confirmation-method {
    background: var(--iw-cream);
}

.checkout-next-stage {
    margin-bottom: 1.25rem;
    background: #f1f5fa;
}

.checkout-confirmation-method i,
.checkout-next-stage i {
    color: var(--iw-navy);
    font-size: 1.1rem;
}

.checkout-confirmation-method div,
.checkout-next-stage div {
    display: flex;
    flex-direction: column;
    gap: .2rem;
}

.checkout-confirmation-method strong,
.checkout-next-stage strong {
    color: var(--iw-ink);
    font-size: .76rem;
}

.checkout-confirmation-method small,
.checkout-next-stage p {
    margin: 0;
    color: var(--iw-muted);
    font-size: .66rem;
    line-height: 1.5;
}

@media (max-width: 991.98px) {
    .checkout-summary {
        position: static;
    }

    .fulfilment-choice-grid {
        grid-template-columns: 1fr;
    }

    .fulfilment-choice-body {
        min-height: auto;
    }
}

@media (max-width: 767.98px) {
    .checkout-card {
        padding: 1rem;
    }

    .delivery-arrangement-grid {
        grid-template-columns: 1fr;
    }

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

    .checkout-confirmation-status > div {
        border-right: 0;
        border-bottom: 1px solid var(--iw-line);
    }

    .checkout-confirmation-status > div:last-child {
        border-bottom: 0;
    }
}

/* =========================================================
   ISLAND WEAR MARKETPLACE HEADER - REPAIR / OVERRIDE
   Appended deliberately so these rules override the older
   header styles without disturbing the rest of the storefront.
   ========================================================= */

.store-header {
    z-index: 1030;
    background: #fff;
    border-bottom: 1px solid rgba(33, 61, 104, .10);
    box-shadow: 0 4px 18px rgba(20, 42, 75, .05);
}

.storefront-top-strip {
    background: #f5f6f8;
    border-bottom: 1px solid #eceef1;
    color: var(--iw-muted);
    font-size: .72rem;
}

.storefront-top-strip-inner {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.storefront-top-note,
.storefront-top-links,
.storefront-top-links a {
    display: flex;
    align-items: center;
}

.storefront-top-note {
    gap: .45rem;
}

.storefront-top-links {
    gap: 1.35rem;
}

.storefront-top-links a {
    gap: .4rem;
    color: #58616c;
    text-decoration: none;
    font-weight: 600;
}

.storefront-top-links a:hover {
    color: var(--iw-navy);
}

.storefront-commerce-header {
    background: #fff;
}

.storefront-commerce-grid {
    min-height: 88px;
    display: grid;
    grid-template-columns: minmax(175px, 220px) minmax(320px, 1fr) auto;
    align-items: center;
    gap: clamp(1rem, 2vw, 2rem);
}

.storefront-commerce-brand,
.storefront-commerce-brand:link,
.storefront-commerce-brand:visited {
    color: var(--iw-navy-deep);
    text-decoration: none;
    white-space: nowrap;
}

.storefront-commerce-brand span {
    font-family: "Fredoka", "DM Sans", sans-serif;
    font-size: clamp(1.65rem, 2vw, 2.15rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -.045em;
}

.storefront-commerce-brand:hover {
    color: var(--iw-navy);
}

.storefront-header-search {
    min-width: 0;
    height: 48px;
    padding-left: 1rem;
    border: 1px solid #e3e5e8;
    border-radius: 999px;
    background: #f5f5f6;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    overflow: hidden;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.storefront-header-search:focus-within {
    border-color: rgba(33, 61, 104, .38);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(33, 61, 104, .08);
}

.storefront-header-search-icon {
    color: #555d66;
    font-size: 1.05rem;
}

.storefront-header-search input {
    width: 100%;
    min-width: 0;
    height: 100%;
    padding: 0 .75rem;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--iw-ink);
    font: inherit;
    font-size: .88rem;
}

.storefront-header-search input::placeholder {
    color: #8a8f96;
}

.storefront-header-search button {
    align-self: stretch;
    min-width: 96px;
    padding: 0 1.25rem;
    border: 0;
    background: var(--iw-navy);
    color: #fff;
    font: inherit;
    font-size: .78rem;
    font-weight: 800;
    transition: background .18s ease;
}

.storefront-header-search button:hover {
    background: var(--iw-navy-deep);
}

.storefront-commerce-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: .3rem;
}

.storefront-action,
.storefront-action:link,
.storefront-action:visited {
    min-height: 46px;
    padding: .35rem .55rem;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #303841;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .52rem;
    text-decoration: none;
    white-space: nowrap;
    transition: background .18s ease, color .18s ease;
}

button.storefront-action {
    font: inherit;
}

.storefront-action:hover,
.storefront-action.active,
.storefront-action.show {
    background: #f0f2f5;
    color: var(--iw-navy-deep);
}

.storefront-action-icon {
    position: relative;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.storefront-action-icon > i,
.storefront-icon-action > i {
    font-size: 1.45rem;
    line-height: 1;
}

.storefront-action-copy {
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.12;
}

.storefront-action-copy small {
    color: #8a8f96;
    font-size: .60rem;
    font-weight: 600;
}

.storefront-action-copy strong {
    max-width: 145px;
    overflow: hidden;
    color: inherit;
    font-size: .82rem;
    font-weight: 750;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.storefront-action-chevron {
    margin-left: .1rem;
    font-size: .68rem;
}

.storefront-icon-action {
    width: 44px;
    padding-inline: .35rem;
}

.storefront-cart-action {
    padding-right: .8rem;
}

.storefront-cart-label {
    font-size: .84rem;
    font-weight: 750;
}

.cart-utility {
    position: relative;
}

.cart-count-badge {
    position: absolute;
    top: -5px;
    right: -6px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border: 2px solid #fff;
    border-radius: 999px;
    background: var(--iw-sand);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .58rem;
    font-weight: 800;
    line-height: 1;
}

.cart-count-badge.is-empty {
    display: none;
}

/* Account dropdown */
.storefront-account-dropdown {
    position: relative;
}

.storefront-account-toggle::after {
    display: none !important;
}

.storefront-account-menu.dropdown-menu {
    width: min(330px, calc(100vw - 24px));
    min-width: 0;
    margin-top: .65rem !important;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(20, 42, 75, .10);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 18px 42px rgba(20, 42, 75, .17);
}

.storefront-account-menu-head {
    padding: 1rem 1.05rem .9rem;
    border-bottom: 1px solid var(--iw-line);
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: .22rem;
}

.storefront-account-menu-head strong {
    color: var(--iw-navy-deep);
    font-size: .9rem;
    font-weight: 750;
}

.storefront-account-menu-head span {
    color: var(--iw-muted);
    font-size: .7rem;
    line-height: 1.45;
}

.storefront-account-menu-body {
    padding: .7rem;
}

.storefront-account-signin {
    min-height: 44px;
    margin: .15rem .15rem .7rem;
    border-radius: 9px;
    background: var(--iw-navy);
    color: #fff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: .8rem;
    font-weight: 800;
}

.storefront-account-signin:hover {
    background: var(--iw-navy-deep);
}

.storefront-account-menu-link {
    min-height: 44px;
    padding: .65rem .7rem;
    border-radius: 9px;
    color: #37404a;
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) auto;
    align-items: center;
    gap: .55rem;
    text-decoration: none;
    font-size: .8rem;
    font-weight: 600;
}

.storefront-account-menu-link:hover {
    background: var(--iw-cream);
    color: var(--iw-navy-deep);
}

.storefront-account-menu-link i {
    color: var(--iw-navy);
    font-size: 1rem;
}

.storefront-menu-count {
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--iw-cream-deep);
    color: var(--iw-navy);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .62rem;
    font-weight: 800;
}

.storefront-account-menu-divider {
    height: 1px;
    margin: .55rem .15rem .7rem;
    background: var(--iw-line);
}

.storefront-account-logout-form {
    margin: 0 .15rem .15rem;
}

.storefront-account-logout {
    width: 100%;
    min-height: 46px;
    padding: .7rem 1rem;
    border: 1px solid var(--iw-navy);
    border-radius: 9px;
    background: var(--iw-navy);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    font-family: inherit;
    font-size: .8rem;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
}

.storefront-account-logout:hover,
.storefront-account-logout:focus {
    background: var(--iw-navy-deep);
    border-color: var(--iw-navy-deep);
    color: #fff;
    outline: 0;
}

.storefront-account-logout:active {
    transform: translateY(1px);
}

.storefront-account-logout i {
    font-size: 1rem;
}

/* Category/navigation strip */
.storefront-category-nav {
    background: #fff;
    border-top: 1px solid #f0f1f3;
}

.storefront-category-scroll {
    min-height: 52px;
    display: flex;
    align-items: stretch;
    gap: .2rem;
    overflow-x: auto;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
}

.storefront-category-scroll::-webkit-scrollbar {
    display: none;
}

.storefront-category-link,
.storefront-category-link:link,
.storefront-category-link:visited {
    position: relative;
    min-width: max-content;
    padding: 0 .9rem;
    color: #4c535b;
    display: inline-flex;
    align-items: center;
    gap: .42rem;
    text-decoration: none;
    font-size: .76rem;
    font-weight: 650;
    transition: color .18s ease, background .18s ease;
}

.storefront-category-link i {
    color: #737982;
    font-size: .92rem;
}

.storefront-category-link:hover,
.storefront-category-link.active {
    background: #fafafa;
    color: var(--iw-navy-deep);
}

.storefront-category-link:hover i,
.storefront-category-link.active i {
    color: var(--iw-navy);
}

.storefront-category-link.active::after {
    content: "";
    position: absolute;
    right: .75rem;
    bottom: 0;
    left: .75rem;
    height: 2px;
    border-radius: 999px 999px 0 0;
    background: var(--iw-navy);
}

.storefront-category-link-all {
    font-weight: 800;
}

.storefront-header-search-mobile {
    display: none;
}

/* Keep the existing notification component compatible with the new action row. */
button.storefront-notification-toggle,
button.storefront-notification-toggle:hover,
button.storefront-notification-toggle:focus,
button.storefront-notification-toggle:focus-visible,
button.storefront-notification-toggle:active,
button.storefront-notification-toggle.show {
    width: 44px;
    height: 46px;
    min-width: 44px;
    min-height: 46px;
    margin: 0;
    padding: .35rem !important;
    border: 0 !important;
    border-radius: 10px !important;
    outline: 0 !important;
    background: transparent !important;
    color: #303841 !important;
    box-shadow: none !important;
}

button.storefront-notification-toggle:hover,
button.storefront-notification-toggle:focus,
button.storefront-notification-toggle.show {
    background: #f0f2f5 !important;
    color: var(--iw-navy-deep) !important;
}

button.storefront-notification-toggle > i {
    font-size: 1.45rem;
}

@media (max-width: 1199.98px) {
    .storefront-commerce-grid {
        grid-template-columns: 170px minmax(260px, 1fr) auto;
        gap: .8rem;
    }

    .storefront-header-search button {
        min-width: 82px;
        padding-inline: 1rem;
    }
}

@media (max-width: 991.98px) {
    .storefront-commerce-grid {
        min-height: auto;
        padding-top: .7rem;
        padding-bottom: .75rem;
        grid-template-columns: minmax(145px, 1fr) auto;
        gap: .55rem .8rem;
    }

    .storefront-commerce-brand span {
        font-size: 1.55rem;
    }

    .storefront-commerce-grid > .storefront-header-search:not(.storefront-header-search-mobile) {
        display: none;
    }

    .storefront-header-search-mobile {
        grid-column: 1 / -1;
        display: grid;
        height: 44px;
    }

    .storefront-header-search-mobile button {
        min-width: 48px;
        width: 48px;
        padding: 0;
    }

    .storefront-account-toggle {
        padding-inline: .35rem;
    }

    .storefront-category-scroll {
        min-height: 48px;
        padding-left: .55rem;
        padding-right: .55rem;
    }

    .storefront-category-link {
        padding-inline: .75rem;
        font-size: .72rem;
    }
}

@media (max-width: 575.98px) {
    .storefront-shell {
        padding-left: .85rem;
        padding-right: .85rem;
    }

    .storefront-commerce-actions {
        gap: .05rem;
    }

    .storefront-action {
        min-height: 40px;
        padding: .2rem .32rem;
    }

    .storefront-action-icon {
        width: 30px;
        height: 30px;
    }

    .storefront-action-icon > i,
    .storefront-icon-action > i {
        font-size: 1.3rem;
    }

    .storefront-cart-action {
        padding-right: .35rem;
    }

    .storefront-account-menu.dropdown-menu {
        width: min(320px, calc(100vw - 16px));
    }
}

/* =========================================================
   ISLAND WEAR HEADER V3 - LOGO / CLEAN HEADER
   ========================================================= */
.storefront-commerce-brand {
    min-width: 0;
    display: inline-flex;
    align-items: center;
}

.storefront-brand-logo {
    display: block;
    width: auto;
    max-width: 205px;
    height: auto;
    max-height: 58px;
    object-fit: contain;
}

@media (max-width: 991.98px) {
    .storefront-brand-logo {
        max-width: 165px;
        max-height: 48px;
    }
}

@media (max-width: 575.98px) {
    .storefront-brand-logo {
        max-width: 145px;
        max-height: 44px;
    }
}
/* =========================================================
   ISLAND WEAR HEADER V4 - CIRCLE LOGO + TEXT LOGO
   ========================================================= */
.storefront-commerce-brand {
    gap: 9px;
    flex-shrink: 0;
}

.storefront-brand-circle {
    display: block;
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    border-radius: 50%;
    object-fit: contain;
}

.storefront-brand-text {
    display: block;
    width: auto;
    height: 36px;
    max-width: 155px;
    object-fit: contain;
    object-position: left center;
}

@media (max-width: 1199.98px) {
    .storefront-brand-circle {
        width: 52px;
        height: 52px;
        flex-basis: 52px;
    }

    .storefront-brand-text {
        height: 32px;
        max-width: 135px;
    }
}

@media (max-width: 991.98px) {
    .storefront-commerce-brand {
        gap: 7px;
    }

    .storefront-brand-circle {
        width: 45px;
        height: 45px;
        flex-basis: 45px;
    }

    .storefront-brand-text {
        height: 29px;
        max-width: 120px;
    }
}

@media (max-width: 575.98px) {
    .storefront-commerce-brand {
        gap: 5px;
    }

    .storefront-brand-circle {
        width: 39px;
        height: 39px;
        flex-basis: 39px;
    }

    .storefront-brand-text {
        height: 25px;
        max-width: 100px;
    }
}
/* =========================================================
   ISLAND WEAR HEADER V5 - CIRCLE EMBLEM + LIVE WORDMARK
   ========================================================= */
.storefront-brand-text {
    display: none;
}

.storefront-brand-wordmark {
    display: inline-flex;
    align-items: baseline;
    color: var(--iw-navy);
    font-family: "DM Sans", sans-serif;
    font-size: 1.55rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.045em;
    white-space: nowrap;
}

.storefront-brand-dot {
    color: var(--iw-navy);
}

@media (max-width: 1199.98px) {
    .storefront-brand-wordmark {
        font-size: 1.4rem;
    }
}

@media (max-width: 991.98px) {
    .storefront-brand-wordmark {
        font-size: 1.28rem;
    }
}

@media (max-width: 575.98px) {
    .storefront-brand-wordmark {
        font-size: 1.08rem;
    }
}


/* =========================================================
   ISLAND WEAR HEADER V7 - MINI CART + ACTION ORDER
   Cart sits to the left of Account. The mini-cart uses the
   same visual language as the existing account dropdown.
   ========================================================= */
.storefront-commerce-actions {
    position: relative;
}

.storefront-cart-dropdown {
    position: relative;
}

.storefront-cart-dropdown .storefront-cart-action {
    padding-right: .55rem;
}

.storefront-mini-cart-menu.dropdown-menu {
    width: min(390px, calc(100vw - 24px));
    min-width: 0;
    margin-top: .65rem !important;
    padding: 0;
    max-height: calc(100vh - 145px);
    overflow: hidden;
    border: 1px solid rgba(20, 42, 75, .10);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 18px 42px rgba(20, 42, 75, .17);
}

/*
 * Use flex only while Bootstrap has the dropdown open.
 * Keeping display:flex off the base .dropdown-menu selector allows
 * Bootstrap to close the menu normally and prevents Popper position
 * recalculation from making the panel jump left/right.
 */
.storefront-mini-cart-menu.dropdown-menu.show {
    display: flex;
    flex-direction: column;
}

.storefront-mini-cart-head {
    min-height: 68px;
    padding: .9rem 1rem;
    border-bottom: 1px solid var(--iw-line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.storefront-mini-cart-head > div {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: .12rem;
}

.storefront-mini-cart-head strong {
    color: var(--iw-navy-deep);
    font-size: .92rem;
    font-weight: 800;
}

.storefront-mini-cart-head span {
    color: var(--iw-muted);
    font-size: .68rem;
}

.storefront-mini-cart-head > i {
    color: var(--iw-navy);
    font-size: 1.15rem;
}

.storefront-mini-cart-items {
    flex: 1 1 auto;
    min-height: 0;
    max-height: min(330px, calc(100vh - 350px));
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    scrollbar-width: thin;
}

.storefront-mini-cart-item,
.storefront-mini-cart-item:link,
.storefront-mini-cart-item:visited {
    padding: .82rem 1rem;
    border-bottom: 1px solid var(--iw-line);
    color: inherit;
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) auto;
    align-items: center;
    gap: .75rem;
    text-decoration: none;
    transition: background .18s ease;
}

.storefront-mini-cart-item:hover {
    background: #f7f8fa;
}

.storefront-mini-cart-image {
    width: 58px;
    height: 68px;
    overflow: hidden;
    border: 1px solid var(--iw-line);
    border-radius: 9px;
    background: var(--iw-cream);
    display: flex;
    align-items: center;
    justify-content: center;
}

.storefront-mini-cart-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.storefront-mini-cart-image > i {
    color: #9ba2aa;
    font-size: 1.25rem;
}

.storefront-mini-cart-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: .2rem;
}

.storefront-mini-cart-copy > strong {
    overflow: hidden;
    color: var(--iw-ink);
    font-size: .78rem;
    font-weight: 800;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.storefront-mini-cart-variant,
.storefront-mini-cart-price {
    color: var(--iw-muted);
    font-size: .64rem;
    line-height: 1.35;
}

.storefront-mini-cart-line-total {
    color: var(--iw-navy-deep);
    font-size: .7rem;
    font-weight: 800;
    white-space: nowrap;
}

.storefront-mini-cart-head,
.storefront-mini-cart-more,
.storefront-mini-cart-summary,
.storefront-mini-cart-view {
    flex-shrink: 0;
}

.storefront-mini-cart-more {
    padding: .55rem 1rem;
    border-bottom: 1px solid var(--iw-line);
    background: #fafbfc;
    color: var(--iw-muted);
    font-size: .65rem;
    font-weight: 650;
    text-align: center;
}

.storefront-mini-cart-summary {
    padding: .85rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.storefront-mini-cart-summary span {
    color: var(--iw-muted);
    font-size: .72rem;
    font-weight: 650;
}

.storefront-mini-cart-summary strong {
    color: var(--iw-navy-deep);
    font-size: .88rem;
    font-weight: 850;
}

.storefront-mini-cart-view,
.storefront-mini-cart-view:link,
.storefront-mini-cart-view:visited {
    min-height: 46px;
    margin: 0 .85rem .85rem;
    padding: .7rem 1rem;
    border-radius: 9px;
    background: var(--iw-navy);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    font-size: .74rem;
    font-weight: 800;
    text-decoration: none;
    transition: background .18s ease, transform .18s ease;
}

.storefront-mini-cart-view:hover {
    background: var(--iw-navy-deep);
    color: #fff;
}

.storefront-mini-cart-empty {
    padding: 1.4rem 1rem 1.15rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .35rem;
    text-align: center;
}

.storefront-mini-cart-empty-icon {
    width: 42px;
    height: 42px;
    margin-bottom: .2rem;
    border-radius: 50%;
    background: var(--iw-cream);
    color: var(--iw-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
}

.storefront-mini-cart-empty strong {
    color: var(--iw-navy-deep);
    font-size: .82rem;
}

.storefront-mini-cart-empty > span:last-child {
    color: var(--iw-muted);
    font-size: .67rem;
}

@media (max-width: 575.98px) {
    .storefront-mini-cart-menu.dropdown-menu {
        width: min(350px, calc(100vw - 16px));
    }

    .storefront-mini-cart-item,
    .storefront-mini-cart-item:link,
    .storefront-mini-cart-item:visited {
        grid-template-columns: 52px minmax(0, 1fr);
        padding: .72rem .8rem;
    }

    .storefront-mini-cart-image {
        width: 52px;
        height: 62px;
    }

    .storefront-mini-cart-line-total {
        grid-column: 2;
        justify-self: start;
    }
}

/* =========================================================
   HOMEPAGE - RECOMMENDED "SHOW MORE" BUTTON
   ========================================================= */
.iw-recommended-more-wrap {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.iw-recommended-more {
    min-width: 160px;
    padding: .78rem 1.3rem;
    border: 1px solid var(--iw-navy);
    border-radius: 6px;
    background: #fff;
    color: var(--iw-navy);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .02em;
    transition: .2s ease;
}

.iw-recommended-more:hover {
    background: var(--iw-navy);
    color: #fff;
}

.iw-recommended-more i {
    margin-left: .35rem;
}

/* =========================================================
   HOMEPAGE CATEGORIES V1.5 - FLAT "HOT CATEGORY" GRID
   No bordered container. Exactly two rows of eight (16 max).
   Desktop: 8 columns x 2 rows.
   Tablet/mobile: still two rows, swipe sideways for the rest.
   ========================================================= */
.iw-hotcat-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.iw-hotcat-heading h2 {
    margin: 0;
    color: var(--iw-navy-deep);
    font-family: "Fredoka", "DM Sans", sans-serif;
    font-size: clamp(1.6rem, 2.4vw, 2.2rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -.035em;
}

.iw-hotcat-grid {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    grid-template-rows: repeat(2, auto);
    gap: .5rem .25rem;
}

.iw-hotcat-card {
    min-width: 0;
    padding: .9rem .4rem 1rem;
    border-radius: 8px;
    color: #222;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    transition: background .2s ease, box-shadow .2s ease, color .2s ease;
}

.iw-hotcat-card:hover,
.iw-hotcat-card:focus-visible {
    background: var(--iw-sand-soft);
    box-shadow: 0 6px 18px rgba(185, 154, 115, .28);
    color: var(--iw-navy-deep);
    outline: 0;
}

.iw-hotcat-image {
    width: min(100%, 128px);
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 12px;
    background: #f3f1ed;
    display: grid;
    place-items: center;
    color: var(--iw-navy);
    font-size: 1.8rem;
}

.iw-hotcat-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.iw-hotcat-name {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    width: 100%;
    min-height: 2.6em;
    margin-top: .8rem;
    overflow: hidden;
    font-size: .95rem;
    font-weight: 500;
    line-height: 1.3;
}

@media (max-width: 991.98px) {
    /* Keep two rows; extra categories scroll sideways. */
    .iw-hotcat-grid {
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-auto-columns: 24%;
        overflow-x: auto;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
        overscroll-behavior-x: contain;
    }

    .iw-hotcat-grid::-webkit-scrollbar {
        display: none;
    }

    .iw-hotcat-card {
        scroll-snap-align: start;
    }
}

@media (max-width: 575.98px) {
    .iw-hotcat-grid {
        grid-auto-columns: 31%;
    }

    .iw-hotcat-image {
        width: min(100%, 104px);
    }

    .iw-hotcat-name {
        margin-top: .6rem;
        font-size: .82rem;
    }
}

/* =========================================================
   MOBILE STOREFRONT V1
   Bottom navigation, categories sheet, Miniso-style hero,
   compact product cards, offers carousel card.
   Everything phone-specific is inside max-width: 767.98px.
   ========================================================= */

/* ---- Bottom nav (hidden on tablet / desktop) ---- */
.iw-bottom-nav {
    display: none;
}

/* ---- Offers carousel card (only rendered visible on phones) ---- */
.iw-offer-card {
    position: relative;
    height: 100%;
    min-height: 280px;
    overflow: hidden;
    border: 1px solid var(--iw-line);
    border-radius: 12px;
    background: linear-gradient(160deg, var(--iw-navy-deep), var(--iw-navy));
}

.iw-offer-card-track {
    height: 100%;
    min-height: inherit;
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
}

.iw-offer-card-track::-webkit-scrollbar {
    display: none;
}

.iw-offer-card-slide {
    position: relative;
    flex: 0 0 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    isolation: isolate;
    scroll-snap-align: start;
    color: #fff;
    text-decoration: none;
}

.iw-offer-card-slide img {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.iw-offer-card-shade {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(7, 23, 44, .10) 0%, rgba(7, 23, 44, .88) 100%);
}

.iw-offer-card-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .4rem;
    padding: .85rem .8rem 1.9rem;
}

.iw-offer-card-eyebrow {
    color: #e4cfaf;
    font-size: .56rem;
    font-weight: 800;
    letter-spacing: .14em;
}

.iw-offer-card-title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    font-family: "Fredoka", "DM Sans", sans-serif;
    font-size: 1.12rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -.02em;
}

.iw-offer-card-pill {
    padding: .26rem .6rem;
    border-radius: 999px;
    background: #fff;
    color: var(--iw-navy-deep);
    font-size: .68rem;
    font-weight: 800;
}

.iw-offer-card-cta {
    font-size: .7rem;
    font-weight: 700;
}

.iw-offer-card-dots {
    position: absolute;
    right: 0;
    bottom: .55rem;
    left: 0;
    z-index: 2;
    display: flex;
    justify-content: center;
    gap: .3rem;
    pointer-events: none;
}

.iw-offer-card-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .5);
    transition: width .2s ease, background .2s ease;
}

.iw-offer-card-dot.is-active {
    width: 16px;
    background: #fff;
}

.iw-mobile-arrow {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border-radius: 50%;
    background: var(--iw-navy-deep);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.iw-mobile-arrow:hover {
    background: var(--iw-navy);
    color: #fff;
}

/* ---- Categories bottom sheet ---- */
.iw-categories-sheet.offcanvas-bottom {
    height: min(72vh, 560px);
    border-radius: 18px 18px 0 0;
}

.iw-categories-sheet .offcanvas-header {
    border-bottom: 1px solid var(--iw-line);
}

.iw-categories-sheet .offcanvas-title {
    color: var(--iw-navy-deep);
    font-family: "Fredoka", "DM Sans", sans-serif;
    font-weight: 700;
}

.iw-sheet-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .55rem;
}

.iw-sheet-link {
    min-height: 48px;
    padding: .6rem .8rem;
    border: 1px solid var(--iw-line);
    border-radius: 10px;
    background: #fff;
    color: var(--iw-ink);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    text-decoration: none;
    font-size: .82rem;
    font-weight: 600;
}

.iw-sheet-link span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.iw-sheet-link i {
    color: var(--iw-sand);
    font-size: .8rem;
}

.iw-sheet-link:hover,
.iw-sheet-link:active {
    background: var(--iw-sand-soft);
    color: var(--iw-navy-deep);
}

.iw-sheet-link-all {
    grid-column: 1 / -1;
    background: var(--iw-navy);
    border-color: var(--iw-navy);
    color: #fff;
}

.iw-sheet-link-all i {
    color: #fff;
}

.iw-sheet-link-all:hover,
.iw-sheet-link-all:active {
    background: var(--iw-navy-deep);
    color: #fff;
}

@media (hover: none) {
    .product-card:hover {
        transform: none;
        box-shadow: none;
    }
}

@media (max-width: 767.98px) {

    /* ===== Bottom navigation ===== */
    .iw-bottom-nav {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 1035;
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        padding-bottom: env(safe-area-inset-bottom, 0px);
        border-top: 1px solid var(--iw-line);
        background: #fff;
        box-shadow: 0 -6px 20px rgba(20, 42, 75, .08);
    }

    .iw-bottom-nav-item,
    .iw-bottom-nav-item:link,
    .iw-bottom-nav-item:visited {
        min-width: 0;
        height: 60px;
        padding: .35rem 0;
        border: 0;
        background: transparent;
        color: #4c535b;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: .12rem;
        font: inherit;
        font-size: .66rem;
        font-weight: 600;
        line-height: 1.1;
        text-decoration: none;
    }

    .iw-bottom-nav-item.is-active {
        color: var(--iw-navy);
        font-weight: 800;
    }

    .iw-bottom-nav-icon {
        position: relative;
        display: inline-flex;
    }

    .iw-bottom-nav-icon > i {
        font-size: 1.4rem;
        line-height: 1;
    }

    .iw-bottom-nav .cart-count-badge {
        top: -5px;
        right: -9px;
    }

    .site-footer {
        padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
    }

    .scroll-top {
        right: 14px;
        bottom: calc(76px + env(safe-area-inset-bottom, 0px));
        width: 38px;
        height: 38px;
    }

    /* ===== Hero: inset rounded banner with dots underneath ===== */
    .hero-carousel {
        min-height: 0;
        overflow: visible;
        padding: .75rem 1rem 1.7rem;
        background: #fff;
    }

    .hero-carousel .hero-carousel-track {
        min-height: 0;
        aspect-ratio: 1.9 / 1;
        overflow: hidden;
        border-radius: 14px;
        background: #d9d5cf;
    }

    .hero-carousel .hero-slide,
    .hero-carousel .hero-slide.is-active {
        position: absolute;
        inset: 0;
        min-height: 0;
    }

    .hero-carousel .hero-slide-shade {
        background: linear-gradient(180deg, rgba(15, 24, 34, .04) 20%, rgba(15, 24, 34, .76) 100%);
    }

    .hero-carousel .hero-slide-content {
        height: 100%;
        min-height: 0;
        padding: .9rem 1rem;
        align-items: flex-end;
    }

    .hero-carousel .hero-slide-copy {
        width: 100%;
    }

    .hero-carousel .hero-kicker,
    .hero-carousel .hero-slide-copy p {
        display: none;
    }

    .hero-carousel .hero-slide h1,
    .hero-carousel .hero-slide h2 {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
        margin: 0 0 .45rem;
        font-size: clamp(1.35rem, 6.4vw, 1.9rem);
        line-height: 1.05;
        letter-spacing: -.03em;
    }

    .hero-carousel .hero-shop-button {
        margin-top: .1rem;
        padding: .42rem .85rem;
        gap: .4rem;
        font-size: .64rem;
    }

    .hero-carousel .hero-carousel-dots {
        bottom: .6rem;
    }

    .hero-carousel .hero-carousel-dot {
        width: 7px;
        height: 7px;
        background: #cfd3d8;
    }

    .hero-carousel .hero-carousel-dot.is-active {
        width: 22px;
        background: var(--iw-navy);
    }

    /* ===== Section spacing and headings ===== */
    .iw-offers-section > .container,
    .iw-categories-section > .container,
    .store-section > .container {
        padding: 1.1rem .75rem 1.25rem !important;
    }

    .iw-product-row.row.g-4 {
        --bs-gutter-x: .6rem;
        --bs-gutter-y: .6rem;
    }

    .store-section .section-heading.d-flex {
        flex-direction: row !important;
        align-items: center !important;
        margin-bottom: .75rem !important;
    }

    .store-section .section-heading h2 {
        margin: 0;
        font-size: 1.3rem;
        letter-spacing: -.02em;
    }

    .store-section .section-heading p,
    .store-section .section-heading .eyebrow {
        display: none;
    }

    .iw-offers-section .iw-small-title {
        font-size: 1.3rem;
        font-family: "Fredoka", "DM Sans", sans-serif;
        letter-spacing: -.02em;
    }

    .iw-hotcat-heading {
        margin-bottom: .75rem;
    }

    .iw-hotcat-heading h2 {
        font-size: 1.3rem;
    }

    /* ===== Compact product cards (Jumia / Kilimall sized) ===== */
    .product-card {
        border-radius: 10px;
    }

    .product-card .product-image-wrap {
        aspect-ratio: 1 / 1;
    }

    .product-card .product-image-placeholder {
        min-height: 0;
    }

    .product-card .product-badge {
        top: .45rem;
        left: .45rem;
        padding: .2rem .42rem;
        font-size: .54rem;
    }

    .product-card .product-card-favourite-form {
        top: .45rem;
        right: .45rem;
    }

    .product-card .product-card-favourite {
        width: 30px;
        height: 30px;
        font-size: .85rem;
    }

    .product-card .product-card-body {
        padding: .6rem .6rem .7rem;
    }

    .product-card .product-category {
        display: none;
    }

    .product-card h3 {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        min-height: 2.6em;
        margin: 0 0 .3rem;
        overflow: hidden;
        font-size: .8rem;
        font-weight: 600;
        line-height: 1.3;
    }

    .product-card .price-line {
        gap: .1rem .4rem;
    }

    .product-card .price-line strong {
        font-size: .95rem;
        font-weight: 800;
    }

    .product-card .price-line del {
        font-size: .7rem;
    }

    .product-card .colour-row {
        margin-top: .4rem;
    }

    .product-card .colour-dot {
        width: 12px;
        height: 12px;
    }

    .product-card .pt-3 {
        padding-top: .45rem !important;
    }

    .product-card .stock-indicator {
        font-size: .62rem;
    }

    /* Offers card matches the product-card width/height rhythm */
    .iw-offer-card {
        min-height: 270px;
    }
}

/* =========================================================
   PHONE SIGN-IN SHEET (Miniso-style pop-up)
   ========================================================= */
.offcanvas-backdrop.show {
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
}

.iw-login-sheet.offcanvas-bottom {
    height: auto;
    max-height: 92vh;
    max-height: 92dvh;
    overflow-y: auto;
    border-radius: 18px 18px 0 0;
    background: #fff;
}

.iw-login-sheet-head {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 62px;
    border-bottom: 1px solid var(--iw-line);
}

.iw-login-sheet-brand {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: var(--iw-navy);
    font-family: "DM Sans", sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -.045em;
}

.iw-login-sheet-brand img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: contain;
}

.iw-login-sheet-close {
    position: absolute;
    top: 50%;
    right: .9rem;
    width: 38px;
    height: 38px;
    border: 0;
    background: transparent;
    color: var(--iw-ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    font-size: 1.1rem;
}

.iw-login-sheet-body {
    padding: 1.25rem 1.25rem calc(1.4rem + env(safe-area-inset-bottom, 0px));
}

.iw-login-sheet-body h2 {
    margin: 0 0 1.1rem;
    color: var(--iw-navy-deep);
    font-family: "Fredoka", "DM Sans", sans-serif;
    font-size: 1.45rem;
    font-weight: 700;
    text-align: center;
}

.iw-login-alert {
    margin-bottom: 1rem;
    padding: .7rem .85rem;
    border: 1px solid #efd0c8;
    border-radius: 8px;
    background: #fff0ec;
    color: #93463d;
    font-size: .8rem;
    font-weight: 600;
}

.iw-login-field {
    margin-bottom: 1rem;
}

.iw-login-field label {
    display: block;
    margin-bottom: .4rem;
    color: var(--iw-ink);
    font-size: .88rem;
    font-weight: 600;
}

.iw-login-field label span {
    color: #c72f3a;
}

.iw-login-field input[type="email"],
.iw-login-field input[type="password"],
.iw-login-field input[type="text"] {
    width: 100%;
    height: 50px;
    padding: 0 .9rem;
    border: 1px solid #cfd3d8;
    border-radius: 6px;
    background: #fff;
    color: var(--iw-ink);
    font: inherit;
    font-size: 1rem; /* 16px stops iOS zooming into the field */
    outline: 0;
}

.iw-login-field input:focus {
    border-color: var(--iw-navy);
    box-shadow: 0 0 0 3px rgba(33, 61, 104, .12);
}

.iw-login-field input.is-invalid {
    border-color: #c72f3a;
}

.iw-login-password {
    position: relative;
}

.iw-login-password input {
    padding-right: 3rem;
}

.iw-login-password button {
    position: absolute;
    top: 0;
    right: 0;
    width: 48px;
    height: 100%;
    border: 0;
    background: transparent;
    color: #6f7378;
    font-size: 1.1rem;
}

.iw-login-error {
    display: block;
    margin-top: .35rem;
    color: #c72f3a;
    font-size: .74rem;
    font-weight: 600;
}

.iw-login-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
    font-size: .85rem;
}

.iw-login-remember {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    color: #4c535b;
}

.iw-login-remember input {
    width: 18px;
    height: 18px;
    accent-color: var(--iw-navy);
}

.iw-login-row a {
    color: var(--iw-navy);
    font-weight: 600;
    text-decoration: none;
}

.iw-login-submit {
    width: 100%;
    min-height: 52px;
    border: 0;
    border-radius: 6px;
    background: var(--iw-navy);
    color: #fff;
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.iw-login-submit:disabled {
    opacity: .7;
}

.iw-login-register {
    margin: 1.1rem 0 0;
    color: #4c535b;
    font-size: .9rem;
    text-align: center;
}

.iw-login-register a {
    color: var(--iw-navy);
    font-weight: 700;
    text-decoration: underline;
}

/* =========================================================
   AUTH SHEET V2 - blurred background, sticky header,
   create-account pane
   ========================================================= */
.offcanvas-backdrop {
    --bs-backdrop-bg: rgba(15, 24, 34, .34);
    --bs-backdrop-opacity: 1;
}

.offcanvas-backdrop.show {
    -webkit-backdrop-filter: blur(7px);
    backdrop-filter: blur(7px);
}

.iw-login-sheet-head {
    position: sticky;
    top: 0;
    z-index: 3;
    background: #fff;
}

.iw-login-field input[type="tel"] {
    width: 100%;
    height: 50px;
    padding: 0 .9rem;
    border: 1px solid #cfd3d8;
    border-radius: 6px;
    background: #fff;
    color: var(--iw-ink);
    font: inherit;
    font-size: 1rem;
    outline: 0;
}

.iw-login-field input[type="tel"]:focus {
    border-color: var(--iw-navy);
    box-shadow: 0 0 0 3px rgba(33, 61, 104, .12);
}

.iw-login-notice {
    margin-bottom: 1rem;
    padding: .7rem .85rem;
    border: 1px solid #cfe5d7;
    border-radius: 8px;
    background: #edf6f0;
    color: #286b45;
    font-size: .8rem;
    font-weight: 600;
    text-align: center;
}

.iw-auth-note {
    margin: 0 0 1.25rem;
    color: #4c535b;
    font-size: .85rem;
    line-height: 1.65;
    text-align: center;
}

.iw-login-error[hidden],
.iw-login-alert[hidden],
.iw-login-notice[hidden],
.iw-login-sheet-body section[hidden] {
    display: none;
}

/* =========================================================
   MOBILE SCALE / BOTTOM-MENU FIX V1
   - stops the page from being wider than the phone screen
     (which zooms the page out and pushes the bottom menu
     partly off-screen)
   - stops phones zooming in when the search box is tapped
   ========================================================= */
html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
    overflow-x: clip; /* modern browsers: clips without breaking the sticky header */
}

@media (max-width: 767.98px) {
    /* 16px inputs: phones will not zoom the page when you tap the field */
    .storefront-header-search input,
    .iw-login-field input {
        font-size: 16px;
    }

    .iw-bottom-nav {
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100%;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        touch-action: manipulation;
    }

    .offcanvas {
        max-width: 100%;
    }
}

/* =========================================================
   AUTH SHEET - REAL BLUR BEHIND THE POP-UP
   Bootstrap hard-codes the offcanvas backdrop (black at 50%
   opacity) and ignores CSS variables, so the earlier blur
   never showed. These rules override it directly.
   ========================================================= */
.offcanvas-backdrop {
    background-color: rgba(15, 24, 34, .28) !important;
}

.offcanvas-backdrop.show {
    opacity: 1 !important;
    -webkit-backdrop-filter: blur(8px) !important;
    backdrop-filter: blur(8px) !important;
}

/* Very old phone browsers without blur support: fall back to a plain dim. */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .offcanvas-backdrop {
        background-color: rgba(15, 24, 34, .55) !important;
    }
}

/* =========================================================
   CONTINUE WITH GOOGLE (sign in + sign up pop-up)
   ========================================================= */
.iw-google-btn,
.iw-google-btn:link,
.iw-google-btn:visited {
    width: 100%;
    min-height: 50px;
    margin-bottom: 1rem;
    border: 1px solid #cfd3d8;
    border-radius: 6px;
    background: #fff;
    color: var(--iw-ink);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .65rem;
    font-size: .95rem;
    font-weight: 600;
    text-decoration: none;
}

.iw-google-btn:active,
.iw-google-btn:hover {
    background: #f7f8fa;
    color: var(--iw-ink);
}

.iw-auth-divider {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin: 0 0 1.1rem;
    color: #8a8f96;
    font-size: .76rem;
    font-weight: 600;
    text-transform: lowercase;
}

.iw-auth-divider::before,
.iw-auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--iw-line);
}


/* =========================================================
   BOTTOM NAV - GOOGLE PROFILE PICTURE ON THE ACCOUNT TAB
   ========================================================= */
.iw-bottom-nav-avatar-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
    overflow: hidden;            /* the photo can never spill outside the circle */
    border-radius: 50%;
    background: #e9edf3;
    color: var(--iw-navy);
    box-shadow: 0 0 0 2px transparent;
}

.iw-bottom-nav-avatar-wrap > i {
    font-size: 1.05rem;
    line-height: 1;
}

.iw-bottom-nav-avatar-wrap.is-active {
    box-shadow: 0 0 0 2px var(--iw-navy);
}

.iw-bottom-nav-avatar {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    border-radius: 50%;
}

/* =========================================================
   ACCOUNT MOBILE PAGES V1
   Title bar, settings rows with attention dots, security /
   address / email / phone pages, and phone-only restyling of
   the existing account pages. Desktop is untouched: every rule
   that changes an existing page is inside max-width: 767.98px.
   ========================================================= */

/* ---- Title bar (rendered by the bottom-nav partial, phones only) ---- */
.iw-m-pagebar {
    display: none;
}

/* ---- Shared page shell for the new pages ---- */
.iw-m-page {
    max-width: 640px;
    min-height: 62vh;
    margin: 0 auto;
    padding-bottom: 5rem;
    background: #f4f4f4;
}

.iw-m-page-white {
    background: #fff;
}

@media (min-width: 768px) {
    .iw-m-page {
        margin-top: 1rem;
        margin-bottom: 1rem;
        border-radius: 12px;
        overflow: hidden;
    }
}
.iw-m-flash-auto {
    animation: iwFlashDismiss 4s ease-in-out forwards;
}

@keyframes iwFlashDismiss {
    0%, 70% {
        opacity: 1;
        visibility: visible;
    }

    100% {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .iw-m-flash-auto {
        animation: none;
    }
}
.iw-m-flash {
    margin: .75rem;
    padding: .7rem .85rem;
    border: 1px solid #cfe5d7;
    border-radius: 8px;
    background: #edf6f0;
    color: #286b45;
    font-size: .82rem;
    font-weight: 600;
}

/* ---- Rows (settings + security) ---- */
.iw-m-settings-list {
    background: #fff;
}

.iw-m-list-first {
    margin-top: .6rem;
}

.iw-m-list-gap {
    margin-top: .6rem;
}

.iw-m-settings-row,
.iw-m-settings-row:link,
.iw-m-settings-row:visited {
    min-height: 56px;
    padding: .8rem 1rem;
    border-bottom: 1px solid #ececec;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    text-decoration: none;
}

a.iw-m-settings-row:active {
    background: var(--iw-cream);
}

.iw-m-settings-label {
    font-size: 1rem;
    font-weight: 500;
}

.iw-m-settings-end {
    position: relative;
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    flex: 0 1 auto;
    color: #b4b8bd;
}

.iw-m-settings-value {
    max-width: 48vw;
    overflow: hidden;
    color: var(--iw-navy);
    font-size: .88rem;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.iw-m-settings-end i {
    font-size: .95rem;
}

/* Red "needs attention" dot, top-right of the chevron (like the inspo) */
.iw-m-dot {
    position: absolute;
    top: -9px;
    right: -5px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #e5484d;
}

/* ---- Logout button (settings) ---- */
.iw-m-logout-form {
    margin: .8rem 1.4rem 0;
}

.iw-m-logout-btn {
    width: 100%;
    min-height: 52px;
    border: 0;
    border-radius: 6px;
    background: #fff;
    color: #333;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: .08em;
}

.iw-m-logout-btn:active {
    background: var(--iw-navy);
    color: #fff;
}

/* ---- Forms (modify email / phone / address) ---- */
.iw-m-current {
    padding: 1rem 1.1rem;
    background: #f1f1f1;
    display: flex;
    flex-direction: column;
    gap: .25rem;
}

.iw-m-current small {
    color: #8a8f96;
    font-size: .8rem;
}

.iw-m-current strong {
    color: #222;
    font-size: 1.05rem;
    overflow-wrap: anywhere;
}

.iw-m-form {
    padding: 1.2rem 1.1rem .4rem;
}

.iw-m-form-top {
    padding-top: 1.4rem;
}

.iw-m-field {
    display: block;
    margin-bottom: 1.4rem;
}

.iw-m-field > small {
    display: block;
    margin-bottom: .35rem;
    color: #8a8f96;
    font-size: .82rem;
}

.iw-m-input {
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: .35rem .1rem;
    border-bottom: 1px solid #e3e3e3;
    color: #6f7378;
}

.iw-m-input:focus-within {
    border-bottom-color: var(--iw-navy);
}

.iw-m-input i {
    font-size: 1.2rem;
}

.iw-m-input input,
.iw-m-input textarea {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #222;
    font: inherit;
    font-size: 16px; /* stops phones zooming into the field */
    padding: .55rem 0;
}

.iw-m-input-area {
    align-items: flex-start;
}

.iw-m-input-area i {
    margin-top: .7rem;
}

.iw-m-input textarea {
    resize: vertical;
    line-height: 1.5;
}

.iw-m-error {
    display: block;
    margin-top: .4rem;
    color: #d32f2f;
    font-size: .78rem;
    font-style: normal;
    font-weight: 600;
}

.iw-m-submit,
.iw-m-submit:link,
.iw-m-submit:visited {
    width: 100%;
    min-height: 50px;
    border: 0;
    border-radius: 6px;
    background: var(--iw-navy);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    font-size: .9rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-decoration: none;
}

.iw-m-submit:active {
    background: var(--iw-navy-deep);
    color: #fff;
}

.iw-m-note {
    padding: 1rem 1.1rem 1.4rem;
    color: #6f7378;
    font-size: .88rem;
    line-height: 1.6;
}

.iw-m-note p {
    margin: 0 0 .4rem;
}

.iw-m-note ul {
    margin: 0;
    padding-left: 1.1rem;
    color: var(--iw-navy);
}

/* ---- Delivery address ---- */
.iw-m-address-card {
    margin-top: .6rem;
    padding: 1rem 1rem .2rem;
    background: #fff;
}

.iw-m-address-top {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    color: #222;
}

.iw-m-address-top span {
    color: #777;
}

.iw-m-address-text {
    margin: .6rem 0;
    color: #222;
    line-height: 1.55;
    overflow-wrap: anywhere;
    white-space: pre-line;
}

.iw-m-address-tag {
    display: inline-block;
    margin-bottom: .8rem;
    color: #2e9d5b;
    font-size: .92rem;
}

.iw-m-address-actions {
    display: flex;
    align-items: center;
    gap: .55rem;
    padding: .8rem 0;
    border-top: 1px solid #ececec;
}

.iw-m-address-actions form {
    margin: 0;
}

.iw-m-address-default {
    margin-right: auto;
    color: var(--iw-navy);
    font-size: .88rem;
    font-weight: 600;
}

.iw-m-btn-outline,
.iw-m-btn-outline:link,
.iw-m-btn-outline:visited {
    min-height: 38px;
    padding: .4rem .9rem;
    border: 1px solid #555;
    border-radius: 6px;
    background: #fff;
    color: #222;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .88rem;
    font-weight: 700;
    text-decoration: none;
}

.iw-m-empty {
    margin: 1.2rem .75rem;
    padding: 3rem 1rem;
    border-radius: 12px;
    background: #fff;
    color: #777;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .45rem;
    text-align: center;
}

.iw-m-empty strong {
    color: #222;
}

.iw-m-empty-icon {
    width: 76px;
    height: 76px;
    margin-bottom: .4rem;
    border-radius: 50%;
    background: var(--iw-cream);
    color: var(--iw-navy);
    display: grid;
    place-items: center;
    font-size: 1.9rem;
}

.iw-m-bottom-action {
    position: sticky;
    bottom: calc(64px + env(safe-area-inset-bottom, 0px));
    padding: .8rem 1rem;
    background: #fff;
    box-shadow: 0 -6px 18px rgba(20, 42, 75, .06);
}

@media (min-width: 768px) {
    .iw-m-bottom-action {
        bottom: 0;
    }
}

/* ---- Red dot on the bottom-nav Account tab ---- */
.iw-bottom-nav-dot {
    position: absolute;
    top: -3px;
    right: -6px;
    width: 9px;
    height: 9px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #e5484d;
}

/* =========================================================
   PHONE-ONLY restyling of the EXISTING account pages
   (orders, order detail, notifications, reviews, review
   details, wish list, my details). Desktop is not affected.
   ========================================================= */
@media (max-width: 767.98px) {

    .iw-m-pagebar {
        display: grid;
        grid-template-columns: 48px 1fr 48px;
        align-items: center;
        min-height: 56px;
        background: #fff;
        border-bottom: 1px solid #ececec;
    }

    .iw-m-pagebar h1 {
        margin: 0;
        color: var(--iw-ink);
        font-size: 1.08rem;
        font-weight: 800;
        text-align: center;
    }

    .iw-m-pagebar-back {
        width: 48px;
        height: 48px;
        display: grid;
        place-items: center;
        color: var(--iw-ink);
        font-size: 1.3rem;
        text-decoration: none;
    }

    /* The bar replaces the sidebar menu and the breadcrumbs. */
    .iw-account-sidebar,
    .iw-account-breadcrumb-wrap,
    .iw-detail-breadcrumb,
    .iw-favourites-breadcrumb,
    .iw-account-content-head,
    .iw-favourites-tabs {
        display: none !important;
    }

    .iw-account-page,
    .iw-favourites-page,
    .iw-order-detail-page {
        min-height: 0 !important;
        background: #f4f4f4 !important;
    }

    /* Edge-to-edge content */
    .iw-account-shell,
    .iw-favourites-shell {
        max-width: none !important;
        padding: 0 !important;
    }

    .iw-account-shell > .row,
    .iw-favourites-shell > .row {
        --bs-gutter-x: 0;
        --bs-gutter-y: 0;
        margin: 0 !important;
    }

    .iw-account-shell > .row > *,
    .iw-favourites-shell > .row > * {
        margin-top: 0 !important;
        padding: 0 !important;
    }

    /* Flat white blocks instead of bordered cards */
    .iw-orders-panel,
    .iw-notifications-panel,
    .iw-reviews-panel,
    .iw-favourites-box,
    .iw-review-detail,
    .iw-detail-card,
    .iw-orders-recommendations,
    .iw-reviews-recommendations,
    .iw-you-may-like {
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }

    .iw-orders-recommendations,
    .iw-reviews-recommendations,
    .iw-you-may-like {
        margin-top: .6rem !important;
    }

    .iw-account-content-card {
        padding: 1rem !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }

    .iw-account-content-card .form-control {
        font-size: 16px;
    }

    .iw-account-content-card textarea.form-control {
        min-height: 110px;
    }

    /* ----- Wish list: image / name / price rows with a trash icon ----- */
    .iw-favourite-products {
        display: block !important;
        min-height: 0 !important;
        padding: 0 !important;
    }

    .iw-favourite-product {
        position: relative;
        display: grid !important;
        grid-template-columns: 104px minmax(0, 1fr) 44px;
        align-items: center;
        gap: .8rem;
        padding: .6rem .8rem !important;
        border-bottom: 1px solid #ececec;
    }

    .iw-favourite-product .iw-favourite-image {
        grid-column: 1;
        grid-row: 1;
        width: 104px;
        height: 104px;
        aspect-ratio: auto;
    }

    .iw-favourite-product .iw-favourite-copy {
        grid-column: 2;
        grid-row: 1;
        padding: 0;
    }

    .iw-favourite-product .iw-remove-favourite {
        position: static !important;
        grid-column: 3;
        grid-row: 1;
        align-self: end;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        color: #8a8f96 !important;
    }

    .iw-favourites-empty {
        padding: 3rem 1rem;
        background: #f4f4f4;
    }

    .iw-page-navigation {
        background: #fff;
    }
}

/* =========================================================
   PHONES: NO PAGE FOOTER, WISH LIST WITHOUT PAGINATION
   Every rule that changes an existing page is inside
   max-width: 767.98px, so desktop and tablet are untouched.
   ========================================================= */

/* About / contact bottom sheet (opened from Settings) */
.iw-m-settings-row-btn {
    width: 100%;
    border: 0;
    border-bottom: 1px solid #ececec;
    background: transparent;
    font: inherit;
    text-align: left;
}

.iw-about-sheet.offcanvas-bottom {
    height: auto;
    max-height: 80vh;
    border-radius: 18px 18px 0 0;
}

.iw-about-sheet .offcanvas-header {
    border-bottom: 1px solid var(--iw-line);
}

.iw-about-sheet .offcanvas-title {
    color: var(--iw-navy-deep);
    font-family: "Fredoka", "DM Sans", sans-serif;
    font-weight: 700;
}

.iw-about-text {
    margin: 0 0 .6rem;
    color: #4c535b;
    line-height: 1.6;
}

.iw-about-item,
.iw-about-item:link,
.iw-about-item:visited {
    padding: .85rem 0;
    border-top: 1px solid #ececec;
    color: #222;
    display: flex;
    align-items: center;
    gap: .85rem;
    text-decoration: none;
}

.iw-about-item i {
    color: var(--iw-navy);
    font-size: 1.25rem;
}

.iw-about-item strong,
.iw-about-item span {
    display: block;
}

.iw-about-item span {
    color: #6f7378;
    font-size: .85rem;
}

@media (max-width: 767.98px) {
    /* The footer (assurance strip + footer) is not shown on phones. */
    .shopping-assurance,
    .site-footer {
        display: none !important;
    }

    /* Keep the last content clear of the fixed bottom menu. */
    main {
        padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
    }

    .iw-m-page {
        padding-bottom: 1rem;
    }

    /* Wish list: no "You may also like" and no Previous / Next pages. */
    .iw-you-may-like,
    .iw-page-navigation {
        display: none !important;
    }
}

/* =========================================================
   SHOP PAGE - PHONES (Kilimall-style listing)
   Everything that changes the existing shop page is inside
   max-width: 767.98px, so desktop and tablet are untouched.
   ========================================================= */

/* Filter bottom-sheet backdrop (only appears on phones) */
.iw-m-sheet-backdrop {
    display: none;
}

/* Phone-only elements need no styling above 768px: they carry d-md-none. */

@media (max-width: 767.98px) {

    .iw-shop-page {
        min-height: 0 !important;
        background: #f4f4f4 !important;
    }

    .iw-shop-page > .container {
        max-width: none !important;
        padding: 0 !important;
    }

    /* Replaced by the toolbar, chips and category strip below */
    .iw-shop-breadcrumb,
    .iw-shop-sidebar,
    .iw-catalogue-topline,
    #iwShopFilterForm .iw-mobile-filter {
        display: none !important;
    }

    .iw-shop-layout {
        display: block;
    }

    .iw-shop-main {
        border: 0 !important;
        background: transparent !important;
    }

    .iw-catalogue-controls {
        border: 0 !important;
    }

    /* ----- Sort / Filter bar + chips ----- */
    .iw-m-shop-toolbar {
        background: #fff;
        border-bottom: 1px solid #ececec;
    }

    .iw-m-shop-toolbar-row {
        display: flex;
        align-items: center;
        gap: .7rem;
        padding: .75rem .95rem .55rem;
    }

    .iw-m-sort {
        position: relative;
        display: inline-flex;
        align-items: center;
        color: var(--iw-navy);
        font-weight: 800;
    }

    .iw-m-sort select {
        max-width: 46vw;
        padding: 0 1.2rem 0 0;
        border: 0;
        background: transparent;
        color: inherit;
        font: inherit;
        font-size: 1rem;
        font-weight: 800;
        outline: 0;
        -webkit-appearance: none;
        appearance: none;
    }

    .iw-m-sort i {
        position: absolute;
        right: 0;
        font-size: .65rem;
        pointer-events: none;
    }

    .iw-m-shop-count {
        margin-left: auto;
        color: #8a8f96;
        font-size: .76rem;
        white-space: nowrap;
    }

    .iw-m-filter-btn {
        position: relative;
        display: inline-flex;
        align-items: center;
        gap: .35rem;
        padding: .2rem 0 .2rem .2rem;
        border: 0;
        background: transparent;
        color: var(--iw-navy);
        font-size: 1rem;
        font-weight: 800;
    }

    .iw-m-filter-btn i {
        font-size: 1.15rem;
    }

    .iw-m-filter-count {
        min-width: 18px;
        height: 18px;
        padding: 0 5px;
        border-radius: 999px;
        background: var(--iw-sand);
        color: #fff;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: .6rem;
        font-weight: 800;
    }

    .iw-m-filter-count[hidden] {
        display: none;
    }

    .iw-m-chips {
        display: flex;
        gap: .5rem;
        padding: 0 .95rem .8rem;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .iw-m-chips::-webkit-scrollbar {
        display: none;
    }

    .iw-m-chip {
        flex: 0 0 auto;
        padding: .4rem .85rem;
        border: 0;
        border-radius: 6px;
        background: #f0f0f0;
        color: #444;
        font-size: .88rem;
    }

    .iw-m-chip.is-active {
        background: var(--iw-navy);
        color: #fff;
        font-weight: 700;
    }

    /* ----- Category strip: small image tiles with names ----- */
    .iw-shop-page .iw-category-showcase {
        margin: 0 !important;
        padding: .75rem .5rem !important;
        border: 0 !important;
        border-bottom: 1px solid #ececec !important;
        background: #fff;
    }

    .iw-shop-page .iw-category-showcase .iw-section-heading {
        display: none;
    }

    .iw-shop-page .iw-category-strip {
        gap: .35rem;
    }

    .iw-shop-page .iw-category-tile {
        flex: 0 0 78px;
        padding: 0;
        border: 0;
        background: transparent;
        color: #444;
        text-align: center;
    }

    .iw-shop-page .iw-category-tile.is-active {
        background: transparent;
        color: var(--iw-navy);
    }

    .iw-shop-page .iw-category-image {
        width: 62px;
        height: 62px;
        margin: 0 auto .4rem;
        border-radius: 10px;
        background: #f3f1ed;
    }

    .iw-shop-page .iw-category-tile.is-active .iw-category-image {
        box-shadow: 0 0 0 2px var(--iw-navy);
    }

    .iw-shop-page .iw-category-tile strong {
        font-size: .74rem;
        font-weight: 500;
        line-height: 1.2;
        white-space: normal;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
    }

    .iw-shop-page .iw-category-tile.is-active strong {
        font-weight: 800;
    }

    .iw-shop-page .iw-category-tile small {
        display: none;
    }

    /* ----- Filter row becomes the bottom sheet ----- */
    #iwShopFilterForm .iw-filter-row {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 1060;
        max-height: 84vh;
        padding: 0 1rem calc(1rem + env(safe-area-inset-bottom, 0px));
        flex-direction: column;
        align-items: stretch;
        flex-wrap: nowrap;
        gap: .75rem;
        overflow-y: auto;
        border-radius: 18px 18px 0 0;
        background: #fff;
        box-shadow: 0 -12px 40px rgba(20, 42, 75, .2);
        transform: translateY(110%);
        visibility: hidden;
        transition: transform .26s ease, visibility .26s;
    }

    #iwShopFilterForm .iw-filter-row.is-open {
        transform: translateY(0);
        visibility: visible;
    }

    #iwShopFilterForm .iw-filter-row select,
    #iwShopFilterForm .iw-filter-row .iw-price-filter {
        flex: 0 0 auto !important;
        width: 100%;
        min-height: 48px;
        font-size: 16px;
    }

    #iwShopFilterForm .iw-price-filter input {
        flex: 1 1 0;
        width: auto;
        min-width: 0;
        font-size: 16px;
    }

    .iw-m-sheet-head {
        position: sticky;
        top: 0;
        z-index: 2;
        margin: 0 -1rem;
        padding: 1rem 1rem .8rem;
        border-bottom: 1px solid #ececec;
        background: #fff;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .iw-m-sheet-head strong {
        color: var(--iw-navy-deep);
        font-family: "Fredoka", "DM Sans", sans-serif;
        font-size: 1.2rem;
    }

    .iw-m-sheet-head button {
        width: 38px;
        height: 38px;
        border: 0;
        background: transparent;
        color: var(--iw-ink);
        font-size: 1.1rem;
    }

    .iw-m-sheet-actions {
        display: flex;
        align-items: center;
        gap: .75rem;
        margin-top: .4rem;
    }

    .iw-m-sheet-reset {
        flex: 0 0 auto;
        padding: .8rem 1rem;
        border: 1px solid #cfd3d8;
        border-radius: 8px;
        color: #444;
        font-weight: 700;
        text-decoration: none;
    }

    .iw-m-sheet-done {
        flex: 1;
        min-height: 50px;
        border: 0;
        border-radius: 8px;
        background: var(--iw-navy);
        color: #fff;
        font-weight: 800;
    }

    .iw-m-sheet-backdrop {
        position: fixed;
        inset: 0;
        z-index: 1055;
        background: rgba(15, 24, 34, .3);
        -webkit-backdrop-filter: blur(6px);
        backdrop-filter: blur(6px);
        opacity: 0;
        pointer-events: none;
        transition: opacity .2s ease;
        display: block;
    }

    body.iw-m-sheet-open .iw-m-sheet-backdrop {
        opacity: 1;
        pointer-events: auto;
    }

    body.iw-m-sheet-open {
        overflow: hidden;
    }

    /* ----- Product list ----- */
    #iwShopProductResults .iw-shop-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: .6rem;
        padding: .6rem;
    }

    /* Endless scroll replaces the "Show More" button and the count line. */
    #iwShopProductResults .iw-shop-load-more {
        display: none !important;
    }
}
