/* =========================================================
   eStoreware USA Demo Store
   Topic pages + header + menu + footer
   Designed for nopCommerce 4.80 / Nop-Templates themes
   ========================================================= */

:root {
    --eswd-navy: #062b63;
    --eswd-navy-dark: #031b42;
    --eswd-blue: #0b5abd;
    --eswd-blue-bright: #168de2;
    --eswd-sky: #eaf5ff;
    --eswd-ink: #10243f;
    --eswd-muted: #62738a;
    --eswd-line: #dbe6f2;
    --eswd-soft: #f5f9fd;
    --eswd-white: #fff;
    --eswd-shadow: 0 18px 55px rgba(4, 39, 87, .10);
}

.eswd-page,
.eswd-header,
.eswd-top-menu,
.eswd-footer {
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

.eswd-page *,
.eswd-header *,
.eswd-top-menu *,
.eswd-footer * {
    box-sizing: border-box;
}

.topic-page:has(.eswd-page) > .page-title {
    display: none;
}

.topic-page:has(.eswd-page) .page-body {
    margin: 0;
}

.eswd-page {
    width: min(100%, 1320px);
    margin: 0 auto;
    color: var(--eswd-ink);
    font-size: 16px;
    line-height: 1.68;
}

.eswd-page h1,
.eswd-page h2,
.eswd-page h3,
.eswd-page p,
.eswd-page ul {
    margin-top: 0;
}

.eswd-page h1,
.eswd-page h2,
.eswd-page h3 {
    color: var(--eswd-navy-dark);
    font-weight: 800;
    letter-spacing: -.025em;
}

.eswd-page h1 {
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1.05;
}

.eswd-page h2 {
    font-size: clamp(24px, 3vw, 36px);
    line-height: 1.16;
}

.eswd-page a {
    color: var(--eswd-blue);
}

.eswd-section {
    margin-top: 38px;
}

.eswd-eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--eswd-blue);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.eswd-section-heading {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.eswd-section-heading h1,
.eswd-section-heading h2 {
    margin-bottom: 14px;
}

.eswd-section-heading p {
    color: var(--eswd-muted);
    font-size: 18px;
}

.eswd-heading-left {
    max-width: none;
    margin: 0 0 22px;
    text-align: left;
}

.eswd-home-banner {
    overflow: hidden;
    border-radius: 22px;
    background: var(--eswd-navy);
    box-shadow: var(--eswd-shadow);
}

.eswd-home-banner img {
    display: block;
    width: 100%;
    height: auto;
}

.eswd-demo-alert {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    margin-top: 18px;
    padding: 17px 20px;
    border: 1px solid #b9d9f7;
    border-radius: 14px;
    background: #eef7ff;
}

.eswd-alert-icon {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--eswd-blue);
    color: #fff;
    font-weight: 900;
}

.eswd-demo-alert strong,
.eswd-demo-alert span {
    display: block;
}

.eswd-demo-alert span {
    color: #52677f;
    font-size: 14px;
}

.eswd-demo-alert > a {
    white-space: nowrap;
    font-weight: 800;
}

.eswd-intro {
    padding: 55px 36px;
    border: 1px solid var(--eswd-line);
    border-radius: 22px;
    background: linear-gradient(180deg, #fff, #f7fbff);
}

.eswd-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 26px;
}

.eswd-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 22px;
    border: 1px solid transparent;
    border-radius: 9px;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none !important;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.eswd-btn:hover {
    transform: translateY(-2px);
}

.eswd-btn-primary {
    background: var(--eswd-blue);
    color: #fff !important;
    box-shadow: 0 10px 25px rgba(11, 90, 189, .22);
}

.eswd-btn-secondary {
    border-color: var(--eswd-blue);
    background: #fff;
    color: var(--eswd-blue) !important;
}

.eswd-btn-light {
    border-color: var(--eswd-line);
    background: var(--eswd-soft);
    color: var(--eswd-navy) !important;
}

.eswd-btn-white {
    background: #fff;
    color: var(--eswd-navy) !important;
}

.eswd-btn-outline-white {
    border-color: rgba(255,255,255,.65);
    color: #fff !important;
}

