/* =========================================================
   MEelo — Professional Cart Page
   Step 8B — Complete Cart Design
========================================================= */


/* =========================================================
   ROOT
========================================================= */

:root {
    --cart-bg: #f6f7fb;
    --cart-card: #ffffff;
    --cart-text: #111827;
    --cart-muted: #6b7280;
    --cart-border: #e8eaf0;
    --cart-soft: #f3f4f7;
    --cart-dark: #111827;
    --cart-danger: #dc2626;
    --cart-success: #059669;
    --cart-radius: 18px;
}


/* =========================================================
   PAGE
========================================================= */

.cart-page {
    min-height: calc(100vh - 140px);
    padding: 42px 20px 80px;
    background: var(--cart-bg);
}

.cart-container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
}


/* =========================================================
   HEADER / TITLE
========================================================= */

.cart-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 32px;
}

.cart-eyebrow {
    margin: 0 0 7px;
    color: #6b7280;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.cart-heading h1 {
    margin: 0;
    color: var(--cart-text);
    font-size: clamp(28px, 4vw, 38px);
    line-height: 1.15;
    font-weight: 850;
    letter-spacing: -0.7px;
}

.cart-subtitle {
    margin: 9px 0 0;
    color: var(--cart-muted);
    font-size: 14px;
    line-height: 1.5;
}


/* =========================================================
   CONTINUE SHOPPING
========================================================= */

.continue-shopping {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    min-height: 44px;
    padding: 0 17px;

    border: 1px solid var(--cart-border);
    border-radius: 11px;

    background: #fff;
    color: var(--cart-text);

    text-decoration: none;
    font-size: 13px;
    font-weight: 750;

    box-shadow: 0 3px 12px rgba(17, 24, 39, 0.035);

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        border-color .2s ease;
}

.continue-shopping:hover {
    border-color: #cfd3dc;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(17, 24, 39, 0.07);
}


/* =========================================================
   MAIN CART LAYOUT
========================================================= */

.cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 370px;
    gap: 28px;
    align-items: start;
}


/* =========================================================
   CART ITEMS CARD
========================================================= */

.cart-items-section {
    min-width: 0;

    background: var(--cart-card);

    border: 1px solid var(--cart-border);
    border-radius: var(--cart-radius);

    overflow: hidden;

    box-shadow:
        0 8px 30px rgba(17, 24, 39, 0.045);
}


/* =========================================================
   ITEMS HEADER
========================================================= */

.cart-items-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;

    padding: 22px 24px;

    border-bottom: 1px solid var(--cart-border);

    background: #fff;
}

.cart-items-header h2 {
    margin: 0;

    color: var(--cart-text);

    font-size: 19px;
    line-height: 1.3;
    font-weight: 800;
}

.cart-items-header p {
    margin: 5px 0 0;

    color: var(--cart-muted);

    font-size: 12px;
    font-weight: 500;
}


/* =========================================================
   CLEAR CART
========================================================= */

.clear-cart-btn {
    min-height: 36px;

    padding: 0 11px;

    border: 0;
    border-radius: 8px;

    background: transparent;
    color: var(--cart-danger);

    font-size: 12px;
    font-weight: 750;

    cursor: pointer;

    transition:
        background .2s ease,
        color .2s ease;
}

.clear-cart-btn:hover {
    background: #fef2f2;
}


/* =========================================================
   CART ITEMS
========================================================= */

.cart-items {
    width: 100%;
}

.cart-item {
    display: grid;

    grid-template-columns: 112px minmax(0, 1fr) auto;

    gap: 20px;

    align-items: center;

    padding: 24px;

    border-bottom: 1px solid #eef0f4;

    transition: background .2s ease;
}

.cart-item:last-child {
    border-bottom: 0;
}

.cart-item:hover {
    background: #fcfcfd;
}


/* =========================================================
   PRODUCT IMAGE
========================================================= */

.cart-item-image-wrap {
    position: relative;

    width: 112px;
    height: 112px;

    overflow: hidden;

    border: 1px solid #edf0f4;
    border-radius: 15px;

    background: #f5f6f8;
}

.cart-item-image {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .3s ease;
}

.cart-item:hover .cart-item-image {
    transform: scale(1.035);
}


