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

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #07111f;
    color: white;
    line-height: 1.6;
}

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

button {
    cursor: pointer;
}

.hidden {
    display: none !important;
}

.icon-sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.icon {
    width: 1em;
    height: 1em;
    display: inline-block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    vertical-align: -0.15em;
}


/* =====================================================
   AUTH SCREEN
===================================================== */

.auth-screen {
    position: fixed;
    inset: 0;
    z-index: 99999;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 20px;

    background:
        radial-gradient(
            circle at 20% 20%,
            rgba(0,212,255,.15),
            transparent 35%
        ),
        radial-gradient(
            circle at 80% 80%,
            rgba(0,80,255,.15),
            transparent 35%
        ),
        #07111f;

    overflow-y: auto;
}

.auth-box {
    width: min(450px, 100%);

    background: #0a1929;

    border: 1px solid #21435d;
    border-radius: 20px;

    padding: 35px;

    box-shadow:
        0 30px 80px rgba(0,0,0,.5);
}

.auth-logo {
    text-align: center;

    color: #00d4ff;

    font-size: 32px;
    font-weight: 800;

    margin-bottom: 25px;
}

.auth-logo span {
    color: white;
}

.auth-box h1 {
    text-align: center;
    margin-bottom: 5px;
}

.auth-subtitle {
    text-align: center;
    color: #8fa2b5;
    font-size: 14px;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    color: #a8b8c9;
    font-size: 13px;
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;

    background: #071522;
    color: white;

    border: 1px solid #26435d;
    border-radius: 8px;

    padding: 12px;

    outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: #00d4ff;
}

.form-group textarea {
    resize: vertical;
}

.auth-submit {
    width: 100%;

    background: #00d4ff;
    color: #06111e;

    border: none;
    border-radius: 9px;

    padding: 13px;

    font-weight: bold;
    font-size: 15px;

    margin-top: 5px;
}

.auth-submit:hover {
    background: #28dcff;
    transform: translateY(-1px);
}

.auth-switch {
    text-align: center;
    color: #8fa2b5;
    font-size: 13px;
    margin-top: 18px;
}

.auth-switch button {
    background: none;
    border: none;
    color: #00d4ff;
    font-weight: bold;
}

.auth-error {
    color: #ff7070;
    font-size: 13px;
    min-height: 20px;
    margin-bottom: 5px;
}


/* =====================================================
   NAVIGATION
===================================================== */

/* =====================================================
   NAVIGATION
===================================================== */

.navbar {
    position: sticky;
    top: 0;
    z-index: 5000;

    background: rgba(7,17,31,.96);

    border-bottom: 1px solid rgba(0,212,255,.15);

    backdrop-filter: blur(12px);
}

.nav-container {
    max-width: 1400px;
    margin: auto;

    min-height: 75px;

    padding: 0 25px;

    display: flex;
    align-items: center;

    gap: 20px;
}

.logo {
    color: #00d4ff;
    font-size: 25px;
    font-weight: 800;
    white-space: nowrap;

    text-decoration: none;
}

.logo span {
    color: white;
}


/* =====================================================
   DESKTOP NAVIGATION
===================================================== */

.nav-menu {
    display: block;

    position: static;

    width: auto;

    background: transparent;

    border: none;

    border-radius: 0;

    padding: 0;

    box-shadow: none;

    margin-left: auto;
}

.nav-links {
    list-style: none;

    display: flex;

    flex-direction: row;

    align-items: center;

    gap: 18px;
}

.nav-links li {
    width: auto;
}

.nav-links a {
    display: block;

    padding: 8px 5px;

    color: #dce8f5;

    text-decoration: none;

    font-size: 14px;

    white-space: nowrap;

    border-radius: 8px;

    transition:
        color .2s ease,
        background .2s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: #00d4ff;
    background: #0d2944;
}

.nav-links a.active {
    box-shadow: inset 0 -2px #00d4ff;
}


/* =====================================================
   MENU BOTTOM
   Hidden on desktop because logout/user
   information is shown in nav-actions.
===================================================== */

.menu-bottom {
    display: none;
}


