html {
    max-width: 100vw;
}
body {
    overflow-x: hidden;
    max-width: 100vw;
}

.discount-toast {
    display: none !important;
}

.discount-toast.show {
    display: flex !important;
}

.canvas-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 1/1;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background: #F5F0EB;
    touch-action: pan-y;
}

.canvas-wrapper canvas {
    border-radius: 12px;
}

.canvas-container {
    position: relative;
    z-index: 1;
}

canvas .upper-canvas {
    z-index: 999 !important;
}

/* Sin foto: BLOQUEAR TODA interacción del canvas → scroll normal */
.canvas-container .upper-canvas,
.canvas-container .lower-canvas {
    pointer-events: none !important;
}

/* Con foto: activar interacción para arrastrar */
.canvas-container.photo-active .upper-canvas {
    pointer-events: auto !important;
}
.canvas-container.photo-active {
    touch-action: none;
}

.save-status {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.9);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #666;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    z-index: 20;
}

.save-status.visible {
    opacity: 1;
}

.save-status.saved {
    color: #10B981;
}

.controls-wrapper {
    margin-top: 15px;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    padding: 0 10px;
}

.faq-container {
    max-width: 600px;
    margin: 40px auto 0 auto;
    text-align: left;
}

.faq-title {
    text-align: center;
    font-family: 'Lora', serif;
    font-size: 1.4rem;
    color: var(--text-main);
    margin-bottom: 25px;
}

.faq-item {
    background: #fff;
    border-radius: 14px;
    margin-bottom: 12px;
    border: 1px solid rgba(0,0,0,0.06);
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 3px solid transparent;
}

.faq-item:hover {
    box-shadow: 0 4px 16px rgba(217, 119, 6, 0.10);
    border-left-color: #D97706;
    transform: translateX(2px);
}

.faq-item.active {
    border-left-color: #D97706;
    box-shadow: 0 4px 20px rgba(217, 119, 6, 0.12);
    background: linear-gradient(135deg, #FFFBEB 0%, #ffffff 40%);
}

.faq-question {
    padding: 18px 22px;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    user-select: none;
    transition: color 0.2s;
}

.faq-question:hover {
    color: #92400E;
}

.faq-question::after {
    content: '\f078';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 0.7rem;
    width: 28px;
    height: 28px;
    min-width: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #FEF3C7;
    color: #D97706;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}

.faq-item:hover .faq-question::after {
    background: #FDE68A;
}

.faq-item.active .faq-question::after {
    transform: rotate(180deg);
    background: #D97706;
    color: #fff;
}

.faq-answer {
    padding: 0 22px 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.65;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 22px 20px;
}

.checkout-container {
    max-width: 600px;
    margin: 0 auto 20px auto;
    padding: 0 10px;
}

.summary-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 30px -10px rgba(92, 64, 51, 0.1);
    border: 1px solid #EFE6DC;
    margin-bottom: 30px;
    position: relative;
    margin-top: 10px;
}

.summary-header {
    text-align: center;
    padding: 20px 15px 10px;
}

.features-section {
    padding: 0 20px 25px 20px;
    margin-top: 5px;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    background: #F9F7F5;
    border-radius: 12px;
    transition: all 0.2s;
}

.feature-item:hover {
    background: #FFF7ED;
    transform: translateY(-1px);
}

.feature-icon-circle {
    width: 34px;
    height: 34px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #D97706;
    font-size: 0.9rem;
    flex-shrink: 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.feature-text {
    font-size: 0.85rem;
    color: #291D18;
    font-weight: 800;
    line-height: 1.1;
}

.feature-subtext {
    font-size: 0.7rem;
    color: #8D7B72;
    font-weight: 600;
}

.upsell-section-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}



/* ═══════════════════════════════════════════════════════════════
   THANK YOU PAGE — Premium Redesign
   ═══════════════════════════════════════════════════════════════ */

.ty-page {
    max-width: 580px;
    margin: 0 auto;
    padding: 10px 16px 30px;
}

/* ── Hero Section ── */
.ty-hero {
    text-align: center;
    padding: 15px 10px 5px;
}

.ty-hero__icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2.2rem;
    position: relative;
    background: #f3f4f6;
    color: #6b7280;
}

.ty-hero__icon--success {
    background: linear-gradient(135deg, #D1FAE5 0%, #A7F3D0 100%);
    color: #059669;
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.25);
}

.ty-hero__icon--bizum {
    background: linear-gradient(135deg, #DBEAFE 0%, #BFDBFE 100%);
    color: #2563EB;
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.25);
}

.ty-pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    animation: tyPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.ty-pulse-ring--success {
    border: 3px solid rgba(16, 185, 129, 0.3);
}

.ty-pulse-ring--bizum {
    border: 3px solid rgba(37, 99, 235, 0.3);
}

@keyframes tyPulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.35); opacity: 0; }
    100% { transform: scale(1); opacity: 0; }
}

.ty-hero__title {
    font-family: 'Lora', serif;
    font-size: 1.65rem;
    color: #291D18;
    margin: 0 0 8px;
    line-height: 1.2;
}

.ty-hero__subtitle {
    font-size: 0.95rem;
    color: #6b7280;
    line-height: 1.55;
    margin: 0;
    max-width: 440px;
    margin: 0 auto;
}

/* ── Bizum Payment Card ── */
.ty-bizum-card {
    background: #fff;
    border-radius: 18px;
    border: 2px solid #DBEAFE;
    box-shadow: 0 4px 24px rgba(37, 99, 235, 0.08), 0 1px 3px rgba(0,0,0,0.04);
    margin-top: 24px;
    overflow: hidden;
}

.ty-bizum-card__header {
    background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
    padding: 14px 20px;
    text-align: center;
}

.ty-bizum-card__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 800;
    color: #1D4ED8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ty-bizum-card__body {
    padding: 20px;
}

.ty-bizum-card__intro {
    font-size: 0.9rem;
    color: #4B5563;
    margin: 0 0 18px;
    line-height: 1.5;
}

.ty-bizum-field {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    margin-bottom: 10px;
    transition: all 0.2s;
}

.ty-bizum-field:hover {
    border-color: #93C5FD;
    background: #EFF6FF;
}

.ty-bizum-field__label {
    font-size: 0.72rem;
    font-weight: 700;
    color: #64748B;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    min-width: 100px;
    flex-shrink: 0;
}

.ty-bizum-field__label i {
    color: #3B82F6;
    margin-right: 4px;
    width: 14px;
    text-align: center;
}

.ty-bizum-field__value {
    flex: 1;
    font-size: 1.05rem;
    font-weight: 800;
    color: #1E293B;
    letter-spacing: 0.5px;
}

.ty-bizum-field__value--amount {
    color: #059669;
    font-size: 1.2rem;
}

.ty-bizum-field__value--code {
    font-family: 'Courier New', monospace;
    color: #7C3AED;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.ty-bizum-field__copy {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid #E2E8F0;
    background: #fff;
    color: #64748B;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: all 0.2s;
    flex-shrink: 0;
}

.ty-bizum-field__copy:hover {
    background: #3B82F6;
    color: #fff;
    border-color: #3B82F6;
    transform: scale(1.05);
}

.ty-bizum-field__copy--success {
    background: #10B981 !important;
    color: #fff !important;
    border-color: #10B981 !important;
}

.ty-bizum-card__footer {
    padding: 0 20px 20px;
}

.ty-bizum-card__warning {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
    background: #FFFBEB;
    border: 1px solid #FDE68A;
    border-radius: 12px;
    font-size: 0.82rem;
    color: #92400E;
    line-height: 1.5;
}

