body {
  background: white !important;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ========== NAVBAR ========== */
.navbar {
    height: 60px;
    background-color: #0f1111;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

.nav-logo {
    height: 50px;
    width: 100px;
}

.logo {
    background-image: url("amazon_logo.png");
    background-size: cover;
    height: 50px;
    width: 100%;
}

.border {
    border: 2px solid transparent;
}

.border:hover {
    outline: 1.5px solid white;
}

.add-first {
    color: #cccccc;
    font-size: 0.85rem;
    margin-left: 15px;
}

.add-second {
    font-size: 1rem;
    margin-left: 3px;
}

.add-icon {
    display: flex;
    align-items: center;
}

.nav-search {
    display: flex;
    justify-content: space-evenly;
    background-color: rgb(194, 194, 24);
    width: 620px;
    height: 40px;
    border-radius: 4px;
}

.search-select {
    background-color: #f3f3f3;
    width: 50px;
    text-align: center;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    border: none;
}

.search-input {
    width: 100%;
    font-size: 1rem;
    border: none;
}

.search-icon {
    width: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    background-color: #febd68;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    color: #0f1111;
}

.nav-search:hover {
    border: 2px solid orange;
}

span {
    font-size: 0.7rem;
}

.nav-second {
    font-size: 0.85rem;
    font-weight: 700;
}

.nav-cart i {
    font-size: 30px;
}

.nav-cart {
    font-size: 0.85rem;
    font-weight: 700;
}

/* ========== PANEL ========== */
.panel {
    height: 40px;
    background-color: #222f3d;
    display: flex;
    color: white;
    align-items: center;
    justify-content: space-evenly;
}

.panel-options p {
    display: inline;
    margin-left: 15px;
}

.panel-options {
    width: 70%;
    font-size: 0.85rem;
}

.panel-deals {
    font-size: 0.9rem;
    font-weight: 700;
}

/* ========== HERO ========== */
.hero-section {
    background-image: url("hero_image.jpg");
    background-size: cover;
    height: 350px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.hero-msg {
    background-color: white;
    color: black;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    width: 80%;
    margin-bottom: 25px;
}

.hero-msg a {
    color: #007185;
}

/* ========== CATEGORY GRID ========== */
.amz-cat-section {
    margin: 20px;
    padding: 24px;
    background-color: #1a1f2e;
    border-radius: 12px;
    box-sizing: border-box;
}

.amz-cat-heading {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
}

.amz-cat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.amz-cat-card {
    background-color: #252d3d;
    border-radius: 10px;
    padding: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer;
    box-sizing: border-box;
    min-width: 0;
}

.amz-cat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
}

.amz-cat-title {
    font-size: 1rem;
    font-weight: 700;
    color: #f0f0f0;
    margin-bottom: 12px;
}

.amz-cat-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

/* ========== SHOP SECTION ========== */
.shop-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    background-color: #e2e7e6;
}

.box {
    height: 400px;
    width: 23%;
    background-color: white;
    padding: 20px 0px 15px;
    margin-top: 15px;
    transition: transform 0.3s ease;
}

.box:hover {
    transform: translateY(-5px);
}

.box-img {
    height: 300px;
    background-size: cover;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.box-content {
    margin-left: 1rem;
    margin-right: 1rem;
}

.box-content p {
    color: #007185;
}

.cbox {
    height: 400px;
    width: 23%;
    background-color: white;
    padding: 20px 0px 15px;
    margin-top: 15px;
}

.cbox-img {
    height: 300px;
    background-size: cover;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.cbox-content {
    margin-left: 1rem;
    margin-right: 1rem;
}

.cbox-content p {
    color: #007185;
}

/* ========== FOOTER ========== */
footer {
    margin-top: 15px;
}

.foot-panel1 {
    background-color: #37475a;
    color: white;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

.foot-panel2 {
    background-color: #222f3d;
    color: white;
    height: 300px;
    display: flex;
    justify-content: space-evenly;
}

ul {
    margin-top: 20px;
}

ul a {
    display: block;
    font-size: 0.85rem;
    margin-top: 10px;
    color: #dddddd;
}

.foot-panel3 {
    background-color: #222f3d;
    color: white;
    border-top: 0.5px solid white;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.foot-panel4 {
    background-color: #0f1111;
    color: white;
    height: 80px;
    font-size: 0.7rem;
    text-align: center;
}

.pages {
    padding-top: 25px;
}

.copyright {
    padding-top: 5px;
}

/* ========== TABLET (max 1024px) ========== */
@media screen and (max-width: 1024px) {
    .navbar {
        flex-wrap: wrap;
        height: auto;
        padding: 10px;
        gap: 10px;
    }

    .nav-search {
        width: 90%;
        order: 3;
    }

    .panel {
        flex-wrap: wrap;
        height: auto;
        padding: 10px;
        gap: 10px;
    }

    .panel-options {
        width: 100%;
        text-align: center;
    }

    .shop-section {
        justify-content: center;
        gap: 15px;
    }

    .box, .cbox {
        width: 45%;
    }

    .hero-section {
        height: 280px;
        background-position: center;
    }

    .hero-msg {
        width: 90%;
        font-size: 0.8rem;
        text-align: center;
        padding: 10px;
        height: auto;
    }

    .foot-panel2 {
        flex-wrap: wrap;
        height: auto;
        padding: 20px;
        gap: 20px;
    }

    .foot-panel2 ul {
        width: 40%;
    }

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

/* ========== MOBILE (max 768px) ========== */
@media screen and (max-width: 768px) {
    .navbar {
        flex-direction: column;
        height: auto;
        justify-content: center;
        gap: 12px;
    }

    .nav-logo {
        width: 80px;
        height: 40px;
    }

    .logo {
        height: 40px;
        width: 80px;
    }

    .nav-address, .na-singin, .return {
        display: none;
    }

    .nav-search {
        width: 100%;
        height: 38px;
    }

    .search-select {
        width: 45px;
    }

    .search-input {
        font-size: 0.9rem;
    }

    .search-icon {
        width: 40px;
    }

    .nav-cart {
        font-size: 0.9rem;
    }

    .nav-cart i {
        font-size: 22px;
    }

    .panel {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px;
    }

    .panel-options {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        width: 100%;
    }

    .panel-options p {
        margin-left: 0;
    }

    .panel-deals {
        font-size: 0.8rem;
    }

    .hero-section {
        height: 220px;
        background-position: center;
    }

    .hero-msg {
        width: 95%;
        font-size: 0.75rem;
        padding: 8px;
        margin-bottom: 15px;
    }

    .box, .cbox {
        width: 90%;
        height: auto;
    }

    .box-img, .cbox-img {
        height: 250px;
    }

    .shop-section {
        flex-direction: column;
        align-items: center;
    }

    .foot-panel2 {
        flex-direction: column;
        align-items: center;
        text-align: center;
        height: auto;
        padding: 25px 10px;
    }

    .foot-panel2 ul {
        width: 100%;
    }

    .foot-panel4 {
        height: auto;
        padding: 15px 10px;
    }

    .pages {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .amz-cat-grid {
        grid-template-columns: 1fr;
    }

    .amz-cat-section {
        margin: 12px;
        padding: 16px;
    }
}

/* ========== SMALL MOBILE (max 480px) ========== */
@media screen and (max-width: 480px) {
    .navbar {
        padding: 8px;
    }

    .nav-search {
        height: 35px;
    }

    .search-input {
        font-size: 0.8rem;
    }

    .hero-section {
        height: 180px;
    }

    .hero-msg {
        font-size: 0.7rem;
        width: 96%;
    }

    .box-img, .cbox-img {
        height: 200px;
    }

    .box-content h2, .cbox-content h2 {
        font-size: 1rem;
    }

    .foot-panel1 {
        font-size: 0.75rem;
    }

    .foot-panel4 {
        font-size: 0.65rem;
    }
}