/* =========================================================
   PRODUCT INFO
========================================================= */

.cart-item-info {
    min-width: 0;
}

.cart-item-category {
    margin-bottom: 7px;

    color: #9ca3af;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1px;
    text-transform: uppercase;
}

.cart-item-title {
    margin: 0;

    color: var(--cart-text);

    font-size: 17px;
    line-height: 1.35;
    font-weight: 780;

    overflow-wrap: anywhere;
}

.cart-item-price {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;

    margin-top: 10px;
}

.cart-item-current-price {
    color: var(--cart-text);

    font-size: 16px;
    font-weight: 850;
}

.cart-item-mrp {
    color: #9ca3af;

    font-size: 13px;
    font-weight: 500;

    text-decoration: line-through;
}

.cart-item-discount {
    display: inline-flex;
    align-items: center;

    min-height: 21px;

    padding: 0 7px;

    border-radius: 5px;

    background: #ecfdf5;
    color: var(--cart-success);

    font-size: 10px;
    font-weight: 800;
}


/* =========================================================
   ITEM ACTIONS
========================================================= */

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 22px;
}


/* =========================================================
   QUANTITY
========================================================= */

.quantity-control {
    display: flex;
    align-items: center;

    height: 42px;

    border: 1px solid #dfe2e8;
    border-radius: 10px;

    overflow: hidden;

    background: #fff;

    box-shadow: 0 2px 5px rgba(17, 24, 39, 0.025);
}

.quantity-btn {
    width: 40px;
    height: 100%;

    padding: 0;

    border: 0;

    background: #f9fafb;
    color: var(--cart-text);

    font-size: 20px;
    font-weight: 500;

    line-height: 1;

    cursor: pointer;

    transition:
        background .15s ease,
        color .15s ease;
}

.quantity-btn:hover {
    background: #eef0f4;
}

.quantity-btn:active {
    background: #e5e7eb;
}

.quantity-value {
    display: flex;
    align-items: center;
    justify-content: center;

    min-width: 42px;
    height: 100%;

    color: var(--cart-text);

    font-size: 13px;
    font-weight: 800;

    border-left: 1px solid #eef0f3;
    border-right: 1px solid #eef0f3;
}


/* =========================================================
   ITEM TOTAL
========================================================= */

.cart-item-total {
    min-width: 105px;

    text-align: right;
}

.cart-item-total-price {
    color: var(--cart-text);

    font-size: 16px;
    font-weight: 850;
}

.remove-cart-item {
    display: inline-flex;

    margin-top: 7px;
    padding: 0;

    border: 0;

    background: transparent;
    color: #9ca3af;

    font-size: 11px;
    font-weight: 700;

    cursor: pointer;

    transition: color .15s ease;
}

.remove-cart-item:hover {
    color: var(--cart-danger);
}


/* =========================================================
   SUMMARY WRAPPER
========================================================= */

.cart-summary {
    position: sticky;
    top: 20px;
}


/* =========================================================
   SUMMARY CARD
========================================================= */

.summary-card {
    padding: 25px;

    border: 1px solid var(--cart-border);
    border-radius: var(--cart-radius);

    background: #fff;

    box-shadow:
        0 10px 35px rgba(17, 24, 39, 0.055);
}

.summary-card h2 {
    margin: 0 0 23px;

    color: var(--cart-text);

    font-size: 19px;
    font-weight: 800;
}


/* =========================================================
   SUMMARY ROWS
========================================================= */

.summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;

    margin-bottom: 16px;

    color: var(--cart-muted);

    font-size: 13px;
}

.summary-row strong {
    color: var(--cart-text);

    font-size: 13px;
    font-weight: 750;
}


/* =========================================================
   DIVIDER
========================================================= */

.summary-divider {
    height: 1px;

    margin: 21px 0;

    background: #e9ebef;
}


/* =========================================================
   TOTAL
========================================================= */

.total-row {
    margin-bottom: 22px;
}

.total-row span {
    color: var(--cart-text);

    font-size: 16px;
    font-weight: 800;
}

.total-row strong {
    color: var(--cart-text);

    font-size: 23px;
    font-weight: 900;
}


/* =========================================================
   CHECKOUT
========================================================= */