.ty-bizum-card__warning i {
    color: #D97706;
    font-size: 1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

/* ── Steps (Post-Bizum) ── */
.ty-steps {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #E5E7EB;
    padding: 20px;
    margin-top: 16px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}

.ty-steps__title {
    font-weight: 800;
    font-size: 0.95rem;
    color: #291D18;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ty-steps__title i {
    color: #D97706;
}

.ty-step {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid #F3F4F6;
}

.ty-step:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.ty-step__number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FFF7ED, #FED7AA);
    color: #D97706;
    font-weight: 900;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ty-step__content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ty-step__content strong {
    font-size: 0.9rem;
    color: #291D18;
}

.ty-step__content span {
    font-size: 0.82rem;
    color: #6b7280;
    line-height: 1.4;
}

/* ── Product Card ── */
.ty-product-card {
    background: #fff;
    border-radius: 18px;
    border: 1px solid #EFE6DC;
    box-shadow: 0 4px 20px rgba(92, 64, 51, 0.06);
    overflow: hidden;
    margin-top: 24px;
    display: flex;
    gap: 0;
}

.ty-product-card__image-wrapper {
    width: 42%;
    flex-shrink: 0;
    position: relative;
    background: #F5F0EB;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 160px;
}

.ty-product-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ty-product-card__meta-badges {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 4px;
    align-items: flex-start;
}

.ty-meta-badge {
    background: #F9F7F5;
    border: 1px solid #EFE6DC;
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 800;
    color: #291D18;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.ty-meta-badge i {
    color: #D97706;
    font-size: 0.7rem;
}

.ty-product-card__info {
    padding: 18px 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    flex: 1;
}

.ty-product-card__name {
    font-family: 'Lora', serif;
    font-size: 1rem;
    font-weight: 700;
    color: #291D18;
    line-height: 1.2;
}

.ty-product-card__specs {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ty-product-card__specs span {
    font-size: 0.75rem;
    color: #8D7B72;
    font-weight: 600;
}

.ty-product-card__specs span i {
    color: #D97706;
    width: 14px;
    text-align: center;
    margin-right: 4px;
    font-size: 0.7rem;
}

.ty-product-card__detail {
    font-size: 0.8rem;
    color: #4A403A;
}

.ty-product-card__detail i {
    color: #D97706;
    width: 14px;
    text-align: center;
    margin-right: 4px;
    font-size: 0.75rem;
}

/* ── Timeline Card ── */
.ty-timeline-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #E5E7EB;
    padding: 20px;
    margin-top: 16px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}

.ty-timeline-card__header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.ty-timeline-card__header > i {
    font-size: 1.5rem;
    color: #D97706;
}

.ty-timeline-card__title {
    font-size: 0.78rem;
    font-weight: 700;
    color: #8D7B72;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ty-timeline-card__date {
    font-family: 'Lora', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #291D18;
}

.ty-timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding: 0 4px;
    margin-bottom: 18px;
}

.ty-timeline::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 20px;
    right: 20px;
    height: 3px;
    background: #E5E7EB;
    border-radius: 2px;
    z-index: 0;
}

.ty-timeline__step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 1;
    flex: 1;
}

.ty-timeline__dot {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid #D1D5DB;
    transition: all 0.3s;
}

.ty-timeline__step--done .ty-timeline__dot {
    background: #10B981;
    border-color: #10B981;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15);
}

.ty-timeline__step--active .ty-timeline__dot {
    background: #fff;
    border-color: #D97706;
    box-shadow: 0 0 0 4px rgba(217, 119, 6, 0.15);
    animation: tyDotPulse 2s infinite;
}

@keyframes tyDotPulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(217, 119, 6, 0.15); }
    50% { box-shadow: 0 0 0 8px rgba(217, 119, 6, 0.08); }
}

.ty-timeline__label {
    font-size: 0.68rem;
    font-weight: 700;
    color: #9CA3AF;
    text-align: center;
    line-height: 1.2;
    max-width: 70px;
}

.ty-timeline__step--done .ty-timeline__label {
    color: #059669;
}

.ty-timeline__step--active .ty-timeline__label {
    color: #D97706;
}

.ty-timeline-card__shipping {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: #F9F7F5;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #4A403A;
}

.ty-timeline-card__shipping i {
    color: #D97706;
}

.ty-timeline-card__express-badge {
    background: linear-gradient(135deg, #FEF3C7, #FDE68A);
    color: #92400E;
    font-size: 0.65rem;
    font-weight: 900;
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    margin-left: auto;
}

/* ── Breakdown Card ── */
.ty-breakdown-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #E5E7EB;
    overflow: hidden;
    margin-top: 16px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}

.ty-breakdown-card__header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    background: #F9FAFB;
    border-bottom: 1px solid #E5E7EB;
    font-weight: 800;
    font-size: 0.95rem;
    color: #291D18;
}

.ty-breakdown-card__header i {
    color: #D97706;
}

.ty-breakdown-card__code {
    margin-left: auto;
    font-family: 'Courier New', monospace;
    font-size: 0.82rem;
    font-weight: 700;
    color: #6b7280;
    background: #fff;
    border: 1px solid #E5E7EB;
    padding: 3px 10px;
    border-radius: 6px;
}

.ty-breakdown-card__body {
    padding: 16px 20px;
}

.ty-breakdown-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    font-size: 0.9rem;
    color: #4B5563;
}

.ty-breakdown-row span:first-child i {
    color: #9CA3AF;
    margin-right: 6px;
    width: 14px;
    text-align: center;
}

.ty-breakdown-row--upsell {
    color: #7C3AED;
    font-weight: 600;
}

.ty-breakdown-row--upsell span:first-child i {
    color: #7C3AED;
}

.ty-breakdown-row--discount {
    color: #059669;
    font-weight: 700;
}

.ty-breakdown-row--discount span:first-child i {
    color: #059669;
}

.ty-breakdown-row__free {
    color: #059669 !important;
    font-weight: 800;
    font-size: 0.82rem;
    background: #D1FAE5;
    padding: 2px 10px;
    border-radius: 20px;
}

.ty-breakdown-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #E5E7EB 20%, #E5E7EB 80%, transparent);
    margin: 4px 0;
}

.ty-breakdown-row--total {
    font-size: 1.15rem;
    font-weight: 900;
    color: #291D18;
    padding: 14px 0 10px;
}

.ty-breakdown-row--meta {
    font-size: 0.82rem;
    color: #9CA3AF;
    padding: 6px 0;
}

.ty-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 800;
}

.ty-status-pill--paid {
    background: #D1FAE5;
    color: #059669;
}

.ty-status-pill--pending {
    background: #FEF3C7;
    color: #D97706;
}

/* ── Shipping Card ── */
.ty-shipping-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #E5E7EB;
    overflow: hidden;
    margin-top: 16px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}

.ty-shipping-card__header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    background: #F9FAFB;
    border-bottom: 1px solid #E5E7EB;
    font-weight: 800;
    font-size: 0.95rem;
    color: #291D18;
}

.ty-shipping-card__header i {
    color: #EF4444;
}

.ty-shipping-card__body {
    padding: 18px 20px;
}

.ty-shipping-card__name {
    font-weight: 800;
    font-size: 1rem;
    color: #291D18;
    margin-bottom: 6px;
}

.ty-shipping-card__address {
    font-size: 0.9rem;
    color: #4B5563;
    line-height: 1.6;
    margin-bottom: 14px;
}

