/* =========================
   RESET
========================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", sans-serif;
    background: #f8fafc;
    color: #111827;
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

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

button,
input,
textarea {
    font-family: inherit;
}

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


/* =========================
   TOP BAR
========================= */

.top-bar {
    background: #111827;
    color: #fff;
    font-size: 13px;
}

.top-content {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.top-content p {
    display: flex;
    gap: 7px;
    align-items: center;
}

.top-content a {
    color: #22c55e;
    font-weight: 600;
}


/* =========================
   HEADER
========================= */

.header {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -1px;
    color: #111827;
    white-space: nowrap;
}

.logo span {
    color: #2563eb;
}

.navbar {
    display: flex;
    align-items: center;
    gap: 28px;
}

.navbar a {
    font-size: 14px;
    font-weight: 500;
    color: #4b5563;
    transition: .3s;
}

.navbar a:hover {
    color: #2563eb;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-icon,
.cart-icon {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #f3f4f6;
    color: #111827;
    position: relative;
}

.cart-icon span {
    position: absolute;
    right: -3px;
    top: -4px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #2563eb;
    color: white;
    font-size: 10px;
}

.shop-btn {
    background: #2563eb;
    color: white;
    padding: 11px 20px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    transition: .3s;
}

.shop-btn:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

.menu-btn {
    display: none;
    border: 0;
    background: transparent;
    font-size: 28px;
    cursor: pointer;
}


/* =========================
   HERO
========================= */

.hero {
    background:
        linear-gradient(
            120deg,
            #eff6ff,
            #ffffff 55%,
            #f0f9ff
        );
    overflow: hidden;
}

.hero-grid {
    min-height: 620px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
}

.hero-label,
.section-label {
    color: #2563eb;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.hero-content h1 {
    margin-top: 14px;
    max-width: 650px;
    font-size: clamp(45px, 6vw, 76px);
    line-height: 1.05;
    letter-spacing: -3px;
}

.hero-content h1 span {
    display: block;
    color: #2563eb;
}

.hero-text {
    max-width: 570px;
    margin: 25px 0;
    color: #64748b;
    font-size: 16px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
}

.btn {
    min-height: 50px;
    padding: 0 22px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-size: 14px;
    font-weight: 600;
    transition: .3s;
}

.primary-btn {
    background: #2563eb;
    color: white;
}

.primary-btn:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

.outline-btn {
    border: 1px solid #d1d5db;
    background: white;
    color: #111827;
}

.outline-btn:hover {
    border-color: #2563eb;
    color: #2563eb;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-top: 35px;
}

.hero-features div {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
}

.hero-features i {
    color: #2563eb;
    font-size: 18px;
}

.hero-product {
    min-height: 500px;
    display: grid;
    place-items: center;
    position: relative;
}

.hero-product img {
    width: min(480px, 90%);
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 30px 30px rgba(0,0,0,.18));
    transform: rotate(-4deg);
    transition: .5s;
}

.hero-product:hover img {
    transform: rotate(0) scale(1.04);
}

.hero-circle {
    width: 440px;
    height: 440px;
    border-radius: 50%;
    position: absolute;
    background: #dbeafe;
}

.hero-badge {
    position: absolute;
    top: 65px;
    right: 20px;
    z-index: 4;
    padding: 9px 15px;
    border-radius: 30px;
    background: #111827;
    color: white;
    font-size: 11px;
    font-weight: 700;
}

.floating-card {
    position: absolute;
    bottom: 65px;
    left: 10px;
    z-index: 5;
    background: white;
    padding: 15px 18px;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,.12);
    display: flex;
    align-items: center;
    gap: 12px;
}

.floating-card > i {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: #eff6ff;
    color: #2563eb;
}

.floating-card strong,
.floating-card small {
    display: block;
}

.floating-card strong {
    font-size: 13px;
}

.floating-card small {
    color: #6b7280;
    font-size: 10px;
}


/* =========================
   CATEGORY STRIP
========================= */