.eswd-feature-grid,
.eswd-three-cards,
.eswd-policy-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.eswd-feature-card,
.eswd-three-cards article,
.eswd-policy-grid article {
    position: relative;
    min-width: 0;
    padding: 30px;
    border: 1px solid var(--eswd-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(7, 48, 103, .06);
}

.eswd-feature-card h2,
.eswd-three-cards h2,
.eswd-policy-grid h2 {
    margin: 12px 0 10px;
    font-size: 24px;
}

.eswd-feature-card p,
.eswd-three-cards p,
.eswd-policy-grid p {
    color: var(--eswd-muted);
}

.eswd-feature-card > a {
    font-weight: 800;
    text-decoration: none;
}

.eswd-feature-number,
.eswd-three-cards article > span {
    color: var(--eswd-blue-bright);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .12em;
}

.eswd-shop-links {
    padding: 40px;
    border-radius: 22px;
    background: var(--eswd-soft);
}

.eswd-link-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.eswd-link-grid > a {
    display: block;
    min-width: 0;
    padding: 21px;
    border: 1px solid var(--eswd-line);
    border-radius: 14px;
    background: #fff;
    color: var(--eswd-ink);
    text-decoration: none;
    transition: border-color .18s ease, transform .18s ease;
}

.eswd-link-grid > a:hover {
    border-color: var(--eswd-blue-bright);
    transform: translateY(-2px);
}

.eswd-link-grid strong,
.eswd-link-grid span {
    display: block;
}

.eswd-link-grid strong {
    margin-bottom: 6px;
    color: var(--eswd-navy);
    font-size: 17px;
}

.eswd-link-grid span {
    color: var(--eswd-muted);
    font-size: 14px;
}

.eswd-cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 30px;
    align-items: center;
    padding: 42px;
    border-radius: 22px;
    background: linear-gradient(135deg, var(--eswd-navy-dark), var(--eswd-blue));
    color: #fff;
}

.eswd-cta h2,
.eswd-cta p,
.eswd-cta .eswd-eyebrow {
    color: #fff;
}

.eswd-cta h2 {
    margin-bottom: 10px;
}

.eswd-cta p {
    max-width: 780px;
    margin-bottom: 0;
    color: #d7e9fb;
}

.eswd-cta .eswd-actions {
    justify-content: flex-end;
    margin-top: 0;
}

.eswd-page-hero {
    overflow: hidden;
    padding: 64px 48px;
    border-radius: 22px;
    background:
        radial-gradient(circle at 90% 15%, rgba(65, 170, 255, .34), transparent 31%),
        linear-gradient(135deg, #031c45, #0a5bbd);
    color: #fff;
}

.eswd-page-hero h1,
.eswd-page-hero p,
.eswd-page-hero .eswd-eyebrow {
    color: #fff;
}

.eswd-page-hero h1 {
    max-width: 900px;
    margin-bottom: 16px;
}

.eswd-page-hero p {
    max-width: 780px;
    margin-bottom: 0;
    color: #d9ebfb;
    font-size: 19px;
}

.eswd-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(280px, .75fr);
    gap: 28px;
    align-items: start;
}

.eswd-prose {
    padding: 38px;
    border: 1px solid var(--eswd-line);
    border-radius: 18px;
    background: #fff;
}

.eswd-prose h2 {
    margin: 28px 0 10px;
    font-size: 27px;
}

.eswd-prose h2:first-child {
    margin-top: 0;
}

.eswd-prose p {
    color: #50647b;
}

.eswd-check-list {
    display: grid;
    gap: 11px;
    padding: 0;
    list-style: none;
}

.eswd-check-list li {
    position: relative;
    padding-left: 30px;
    color: #40566e;
}

.eswd-check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    display: grid;
    place-items: center;
    width: 21px;
    height: 21px;
    border-radius: 50%;
    background: #dff2ff;
    color: var(--eswd-blue);
    font-size: 13px;
    font-weight: 900;
}

.eswd-side-card {
    position: sticky;
    top: 24px;
    padding: 30px;
    border-radius: 18px;
    background: var(--eswd-soft);
    border: 1px solid var(--eswd-line);
}

