:root {
    --bg: #f5f7fb;
    --navy: #0d1b3a;
    --navy-soft: #1a2d54;
    --primary: #ff7a59;
    --primary-dark: #f25c3d;
    --accent: #ffd166;
    --text: #192133;
    --muted: #68758f;
    --card: #ffffff;
    --line: rgba(17, 24, 39, 0.08);
    --shadow: 0 18px 40px rgba(11, 28, 58, 0.12);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'DM Sans', 'Manrope', sans-serif;
    background: linear-gradient(180deg, #f6f8fc 0%, #eef4ff 100%);
    color: var(--text);
}

a {
    text-decoration: none;
    color: inherit;
}

button, input {
    font: inherit;
}

.header {
    height: 78px;
    background: #101c3a;
    padding: 0 6%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    position: static;
    z-index: 100;
    box-shadow: 0 5px 25px rgba(0,0,0,.12);
}

.logo {
    color: white;
    font-family: 'Manrope', sans-serif;
    font-size: 26px;
    font-weight: 900;
    letter-spacing: -1.5px;
    line-height: 1;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    text-transform: uppercase;
}

.logo span {
    color: #ffd43b;
}

.logo small {
    display: block;
    color: #aebbd6;
    font-family: 'DM Sans', sans-serif;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-top: 6px;
}

.header-search {
    display: flex;
    align-items: center;
    background: white;
    height: 45px;
    border-radius: 9px;
    max-width: 570px;
    width: 100%;
    overflow: hidden;
}

.header-search span {
    padding: 0 13px;
    color: #667085;
    font-size: 25px;
}

.header-search input {
    flex: 1;
    min-width: 0;
    height: 100%;
    border: none;
    outline: none;
    font-size: 13px;
    background: transparent;
    color: #172033;
}

.header-search input::placeholder {
    color: #667085;
}

.header-search button {
    height: 100%;
    padding: 0 20px;
    border: none;
    background: #315cf5;
    color: white;
    font-weight: 700;
    cursor: pointer;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 17px;
    white-space: nowrap;
}

.header-link {
    color: white;
    font-size: 13px;
    font-weight: 600;
}

.account-btn {
    background: rgba(255,255,255,.1);
    color: white;
    padding: 11px 15px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
}

.publish-btn {
    background: #ffd43b;
    color: #101c3a;
    padding: 12px 18px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 800;
}

.navigation {
    height: 54px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 38px;
    border-bottom: 1px solid #e9edf4;
    overflow-x: auto;
    white-space: nowrap;
    padding: 0 20px;
}

.navigation a {
    height: 100%;
    display: flex;
    align-items: center;
    color: #677187;
    font-size: 13px;
    font-weight: 700;
    position: relative;
}

.navigation a:hover,
.navigation a.active {
    color: #315cf5;
}

.navigation a.active::after {
    content: "";
    position: absolute;
    height: 3px;
    width: 100%;
    background: #315cf5;
    bottom: 0;
    left: 0;
    border-radius: 5px;
}

.page-shell {
    max-width: 1220px;
    margin: 0 auto;
    padding: 38px 24px 60px;
}

.hero-panel {
    display: flex;
    justify-content: space-between;
    align-items: end;
    background: linear-gradient(135deg, #101f40 0%, #1d275a 45%, #ff7a59 155%);
    border-radius: 28px;
    padding: 34px 38px;
    color: #fff;
    box-shadow: var(--shadow);
}

.eyebrow {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.12);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-panel h1 {
    margin: 18px 0 0;
    font-size: clamp(2.2rem, 3vw, 3rem);
    line-height: 1.08;
    max-width: 520px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: var(--navy);
    padding: 14px 22px;
    border-radius: 999px;
    font-weight: 800;
    box-shadow: 0 12px 30px rgba(17, 24, 39, 0.2);
}

.toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 28px;
}

.results-box {
    background: rgba(255,255,255,0.75);
    border: 1px solid rgba(17,24,39,0.06);
    border-radius: 18px;
    padding: 14px 18px;
    display: flex;
    flex-direction: column;
    min-width: 220px;
    box-shadow: 0 10px 30px rgba(17, 24, 39, 0.04);
}

.results-box strong {
    font-size: 1.2rem;
    color: var(--navy);
}

.results-box span {
    color: var(--muted);
}

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.chip {
    border: 1px solid rgba(18, 33, 59, 0.08);
    background: rgba(255,255,255,0.75);
    color: var(--text);
    border-radius: 999px;
    padding: 10px 16px;
    font-weight: 700;
    cursor: pointer;
}

.chip.active {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
}

.shop-grid {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.shop-card {
    background: rgba(255,255,255,0.88);
    border: 1px solid var(--line);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 16px 32px rgba(18, 27, 43, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.shop-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 38px rgba(18, 27, 43, 0.12);
}

.shop-cover {
    height: 150px;
    background-size: cover;
    background-position: center;
}

.shop-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cover-one { background: linear-gradient(135deg, #f3c8bb, #d76b4d); }
.cover-two { background: linear-gradient(135deg, #f7d9a6, #dd8e51); }
.cover-three { background: linear-gradient(135deg, #9ec8ff, #4375d8); }
.cover-four { background: linear-gradient(135deg, #f8c4dc, #d0739c); }
.cover-five { background: linear-gradient(135deg, #bce7c9, #2d9d8a); }
.cover-six { background: linear-gradient(135deg, #d8c8ff, #8a5de9); }
.cover-seven { background: linear-gradient(135deg, #7ed6d5, #2d8cae); }
.cover-eight { background: linear-gradient(135deg, #cde6a6, #6aa04e); }

.shop-body {
    padding: 18px 18px 20px;
}

.shop-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.shop-logo {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.3rem;
    font-weight: 800;
    flex: 0 0 auto;
    overflow: hidden;
}

.shop-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo-one { background: #ef6c4d; }
.logo-two { background: #f0a33d; }
.logo-three { background: #3a6de8; }
.logo-four { background: #d65b94; }
.logo-five { background: #25a38a; }
.logo-six { background: #8a65f7; }
.logo-seven { background: #2d93c7; }
.logo-eight { background: #6aa640; }

.shop-header h2 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--navy);
}

.shop-header p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 0.86rem;
}

.meta-row, .stats-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 0.83rem;
}

.meta-row {
    margin: 16px 0 12px;
    padding: 8px 10px;
    background: #f4f7ff;
    border-radius: 12px;
}

.description {
    min-height: 72px;
    color: var(--text);
    line-height: 1.6;
    margin: 0 0 14px;
    font-size: 0.92rem;
}

.stats-row {
    margin-bottom: 18px;
    padding-top: 10px;
    border-top: 1px solid var(--line);
}

.view-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    border-radius: 12px;
    padding: 12px 14px;
    background: linear-gradient(135deg, var(--navy), var(--navy-soft));
    color: #fff;
    font-weight: 700;
}

@media (max-width: 1060px) {
    .shop-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.footer {
    background: #0d1730;
    color: rgba(255,255,255,.8);
    padding: 42px 6% 28px;
    margin-top: 60px;
}

.footer-main {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 30px;
    align-items: start;
}

.footer-brand {
    max-width: 320px;
}

.footer-logo {
    display: inline-block;
}

.footer-brand p {
    margin: 18px 0 0;
    line-height: 1.8;
    color: rgba(255,255,255,.7);
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-column h4 {
    margin: 0 0 8px;
    color: white;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.footer-column a {
    color: rgba(255,255,255,.72);
    font-size: 0.95rem;
    transition: opacity .2s ease;
}

.footer-column a:hover {
    opacity: 1;
    color: white;
}

.footer-bottom {
    max-width: 1200px;
    margin: 26px auto 0;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,.12);
    display: flex;
    justify-content: space-between;
    gap: 16px;
    color: rgba(255,255,255,.7);
    font-size: 0.9rem;
}

.footer-bottom p {
    margin: 0;
}

@media (max-width: 860px) {
    .header {
        flex-wrap: wrap;
        padding: 18px 20px;
    }

    .header-search {
        order: 3;
        width: 100%;
        max-width: none;
    }

    .navigation {
        gap: 16px;
        flex-wrap: wrap;
    }

    .hero-panel {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .footer-main {
        grid-template-columns: repeat(2, minmax(180px, 1fr));
    }
}

@media (max-width: 620px) {
    .shop-grid {
        grid-template-columns: 1fr;
    }

    .toolbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .filters {
        justify-content: flex-start;
    }

    .footer-main {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 767px) {
    .header-actions > .header-link,
    .header-actions > .account-btn {
        display: none;
    }

    .hero-panel {
        padding: 24px 20px;
        border-radius: 20px;
    }

    .hero-panel h1 {
        max-width: 100%;
        font-size: clamp(25px, 7.5vw, 32px);
        line-height: 1.15;
        overflow-wrap: anywhere;
    }

    .hero-panel > div {
        min-width: 0;
        max-width: 100%;
    }

    .cta-button {
        max-width: 100%;
        padding: 12px 18px;
        text-align: center;
    }
}