.ty-shipping-card__contact {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ty-shipping-card__contact span {
    font-size: 0.82rem;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ty-shipping-card__contact span i {
    color: #9CA3AF;
    width: 14px;
    text-align: center;
}

/* ── Trust Bar ── */
.ty-trust-bar {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 24px;
    padding: 18px;
    background: #F9F7F5;
    border-radius: 14px;
    border: 1px solid #EFE6DC;
}

.ty-trust-item {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #4A403A;
}

.ty-trust-item i {
    color: #D97706;
    font-size: 0.9rem;
}

/* ── Help Box ── */
.ty-help-box {
    text-align: center;
    margin-top: 20px;
    padding: 20px;
}

.ty-help-box p {
    font-size: 0.9rem;
    color: #6b7280;
    margin: 0 0 12px;
}

.ty-help-box__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: #25D366;
    color: #fff;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.25s;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.ty-help-box__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    background: #20BD5A;
}

.ty-help-box__btn i {
    font-size: 1.1rem;
}

/* ── Premium Bizum Card ── */
.ty-bizum-card-premium {
    background: #fff;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    margin-top: 24px;
    overflow: hidden;
}

.ty-bizum-card__header-new {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: #f8fafc;
    border-bottom: 1px solid #f1f5f9;
}

.ty-bizum-logo-img {
    width: 60px;
    height: auto;
    object-fit: contain;
}

.ty-bizum-header-info {
    display: flex;
    flex-direction: column;
}

.ty-bizum-card__badge-new {
    font-size: 0.7rem;
    font-weight: 800;
    color: #00bed5;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ty-bizum-card__subtitle {
    font-size: 0.9rem;
    color: #475569;
    margin: 2px 0 0 0;
    font-weight: 600;
}

.ty-bizum-card__holder-top {
    margin: 6px 0 0 0;
    font-size: 0.8rem;
    color: #0f172a;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 1px;
    text-decoration-thickness: 1px;
    text-decoration-color: rgba(15, 23, 42, 0.5);
}

.ty-bizum-card__holder-top strong {
    color: #00bed5;
}

.ty-bizum-card__body-new {
    padding: 20px;
}

.ty-bizum-instruction {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 15px;
}

.ty-bizum-table {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ty-bizum-row-new {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 12px;
}

.ty-bizum-field-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ty-field-label {
    font-size: 0.65rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
}

.ty-field-value {
    font-size: 1.1rem;
    font-weight: 800;
    color: #1e293b;
}

.ty-field-value.amount {
    color: #059669;
}

.ty-field-value.concept {
    font-family: 'Courier New', Courier, monospace;
    color: #00bed5;
}

.ty-copy-btn-new {
    background: #fff;
    border: 1px solid #e2e8f0;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 800;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.ty-copy-btn-new:hover {
    background: #00bed5;
    color: #fff;
    border-color: #00bed5;
    transform: translateY(-1px);
}

.ty-copy-btn-new--success {
    background: #10b981 !important;
    color: #fff !important;
    border-color: #10b981 !important;
}

.ty-bizum-card__footer-new {
    padding: 15px 20px;
    background: #f0fdff;
    border-top: 1px solid #e0faff;
}

.ty-bizum-warning-new {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: #0e7490;
    font-size: 0.8rem;
    line-height: 1.4;
}

.ty-bizum-warning-new i {
    margin-top: 2px;
    color: #00bed5;
}

.ty-bizum-warning-new p {
    margin: 0;
}

.ty-bizum-support-note {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-top: 14px;
    padding: 14px 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    color: #475569;
    font-size: 0.82rem;
    line-height: 1.45;
}

.ty-bizum-support-note i {
    color: #00bed5;
    margin-top: 2px;
    font-size: 0.95rem;
}

.ty-bizum-support-note p {
    margin: 0;
}

.ty-bizum-support-note a {
    color: #00bed5;
    font-weight: 800;
    text-decoration: none;
}

.ty-bizum-support-note a:hover {
    text-decoration: underline;
}

/* ── Mobile Responsive ── */
@media (max-width: 480px) {
    .ty-page { padding: 15px 12px 30px; }
    .ty-hero__title { font-size: 1.4rem; }
    .ty-hero__icon { width: 70px; height: 70px; font-size: 1.8rem; }
    
    .ty-product-card { flex-direction: column; }
    .ty-product-card__image-wrapper { width: 100%; min-height: 200px; max-height: 260px; }
    .ty-product-card__info { padding: 16px; }
    
    .ty-bizum-row-new {
        flex-direction: row;
        padding: 10px 12px;
    }
    
    .ty-field-value {
        font-size: 0.95rem;
    }
    
    .ty-copy-btn-new {
        padding: 6px 10px;
        font-size: 0.65rem;
    }

    .ty-bizum-support-note {
        padding: 12px;
        font-size: 0.76rem;
    }
    
    .ty-timeline__label { font-size: 0.6rem; max-width: 58px; }
    .ty-timeline__dot { width: 18px; height: 18px; }
    
    .ty-trust-bar { gap: 14px; padding: 14px; }
    .ty-trust-item { font-size: 0.72rem; }
}

.controls-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;
    width: auto;
    overflow-x: auto;
    padding: 2px;
}

.icon-btn {
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #1f2937;
    cursor: pointer;
    transition: all 0.15s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    flex-shrink: 0;
}

.icon-btn:hover {
    background: #e5e7eb;
    border-color: #d1d5db;
    transform: translateY(-1px);
}

/* ── My Orders Page (ord-) ── */
.ord-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 10px 15px 30px;
}

.ord-auth-card {
    max-width: 440px;
    margin: 30px auto;
    background: #fff;
    border-radius: 24px;
    padding: 25px 30px;
    box-shadow: 0 20px 50px rgba(92, 64, 51, 0.1);
    border: 1px solid #EFE6DC;
    text-align: center;
}

.ord-auth-icon {
    width: 70px;
    height: 70px;
    background: #FFF7ED;
    color: #D97706;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 24px;
}

.ord-auth-title {
    font-family: 'Lora', serif;
    font-size: 1.8rem;
    color: #291D18;
    margin-bottom: 10px;
}

.ord-auth-subtitle {
    font-size: 0.95rem;
    color: #6B7280;
    line-height: 1.6;
    margin-bottom: 30px;
}

.ord-form-group {
    text-align: left;
    margin-bottom: 20px;
}

.ord-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 800;
    color: #4A403A;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ord-input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #F1F5F9;
    border-radius: 12px;
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    transition: all 0.2s;
    background: #F8FAFC;
    box-sizing: border-box;
}

.ord-input:focus {
    border-color: #D97706;
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 4px rgba(217, 119, 6, 0.1);
}

.ord-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.ord-input-wrapper i {
    position: absolute;
    left: 16px;
    color: #94A3B8;
    font-size: 1rem;
    pointer-events: none;
}

.ord-input-wrapper .ord-input {
    padding-left: 48px;
}

.ord-input-hint {
    display: block;
    margin-top: 8px;
    font-size: 0.75rem;
    color: #64748B;
    font-weight: 600;
}

.ord-input-hint i {
    color: #10B981;
    margin-right: 4px;
}

.ord-alert-error {
    background: #FEF2F2;
    color: #B91C1C;
    padding: 14px;
    border-radius: 12px;
    font-size: 0.9rem;
    margin-bottom: 24px;
    font-weight: 700;
    border: 1px solid #FEE2E2;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ord-auth-footer {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #F1F5F9;
}

