* {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

:root {
    --navy: #102650;
    --blue: #07538f;
    --orange: #ff6b00;
    --text: #253247;
    --muted: #68758a;
    --light: #f5f8fc;
    --border: #e5ebf2
}

body {
    font-family: Poppins, sans-serif;
    color: var(--text);
    line-height: 1.7
}

a {
    text-decoration: none;
    color: inherit
}

button,
input {
    font-family: inherit
}

.container {
    width: min(1180px, 92%);
    margin: auto
}

.topbar {
    background: var(--navy);
    color: #fff;
    font-size: 12px
}

.topbar-inner {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 28px
}

.topbar i {
    color: var(--orange);
    margin-right: 7px
}

.header {
    height: 86px;
    background: #fff;
    border-bottom: 1px solid #edf0f5;
    position: sticky;
    top: 0;
    z-index: 50
}

.nav {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.logo-wrap img {
    display: block;
    width: 170px;
    max-height: 62px;
    object-fit: contain
}

nav {
    display: flex;
    align-items: center;
    gap: 25px
}

nav a {
    font-size: 14px;
    font-weight: 600;
    color: #29364b;
    position: relative
}

nav a:not(.nav-quote):not(.cart-link):after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 0;
    height: 2px;
    background: var(--orange);
    transition: .25s
}

nav a:hover:after,
nav a.active:after {
    width: 100%
}

nav a.active {
    color: var(--blue)
}

.nav-quote,
.cta-button {
    background: var(--orange);
    color: #fff !important;
    padding: 12px 19px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    transition: .25s
}

.nav-quote:hover,
.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 9px 20px #ff6b0038
}

.cart-link {
    position: relative;
    font-size: 17px
}

.cart-count {
    position: absolute;
    right: -12px;
    top: -10px;
    background: var(--orange);
    color: #fff;
    font-size: 12px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: grid;
    place-items: center
}

.menu-toggle {
    display: none;
    background: none;
    border: 0;
    font-size: 25px;
    color: var(--navy)
}

.page-hero {
    min-height: 390px;
    display: flex;
    align-items: center;
    background: linear-gradient(100deg, #091d3de8, #083c66a8), url('../assets/images/bg-shop.jpg') center/cover
}

.hero-content {
    color: #fff;
    padding: 70px 0
}

.eyebrow {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 2.2px;
    font-weight: 700;
    color: var(--orange);
    margin-bottom: 12px
}

.hero-content h1 {
    font-size: clamp(34px, 5vw, 55px);
    line-height: 1.12;
    max-width: 760px;
    margin-bottom: 16px
}

.hero-content p {
    max-width: 700px;
    color: #e4edf7;
    font-size: 16px
}

.breadcrumbs {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 26px;
    font-size: 13px;
    color: #d5dfeb
}

.breadcrumbs i {
    font-size: 12px;
    color: var(--orange)
}

.shop-section {
    padding: 75px 0 100px;
    background: #fff
}

.shop-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 35px
}

.results {
    font-size: 13px;
    color: var(--muted)
}

.search-box {
    width: 320px;
    border: 1px solid var(--border);
    border-radius: 4px;
    display: flex;
    align-items: center;
    padding: 0 14px;
    background: #fff
}

.search-box i {
    color: #8996a7;
    font-size: 13px
}

.search-box input {
    border: 0;
    outline: 0;
    width: 100%;
    padding: 13px 10px;
    font-size: 13px
}

.shop-layout {
    display: grid;
    grid-template-columns: 235px 1fr;
    gap: 38px
}

.side-box {
    border: 1px solid var(--border);
    padding: 22px;
    border-radius: 6px
}

.side-box h3 {
    color: var(--navy);
    font-size: 16px;
    margin-bottom: 13px
}

.category-btn {
    width: 100%;
    border: 0;
    background: none;
    text-align: left;
    padding: 11px 0;
    color: #68758a;
    font-size: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    border-bottom: 1px solid #eef1f5
}

.category-btn:last-child {
    border-bottom: 0
}

.category-btn i {
    font-size: 12px
}

.category-btn:hover,
.category-btn.active {
    color: var(--orange);
    font-weight: 700
}