/* =====================================================
   NAV ACTIONS
===================================================== */

.nav-actions {
    display: flex;

    align-items: center;

    gap: 10px;
}

.search-wrapper {
    display: flex;
    align-items: center;
}

.search-box {
    width: 180px;

    background: #101f33;
    color: white;

    border: 1px solid #203b59;
    border-radius: 25px;

    padding: 10px 14px;

    outline: none;
}

.search-box:focus {
    border-color: #00d4ff;
}

.cart-button {
    position: relative;

    background: #0d2944;
    color: white;

    border: none;
    border-radius: 10px;

    padding: 10px 13px;

    font-size: 18px;
}

.cart-count {
    position: absolute;

    top: -7px;
    right: -7px;

    width: 21px;
    height: 21px;

    display: flex;
    justify-content: center;
    align-items: center;

    background: #00d4ff;
    color: #06111e;

    border-radius: 50%;

    font-size: 11px;
    font-weight: bold;
}

.user-name {
    color: #b8c9da;

    font-size: 13px;

    white-space: nowrap;
}

.desktop-logout-btn {
    padding: 9px 12px;

    background: #101f33;
    color: #ff8585;

    border: 1px solid #49303a;
    border-radius: 8px;

    font-size: 13px;
    font-weight: bold;
    white-space: nowrap;

    transition: .25s;
}

.desktop-logout-btn:hover {
    background: #3a1f28;
    border-color: #ff7070;
}


/* =====================================================
   HAMBURGER
===================================================== */

.menu-btn {
    display: none;

    background: none;

    color: white;

    border: none;

    font-size: 25px;

    cursor: pointer;

    padding: 8px;
}


/* =====================================================
   MOBILE MENU
===================================================== */

@media (max-width: 1100px) {

    .desktop-logout-btn {
        display: none;
    }

    .nav-container {
        position: relative;
    }

    .menu-btn {
        display: block;

        order: 2;

        margin-left: auto;
    }

    .nav-menu {
        display: none;

        position: absolute;

        top: 75px;
        right: 15px;

        width: min(300px, calc(100vw - 30px));

        background: #091827;

        border: 1px solid #1c3955;

        border-radius: 14px;

        padding: 15px;

        box-shadow:
            0 15px 40px rgba(0, 0, 0, .4);
    }

    .nav-menu.menu-open {
        display: block;
    }

    .nav-links {
        display: flex;

        flex-direction: column;

        align-items: stretch;

        gap: 4px;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        width: 100%;

        padding: 12px;

        font-size: 14px;
    }

    .nav-links a:hover {
        background: #0d2944;

        color: #00d4ff;
    }

    .menu-bottom {
        display: block;

        margin-top: 12px;

        padding-top: 12px;

        border-top: 1px solid #1b334b;
    }

    .menu-user-info {
        display: flex;

        align-items: center;

        gap: 10px;

        padding: 10px;

        margin-bottom: 10px;

        background: #0d2033;

        border-radius: 9px;
    }

    .menu-user-icon {
        width: 35px;
        height: 35px;

        display: flex;

        justify-content: center;
        align-items: center;

        background: #123450;

        border-radius: 50%;

        font-size: 17px;
    }

    .menu-user-text {
        display: flex;

        flex-direction: column;

        min-width: 0;
    }

    .menu-user-text strong {
        color: white;

        font-size: 13px;

        white-space: nowrap;

        overflow: hidden;

        text-overflow: ellipsis;
    }

    .menu-user-text small {
        color: #8196aa;

        font-size: 11px;

        white-space: nowrap;

        overflow: hidden;

        text-overflow: ellipsis;
    }

    .logout-btn {
        width: 100%;

        padding: 11px 12px;

        background: #101f33;

        color: #ff7070;

        border: 1px solid #49303a;

        border-radius: 8px;

        font-size: 13px;

        font-weight: bold;

        text-align: left;

        transition: .25s;
    }

    .logout-btn:hover {
        background: #3a1f28;

        border-color: #ff7070;

        color: #ff8585;
    }

    /*
       Search + cart stay visible outside
       the mobile dropdown.
    */

    .nav-actions {
        order: 3;
    }

}


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

