* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: #f5f8ff;
    background: #03070d;
    font-family: Arial, Helvetica, sans-serif;
}

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

.header {
    position: sticky;
    top: 0;
    z-index: 50;

    min-height: 80px;

    display: flex;
    align-items: center;
    gap: 25px;

    padding: 15px 6%;

    background: rgba(3, 7, 13, 0.94);

    border-bottom:
        1px solid rgba(25, 168, 255, 0.18);

    backdrop-filter: blur(15px);
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;

    color: white;
    text-decoration: none;
}

.logo-v {
    width: 48px;
    height: 48px;

    display: grid;
    place-items: center;

    color: white;

    font-size: 30px;
    font-weight: 900;

    border-radius: 14px;

    background:
        linear-gradient(
            135deg,
            #18baff,
            #0755d7
        );

    box-shadow:
        0 0 25px
        rgba(24, 186, 255, 0.4);
}

.brand strong {
    display: block;

    font-size: 23px;

    letter-spacing: 2px;
}

.brand span {
    display: block;

    color: #19b9ff;

    font-size: 10px;

    letter-spacing: 8px;
}

.search-box {
    flex: 1;
    max-width: 620px;
}

.search-box input {
    width: 100%;

    padding: 14px 18px;

    color: white;

    outline: none;

    border:
        1px solid
        rgba(255, 255, 255, 0.1);

    border-radius: 14px;

    background: #0b1420;
}

.cart-button {
    padding: 13px 18px;

    color: white;

    border:
        1px solid
        rgba(24, 186, 255, 0.5);

    border-radius: 13px;

    background: #071522;
}

.cart-button b {
    display: inline-grid;
    place-items: center;

    min-width: 25px;
    height: 25px;

    margin-left: 6px;

    border-radius: 50%;

    background: #159fff;
}

.hero {
    min-height: 500px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 50px;

    padding: 70px 10%;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 80% 50%,
            rgba(10, 129, 255, 0.35),
            transparent 40%
        ),
        linear-gradient(
            120deg,
            #03070d,
            #07182a
        );
}

.tag {
    color: #1ebcff;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 3px;
}

.hero h1 {
    max-width: 650px;

    margin: 18px 0;

    font-size:
        clamp(42px, 6vw, 78px);

    line-height: 0.95;
}

.hero h1 span {
    display: block;

    color: #1ab8ff;
}

.hero p {
    max-width: 520px;

    color: #a9b7c8;

    font-size: 20px;

    line-height: 1.6;
}

.main-button {
    display: inline-block;

    margin-top: 15px;

    padding: 17px 25px;

    color: white;

    font-weight: 800;

    text-decoration: none;

    border-radius: 13px;

    background:
        linear-gradient(
            135deg,
            #18baff,
            #0759df
        );

    box-shadow:
        0 12px 35px
        rgba(20, 154, 255, 0.3);
}

.hero-icon {
    min-width: 290px;
    height: 290px;

    display: grid;
    place-items: center;

    font-size: 150px;

    border-radius: 50%;

    border:
        2px solid
        rgba(27, 182, 255, 0.35);

    background:
        radial-gradient(
            circle,
            rgba(16, 139, 255, 0.3),
            transparent 65%
        );

    box-shadow:
        0 0 100px
        rgba(0, 143, 255, 0.25);
}

.categories {
    display: flex;

    justify-content: center;

    gap: 12px;

    flex-wrap: wrap;

    padding: 25px 5%;

    background: #07101a;
}

.categories button {
    padding: 12px 18px;

    color: #dce9f8;

    border:
        1px solid
        rgba(255, 255, 255, 0.1);

    border-radius: 50px;

    background: #0b1724;
}

.categories button:hover {
    border-color: #19baff;

    color: white;
}

main {
    max-width: 1300px;

    margin: auto;

    padding: 70px 5%;
}

.section-title {
    display: flex;

    align-items: end;

    justify-content: space-between;

    margin-bottom: 30px;
}

.section-title span {
    color: #1bb9ff;

    font-size: 12px;

    font-weight: bold;

    letter-spacing: 3px;
}

.section-title h2 {
    margin: 8px 0 0;

    font-size: 38px;
}

.section-title p {
    color: #8da0b5;
}

.product-list {
    display: grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(230px, 1fr)
        );

    gap: 22px;
}

