* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    line-height: 1.2em;
    color: #666;
    background: #2879AE url(https://zdn.nz/site/baby4u/images/basic_theme/body-bg.jpg) no-repeat 0 0;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

a {
    color: #6DC4BE;
    text-decoration: none;
}
a:hover {
    color: #45ABA4;
}
a:visited {
    color: #92d3ce;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', sans-serif;
    color: #205F88;
    margin: 5px 0;
    line-height: 1.2em;
}
h1 { font: 700 46px 'Roboto', sans-serif; }
h2 { font: 700 32px 'Roboto', sans-serif; }
h3 { font: 700 24px 'Roboto', sans-serif; }
h4 { font: 700 18px 'Roboto', sans-serif; }
h5 { font: 700 16px 'Roboto', sans-serif; }

ul {
    list-style: square;
    padding-left: 20px;
    margin: 0;
}

.wrapper {
    max-width: 1380px;
    margin: 0 auto;
    box-shadow: 0 0 2px #666;
    background: #fff;
}

/* Top Bar */
.top-bar {
    background: #205F88;
    padding: 6px 0;
}
.top-bar-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 14px;
}
.top-bar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.top-bar li {
    display: inline-block;
    margin: 0;
}
.top-left li {
    padding: 0 12px 0 20px;
    background: url(https://zdn.nz/site/baby4u/images/basic_theme/bullet1.png) no-repeat 0 10px;
}
.top-left li:first-child {
    padding-left: 0;
    background: none;
}
.top-bar li a {
    color: #fff;
    font-size: 13px;
    font-weight: 500;
}
.top-right li {
    padding: 0 10px;
}
.member-btn {
    display: inline-block;
    width: 170px;
    text-align: center;
    background: #6DC4BE;
    padding: 7px 0;
    font-size: 13px;
    color: #fff !important;
    font-weight: 500;
    border-radius: 10px;
}

/* Header */
.header {
    max-width: 100%;
    margin: 0 auto;
    background: #3191cf;
}
.header-inner {
    height: 161px;
    position: relative;
    max-width: 1280px;
    margin: 0 auto;
    background: url(https://zdn.nz/site/baby4u/images/basic_theme/a-head-bg.png) no-repeat right 0;
}
#logo {
    position: absolute;
    left: 14px;
    top: 20px;
}
.header-right {
    position: absolute;
    right: 14px;
    top: 65px;
    display: flex;
    align-items: center;
    gap: 15px;
}
.fb-link {
    display: inline-block;
}
.search-box {
    background: #fff;
    border-radius: 10px;
    width: 240px;
    height: 40px;
    overflow: hidden;
}
.search-box form {
    display: flex;
    width: 100%;
    height: 100%;
    position: relative;
}
.search-input {
    border: none;
    background: transparent;
    padding: 0 40px 0 15px;
    width: 100%;
    height: 100%;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    color: #999;
    outline: none;
}
.search-btn {
    position: absolute;
    right: 12px;
    top: 10px;
    background: url(https://zdn.nz/site/baby4u/images/basic_theme/btn_search_go.gif) no-repeat;
    border: none;
    width: 16px;
    height: 16px;
    cursor: pointer;
    color: transparent;
    font-size: 0;
    text-indent: -1000px;
}
.cart-box {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #fff;
}
.cart-box a {
    color: #fff;
}
.cart-text {
    font-size: 1em;
    font-weight: 700;
}
.cart-info {
    font-size: 18px;
    font-weight: 500;
    font-family: 'Roboto', sans-serif;
    color: #fff;
}
.cart-info span {
    display: block;
    font-size: 12px;
    text-align: center;
    line-height: 6px;
    text-indent: 15px;
}

/* Navigation */
.nav-bar {
    background: #fff;
    border-bottom: 1px solid #F3F3F3;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 14px;
}
.nav-bar ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}
.nav-bar > ul > li {
    display: inline-block;
    padding: 0 18px;
    position: relative;
}
.nav-bar > ul > li:first-child {
    padding-left: 0;
}
.nav-bar > ul > li:last-child {
    padding-right: 0;
}
.nav-bar > ul > li > a {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 17px;
    padding: 15px 0;
    border-bottom: 3px solid transparent;
    line-height: 1;
    display: inline-block;
    color: #92A5F0;
}
.nav-bar > ul > li.active > a,
.nav-bar > ul > li:hover > a {
    border-color: #6CC4BE;
    color: #6CC4BE;
}

.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border: 1px solid #bbb;
    padding: 5px;
    box-shadow: 1px 1px 6px #666;
    z-index: 1001;
    min-width: 650px;
}
.has-dropdown:hover .dropdown {
    display: block;
}
.dropdown-col {
    float: left;
    padding: 0 10px;
}
.dropdown-cat {
    padding: 2px 0;
}
.dropdown-cat a {
    font: 15px "Roboto", sans-serif !important;
    color: #92a5f0 !important;
    text-transform: uppercase;
    text-align: left;
    border-bottom: none !important;
    padding: 0 !important;
}
.dropdown-cat a:hover {
    color: #6CC4BE !important;
}

