/* ============================
   BOUTIQUE MAFECITA - Styles
   Mobile-first, Responsive, Animated
   ============================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Lato:wght@300;400;700&family=Great+Vibes&family=Allura&family=Cormorant+Garamond:ital,wght@0,300;0,400;1,300;1,400&display=swap');

/* ---- CSS Variables ---- */
:root {
    /* Colores Principales del Logo */
    --primary: #B4914C;
    /* Rosa Viejo (Elegante para subtítulos/detalles) */
    --secondary: #B4914C;
    /* Lila Suave (Para acentos delicados) */
    --accent: #EED9E4;
    /* Rosa Acuarela (Para fondos de tarjetas o secciones) */
    --gold: #B4914C;
    /* Dorado Metálico (Para botones y títulos principales) */

    /* Tipografía y Superficies (Actualizado a Textos Dorados y Fondos Blanco/Gris) */
    --text: #B4914C;
    /* Texto principal en dorado */
    --text-light: #9D7C3E;
    /* Texto secundario en un tono dorado más oscuro para contraste */
    --bg: #F5F5F5;
    /* Fondo base en gris muy claro */
    --card-bg: #FFFFFF;
    /* Fondo de tarjetas blanco por contraste */

    /* Bordes y Sombras coherentes con la paleta */
    --border: rgba(180, 145, 76, 0.2);
    /* Borde dorado muy sutil */
    --shadow: 0 8px 32px rgba(180, 145, 76, 0.1);
    /* Sombra con tinte dorado */
    --shadow-hover: 0 12px 40px rgba(180, 145, 76, 0.25);
    /* Sombra dorada al pasar el mouse */

    /* Estructura (Manteniendo tus valores originales) */
    --heading: 'Orbitron', sans-serif;
    --body: 'Jura', sans-serif;
    --radius: 12px;
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ---- Reset ---- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body);
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
    padding: 0;
}

img {
    max-width: 100%;
    display: block;
}

/* ---- Animations ---- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% center;
    }

    100% {
        background-position: 200% center;
    }
}

/* Scroll-reveal classes */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left.active,
.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

.fade-in {
    animation: fadeInUp 0.8s ease-out both;
}

/* ---- Top Bar ---- */
.top-bar {
    background: #F5F5F5;
    color: var(--gold);
    padding: 8px 20px;
    text-align: center;
    font-size: 13px;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--border);
}

.top-bar a {
    color: #fce4ec;
}

.top-bar a:hover {
    color: white;
}

/* ---- Header & Nav ---- */
header {
    background-color: #fdf5f8;
    background-image:
        /* mancha lavanda superior derecha */
        radial-gradient(ellipse 38% 55% at 92% 10%, rgba(196, 168, 210, 0.45) 0%, transparent 70%),
        /* mancha rosa izquierda */
        radial-gradient(ellipse 42% 60% at 4% 80%, rgba(238, 180, 195, 0.4) 0%, transparent 65%),
        /* mancha rosa central suave */
        radial-gradient(ellipse 55% 70% at 35% 50%, rgba(247, 210, 220, 0.3) 0%, transparent 70%),
        /* mancha lavanda inferior derecha */
        radial-gradient(ellipse 35% 50% at 85% 90%, rgba(210, 180, 225, 0.35) 0%, transparent 65%),
        /* base cálida blanco-rosado */
        linear-gradient(135deg, #fef9fb 0%, #fdf0f5 50%, #faf5fe 100%);
    border-bottom: none;
    padding: 0;
    height: 70px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 16px rgba(180, 145, 76, 0.12);
    overflow: visible;
}

/* Destellos dorados tipo salpicadura del logo */
header::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle 1.5px at 8% 30%, rgba(180, 145, 76, 0.55) 100%, transparent 100%),
        radial-gradient(circle 1px at 12% 70%, rgba(180, 145, 76, 0.4) 100%, transparent 100%),
        radial-gradient(circle 1.5px at 18% 20%, rgba(180, 145, 76, 0.5) 100%, transparent 100%),
        radial-gradient(circle 1px at 22% 80%, rgba(180, 145, 76, 0.35) 100%, transparent 100%),
        radial-gradient(circle 2px at 6% 55%, rgba(180, 145, 76, 0.4) 100%, transparent 100%),
        radial-gradient(circle 1px at 78% 15%, rgba(180, 145, 76, 0.5) 100%, transparent 100%),
        radial-gradient(circle 1.5px at 84% 65%, rgba(180, 145, 76, 0.45) 100%, transparent 100%),
        radial-gradient(circle 1px at 91% 40%, rgba(180, 145, 76, 0.4) 100%, transparent 100%),
        radial-gradient(circle 2px at 95% 75%, rgba(180, 145, 76, 0.35) 100%, transparent 100%),
        radial-gradient(circle 1px at 70% 85%, rgba(180, 145, 76, 0.4) 100%, transparent 100%),
        radial-gradient(circle 1.5px at 50% 10%, rgba(180, 145, 76, 0.3) 100%, transparent 100%),
        radial-gradient(circle 1px at 43% 90%, rgba(180, 145, 76, 0.35) 100%, transparent 100%);
    pointer-events: none;
    z-index: 0;
}