.checkout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    width: 100%;
    min-height: 52px;

    padding: 0 18px;

    border: 0;
    border-radius: 11px;

    background: var(--cart-dark);
    color: #fff;

    font-size: 14px;
    font-weight: 800;

    cursor: pointer;

    box-shadow:
        0 8px 18px rgba(17, 24, 39, 0.16);

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}

.checkout-btn span {
    font-size: 18px;

    transition: transform .2s ease;
}

.checkout-btn:hover {
    background: #000;

    transform: translateY(-2px);

    box-shadow:
        0 12px 25px rgba(17, 24, 39, 0.20);
}

.checkout-btn:hover span {
    transform: translateX(3px);
}

.checkout-btn:active {
    transform: translateY(0);
}


/* =========================================================
   SECURE CHECKOUT
========================================================= */

.secure-checkout {
    display: flex;
    align-items: flex-start;
    gap: 10px;

    margin-top: 19px;
    padding-top: 17px;

    border-top: 1px solid #eef0f3;

    color: #6b7280;
}

.secure-checkout > span {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 28px;
    height: 28px;

    flex-shrink: 0;

    border-radius: 8px;

    background: #f3f4f6;

    font-size: 14px;
}

.secure-checkout strong {
    display: block;

    margin-bottom: 3px;

    color: #374151;

    font-size: 11px;
    font-weight: 800;
}

.secure-checkout small {
    display: block;

    color: #9ca3af;

    font-size: 10px;
    line-height: 1.5;
}


/* =========================================================
   STATE / LOADING / EMPTY
========================================================= */

.cart-state {
    min-height: 390px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 50px 25px;

    text-align: center;

    border: 1px solid var(--cart-border);
    border-radius: var(--cart-radius);

    background: #fff;

    box-shadow:
        0 8px 30px rgba(17, 24, 39, 0.04);
}

.cart-state[hidden] {
    display: none !important;
}

.cart-state h2 {
    margin: 18px 0 8px;

    color: var(--cart-text);

    font-size: 21px;
    font-weight: 800;
}

.cart-state p {
    max-width: 420px;

    margin: 0 0 22px;

    color: var(--cart-muted);

    font-size: 13px;
    line-height: 1.6;
}


/* =========================================================
   EMPTY CART ICON
========================================================= */

.empty-cart-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 88px;
    height: 88px;

    border-radius: 50%;

    background: #f1f3f6;

    font-size: 40px;

    box-shadow:
        inset 0 0 0 8px #fafafa;
}

.state-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 76px;
    height: 76px;

    border-radius: 50%;

    background: #fef2f2;

    font-size: 32px;
}


/* =========================================================
   LOADER
========================================================= */

.cart-loader {
    width: 43px;
    height: 43px;

    border: 4px solid #e5e7eb;
    border-top-color: #111827;

    border-radius: 50%;

    animation: meeloCartSpin .75s linear infinite;
}

@keyframes meeloCartSpin {
    to {
        transform: rotate(360deg);
    }
}


/* =========================================================
   ERROR
========================================================= */

.cart-error-state {
    border-color: #fecaca;
    background: #fffafa;
}


/* =========================================================
   GENERAL CART BUTTON
========================================================= */

.cart-page .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 46px;

    padding: 0 20px;

    border: 0;
    border-radius: 10px;

    text-decoration: none;

    font-size: 13px;
    font-weight: 800;

    cursor: pointer;

    transition:
        transform .2s ease,
        background .2s ease;
}

.cart-page .btn-primary {
    background: #111827;
    color: #fff;
}

.cart-page .btn-primary:hover {
    background: #000;
    transform: translateY(-1px);
}


/* =========================================================
   FOCUS
========================================================= */