/* Breadcrumb */
.breadcrumb {
    display: none;
    padding: 30px 14px;
    max-width: 1280px;
    margin: 0 auto;
    color: #666;
}

/* Hero Section */
.hero-section {
    display: flex;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0;
}
.hero-item {
    flex: 1;
    text-align: center;
    position: relative;
}
.hero-item img {
    width: 100%;
    height: auto;
    max-height: 465px;
    display: block;
}
.hero-link {
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 28px 20px;
    background: rgba(255, 255, 255, 0.4);
    box-sizing: border-box;
    font-size: 22px;
    color: #205F88;
    font-weight: 400;
    text-align: left;
}

/* Main Content */
.main-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0;
}
.content-row {
    display: flex;
    gap: 0;
    position: relative;
    top: -1px;
}
.sidebar {
    width: 330px;
    padding: 30px 50px;
    flex-shrink: 0;
    background: #E0E7FA;
}
.sidebar h3 {
    font-size: 22px;
    color: #1F5F87;
    margin-bottom: 40px;
    font-weight: 600;
}
.sidebar ul {
    list-style: none;
    padding: 0;
}
.sidebar li {
    list-style: none;
    background: none;
    padding-left: 0;
    line-height: 1.5em;
    margin-bottom: 15px;
    color: #205F88;
    font-size: 17px;
}
.sidebar li img {
    margin-right: 13px;
    vertical-align: middle;
}
.sidebar li a {
    color: #205F88;
    vertical-align: middle;
}
.content-center {
    flex: 1;
    padding: 35px 55px 50px;
    background: #fff;
}
.content-center h2 {
    font-size: 26px;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 20px;
}
.content-center p {
    margin-bottom: 20px;
    text-align: justify;
}
.sidebar-right {
    width: 330px;
    padding: 30px 50px;
    flex-shrink: 0;
    background: #E0E7FA;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}
.sidebar-right h3 {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    margin-bottom: 30px;
}
.testimonial-author {
    font-size: 15px;
    font-weight: 700;
}

/* Guarantee Bar */
.guarantee-bar {
    display: flex;
    max-width: 1280px;
    margin: 0 auto;
    padding: 10px 0;
    gap: 12px;
    background: #2879AE;
}
.guarantee-item {
    flex: 1;
    text-align: center;
    padding: 15px 0;
    font-size: 15px;
    color: #fff;
    font-weight: 500;
    background: #9EAFF2;
}
.guarantee-item img {
    margin-right: 8px;
    vertical-align: middle;
}

/* Featured Row */
.featured-row {
    display: flex;
    gap: 0;
    padding: 50px 0;
    background: #E0E7FA;
}
.featured-item {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 0 15px;
}
.featured-item + .featured-item {
    border-left: 12px solid #E0E7FA;
}
.featured-text {
    flex: 1;
}
.featured-text h2 {
    font-size: 22px;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 20px;
}
.featured-text p {
    margin-bottom: 20px;
}
.featured-text a {
    color: #6DC4BE;
}

/* Cat Sections */
.cat-section {
    display: flex;
    gap: 50px;
    padding: 45px 10px;
    margin-bottom: 0;
    background: #fff;
}
.cat-section:nth-of-type(5) {
    background: #E0E7FA;
}
.cat-sidebar {
    width: 280px;
    flex-shrink: 0;
    border-right: 1px solid #DAEBF6;
    padding-right: 50px;
}
.cat-section:nth-of-type(5) .cat-sidebar {
    border-right-color: #fff;
}
.cat-sidebar h4 a {
    color: #205F88;
}
.cat-sidebar h4,
.cat-sidebar h4 a {
    color: #1F5F87;
    font-size: 22px;
    font-family: 'Roboto', sans-serif;
    margin-bottom: 26px;
    font-weight: 600;
}
.cat-sidebar h5 a {
    color: #205F88;
}
.cat-sidebar ul {
    list-style: none;
    padding: 0;
}
.cat-sidebar li {
    list-style: none;
    background: none;
    padding-left: 0;
    line-height: 1.5em;
    margin-bottom: 0;
    font-size: 15px;
}
.cat-sidebar li a {
    color: #666;
}
.view-all {
    display: inline-block;
    margin-top: 26px;
    padding: 10px 28px;
    max-width: 220px;
    background: #6dc4be;
    border-radius: 10px;
    color: #fff !important;
    font-size: 13px;
    font-weight: 500;
    text-align: center;
}
.cat-main {
    flex: 1;
}

/* Product Grid */
.product-grid {
    display: flex;
    gap: 0;
    margin-top: 30px;
    flex-wrap: wrap;
}
.product-card {
    width: 25%;
    max-width: 220px;
    text-align: left;
    padding: 0 10px 20px 0;
}
.product-card img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 10px;
}
.product-card h4 {
    color: #6DC4BE;
    font: 700 16px Roboto, sans-serif;
    margin: 0;
    min-height: 47px;
    text-align: left;
}
.product-card h4 a {
    color: #6DC4BE;
}
.price {
    display: block;
    padding-top: 10px;
    font-size: 14px;
    font-weight: 700;
    color: #205F88;
}