.hero {
    min-height: 620px;

    display: flex;
    align-items: center;

    background:
        radial-gradient(
            circle at 80% 30%,
            rgba(0,212,255,.15),
            transparent 35%
        ),
        radial-gradient(
            circle at 20% 70%,
            rgba(0,80,255,.12),
            transparent 35%
        ),
        #07111f;
}

.hero-container {
    width: 100%;
    max-width: 1200px;

    margin: auto;
    padding: 70px 25px;

    display: grid;

    grid-template-columns: 1.1fr .9fr;

    gap: 50px;

    align-items: center;
}

.hero-tag {
    display: inline-block;

    color: #00d4ff;

    background: rgba(0,212,255,.1);

    border: 1px solid rgba(0,212,255,.4);

    padding: 8px 15px;

    border-radius: 25px;

    font-size: 13px;

    margin-bottom: 20px;
}

.hero h1 {
    font-size: clamp(42px, 6vw, 70px);
    line-height: 1.05;

    margin-bottom: 20px;
}

.hero h1 span {
    color: #00d4ff;
}

.hero p {
    max-width: 570px;

    color: #aebed0;

    font-size: 17px;

    margin-bottom: 30px;
}

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

.primary-btn {
    background: #00d4ff;
    color: #06111e;

    border: none;
    border-radius: 9px;

    padding: 14px 25px;

    font-weight: bold;
}

.secondary-btn {
    background: transparent;
    color: white;

    border: 1px solid #38536e;
    border-radius: 9px;

    padding: 14px 25px;
}

.hero-device {
    height: 390px;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            #0e2740,
            #071421
        );

    border: 1px solid #1d4565;

    border-radius: 30px;
}

.hero-device img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* =====================================================
   SECTIONS
===================================================== */

section {
    padding: 80px 25px;
}

.section-container {
    max-width: 1200px;
    margin: auto;
}

.section-header {
    text-align: center;
    margin-bottom: 45px;
}

.section-header h2 {
    font-size: 35px;
    margin-bottom: 10px;
}

.section-header p {
    color: #91a4b8;
}


/* =====================================================
   CATEGORIES
===================================================== */

.categories {
    background: #091726;
}

.category-grid {
    display: grid;

    grid-template-columns: repeat(6, 1fr);

    gap: 15px;
}

.category-card {
    background: #0d1d30;
    color: white;

    border: 1px solid #18334e;

    border-radius: 14px;

    padding: 25px 15px;

    text-align: center;

    transition: .3s;
}

.category-card {
    min-height: 120px;
}

.category-card h3 {
    margin-bottom: 6px;
    color: #00d4ff;
}

.category-card p {
    color: #91a4b8;
    font-size: 13px;
}

.category-card:hover {
    transform: translateY(-5px);
    border-color: #00d4ff;
}


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

.filter-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;

    gap: 10px;

    margin-bottom: 40px;
}

.filter-btn {
    background: #0d1d30;
    color: #b9c8d8;

    border: 1px solid #1c3955;

    padding: 10px 17px;

    border-radius: 25px;
}

.filter-btn.active,
.filter-btn:hover {
    background: #00d4ff;
    color: #06111e;
}

.product-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 20px;
}

.product-card {
    background: #0d1d30;

    border: 1px solid #18334e;

    border-radius: 16px;

    overflow: hidden;

    display: flex;
    flex-direction: column;
}

.product-image {
    height: 190px;

    display: flex;
    justify-content: center;
    align-items: center;

    background:
        radial-gradient(
            circle,
            rgba(0,212,255,.15),
            transparent 60%
        ),
        #0a1727;

    font-size: 80px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    padding: 20px;
    flex: 1;
}

.product-category {
    color: #00d4ff;

    font-size: 12px;
    font-weight: bold;

    text-transform: uppercase;
}

.product-name {
    font-size: 18px;
    margin: 7px 0;
}

.product-description {
    color: #8fa2b6;
    font-size: 13px;

    min-height: 43px;
}

.rating {
    color: #ffd166;
    font-size: 13px;

    margin: 10px 0;
}

