* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f5f7fa;
    color: #102a43;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

html {
    scroll-behavior: smooth;
}


/* =========================
   NAVBAR
========================= */

.navbar {
    width: 100%;
    height: 80px;
    background-color: white;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 4%;

    border-top: 4px solid #ff6b00;

    position: relative;
    z-index: 10;
}

.nav-logo a {
    display: flex;
    align-items: center;
    gap: 8px;

    font-size: 24px;
    font-weight: 800;
    color: #1769d1;
}

.logo-icon {
    width: 30px;
    height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    background-color: #ff6b00;
    color: white;

    border-radius: 6px;
    font-size: 18px;
}

.nav-logo span span {
    color: #ff6b00;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    color: #182b49;
    font-size: 15px;
    font-weight: 500;
    padding: 10px 0;
    transition: 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: #ff6b00;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-search {
    display: flex;
    height: 40px;
}

.nav-search input {
    width: 190px;

    border: 1px solid #ddd;
    border-right: none;

    border-radius: 22px 0 0 22px;

    padding: 0 15px;
    outline: none;
}

.nav-search button {
    width: 45px;

    border: none;

    background-color: #ff6b00;
    color: white;

    border-radius: 0 22px 22px 0;

    cursor: pointer;
}

.cart-icon {
    position: relative;
    font-size: 22px;
    color: #182b49;
}

.cart-icon span {
    position: absolute;

    top: -10px;
    right: -10px;

    width: 17px;
    height: 17px;

    background-color: #ff6b00;
    color: white;

    font-size: 10px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
}


/* =========================
   PRODUCT PAGE
========================= */

.product-page {
    padding: 35px 5% 80px;
    min-height: 650px;
}


/* BACK BUTTON */

.back {
    display: inline-flex;
    align-items: center;

    margin-bottom: 25px;

    color: #1769d1;

    font-size: 15px;
    font-weight: 600;

    transition: 0.3s;
}

.back:hover {
    color: #ff6b00;
    transform: translateX(-4px);
}


/* PRODUCT CONTAINER */

.product-details {
    max-width: 1200px;
    margin: auto;

    background-color: white;

    border-radius: 20px;

    padding: 45px;

    display: grid;
    grid-template-columns: 45% 55%;

    gap: 55px;

    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);

    border: 1px solid #e7ebf0;
}


/* =========================
   PRODUCT IMAGE
========================= */

.product-image {
    width: 100%;
    min-height: 480px;

    background-color: #f7f9fc;

    border-radius: 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 30px;

    border: 1px solid #edf0f4;

    position: relative;
}

.product-image::before {
    content: "WAI STORE";
    position: absolute;
    top: 20px;
    left: 25px;
    font-size: 11px;
    font-weight: bold;
    color: #b8c4d3;
    letter-spacing: 2px;
}

.product-image img {
    width: 100%;
    height: 420px;

    object-fit: contain;

    transition: 0.4s ease;
}

.product-image:hover img {
    transform: scale(1.04);
}


/* =========================
   PRODUCT INFORMATION
========================= */

.product-info {
    padding: 10px 10px 10px 0;

    display: flex;
    flex-direction: column;
}

.product-info h1 {
    color: #0d2f5f;

    font-size: 38px;
    line-height: 1.2;

    margin-bottom: 18px;
}


/* PRICE */

.price {
    color: #1769d1;

    font-size: 32px;
    font-weight: 700;

    margin-bottom: 25px;
}


/* DESCRIPTION */

.description {
    color: #52667a;

    font-size: 15px;
    line-height: 1.7;

    margin-bottom: 30px;

    max-width: 600px;
}


/* =========================
   SPECIFICATIONS
========================= */

.specs {
    margin-top: 5px;
}

.specs h2 {
    color: #123b75;

    font-size: 23px;

    margin-bottom: 15px;

    padding-bottom: 12px;

    border-bottom: 3px solid #ff6b00;
}

.spec {
    min-height: 52px;

    display: grid;
    grid-template-columns: 40% 60%;

    align-items: center;

    padding: 12px 15px;

    border-bottom: 1px solid #e8edf3;

    font-size: 14px;

    color: #52667a;

    transition: 0.2s;
}