.ord-auth-footer p {
    font-size: 0.75rem;
    color: #94A3B8;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.ord-auth-footer i {
    color: #10B981;
}

.ord-btn-primary {
    width: 100%;
    padding: 16px;
    background: #D97706;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}

.ord-btn-primary:hover {
    background: #B45309;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.ord-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.ord-header-info h1 {
    font-family: 'Lora', serif;
    font-size: 2rem;
    color: #291D18;
    margin: 0;
}

.ord-header-info p {
    font-size: 1rem;
    color: #6B7280;
    margin: 5px 0 0;
}

.ord-logout {
    font-size: 0.85rem;
    font-weight: 800;
    color: #EF4444;
    text-decoration: none;
    padding: 8px 16px;
    border: 1px solid #FEE2E2;
    border-radius: 50px;
    transition: all 0.2s;
}

.ord-logout:hover {
    background: #FEF2F2;
    border-color: #EF4444;
}

.ord-card {
    background: #fff;
    border-radius: 20px;
    border: 1px solid #EFE6DC;
    overflow: hidden;
    margin-bottom: 24px;
    display: flex;
    box-shadow: 0 4px 15px rgba(92, 64, 51, 0.04);
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.ord-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(92, 64, 51, 0.1);
}

.ord-card__image-wrapper {
    width: 220px;
    flex-shrink: 0;
    background: #F5F0EB;
    position: relative;
    overflow: hidden;
}

.ord-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

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

.ord-card__content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.ord-card__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
}

.ord-card__title {
    font-family: 'Lora', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #291D18;
    margin: 0;
}

.ord-card__meta {
    font-size: 0.85rem;
    color: #8D7B72;
    margin-top: 4px;
    font-weight: 600;
}

.ord-status-badge {
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.ord-status--paid { background: #DCFCE7; color: #166534; }
.ord-status--pending { background: #FEF3C7; color: #92400E; }
.ord-status--shipped { background: #DBEAFE; color: #1E40AF; }

.ord-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

.ord-price {
    font-size: 1.4rem;
    font-weight: 900;
    color: #291D18;
}

.ord-actions {
    display: flex;
    gap: 12px;
}

.ord-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 800;
    color: #475569;
    text-decoration: none;
    transition: all 0.2s;
}

.ord-btn-secondary:hover {
    background: #F8FAFC;
    border-color: #94A3B8;
    color: #1E293B;
}

.ord-btn-accent {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: #D97706;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.2s;
}

.ord-btn-accent:hover {
    background: #B45309;
    transform: translateY(-1px);
}

.ord-empty {
    text-align: center;
    padding: 80px 40px;
    background: #fff;
    border-radius: 24px;
    border: 1px solid #EFE6DC;
}

.ord-empty-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.3;
}

@media (max-width: 640px) {
    .ord-card { flex-direction: column; }
    .ord-card__image-wrapper { width: 100%; height: 200px; }
    .ord-card__header { flex-direction: column; gap: 8px; }
    .ord-card__footer { flex-direction: column; align-items: flex-start; gap: 15px; }
    .ord-actions { width: 100%; }
    .ord-actions a { flex: 1; justify-content: center; }
}

.icon-btn:active,
.icon-btn.holding {
    transform: scale(0.95);
    background: #10B981;
    color: white;
    border-color: #10B981;
}

.zoom-btn:active,
.zoom-btn.holding {
    background: #3B82F6;
    border-color: #3B82F6;
}

.rotate-btn:active,
.rotate-btn.holding {
    background: #8B5CF6;
    border-color: #8B5CF6;
}

.change-btn {
    background: #ef4444 !important;
    color: white !important;
    border-color: #ef4444 !important;
}

.change-btn:hover {
    background: #dc2626 !important;
}

.change-btn:active {
    background: #b91c1c !important;
}

/* 
.navbar {
    margin-bottom: 10px !important;
}

.main-wrapper {
    padding-top: 5px !important;
    margin-top: 0 !important;
}
*/

.hero-tag {
    display: inline-block;
    background: #FFF7ED;
    color: #D97706;
    padding: 4px 12px;
    border-radius: 50px;
    border: 1px solid #FED7AA;
    font-size: 0.7rem;
    font-weight: 800;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.hero-title {
    margin-top: 0 !important;
    margin-bottom: 15px !important;
    line-height: 1.1 !important;
    font-size: 1.7rem !important;
    color: #291D18;
}

.visualizer-container {
    position: relative;
    overflow: visible !important;
    margin-top: 10px !important;
}

.preview-badge {
    top: -12px !important;
    z-index: 10 !important;
    background: #111827 !important;
}

@media (max-width:600px) {
    .hero-tag {
        margin-top: -15px !important;
    }

    .hero-title {
        font-size: 1.4rem !important;
        margin-top: -10px !important;
    }
}

.btn-action-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

.btn-add-cart,
.btn-pro-action {
    width: 100%;
    padding: 17px;
    background: #10B981;
    color: white;
    border: none;
    border-radius: 12px;
    font-family: 'Nunito', sans-serif;
    font-size: 1.1rem;
    font-weight: 900;
    -webkit-text-stroke: 0.4px currentColor;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 10px 25px -5px rgba(16, 185, 129, 0.35);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    text-shadow: 0 1px 2px rgba(0,0,0,0.12);
}

.btn-add-cart:hover,
.btn-pro-action:hover {
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 18px 35px -5px rgba(16, 185, 129, 0.45);
    background: #059669;
}

.btn-add-cart:active,
.btn-pro-action:active {
    transform: translateY(-1px) scale(1);
    box-shadow: 0 6px 12px -5px rgba(16, 185, 129, 0.4);
}

/* Donation badge */
.donation-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    background: linear-gradient(135deg, #FFFBF0 0%, #FFF7ED 100%);
    border: 1px solid #FDE68A;
    border-radius: 10px;
    margin-top: 2px;
}

.donation-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
}

.donation-text {
    font-size: 0.75rem;
    color: #78716C;
    font-weight: 600;
    line-height: 1.3;
}

.donation-text strong {
    color: #92400E;
    font-weight: 800;
}

.preview-btn-dark {
    width: 100%;
    padding: 14px;
    background: #000000;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 900;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background 0.2s;
}

.preview-btn-dark:hover {
    background: #1a1a1a;
}

.modal-preview {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    padding: 15px;
}

.modal-content {
    width: 90%;
    max-width: 420px;
    /* Nunca supera la pantalla, ni en móvil ni en desktop */
    max-height: min(90dvh, 90vh);
    height: auto;
    background: white;
    padding: 15px;
    border-radius: 15px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease;
    margin: auto;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.modal-content img {
    width: 100%;
    /* La imagen ocupa lo que quede entre el título y el botón */
    flex: 1 1 auto;
    min-height: 0;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #999;
    font-size: 1.8rem;
    cursor: pointer;
    background: white;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    border: none;
    flex-shrink: 0;
}

.modal-title {
    text-align: center;
    color: #333;
    margin: 10px 0;
    font-family: 'Lora', serif;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

#modalCanvas {
    border-radius: 12px;
    width: 100%;
    height: auto;
}

.discount-toast {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #10B981;
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: none;
    align-items: center;
    gap: 10px;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.discount-toast.show {
    display: flex;
    opacity: 1;
    visibility: visible;
    top: 30px;
}

@media (max-width:600px) {
    .icon-btn {
        width: 35px !important;
        height: 35px !important;
        font-size: 0.8rem !important;
        border-width: 1px !important;
    }

    .controls-row {
        gap: 3px !important;
    }

    .controls-wrapper {
        padding: 0 5px !important;
    }
}

.review-modal {
    display: none;
    position: fixed;
    z-index: 12000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.review-modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    border-radius: 10px;
    animation: zoomIn 0.3s ease;
}

.review-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 12001;
}

.review-close:hover,
.review-close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.offer-box-new {
    background: #FFFBF0;
    border: 2px solid #FED7AA;
    border-radius: 16px;
    padding: 15px 20px;
    position: relative;
    margin-bottom: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(217, 119, 6, 0.05);
}

.offer-box-new:hover {
    border-color: #D97706;
    box-shadow: 0 10px 15px -3px rgba(217, 119, 6, 0.15);
    background: #fff;
}

.bestseller-tag {
    position: absolute;
    top: -12px;
    right: 20px;
    left: auto;
    transform: none;
    background: #D97706;
    color: white;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 16px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 5;
}

.offer-content-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.offer-left {
    text-align: left;
    flex: 1;
}

.offer-label-small {
    font-size: 0.7rem;
    color: #8D7B72;
    font-weight: 700;
    margin-bottom: 2px;
    letter-spacing: 0.5px;
}

.offer-main-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #291D18;
    line-height: 1.2;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.offer-subtitle {
    font-size: 0.9rem;
    color: #4A403A;
    font-weight: 600;
    margin-left: 24px;
}

.offer-specs-text {
    font-size: 0.75rem;
    color: #8D7B72;
    margin-top: 2px;
    margin-left: 24px;
}

.offer-price-right {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    flex-shrink: 0;
}

.check-icon {
    color: #D97706;
    font-size: 1.1rem;
}

@media (max-width:400px) {
    .offer-box-new {
        padding: 12px 10px;
    }

    .offer-main-title {
        font-size: 0.95rem;
        white-space: normal;
    }

    .offer-subtitle {
        font-size: 0.85rem;
        margin-left: 0;
        margin-top: 2px;
    }

    .offer-specs-text {
        margin-left: 0;
    }

    .check-icon {
        font-size: 0.9rem;
        margin-right: 4px;
    }

    .offer-main-title {
        gap: 2px;
    }
}

.visualizer-container {
    margin-left: -20px !important;
    margin-right: -20px !important;
    width: calc(100% + 40px) !important;
    max-width: none !important;
    padding: 0 5px !important;
    background: #ffffff !important;
    box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;
}

.offer-box {
    max-width: 90%;
    margin: 0 auto 20px auto !important;
    padding: 15px 25px !important;
    border-radius: 12px !important;
}

.upload-btn {
    animation: none !important;
    background: #000000 !important;
    margin: 15px auto 10px auto !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    font-family: 'Nunito', sans-serif !important;
    font-weight: 900 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 12px 25px !important;
}

.personalization-form {
    padding: 10px 20px 20px 20px !important;
    background: transparent !important;
}

.custom-input {
    margin-bottom: 10px !important;
}

@keyframes highlight-pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.02);
        opacity: 1;
        box-shadow: 0 0 30px rgba(16, 185, 129, 0.3);
    }

    100% {
        transform: scale(1);
        opacity: 1;
        box-shadow: none;
    }
}

