/* ==================== VARIABLES CSS ==================== */
:root {
    --header-height: 4.5rem;

    /* Colors - Icy Fresh & Professional */
    --first-color: #0369a1;
    /* Deep Sky Blue */
    --first-color-alt: #075985;
    --second-color: #0ea5e9;
    /* Arctic Blue */
    --accent-color: #f97316;
    /* Logos's Vibrant Orange */
    --accent-color-alt: #ea580c;
    --glacier-color: #06b6d4;
    /* Glacier Cyan kept for icy effects */
    --title-color: #0f172a;
    --text-color: #475569;
    --text-color-light: #94a3b8;
    --body-color: #f0f9ff;
    /* Very Light Ice Blue */
    --container-color: rgba(255, 255, 255, 0.85);
    /* Frosty Glass */
    --section-bg: radial-gradient(circle at top right, #f0f9ff, #e0f2fe, #bae6fd);

    /* Typography */
    --body-font: 'Outfit', sans-serif;
    --biggest-font-size: 2.25rem;
    --h1-font-size: 1.5rem;
    --h2-font-size: 1.25rem;
    --h3-font-size: 1rem;
    --normal-font-size: .938rem;
    --small-font-size: .813rem;
    --smaller-font-size: .75rem;

    /* Font weight */
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;

    /* Spacing */
    --mb-0-5: .5rem;
    --mb-1: 1rem;
    --mb-1-5: 1.5rem;
    --mb-2: 2rem;
    --mb-2-5: 2.5rem;
    --mb-3: 3rem;

    /* Shadows & Effects */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -2px rgb(0 0 0 / 0.05);
    --shadow-lg: 0 25px 50px -12px rgb(0 0 0 / 0.08);

    --transition: all .4s cubic-bezier(0.4, 0, 0.2, 1);
    --z-tooltip: 10;
    --z-fixed: 100;
}

@media screen and (min-width: 968px) {
    :root {
        --biggest-font-size: 4rem;
        --h1-font-size: 2.25rem;
        --h2-font-size: 1.75rem;
        --h3-font-size: 1.25rem;
        --normal-font-size: 1rem;
        --small-font-size: .875rem;
        --smaller-font-size: .813rem;
    }
}

/* ==================== BASE ==================== */
* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    background-color: var(--body-color);
    color: var(--text-color);
}

h1,
h2,
h3,
h4 {
    color: var(--title-color);
    font-weight: var(--font-semibold);
}

ul {
    list-style: none;
}