.rating .icon {
    fill: currentColor;
    stroke: none;
}

.product-fallback-icon .icon {
    width: 1em;
    height: 1em;
}

.stock {
    color: #75e6a4;
    font-size: 12px;
}

.product-bottom {
    margin-top: 15px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 10px;
}

.price {
    font-size: 20px;
    font-weight: bold;
}

.add-btn,
.buy-btn {
    position: relative;
    overflow: hidden;
    font-weight: bold;
    cursor: pointer;
    transition:
        transform .2s ease,
        background-color .2s ease,
        color .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}

.add-btn {
    background: #00d4ff;
    color: #06111e;

    border: 1px solid #00d4ff;
    border-radius: 8px;

    padding: 9px 12px;
}

.buy-btn {
    width: 100%;

    margin-top: 10px;

    background: transparent;
    color: #00d4ff;

    border: 1px solid #00d4ff;

    padding: 9px;

    border-radius: 8px;
}

.add-btn:hover:not(:disabled),
.buy-btn:hover:not(:disabled) {
    transform: translateY(-3px);
    background: #25dcff;
    color: #06111e;
    border-color: #25dcff;
    box-shadow: 0 7px 18px rgba(0, 212, 255, .3);
}

.add-btn:active:not(:disabled),
.buy-btn:active:not(:disabled) {
    transform: translateY(0) scale(.96);
    box-shadow: 0 2px 8px rgba(0, 212, 255, .2);
}

.add-btn:focus-visible,
.buy-btn:focus-visible {
    outline: 2px solid white;
    outline-offset: 3px;
}

.add-btn:disabled,
.buy-btn:disabled {
    cursor: not-allowed;
    opacity: .45;
    box-shadow: none;
}

@media (prefers-reduced-motion: reduce) {
    .add-btn,
    .buy-btn {
        transition: none;
    }
}


/* =====================================================
   PROMOTION
===================================================== */

.promotion {
    padding: 0 25px 80px;
}

.promo-container {
    max-width: 1200px;

    margin: auto;

    background:
        linear-gradient(
            120deg,
            #0b2e4a,
            #071b2e
        );

    border: 1px solid #1b4b6a;

    border-radius: 22px;

    padding: 50px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;
}


/* =====================================================
   ORDERS
===================================================== */

.orders-section {
    background: #091726;
}

.order-filter-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.order-filter-btn {
    --filter-color: #00d4ff;
    --filter-tint: rgba(0, 212, 255, .12);

    padding: 10px 17px;
    color: var(--filter-color);
    background: var(--filter-tint);
    border: 1px solid color-mix(in srgb, var(--filter-color) 48%, transparent);
    border-radius: 25px;
    font-size: 14px;
    font-weight: 700;
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease, color .2s ease;
}

.order-filter-btn[data-order-filter="Pending"] {
    --filter-color: #ffd166;
    --filter-tint: rgba(255, 209, 102, .12);
}

.order-filter-btn[data-order-filter="Processing"] {
    --filter-color: #62b6ff;
    --filter-tint: rgba(98, 182, 255, .12);
}

.order-filter-btn[data-order-filter="Shipped"] {
    --filter-color: #c29bff;
    --filter-tint: rgba(194, 155, 255, .12);
}

.order-filter-btn[data-order-filter="Delivered"] {
    --filter-color: #75e6a4;
    --filter-tint: rgba(117, 230, 164, .12);
}

.order-filter-btn[data-order-filter="Cancelled"] {
    --filter-color: #ff7777;
    --filter-tint: rgba(255, 119, 119, .12);
}

.order-filter-btn:hover {
    transform: translateY(-3px);
    background: var(--filter-color);
    color: #06111e;
    box-shadow: 0 6px 18px color-mix(in srgb, var(--filter-color) 32%, transparent);
}

.order-filter-btn.active {
    background: var(--filter-color);
    color: #06111e;
    border-color: var(--filter-color);
    box-shadow: 0 0 16px color-mix(in srgb, var(--filter-color) 35%, transparent);
}

.order-filter-btn:active {
    transform: translateY(0) scale(.96);
}

