body {
    background: #f0f8ff;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #333;
    margin: 0;
    padding: 0;
}
.pro-header {
    background: #fff;
    box-shadow: 0 4px 24px #ffb34722;
    border-bottom: 4px solid #ffb347;
    padding: 0;
    margin-bottom: 2em;
    position: relative;
    z-index: 10;
}
.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.7em 2em 0.7em 2em;
    flex-wrap: wrap;
    gap: 2em;
}
.logo-area-pro {
    display: flex;
    align-items: center;
    gap: 1em;
}
.logo-img-pro {
    width: 54px;
    height: 54px;
    display: block;
}
.logo-title-pro {
    font-size: 2.1em;
    font-weight: 700;
    color: #7369ff;
    letter-spacing: 1px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.logo-title-pro span {
    color: #ffb347;
    font-weight: 700;
}
.main-nav-pro {
    display: flex;
    gap: 1.5em;
    align-items: center;
}
.main-nav-pro a {
    color: #7369ff;
    font-size: 1.1em;
    text-decoration: none;
    font-weight: 600;
    padding: 0.5em 1.5em;
    border-radius: 20px;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    background: #fff8dc;
    display: flex;
    align-items: center;
    gap: 0.6em;
    box-shadow: 0 2px 8px #ffb34722;
    border: 2px solid #fff8dc;
}
.main-nav-pro a:hover {
    background: #ffb347;
    color: #fff;
    box-shadow: 0 2px 12px #ffb34788;
    border: 2px solid #7369ff;
}

main {
    padding: 2em;
    text-align: center;
}
h1, h2 {
    color: #000000;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.btn, button {
    background: #ffb347;
    color: #fff;
    border: none;
    padding: 1em 2em;
    border-radius: 20px;
    font-size: 1.2em;
    margin: 1em;
    cursor: pointer;
    transition: background 0.3s;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.btn:hover, button:hover {
    background: #7369ff;
}
form {
    background: #fffefa;
}
label, input, select {
    display: block;
    margin: 1em auto;
    font-size: 1em;
}

.card-aula {
    background: #e0f7fa;
    border-radius: 20px;
    box-shadow: 0 2px 12px #b2ebf2cc;
    padding: 2em 1.5em;
    width: 250px;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 1em;
    transition: transform 0.2s, box-shadow 0.2s;
}
.card-aula:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 6px 24px #ffb34755;
}
.card-aula h2 {
    color: #7369ff;
    margin-bottom: 0.5em;
    font-size: 1.3em;
}
.card-aula p {
    color: #333;
    font-size: 1.05em;
    margin-bottom: 1em;
}

.about-profesores {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2em;
    max-width: 900px;
    margin: 2em auto 1em auto;
    background: #fff8dc;
    border-radius: 20px;
    box-shadow: 0 2px 12px #ffb34733;
    padding: 1.5em 2em;
    flex-wrap: wrap;
}
.about-text {
    flex: 2;
    min-width: 220px;
}
.about-text h2 {
    color: #7369ff;
    margin-bottom: 0.5em;
    font-size: 1.5em;
}
.about-text p {
    color: #333;
    font-size: 1.1em;
}
.about-img {
    flex: 1;
    min-width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-acceso-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.35);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}
.modal-acceso-content {
    background: #fff8dc;
    border-radius: 24px;
    box-shadow: 0 8px 32px #ffb34788;
    padding: 2.5em 2em 2em 2em;
    max-width: 350px;
    text-align: center;
    border: 3px solid #ffb347;
    animation: modalShow 0.4s cubic-bezier(.68,-0.55,.27,1.55);
}
.modal-acceso-content h2 {
    color: #7369ff;
    margin-bottom: 0.7em;
    font-size: 1.5em;
}
.modal-acceso-content p {
    color: #333;
    font-size: 1.1em;
    margin-bottom: 1.5em;
}
@keyframes modalShow {
    0% { transform: scale(0.7) translateY(-40px); opacity: 0; }
    100% { transform: scale(1) translateY(0); opacity: 1; }
}

.shop-card {
    background: #fff;
    border: 1px solid #e4e8ef;
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(17, 24, 39, 0.06);
}

.shop-title {
    color: #1f2937;
    font-size: 1.95em;
    font-weight: 800;
    margin: 0;
}

.shop-subtitle {
    margin: .45em 0 0;
    color: #4b5563;
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1em;
}

.shop-item {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: linear-gradient(180deg, #ffffff 0%, #fafcff 100%);
    padding: 1em;
    display: flex;
    flex-direction: column;
    gap: .6em;
    transition: transform .2s ease, box-shadow .2s ease;
}

.shop-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 86, 179, 0.12);
}

.shop-item h3 {
    margin: 0;
    color: #111827;
    font-size: 1.03em;
    line-height: 1.35;
}

.shop-item p {
    margin: 0;
    color: #4b5563;
    font-size: .94em;
    line-height: 1.45;
}

.shop-price {
    color: #b3261e;
    font-weight: 800;
}

.shop-pill {
    background: #e7f0ff;
    color: #0056b3;
    border-radius: 999px;
    font-size: .78em;
    font-weight: 700;
    padding: .2em .65em;
}

.shop-btn-primary,
.shop-btn-secondary,
.shop-btn-danger,
.shop-btn-success {
    border: none;
    border-radius: 10px;
    padding: .55em .9em;
    font-size: .93em;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4em;
    margin: 0;
}

.shop-btn-primary { background: #0056b3; color: #fff; }
.shop-btn-secondary { background: #334155; color: #fff; }
.shop-btn-danger { background: #dc2626; color: #fff; }
.shop-btn-success { background: #207d3a; color: #fff; }

.shop-btn-loading {
    opacity: .7;
    pointer-events: none;
}

.shop-summary-line {
    color: #4b5563;
    margin-bottom: .4em;
}

.shop-summary-value {
    color: #111827;
    font-weight: 800;
}

.shop-empty {
    color: #6b7280;
    margin: .2em 0 .7em;
}

@media (max-width: 960px) {
    .shop-layout {
        grid-template-columns: 1fr !important;
    }

    [data-cart-item] {
        flex-direction: column !important;
        align-items: flex-start !important;
    }
}
