/* Explain: Custom styles for about page sections, contact hero, and social CTAs. */
.pop-about {
    display: grid;
    gap: 2.75rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .pop-about {
        grid-template-columns: 0.95fr 1.05fr;
    }
}

.pop-about-media {
    position: relative;
}

.pop-about-frame {
    overflow: hidden;
    border-radius: var(--radius-lg);
    aspect-ratio: 4 / 3;
    border: 6px solid var(--surface-color);
    box-shadow: var(--shadow-md);
    background: var(--surface-muted);
}

.pop-about-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pop-about-badge {
    position: absolute;
    inset-block-end: -1.1rem;
    inset-inline-end: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.75rem 1.1rem;
    border-radius: var(--radius-md);
    color: #ffffff;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    box-shadow: var(--shadow-md);
}

.pop-about-badge i {
    color: #ffffff;
}

.pop-about-badge-value {
    display: block;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.05rem;
    line-height: 1.1;
}

.pop-about-badge-label {
    display: block;
    font-size: 0.8rem;
    opacity: 0.9;
}

.pop-value-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.7rem;
}

.pop-value-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    color: var(--text-color);
    font-weight: 600;
}

.pop-value-list i {
    margin-top: 0.15rem;
    color: var(--primary-color);
}

.pop-social-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-height: 4.75rem;
    padding: 1.1rem 1.35rem;
    border-radius: var(--radius-md);
    color: #ffffff;
    box-shadow: var(--shadow-md);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pop-social-cta:hover {
    transform: translateY(-3px);
}