/* Prefooter */
.prefooter {
    background: #205F88;
    position: relative;
    overflow: hidden;
}
.prefooter:after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 10%;
    background: #E0E7FA;
}
.prefooter-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    padding: 8px 14px;
    position: relative;
    z-index: 1;
}
.prefooter-left {
    flex: 1;
    padding-right: 20px;
}
.prefooter-col {
    display: inline-block;
    vertical-align: top;
    width: 45%;
    padding: 50px 14px 14px;
}
.prefooter-col h3 {
    font-size: 20px;
    margin-bottom: 25px;
    font-weight: 700;
    color: #fff;
}
.prefooter-col ul {
    list-style: none;
    padding: 0;
}
.prefooter-col li {
    background: none;
    padding-left: 0;
    margin-bottom: 5px;
}
.prefooter-col li a {
    color: #fff;
}
.disclaimer {
    font-size: 12px;
    margin-bottom: 28px;
    color: #fff;
    clear: both;
    padding: 0 14px;
}
.prefooter-right {
    width: 330px;
    flex-shrink: 0;
    padding: 14px;
    background: #E0E7FA;
}
.prefooter-right h3 {
    color: #205F88;
    font-size: 20px;
    margin-bottom: 25px;
}
.prefooter-right p {
    color: #666;
    font-size: 15px;
}
.subscribe-form label {
    display: block;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #666;
    margin-bottom: 5px;
}
.subscribe-form input {
    width: 240px;
    height: 40px;
    border: 1px solid #EEE;
    border-radius: 15px;
    padding: 0 10px;
    display: block;
    margin-bottom: 15px;
}
.subscribe-btn {
    background: url(https://secure.zeald.com/site/baby4u/images/basic_theme/send.png) no-repeat;
    border: none;
    width: 52px;
    height: 21px;
    cursor: pointer;
    text-indent: -1000px;
}

/* Footer */
.footer {
    background: #15405B;
    padding: 15px 0 10px;
}
.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 14px;
}
.footer-links a {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.80);
    padding: 0 10px;
    display: inline-block;
    border-left: solid 1px #226794;
}
.footer-links a:first-child {
    border-left: none;
    padding-left: 0;
}
.footer-copyright {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.80);
}
.footer-copyright img {
    margin-left: 16px;
    vertical-align: middle;
}