.help-box {
    margin-top: 22px;
    background: var(--navy);
    padding: 27px 22px;
    color: #fff;
    border-radius: 6px
}

.help-box>i {
    color: var(--orange);
    font-size: 27px;
    margin-bottom: 15px
}

.help-box h3 {
    font-size: 17px
}

.help-box p {
    font-size: 12px;
    color: #cbd7e5;
    margin: 8px 0 16px
}

.help-box a {
    font-size: 12px;
    color: #fff;
    font-weight: 700
}

.help-box a i {
    margin-left: 5px;
    color: var(--orange)
}

.mobile-categories {
    display: none
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px
}

.product-card {
    border: 1px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
    transition: .3s
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px #10265018
}

.product-image {
    height: 235px;
    background: #f3f5f7;
    position: relative;
    overflow: hidden
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: .5s
}

.product-card:hover .product-image img {
    transform: scale(1.06)
}

.badge {
    position: absolute;
    z-index: 2;
    top: 13px;
    left: 13px;
    background: var(--orange);
    color: #fff;
    padding: 5px 9px;
    border-radius: 3px;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 700
}

.quick-view {
    position: absolute;
    left: 50%;
    bottom: 13px;
    transform: translate(-50%, 15px);
    border: 0;
    background: #fff;
    color: var(--navy);
    padding: 9px 13px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 700;
    opacity: 0;
    transition: .25s;
    white-space: nowrap;
    cursor: pointer
}

.product-card:hover .quick-view {
    opacity: 1;
    transform: translate(-50%, 0)
}

.product-body {
    padding: 18px
}

.product-category {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--orange);
    font-weight: 700
}

.product-body h3 {
    font-size: 16px;
    color: var(--navy);
    line-height: 1.4;
    margin: 5px 0 6px
}

.rating {
    font-size: 12px;
    color: #f5a623
}

.rating span {
    color: #8793a3;
    margin-left: 3px
}

.price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 13px
}

.price-row strong {
    display: block;
    color: var(--navy);
    font-size: 15px
}

.price-row del {
    font-size: 12px;
    color: #9aa5b3
}

.add-cart {
    width: 39px;
    height: 39px;
    border: 0;
    background: var(--navy);
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
    transition: .2s
}

.add-cart:hover {
    background: var(--orange)
}

.empty-state {
    display: none;
    text-align: center;
    padding: 70px 10px;
    color: var(--muted)
}

.empty-state.show {
    display: block
}

.empty-state i {
    font-size: 40px;
    color: #c5ceda;
    margin-bottom: 12px
}

.empty-state h3 {
    color: var(--navy);
    font-size: 20px
}

.shop-cta {
    background: var(--navy);
    padding: 58px 0
}

.shop-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px
}

.shop-cta h2 {
    color: #fff;
    font-size: 31px;
    line-height: 1.2;
    margin-bottom: 7px
}

.shop-cta p {
    color: #c9d6e5;
    font-size: 14px
}

.footer {
    background: #081a35;
    color: #aebdce;
    padding-top: 65px
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr 1.2fr;
    gap: 40px;
    padding-bottom: 50px
}

.footer-brand img {
    width: 155px;
    background: #fff;
    padding: 6px;
    border-radius: 4px;
    margin-bottom: 18px
}

.footer-brand p {
    font-size: 13px;
    max-width: 330px
}

.footer h4 {
    color: #fff;
    font-size: 15px;
    margin-bottom: 18px
}

.footer-grid>div:not(.footer-brand) a {
    display: block;
    font-size: 12px;
    margin-bottom: 9px
}

.footer p {
    font-size: 12px;
    margin-bottom: 9px
}

.footer p i {
    width: 20px;
    color: var(--orange)
}

.socials {
    display: flex;
    gap: 8px;
    margin-top: 18px
}

.socials a {
    width: 34px;
    height: 34px;
    border: 1px solid #344a68;
    border-radius: 50%;
    display: grid !important;
    place-items: center;
    color: #fff
}

.copyright {
    border-top: 1px solid #1c3150;
    padding: 19px 0;
    font-size: 12px
}

.product-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 100
}

.product-modal.show {
    display: flex
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: #031123c9;
    backdrop-filter: blur(3px)
}