.category-strip {
    background: white;
    border-bottom: 1px solid #e5e7eb;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}

.category-item {
    padding: 28px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-right: 1px solid #e5e7eb;
    transition: .3s;
}

.category-item:last-child {
    border-right: 0;
}

.category-item:hover {
    background: #f8fafc;
}

.category-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #eff6ff;
    color: #2563eb;
    display: grid;
    place-items: center;
    font-size: 20px;
}

.category-item h3 {
    font-size: 14px;
}

.category-item p {
    font-size: 11px;
    color: #94a3b8;
}


/* =========================
   SECTION HEADER
========================= */

.products-section,
.accessories,
.why-us,
.testimonials {
    padding: 90px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
    margin-bottom: 35px;
}

.section-header h2 {
    margin-top: 6px;
    font-size: 34px;
    letter-spacing: -1px;
}

.section-header > div > p:last-child {
    margin-top: 5px;
    color: #94a3b8;
    font-size: 14px;
}

.section-header.centered {
    text-align: center;
    display: block;
}

.view-all {
    color: #2563eb;
    font-size: 13px;
    font-weight: 600;
}


/* =========================
   SEARCH / FILTERS
========================= */

.store-tools {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 35px;
}

.search-box {
    max-width: 430px;
    width: 100%;
    height: 48px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 15px;
}

.search-box i {
    color: #94a3b8;
}

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

.filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.filter {
    border: 1px solid #e5e7eb;
    background: white;
    padding: 10px 17px;
    border-radius: 7px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
}

.filter.active,
.filter:hover {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
}


/* =========================
   PRODUCTS
========================= */

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

.product-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: .35s;
}

.product-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 20px 40px rgba(15,23,42,.10);
}

.product-image {
    height: 250px;
    background: #f8fafc;
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.product-image img {
    width: 75%;
    height: 85%;
    object-fit: contain;
    transition: .4s;
}

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

.product-badge {
    position: absolute;
    top: 13px;
    left: 13px;
    z-index: 2;
    padding: 5px 9px;
    background: #16a34a;
    color: white;
    border-radius: 5px;
    font-size: 9px;
    font-weight: 700;
}

.product-badge.blue {
    background: #2563eb;
}

.product-badge.red {
    background: #ef4444;
}

.product-badge.sale {
    background: #f59e0b;
}

.wishlist {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: white;
    color: #64748b;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,.08);
}

.product-info {
    padding: 18px;
}

.brand {
    color: #2563eb;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.product-info h3 {
    margin: 4px 0;
    font-size: 16px;
}

.product-info > p {
    color: #94a3b8;
    font-size: 11px;
}

.rating {
    margin-top: 10px;
    color: #f59e0b;
    font-size: 11px;
}

.rating span {
    color: #94a3b8;
    margin-left: 5px;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 15px;
}

.product-footer strong {
    font-size: 16px;
}

.buy-btn {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #2563eb;
    color: white;
    display: grid;
    place-items: center;
    transition: .3s;
}

.buy-btn:hover {
    background: #1d4ed8;
    transform: scale(1.05);
}


/* =========================
   PROMO
========================= */

.promo {
    background: #2563eb;
    color: white;
    padding: 65px 0;
}

.promo-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.promo p {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

.promo h2 {
    max-width: 600px;
    margin: 8px 0 22px;
    font-size: 38px;
    line-height: 1.2;
}

.white-btn {
    background: white;
    color: #2563eb;
}

.promo-icon {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 70px;
    opacity: .8;
}


/* =========================
   ACCESSORIES
========================= */

.accessories {
    background: white;
}

.accessory-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

.accessory-card {
    text-align: center;
    padding: 30px 18px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    transition: .3s;
}

.accessory-card:hover {
    transform: translateY(-5px);
    border-color: #bfdbfe;
}

.accessory-card i {
    width: 55px;
    height: 55px;
    display: grid;
    place-items: center;
    margin: auto auto 15px;
    border-radius: 50%;
    background: #eff6ff;
    color: #2563eb;
    font-size: 23px;
}

.accessory-card h3 {
    font-size: 15px;
}

.accessory-card p {
    margin-top: 5px;
    color: #94a3b8;
    font-size: 11px;
}


/* =========================
   REPAIR
========================= */

.repair {
    padding: 100px 0;
    background: #f1f5f9;
}

.repair-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    align-items: center;
    gap: 70px;
}

.repair-image {
    border-radius: 18px;
    overflow: hidden;
}

.repair-image img {
    width: 100%;
    height: 470px;
    object-fit: cover;
}

.repair-content h2 {
    margin: 10px 0 20px;
    font-size: 43px;
    line-height: 1.15;
}

.repair-content h2 span {
    color: #2563eb;
}

.repair-content > p {
    color: #64748b;
    font-size: 14px;
}

.repair-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 13px;
    margin: 25px 0;
}

