/* Marques Mineiro — Design System */
:root {
    --brand-dark: #2C1810;
    --brand-primary: #A0522D;
    --brand-accent: #E67E22;
    --brand-light: #FDFBF7;

    --text-primary: #1A1A1A;
    --text-secondary: #595959;
    --text-light: #8C8C8C;

    --success: #27AE60;
    --error: #C0392B;

    --surface-white: #FFFFFF;
    --surface-hover: #FFF8F0;
    --stroke: #E5E5E5;

    --shadow-sm: 0 2px 10px rgba(44, 24, 16, 0.06);
    --shadow-md: 0 10px 28px rgba(44, 24, 16, 0.1);
    --shadow-lg: 0 18px 50px rgba(44, 24, 16, 0.14);

    --font-title: "Fraunces", Georgia, serif;
    --font-body: "Outfit", system-ui, sans-serif;

    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 28px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background: var(--brand-light);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

.bg-overlay {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--stroke);
    padding: 1.5rem 1rem;
    padding-right: 9.5rem;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
    text-align: center;
    color: var(--text-primary);
    animation: headerIn 0.6s ease-out;
}

header h1 {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: clamp(2rem, 5vw, 2.75rem);
    color: var(--brand-dark);
    letter-spacing: -0.02em;
    margin-bottom: 0.25rem;
    text-shadow: none;
}

header p {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 400;
    max-width: 520px;
    margin: 0 auto 0.35rem;
}

header .btn-instagram {
    position: static;
    top: auto;
    right: auto;
    transform: none;
    z-index: 101;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    background: linear-gradient(135deg, #DD2A7B, #8134AF);
    border: none;
    backdrop-filter: none;
    color: #fff;
    font-weight: 500;
    border-radius: 999px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 12px rgba(221, 42, 123, 0.2);
}

header .btn-instagram:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #DD2A7B, #8134AF);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 6px 16px rgba(221, 42, 123, 0.3);
}

.header-actions {
    position: absolute;
    top: 50%;
    right: 1.5rem;
    transform: translateY(-50%);
    z-index: 101;
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.btn-cart {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 999px;
    background: var(--brand-dark);
    color: #fff;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(44, 24, 16, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-cart:hover {
    transform: translateY(-2px);
    background: #5a3424;
    box-shadow: 0 6px 18px rgba(44, 24, 16, 0.3);
}

.btn-cart.highlight {
    animation: cartPulse 0.35s ease;
}

.btn-cart__badge {
    position: absolute;
    top: -0.2rem;
    right: -0.2rem;
    min-width: 1.25rem;
    height: 1.25rem;
    padding: 0 0.3rem;
    border-radius: 999px;
    background: var(--brand-accent);
    color: var(--brand-dark);
    font-size: 0.7rem;
    font-weight: 700;
    font-family: var(--font-body);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    border: 2px solid #fff;
}

.btn-cart__badge[hidden] {
    display: none !important;
}

@keyframes cartPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.12); }
}

.catalogo {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 2rem 1.5rem 3rem;
}

.secao {
    margin-bottom: 3rem;
    animation: fadeIn 0.55s ease-out both;
}

.secao-titulo {
    font-family: var(--font-title);
    font-size: 1.7rem;
    color: var(--brand-dark);
    margin-bottom: 1.35rem;
    position: relative;
    display: inline-block;
}

.secao-titulo::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 52px;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-accent), transparent);
    border-radius: 2px;
}

.secao-divisor {
    border: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--stroke), transparent);
    margin: 2.5rem auto;
    width: 85%;
    opacity: 0.9;
}

.itens-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.35rem;
}

.item {
    background: var(--surface-white);
    border: 1px solid rgba(213, 224, 216, 0.8);
    border-radius: var(--radius-md);
    padding: 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s ease, border-color 0.3s ease;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.item::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-primary), var(--brand-accent));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(160, 82, 45, 0.28);
}

.item:hover::before {
    opacity: 1;
}

.item img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: transform 0.35s ease;
    border-radius: var(--radius-sm);
    background: linear-gradient(160deg, #fff8f0, #f5ebe0);
}

.item:hover img {
    transform: scale(1.04);
}

.item h2 {
    font-family: var(--font-title);
    font-size: 1.12rem;
    color: var(--brand-dark);
    font-weight: 600;
    min-height: 2.6em;
    line-height: 1.3;
    margin-top: 0.15rem;
}

.item .details {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.4;
    flex-grow: 1;
}

.item .price {
    font-family: var(--font-title);
    font-size: 1.35rem;
    color: var(--brand-primary);
    font-weight: 700;
    margin-top: 0.15rem;
}