.eswd-side-card h2 {
    margin: 8px 0 12px;
    font-size: 27px;
}

.eswd-side-card p {
    color: var(--eswd-muted);
}

.eswd-side-label,
.eswd-contact-label {
    color: var(--eswd-blue);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.eswd-policy-notice {
    display: flex;
    gap: 8px;
    margin-top: 18px;
    padding: 18px 22px;
    border: 1px solid #f0cf82;
    border-radius: 13px;
    background: #fff8e8;
    color: #73531a;
}

.eswd-policy-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.eswd-policy-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 13px;
    background: var(--eswd-blue);
    color: #fff;
    font-size: 18px;
    font-weight: 900;
}

.eswd-steps {
    display: grid;
    gap: 14px;
}

.eswd-steps article {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    padding: 24px;
    border: 1px solid var(--eswd-line);
    border-radius: 15px;
    background: #fff;
}

.eswd-steps article > span {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--eswd-sky);
    color: var(--eswd-blue);
    font-weight: 900;
}

.eswd-steps h2 {
    margin-bottom: 5px;
    font-size: 22px;
}

.eswd-steps p {
    margin-bottom: 0;
    color: var(--eswd-muted);
}

.eswd-contact-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.eswd-contact-card {
    padding: 30px;
    border: 1px solid var(--eswd-line);
    border-radius: 18px;
    background: #fff;
}

.eswd-contact-card h2 {
    margin: 9px 0 12px;
    font-size: 24px;
}

.eswd-contact-card p {
    color: var(--eswd-muted);
}

.eswd-contact-card a {
    font-weight: 800;
}

.eswd-contact-notice {
    margin-top: 0;
}

.eswd-legal-content {
    max-width: 980px;
    margin-right: auto;
    margin-left: auto;
}

.eswd-updated {
    margin-top: 34px !important;
    padding-top: 20px;
    border-top: 1px solid var(--eswd-line);
    font-weight: 700;
}

.eswd-faq-list {
    display: grid;
    gap: 12px;
}

.eswd-faq-list details {
    border: 1px solid var(--eswd-line);
    border-radius: 14px;
    background: #fff;
}

.eswd-faq-list summary {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 22px;
    color: var(--eswd-navy);
    font-size: 17px;
    font-weight: 800;
    cursor: pointer;
    list-style: none;
}

.eswd-faq-list summary::-webkit-details-marker {
    display: none;
}

.eswd-faq-list summary span {
    color: var(--eswd-blue);
    font-size: 24px;
    line-height: 1;
}

.eswd-faq-list details[open] summary span {
    transform: rotate(45deg);
}

.eswd-faq-list details p {
    margin: 0;
    padding: 0 22px 22px;
    color: var(--eswd-muted);
}

/* ---------------- HEADER ---------------- */

.eswd-header {
    background: #fff;
    color: var(--eswd-ink);
    border-bottom: 1px solid var(--eswd-line);
}

.eswd-header-topbar {
    background: var(--eswd-navy-dark);
    color: #d8eafa;
    font-size: 13px;
}

.eswd-header-wrap {
    width: min(100% - 36px, 1500px);
    margin: 0 auto;
}

.eswd-header-topbar .eswd-header-wrap {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-top: 9px;
    padding-bottom: 9px;
}

.eswd-header-topbar strong {
    color: #fff;
}

.eswd-header-topbar a {
    color: #fff;
    font-weight: 800;
    text-decoration: none;
}

.eswd-header-main {
    display: grid;
    grid-template-columns: minmax(250px, 390px) minmax(260px, 1fr) auto;
    gap: 28px;
    align-items: center;
    padding-top: 19px;
    padding-bottom: 19px;
}

.eswd-header-logo {
    position: relative;
    min-width: 0;
}

.eswd-header-logo .header-logo {
    margin: 0;
}

.eswd-header-logo img {
    display: block;
    width: auto;
    max-width: 330px;
    max-height: 84px;
}

.eswd-demo-badge {
    display: inline-flex;
    margin-top: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--eswd-sky);
    color: var(--eswd-blue);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.eswd-header-search {
    min-width: 0;
}

