/* =============================================
   UNIVERSO CAFETERO - Estilos principales
   Fiel al layout TSX: negro + café dorado #5a3c08
   ============================================= */

/* === Google Fonts === */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* === Variables CSS === */
:root {
    --primary: #5a3c08;
    --primary-hover: #4a3410;
    --primary-light: #7a5a20;
    --primary-glow: rgba(90, 60, 8, 0.3);
    --dark: #000000;
    --dark-lighter: #111111;
    --dark-border: #222222;
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --success: rgba(34, 197, 94, 0.85);
    --error: rgba(239, 68, 68, 0.85);
    --warning: rgba(245, 158, 11, 0.85);
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --container-max: 1200px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-xl: 0 16px 48px rgba(0,0,0,0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === Reset & Base === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--white);
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

input, button, textarea, select {
    font-family: inherit;
    font-size: inherit;
    border: none;
    outline: none;
}

button {
    cursor: pointer;
    background: none;
}

/* === Container === */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1rem;
}

/* === NAVBAR === */
.navbar {
    background: var(--dark);
    color: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.navbar__logo {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar__logo img {
    height: 58px;
    width: auto;
    transition: height 0.3s ease;
}

.navbar.scrolled .navbar__logo img {
    height: 45px;
}

.navbar__nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.navbar__link {
    color: var(--white);
    font-weight: 500;
    font-size: 0.9rem;
    position: relative;
    padding: 0.25rem 0;
}

.navbar__link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.navbar__link:hover::after,
.navbar__link.active::after {
    width: 100%;
}

.navbar__link:hover {
    color: var(--primary-light);
}

.navbar__actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.navbar__btn {
    position: relative;
    padding: 0.5rem;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.navbar__btn:hover {
    color: var(--primary-light);
    background: rgba(255,255,255,0.08);
}

.navbar__btn svg {
    width: 22px;
    height: 22px;
}

.navbar__badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--primary);
    color: var(--white);
    font-size: 0.65rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transform: translate(4px, -4px);
}

.navbar__mobile-toggle {
    display: none;
    padding: 0.5rem;
    color: var(--white);
}

.navbar__mobile-toggle svg {
    width: 24px;
    height: 24px;
}

.navbar__mobile-menu {
    display: none;
    background: var(--dark-lighter);
    border-top: 1px solid var(--dark-border);
    padding: 1rem;
}

.navbar__mobile-menu.active {
    display: block;
}

.navbar__mobile-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--white);
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.navbar__mobile-menu a:hover {
    background: rgba(255,255,255,0.08);
    color: var(--primary-light);
}

/* === HERO === */
.hero {
    position: relative;
    height: 500px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.35) 100%);
}

.hero__content {
    position: relative;
    z-index: 1;
    max-width: 640px;
    color: var(--white);
}

.hero__title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero__subtitle {
    font-size: 1.15rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.5;
}

/* === BOTONES === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn svg {
    width: 18px;
    height: 18px;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-dark {
    background: var(--dark);
    color: var(--white);
}

.btn-dark:hover {
    background: var(--dark-lighter);
    transform: translateY(-1px);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--primary);
}

.btn-whatsapp {
    background: #25D366;
    color: var(--white);
}

.btn-whatsapp:hover {
    background: #1fb855;
}

.btn-sm {
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
}

.btn-icon {
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-icon:hover {
    background: var(--gray-100);
}

/* === SECCIONES === */
.section {
    padding: 4rem 0;
}

.section--gray {
    background: var(--gray-50);
}

.section--primary {
    background: var(--primary);
    color: var(--white);
}

.section--dark {
    background: var(--dark);
    color: var(--white);
}

.section__title {
    font-size: 2rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section__title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary);
    margin: 0.75rem auto 0;
    border-radius: 2px;
}

.section--primary .section__title::after,
.section--dark .section__title::after {
    background: var(--white);
}

/* === GRID === */
.grid {
    display: grid;
    gap: 2rem;
}

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

/* === CARDS === */
.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.card__image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

.card:hover .card__image {
    transform: scale(1.05);
}

.card__image-wrapper {
    overflow: hidden;
    position: relative;
}

.card__image-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.card__image-wrapper:hover .card__image-overlay {
    opacity: 1;
}

.card__image-overlay-text {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 0.6rem 1.6rem;
    border: 2px solid #fff;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    pointer-events: none;
}

.card__body {
    padding: 1.25rem;
}

.card__title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--gray-800);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card__text {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin-bottom: 0.75rem;
}

.card__price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 1rem;
}

.card__price small {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--gray-400);
    text-decoration: line-through;
    margin-left: 0.5rem;
}