.highlight-canvas {
    animation: highlight-pulse 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.summary-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 30px -10px rgba(92, 64, 51, 0.1);
    border: 1px solid #EFE6DC;
    margin-bottom: 30px;
    position: relative;
    margin-top: 10px;
}

.summary-header {
    text-align: center;
    padding: 20px 15px 10px;
    background: #fff;
}

.summary-title {
    font-family: 'Lora', serif;
    font-size: 1.3rem;
    color: #291D18;
    margin: 0 0 5px 0;
    font-weight: 600;
}

.summary-subtitle {
    font-size: 0.85rem;
    color: #8D7B72;
    font-style: italic;
    margin: 0;
}

.preview-image-container {
    width: 100%;
    background: #FDFBF7;
    position: relative;
    text-align: center;
    padding: 10px 0 25px 0;
}

.preview-img-final {
    width: 360px;
    max-width: 92%;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    border: 4px solid #fff;
    transform: rotate(-1deg);
    transition: transform 0.3s ease;
}

.preview-img-final:hover {
    transform: rotate(0deg) scale(1.02);
}

.edit-btn-text {
    display: inline-block;
    margin-top: 15px;
    font-size: 0.85rem;
    color: #D97706;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px dashed #D97706;
    padding-bottom: 2px;
    transition: all 0.2s;
}

.edit-btn-text:hover {
    color: #B45309;
    border-bottom-style: solid;
}

.checkout-form-section {
    background: white;
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 20px;
    border: 1px solid #EFE6DC;
    box-shadow: 0 4px 6px -1px rgba(92, 64, 51, 0.03);
}

.section-title {
    font-family: 'Lora', serif;
    font-size: 1.15rem;
    color: #291D18;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #f3f4f6;
    padding-bottom: 10px;
}

.section-number {
    background: #291D18;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Nunito', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
}

.form-group {
    margin-bottom: 15px;
}

.form-label {
    display: block;
    font-weight: 700;
    font-size: 0.85rem;
    color: #4b5563;
    margin-bottom: 5px;
}

.form-input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.2s;
    background: #F9FAFB;
}

.form-input:focus {
    border-color: #D97706;
    background: #fff;
    outline: none;
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-row .form-group {
    flex: 1;
}

.shipping-option {
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s;
    background: #fff;
}

.shipping-option.active {
    border-color: #D97706;
    background: #FFF7ED;
}

/* Upsell styles managed in checkout.php inline <style> */

.price-row {
    display: flex;
    justify-content: space-between;
    font-size: 1.05rem;
    margin-bottom: 12px;
    color: #4A403A;
    font-weight: 500;
}

.bizum-instructions .summary-title {
    color: #0369a1;
}

.price-row.total {
    font-size: 1.3rem;
    font-weight: 800;
    color: #291D18;
    margin-top: 15px;
    border-top: 2px dashed #eee;
    padding-top: 15px;
}

.btn-pay {
    width: 100%;
    padding: 18px;
    background: #10B981;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.25);
    margin-top: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: transform 0.2s;
}

.btn-pay:hover {
    transform: translateY(-2px);
    background: #059669;
}

.secure-badge {
    text-align: center;
    margin-top: 15px;
    font-size: 0.75rem;
    color: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.payment-methods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 25px;
}

.pm-option {
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 18px 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s ease;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    opacity: 0.65;
}

.pm-option:hover {
    opacity: 0.9;
    border-color: #d1d5db;
}

.pm-option.active {
    border-color: #D97706;
    background: #FFF7ED;
    opacity: 1;
    font-weight: 800;
    color: #D97706;
    box-shadow: 0 4px 15px rgba(217, 119, 6, 0.12);
}

.pm-icon {
    font-size: 1.6rem;
    display: block;
}

.pm-label {
    font-size: 0.85rem;
    display: block;
    font-weight: 700;
}

@media (max-width:480px) {
    .payment-methods {
        gap: 8px;
    }

    .pm-option {
        padding: 15px 5px;
    }

    .pm-label {
        font-size: 0.75rem;
        white-space: nowrap;
    }

    .pm-icon {
        font-size: 1.4rem;
        margin-bottom: 2px;
    }
}

:root {
    --bg-page: #FFF9F2;
    --card-bg: #FFFFFF;
    --text-main: #4A403A;
    --text-muted: #8D7B72;
    --accent: #D97706;
    --accent-hover: #B45309;
    --border: #EFE6DC;
    --shadow: 0 10px 30px -5px rgba(92, 64, 51, 0.08);
    --radius: 20px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    outline: none;
}

body {
    background-color: var(--bg-page);
    color: var(--text-main);
    font-family: 'Nunito', sans-serif;
    line-height: 1.6;
    margin: 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 55px;
}

.brand {
    display: flex;
    align-items: center;
    width: 180px;
    height: 100%;
}

.logo-img {
    width: auto;
    height: 100%;
    max-height: 50px;
    object-fit: contain;
}

.nav-track {
    text-decoration: none;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid #E5E7EB;
    border-radius: 50px;
    padding: 8px 18px;
    background-color: #ffffff;
    transition: all 0.3s ease;
}

.nav-track i {
    font-size: 1rem;
    color: #D97706;
    margin: 0;
    line-height: 1;
}

.track-text {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: none;
    color: #374151;
    line-height: 1;
    letter-spacing: 0px;
}

.nav-track:hover {
    border-color: #D97706;
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.15);
    transform: translateY(-1px);
}