.eswd-header-search .search-box {
    width: 100%;
    margin: 0;
}

.eswd-header-search form {
    display: flex;
    width: 100%;
}

.eswd-header-search input.search-box-text {
    width: 100%;
    min-width: 0;
    height: 48px;
    border: 1px solid #cfdceb;
    border-right: 0;
    border-radius: 9px 0 0 9px;
    background: #f8fbfe;
    padding: 0 16px;
}

.eswd-header-search .search-box-button {
    width: 52px;
    height: 48px;
    border-radius: 0 9px 9px 0;
    background: var(--eswd-blue);
}

.eswd-header-actions {
    min-width: 0;
}

.eswd-header-actions .header-links ul {
    display: flex;
    align-items: center;
    gap: 15px;
}

.eswd-mobile-menu-button {
    display: none;
}

/* ---------------- MENU ---------------- */

.eswd-top-menu {
    position: relative;
    background: #fff;
    border-top: 1px solid #eef3f8;
}

.eswd-menu-wrap {
    width: min(100% - 36px, 1500px);
    margin: 0 auto;
}

.eswd-menu-list,
.eswd-submenu {
    margin: 0;
    padding: 0;
    list-style: none;
}

.eswd-menu-list {
    display: flex;
    align-items: stretch;
    gap: 2px;
}

.eswd-menu-list > li {
    position: relative;
    display: flex;
    align-items: stretch;
}

