@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600&family=Playfair+Display:wght@400;500;700&display=swap');

/* ================= ROOT ================= */
:root {
    --color-bg: #ffffff;
    --color-text: #000000;
    --color-gold: #d4af37;
    --color-gray-light: #f5f5f5;
    --color-gray-medium: #e5e5e5;

    --font-primary: 'Playfair Display', serif;
    --font-secondary: 'Montserrat', sans-serif;

    --transition: all 0.3s ease;
}

/* ================= RESET ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-secondary);
    overflow-x: hidden;
}

/* ================= RESET GLOBAL DE LINKS ================= */
a {
    color: inherit;
    text-decoration: none;
}

/* ================= RESET ESPECÍFICO DE PRODUTOS ================= */
.product-card a,
.product-grid a {
    color: inherit !important;
    text-decoration: none !important;
}

/* =====================================================
   CARRINHO — LAYOUT LUXO (LV / PRADA STYLE)
===================================================== */

.cart-page {
    padding: 80px 0;
}

/* GRID PRINCIPAL */
.cart-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 900px) {
    .cart-layout {
        grid-template-columns: 2fr 1fr;
        align-items: flex-start;
    }
}

/* ================= ITENS DO CARRINHO ================= */

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.cart-item {
    display: flex;
    gap: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--color-gray-medium);
}

.cart-item-image {
    width: 120px;
    flex-shrink: 0;
    background: var(--color-gray-light);
}

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

/* CONTEÚDO */
.cart-item-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cart-item-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.cart-item-top h3 {
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 500;
}

.cart-remove {
    font-size: 1.1rem;
    opacity: 0.5;
    transition: var(--transition);
}

.cart-remove:hover {
    opacity: 1;
}

/* META */
.cart-meta {
    font-size: 0.75rem;
    color: #666;
}

.cart-price {
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}

/* QUANTIDADE */
.cart-qty input {
    width: 60px;
    padding: 6px;
    border: 1px solid var(--color-gray-medium);
    text-align: center;
    font-size: 0.8rem;
}

/* ================= RESUMO ================= */

.cart-summary {
    border: 1px solid var(--color-gray-medium);
    padding: 32px;
}

.cart-summary h3 {
    font-size: 0.9rem;
    margin-bottom: 24px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    margin-bottom: 14px;
}

.summary-total {
    margin-top: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

/* ================= BOTÕES ================= */

.btn-luxury {
    display: inline-block;
    padding: 14px 20px;
    border: 1px solid #000;
    background: #000;
    color: #fff;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-align: center;
    transition: var(--transition);
}

.btn-luxury:hover {
    background: transparent;
    color: #000;
}

.btn-gold {
    background: var(--color-gold);
    border-color: var(--color-gold);
    color: #000;
}

.btn-gold:hover {
    background: transparent;
    color: var(--color-gold);
}

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

@media (max-width: 768px) {
    .cart-item {
        flex-direction: column;
    }

    .cart-item-image {
        width: 100%;
    }
}