.card__actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.card__actions .btn {
    flex: 1;
    min-width: 0;
    font-size: 0.75rem;
    padding: 0.5rem 0.6rem;
}

.card__actions-row {
    display: flex;
    gap: 0.4rem;
    margin-top: 0.5rem;
}

.card__actions-row .btn-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--gray-200);
    color: var(--gray-500);
    flex-shrink: 0;
}

.card__actions-row .btn-icon:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(90,60,8,0.05);
}

.card__actions-row .btn-icon svg {
    width: 16px;
    height: 16px;
}

/* Category card */
.category-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    height: 280px;
}

.category-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.category-card:hover .category-card__image {
    transform: scale(1.08);
}

.category-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.1) 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    transition: var(--transition);
}

.category-card:hover .category-card__overlay {
    background: linear-gradient(to top, rgba(90,60,8,0.8) 0%, rgba(0,0,0,0.2) 60%);
}

.category-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.25rem;
}

.category-card__text {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.8);
}

/* === BANNER PROMOCIONAL === */
.promo-banner {
    border-radius: var(--radius-xl);
    overflow: hidden;
    height: 280px;
    background-size: cover;
    background-position: center;
    margin-bottom: 2rem;
    position: relative;
}

.promo-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(90,60,8,0.4), rgba(0,0,0,0.2));
}

/* === FOOTER === */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 3.5rem 0 0;
}

.footer__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer__title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.footer__text {
    color: var(--gray-400);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer__links a {
    display: block;
    padding: 0.3rem 0;
    color: var(--gray-400);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer__links a:hover {
    color: var(--white);
    padding-left: 4px;
}

.footer__contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-400);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer__contact-item svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.footer__social {
    display: flex;
    gap: 0.75rem;
}

.footer__social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: var(--gray-400);
    transition: var(--transition);
}

.footer__social a:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.footer__social a svg {
    width: 18px;
    height: 18px;
}

.footer__bottom {
    border-top: 1px solid var(--dark-border);
    padding: 1.5rem 0;
    text-align: center;
    color: var(--gray-400);
    font-size: 0.85rem;
}

/* === TOAST === */
.toast-container {
    position: fixed;
    top: 1.25rem;
    right: 1.25rem;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.toast {
    padding: 1rem 1.5rem;
    border-radius: var(--radius-sm);
    color: var(--white);
    font-weight: 500;
    font-size: 0.9rem;
    min-width: 280px;
    max-width: 400px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: toastIn 0.4s ease forwards;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-lg);
}

.toast--success {
    background: var(--success);
}

.toast--error {
    background: var(--error);
}

.toast--warning {
    background: var(--warning);
}

.toast--out {
    animation: toastOut 0.3s ease forwards;
}

.toast svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.toast__close {
    margin-left: auto;
    cursor: pointer;
    opacity: 0.7;
    transition: var(--transition);
    background: none;
    border: none;
    color: var(--white);
    padding: 0.25rem;
}

.toast__close:hover {
    opacity: 1;
}

@keyframes toastIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes toastOut {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(100%); opacity: 0; }
}

/* === DRAWERS === */
.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

.drawer {
    position: fixed;
    top: 0;
    height: 100vh;
    width: 400px;
    max-width: 90vw;
    background: var(--white);
    z-index: 9001;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-xl);
}

.drawer--left {
    left: 0;
    transform: translateX(-100%);
}

.drawer--right {
    right: 0;
    transform: translateX(100%);
}

.drawer--left.active,
.drawer--right.active {
    transform: translateX(0);
}

.drawer__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem;
    border-bottom: 1px solid var(--gray-200);
}

.drawer__title {
    font-size: 1.1rem;
    font-weight: 700;
}

.drawer__close {
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    color: var(--gray-500);
    transition: var(--transition);
}

.drawer__close:hover {
    background: var(--gray-100);
    color: var(--gray-800);
}

.drawer__close svg {
    width: 20px;
    height: 20px;
}

.drawer__body {
    flex: 1;
    overflow-y: auto;
    padding: 1.25rem;
}

.drawer__footer {
    padding: 1.25rem;
    border-top: 1px solid var(--gray-200);
    background: var(--gray-50);
}

/* Drawer items (carrito/cotización) */
.drawer-item {
    display: flex;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-100);
}

.drawer-item__image {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    flex-shrink: 0;
}

.drawer-item__info {
    flex: 1;
    min-width: 0;
}