.cart-page button:focus-visible,
.cart-page a:focus-visible {
    outline: 3px solid rgba(17, 24, 39, .18);
    outline-offset: 3px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1050px) {

    .cart-layout {
        grid-template-columns: minmax(0, 1fr) 330px;
        gap: 20px;
    }

    .cart-item {
        grid-template-columns: 95px minmax(0, 1fr);
    }

    .cart-item-image-wrap {
        width: 95px;
        height: 95px;
    }

    .cart-item-actions {
        grid-column: 1 / -1;

        justify-content: space-between;

        padding-top: 2px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 760px) {

    .cart-page {
        padding: 27px 12px 55px;
    }

    .cart-heading {
        align-items: stretch;

        flex-direction: column;

        margin-bottom: 22px;
    }

    .cart-heading h1 {
        font-size: 29px;
    }

    .continue-shopping {
        width: 100%;
    }

    .cart-layout {
        grid-template-columns: 1fr;

        gap: 18px;
    }

    .cart-summary {
        position: static;
    }

    .summary-card {
        padding: 21px;
    }

    .cart-items-header {
        padding: 18px 16px;
    }

    .cart-item {
        grid-template-columns: 78px minmax(0, 1fr);

        gap: 13px;

        padding: 18px 16px;
    }

    .cart-item-image-wrap {
        width: 78px;
        height: 78px;

        border-radius: 12px;
    }

    .cart-item-title {
        font-size: 15px;
    }

    .cart-item-category {
        font-size: 9px;
    }

    .cart-item-current-price {
        font-size: 15px;
    }

    .cart-item-actions {
        grid-column: 1 / -1;

        width: 100%;

        justify-content: space-between;

        gap: 10px;
    }

    .cart-item-total {
        min-width: auto;
    }

    .cart-item-total-price {
        font-size: 15px;
    }

    .quantity-control {
        height: 39px;
    }

    .quantity-btn {
        width: 37px;
    }

    .quantity-value {
        min-width: 38px;
    }
}


/* =========================================================
   SMALL PHONE
========================================================= */

@media (max-width: 430px) {

    .cart-page {
        padding: 22px 10px 45px;
    }

    .cart-heading h1 {
        font-size: 26px;
    }

    .cart-subtitle {
        font-size: 13px;
    }

    .cart-items-header {
        padding: 16px 14px;
    }

    .cart-items-header h2 {
        font-size: 17px;
    }

    .clear-cart-btn {
        font-size: 11px;
    }

    .cart-item {
        grid-template-columns: 64px minmax(0, 1fr);

        gap: 11px;

        padding: 16px 13px;
    }

    .cart-item-image-wrap {
        width: 64px;
        height: 64px;
    }

    .cart-item-title {
        font-size: 14px;
    }

    .cart-item-price {
        gap: 5px;
        margin-top: 7px;
    }

    .cart-item-current-price {
        font-size: 14px;
    }

    .cart-item-mrp {
        font-size: 11px;
    }

    .cart-item-discount {
        font-size: 9px;
    }

    .cart-item-actions {
        align-items: center;
    }

    .quantity-control {
        height: 37px;
    }

    .quantity-btn {
        width: 34px;
        font-size: 18px;
    }

    .quantity-value {
        min-width: 35px;
        font-size: 12px;
    }

    .cart-item-total-price {
        font-size: 14px;
    }

    .remove-cart-item {
        font-size: 10px;
    }

    .summary-card {
        padding: 18px;
    }

    .summary-card h2 {
        font-size: 18px;
    }

    .total-row strong {
        font-size: 21px;
    }

    .checkout-btn {
        min-height: 50px;
    }

    .cart-state {
        min-height: 340px;
        padding: 35px 18px;
    }

    .empty-cart-icon {
        width: 78px;
        height: 78px;
        font-size: 35px;
    }
}


/* =========================================================
   EXTRA SMALL
========================================================= */

@media (max-width: 340px) {

    .cart-item-actions {
        flex-wrap: wrap;
    }

    .cart-item-total {
        margin-left: auto;
    }

    .summary-row {
        font-size: 12px;
    }

    .total-row span {
        font-size: 15px;
    }

    .total-row strong {
        font-size: 19px;
    }
}


/* =========================================================
   MEelo PROFESSIONAL HEADER
   Cart Page Header Upgrade
========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    width: 100%;

    background: rgba(255, 255, 255, 0.97);

    border-bottom: 1px solid #e8eaf0;

    box-shadow: 0 4px 18px rgba(17, 24, 39, 0.05);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}


/* =========================================================
   HEADER CONTAINER
========================================================= */

.header-container {
    width: 100%;
    max-width: 1240px;

    min-height: 72px;

    margin: 0 auto;
    padding: 0 20px;

    display: flex;
    align-items: center;

    gap: 28px;
}


/* =========================================================
   MEelo LOGO
========================================================= */

.site-header .logo {
    display: inline-flex;
    align-items: center;

    flex-shrink: 0;

    color: #111827;

    text-decoration: none;

    font-size: 28px;
    line-height: 1;

    font-weight: 900;

    letter-spacing: -1.3px;

    white-space: nowrap;
}

.site-header .logo span {
    color: #e11d48;
}


/* =========================================================
   SEARCH AREA
========================================================= */

.header-search {
    position: relative;

    flex: 1;

    max-width: 520px;

    height: 44px;

    display: flex;
    align-items: center;

    margin-left: 5px;
}


/* Search Input */

.header-search input {
    width: 100%;
    height: 44px;

    padding: 0 52px 0 17px;

    border: 1px solid #dfe3ea;

    border-radius: 12px;

    outline: none;

    background: #f8f9fb;

    color: #111827;

    font-family: inherit;

    font-size: 13px;

    transition:
        border-color .2s ease,
        background .2s ease,
        box-shadow .2s ease;
}

.header-search input::placeholder {
    color: #9ca3af;
}

.header-search input:hover {
    background: #ffffff;
}

.header-search input:focus {
    background: #ffffff;

    border-color: #111827;

    box-shadow:
        0 0 0 3px rgba(17, 24, 39, 0.07);
}


/* Search Button */

.header-search button {
    position: absolute;

    top: 4px;
    right: 4px;

    width: 36px;
    height: 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border: 0;

    border-radius: 9px;

    background: #111827;

    color: #ffffff;

    font-size: 16px;

    cursor: pointer;

    transition:
        background .2s ease,
        transform .2s ease;
}

.header-search button:hover {
    background: #000000;

    transform: scale(1.04);
}

.header-search button:active {
    transform: scale(.97);
}


/* =========================================================
   NAVIGATION
========================================================= */

.header-nav {
    display: flex;
    align-items: center;

    gap: 5px;

    margin-left: auto;

    white-space: nowrap;
}

.header-nav a {
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 40px;

    padding: 0 11px;

    border-radius: 9px;

    color: #4b5563;

    text-decoration: none;

    font-size: 13px;

    font-weight: 700;

    transition:
        color .2s ease,
        background .2s ease,
        transform .2s ease;
}

.header-nav a:hover {
    color: #111827;

    background: #f3f4f6;
}


/* =========================================================
   ACTIVE CART
========================================================= */

.header-nav .cart-link {
    gap: 7px;

    color: #111827;

    background: #f3f4f6;
}

.header-nav .cart-link:hover {
    background: #e9ebef;
}


/* =========================================================
   CART COUNT
========================================================= */

.header-nav #cartCount {
    min-width: 20px;
    height: 20px;

    padding: 0 5px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 50px;

    background: #111827;

    color: #ffffff;

    font-size: 10px;

    line-height: 1;

    font-weight: 800;
}