.order-filter-btn:focus-visible {
    outline: 2px solid white;
    outline-offset: 3px;
}

.orders-container {
    display: grid;
    gap: 18px;
}

.order-card {
    background: #0d1d30;

    border: 1px solid #18334e;

    border-radius: 15px;

    padding: 22px;
}

.order-top {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 15px;

    margin-bottom: 15px;
}

.order-number {
    color: #00d4ff;
    font-weight: bold;
}

.order-date {
    color: #8fa2b5;
    font-size: 13px;
}

.status {
    display: inline-block;

    padding: 5px 10px;

    border-radius: 20px;

    font-size: 12px;
    font-weight: bold;
}

.status-pending {
    background: rgba(255,209,102,.15);
    color: #ffd166;
}

.status-cancelled {
    background: rgba(255,107,107,.15);
    color: #ff6b6b;
}

.status-completed {
    background: rgba(117,230,164,.15);
    color: #75e6a4;
}

.order-items {
    color: #aebed0;

    font-size: 14px;

    margin-bottom: 12px;
}

.order-total {
    font-size: 18px;
    font-weight: bold;

    color: #00d4ff;
}

.order-actions {
    display: flex;
    gap: 10px;

    margin-top: 18px;
}

.view-order-btn,
.cancel-order-btn {
    border-radius: 8px;
    padding: 9px 14px;

    font-weight: bold;
}

.view-order-btn {
    background: #00d4ff;
    color: #06111e;

    border: none;
}

.cancel-order-btn {
    background: transparent;
    color: #ff6b6b;

    border: 1px solid #ff6b6b;
}


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

.about {
    background: #07111f;
}

.about-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 50px;
}

.about-box {
    background: #0d1d30;

    border: 1px solid #18334e;

    padding: 35px;

    border-radius: 20px;
}

.about-icon {
    color: #00d4ff;
    font-size: 32px;
    margin-bottom: 12px;
}

.about-box h3 {
    color: #00d4ff;
    margin-bottom: 15px;
}

.about-box p {
    color: #9db0c3;
}


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

footer {
    background: #040b14;

    padding: 50px 25px 25px;
}

.footer-container {
    max-width: 1200px;

    margin: auto;

    display: grid;

    grid-template-columns: 2fr 1fr 1fr 1fr;

    gap: 35px;
}

.footer-column h3 {
    margin-bottom: 15px;
}

.footer-column p,
.footer-column a {
    color: #8396aa;
    font-size: 14px;
}

.footer-column a {
    display: block;

    text-decoration: none;

    margin: 7px 0;
}

.footer-bottom {
    max-width: 1200px;

    margin: 40px auto 0;

    padding-top: 20px;

    border-top: 1px solid #172638;

    color: #65788b;

    text-align: center;

    font-size: 13px;
}


/* =====================================================
   OVERLAY / CART
===================================================== */

.overlay,
.modal-overlay {
    position: fixed;

    inset: 0;

    background: rgba(0,0,0,.72);

    z-index: 10000;

    display: none;

    align-items: center;
    justify-content: center;

    padding: 20px;
}

.overlay.active,
.modal-overlay.active {
    display: flex;
}

.cart-sidebar {
    position: absolute;

    right: 0;
    top: 0;

    height: 100%;

    width: min(430px,100%);

    background: #091827;

    display: flex;
    flex-direction: column;
}

.cart-header {
    padding: 20px;

    border-bottom: 1px solid #1b334b;

    display: flex;
    justify-content: space-between;
}

.close-btn {
    background: none;
    border: none;

    color: white;

    font-size: 25px;
}

.cart-items {
    flex: 1;

    overflow-y: auto;

    padding: 20px;
}

.cart-item {
    display: grid;

    grid-template-columns: 55px 1fr;

    gap: 12px;

    background: #0d2033;

    border: 1px solid #18384f;

    padding: 12px;

    border-radius: 12px;

    margin-bottom: 12px;
}