.spec:hover {
    background-color: #f7f9fc;
}

.spec-name {
    color: #123b75;

    font-weight: 700;
}


/* =========================
   ADD TO CART
========================= */

.deal-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 190px;

    margin-top: 30px;

    padding: 14px 25px;

    background-color: #ff6b00;

    color: white;

    border-radius: 25px;

    font-size: 14px;
    font-weight: 700;

    transition: 0.3s ease;

    box-shadow: 0 6px 15px rgba(255, 107, 0, 0.25);
}

.deal-button:hover {
    background-color: #1769d1;

    transform: translateY(-3px);

    box-shadow: 0 8px 18px rgba(23, 105, 209, 0.25);
}


/* =========================
   FOOTER
========================= */

.footer {
    background-color: #1746a2;
    color: white;
}

.footer-content {
    max-width: 1100px;
    margin: auto;

    padding: 60px 5%;

    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;

    gap: 70px;
}

.footer-brand h3 {
    color: #ff6b00;

    font-size: 28px;

    margin-bottom: 20px;
}

.footer-brand p {
    color: #dce6f5;
    line-height: 1.6;
}

.footer-links h4,
.footer-contact h4 {
    color: #ff6b00;

    font-size: 18px;

    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: white;
    transition: 0.3s;
}

.footer-links a:hover {
    color: #ff6b00;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contact p {
    color: #e1e9f5;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);

    text-align: center;

    padding: 20px;

    color: #dce6f5;

    font-size: 13px;
}


/* =========================
   TABLET
========================= */

@media (max-width: 1000px) {

    .nav-links {
        gap: 15px;
    }

    .nav-links a {
        font-size: 13px;
    }

    .nav-search input {
        width: 130px;
    }

    .product-details {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
        padding: 30px;
    }

    .product-info h1 {
        font-size: 32px;
    }

    .product-image {
        min-height: 400px;
    }

    .product-image img {
        height: 350px;
    }
}


/* =========================
   MOBILE
========================= */

@media (max-width: 700px) {

    .navbar {
        height: auto;

        flex-direction: column;

        gap: 15px;

        padding: 20px;
    }

    .nav-links {
        width: 100%;

        overflow-x: auto;

        justify-content: flex-start;

        padding-bottom: 5px;
    }

    .nav-actions {
        width: 100%;

        justify-content: center;
    }

    .nav-search {
        width: 80%;
    }

    .nav-search input {
        width: 100%;
    }


    /* PRODUCT */

    .product-page {
        padding: 25px 6% 60px;
    }

    .product-details {
        grid-template-columns: 1fr;

        padding: 20px;

        gap: 30px;

        border-radius: 15px;
    }

    .product-image {
        min-height: 350px;

        padding: 20px;
    }

    .product-image img {
        height: 320px;
    }

    .product-info {
        padding: 0;
    }

    .product-info h1 {
        font-size: 28px;
    }

    .price {
        font-size: 27px;
    }

    .spec {
        grid-template-columns: 45% 55%;

        font-size: 13px;
    }

    .deal-button {
        width: 100%;
    }


    /* FOOTER */

    .footer-content {
        grid-template-columns: 1fr;

        gap: 40px;

        padding: 50px 8%;
    }
}

/* =========================================
   PHONE PRODUCT OPTIONS
========================================= */

.product-options {
    margin-top: 25px;
}

.option-group {
    margin-bottom: 22px;
}

.option-group label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #123FA5;
}

.option-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.option-button {
    min-width: 75px;
    padding: 10px 18px;
    border: 2px solid #ddd;
    border-radius: 8px;
    background: #fff;
    color: #222;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.option-button:hover {
    border-color: #1261C9;
    color: #1261C9;
}

.option-button.selected {
    border-color: #FF6B00;
    background: #fff7f0;
    color: #FF6B00;
    box-shadow: 0 0 0 1px #FF6B00;
}


/* =========================================
   COLOR OPTIONS
========================================= */

.color-button {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: auto;
}

.color-circle {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1px solid #aaa;
    display: inline-block;
    flex-shrink: 0;
}

.color-button.selected {
    border-color: #FF6B00;
    background: #fff7f0;
    color: #FF6B00;
}