.product {
    overflow: hidden;

    border:
        1px solid
        rgba(255, 255, 255, 0.08);

    border-radius: 22px;

    background: #09131f;

    transition: 0.25s;
}

.product:hover {
    transform:
        translateY(-7px);

    border-color:
        rgba(25, 185, 255, 0.45);
}

.product-image {
    width: 100%;
    aspect-ratio: 1;

    object-fit: cover;

    background: #050b12;
}

.product-content {
    padding: 18px;
}

.product-category {
    color: #1dbbff;

    font-size: 11px;

    font-weight: bold;

    text-transform: uppercase;

    letter-spacing: 1px;
}

.product h3 {
    min-height: 45px;

    margin: 9px 0;

    font-size: 19px;
}

.product-description {
    min-height: 40px;

    color: #90a1b4;

    font-size: 13px;

    line-height: 1.5;
}

.price-row {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 10px;

    margin-top: 18px;
}

.price strong {
    display: block;

    color: white;

    font-size: 24px;
}

.price del {
    color: #6f7c8b;

    font-size: 12px;
}

.add-button {
    padding: 11px 14px;

    color: white;

    font-weight: bold;

    border: 0;

    border-radius: 11px;

    background:
        linear-gradient(
            135deg,
            #18baff,
            #0860dc
        );
}

footer {
    padding: 50px;

    text-align: center;

    border-top:
        1px solid
        rgba(255, 255, 255, 0.07);

    background: #02050a;
}

footer strong {
    color: #20baff;

    letter-spacing: 3px;
}

footer p {
    color: #8494a7;
}

.cart {
    position: fixed;

    top: 0;
    right: -450px;

    z-index: 100;

    width: min(430px, 100%);

    height: 100vh;

    display: flex;

    flex-direction: column;

    background: #07111d;

    border-left:
        1px solid
        rgba(27, 181, 255, 0.25);

    transition: 0.3s;
}

.cart.open {
    right: 0;
}

.cart-header {
    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 25px;

    border-bottom:
        1px solid
        rgba(255, 255, 255, 0.08);
}

.cart-header h2 {
    margin: 0;
}

.cart-header button {
    color: white;

    font-size: 24px;

    border: 0;

    background: transparent;
}

#cart-items {
    flex: 1;

    padding: 20px;

    overflow-y: auto;
}

.cart-item {
    display: grid;

    grid-template-columns:
        70px 1fr auto;

    gap: 13px;

    align-items: center;

    margin-bottom: 15px;

    padding: 12px;

    border-radius: 15px;

    background: #0c1927;
}

.cart-item img {
    width: 70px;
    height: 70px;

    object-fit: cover;

    border-radius: 12px;
}

.cart-item h4 {
    margin: 0 0 7px;
}

.cart-item p {
    margin: 0;

    color: #1dbbff;

    font-weight: bold;
}

.remove {
    color: #ff6b6b;

    border: 0;

    background: transparent;
}

.empty-cart {
    padding: 50px 10px;

    color: #8494a7;

    text-align: center;
}

.cart-footer {
    padding: 20px;

    border-top:
        1px solid
        rgba(255, 255, 255, 0.08);
}

.cart-total {
    display: flex;

    justify-content: space-between;

    margin-bottom: 18px;

    font-size: 20px;
}

.checkout {
    width: 100%;

    padding: 17px;

    color: white;

    font-weight: bold;

    border: 0;

    border-radius: 13px;

    background: #1fae62;
}

.overlay {
    position: fixed;

    inset: 0;

    z-index: 90;

    opacity: 0;

    visibility: hidden;

    background:
        rgba(0, 0, 0, 0.7);

    transition: 0.3s;
}

.overlay.show {
    opacity: 1;

    visibility: visible;
}

@media (max-width: 800px) {

    .header {
        gap: 12px;

        padding: 12px;
    }

    .brand strong {
        font-size: 16px;
    }

    .brand span {
        font-size: 7px;

        letter-spacing: 4px;
    }

    .logo-v {
        width: 40px;
        height: 40px;
    }

    .search-box {
        display: none;
    }

    .cart-button {
        margin-left: auto;

        padding: 10px;
    }

    .hero {
        min-height: auto;

        padding: 70px 7%;

        text-align: center;
    }

    .hero-icon {
        display: none;
    }

    .hero h1 {
        font-size: 48px;
    }

    .section-title {
        align-items: start;

        flex-direction: column;
    }

    .section-title h2 {
        font-size: 30px;
    }
}