header>* {
    position: relative;
    z-index: 1;
}

.navbar {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
    height: 100%;
}

.logo {
    font-family: var(--heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 1px;
    position: relative;
    z-index: 1010;
}

.nav-logo-link {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--gold);
    font-family: var(--heading);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 1px;
    text-decoration: none;
    position: relative;
}

.nav-logo-img {
    height: 166px !important;
    width: auto !important;
    max-width: none !important;
    object-fit: contain;
    display: block !important;
    border-radius: 8px;
    position: relative;
    top: 8px;
    filter:
        drop-shadow(0 0 6px rgba(255, 255, 255, 0.95)) drop-shadow(0 0 14px rgba(255, 255, 255, 0.75)) drop-shadow(0 0 28px rgba(255, 255, 255, 0.5));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.nav-logo-img:hover {
    transform: scale(1.05);
    filter:
        drop-shadow(0 0 8px rgba(255, 255, 255, 1)) drop-shadow(0 0 20px rgba(255, 255, 255, 0.85)) drop-shadow(0 0 40px rgba(255, 255, 255, 0.6));
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text);
    position: relative;
    padding-bottom: 4px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--gold);
}

.nav-links a:hover::after {
    width: 100%;
}

.cart-icon {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--accent);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
}

/* ---- Hero ---- */
.hero {
    background: linear-gradient(135deg, #FFFFFF 0%, #F5F5F5 100%);
    text-align: center;
    padding: 100px 24px 80px;
    position: relative;
    overflow: visible;
    border-bottom: 1px solid var(--border);
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.3) 0%, transparent 60%);
    pointer-events: none;
}

/* Flores dispersas en el hero vía ::after */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../assets/hero_flowers.png');
    background-size: 600px 600px;
    background-repeat: repeat;
    mix-blend-mode: multiply;
    opacity: 0.65;
    pointer-events: none;
    z-index: 0;
    animation: floatFlowers 30s linear infinite;
}

@keyframes floatFlowers {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 600px 600px;
    }
}

/* Mantener clases por compatibilidad pero ocultar imágenes individuales */
.hero-flowers {
    display: none;
}

.hero h1 {
    position: relative;
    z-index: 2;
}

.hero p,
.hero .btn-shop {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(48px, 8vw, 96px);
    color: var(--gold);
    margin-bottom: 16px;
    animation: fadeInUp 0.9s ease both;
    font-weight: 400;
    letter-spacing: 2px;
}

.hero p {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(17px, 2.5vw, 24px);
    font-weight: 700;
    font-style: italic;
    color: #C4849A;
    margin-bottom: 36px;
    animation: fadeInUp 0.9s 0.2s ease both;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.btn-shop {
    display: inline-block;
    padding: 16px 48px;
    background: var(--gold);
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 50px;
    border: none;
    transition: var(--transition);
    animation: fadeInUp 0.9s 0.4s ease both;
    box-shadow: 0 8px 24px rgba(180, 145, 76, 0.3);
}

.btn-shop:hover {
    background: #fff;
    color: #C4849A;
    box-shadow: 0 12px 30px rgba(180, 145, 76, 0.4);
    transform: translateY(-2px);
}

/* ---- Container ---- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 24px;
}

/* Sección shop: fondo rosa malva del logo */
#shop {
    background: #C4849A;
    max-width: 100%;
    padding: 64px 40px;
}

#shop .section-title {
    color: #fff;
}

#shop .section-title::after {
    background: rgba(255, 255, 255, 0.6);
}

.section-title {
    text-align: center;
    font-family: var(--heading);
    font-size: clamp(24px, 4vw, 38px);
    color: var(--gold);
    margin-bottom: 48px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent);
    margin: 12px auto 0;
    border-radius: 2px;
}

