/* ============================================
   Toffy & Fluffy
   ============================================ */

:root {
    /* Brand palette */
    --tf-pink: #FFB6C1;
    --tf-pink-d: #FF8FA3;
    --tf-mint: #A0E7E5;
    --tf-mint-d: #6BD0CE;
    --tf-butter: #FFD580;
    --tf-butter-d: #FFB347;
    --tf-lavender: #C7B8EA;
    --tf-sky: #B8E0FF;
    --tf-cream: #FFF8F0;

    --tf-text: #3D2C5C;
    --tf-text-soft: #6B5B8A;
    --tf-muted: #9C8FB3;

    --tf-success: #4CD7B0;
    --tf-warning: #FFC857;
    --tf-danger: #FF6B7A;

    /* Effects */
    --tf-radius: 20px;
    --tf-radius-sm: 12px;
    --tf-radius-lg: 32px;
    --tf-shadow-sm: 0 4px 14px rgba(124, 92, 188, 0.10);
    --tf-shadow: 0 10px 30px rgba(124, 92, 188, 0.12);
    --tf-shadow-lg: 0 20px 50px rgba(124, 92, 188, 0.18);

    /* Type */
    --tf-font: 'Nunito', 'Poppins', system-ui, -apple-system, Segoe UI, sans-serif;
    --tf-font-h: 'Fredoka', 'Baloo 2', 'Nunito', sans-serif;
}

/* Reset / base */
* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    font-family: var(--tf-font);
    color: var(--tf-text);
    background: linear-gradient(180deg, var(--tf-cream) 0%, #FFFFFF 100%);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6,
.display-1,
.display-2,
.display-3,
.display-4 {
    font-family: var(--tf-font-h);
    font-weight: 700;
    color: var(--tf-text);
    letter-spacing: -0.01em;
}

h1,
.display-3 {
    font-size: clamp(2rem, 4.5vw, 2.4rem);
    line-height: 1.15;
}

h2 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
}

h3 {
    font-size: clamp(1.3rem, 2.2vw, 1.7rem);
}

a {
    color: var(--tf-pink-d);
    text-decoration: none;
}

a:hover {
    color: var(--tf-text);
}