.btn-primary {
    background: linear-gradient(135deg, #E67E22, #A0522D);
    color: #fff;
    padding: 0.75rem 1.4rem;
    border-radius: 999px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(160, 82, 45, 0.28);
    transition: transform 0.2s ease, filter 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
}

.btn-primary:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
}

.btn-primary:disabled {
    background: #c4b5a8;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
    opacity: 0.7;
    filter: none;
}

.btn-secondary {
    background: transparent;
    color: var(--brand-dark);
    border: 1.5px solid var(--stroke);
    padding: 0.65rem 1.15rem;
    border-radius: 999px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
}

.btn-secondary:hover {
    background: var(--surface-hover);
    border-color: var(--brand-primary);
    transform: translateY(-1px);
}

.btn-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--surface-hover);
    padding: 0.3rem;
    border-radius: var(--radius-sm);
    margin-top: 0.35rem;
}

.btn-add,
.btn-remove {
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 50%;
    background: #fff;
    color: var(--brand-dark);
    font-weight: 700;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(44, 24, 16, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-add {
    background: var(--brand-primary);
    color: #fff;
}

.btn-add:hover {
    background: #7a3d1f;
}

.btn-remove:hover {
    background: #f0e6dc;
}

.quantity {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--brand-dark);
    min-width: 32px;
    text-align: center;
}

.cart-bar {
    display: none !important;
}

.cart-info {
    display: flex;
    gap: 1.35rem;
    align-items: center;
    justify-content: flex-end;
}

.info-group {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    line-height: 1.2;
}

.info-group strong {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.info-group span {
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    margin-bottom: 1.5rem;
    border: none;
}

.cart-item {
    display: grid;
    grid-template-columns: 88px 1fr auto;
    grid-template-areas:
        "img info remove"
        "img qty total";
    gap: 0.65rem 0.9rem;
    align-items: center;
    padding: 1rem;
    background: var(--surface-white);
    border: 1px solid var(--stroke);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.cart-item:last-child {
    border-bottom: 1px solid var(--stroke);
    padding-bottom: 1rem;
}

.cart-item img {
    grid-area: img;
    width: 88px;
    height: 88px;
    object-fit: contain;
    border-radius: var(--radius-sm);
    background: var(--surface-hover);
    padding: 0.35rem;
}

.cart-item-info {
    grid-area: info;
    min-width: 0;
}

.cart-item .item-name {
    font-weight: 700;
    color: var(--brand-dark);
    font-size: 1.02rem;
    line-height: 1.3;
}

.cart-item .item-price {
    color: var(--text-secondary);
    font-size: 0.88rem;
    margin-top: 0.2rem;
}

.cart-item .item-total-mobile {
    display: none;
    margin-top: 0.35rem;
    font-weight: 700;
    color: var(--brand-primary);
    font-size: 1.05rem;
}

.cart-qty {
    grid-area: qty;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    background: var(--surface-hover);
    border-radius: 999px;
    padding: 0.3rem;
    width: fit-content;
}

.cart-qty button {
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 50%;
    background: var(--brand-dark);
    color: #fff;
    font-size: 1.15rem;
    font-weight: 700;
    cursor: pointer;
    line-height: 1;
}

.cart-qty span {
    min-width: 28px;
    text-align: center;
    font-weight: 700;
    color: var(--brand-dark);
}

.cart-item .item-total {
    grid-area: total;
    font-weight: 700;
    color: var(--brand-primary);
    font-size: 1.1rem;
    text-align: right;
}

.cart-remove {
    grid-area: remove;
    justify-self: end;
    background: transparent;
    color: var(--error);
    border: 1px solid #f0c9c4;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 1;
    transition: all 0.2s;
    margin-left: 0;
    padding: 0;
}

.cart-remove:hover {
    background: var(--error);
    color: #fff;
    transform: none;
}

.cart-footer {
    position: sticky;
    bottom: 0.75rem;
    z-index: 20;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0.75rem;
    align-items: center;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--stroke);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    padding: 0.9rem 1rem;
    backdrop-filter: blur(10px);
}

.cart-info-total {
    text-align: center;
    font-size: 1.05rem;
}

.cart-info-total strong {
    color: var(--text-secondary);
    font-weight: 600;
    margin-right: 0.35rem;
}

.cart-info-total span {
    color: var(--brand-primary);
    font-weight: 800;
    font-size: 1.25rem;
}

#cartEmpty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-family: var(--font-body);
    padding: 3rem 1.5rem;
    background: var(--surface-white);
    border: 1px dashed var(--stroke);
    border-radius: var(--radius-md);
}

#cartEmpty svg {
    opacity: 0.45;
}

#cartEmpty p {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--brand-dark);
}

#cartEmpty span {
    font-size: 0.95rem;
}

.cart-footer .btn-primary {
    min-height: 48px;
    padding: 0.75rem 1.25rem;
}