a {
    text-anchor: none;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* ==================== REUSABLE CSS CLASSES ==================== */
.container {
    max-width: 1140px;
    margin-left: 1.5rem;
    margin-right: 1.5rem;
}

.grid {
    display: grid;
    gap: 1.5rem;
}

.section {
    padding: 3rem 0 1.5rem;
}

.section__title {
    font-size: var(--h1-font-size);
    margin-bottom: var(--mb-1);
    font-weight: var(--font-bold);
}

.section__subtitle {
    display: block;
    font-size: var(--normal-font-size);
    color: var(--second-color);
    margin-bottom: var(--mb-3);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: var(--font-semibold);
}

.section__title-wrapper {
    text-align: center;
}

.main {
    overflow: hidden;
}

.text-gradient {
    background: linear-gradient(90deg, var(--first-color), var(--second-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ==================== HEADER ==================== */
.header {
    width: 100%;
    background-color: rgba(240, 249, 255, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: fixed;
    top: 0;
    left: 0;
    z-index: var(--z-fixed);
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.nav {
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav__logo img {
    height: 60px;
    /* Adjusted to fit header height better */
}

@media screen and (max-width: 767px) {
    .nav__menu {
        position: fixed;
        background-color: var(--body-color);
        top: 0;
        right: -100%;
        width: 80%;
        height: 100%;
        box-shadow: -2px 0 20px rgba(0, 0, 0, 0.15);
        padding: 5rem 2rem;
        transition: .4s;
        z-index: var(--z-fixed);
        display: flex;
        flex-direction: column;
    }
}

.nav__list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.nav__link {
    color: var(--title-color);
    font-weight: var(--font-medium);
    transition: .3s;
}

.nav__link:hover {
    color: var(--second-color);
}

.nav__link--cta {
    background-color: var(--accent-color);
    color: white;
    padding: .75rem 1.5rem;
    border-radius: .5rem;
}

.nav__link--cta:hover {
    color: white;
    background-color: var(--first-color);
}

.nav__admin-link {
    color: var(--title-color);
    opacity: 0.15;
    font-size: 1rem;
    transition: .3s;
    margin-right: .5rem;
    display: flex;
}

.nav__admin-link:hover {
    opacity: 1;
    color: var(--accent-color);
}

.nav__toggle,
.nav__close {
    font-size: 1.5rem;
    color: var(--title-color);
    cursor: pointer;
}

.nav__close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
}

/* Show menu */
.show-menu {
    right: 0 !important;
}

/* Change background header */
.scroll-header {
    background: rgba(240, 249, 255, 0.85);
    /* Icy White Scroll */
    box-shadow: 0 4px 12px rgba(11, 66, 126, 0.08);
}

/* Active link */
.active-link {
    color: var(--second-color);
    position: relative;
}

.active-link::after {
    content: '';
    position: absolute;
    bottom: -.5rem;
    left: 0;
    width: 50%;
    height: 2px;
    background-color: var(--second-color);
}

/* ==================== HERO ==================== */
.hero__container {
    padding: 4rem 0 2rem;
}

.hero__brand {
    font-size: .875rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: var(--font-bold);
    margin-bottom: var(--mb-1);
    display: inline-block;
    background: rgba(249, 115, 22, 0.1);
    padding: .25rem 1rem;
    border-radius: 2rem;
}

.hero__title {
    font-size: var(--biggest-font-size);
    line-height: 1.1;
    margin-bottom: var(--mb-1-5);
    font-weight: var(--font-bold);
}

.hero__description {
    margin-bottom: var(--mb-3);
    line-height: 1.7;
    font-size: 1.125rem;
}

.hero__buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.button {
    display: inline-flex;
    align-items: center;
    column-gap: .5rem;
    padding: 1.15rem 2rem;
    border-radius: .75rem;
    font-weight: var(--font-semibold);
    transition: .3s;
}

.button--primary {
    background-color: var(--first-color);
    color: #fff;
}

.button--primary:hover {
    background-color: var(--first-color-alt);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(12, 74, 110, 0.2);
}

.button--secondary {
    background-color: var(--accent-color);
    color: white;
}

.button--secondary:hover {
    background-color: var(--accent-color-alt);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(249, 115, 22, 0.2);
}

.button--ghost {
    background-color: transparent;
    border: 2px solid var(--second-color);
    color: var(--second-color);
}

.button--ghost:hover {
    background-color: var(--second-color);
    color: white;
}

.hero__img-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    padding: 1rem;
}

.hero__img-wrapper::after {
    content: '';
    position: absolute;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(125, 211, 252, 0.2) 0%, transparent 70%);
    filter: blur(40px);
    z-index: -1;
    animation: mist-float 10s infinite;
}

@keyframes mist-float {

    0%,
    100% {
        opacity: .2;
        transform: translateY(0);
    }

    50% {
        opacity: .5;
        transform: translateY(-20px);
    }
}

.hero__blob {
    width: 320px;
    height: 320px;
    background: linear-gradient(135deg, #e0f2fe, var(--second-color));
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 0 50px rgba(14, 165, 233, 0.2);
    animation: morph 8s ease-in-out infinite;
}

@keyframes morph {
    0% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }

    50% {
        border-radius: 50% 50% 20% 80% / 25% 80% 20% 75%;
    }

    100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
}

.hero__img {
    width: 100%;
    transform: scale(1.1);
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0% {
        transform: scale(1.1) translateY(0px);
    }

    50% {
        transform: scale(1.1) translateY(-15px);
    }

    100% {
        transform: scale(1.1) translateY(0px);
    }
}

/* ==================== SERVICES ==================== */
.services__container {
    padding-top: 1rem;
    grid-template-columns: 1fr;
    gap: 2rem;
}

/* ==================== MODAL ==================== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 54, 93, 0.8);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
    opacity: 0;
    visibility: hidden;
    transition: .4s;
}

.modal__content {
    position: relative;
    background-color: var(--container-color);
    padding: 4rem 2rem 3rem;
    border-radius: 2rem;
    max-width: 500px;
    width: 100%;
    transform: translateY(-20%);
    transition: .4s;
    text-align: center;
}

.modal__close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 1.5rem;
    color: var(--first-color);
    cursor: pointer;
}

.modal__icon-box {
    width: 80px;
    height: 80px;
    background-color: var(--section-bg);
    border-radius: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--mb-1-5);
    color: var(--second-color);
}

.modal__title {
    font-size: var(--h1-font-size);
    margin-bottom: var(--mb-1);
}

.modal__description {
    margin-bottom: var(--mb-2);
}

.modal__list {
    text-align: left;
    display: grid;
    gap: .75rem;
    margin-bottom: var(--mb-2-5);
}

.modal__list-item {
    display: flex;
    align-items: center;
    column-gap: .5rem;
    font-size: var(--small-font-size);
}

.modal__list-icon {
    color: var(--accent-color);
    font-size: 1rem;
}

/* Active Modal */
.active-modal {
    opacity: 1 !important;
    visibility: visible !important;
}

.active-modal .modal__content {
    transform: translateY(0);
}



.service__card {
    background-color: var(--container-color);
    padding: 2rem 1.5rem;
    border-radius: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(12px);
    transition: var(--transition);
    text-align: center;
    cursor: pointer;
    box-shadow: 0 8px 32px 0 rgba(14, 165, 233, 0.05);
    /* Soft Blue Shadow */
}

.service__card:hover {
    transform: translateY(-.5rem) scale(1.02);
    box-shadow: 0 12px 40px 0 rgba(14, 165, 233, 0.15);
    border-color: var(--second-color);
    background: white;
}

.service__card--active {
    background-color: var(--first-color);
}

.service__card--active .service__title,
.service__card--active .service__description {
    color: white;
}

.service__card--active .service__icon-box {
    background-color: var(--accent-color);
    color: white;
}

.service__icon-box {
    width: 60px;
    height: 60px;
    background-color: #e0f2fe;
    /* Light Ice Box */
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--mb-1-5);
    color: var(--second-color);
    box-shadow: inset 0 0 10px rgba(14, 165, 233, 0.1);
}

.service__title {
    font-size: var(--h2-font-size);
    margin-bottom: var(--mb-1);
}

/* ==================== EQUIPOS ==================== */
.equipos__container {
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media screen and (max-width: 575px) {
    .equipos__container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .eq__card {
        padding: 1rem;
    }

    .eq__img-box {
        height: 120px;
        margin-bottom: 1rem;
    }

    .eq__title {
        font-size: .9rem;
    }

    .eq__price {
        font-size: 1rem;
    }

    .button--small {
        padding: .5rem 1rem;
        width: 100%;
    }
}

@media screen and (min-width: 576px) {
    .equipos__container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (min-width: 992px) {
    .equipos__container {
        grid-template-columns: repeat(4, 1fr);
    }
}

.eq__card {
    background-color: var(--container-color);
    padding: 1.5rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(148, 163, 184, 0.1);
    transition: var(--transition);
    overflow: hidden;
}

.eq__card:hover {
    transform: translateY(-.5rem);
    box-shadow: var(--shadow-lg);
}

.eq__img-box {
    background-color: var(--section-bg);
    border-radius: 1rem;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--mb-1-5);
}

.eq__img {
    max-height: 100%;
    transition: .4s;
}

.eq__card:hover .eq__img {
    transform: scale(1.1);
}

.eq__title {
    font-size: var(--h3-font-size);
    margin-bottom: var(--mb-0-5);
}

.eq__description {
    font-size: var(--small-font-size);
    margin-bottom: var(--mb-1);
}

.eq__price {
    display: block;
    font-weight: var(--font-bold);
    color: var(--accent-color);
    font-size: var(--h2-font-size);
    margin-bottom: var(--mb-1);
}

.button--small {
    padding: .75rem 1.5rem;
    font-size: var(--small-font-size);
}

/* ==================== CALCULATOR ==================== */
.calculator__box {
    background: linear-gradient(135deg, #075985, #0ea5e9);
    padding: 2.5rem 2rem;
    border-radius: 2rem;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(11, 66, 126, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    height: 100%;
}

.calculator__box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.calculator__content {
    max-width: 600px;
    margin: 2rem auto 0;
}

.calculator__label {
    display: block;
    font-size: var(--h3-font-size);
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.calculator__input-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.calculator__input {
    width: 160px;
    padding: 1.5rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 2rem;
    font-weight: var(--font-bold);
    text-align: center;
    outline: none;
    transition: var(--transition);
}

.calculator__input:focus {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--second-color);
}

.calculator__result {
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.recommendation-highlight {
    font-size: 2.5rem;
    color: var(--accent-color);
    font-weight: var(--font-bold);
    display: block;
    margin-top: .5rem;
}

.button--full {
    width: 100%;
    justify-content: center;
}

/* ==================== INFO GROUP ==================== */
.info-group__container {
    gap: 2rem;
}

@media screen and (min-width: 768px) {
    .info-group__container {
        grid-template-columns: 1fr 1fr;
        align-items: stretch;
    }
}

.why__container {
    text-align: center;
}

.why__list {
    display: grid;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.why__item {
    display: flex;
    text-align: left;
    gap: 1.5rem;
    padding: 1.5rem;
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    border-radius: 1.5rem;
    box-shadow: 0 4px 24px rgba(11, 66, 126, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

.why__item:hover {
    background-color: white;
    transform: translateX(10px);
    box-shadow: 0 8px 32px rgba(11, 66, 126, 0.1);
}

.why__list-icon {
    color: var(--second-color);
    flex-shrink: 0;
}

.why__item h4 {
    margin-bottom: .25rem;
}

/* ==================== CONTACT ==================== */
.contact__box {
    background: linear-gradient(135deg, #034488, #075985);
    padding: 4rem 2rem;
    border-radius: 2rem;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(3, 105, 161, 0.2);
}

.contact__title {
    color: white;
    font-size: var(--h1-font-size);
    margin-bottom: var(--mb-1);
}

.contact__description {
    color: #e2e8f0;
}

.contact__buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

/* ==================== WHATSAPP FLOAT ==================== */
.whatsapp-float {
    position: fixed;
    right: 2rem;
    bottom: 2rem;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: .4s;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
}

.whatsapp-float {
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@media screen and (max-width: 767px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 25px;
        right: 1.5rem;
        bottom: 1.5rem;
    }
}

/* ==================== FOOTER ==================== */
.footer {
    padding: 4rem 0 2rem;
    background-color: var(--section-bg);
}

.footer__container {
    grid-template-columns: 1fr;
    row-gap: 3rem;
    text-align: center;
}

.footer__logo img {
    height: 120px;
    margin-bottom: var(--mb-1);
}

.footer__subtitle {
    font-size: var(--h3-font-size);
    margin-bottom: var(--mb-1-5);
}

.footer__link {
    color: var(--text-color);
    margin-bottom: var(--mb-0-5);
    display: block;
    transition: .3s;
}

.footer__link:hover {
    color: var(--second-color);
}

.footer__social-links {
    display: flex;
    gap: 1.5rem;
}

.footer__social-link {
    font-size: 1.25rem;
    color: var(--first-color);
    transition: .3s;
}

.footer__social-link:hover {
    color: var(--second-color);
}

.footer__copy {
    text-align: center;
    font-size: var(--smaller-font-size);
    color: var(--text-color-light);
    margin-top: 2rem;
    padding-bottom: 2rem;
}

.footer__legal {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(148, 163, 184, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 1.5rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 10;
}

.footer__legal-link {
    color: var(--first-color);
    font-size: var(--smaller-font-size);
    font-weight: var(--font-semibold);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.footer__legal-link:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.footer__legal-separator {
    color: var(--text-color-light);
    font-weight: 300;
}

/* ==================== SCROLL UP ==================== */
.scrollup {
    position: fixed;
    right: 1.5rem;
    bottom: -20%;
    background-color: var(--accent-color);
    display: inline-flex;
    padding: .5rem;
    border-radius: .5rem;
    color: white;
    z-index: var(--z-tooltip);
    transition: .4s;
    visibility: hidden;
}

.scrollup:hover {
    background-color: var(--first-color);
}

.show-scroll {
    bottom: 3rem;
    visibility: visible;
}

/* ==================== MEDIA QUERIES ==================== */
@media screen and (max-width: 320px) {
    .container {
        margin-left: 1rem;
        margin-right: 1rem;
    }

    .hero__title {
        font-size: var(--h1-font-size);
    }

    .hero__buttons {
        flex-direction: column;
        gap: 1rem;
    }
}

@media screen and (min-width: 768px) {
    .section {
        padding: 4rem 0 2rem;
    }

    .container {
        margin-left: auto;
        margin-right: auto;
    }

    .nav__toggle,
    .nav__close {
        display: none;
    }

    .nav__list {
        flex-direction: row;
        column-gap: 3rem;
    }

    .hero__container {
        grid-template-columns: repeat(2, 1fr);
        align-items: center;
        gap: 3rem;
    }

    .services__container {
        grid-template-columns: repeat(3, 1fr);
    }

    .contact__box {
        padding: 5rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }

    .footer__container {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media screen and (min-width: 992px) {
    .hero__title {
        font-size: 4rem;
    }

    .hero__blob {
        width: 480px;
        height: 480px;
    }
}

@media screen and (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* ==================== SHOPPING CART ==================== */
.cart-float {
    position: fixed;
    right: 2rem;
    bottom: 7rem;
    width: 60px;
    height: 60px;
    background-color: var(--first-color);
    color: #FFF;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    cursor: pointer;
    transition: var(--transition);
    transform: scale(0);
    opacity: 0;
}

.cart-float.show-cart {
    transform: scale(1);
    opacity: 1;
}

.cart-float__icon-box {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-float__count {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: var(--accent-color);
    color: white;
    font-size: 11px;
    font-weight: var(--font-bold);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--first-color);
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100%;
    background-color: var(--body-color);
    box-shadow: -2px 0 20px rgba(0,0,0,0.15);
    z-index: 1100;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    padding: 2rem;
}

.cart-sidebar.show-sidebar {
    right: 0;
}

.cart-sidebar__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.cart-sidebar__title {
    font-size: var(--h2-font-size);
}

.cart-sidebar__close {
    font-size: 1.5rem;
    color: var(--title-color);
    cursor: pointer;
}

.cart-sidebar__content {
    flex: 1;
    overflow-y: auto;
    margin-bottom: 2rem;
}

.cart-sidebar__empty {
    text-align: center;
    color: var(--text-color-light);
    margin-top: 2rem;
}

.cart-sidebar__footer {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.cart-sidebar__total-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    font-weight: var(--font-bold);
}

.cart-sidebar__total {
    color: var(--first-color);
    font-size: 1.25rem;
}

.cart-item {
    display: grid;
    grid-template-columns: 60px 1fr auto;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background-color: white;
    border-radius: 1rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

.cart-item__img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    background-color: var(--section-bg);
    border-radius: .5rem;
    padding: .25rem;
}

.cart-item__data {
    display: flex;
    flex-direction: column;
}

.cart-item__title {
    font-size: var(--small-font-size);
    font-weight: var(--font-semibold);
    color: var(--title-color);
}

.cart-item__price {
    font-size: var(--smaller-font-size);
    color: var(--accent-color);
    font-weight: var(--font-bold);
}

.cart-item__remove {
    color: #ef4444;
    cursor: pointer;
    font-size: 1.25rem;
    transition: .3s;
}

.cart-item__remove:hover {
    transform: scale(1.1);
}

@media screen and (max-width: 767px) {
    .cart-float {
        width: 50px;
        height: 50px;
        font-size: 20px;
        right: 1.5rem;
        bottom: 5.5rem;
    }
    
    .cart-sidebar {
        max-width: 85%;
    }
}