/* Responsive */
@media (max-width: 1280px) {
    .header, .nav-bar, .main-content, .prefooter-inner, .footer-inner,
    .hero-section, .breadcrumb, .guarantee-bar {
        width: 100%;
    }
    .featured-row {
        padding: 20px 6px;
    }
    .cat-section {
        padding-left: 10px;
        padding-right: 10px;
    }
}

@media (max-width: 990px) {
    .top-bar-inner {
        flex-direction: column;
        text-align: center;
    }
    .top-left,
    .top-right {
        text-align: center;
    }
    #logo {
        position: static !important;
        display: block;
        margin: 0 auto;
        padding: 15px 0;
        text-align: center;
    }
    .header-inner {
        height: auto !important;
        padding-bottom: 60px;
        background: none #2879AE !important;
    }
    .header-right {
        position: static !important;
        justify-content: center;
        flex-wrap: wrap;
        padding-bottom: 15px;
    }
}

@media (max-width: 853px) {
    .featured-row {
        flex-wrap: wrap;
    }
    .featured-item,
    .featured-item + .featured-item {
        flex: 1 1 100%;
        border-left: 0;
        padding: 20px 0;
    }
}

@media (max-width: 800px) {
    .hero-section {
        flex-direction: column;
        align-items: center;
    }
    .hero-item {
        max-width: 460px;
        width: 100%;
    }
    .content-row {
        flex-wrap: wrap;
    }
    .sidebar,
    .content-center,
    .sidebar-right {
        width: 100%;
        padding: 20px 10px !important;
        box-sizing: border-box;
    }
    .cat-section {
        flex-wrap: wrap;
        gap: 20px;
    }
    .cat-sidebar {
        width: 100%;
        border-right: 0;
        padding-right: 0;
    }
    .prefooter-inner {
        flex-wrap: wrap;
    }
    .prefooter-right {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .nav-bar > ul { text-align: center; }
    .nav-bar > ul > li {
        padding: 0 8px;
    }
    .nav-bar > ul > li > a {
        font-size: 14px;
        padding: 10px 0;
    }
    .footer-inner {
        flex-direction: column;
        text-align: center;
    }
    .footer-copyright {
        margin-top: 10px;
        text-align: center;
    }
    .prefooter-col {
        width: 100%;
        padding: 20px 0;
    }
}

@media (max-width: 640px) {
    .guarantee-bar {
        flex-direction: column;
        gap: 8px;
        padding-left: 10px;
        padding-right: 10px;
    }
    .cat-section {
        padding-top: 20px;
        padding-bottom: 20px;
    }
    .product-card {
        width: 50%;
        max-width: none;
    }
    .featured-item {
        flex-direction: column-reverse;
        align-items: center;
        text-align: center;
    }
    .featured-text {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .nav-bar > ul > li {
        width: 50%;
        display: table;
        float: left;
        height: 50px;
        padding: 0;
        border-bottom: 1px solid #A9C9DF;
    }
    .nav-bar > ul > li:nth-child(even) {
        border-left: 1px solid #A9C9DF;
    }
    .nav-bar > ul > li > a {
        display: table-cell;
        vertical-align: middle;
        text-align: center;
        font-size: 16px;
        padding: 0;
    }
    .product-card {
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }
    .product-card h4,
    .price {
        text-align: center;
    }
    .dropdown {
        min-width: 100%;
        width: 100%;
        left: 0;
    }
}