.cart-footer .btn-secondary {
    min-height: 48px;
}

.cart-qty button {
    width: 30px;
    height: 30px;
    border: none;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
    font-weight: 700;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.cart-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--surface-white);
    padding: 1.25rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--stroke);
    gap: 1rem;
    flex-wrap: wrap;
}

#toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: var(--brand-dark);
    color: #fff;
    padding: 1rem 1.25rem;
    border-radius: 14px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideLeft 0.35s ease-out forwards;
    min-width: 280px;
    border-left: 4px solid var(--brand-accent);
}

.toast.success {
    border-left-color: var(--success);
}

.toast svg {
    width: 20px;
    height: 20px;
    fill: var(--success);
}

@keyframes slideLeft {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeOut {
    to { opacity: 0; transform: translateY(-10px); }
}

@keyframes slideUp {
    from { opacity: 0; transform: translate(-50%, 100%); }
    to { opacity: 1; transform: translate(-50%, 0); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes headerIn {
    from { opacity: 0; transform: translateY(-12px); }
    to { opacity: 1; transform: translateY(0); }
}

footer {
    background: linear-gradient(180deg, #3d2218, var(--brand-dark));
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
    padding: 2rem 1rem;
    margin-top: auto;
    border-top: 2px solid rgba(230, 126, 34, 0.35);
}

.admin-link {
    display: inline-block;
    margin-left: 0.75rem;
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    font-size: 0.85em;
}

.admin-link:hover {
    color: var(--brand-accent);
}

.hidden,
#cartEmpty.hidden {
    display: none !important;
    visibility: hidden !important;
}

@media (max-width: 768px) {
    header {
        padding: 1.15rem 0.85rem 1.25rem;
        padding-right: 5.5rem;
    }

    header h1 {
        font-size: 1.55rem;
        margin-bottom: 0.2rem;
    }

    header p {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
    }

    header .btn-instagram {
        position: static;
        transform: none;
        margin: 0;
        padding: 0.55rem;
        width: 2.5rem;
        height: 2.5rem;
        justify-content: center;
        font-size: 0;
        gap: 0;
    }

    header .btn-instagram span {
        display: none;
    }

    header .btn-instagram:hover {
        transform: translateY(-1px);
    }

    .header-actions {
        right: 0.75rem;
        gap: 0.4rem;
    }

    .btn-cart {
        width: 2.5rem;
        height: 2.5rem;
    }

    .catalogo {
        padding: 1.25rem 1rem 3rem;
    }

    .secao-titulo {
        font-size: 1.35rem;
        margin-bottom: 1rem;
    }

    .itens-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    .item {
        padding: 0.75rem;
    }

    .item img {
        height: 120px;
        margin-bottom: 0.2rem;
    }

    .item h2 {
        font-size: 0.95rem;
        min-height: auto;
        line-height: 1.3;
    }

    .item .price {
        font-size: 1.1rem;
    }

    .btn-add,
    .btn-remove {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        font-size: 1.15rem;
        box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    }

    .cart-qty .quantity {
        font-size: 1.05rem;
    }

    .cart-item {
        grid-template-columns: 72px 1fr auto;
        grid-template-areas:
            "img info remove"
            "img qty qty";
        gap: 0.55rem 0.75rem;
    }

    .cart-item img {
        width: 72px;
        height: 72px;
    }

    .cart-item .item-total {
        display: none;
    }

    .cart-item .item-total-mobile {
        display: block;
    }

    .cart-footer {
        grid-template-columns: 1fr;
        bottom: 0;
        border-radius: 18px 18px 0 0;
        margin: 0 -1rem;
        width: calc(100% + 2rem);
    }

    .cart-footer .btn-secondary,
    .cart-footer .btn-primary {
        width: 100%;
    }
}

/* ——— Sacola estilo Aurora (adaptado Marques) ——— */
.cart-page {
    min-height: 100vh;
    background: var(--brand-light);
}

.cart-topbar {
    position: sticky;
    top: 0;
    z-index: 40;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1.1rem;
    background: rgba(253, 251, 247, 0.96);
    border-bottom: 1px solid var(--stroke);
    backdrop-filter: blur(10px);
}

.cart-page__back {
    justify-self: start;
    color: var(--brand-dark);
    font-weight: 600;
    font-size: 0.92rem;
    text-decoration: none;
}

.cart-topbar__brand {
    font-family: var(--font-title);
    color: var(--brand-dark);
    font-size: 1.15rem;
}

.cart-topbar__spacer {
    justify-self: end;
}

.cart-page__main {
    width: min(980px, 100%);
    margin: 0 auto;
    padding: 1.5rem 1.1rem 3rem;
}

.cart-page__eyebrow {
    display: none;
}

.cart-page__title {
    margin: 0;
    font-family: var(--font-title);
    font-size: clamp(1.85rem, 4vw, 2.35rem);
    color: var(--brand-dark);
}

.cart-page__subtitle {
    margin: 0.25rem 0 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.cart-page__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
    gap: 1.5rem;
    margin-top: 1.25rem;
    align-items: start;
}

.cart-page__empty {
    text-align: center;
    padding: 3rem 1.25rem;
    background: transparent;
    border: 0;
    border-radius: 0;
}

.cart-page__empty h2 {
    margin: 0 0 0.35rem;
    color: var(--brand-dark);
}

.cart-page__empty p {
    margin: 0 0 1.15rem;
    color: var(--text-secondary);
}

.cart-line {
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr);
    gap: 0.85rem;
    padding: 0.85rem 0;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--stroke);
    border-radius: 0;
    margin-bottom: 0;
    box-shadow: none;
    align-items: center;
}

.cart-line:last-child {
    border-bottom: 0;
}

.cart-line__media {
    width: 80px;
    aspect-ratio: 1;
    border-radius: 0.75rem;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--stroke);
}