.cart-item-image {
    width: 55px;
    height: 55px;

    display: flex;
    justify-content: center;
    align-items: center;

    background: #071522;

    border-radius: 8px;

    font-size: 25px;
    overflow: hidden;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-name {
    font-weight: bold;
    font-size: 14px;
}

.cart-item-price {
    color: #00d4ff;
    font-size: 13px;
}

.quantity-control {
    display: flex;
    align-items: center;

    gap: 8px;

    margin-top: 8px;
}

.quantity-control button {
    width: 27px;
    height: 27px;

    background: #102a40;
    color: white;

    border: 1px solid #2b4a64;

    border-radius: 5px;
}

.remove-btn {
    color: #ff6b6b !important;
}

.cart-footer {
    padding: 20px;

    border-top: 1px solid #1b334b;
}

.total-row {
    display: flex;

    justify-content: space-between;

    margin: 7px 0;
}

.grand-total {
    color: #00d4ff;

    font-size: 21px;
    font-weight: bold;

    margin-top: 10px;
}

.checkout-btn {
    width: 100%;

    margin-top: 15px;

    background: #00d4ff;
    color: #06111e;

    border: none;

    border-radius: 9px;

    padding: 14px;

    font-weight: bold;
}


/* =====================================================
   MODAL
===================================================== */

.modal {
    width: min(500px,100%);

    max-height: 90vh;

    overflow-y: auto;

    background: #0a1929;

    border: 1px solid #21435d;

    border-radius: 18px;

    padding: 30px;
}

.modal-header {
    display: flex;

    justify-content: space-between;

    margin-bottom: 20px;
}

.modal h2 {
    color: #00d4ff;
}

.modal-submit {
    width: 100%;

    background: #00d4ff;
    color: #06111e;

    border: none;

    border-radius: 8px;

    padding: 13px;

    font-weight: bold;
}

.checkout-summary {
    background: #071522;

    padding: 15px;

    border-radius: 10px;

    margin-bottom: 15px;

    font-size: 14px;
}

.order-detail-row {
    display: flex;

    justify-content: space-between;

    gap: 15px;

    padding: 8px 0;

    border-bottom: 1px solid #1c3348;
}

.detail-label {
    color: #8fa2b5;
}

.detail-value {
    text-align: right;
}

.detail-items {
    margin-top: 15px;
}

.detail-item {
    display: flex;

    justify-content: space-between;
    align-items: center;
    gap: 12px;

    padding: 8px 0;

    color: #c4d1de;
}

.order-detail-product {
    display: flex;
    align-items: center;
    gap: 10px;
}

.order-detail-product img {
    width: 42px;
    height: 42px;
    object-fit: cover;
    border-radius: 6px;
}


/* =====================================================
   EMPTY
===================================================== */

.empty-state {
    text-align: center;

    padding: 50px 20px;

    color: #8094a8;
}

.empty-state > .icon {
    color: #00d4ff;
    font-size: 40px;
    margin-bottom: 12px;
}


/* =====================================================
   TOAST
===================================================== */

.toast {
    position: fixed;

    right: 25px;
    bottom: 25px;

    z-index: 20000;

    background: #0d273c;

    border: 1px solid #00d4ff;

    color: white;

    padding: 14px 20px;

    border-radius: 10px;

    transform: translateY(120px);

    opacity: 0;

    transition: .3s;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}


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

@media(max-width:1050px) {

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

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

    .search-box {
        width: 150px;
    }

}

@media(max-width:800px) {

    .hero-container {
        grid-template-columns: 1fr;

        text-align: center;
    }

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

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

    .hero-device {
        height: 280px;
    }

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

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

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

    .promo-container {
        flex-direction: column;

        text-align: center;
    }

}

@media(max-width:550px) {

    .nav-container {
        padding: 0 15px;
    }

    .user-name {
        display: none;
    }

    .search-box {
        width: 110px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero-device {
        font-size: 100px;
    }

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

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

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

    section {
        padding: 60px 15px;
    }

    .promotion {
        padding-left: 15px;
        padding-right: 15px;
    }

    .promo-container {
        padding: 30px 20px;
    }

    .order-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .order-actions {
        flex-direction: column;
    }

    .view-order-btn,
    .cancel-order-btn {
        width: 100%;
    }

}