.main-wrapper {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 20px 0 20px;
}

.hero-tag {
    display: inline-block;
    background: #FEF3C7;
    color: #92400E;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-family: 'Lora', serif;
    font-size: 1.8rem;
    color: #291D18;
    line-height: 1.2;
    margin-bottom: 10px;
}

.highlight {
    color: var(--accent);
    font-style: italic;
}

.hero-subtitle {
    color: #8D7B72;
    font-family: 'Lora', serif;
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 25px;
    background: rgba(255, 251, 240, 0.6);
    padding: 12px 25px;
    border-radius: 50px;
    border: 1px solid rgba(217, 119, 6, 0.1);
    display: inline-block;
}

.visualizer-container {
    background: var(--card-bg);
    padding: 15px;
    border-radius: var(--radius);
    box-shadow: 0 10px 30px -5px rgba(92, 64, 51, 0.08);
    margin-bottom: 25px;
    border: 1px solid #FFF;
    position: relative;
}

.mockup-area {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    background: #F5F0EB;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 0;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.03);
}

.layer-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: auto;
    transform-origin: center center;
    transition: none;
}

.cushion-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    pointer-events: none;
}

.dynamic-layer {
    position: absolute;
    transform-origin: center center;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    overflow: visible;
    pointer-events: none;
    user-select: none;
    z-index: 50 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

#overlay-name,
#preview-name {
    font-family: 'Budidaya', cursive;
    text-transform: uppercase;
}

#overlay-date,
#preview-date {
    font-family: 'Budidaya', cursive;
    font-weight: 400;
}

.upload-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 90%;
    max-width: 400px;
    margin: 25px auto;
    padding: 16px 24px;
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: white;
    border: 3px solid #fff;
    border-radius: 12px;
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(234, 88, 12, 0.3);
    animation: heartbeat 2s infinite ease-in-out;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    overflow: hidden;
}

@media (max-width:600px) {
    .upload-btn {
        font-size: 0.9rem;
        padding: 12px 15px;
        border-radius: 8px;
    }
}

.upload-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(234, 88, 12, 0.4);
}

@keyframes heartbeat {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(230, 126, 34, 0.7);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(230, 126, 34, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(230, 126, 34, 0);
    }
}

.upload-btn input {
    display: none;
}

/* Estado: foto subida — barra limpia */
.upload-btn.photo-uploaded {
    background: #fff !important;
    box-shadow: none !important;
    animation: none;
    border: 2px solid #E5E0DB !important;
    border-radius: 10px !important;
    padding: 12px 16px !important;
    margin: 15px auto 10px auto !important;
    width: 100%;
    cursor: pointer;
    opacity: 1;
}

.upload-btn.photo-uploaded:hover {
    border-color: #D97706 !important;
    background: #FFFBF5 !important;
    box-shadow: none !important;
}

.uploaded-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.uploaded-left {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 800;
    color: #291D18;
    letter-spacing: 0.3px;
}

.uploaded-right {
    font-size: 0.8rem;
    font-weight: 700;
    color: #D97706;
    text-decoration: underline;
    text-underline-offset: 2px;
}

@media (max-width:600px) {
    .upload-btn.photo-uploaded {
        padding: 10px 14px !important;
    }
    .uploaded-left { font-size: 0.8rem; }
    .uploaded-right { font-size: 0.75rem; }
}

.icon-btn {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: 1px solid #E5E7EB;
    background: #F3F4F6;
    font-size: 1rem;
    cursor: pointer;
    color: #1F2937;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
    touch-action: manipulation;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.icon-btn:hover {
    background: #E5E7EB;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.icon-btn:active {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
    transform: scale(0.95);
}

/* ═══════════ SECCIÓN PERSONALIZACIÓN ═══════════ */
.personalization-section {
    background: transparent;
    border-radius: 0;
    padding: 15px 5px;
    margin: 15px 0 20px;
    border: none;
}

.section-header-custom {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding-bottom: 14px;
    margin-bottom: 18px;
    border-bottom: 2px solid #E5E7EB;
}

.section-header-custom h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    color: #1F2937;
    letter-spacing: 1.5px;
    margin: 0;
}

.section-icon {
    font-size: 1.2rem;
}

.step-block {
    margin-bottom: 16px;
}

.step-block:last-child {
    margin-bottom: 0;
}

.step-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    color: #1F2937;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #D97706;
    color: white;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 800;
    flex-shrink: 0;
}

.optional-tag {
    font-size: 0.65rem;
    font-weight: 600;
    color: #9CA3AF;
    text-transform: lowercase;
    font-style: italic;
    letter-spacing: 0;
}

/* Input Budidaya: centrado, fuente grande, borde premium */
.budidaya-input {
    font-family: 'Budidaya', cursive !important;
    text-align: center !important;
    font-size: 1.8rem !important;
    letter-spacing: -1px;
    padding: 7px 14px !important;
    color: #1F2937;
    border: 2px solid #D4B483;
    border-radius: 12px;
    background: #FFFDF8;
    transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
    box-shadow: 0 1px 4px rgba(217, 119, 6, 0.07), inset 0 1px 3px rgba(217, 119, 6, 0.04);
}

.budidaya-input:focus {
    border-color: #D97706;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.15), 0 2px 8px rgba(217, 119, 6, 0.1);
    outline: none;
}

.budidaya-input::placeholder {
    font-family: 'Budidaya', cursive !important;
    font-size: 1.4rem !important;
    letter-spacing: 0px;
    color: #9CA3AF;
    font-style: normal;
    opacity: 1;
    text-transform: uppercase;
}

/* Upload dentro de paso */
.step-block .upload-btn {
    margin: 0 auto;
    width: 100%;
    max-width: 100%;
    border-radius: 10px;
}

/* Estado foto subida dentro del paso */
.step-block .upload-btn.photo-uploaded {
    display: flex;
    justify-content: space-between;
    background: #F9FAFB;
    color: #1F2937;
    border: 2px solid #E5E7EB;
    box-shadow: none;
    font-size: 0.85rem;
    padding: 12px 16px;
}

.personalization-form {
    margin-bottom: 20px;
    padding: 0 5px;
}

.input-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--text-muted);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.custom-input {
    width: 100%;
    padding: 9px 14px;
    background: #FFF;
    border: 2px solid var(--border);
    border-radius: 10px;
    font-size: 1rem;
    color: var(--text-main);
    transition: border-color 0.25s, box-shadow 0.25s;
    margin-bottom: 15px;
    outline: none;
    box-shadow: 0 1px 4px rgba(92, 64, 51, 0.06);
}