.drawer-item__name {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.drawer-item__price {
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 700;
}

.drawer-item__qty {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.4rem;
}

.drawer-item__qty button {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1px solid var(--gray-300);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: var(--gray-600);
    transition: var(--transition);
}

.drawer-item__qty button:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.drawer-item__qty span {
    font-size: 0.85rem;
    font-weight: 600;
    min-width: 20px;
    text-align: center;
}

.drawer-item__remove {
    color: var(--gray-400);
    padding: 0.25rem;
    transition: var(--transition);
    align-self: flex-start;
}

.drawer-item__remove:hover {
    color: var(--error);
}

.drawer-item__remove svg {
    width: 16px;
    height: 16px;
}

/* Totales en drawer */
.drawer-totals {
    margin-bottom: 1rem;
}

.drawer-totals__row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.drawer-totals__row--total {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary);
    border-top: 1px solid var(--gray-300);
    padding-top: 0.75rem;
    margin-top: 0.5rem;
}

/* === FORMULARIOS === */
.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: var(--gray-700);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    transition: var(--transition);
    background: var(--white);
    color: var(--gray-800);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.form-control::placeholder {
    color: var(--gray-400);
}

textarea.form-control {
    resize: vertical;
    min-height: 80px;
}

/* === GALERÍA DE PRODUCTO === */
.product-gallery {
    display: flex;
    gap: 1rem;
}

.product-gallery__main {
    flex: 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    max-height: 480px;
}

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

.product-gallery__thumbs {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 80px;
}

.product-gallery__thumb {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.product-gallery__thumb.active,
.product-gallery__thumb:hover {
    border-color: var(--primary);
}

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

/* === TABLA DE SPECS === */
.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table tr:nth-child(even) {
    background: var(--gray-50);
}

.specs-table td {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--gray-200);
}

.specs-table td:first-child {
    font-weight: 600;
    color: var(--gray-700);
    width: 40%;
}

/* === QR MODAL === */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 9500;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    max-width: 380px;
    width: 90%;
    text-align: center;
    transform: scale(0.9);
    transition: var(--transition);
    box-shadow: var(--shadow-xl);
}

.modal-overlay.active .modal {
    transform: scale(1);
}

.modal__title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.modal__qr img {
    width: 200px;
    height: 200px;
    margin: 0 auto 1rem;
}

/* === PAGINACIÓN === */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid var(--gray-300);
    color: var(--gray-600);
    transition: var(--transition);
}

.pagination a:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.pagination .active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* === EMPTY STATE === */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--gray-400);
}

.empty-state svg {
    width: 64px;
    height: 64px;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-state p {
    font-size: 1rem;
    margin-bottom: 1rem;
}

/* === CHECKOUT === */
.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 2rem;
    align-items: start;
}

.checkout-summary {
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    position: sticky;
    top: 80px;
}

/* === AUTH PAGES === */
.auth-container {
    max-width: 440px;
    margin: 3rem auto;
    padding: 2rem;
}

.auth-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
}

.auth-card__title {
    font-size: 1.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 0.5rem;
}

.auth-card__subtitle {
    text-align: center;
    color: var(--gray-500);
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.auth-card__footer {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--gray-500);
}

.auth-card__footer a {
    color: var(--primary);
    font-weight: 600;
}

.auth-card__footer a:hover {
    text-decoration: underline;
}

/* === BREADCRUMB === */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 0;
    font-size: 0.85rem;
    color: var(--gray-500);
}

.breadcrumb a {
    color: var(--gray-500);
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb__separator {
    color: var(--gray-300);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .grid--4 { grid-template-columns: repeat(3, 1fr); }
    .checkout-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .navbar__nav {
        display: none;
    }

    .navbar__mobile-toggle {
        display: flex;
    }

    .hero {
        height: 350px;
    }

    .hero__title {
        font-size: 2rem;
    }

    .hero__subtitle {
        font-size: 0.95rem;
    }

    .section {
        padding: 2.5rem 0;
    }

    .section__title {
        font-size: 1.5rem;
    }

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

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

    .container {
        padding: 0 0.75rem;
    }

    .product-gallery {
        flex-direction: column-reverse;
    }

    .product-gallery__thumbs {
        flex-direction: row;
        width: 100%;
    }

    .product-gallery__thumb {
        width: 60px;
        height: 60px;
    }

    .drawer {
        width: 100%;
        max-width: 100vw;
    }
}

@media (max-width: 480px) {
    .grid--2,
    .grid--3,
    .grid--4 {
        grid-template-columns: 1fr;
    }

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

    .hero__title {
        font-size: 1.75rem;
    }

    body {
        font-size: 15px;
    }

    .card__actions .btn {
        font-size: 0.7rem;
        padding: 0.4rem;
    }
}

/* === UTILIDADES === */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.d-flex { display: flex; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.w-full { width: 100%; }
.hidden { display: none !important; }
.visible { display: block !important; }