.pop-social-cta-icon {
    display: grid;
    place-items: center;
    width: 2.9rem;
    height: 2.9rem;
    border-radius: 0.9rem;
    background: color-mix(in srgb, #ffffff 22%, transparent);
    font-size: 1.35rem;
}

.pop-social-cta-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.pop-social-cta-text strong {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
}

.pop-social-cta-text span {
    font-size: 0.85rem;
    opacity: 0.9;
}

.pop-social-cta > i:last-child {
    margin-inline-start: auto;
    opacity: 0.85;
}

.pop-social-cta-instagram {
    background: linear-gradient(135deg, #f97316, #ec4899 55%, #a855f7);
}

.pop-social-cta-whatsapp {
    background: linear-gradient(135deg, #fb7185, #f97316 60%, #ea580c);
}

.pop-social-cta-tiktok {
    background: linear-gradient(135deg, #22d3ee, #0f172a 55%, #ec4899);
}

.pop-social-cta-facebook {
    background: linear-gradient(135deg, #38bdf8, #2563eb 60%, #1d4ed8);
}

.pop-contact-hero {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: 11rem;
}

.pop-contact-hero-logo {
    position: absolute;
    inset-block-start: 50%;
    inset-inline-start: 50%;
    width: min(26rem, 78%);
    height: auto;
    transform: translate(-50%, -50%);
    opacity: 0.3;
    pointer-events: none;
    user-select: none;
    z-index: 0;
    border-radius: var(--radius-lg);
}

.pop-contact-hero-inner {
    position: relative;
    z-index: 1;
}

.pop-about-story {
    max-width: 54rem;
    margin-inline: auto;
    text-align: center;
}

.pop-about-story p {
    margin: 0 0 1.25rem;
    font-size: 1.0625rem;
    line-height: 1.85;
    color: var(--text-color);
}

.pop-story-lead {
    margin-top: 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-muted);
}

.pop-story-final {
    margin-top: 1.75rem;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary-color);
}

.pop-about-logo-wrap {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.pop-about-logo {
    width: min(100%, 46rem);
    height: auto;
    object-fit: contain;
    border-radius: var(--radius-lg);
    background: var(--surface-color);
    box-shadow: var(--shadow-md);
}

.pop-btn-wa {
    padding-block: 0.85rem;
    background: #25d366;
    color: #ffffff;
    box-shadow: 0 14px 30px -14px rgba(37, 211, 102, 0.85);
}

.pop-btn-wa:hover {
    background: #1ebe5b;
    transform: translateY(-2px);
}

.pop-wa-cta-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    padding-block-start: 0.35rem;
}

.pop-wa-cta-hat {
    position: absolute;
    top: -0.6rem;
    left: 50%;
    width: 1.15rem;
    height: 0.9rem;
    transform: translateX(-50%) rotate(-10deg);
    background: linear-gradient(155deg, var(--primary-color), var(--primary-hover));
    border-radius: 0.65rem 0.65rem 0.2rem 0.2rem;
    box-shadow: inset 0 -0.2rem 0 rgba(0, 0, 0, 0.12), 0 2px 4px rgba(34, 28, 26, 0.2);
}

.pop-wa-cta-hat::after {
    content: "";
    position: absolute;
    bottom: -0.16rem;
    right: -0.34rem;
    width: 0.9rem;
    height: 0.32rem;
    background: var(--primary-hover);
    border-radius: 999px;
    transform: rotate(-8deg);
}

.pop-deal {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 1.35rem;
    border-radius: 999px;
    border: 2px solid #ffffff;
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.95rem;
    line-height: 1.3;
    text-align: center;
    background: linear-gradient(120deg, var(--primary-color), var(--secondary-color) 70%, var(--accent-color));
    box-shadow: 0 14px 30px -12px rgba(249, 115, 22, 0.85);
    transform: rotate(-2deg);
    animation: pop-deal-wiggle 2.6s ease-in-out infinite;
    will-change: transform;
}

.pop-deal-icon {
    display: grid;
    place-items: center;
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 999px;
    background: color-mix(in srgb, #ffffff 25%, transparent);
    color: #ffffff;
    font-size: 0.9rem;
}

.pop-deal-star {
    color: #ffe9b8;
    font-size: 0.85rem;
    animation: pop-deal-spin 3.2s linear infinite;
}

.pop-deal::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 999px;
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent-color) 60%, transparent);
    animation: pop-deal-ping 2.6s ease-out infinite;
    pointer-events: none;
}

@keyframes pop-deal-wiggle {
    0%, 100% { transform: rotate(-2deg) scale(1); }
    50% { transform: rotate(2deg) scale(1.04); }
}

@keyframes pop-deal-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pop-deal-ping {
    0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent-color) 55%, transparent); }
    70% { box-shadow: 0 0 0 14px rgba(0, 0, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 0, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
    .pop-deal,
    .pop-deal-star,
    .pop-deal::after {
        animation: none;
    }
}

.pop-legal-grid {
    display: grid;
    gap: 0.9rem;
    margin-top: 2.25rem;
}

.pop-legal-item {
    border-radius: var(--radius-md);
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.pop-legal-item:hover {
    border-color: var(--primary-color);
}

.pop-legal-item.is-open {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.pop-legal-head {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    width: 100%;
    padding: 1.1rem 1.25rem;
    border: 0;
    background: transparent;
    color: var(--text-color);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.05rem;
    text-align: start;
    cursor: pointer;
}

.pop-legal-icon {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 0.85rem;
    background: var(--surface-muted);
    color: var(--primary-color);
    font-size: 1.05rem;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.pop-legal-item.is-open .pop-legal-icon {
    background: var(--primary-color);
    color: #ffffff;
}

.pop-legal-title {
    flex: 1 1 auto;
}

.pop-legal-chevron {
    flex: 0 0 auto;
    color: var(--text-muted);
    transition: transform 0.3s ease, color 0.3s ease;
}

.pop-legal-item.is-open .pop-legal-chevron {
    transform: rotate(180deg);
    color: var(--primary-color);
}

.pop-legal-body {
    padding: 0 1.35rem 1.4rem;
}

.pop-legal-content {
    border-top: 1px solid var(--border-color);
    padding-top: 1.25rem;
    color: var(--text-muted);
    line-height: 1.85;
}

.pop-legal-content h3 {
    margin: 1.25rem 0 0.5rem;
    color: var(--text-color);
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
}

.pop-legal-content h3:first-child {
    margin-top: 0;
}

.pop-legal-content p {
    margin: 0 0 0.9rem;
}

.pop-legal-content ul {
    margin: 0 0 0.9rem;
    padding-inline-start: 1.25rem;
    display: grid;
    gap: 0.35rem;
}

.pop-legal-content strong {
    color: var(--text-color);
}

.pop-shop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 1024px) {
    .pop-shop-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1280px) {
    .pop-shop-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.box-sizes {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .box-sizes {
        gap: 1.1rem;
    }
}

.box-size {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0;
    border-radius: var(--radius-md);
    border: 2px solid var(--border-color);
    background: var(--surface-color);
    color: var(--text-color);
    text-align: start;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: border-color 0.25s ease, box-shadow 0.3s ease, transform 0.25s ease;
}

.box-size:hover {
    transform: translateY(-4px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.box-size-active {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.box-size-media {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--surface-muted);
}

.box-size-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.box-size:hover .box-size-media img {
    transform: scale(1.06);
}

.box-size-check {
    position: absolute;
    inset-block-start: 0.5rem;
    inset-inline-end: 0.5rem;
    display: grid;
    place-items: center;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 999px;
    background: var(--primary-color);
    color: #ffffff;
    font-size: 0.85rem;
    box-shadow: var(--shadow-md);
}

.box-size-body {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.75rem 0.9rem 0.9rem;
}

.box-size-count {
    display: flex;
    align-items: baseline;
    gap: 0.3rem;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    line-height: 1;
    color: var(--text-color);
}

.box-size-count small {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
}

.box-size-price {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--primary-color);
}

.box-size-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    width: 100%;
    margin-top: 0.6rem;
    padding: 0.6rem 0.8rem;
    border-radius: 999px;
    background: linear-gradient(120deg, var(--primary-color), var(--secondary-color));
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.9rem;
    line-height: 1.2;
    text-align: center;
    box-shadow: 0 10px 22px -10px rgba(249, 115, 22, 0.85);
    animation: pop-cta-pulse 1.8s ease-in-out infinite;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.box-size:hover .box-size-cta,
.box-size-active .box-size-cta {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px -10px rgba(249, 115, 22, 0.95);
}

@keyframes pop-cta-pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@media (prefers-reduced-motion: reduce) {
    .box-size-cta {
        animation: none;
    }
}

@media (min-width: 640px) {
    .box-size-count {
        font-size: 1.7rem;
    }

    .box-size-price {
        font-size: 1.05rem;
    }

    .box-size-cta {
        font-size: 1rem;
    }
}

.box-cupcakes {
    display: grid;
    gap: 0.75rem;
}

@media (min-width: 768px) {
    .box-cupcakes {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.box-pick {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.75rem;
    border-radius: var(--radius-md);
    background: var(--surface-color);
    border: 1px solid var(--border-color);
}

.box-pick-thumb {
    flex: 0 0 auto;
    width: 3.5rem;
    height: 3.5rem;
    overflow: hidden;
    border-radius: var(--radius-sm);
    background: var(--surface-muted);
}

.box-pick-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.box-pick-main {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.box-pick-name {
    flex: 1 1 8rem;
    min-width: 0;
    margin: 0;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
}

.box-pick-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    background: var(--surface-muted);
    color: var(--primary-color);
    font-size: 0.75rem;
    font-weight: 800;
}

.pop-box-summary {
    position: sticky;
    bottom: 0;
    z-index: 40;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-md);
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

.pop-box-summary-total {
    display: flex;
    flex-direction: column;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .events-grid {
        gap: 1rem;
    }
}

.events-card {
    position: relative;
    overflow: hidden;
    text-align: center;
    border-radius: var(--radius-md);
    background: linear-gradient(170deg, var(--surface-color), var(--surface-muted));
    border: 1.5px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.3s ease;
}

.events-card:hover {
    transform: translateY(-4px) rotate(-1deg);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.events-card::before {
    content: "";
    position: absolute;
    inset-block-start: -2.25rem;
    inset-inline-end: -2.25rem;
    width: 5.5rem;
    height: 5.5rem;
    border-radius: 50%;
    pointer-events: none;
    background: radial-gradient(circle, color-mix(in srgb, var(--secondary-color) 32%, transparent), transparent 70%);
}

.events-card-body {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    height: 100%;
    padding: 1.1rem 0.85rem 0.95rem;
}

.events-emoji {
    display: grid;
    place-items: center;
    width: 2.4rem;
    height: 2.4rem;
    margin-block-end: 0.2rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--primary-color) 16%, transparent);
    color: var(--primary-color);
    font-size: 1.05rem;
}

.events-count {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2.1rem;
    line-height: 1;
    color: var(--primary-color);
}

.events-unit {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-muted);
}

.events-price {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-block: 0.5rem;
    padding: 0.4rem 1.05rem;
    border-radius: 999px;
    background: linear-gradient(120deg, var(--primary-color), var(--secondary-color));
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.15rem;
    line-height: 1.35;
    box-shadow: 0 10px 22px -12px rgba(249, 115, 22, 0.9);
}

.events-price-custom {
    padding: 0.45rem 0.9rem;
    font-weight: 700;
    font-size: 0.82rem;
    text-align: center;
    line-height: 1.3;
}

.events-card .pop-btn {
    width: 100%;
    margin-top: auto;
}

.pop-cat-section {
    scroll-margin-top: calc(var(--pop-header-h, 4.5rem) + var(--pop-chipbar-h, 3.5rem) + 0.75rem);
}

.pop-cat-head {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding-bottom: 0.9rem;
    border-bottom: 2px dashed var(--border-color);
}

.pop-cat-head-badge {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 2.9rem;
    height: 2.9rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #ffffff;
    font-size: 1.15rem;
    box-shadow: 0 12px 24px -14px rgba(249, 115, 22, 0.9);
}

.pop-cat-head-text {
    min-width: 0;
}

.pop-cat-head-title {
    margin: 0;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.3rem;
    line-height: 1.25;
    color: var(--text-color);
}

.pop-cat-head-count {
    margin: 0.2rem 0 0;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
}

@media (min-width: 640px) {
    .pop-cat-head-title {
        font-size: 1.55rem;
    }
}