.custom-input::placeholder {
    color: #9CA3AF;
    font-style: normal;
    opacity: 1;
    font-size: 0.95rem;
    text-transform: uppercase;
}

.custom-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.12), 0 2px 8px rgba(217, 119, 6, 0.08);
    background: #FFFEF9;
}

.benefits-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 20px 0;
}

.benefit-card {
    display: grid;
    grid-template-columns: 50px 1fr;
    grid-template-rows: auto auto;
    column-gap: 15px;
    background: #FFF;
    padding: 12px 15px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-align: left;
    align-items: center;
}

.icon-box {
    grid-column: 1;
    grid-row: 1 / -1;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    line-height: 1;
}

.benefit-title {
    grid-column: 2;
    grid-row: 1;
    font-size: 0.95rem;
    font-weight: 800;
    color: #291D18;
    margin: 0 0 4px 0;
    line-height: 1.2;
}

.benefit-desc {
    grid-column: 2;
    grid-row: 2;
    font-size: 0.85rem;
    color: #6B7280;
    margin: 0;
    line-height: 1.3;
}

.offer-box {
    background: #FFF5E0;
    border: 2px solid var(--accent);
    border-radius: 16px;
    padding: 15px 20px;
    margin-bottom: 25px;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.offer-tag {
    position: absolute;
    top: -10px;
    right: 15px;
    background: var(--accent);
    color: white;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 20px;
}

.offer-content {
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-right: 10px;
}

.offer-check {
    background: var(--accent);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.offer-text h3 {
    font-size: 1rem;
    margin-bottom: 2px;
    font-weight: 800;
    margin-top: 0;
}

.offer-text p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
    white-space: nowrap;
}

.offer-price {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-main);
    text-align: right;
    white-space: nowrap;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
}

@media only screen and (max-width:400px) {
    .offer-text p {
        font-size: 0.7rem;
        white-space: normal;
    }
}

.checkout-card {
    background: #FFF;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 10px 40px -5px rgba(0, 0, 0, 0.06);
}

.section-title {
    font-family: 'Lora', serif;
    font-size: 1.3rem;
    margin-bottom: 15px;
    margin-top: 0;
    border-bottom: 1px solid var(--border);
    padding-bottom: 8px;
}

.input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 10px;
}

.full {
    width: 100%;
    margin-bottom: 10px;
}

.styled-input {
    width: 100%;
    padding: 12px;
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    font-family: 'Nunito', sans-serif;
    font-size: 0.95rem;
    color: #374151;
    transition: 0.2s;
    outline: none;
}

.styled-input:focus {
    background: #fff;
    border-color: var(--accent);
}

.payment-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
}

.payment-card input[type="radio"] {
    display: none;
}

.payment-card {
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #FFF;
}

.payment-card:hover {
    border-color: #D1D5DB;
    background: #F9FAFB;
}

.payment-card.active {
    border-color: var(--accent);
    background: #FFFBF0;
}

.pay-info {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-main);
}

.pay-icon {
    font-size: 1.4rem;
    width: 30px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.check-circle {
    width: 22px;
    height: 22px;
    border: 2px solid #D1D5DB;
    border-radius: 50%;
    position: relative;
    transition: all 0.2s;
}

.payment-card.active .check-circle {
    border-color: var(--accent);
    background: var(--accent);
}

.payment-card.active .check-circle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
}