/* Buttons */
.btn {
    border-radius: 999px;
    font-weight: 700;
    padding: 12px 26px;
    transition: transform .15s ease, box-shadow .2s ease, background .2s;
    border: none;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary,
.btn-pink {
    background: linear-gradient(135deg, #fa438f 0%, #fa438f 100%);
    color: #fff !important;
    box-shadow: 0 6px 18px rgba(255, 143, 163, 0.45);
}

.btn-primary:hover,
.btn-pink:hover {
    background: linear-gradient(135deg, #ff002e 0%, #eb3a5e 100%);
    color: #fff !important;
    box-shadow: 0 10px 24px rgba(255, 143, 163, 0.55);
}

.btn-secondary,
.btn-mint {
    background: linear-gradient(135deg, #448d8b 0%, #34afac 100%);
    color: #fff !important;
    box-shadow: 0 6px 18px rgba(107, 208, 206, 0.4);
}

.btn-butter {
    background: linear-gradient(135deg, var(--tf-butter) 0%, var(--tf-butter-d) 100%);
    color: var(--tf-text) !important;
    box-shadow: 0 6px 18px rgba(255, 179, 71, 0.4);
}

.btn-outline-pink {
    background: #fa438f;
    color: #fff !important;
    border: 2px solid #fa438f;
}

.btn-outline-pink:hover {
    background: #fa438f;
    color: #fff !important;
    border-color: #fa438f;
    box-shadow: 0 6px 18px rgba(250, 67, 143, 0.45);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

.btn-sm {
    padding: 8px 18px;
    font-size: .9rem;
}

/* Cards */
.card,
.tf-card {
    border: none;
    border-radius: var(--tf-radius);
    box-shadow: var(--tf-shadow-sm);
    background: #fff;
    transition: transform .25s ease, box-shadow .25s ease;
    overflow: hidden;
}

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

.product-card {
    border-radius: var(--tf-radius);
    background: #fff;
    box-shadow: var(--tf-shadow-sm);
    overflow: hidden;
    transition: all .25s;
    height: 100%;
}

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

.product-card .product-img {
    aspect-ratio: 1 / 1;
    background: linear-gradient(135deg, var(--tf-cream) 0%, #fff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
}

.product-card .product-img img,
.product-card .product-img svg {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-card .badge-discount {
    position: absolute;
    top: 14px;
    left: 14px;
    background: #fa438f;
    color: #fff;
    border-radius: 999px;
    padding: 4px 12px;
    font-size: .75rem;
    font-weight: 700;
}

/* Large badge for product detail page */
.badge-discount-lg {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #fa438f;
    color: #fff;
    border-radius: 999px;
    padding: 8px 20px;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 14px rgba(250, 67, 143, 0.4);
    z-index: 2;
}

.product-card .body {
    padding: 18px;
}

.product-card h5 {
    font-size: 1.05rem;
    margin: 0 0 6px;
    min-height: 2.5em;
}

.product-card .price {
    color: #fa438f;
    font-weight: 800;
    font-size: 1.15rem;
}

.product-card .mrp {
    color: #000;
    text-decoration: line-through;
    margin-left: 8px;
    font-size: .9rem;
    font-weight: 800;
}

/* Hero */
.tf-hero {
    position: relative;
    padding: clamp(40px, 8vw, 45px) 0;
    background:
        radial-gradient(circle at 10% 20%, rgba(255, 182, 193, .35) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(160, 231, 229, .35) 0%, transparent 40%),
        linear-gradient(180deg, #FFF8F0 0%, #FFFFFF 100%);
    overflow: hidden;
}

.tf-hero::before,
.tf-hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 213, 128, .25);
    pointer-events: none;
}

.tf-hero::before {
    width: 280px;
    height: 280px;
    top: -80px;
    right: -60px;
}

.tf-hero::after {
    width: 200px;
    height: 200px;
    bottom: -60px;
    left: -40px;
    background: rgba(199, 184, 234, .25);
}

.tf-hero .hero-eyebrow {
    display: inline-block;
    background: rgba(255, 255, 255, .9);
    padding: 8px 18px;
    border-radius: 999px;
    font-weight: 700;
    color: #fa438f;
    box-shadow: var(--tf-shadow-sm);
    margin-bottom: 18px;
}

.tf-hero h1 strong {
    color: #fa438f;
}

.tf-hero .lead {
    color: #000;
    font-size: 1.15rem;
    max-width: 540px;
}

/* Class card */
.class-card {
    border-radius: var(--tf-radius-lg);
    padding: 28px 22px;
    color: var(--tf-text);
    box-shadow: var(--tf-shadow-sm);
    position: relative;
    overflow: hidden;
    transition: all .3s;
    min-height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

.class-card .class-icon {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, .6);
    border-radius: 18px;
    display: grid;
    place-items: center;
    font-size: 28px;
    margin: 0 auto;          /* center horizontally */
}

.class-card .class-pill {
    display: inline-block;
    padding: 5px 14px;
    background: rgb(250 67 143);
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 700;
    margin-top: 10px;
    color: #ffffff;
}

.class-card h3 {
    margin: 14px 0 6px;
}

/* Sections */
.tf-section {
    padding: 45px 0;
    background: var(--tf-gradient-soft);
    background-image: linear-gradient(135deg, rgb(237 213 221) 0%, rgb(255, 224, 236) 100%);
    background-position-x: initial;
    background-position-y: initial;
    background-size: initial;
    background-repeat: initial;
    background-attachment: initial;
    background-origin: initial;
    background-clip: initial;
    background-color: initial;
}

.tf-section .section-title {
    text-align: center;
    margin-bottom: 48px;
}

.tf-section .section-title small {
    display: inline-block;
    background: #fa438f;
    color: #ffffff;
    padding: 6px 16px;
    border-radius: 999px;
    font-weight: 700;
    font-size: .9rem;
    margin-bottom: 12px;
}

/* WhatsApp float button */
.tf-whatsapp {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: grid;
    place-items: center;
    box-shadow: 0 8px 24px rgba(37, 211, 102, .45);
    z-index: 9999;
    transition: transform .2s;
    animation: tfPulse 2.5s infinite;
}

.tf-whatsapp:hover {
    transform: scale(1.1);
    color: #fff;
}

.tf-whatsapp svg {
    width: 32px;
    height: 32px;
}

@keyframes tfPulse {

    0%,
    100% {
        box-shadow: 0 8px 24px rgba(37, 211, 102, .45);
    }

    50% {
        box-shadow: 0 8px 24px rgba(37, 211, 102, .45), 0 0 0 14px rgba(37, 211, 102, 0);
    }
}

/* Navbar */
.tf-navbar {
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(10px);
    box-shadow: var(--tf-shadow-sm);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.tf-navbar .navbar-brand {
    font-family: var(--tf-font-h);
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--tf-text);
    display: flex;
    align-items: center;
    gap: 10px;
}

.tf-navbar .navbar-brand .brand-mark {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--tf-pink) 0%, var(--tf-lavender) 100%);
    border-radius: 14px;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 22px;
}

.tf-navbar .nav-link {
    color: var(--tf-text) !important;
    font-weight: 700;
    padding: 8px 14px !important;
    border-radius: 999px;
    transition: all .2s;
}

.tf-navbar .nav-link:hover,
.tf-navbar .nav-link.active {
    background: var(--tf-cream);
    color: var(--tf-pink-d) !important;
}

.tf-navbar .cart-link {
    position: relative;
    background: var(--tf-pink);
    color: #fff !important;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
}

.tf-navbar .cart-link .cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #e5366d;
    color: #fff;
    font-size: .75rem;
    font-weight: 700;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    border: 2px solid #fff;
}

/* Forms */
.form-control,
.form-select {
    border-radius: var(--tf-radius-sm);
    border: 2px solid #EEE6F2;
    padding: 12px 16px;
    font-family: var(--tf-font);
    transition: all .2s;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--tf-pink);
    box-shadow: 0 0 0 4px rgba(255, 182, 193, .25);
}

.form-label {
    font-weight: 700;
    color: var(--tf-text);
}

/* Footer */
.tf-footer {
    background: linear-gradient(180deg, #2C1F47 0%, #1F1535 100%);
    color: #E5DCF5;
    padding: 60px 0 20px;
    margin-top: 80px;
}

.tf-footer h5 {
    color: #fff;
    font-family: var(--tf-font-h);
    margin-bottom: 18px;
}

.tf-footer a {
    color: #E5DCF5;
}

.tf-footer a:hover {
    color: var(--tf-pink);
}

.tf-footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
    margin-top: 40px;
    padding-top: 20px;
    font-size: .9rem;
    color: #fff;
}

/* Banners (CTA) */
.tf-cta-banner {
    border-radius: var(--tf-radius-lg);
    padding: clamp(30px, 5vw, 60px);
    background: linear-gradient(132deg, #31337a 0%, #31337a 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.tf-cta-banner h2 {
    color: #fff;
}

.tf-cta-banner .lead {
    color: rgba(255, 255, 255, .92);
}

/* Badges */
.tf-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 700;
    background: var(--tf-cream);
    color: #ffffff;
}

/* Page hero (smaller hero for inner pages) */
.tf-page-hero {
    /*background: linear-gradient(135deg, #e3dcd4 0%, #e3dcd4 100%);*/
    background: linear-gradient(135deg, #df9239 0%, #df9239 100%);
    padding: 50px 0;
    text-align: center;
    border-radius: 0 0 var(--tf-radius-lg) var(--tf-radius-lg);
    margin-bottom: 40px;
}

.tf-page-hero .breadcrumb {
    justify-content: center;
    background: transparent;
}

/* Floating shapes (decorative) */
.tf-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: .5;
    pointer-events: none;
}

/* Utility */
.text-pink {
    color: #fa438f !important;
}

.text-mint {
    color: var(--tf-mint-d) !important;
}

.text-soft {
    color: #000 !important;
    font-weight: 600;
}

.bg-pink {
    background: var(--tf-pink) !important;
}

.bg-mint {
    background: var(--tf-mint) !important;
}

.bg-butter {
    background: var(--tf-butter) !important;
}

.bg-lavender {
    background: var(--tf-lavender) !important;
}

.bg-sky {
    background: var(--tf-sky) !important;
}

.bg-cream {
    background: var(--tf-cream) !important;
}

.rounded-tf {
    border-radius: var(--tf-radius) !important;
}

/* Character animation */
@keyframes tfBob {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

.tf-bob {
    animation: tfBob 3.5s ease-in-out infinite;
}

@keyframes tfWiggle {

    0%,
    100% {
        transform: rotate(-3deg);
    }

    50% {
        transform: rotate(3deg);
    }
}

.tf-wiggle {
    animation: tfWiggle 2.4s ease-in-out infinite;
    transform-origin: bottom center;
}

/* Responsive tweaks */
@media (max-width: 768px) {
    .tf-section {
        padding: 50px 0;
    }

    .tf-hero {
        padding: 30px 0 50px;
        text-align: center;
    }

    .tf-hero .lead {
        margin-left: auto;
        margin-right: auto;
    }

    .tf-whatsapp {
        width: 52px;
        height: 52px;
        right: 16px;
        bottom: 16px;
    }

    .tf-whatsapp svg {
        width: 28px;
        height: 28px;
    }
}

/* Print */
@media print {

    .tf-navbar,
    .tf-footer,
    .tf-whatsapp {
        display: none !important;
    }
}

.btn-lg {
    font-size: 1.05rem;
    padding: 12px 26px;
}

/* Hero buttons side-by-side on all screen sizes */
.btn-hero {
    font-size: 1.05rem;
    padding: 13px 28px;
    white-space: nowrap;
    flex: 1 1 0;
    text-align: center;
    max-width: 200px;
}

.hero-btn-row {
    width: 100%;
    max-width: 440px;
}

@media (max-width: 480px) {
    .btn-hero {
        font-size: 0.9rem;
        padding: 11px 16px;
    }
}

.tf-navbar .cart-link {
    position: relative;
    width: 42px;
    height: 42px;
    display: grid;
    color: rgb(255, 255, 255) !important;
    background: #fa438f;
    border-radius: 50%;
    place-items: center;
}
p {
    margin-top: 0;
    margin-bottom: 1rem;
    color: #000;
}
.img-fluid {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
}