/* ---- Product Grid ---- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 28px;
}

.product-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid #f0e0e8;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.product-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-6px);
}

.product-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    background: #f9f0f5;
    transition: transform 0.5s ease;
}

.product-card:hover .product-img {
    transform: scale(1.04);
}

.product-info {
    padding: 20px;
    text-align: center;
}

.product-title {
    font-family: var(--heading);
    font-size: 17px;
    color: var(--text);
    margin-bottom: 8px;
}

.product-price {
    font-weight: 700;
    color: var(--gold);
    font-size: 18px;
    margin-bottom: 14px;
}

.btn-add-cart {
    display: inline-block;
    padding: 10px 24px;
    background: transparent;
    border: 2px solid var(--gold);
    color: var(--gold);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 50px;
    transition: var(--transition);
}

.btn-add-cart:hover {
    background: var(--gold);
    color: #fff;
    border-color: transparent;
    transform: scale(1.03);
}

/* ---- Product Detail ---- */
.product-detail {
    display: flex;
    gap: 48px;
    margin-top: 40px;
    align-items: flex-start;
}

.detail-img {
    flex: 1;
}

.detail-img img {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.detail-info {
    flex: 1;
}

.detail-title {
    font-family: var(--heading);
    font-size: 36px;
    color: var(--gold);
    margin-bottom: 16px;
}

.detail-price {
    font-size: 26px;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 20px;
}

.detail-desc {
    color: var(--text-light);
    margin-bottom: 28px;
    line-height: 1.8;
}

.hanger-icon {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    margin: 0 4px;
    display: inline-block;
}

.cart-update-form {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-qty-input {
    width: 70px;
    padding: 8px;
    border: 1px solid var(--border);
    border-radius: 8px;
    text-align: center;
    font-family: var(--body);
    font-size: 15px;
    background: #fff;
    cursor: pointer;
}

.qty-input {
    padding: 10px 14px;
    width: 70px;
    border: 2px solid var(--primary);
    border-radius: 8px;
    margin-right: 12px;
    font-size: 16px;
}

.btn-add-large {
    padding: 14px 36px;
    background: var(--gold);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 6px 20px rgba(180, 145, 76, 0.3);
}

.btn-add-large:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

/* ---- Cart ---- */
.cart-table {
    width: 100%;
    border-collapse: collapse;
}

.cart-table th,
.cart-table td {
    padding: 16px;
    border-bottom: 1px solid #f0e0e8;
    text-align: left;
}

.cart-table th {
    background: var(--gold);
    color: #fff;
    font-weight: 700;
}

.cart-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.btn-remove {
    color: var(--gold);
    font-size: 13px;
}

.btn-remove:hover {
    color: #c62828;
}

.cart-total {
    display: none;
}

/* ---- Coupon Section ---- */
.cart-summary-box {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin: 40px 0;
    padding: 30px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

@media(max-width: 768px) {
    .cart-summary-box { flex-direction: column; gap: 20px; }
}

.coupon-section { flex: 1; }
.coupon-form { display: flex; gap: 10px; }
.coupon-form input {
    padding: 12px 20px;
    border: 1px solid var(--border);
    border-radius: 50px;
    flex: 1;
    font-family: inherit;
}
.coupon-form button {
    padding: 12px 30px;
    background: var(--gold);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}
.coupon-form button:hover { background: var(--primary); }

.applied-coupon {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #e8f5e9;
    padding: 12px 20px;
    border-radius: 50px;
    color: #2e7d32;
    font-size: 14px;
}
.btn-remove-coupon {
    color: #c62828;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    text-decoration: none;
}

.cart-totals { flex: 0.6; min-width: 250px; }
.total-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 16px;
}
.grand-total {
    border-top: 2px solid var(--gold);
    margin-top: 15px;
    padding-top: 15px;
    font-size: 22px;
    font-weight: 700;
    color: var(--gold);
}

.btn-checkout {
    float: right;
    padding: 14px 40px;
    background: var(--gold);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: var(--transition);
    box-shadow: 0 6px 20px rgba(180, 145, 76, 0.3);
}

.btn-checkout:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

.empty-cart {
    text-align: center;
    padding: 80px 20px;
}

/* ---- Checkout ---- */
.checkout-container {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.checkout-form {
    flex: 2;
}

.order-summary {
    flex: 1;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    position: sticky;
    top: 90px;
}

.order-summary h3 {
    font-family: var(--heading);
    color: var(--gold);
    margin-bottom: 20px;
    font-size: 20px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f0e0e8;
    font-size: 15px;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    padding-top: 16px;
    font-weight: 700;
    font-size: 18px;
    color: var(--gold);
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 700;
    font-size: 14px;
    color: var(--text);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e8d5df;
    border-radius: 8px;
    font-family: var(--body);
    font-size: 15px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--gold);
}

.btn-place-order {
    width: 100%;
    padding: 16px;
    background: var(--gold);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 1px;
    transition: var(--transition);
    box-shadow: 0 6px 20px rgba(180, 145, 76, 0.3);
}

.btn-place-order:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

/* ---- Thank You ---- */
.thank-you-box {
    text-align: center;
    max-width: 540px;
    margin: 80px auto;
    padding: 60px 40px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    animation: scaleIn 0.6s ease both;
}

.thank-you-box h1 {
    font-family: var(--heading);
    color: var(--gold);
    font-size: 32px;
    margin-bottom: 16px;
}

.thank-you-box p {
    color: var(--text-light);
    margin-bottom: 12px;
}

.order-id {
    font-size: 20px;
    font-weight: 700;
    color: var(--gold);
    margin: 20px 0;
}

.btn-home {
    display: inline-block;
    margin-top: 20px;
    padding: 14px 36px;
    background: var(--gold);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    letter-spacing: 1px;
    transition: var(--transition);
    box-shadow: 0 6px 20px rgba(180, 145, 76, 0.3);
}

.btn-home:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

/* ============================
   CONTENT / LEGAL PAGES
   ============================ */
.content-hero {
    background: linear-gradient(135deg, var(--bg) 0%, var(--primary) 100%);
    padding: 64px 24px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.content-hero::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 40px;
    background: var(--bg);
    clip-path: ellipse(60% 100% at 50% 100%);
}

.content-hero h1 {
    font-family: var(--heading);
    font-size: clamp(28px, 5vw, 48px);
    color: var(--gold);
    margin-bottom: 12px;
    animation: fadeInUp 0.8s ease both;
}

.content-hero p {
    color: var(--text-light);
    font-size: 16px;
    max-width: 520px;
    margin: 0 auto;
    animation: fadeInUp 0.8s 0.2s ease both;
}

.content-breadcrumb {
    color: var(--text-light);
    font-size: 13px;
    margin-bottom: 12px;
    animation: fadeInUp 0.8s ease both;
}

.content-breadcrumb a {
    color: var(--gold);
}

.content-breadcrumb a:hover {
    text-decoration: underline;
}

.content-wrapper {
    max-width: 860px;
    margin: 0 auto;
    padding: 8px 24px 64px;
}

.content-toc {
    background: #fff8fb;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 28px;
    margin-bottom: 40px;
    box-shadow: 0 2px 12px rgba(136, 14, 79, 0.05);
}

.content-toc h4 {
    font-family: var(--heading);
    color: var(--gold);
    margin-bottom: 14px;
    font-size: 17px;
}

.content-toc ol {
    list-style: decimal;
    margin-left: 20px;
}

.content-toc li {
    margin-bottom: 6px;
}

.content-toc a {
    color: var(--gold);
    font-size: 14px;
}

.content-toc a:hover {
    text-decoration: underline;
}

.content-section {
    background: #fff;
    border-radius: var(--radius);
    padding: 36px 40px;
    margin-bottom: 24px;
    border: 1px solid #f0e0e8;
    box-shadow: var(--shadow);
    transition: box-shadow 0.3s ease;
}

.content-section:hover {
    box-shadow: var(--shadow-hover);
}

.section-icon {
    width: 48px;
    height: 48px;
    background: var(--gold);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    margin-bottom: 16px;
    flex-shrink: 0;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

.content-section h3 {
    font-family: var(--heading);
    color: var(--gold);
    font-size: 21px;
    margin: 0;
}

.content-section p {
    color: var(--text-light);
    line-height: 1.85;
    margin-bottom: 14px;
    font-size: 15.5px;
}

.content-section ul {
    margin-left: 20px;
    margin-bottom: 14px;
}

.content-section li {
    list-style: disc;
    color: var(--text-light);
    font-size: 15.5px;
    line-height: 1.75;
    margin-bottom: 8px;
}

.content-highlight {
    background: linear-gradient(135deg, #fce4ec, #fff8fb);
    border-left: 4px solid var(--accent);
    padding: 16px 20px;
    border-radius: 0 8px 8px 0;
    margin: 16px 0;
    font-size: 15px;
    color: var(--gold);
    font-weight: 600;
}

.content-contact-bar {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    border-radius: var(--radius);
    padding: 32px 40px;
    text-align: center;
    margin-top: 48px;
}

.content-contact-bar h3 {
    font-family: var(--heading);
    font-size: 22px;
    margin-bottom: 10px;
}

.content-contact-bar p {
    opacity: 0.85;
    margin-bottom: 20px;
}

.content-contact-bar a.btn-contact {
    display: inline-block;
    padding: 12px 32px;
    background: #fff;
    color: var(--gold);
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    transition: var(--transition);
}

.content-contact-bar a.btn-contact:hover {
    transform: scale(1.04);
}

/* ============================
   FOOTER
   ============================ */
footer {
    background: #FFFFFF;
    color: var(--text-light);
    padding: 64px 0 28px;
    margin-top: 80px;
    border-top: 2px solid var(--border);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    padding: 0 24px;
}

.footer-col h3 {
    font-family: var(--heading);
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 18px;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

.footer-col a {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: var(--text-light);
    font-size: 14px;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--primary);
    padding-left: 4px;
}

.footer-col p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 8px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    font-size: 16px;
    color: var(--text-light);
    transition: var(--transition);
    padding: 0;
    margin: 0;
}

.social-links a:hover {
    background: var(--accent);
    border-color: var(--gold);
    color: #fff;
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    color: var(--text-light);
    margin-top: 48px;
    padding: 20px 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 13px;
}

/* ============================
   RESPONSIVE BREAKPOINTS
   ============================ */
@media (max-width: 900px) {
    .product-detail {
        flex-direction: column;
    }

    .checkout-container {
        flex-direction: column;
    }

    .order-summary {
        position: static;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0 16px;
    }

    .logo {
        font-size: 22px;
    }

    .nav-links {
        gap: 16px;
    }

    .nav-links a {
        font-size: 12px;
        letter-spacing: 0.5px;
    }

    .hero {
        padding: 70px 16px 60px;
    }

    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 16px;
    }

    .product-img {
        height: 200px;
    }

    .content-section {
        padding: 24px 20px;
    }

    .content-toc {
        padding: 20px;
    }

    .content-contact-bar {
        padding: 28px 20px;
    }

    .content-hero {
        padding: 48px 16px 44px;
    }

    .content-wrapper {
        padding: 8px 16px 48px;
    }

    .cart-table th:nth-child(2),
    .cart-table td:nth-child(2) {
        display: none;
    }

    .checkout-container {
        flex-direction: column;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .nav-links .nav-text {
        display: none;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .product-img {
        height: 160px;
    }

    .btn-shop {
        padding: 13px 32px;
        font-size: 13px;
    }

    .section-title {
        font-size: 24px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .content-section {
        padding: 20px 16px;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* =============================================
   TOAST NOTIFICATIONS
   ============================================= */
.toast {
    position: fixed;
    bottom: 28px;
    right: 28px;
    padding: 14px 22px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    z-index: 9999;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    max-width: 340px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    pointer-events: none;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

.toast-success {
    background: linear-gradient(135deg, var(--primary), var(--text-light));
    color: #fff;
}

.toast-error {
    background: linear-gradient(135deg, #b71c1c, #e53935);
    color: #fff;
}

.toast-info {
    background: linear-gradient(135deg, var(--primary), var(--text-light));
    color: #fff;
}

/* =============================================
   MOBILE NAV
   ============================================= */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 22px;
    color: var(--gold);
    cursor: pointer;
    padding: 6px;
    margin-left: auto;
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
        align-items: center;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 16px;
        gap: 6px;
        box-shadow: 0 8px 24px rgba(136, 14, 79, .1);
        z-index: 100;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        padding: 10px 16px;
        border-radius: 8px;
    }

    .nav-links a:hover {
        background: var(--border);
    }

    header {
        position: relative;
    }

    .top-bar {
        display: none !important;
    }
}

/* =============================================
   COUPON AREA (Cart)
   ============================================= */
.coupon-area {
    display: flex;
    gap: 10px;
    margin: 16px 0;
    align-items: center;
}

.coupon-area input {
    flex: 1;
    padding: 10px 16px;
    border: 2px solid var(--border);
    border-radius: 50px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.coupon-area input:focus {
    outline: none;
    border-color: var(--gold);
}

.coupon-area button {
    padding: 10px 22px;
    background: var(--gold);
    color: #fff;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    transition: var(--transition);
}

.coupon-area button:hover {
    background: var(--primary);
}

.coupon-success {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.coupon-error {
    background: #ffebee;
    color: #c62828;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 14px;
}

/* =============================================
   STAR-RATING (Reviews / Product page)
   ============================================= */
.rating-stars {
    display: flex;
    gap: 4px;
}

.rating-stars input {
    display: none;
}

.rating-stars label {
    font-size: 28px;
    color: #ddd;
    cursor: pointer;
    transition: color 0.2s;
}

.rating-stars input:checked~label,
.rating-stars label:hover,
.rating-stars label:hover~label {
    color: #f5a623;
}

/* =============================================
   TOP-BAR (two-column layout)
   ============================================= */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 32px;
    background: #F5F5F5;
    font-size: 12px;
    color: var(--gold);
    flex-wrap: wrap;
    gap: 8px;
    border-bottom: 1px solid var(--border);
}

/* =============================================
   PRODUCT CARD — Wishlist button
   ============================================= */
.wish-btn {
    transition: all 0.3s;
}

.wish-btn.active i {
    color: var(--gold);
}

.wish-btn:hover {
    transform: scale(1.15);
}

/* =============================================
   MIGRATED INLINE STYLES (Cart, Checkout, Product, Wishlist)
   ============================================= */

/* Cart */
.btn-shop-margin {
    margin-top: 20px;
}

.cart-product-cell {
    display: flex;
    align-items: center;
    gap: 15px;
}

.checkout-wrapper {
    overflow: hidden;
}

/* Checkout */
.payment-box {
    padding: 15px;
    border: 1px solid var(--border);
    border-radius: 4px;
    background: var(--bg);
    margin-bottom: 20px;
}

.payment-desc {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 5px;
}

.btn-return-cart {
    display: block;
    text-align: center;
    margin-top: 15px;
    color: var(--gold);
    text-decoration: none;
    font-weight: 700;
}

.btn-return-cart:hover {
    color: var(--text);
}

/* Product */
.no-image-placeholder {
    padding: 100px;
    background: #eee;
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Wishlist */
.wishlist-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 32px 24px;
}

.wishlist-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
    flex-wrap: wrap;
    gap: 12px;
}

.wishlist-title {
    font-family: var(--heading);
    color: var(--gold);
    font-size: 28px;
}

.btn-continue {
    padding: 10px 22px;
    border: 2px solid var(--gold);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    color: var(--gold);
    transition: var(--transition);
}

.btn-continue:hover {
    background: var(--gold);
    color: #fff;
}

.wish-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
}

.wish-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.wish-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.wish-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    background: var(--bg);
}

.wish-card-info {
    padding: 16px;
}

.wish-remove {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    cursor: pointer;
    color: var(--primary);
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.wish-remove:hover {
    background: var(--primary);
    color: #fff;
}

.empty-wish {
    text-align: center;
    padding: 80px 20px;
}

.empty-wish i {
    font-size: 56px;
    color: var(--border);
    margin-bottom: 16px;
}

.empty-wish p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 12px;
}

.btn-explore {
    display: inline-block;
    padding: 12px 32px;
    background: var(--gold);
    color: #fff;
    border-radius: 50px;
    font-weight: 700;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-explore:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

.wish-product-title {
    font-family: var(--heading);
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--text);
}

.wish-price-wrapper {
    margin-bottom: 12px;
}

.wish-price-old {
    text-decoration: line-through;
    color: var(--text-light);
    font-size: 13px;
}

.wish-price-new {
    color: var(--primary);
    font-weight: 700;
    font-size: 17px;
    margin-left: 6px;
}

.wish-price-regular {
    color: var(--gold);
    font-weight: 700;
    font-size: 17px;
}

/* Index */
.values-container {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 60px;
}

.values-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(20px, 4vw, 26px);
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-light);
    font-style: italic;
    margin: 20px auto 0;
}

/* Header */
.top-bar-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 13px;
}

.top-link {
    color: inherit;
    opacity: .85;
}

.nav-logo-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 10px;
}


.hidden {
    display: none;
}

.btn-auth-link {
    background: var(--gold);
    color: #fff !important;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
}

.btn-auth-link:hover {
    background: var(--primary);
}


/* ==========================================================================
   MAGAZINE STYLE CATALOG
   ========================================================================== */
.magazine-viewport {
    padding: 30px 0; /* Reduced from 80px */
    background: #fdfbfb;
    min-height: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.magazine-viewport::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../assets/hero_flowers.png');
    background-size: 600px 600px;
    background-repeat: repeat;
    mix-blend-mode: multiply;
    opacity: 0.35; /* Softer for the catalog */
    pointer-events: none;
    z-index: 0;
    animation: floatFlowers 40s linear infinite;
}

.mag-flowers {
    position: absolute;
    width: 300px;
    opacity: 0.4;
    z-index: 1;
    pointer-events: none;
    display: block !important;
}

.mag-flowers--left {
    top: -50px;
    left: -50px;
    transform: rotate(-15deg);
}

.mag-flowers--right {
    bottom: -50px;
    right: -50px;
    transform: rotate(165deg);
}

.magazine-controls {
    margin-bottom: 20px; /* Reduced from 40px */
    text-align: center;
    position: relative;
    z-index: 5;
}

.magazine-hint {
    color: var(--text-light);
    font-style: italic;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
}

.magazine-container {
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 10;
    margin-top: 10px;
}

#magazine {
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
    background: #fff;
    touch-action: none; 
    cursor: pointer;
    position: relative;
    z-index: 11;
    pointer-events: auto !important;
}