/* =========================================================
   HEADER RESPONSIVE — TABLET
========================================================= */

@media (max-width: 1000px) {

    .header-container {
        gap: 18px;
    }

    .site-header .logo {
        font-size: 25px;
    }

    .header-search {
        max-width: 380px;
    }

    .header-nav {
        gap: 2px;
    }

    .header-nav a {
        padding: 0 8px;

        font-size: 12px;
    }
}


/* =========================================================
   HEADER RESPONSIVE — MOBILE
========================================================= */

@media (max-width: 760px) {

    .site-header {
        position: relative;
    }

    .header-container {
        min-height: auto;

        padding: 14px 14px;

        display: grid;

        grid-template-columns: auto 1fr;

        gap: 13px 15px;
    }


    /* Logo */

    .site-header .logo {
        font-size: 25px;

        align-self: center;
    }


    /* Search */

    .header-search {
        width: 100%;
        max-width: none;

        height: 42px;

        margin: 0;
    }

    .header-search input {
        height: 42px;

        font-size: 12px;
    }

    .header-search button {
        width: 34px;
        height: 34px;

        top: 4px;
        right: 4px;
    }


    /* Navigation */

    .header-nav {
        grid-column: 1 / -1;

        width: 100%;

        margin: 0;

        display: grid;

        grid-template-columns:
            repeat(4, 1fr);

        gap: 6px;

        padding-top: 2px;
    }

    .header-nav a {
        min-height: 38px;

        padding: 0 5px;

        border: 1px solid #edf0f4;

        background: #fafafa;

        border-radius: 9px;

        font-size: 11px;

        font-weight: 750;
    }

    .header-nav a:hover {
        background: #f3f4f6;
    }

    .header-nav .cart-link {
        background: #111827;

        color: #ffffff;

        border-color: #111827;
    }

    .header-nav .cart-link:hover {
        background: #000000;

        color: #ffffff;
    }

    .header-nav #cartCount {
        min-width: 18px;
        height: 18px;

        font-size: 9px;

        background: #ffffff;

        color: #111827;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

    .header-container {
        padding: 12px 10px;

        gap: 10px 11px;
    }

    .site-header .logo {
        font-size: 22px;
    }

    .header-search input {
        padding-left: 13px;

        font-size: 11px;
    }

    .header-nav {
        gap: 4px;
    }

    .header-nav a {
        min-height: 36px;

        padding: 0 3px;

        font-size: 10px;
    }

    .header-nav #cartCount {
        min-width: 17px;
        height: 17px;
    }
}