.cart-line__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: #fff;
}

.cart-line__top {
    display: flex;
    justify-content: space-between;
    gap: 0.65rem;
    align-items: flex-start;
}

.cart-line__name {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.3;
    color: var(--brand-dark);
    font-weight: 600;
    font-family: var(--font-body);
}

.cart-line__remove {
    border: 0;
    background: transparent;
    color: var(--text-secondary);
    width: 28px;
    height: 28px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.2rem;
    line-height: 1;
    flex-shrink: 0;
}

.cart-line__remove:hover {
    color: var(--error);
    background: rgba(192, 57, 43, 0.08);
}

.cart-line__meta {
    margin: 0.15rem 0 0;
    color: var(--text-secondary);
    font-size: 0.82rem;
}

.cart-line__foot {
    margin-top: 0.55rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.cart-line__price {
    color: var(--brand-dark);
    font-size: 1rem;
}

.qty-stepper {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--stroke);
    border-radius: 0.65rem;
    overflow: hidden;
    background: #fff;
}

.qty-stepper__btn {
    width: 2.1rem;
    height: 2.1rem;
    border: 0;
    background: transparent;
    color: var(--brand-dark);
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
}

.qty-stepper__btn--plus {
    background: rgba(160, 82, 45, 0.12);
}

.qty-stepper__value {
    min-width: 1.75rem;
    text-align: center;
    font-weight: 700;
    font-size: 0.92rem;
}

.cart-summary {
    background: #fff;
    border: 1px solid var(--stroke);
    border-radius: 1rem;
    padding: 1.25rem;
    box-shadow: none;
    position: sticky;
    top: 4.5rem;
}

.cart-summary__title {
    display: none;
}

.cart-summary__total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.75rem;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--stroke);
    color: var(--brand-dark);
    font-size: 1rem;
    font-weight: 600;
}

.cart-summary__total strong {
    color: var(--brand-primary);
    font-size: 1.45rem;
    font-family: var(--font-title);
}

.cart-summary__row {
    display: none;
}

.cart-checkout {
    margin-top: 0;
}

.cart-checkout__label {
    display: none;
}

.fulfillment,
.payment {
    display: none;
}

.order-field {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

.order-field input,
.order-field textarea {
    font: inherit;
    font-weight: 500;
    color: var(--ink, var(--text-primary));
    border: 1px solid var(--stroke);
    border-radius: 0.7rem;
    padding: 0.75rem 0.85rem;
    background: #fff;
    width: 100%;
}

.order-field input:focus {
    outline: 2px solid rgba(160, 82, 45, 0.25);
    border-color: var(--brand-primary);
}

.cart-address {
    display: none;
}

.cart-error {
    color: var(--error);
    font-size: 0.88rem;
    margin: 0 0 0.75rem;
}

.cart-summary__cta {
    width: 100%;
    margin-top: 0.15rem;
    min-height: 48px;
    border-radius: 999px;
}

.cart-summary__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-top: 0.65rem;
}

.cart-summary .btn-ghost {
    display: flex;
    width: 100%;
    margin-top: 0;
    justify-content: center;
    text-decoration: none;
    padding: 0.65rem 0.75rem;
    font-size: 0.88rem;
}

.btn-ghost {
    background: transparent;
    color: var(--brand-dark);
    border: 1px solid var(--stroke);
    border-radius: 999px;
    padding: 0.7rem 1.1rem;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.btn-ghost:hover {
    background: var(--surface-hover);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 860px) {
    .cart-page__layout {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .cart-summary {
        position: static;
    }

    .cart-line {
        grid-template-columns: 68px minmax(0, 1fr);
    }

    .cart-line__media {
        width: 68px;
    }
}

