:root {
    --bg: #ffffff;
    --muted: #6b7280;
    --text: #0b1220;
    --accent: #0092e7;
    --accent-2: #0092e7;
    --card: #fbfdfe;
    --glass: rgba(255, 255, 255, 0.7);
    --radius: 12px;
    --shadow: 0 10px 30px rgba(2, 6, 23, 0.08);
    font-family: "Poppins", sans-serif;
    /* font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial; */
}

* {
    box-sizing: border-box
}

html,
body {
    height: 100%;
    overflow-x: hidden;
}

body {
    margin: 0;
    color: var(--text);
    -webkit-font-smoothing: antialiased;
}

.wrap {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
}

.wrap_child {
    padding: 36px 95px;
}

/* Header */
section.offer-bar {
    background-color: #3caffa;
    padding: 3px 15px;
}

section.offer-bar p {
    color: #fff;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
}

header.wrap_child {
    padding: 25px 95px;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    gap: 18px
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 40%;
}

.logo .mark {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800
}

nav {
    display: flex;
    align-items: center;
    gap: 18px;
    width: 50%;
    justify-content: end;
}

nav .nav-link {
    position: relative;
    padding: 8px 10px;
    color: var(--muted);
    font-weight: 500;
    cursor: pointer;
    width: 10%;
}

nav .nav-link:hover {
    color: var(--text)
}

.icons {
  display: flex;
  gap: 12px;
  align-items: center;
  position: relative;
}

.icon-btn {
    padding: 10px;
    border-radius: 10px;
    background: #eaeaea;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer
}

/* Mega menu */
.mega {
    position: absolute;
    left: 0;
    top: 100%;
    transform: translateY(12px);
    background: white;
    padding: 18px;
    border-radius: 12px;
    box-shadow: 0 18px 40px rgba(2, 6, 23, 0.08);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    min-width: 760px;
    opacity: 0;
    pointer-events: none;
    transition: all .18s ease
}

.nav-item {
    position: relative
}

.nav-item.open .mega {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(6px)
}

.mega h4 {
    margin: 0 0 8px;
    font-size: 14px
}

.mega a {
    display: block;
    color: var(--muted);
    padding: 6px 0;
    text-decoration: none
}

.mega .mega-cta {
    grid-column: span 1;
    display: flex;
    flex-direction: column;
    gap: 8px
}

/* Hero slider */
.hero {
    display: grid;
    grid-template-columns: 1fr 480px;
    gap: 28px;
    align-items: center;
    padding: 36px 95px;
    background: #e4e4e475;
}

.hero-left {
    padding: 6px;
    max-width: 620px;
    width: 100%;
}

.eyebrow {
    color: var(--accent);
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 1px
}

.title {
    font-size: 48px;
    line-height: 1;
    font-weight: 900;
    margin: 8px 0px 15px 0px;
}

.desc {
    color: var(--muted);
    max-width: 56ch;
    margin-bottom: 18px
}

.cta-row {
    display: flex;
    gap: 12px;
    margin-bottom: 40px;
}

.btn {
    padding: 12px 18px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    border: none
}

.btn-primary {
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    color: #fff;
    box-shadow: 0 12px 30px rgba(6, 182, 212, 0.12)
}

.btn-ghost {
    background: transparent;
    border: 1px solid #f0f4f5;
    color: var(--muted)
}

.hero-right {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: end
}

.card-mock {
    width: 420px;
    height: 420px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(6, 182, 212, 0.06), rgba(14, 165, 163, 0.02));
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative
}

.card-mock img {
    margin: 0px auto;
    width: 100%;
}

/* Slider controls */
.slider-dots {
    display: flex;
    gap: 8px;
    margin-top: 14px
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #797a7b90;
    cursor: pointer
}

.dot.active {
    background: var(--accent)
}

/* Category blocks */
.cats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 36px
}

.cat {
    padding: 22px;
    border-radius: 14px;
    background: linear-gradient(180deg, #fff, #fbfeff);
    box-shadow: 0 8px 20px rgba(2, 6, 23, 0.03);
    display: flex;
    align-items: center;
    gap: 16px
}

.cat img {
    width: 84px;
    height: 84px;
    object-fit: cover;
    border-radius: 10px
}

.cat h3 {
    margin: 0;
    font-size: 18px
}

.cat p {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 13px
}

/* Featured grid */
.section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 44px
}

.grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 16px
}

.product {
    background: var(--card);
    padding: 14px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(2, 6, 23, 0.04);
    transition: transform .2s, box-shadow .2s;
    overflow: hidden
}

.product:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(2, 6, 23, 0.08)
}

.product .pimg {
    height: 160px;
    border-radius: 10px;
    background: linear-gradient(180deg, #fff, #f6fbfc);
    display: flex;
    align-items: center;
    justify-content: center
}

.product img {
    max-height: 86%;
    max-width: 86%
}

.ptitle {
    font-weight: 700;
    margin-top: 12px
}

.pprice {
    margin-top: 8px;
    font-weight: 800
}

.pmeta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
    font-size: 13px;
    color: var(--muted)
}

/* Promo strip */
.promo {
    margin-top: 36px;
    border-radius: 12px;
    padding: 14px;
    background: linear-gradient(90deg, rgba(14, 165, 163, 0.06), rgba(6, 182, 212, 0.03));
    display: flex;
    align-items: center;
    justify-content: space-between
}

/* Footer */
footer {
    border-top: 1px solid #f1f5f9;
    color: var(--muted);
    font-size: 14px
}

.homePage footer {
    border-top: 0px solid #f1f5f9;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    padding-top: 18px
}

/*  */


.userProfileDrop {
  position: absolute;
  top: 42px;
  right: 0px;
  background-color: #eaeaea;
  width: 180px;
  z-index: 99;
  padding: 10px 20px;
}
.userProfileDrop ul li a {
  list-style: none;
  font-size: 14px;
  line-height: 21px;
  padding: 5px 0px;
  display: block;
  color: #000;
}
.userProfileDrop ul {
  list-style: none;
  padding: 0px;
  margin: 0px;
}

/* Responsive */
@media (max-width:1100px) {
    .title {
        font-size: 36px;
    }

    .hero {
        grid-template-columns: 1fr 360px
    }

    .card-mock {
        width: 360px;
        height: 360px
    }

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

    .mega {
        min-width: 600px
    }
}

@media (max-width:800px) {
    .wrap_child {
        padding: 0
    }

    .hero {
        padding: 0;
        background: transparent;
    }

    .title {
        font-size: 36px;
    }

    nav {
        display: none
    }

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

    .card-mock {
        width: 100%;
        height: 320px
    }

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

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

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

    .wrap {
        padding: 16px
    }
}

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

    .card-mock {
        height: 260px
    }

    .title {
        font-size: 28px
    }
}