.repair-list div {
    font-size: 13px;
    font-weight: 500;
}

.repair-list i {
    color: #16a34a;
    margin-right: 7px;
}


/* =========================
   WHY US
========================= */

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.why-card {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
}

.why-icon {
    width: 55px;
    height: 55px;
    display: grid;
    place-items: center;
    margin: 0 auto 15px;
    border-radius: 50%;
    background: #eff6ff;
    color: #2563eb;
    font-size: 22px;
}

.why-card h3 {
    font-size: 16px;
}

.why-card p {
    color: #94a3b8;
    margin-top: 8px;
    font-size: 12px;
}


/* =========================
   ABOUT
========================= */

.about {
    padding: 100px 0;
    background: white;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.about-image {
    overflow: hidden;
    border-radius: 18px;
}

.about-image img {
    width: 100%;
    height: 480px;
    object-fit: cover;
}

.about-content h2 {
    margin: 10px 0 20px;
    font-size: 43px;
    line-height: 1.15;
}

.about-content h2 span {
    color: #2563eb;
}

.about-content > p {
    color: #64748b;
    margin-bottom: 15px;
    font-size: 14px;
}


/* =========================
   TESTIMONIALS
========================= */

.testimonials {
    background: #f8fafc;
}

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

.testimonial-card {
    background: white;
    border: 1px solid #e5e7eb;
    padding: 30px;
    border-radius: 12px;
}

.stars {
    color: #f59e0b;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.testimonial-card p {
    color: #64748b;
    font-size: 13px;
}

.testimonial-card h4 {
    margin-top: 20px;
    font-size: 13px;
}


/* =========================
   CONTACT
========================= */

.contact {
    padding: 100px 0;
    background: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr .8fr;
    gap: 70px;
}

.contact-content h2 {
    margin: 10px 0 20px;
    max-width: 550px;
    font-size: 42px;
    line-height: 1.15;
}

.contact-content > p {
    max-width: 560px;
    color: #64748b;
    font-size: 14px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-top: 25px;
}

.contact-item > i {
    width: 43px;
    height: 43px;
    flex-shrink: 0;
    border-radius: 9px;
    display: grid;
    place-items: center;
    background: #eff6ff;
    color: #2563eb;
}

.contact-item h4 {
    font-size: 13px;
}

.contact-item p {
    color: #64748b;
    font-size: 12px;
}

.whatsapp-btn {
    margin-top: 28px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 13px 20px;
    background: #16a34a;
    color: white;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
}

.contact-card {
    padding: 35px;
    border: 1px solid #e5e7eb;
    border-radius: 15px;
    background: #f8fafc;
}

.contact-card h3 {
    margin-bottom: 25px;
    font-size: 21px;
}

.contact-card label {
    display: block;
    margin-bottom: 6px;
    font-size: 12px;
    font-weight: 600;
}

.contact-card input,
.contact-card textarea {
    width: 100%;
    border: 1px solid #e5e7eb;
    outline: none;
    background: white;
    padding: 13px;
    border-radius: 7px;
    margin-bottom: 17px;
    font-size: 12px;
    resize: vertical;
}

.contact-card input:focus,
.contact-card textarea:focus {
    border-color: #2563eb;
}

.contact-card button {
    border: 0;
    cursor: pointer;
    width: 100%;
}


/* =========================
   FOOTER
========================= */

footer {
    background: #0f172a;
    color: white;
    padding-top: 70px;
}

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

.footer-brand p {
    max-width: 330px;
    margin-top: 15px;
    color: #94a3b8;
    font-size: 12px;
}

.footer-brand .logo {
    color: white;
}

.socials {
    display: flex;
    gap: 9px;
    margin-top: 20px;
}

.socials a {
    width: 35px;
    height: 35px;
    display: grid;
    place-items: center;
    background: #1e293b;
    border-radius: 7px;
    color: #cbd5e1;
    transition: .3s;
}

.socials a:hover {
    background: #2563eb;
    color: white;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-column h3 {
    font-size: 14px;
    margin-bottom: 8px;
}

.footer-column a,
.footer-column p {
    color: #94a3b8;
    font-size: 12px;
}

.footer-column a:hover {
    color: white;
}

.footer-column p {
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.footer-column i {
    color: #60a5fa;
}

.copyright {
    border-top: 1px solid #1e293b;
    padding: 20px 0;
    text-align: center;
    color: #64748b;
    font-size: 11px;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1050px) {

    .navbar {
        gap: 15px;
    }

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

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

    .category-item:nth-child(3) {
        border-right: 0;
    }

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

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

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

}


@media (max-width: 850px) {

    .navbar {
        position: absolute;
        top: 78px;
        left: 0;
        width: 100%;
        padding: 20px;
        background: white;
        border-bottom: 1px solid #e5e7eb;
        flex-direction: column;
        align-items: flex-start;
        display: none;
    }

    .navbar.active {
        display: flex;
    }

    .nav-actions {
        margin-left: auto;
    }

    .search-icon {
        display: none;
    }

    .menu-btn {
        display: block;
    }

    .shop-btn {
        display: none;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        padding: 70px 0;
    }

    .hero-content {
        text-align: center;
    }

    .hero-text {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons,
    .hero-features {
        justify-content: center;
    }

    .hero-product {
        min-height: 400px;
    }

    .hero-circle {
        width: 340px;
        height: 340px;
    }

    .store-tools {
        flex-direction: column;
    }

    .search-box {
        max-width: 100%;
    }

    .repair-grid,
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .repair-image img,
    .about-image img {
        height: 400px;
    }

}


@media (max-width: 650px) {

    .top-content {
        justify-content: center;
    }

    .top-content p:first-child {
        display: none;
    }

    .nav {
        min-height: 70px;
    }

    .logo {
        font-size: 20px;
    }

    .category-grid {
        grid-template-columns: 1fr 1fr;
    }

    .category-item {
        border-bottom: 1px solid #e5e7eb;
    }

    .category-item:nth-child(2n) {
        border-right: 0;
    }

    .product-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .product-image {
        height: 190px;
    }

    .product-info {
        padding: 13px;
    }

    .product-info h3 {
        font-size: 14px;
    }

    .product-footer strong {
        font-size: 13px;
    }

    .accessory-grid {
        grid-template-columns: 1fr 1fr;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .promo-grid {
        text-align: center;
        justify-content: center;
    }

    .promo-icon {
        display: none;
    }

    .promo h2 {
        font-size: 30px;
    }

    .repair-content h2,
    .about-content h2,
    .contact-content h2 {
        font-size: 32px;
    }

    .repair-list {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 430px) {

    .product-grid {
        grid-template-columns: 1fr;
    }

    .product-image {
        height: 260px;
    }

    .category-grid {
        grid-template-columns: 1fr;
    }

    .category-item {
        border-right: 0;
    }

    .accessory-grid {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 45px;
        letter-spacing: -2px;
    }

    .hero-product {
        min-height: 330px;
    }

    .hero-circle {
        width: 280px;
        height: 280px;
    }

    .hero-product img {
        width: 80%;
    }

    .floating-card {
        bottom: 15px;
    }

}