.eswd-menu-list > li > a {
    display: flex;
    align-items: center;
    min-height: 54px;
    padding: 0 17px;
    color: var(--eswd-navy-dark);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.eswd-menu-list > li > a:hover,
.eswd-menu-list > li:hover > a {
    color: var(--eswd-blue);
    background: var(--eswd-soft);
}

.eswd-menu-list .eswd-main-site-link {
    margin-left: auto;
}

.eswd-menu-list .eswd-main-site-link > a {
    color: var(--eswd-blue);
}

.eswd-submenu-toggle {
    display: none;
}

.eswd-submenu {
    position: absolute;
    top: calc(100% - 1px);
    left: 0;
    z-index: 5000;
    display: none;
    width: 300px;
    padding: 10px;
    border: 1px solid var(--eswd-line);
    border-radius: 0 0 14px 14px;
    background: #fff;
    box-shadow: 0 20px 45px rgba(3, 34, 79, .15);
}

.eswd-menu-list > li:hover > .eswd-submenu,
.eswd-menu-list > li:focus-within > .eswd-submenu {
    display: block;
}

.eswd-submenu a {
    display: block;
    padding: 11px 12px;
    border-radius: 8px;
    color: var(--eswd-ink);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.eswd-submenu a:hover {
    background: var(--eswd-soft);
    color: var(--eswd-blue);
}

/* ---------------- FOOTER ---------------- */

.eswd-footer {
    margin-top: 56px;
    background: var(--eswd-navy-dark);
    color: #c9dbed;
}

.eswd-footer-wrap {
    width: min(100% - 36px, 1500px);
    margin: 0 auto;
}

.eswd-footer-main {
    display: grid;
    grid-template-columns: minmax(270px, 1.45fr) repeat(4, minmax(155px, .72fr));
    gap: 34px;
    padding: 52px 0 40px;
}

.eswd-footer-brand img {
    display: block;
    width: min(100%, 310px);
    margin-bottom: 17px;
    padding: 12px;
    border-radius: 12px;
    background: #fff;
}

.eswd-footer-brand p {
    max-width: 410px;
    color: #b7cce1;
}

.eswd-footer-demo-note {
    display: inline-block;
    padding: 8px 11px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 8px;
    background: rgba(255,255,255,.06);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

.eswd-footer h3 {
    margin: 4px 0 15px;
    color: #fff;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.eswd-footer ul {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.eswd-footer a {
    color: #c9dbed;
    text-decoration: none;
}

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

.eswd-footer-trust {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    padding: 22px 0;
    border-top: 1px solid rgba(255,255,255,.12);
    border-bottom: 1px solid rgba(255,255,255,.12);
}

.eswd-footer-trust div {
    display: flex;
    gap: 10px;
    align-items: center;
}

.eswd-footer-trust strong,
.eswd-footer-trust span {
    display: block;
}

.eswd-footer-trust strong {
    color: #fff;
}

.eswd-footer-trust span {
    font-size: 12px;
    color: #9fb8d1;
}

.eswd-trust-icon {
    display: grid;
    place-items: center;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(61, 164, 255, .18);
    color: #75c1ff;
    font-weight: 900;
}

.eswd-footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 20px 0 28px;
    color: #92abc5;
    font-size: 12px;
}

.eswd-footer-bottom-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

/* ---------------- RESPONSIVE ---------------- */

@media (max-width: 1100px) {
    .eswd-feature-grid,
    .eswd-three-cards,
    .eswd-policy-grid,
    .eswd-contact-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .eswd-link-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .eswd-header-main {
        grid-template-columns: minmax(220px, 320px) 1fr;
    }

    .eswd-header-actions {
        grid-column: 1 / -1;
    }

    .eswd-header-actions .header-links ul {
        justify-content: center;
    }

    .eswd-footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .eswd-footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 820px) {
    .eswd-section {
        margin-top: 26px;
    }

    .eswd-page-hero {
        padding: 45px 28px;
    }

    .eswd-content-grid,
    .eswd-cta {
        grid-template-columns: 1fr;
    }

    .eswd-side-card {
        position: static;
    }

    .eswd-cta .eswd-actions {
        justify-content: flex-start;
    }

    .eswd-header-main {
        grid-template-columns: 1fr auto;
        gap: 15px;
    }

    .eswd-header-search {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .eswd-header-actions {
        grid-column: auto;
    }

    .eswd-mobile-menu-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 46px;
        height: 46px;
        border: 1px solid var(--eswd-line);
        border-radius: 9px;
        background: #fff;
        color: var(--eswd-navy);
        font-size: 22px;
    }

    .eswd-menu-list {
        display: none;
        padding: 10px 0 16px;
    }

    .eswd-top-menu.is-open .eswd-menu-list {
        display: block;
    }

    .eswd-menu-list > li {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        border-bottom: 1px solid var(--eswd-line);
    }

    .eswd-menu-list > li > a {
        min-height: 50px;
        padding: 0 8px;
    }

    .eswd-menu-list .eswd-main-site-link {
        margin-left: 0;
    }

    .eswd-submenu-toggle {
        display: grid;
        place-items: center;
        width: 48px;
        border: 0;
        background: transparent;
        color: var(--eswd-blue);
        font-size: 22px;
    }

    .eswd-submenu {
        position: static;
        grid-column: 1 / -1;
        display: none;
        width: auto;
        padding: 5px 10px 12px 20px;
        border: 0;
        border-radius: 0;
        background: var(--eswd-soft);
        box-shadow: none;
    }

    .eswd-menu-list > li:hover > .eswd-submenu,
    .eswd-menu-list > li:focus-within > .eswd-submenu {
        display: none;
    }

    .eswd-menu-list > li.is-open > .eswd-submenu {
        display: block;
    }
}

@media (max-width: 620px) {
    .eswd-page {
        font-size: 15px;
    }

    .eswd-home-banner,
    .eswd-page-hero {
        border-radius: 15px;
    }

    .eswd-demo-alert {
        grid-template-columns: auto 1fr;
    }

    .eswd-demo-alert > a {
        grid-column: 2;
    }

    .eswd-intro,
    .eswd-shop-links,
    .eswd-cta,
    .eswd-prose {
        padding: 28px 20px;
    }

    .eswd-feature-grid,
    .eswd-three-cards,
    .eswd-policy-grid,
    .eswd-contact-grid,
    .eswd-link-grid {
        grid-template-columns: 1fr;
    }

    .eswd-actions,
    .eswd-cta .eswd-actions {
        display: grid;
        width: 100%;
    }

    .eswd-btn {
        width: 100%;
    }

    .eswd-policy-notice {
        display: block;
    }

    .eswd-header-topbar .eswd-header-wrap {
        display: block;
        text-align: center;
    }

    .eswd-header-topbar .eswd-header-wrap > :last-child {
        margin-top: 3px;
    }

    .eswd-header-main {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .eswd-header-logo img {
        max-width: 240px;
        max-height: 65px;
    }

    .eswd-header-actions {
        grid-column: 1 / -1;
    }

    .eswd-footer-main,
    .eswd-footer-trust {
        grid-template-columns: 1fr;
    }

    .eswd-footer-main {
        gap: 26px;
    }

    .eswd-footer-bottom {
        display: block;
        text-align: center;
    }

    .eswd-footer-bottom-links {
        justify-content: center;
        margin-top: 12px;
    }
}


/* =========================================================
   MODULAR HOMEPAGE / NOP-TEMPLATES MODULE SLOTS
   ========================================================= */

.eswd-modular-home {
    width: 100%;
}

.eswd-module-slot,
.eswd-topic-slot {
    width: min(100% - 34px, 1320px);
    margin: 38px auto 0;
}

.eswd-module-slot:empty,
.eswd-topic-slot:empty {
    display: none;
}

.eswd-module-slot-hero {
    margin-top: 0;
}

.eswd-module-slot-hero .slider-wrapper,
.eswd-module-slot-hero .anywhere-sliders-nivo-slider,
.eswd-module-slot-hero .anywhere-slider,
.eswd-module-slot-hero .slick-slider {
    overflow: hidden;
    border-radius: 22px;
    box-shadow: var(--eswd-shadow);
}

.eswd-module-slot img {
    max-width: 100%;
    height: auto;
}

.eswd-module-slot .title,
.eswd-module-slot .carousel-title,
.eswd-module-slot .collection-title,
.eswd-module-slot .product-grid > .title,
.eswd-module-slot .home-page-category-grid > .title {
    margin-bottom: 22px;
    text-align: center;
}

.eswd-module-slot .title strong,
.eswd-module-slot .carousel-title strong,
.eswd-module-slot .collection-title strong,
.eswd-module-slot .product-grid > .title strong,
.eswd-module-slot .home-page-category-grid > .title strong {
    color: var(--eswd-navy-dark);
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 800;
    letter-spacing: -.025em;
}

.eswd-module-slot-categories,
.eswd-module-slot-featured-products,
.eswd-module-slot-best-sellers,
.eswd-module-slot-content,
.eswd-module-slot-promotions,
.eswd-module-slot-manufacturers {
    padding: 34px 26px;
    border: 1px solid var(--eswd-line);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(7, 48, 103, .05);
}

.eswd-module-slot-categories,
.eswd-module-slot-manufacturers {
    background: var(--eswd-soft);
}

.eswd-topic-slot .eswd-page {
    width: 100%;
}

.eswd-topic-slot-intro .eswd-section:first-of-type {
    margin-top: 0;
}

.eswd-topic-slot-bottom-cta {
    margin-bottom: 0;
}

.eswd-modular-placeholder {
    display: grid;
    place-items: center;
    min-height: 170px;
    padding: 28px;
    border: 2px dashed #bdd3e9;
    border-radius: 18px;
    background: #f7fbff;
    text-align: center;
}

.eswd-modular-placeholder strong,
.eswd-modular-placeholder span {
    display: block;
}

.eswd-modular-placeholder strong {
    margin-bottom: 7px;
    color: var(--eswd-navy);
    font-size: 22px;
}

.eswd-modular-placeholder span {
    max-width: 650px;
    color: var(--eswd-muted);
}

@media (max-width: 820px) {
    .eswd-module-slot,
    .eswd-topic-slot {
        width: min(100% - 24px, 1320px);
        margin-top: 26px;
    }

    .eswd-module-slot-categories,
    .eswd-module-slot-featured-products,
    .eswd-module-slot-best-sellers,
    .eswd-module-slot-content,
    .eswd-module-slot-promotions,
    .eswd-module-slot-manufacturers {
        padding: 26px 16px;
        border-radius: 16px;
    }

    .eswd-module-slot-hero .slider-wrapper,
    .eswd-module-slot-hero .anywhere-sliders-nivo-slider,
    .eswd-module-slot-hero .anywhere-slider,
    .eswd-module-slot-hero .slick-slider {
        border-radius: 15px;
    }
}