#magazine img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    user-select: none;
}

#magazine .page {
    background: #fff;
    box-shadow: inset 0 0 30px rgba(0,0,0,0.02);
    border: 1px solid #f0f0f0;
}

/* Efecto de "pilas de hojas" en los bordes */
#magazine .page::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(to right, rgba(0,0,0,0.05), transparent);
    z-index: 2;
}

#magazine .page-wrapper:nth-child(even) .page::before {
    right: 0;
    left: auto;
    background: linear-gradient(to left, rgba(0,0,0,0.05), transparent);
}

/* Cover Styling */
.cover-page, .back-cover {
    background: linear-gradient(135deg, #fff 0%, #fefcf3 100%) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 1px solid #eee;
}

.cover-content {
    padding: 40px;
}

.cover-logo {
    max-width: 500px; /* Increased from 350px */
    width: 100%;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 12px rgba(180, 145, 76, 0.3));
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.cover-page h2 {
    font-family: 'Great Vibes', cursive;
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.cover-page p {
    font-family: 'Lato', sans-serif;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: 300;
    color: var(--gold);
}

.cover-footer {
    margin-top: 60px;
    font-size: 0.9rem;
    color: #ccc;
    text-transform: uppercase;
}

/* Internal Pages */
.magazine-page {
    padding: 40px;
    border-left: 1px solid #f0f0f0;
}

.page-layout-grid {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.mag-product {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f9f9f9;
}

.mag-product:last-child {
    border-bottom: none;
}

.mag-img-container {
    width: 180px;
    height: 220px;
    flex-shrink: 0;
}

.mag-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.mag-info h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    color: var(--text);
    margin-bottom: 10px;
}

.mag-price {
    color: var(--primary);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.mag-btn {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid var(--gold);
    color: var(--gold);
    text-decoration: none;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
}

.mag-btn:hover {
    background: var(--gold);
    color: #fff;
}

.page-number {
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 0.8rem;
    color: #999;
}

.page-number::before {
    content: '- ';
}
.page-number::after {
    content: ' -';
}

/* Nav Buttons */
.magazine-nav-buttons {
    margin-top: 30px;
    display: flex;
    gap: 40px;
}

.nav-arrow {
    background: none;
    border: 2px solid var(--gold);
    color: var(--gold);
    font-size: 2rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-arrow:hover {
    background: var(--gold);
    color: #fff;
    transform: scale(1.1);
}

/* Footer */
.footer-text {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.7;
    margin-top: 8px;
}

.footer-socials {
    margin-top: 16px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.social-btn {
    background: rgba(255, 255, 255, .1);
    padding: 8px 12px;
    border-radius: 50px;
    color: #fff;
    font-size: 14px;
    transition: var(--transition);
}

.social-btn-wa {
    background: rgba(37, 211, 102, .2);
    padding: 8px 12px;
    border-radius: 50px;
    color: #25d366;
    font-size: 14px;
    transition: var(--transition);
}

.social-btn:hover {
    background: var(--gold);
}

.social-btn-wa:hover {
    background: #128c7e;
}

.footer-text-contact {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.7;
}

/* Account */
.account-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 32px 24px;
}

.account-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--border);
    margin-bottom: 28px;
}

.account-tabs a {
    padding: 12px 28px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: .3s;
}

.account-tabs a.active {
    color: var(--gold);
    border-bottom-color: var(--gold);
}

.account-tabs a:hover {
    color: var(--primary);
}

.auth-card {
    max-width: 480px;
    margin: 0 auto;
    background: var(--card-bg);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 40px;
    box-shadow: var(--shadow);
}

.auth-card h2 {
    font-family: var(--heading);
    color: var(--gold);
    font-size: 24px;
    margin-bottom: 24px;
    text-align: center;
}

.btn-auth {
    width: 100%;
    padding: 14px;
    background: var(--gold);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 1px;
    transition: .3s;
    margin-top: 8px;
}

.btn-auth:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

.auth-helper {
    text-align: center;
    margin-top: 16px;
    font-size: 14px;
    color: var(--text-light);
}

.auth-link {
    color: var(--gold);
}

.account-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
    flex-wrap: wrap;
    gap: 12px;
}

.account-header-title {
    font-family: var(--heading);
    color: var(--gold);
    font-size: 28px;
}

.account-header-actions {
    display: flex;
    gap: 12px;
}

.btn-account-fav {
    padding: 10px 20px;
    border: 2px solid var(--gold);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    color: var(--gold);
    transition: var(--transition);
}

.btn-account-fav:hover {
    background: var(--gold);
    color: #fff;
}

.btn-account-logout {
    padding: 10px 20px;
    border: 2px solid var(--border);
    border-radius: 50px;
    font-size: 13px;
    color: var(--text-light);
    transition: var(--transition);
}

.btn-account-logout:hover {
    background: var(--border);
    color: var(--text);
}

.account-section {
    background: var(--card-bg);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 28px;
    margin-bottom: 24px;
    box-shadow: var(--shadow);
}

.account-section h3 {
    font-family: var(--heading);
    color: var(--gold);
    font-size: 20px;
    margin-bottom: 20px;
}

.icon-accent {
    margin-right: 8px;
    color: var(--primary);
}

.account-empty-state {
    color: var(--text-light);
    text-align: center;
    padding: 30px 0;
}

.orders-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 12px;
}