/* =========================================================
   MEelo — PROFESSIONAL FOOTER
========================================================= */

.site-footer {
    width: 100%;
    margin-top: 0;

    background: #111827;
    color: #ffffff;

    border-top: 1px solid #1f2937;
}


/* =========================================================
   FOOTER CONTAINER
========================================================= */

.footer-container {
    width: 100%;
    max-width: 1240px;

    margin: 0 auto;
    padding: 48px 20px 40px;

    display: grid;
    grid-template-columns: 1.5fr 1fr;

    gap: 50px;

    align-items: start;
}


/* =========================================================
   FOOTER BRAND
========================================================= */

.footer-brand {
    max-width: 480px;
}

.footer-brand .logo {
    display: inline-flex;
    align-items: center;

    color: #ffffff;

    text-decoration: none;

    font-size: 29px;
    font-weight: 900;

    letter-spacing: -1.3px;
}

.footer-brand .logo span {
    color: #fb7185;
}

.footer-brand p {
    max-width: 410px;

    margin: 14px 0 0;

    color: #9ca3af;

    font-size: 13px;
    line-height: 1.7;
}


/* =========================================================
   FOOTER LINKS
========================================================= */

.footer-links {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;

    gap: 8px;
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 38px;

    padding: 0 13px;

    border-radius: 8px;

    color: #d1d5db;

    text-decoration: none;

    font-size: 12px;
    font-weight: 700;

    transition:
        color .2s ease,
        background .2s ease,
        transform .2s ease;
}

.footer-links a:hover {
    color: #ffffff;

    background: #1f2937;

    transform: translateY(-1px);
}


/* =========================================================
   FOOTER BOTTOM
========================================================= */

.footer-bottom {
    width: 100%;

    border-top: 1px solid #1f2937;
}

.footer-bottom p {
    width: 100%;
    max-width: 1240px;

    margin: 0 auto;

    padding: 18px 20px;

    color: #6b7280;

    text-align: center;

    font-size: 11px;
    line-height: 1.5;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 800px) {

    .footer-container {
        grid-template-columns: 1fr;

        gap: 25px;

        padding: 40px 20px 30px;
    }

    .footer-links {
        justify-content: flex-start;

        flex-wrap: wrap;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 500px) {

    .footer-container {
        padding: 35px 15px 25px;

        gap: 22px;
    }

    .footer-brand .logo {
        font-size: 25px;
    }

    .footer-brand p {
        margin-top: 11px;

        font-size: 12px;
    }

    .footer-links {
        display: grid;

        grid-template-columns: repeat(2, 1fr);

        gap: 7px;
    }

    .footer-links a {
        min-height: 40px;

        padding: 0 8px;

        background: #181f2d;

        font-size: 11px;
    }

    .footer-bottom p {
        padding: 16px 12px;

        font-size: 10px;
    }
}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 340px) {

    .footer-container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .footer-links {
        grid-template-columns: 1fr 1fr;
    }

    .footer-links a {
        font-size: 10px;
    }
}