.modal-card {
    position: relative;
    z-index: 1;
    width: min(850px, 100%);
    background: #fff;
    border-radius: 7px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    box-shadow: 0 25px 70px #0004
}

.modal-card>img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover
}

.modal-content {
    padding: 45px 38px;
    display: flex;
    flex-direction: column;
    justify-content: center
}

.modal-content>span {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    color: var(--orange);
    font-weight: 700
}

.modal-content h2 {
    font-size: 29px;
    line-height: 1.3;
    color: var(--navy);
    margin: 9px 0
}

.modal-price {
    font-size: 22px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 14px
}

.modal-content p {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 20px
}

.quantity {
    display: flex;
    width: 125px;
    border: 1px solid var(--border);
    height: 40px;
    margin-bottom: 15px
}

.quantity button {
    width: 38px;
    border: 0;
    background: #f5f7fa;
    color: var(--navy);
    font-size: 18px;
    cursor: pointer
}

.quantity input {
    width: 49px;
    border: 0;
    text-align: center;
    outline: 0
}

.modal-cart {
    border: 0;
    background: var(--orange);
    color: #fff;
    padding: 13px;
    border-radius: 4px;
    font-weight: 700;
    cursor: pointer
}

.modal-close {
    position: absolute;
    right: 13px;
    top: 13px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: var(--navy);
    z-index: 2;
    cursor: pointer
}

.toast {
    position: fixed;
    right: 22px;
    bottom: 22px;
    background: var(--navy);
    color: #fff;
    padding: 13px 18px;
    border-radius: 5px;
    font-size: 12px;
    z-index: 200;
    box-shadow: 0 12px 30px #0003
}

.toast i {
    color: var(--orange);
    margin-right: 8px
}

@media(max-width:1050px) {
    nav {
        gap: 14px
    }

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

    .shop-layout {
        grid-template-columns: 200px 1fr
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(max-width:780px) {
    .topbar-inner {
        justify-content: center;
        gap: 12px;
        padding: 8px 0
    }

    .topbar-inner>div:last-child {
        display: none
    }

    .header {
        height: 74px
    }

    .logo-wrap img {
        width: 145px
    }

    .menu-toggle {
        display: block
    }

    nav {
        position: absolute;
        top: 74px;
        left: 0;
        right: 0;
        background: #fff;
        border-top: 1px solid var(--border);
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px 4%;
        box-shadow: 0 12px 25px #0001
    }

    nav.open {
        display: flex
    }

    nav a {
        padding: 12px 0
    }

    .nav-quote {
        justify-content: center;
        margin: 8px 0
    }

    .page-hero {
        min-height: 350px
    }

    .hero-content {
        padding: 55px 0
    }

    .hero-content h1 {
        font-size: 38px
    }

    .shop-toolbar {
        flex-direction: column;
        align-items: stretch
    }

    .search-box {
        width: 100%
    }

    .shop-layout {
        display: block
    }

    .sidebar {
        display: none
    }

    .mobile-categories {
        display: flex;
        overflow: auto;
        gap: 8px;
        margin-bottom: 22px;
        padding-bottom: 4px
    }

    .mobile-categories .category-btn {
        width: auto;
        white-space: nowrap;
        border: 1px solid var(--border);
        border-radius: 30px;
        padding: 9px 14px
    }

    .mobile-categories .category-btn.active {
        background: var(--navy);
        border-color: var(--navy);
        color: #fff
    }

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

    .product-image {
        height: 210px
    }

    .shop-cta-inner {
        flex-direction: column;
        align-items: flex-start
    }

    .modal-card {
        grid-template-columns: 1fr;
        max-height: 90vh;
        overflow: auto
    }

    .modal-card>img {
        min-height: 0;
        height: 270px
    }

    .modal-content {
        padding: 28px 24px
    }
}

@media(max-width:520px) {
    .product-grid {
        grid-template-columns: 1fr
    }

    .product-image {
        height: 260px
    }

    .footer-grid {
        grid-template-columns: 1fr
    }

    .shop-section {
        padding: 55px 0 70px
    }

    .hero-content h1 {
        font-size: 32px
    }

    .shop-cta h2 {
        font-size: 27px
    }
}