.orders-table th,
.orders-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
    color: var(--text);
}

.orders-table th {
    background: var(--bg);
    color: var(--gold);
    font-weight: 700;
}

.status-badge {
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
}

.status-pending {
    background: #fff3e0;
    color: #e65100;
}

.status-processing {
    background: #e3f2fd;
    color: #1565c0;
}

.status-completed {
    background: #e8f5e9;
    color: #2e7d32;
}

.status-cancelled {
    background: #ffebee;
    color: #c62828;
}

.profile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.account-hr {
    margin: 20px 0;
    border-color: var(--border);
}

.account-helper-text {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 12px;
}

.btn-auth-narrow {
    max-width: 220px;
}

/* Margins for small generic icons previously inline */
.icon-mr-8 {
    margin-right: 8px;
}

.icon-returns {
    margin-right: 8px;
    color: var(--primary);
}

/* Catalog Responsive Additions */
@media (max-width: 960px) {
    .magazine-viewport {
        min-height: 700px;
    }
}

@media (max-width: 600px) {
    .magazine-viewport {
        min-height: 80vh; /* Better fit for tall mobile screens */
        padding: 5px 0;
    }
    .mag-img-container {
        width: 100%;
        height: 180px; /* Reduced from 250px so they don't overflow */
        margin-bottom: 5px;
    }
    .mag-product {
        flex-direction: column;
        text-align: center;
        gap: 5px;
        padding-bottom: 15px;
    }
    .mag-info h3 {
        font-size: 1rem;
        margin-bottom: 2px;
    }
    .mag-price {
        font-size: 0.95rem;
        margin-bottom: 6px;
    }
    .mag-btn {
        padding: 5px 10px;
        font-size: 0.7rem;
    }
    .cover-page h2 {
        font-size: 2rem;
    }
    .cover-content {
        padding: 15px;
    }
    #magazine .page-number {
        bottom: 5px;
        right: 10px;
    }
}