.submit-btn-final {
    width: 100%;
    background: var(--accent);
    color: white;
    padding: 18px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 800;
    border: none;
    cursor: pointer;
    margin-top: 15px;
    box-shadow: 0 8px 20px rgba(217, 119, 6, 0.25);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.submit-btn-final:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

footer {
    background: #291D18;
    color: #D6CFC7;
    padding: 40px 20px;
    text-align: center;
    margin-top: 40px;
    font-size: 0.9rem;
}

footer a {
    color: #D6CFC7;
    margin: 0 8px;
    text-decoration: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 30px;
    padding-bottom: 30px;
    text-align: left;
}

.footer-logo {
    color: #FFF;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 10px;
    margin-top: 0;
}

.footer-col h4 {
    color: #FFF;
    font-size: 0.9rem;
    margin-bottom: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list li {
    margin-bottom: 8px;
}

@media(max-width:768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media only screen and (max-width:768px) {
    .navbar {
        padding: 10px 15px;
        height: 50px;
    }

    .brand {
        width: 140px;
        display: flex;
        align-items: center;
    }

    .logo-img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    .nav-track {
        padding: 5px 12px;
        gap: 5px;
    }

    .nav-track i {
        font-size: 0.9rem;
    }

    .track-text {
        font-size: 0.65rem;
    }
}

.shipping-premium-box {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    border: 1px solid #E5E7EB;
    border-left: 4px solid #10B981;
    border-radius: 8px;
    padding: 12px 15px;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.ship-icon-col {
    font-size: 1.4rem;
    color: #374151;
    margin-right: 15px;
    display: flex;
    align-items: center;
}

.ship-text-col {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.ship-date {
    font-size: 0.95rem;
    color: #1F2937;
}

.ship-free {
    font-size: 0.75rem;
    color: #059669;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.reviews-header-section {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 20px;
}

.reviews-wrapper {
    overflow: hidden;
    padding: 5px 0 30px 0;
    margin-bottom: 20px;
    background: transparent;
    position: relative;
}

.reviews-track {
    display: flex;
    gap: 20px;
    padding-right: 20px; /* Crucial: mismo valor que el gap para que el -50% sea exacto */
    width: max-content;
    animation: scroll-infinite 45s linear infinite;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

.review-card {
    background: #FFF;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    width: 420px;
    flex-shrink: 0;
    display: flex;
    gap: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.review-img {
    width: 145px;
    object-fit: cover;
    flex-shrink: 0;
    display: block;
}

.review-content {
    flex: 1;
    padding: 14px 16px 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.review-stars {
    color: #F59E0B;
    font-size: 0.95rem;
    letter-spacing: 1px;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.review-text {
    font-size: 0.78rem;
    color: #555;
    line-height: 1.45;
    margin: 0;
    font-style: italic;
}

@keyframes scroll-infinite {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.value-box {
    background: #FFFCF9;
    border: 1px solid #FED7AA;
    border-radius: 16px;
    margin: 20px 0;
    overflow: hidden;
}

.value-row {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
}

.value-icon {
    background-color: #FFF7ED !important;
    color: #EA580C !important;
    border: 1px solid #FED7AA !important;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-right: 15px;
}

.value-text {
    display: flex;
    flex-direction: column;
}

.value-title {
    font-weight: 700;
    color: #1F2937;
    font-size: 0.9rem;
}

.value-desc {
    font-size: 0.8rem;
    color: #6B7280;
    line-height: 1.2;
}

.value-divider {
    height: 1px;
    background: #F3F4F6;
    margin: 0 60px 0 20px;
}

.shipping-highlight {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: #ECFDF5;
    color: #065F46;
    padding: 12px 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    border: 1px dashed #6EE7B7;
    text-align: left;
}

.shipping-highlight i {
    font-size: 1.8rem;
}

.shipping-text-col {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.ship-main {
    font-size: 1rem;
    display: block;
}

.ship-main strong {
    font-weight: 800;
    text-decoration: underline;
}

.trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #FFFFFF;
    border: 1px solid #EFE6DC;
    padding: 8px 20px;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(92, 64, 51, 0.05);
}

.trust-pill .stars {
    color: #D97706;
    font-size: 1.1rem;
    line-height: 1;
    letter-spacing: 1px;
}

.trust-pill .trust-text {
    font-family: 'Nunito', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: #4A403A;
    margin: 0;
    line-height: 1.2;
}

.preview-badge {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: #000;
    color: white;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 100;
    pointer-events: none;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
}

.modal-preview {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 11000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    padding: 15px;
}

.modal-content {
    width: 90%;
    max-width: 450px;
    max-height: 85vh;
    background: white;
    padding: 15px;
    border-radius: 15px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: auto;
    overflow: hidden;
}

.modal-content img {
    max-width: 100%;
    max-height: calc(85vh - 140px);
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    flex-shrink: 1;
    min-height: 0;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #999;
    font-size: 1.8rem;
    cursor: pointer;
    background: white;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    border: none;
    flex-shrink: 0;
}

.modal-title {
    text-align: center;
    color: #333;
    margin: 10px 0 20px 0;
    font-family: 'Lora', serif;
    font-size: 1.5rem;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

@media (max-width:768px) {
    .modal-content {
        width: 95%;
        padding: 15px;
        margin-top: 20px;
    }
}

.sticky-mobile-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #FFFFFF;
    border-top: 1px solid #EFE6DC;
    padding: 10px 15px;
    z-index: 9999;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.05);
    animation: slideUp 0.3s ease-out;
}

.nav-container {
    display: flex;
    gap: 12px;
    max-width: 600px;
    margin: 0 auto;
    align-items: stretch;
}

.nav-action-btn {
    flex: 4;
    background: #D97706;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px;
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 5px rgba(217, 119, 6, 0.2);
    transition: all 0.2s;
}

.nav-action-btn.ready {
    background: #10B981;
    box-shadow: 0 2px 5px rgba(16, 185, 129, 0.25);
}

.nav-help-btn {
    flex: 1;
    background: transparent;
    color: #4A403A;
    border: 1px solid #EFE6DC;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    padding: 5px;
}

.nav-help-btn i {
    font-size: 1.2rem;
    margin-bottom: 2px;
    color: #D97706;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}

@media (min-width:769px) {
    .sticky-mobile-nav {
        display: none;
    }
}

.sticky-cta-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    padding: 15px;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    transition: bottom 0.4s ease-in-out;
    display: flex;
    justify-content: center;
}

.sticky-btn {
    background: #D97706;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    max-width: 400px;
    transition: all 0.3s;
    font-size: 1rem;
    box-shadow: 0 4px 10px rgba(217, 119, 6, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.sticky-btn:hover {
    background: #B45309;
    transform: scale(1.02);
}

.dark-footer {
    background-color: #291D18;
    color: #fff;
    padding: 60px 20px 20px;
    margin-top: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-col h4 {
    color: #fff;
    font-family: 'Lora', serif;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-desc {
    color: #d1d5db;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-top: 15px;
    max-width: 300px;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list li {
    margin-bottom: 12px;
}

.footer-list a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.2s;
    font-size: 0.95rem;
}

.footer-list a:hover {
    color: #D97706;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #d1d5db;
    text-decoration: none;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.contact-link:hover {
    color: #fff;
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: #9ca3af;
    font-size: 0.85rem;
}

@media (max-width:768px) {
    .dark-footer {
        padding: 40px 20px 16px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 0;
        text-align: center;
    }

    .footer-col {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* Brand section — compacto */
    .footer-col:first-child {
        padding-bottom: 24px;
        border-bottom: 1px solid rgba(255,255,255,0.08);
        margin-bottom: 24px;
    }

    .footer-desc {
        text-align: center;
        font-size: 0.85rem;
        margin-top: 8px;
        max-width: 280px;
    }

    /* Columnas Ayuda y Legal — inline horizontal */
    .footer-col:nth-child(2),
    .footer-col:nth-child(3) {
        padding-bottom: 20px;
        margin-bottom: 20px;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }

    .footer-col h4 {
        font-size: 0.75rem;
        text-transform: uppercase;
        letter-spacing: 1.5px;
        color: #D97706;
        margin-bottom: 12px;
    }

    .footer-list {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px 16px;
    }

    .footer-list li {
        margin-bottom: 4px;
    }

    .footer-list a {
        font-size: 0.85rem;
        color: rgba(255,255,255,0.7);
    }

    /* Contact — botones estilizados */
    .footer-col:nth-child(4) {
        margin-bottom: 0;
    }

    .footer-col:nth-child(4) h4 {
        font-size: 0.75rem;
        text-transform: uppercase;
        letter-spacing: 1.5px;
        color: #D97706;
        margin-bottom: 12px;
    }

    .contact-link {
        justify-content: center;
        background: rgba(255,255,255,0.06);
        border: 1px solid rgba(255,255,255,0.1);
        border-radius: 10px;
        padding: 12px 24px;
        margin-bottom: 8px;
        font-size: 0.9rem;
        transition: all 0.2s;
        width: 100%;
        max-width: 260px;
    }

    .contact-link:hover {
        background: rgba(217, 119, 6, 0.15);
        border-color: rgba(217, 119, 6, 0.3);
    }

    .contact-link i {
        color: #D97706;
    }

    .footer-bottom {
        margin-top: 24px;
        padding-top: 16px;
        font-size: 0.75rem;
    }

    .trust-pill {
        margin-top: -10px !important;
        position: relative;
        z-index: 20;
    }

    .value-box,
    .benefits-grid {
        margin-top: -10px !important;
        position: relative;
        z-index: 10;
    }
}

/* ============================================
   DONATION SECTION
   ============================================ */
.donation-section {
    padding: 15px 20px 40px 20px;
    background: linear-gradient(160deg, #FFFBF0 0%, #FFF1E6 50%, #FEF3C7 100%);
    text-align: center;
}

.donation-section-inner {
    max-width: 520px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 30px 24px;
    border: 1px solid rgba(217, 119, 6, 0.15);
    box-shadow: 0 8px 32px rgba(217, 119, 6, 0.08);
}

.donation-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.donation-paw {
    font-size: 2.2rem;
    display: inline-block;
    animation: pawBounce 2s ease-in-out infinite;
}

@keyframes pawBounce {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-4px) rotate(-5deg); }
    75% { transform: translateY(-2px) rotate(5deg); }
}

.donation-title {
    font-family: 'Lora', serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #291D18;
    line-height: 1.3;
    margin: 0;
}

.donation-desc {
    font-size: 0.88rem;
    color: #5D534D;
    line-height: 1.65;
    margin: 0 0 20px 0;
}

.donation-desc strong {
    color: #92400E;
    font-weight: 800;
}

.donation-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 18px;
}

.donation-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 8px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 12px;
    border: 1px solid rgba(217, 119, 6, 0.1);
}

.donation-stat-number {
    font-family: 'Lora', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #D97706;
    line-height: 1;
    margin-bottom: 4px;
}

.donation-stat-label {
    font-size: 0.65rem;
    font-weight: 700;
    color: #78716C;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    line-height: 1.2;
}

.donation-footer-text {
    font-size: 0.85rem;
    color: #92400E;
    font-weight: 700;
    margin: 0;
    font-style: italic;
}

@media (max-width: 400px) {
    .donation-title { font-size: 1.15rem; }
    .donation-stat-number { font-size: 1.2rem; }
    .donation-section-inner { padding: 24px 16px; }
}