/* Kids storefront theme — warm yellow/orange, playful rounded UI */
@import url('https://fonts.googleapis.com/css2?family=Baloo+Bhaijaan+2:wght@500;600;700;800&family=Cairo:wght@400;600;700;800&family=Fredoka:wght@500;600;700&display=swap');

:root {
    --kids-yellow: #FFD54F;
    --kids-yellow-deep: #F5C518;
    --kids-orange: #FF8A1F;
    --kids-orange-deep: #F06D00;
    --kids-coral: #FF5A6B;
    --kids-sky: #3DB9FF;
    --kids-mint: #2ECC9B;
    --kids-ink: #2B2A4A;
    --kids-muted: #6B7280;
    --kids-cream: #FFF8E7;
    --kids-surface: #FFFFFF;
    --kids-radius: 22px;
    --kids-radius-sm: 14px;
    --kids-radius-pill: 999px;
    --kids-shadow: 0 12px 30px rgba(255, 138, 31, 0.18);
    --kids-shadow-soft: 0 8px 24px rgba(43, 42, 74, 0.08);
    --primary: var(--kids-orange);
    --bs-primary: #FF8A1F;
    --bs-primary-rgb: 255, 138, 31;
}

html {
    scroll-behavior: smooth;
}

body {
    background:
        radial-gradient(circle at 12% 8%, rgba(255, 213, 79, 0.35), transparent 42%),
        radial-gradient(circle at 88% 12%, rgba(61, 185, 255, 0.18), transparent 38%),
        radial-gradient(circle at 70% 90%, rgba(255, 138, 31, 0.12), transparent 40%),
        #FFFDF8;
    color: var(--kids-ink);
}

[dir="rtl"] body,
[dir="rtl"] {
    font-family: 'Baloo Bhaijaan 2', 'Cairo', Tahoma, sans-serif;
}

[dir="ltr"] body,
[dir="ltr"] {
    font-family: 'Fredoka', 'Cairo', system-ui, sans-serif;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1040;
    background: var(--kids-surface, #fff);
}

.site-header .top-bar,
.site-header .navbar,
.site-header .navbar-brand .site-logo,
.site-header .navbar-brand i,
.site-header .store-search__submit,
.site-header .store-search__input,
.site-header .store-search__field {
    transition: padding 0.22s ease, min-height 0.22s ease, height 0.22s ease, font-size 0.22s ease, width 0.22s ease;
}

.site-header.is-compact .top-bar {
    padding: 0.18rem 0 !important;
    font-size: 0.78rem !important;
    border-bottom-width: 1px !important;
}

.site-header.is-compact .top-bar > .container > .row > [class*="col-"]:first-child {
    display: none !important;
}

.site-header.is-compact .top-bar > .container > .row > [class*="col-"]:last-child {
    flex: 0 0 100%;
    max-width: 100%;
}

.site-header.is-compact .top-bar-link {
    padding: 2px 8px !important;
    font-size: 0.78rem !important;
}

.site-header.is-compact .lang-switcher__btn,
.site-header.is-compact .currency-switcher__btn {
    min-width: 26px;
    height: 20px;
    padding: 0 5px;
    font-size: 0.62rem;
}

.site-header.is-compact .navbar {
    padding: 0.28rem 0 !important;
}

.site-header.is-compact .navbar-brand {
    font-size: 1.2rem !important;
}

.site-header.is-compact .navbar-brand .site-logo {
    height: 32px;
    max-width: min(132px, 36vw);
}

.site-header.is-compact .navbar-brand i {
    width: 32px;
    height: 32px;
    font-size: 0.95rem;
    border-radius: 10px;
}

.site-header.is-compact .kids-navbar-top {
    gap: 0.4rem 0.6rem;
}

.site-header.is-compact .store-search__field {
    padding-top: 0.08rem;
    padding-bottom: 0.08rem;
}

.site-header.is-compact .store-search__input {
    padding: 0.18rem 0.2rem;
    font-size: 0.85rem;
}

.site-header.is-compact .store-search__submit {
    min-height: 32px;
    padding: 0.28rem 0.7rem;
}

.site-header.is-compact .kids-navbar-end .wishlist-nav-link,
.site-header.is-compact .kids-navbar-end .cart-link {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px;
}

@media (min-width: 992px) {
    .site-header.is-compact .kids-navbar-end .wishlist-nav-link,
    .site-header.is-compact .kids-navbar-end .cart-link {
        width: auto !important;
        height: auto !important;
        min-width: 0;
        padding: 0.28rem 0.7rem !important;
    }
}
.top-bar {
    background: linear-gradient(90deg, var(--kids-yellow) 0%, #FFE082 50%, var(--kids-yellow-deep) 100%) !important;
    color: var(--kids-ink) !important;
    padding: 0.18rem 0 !important;
    font-size: 0.78rem !important;
    border-bottom: 1px solid rgba(255, 138, 31, 0.25);
}

.top-bar-link {
    color: var(--kids-ink) !important;
    font-weight: 700;
    border-radius: var(--kids-radius-pill) !important;
    padding: 2px 8px !important;
    font-size: 0.78rem !important;
}

.top-bar-link:hover {
    background: rgba(255, 255, 255, 0.55) !important;
    color: var(--kids-orange-deep) !important;
}

.top-bar .topbar-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
}

.top-bar .topbar-auth {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.5rem;
    flex: 0 0 auto;
    white-space: nowrap;
}

.top-bar .topbar-auth .top-bar-link {
    flex: 0 0 auto;
    position: relative;
    padding: 2px 8px !important;
    font-size: 0.78rem !important;
}

.top-bar .topbar-switchers {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 0 1 auto;
    min-width: 0;
}

@media (max-width: 767.98px) {
    .top-bar .topbar-actions {
        justify-content: space-between;
    }
}

@media (min-width: 992px) {
    .top-bar .topbar-switchers {
        gap: 10px;
    }
}

.top-bar .topbar-switcher-group {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 8px 3px 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.45);
    flex-shrink: 0;
}

.top-bar .topbar-switcher-group--lang {
    background: rgba(255, 255, 255, 0.34);
}

.top-bar .topbar-switcher-group--currency {
    background: rgba(255, 236, 179, 0.42);
    border-color: rgba(255, 214, 102, 0.55);
}

.top-bar .topbar-switcher-group__label {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--kids-ink);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1;
    white-space: nowrap;
    opacity: 0.92;
    user-select: none;
}

.top-bar .topbar-switcher-group__label i {
    font-size: 0.78rem;
    line-height: 1;
}

.top-bar .lang-switcher,
.top-bar .currency-switcher {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 2px;
    background: rgba(255, 255, 255, 0.55);
    border-radius: 999px;
    flex-shrink: 0;
}

.top-bar .currency-switcher {
    background: rgba(255, 255, 255, 0.72);
}

.top-bar .lang-switcher__btn,
.top-bar .currency-switcher__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 26px;
    height: 20px;
    padding: 0 5px;
    border-radius: 999px;
    color: var(--kids-ink) !important;
    text-decoration: none !important;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1;
}

.top-bar .lang-switcher__btn:hover,
.top-bar .currency-switcher__btn:hover {
    background: rgba(255, 255, 255, 0.7);
    color: var(--kids-orange-deep) !important;
}

.top-bar .lang-switcher__btn.is-active {
    background: #fff;
    color: var(--kids-ink) !important;
    box-shadow: 0 1px 4px rgba(43, 42, 74, 0.12);
}

.top-bar .currency-switcher__btn.is-active {
    background: #fff;
    color: #9a6700 !important;
    box-shadow: 0 1px 4px rgba(154, 103, 0, 0.18);
}

@media (max-width: 991.98px) {
    .top-bar .topbar-switcher-group__text {
        display: none;
    }

    .top-bar .topbar-switcher-group {
        padding-inline: 6px;
    }
}

@media (max-width: 575.98px) {
    .top-bar .topbar-actions {
        gap: 0.5rem;
    }
}

/* Widget slots */
.widget-slot:empty {
    display: none;
}

.site-main__layout {
    --site-sidebar-width: minmax(220px, 280px);
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.site-main__layout.has-sidebar-right {
    grid-template-columns: var(--site-sidebar-width) minmax(0, 1fr);
}

.site-main__layout.has-sidebar-left {
    grid-template-columns: minmax(0, 1fr) var(--site-sidebar-width);
}

.site-main__layout.has-sidebar-right.has-sidebar-left {
    grid-template-columns: var(--site-sidebar-width) minmax(0, 1fr) var(--site-sidebar-width);
}

.site-main__content {
    min-width: 0;
}

.site-main__sidebar {
    padding-inline: 0.75rem;
}

/* Sidebars sit outside the content container, so pin them to the physical
   side they are named after in both reading directions. */
@media (min-width: 992px) {
    .site-main__sidebar--right { order: 1; }
    .site-main__content { order: 2; }
    .site-main__sidebar--left { order: 3; }

    [dir="ltr"] .site-main__sidebar--right { order: 3; }
    [dir="ltr"] .site-main__sidebar--left { order: 1; }
}

/* Tablet and mobile: sidebars drop below the main content. */
@media (max-width: 991.98px) {
    .site-main__layout,
    .site-main__layout.has-sidebar-right,
    .site-main__layout.has-sidebar-left,
    .site-main__layout.has-sidebar-right.has-sidebar-left {
        grid-template-columns: minmax(0, 1fr);
    }

    .site-main__content { order: 1; }
    .site-main__sidebar--right { order: 2; }
    .site-main__sidebar--left { order: 3; }
}

/* Widget width modes — independent from the position the widget sits in. */
.widget__inner {
    width: 100%;
}

.widget--width-full > .widget__inner {
    max-width: none;
}

.widget--width-custom > .widget__inner {
    margin-inline: auto;
    padding-inline: 0.75rem;
}

.site-main__sidebar .widget__inner,
.widget-slot--sidebar .widget__inner,
.widget-slot--sidebar-left .widget__inner {
    max-width: none;
    padding-inline: 0;
    margin-inline: 0;
}

/* Responsive visibility */
@media (max-width: 991.98px) {
    .widget--visibility-desktop {
        display: none !important;
    }
}

@media (min-width: 992px) {
    .widget--visibility-mobile {
        display: none !important;
    }
}

/* Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: blur(10px);
    box-shadow: var(--kids-shadow-soft) !important;
    padding: 0.85rem 0 !important;
    border-bottom: 1px solid rgba(255, 213, 79, 0.45);
}

.navbar-brand {
    font-weight: 800 !important;
    font-size: clamp(1.45rem, 2.4vw, 1.95rem) !important;
    color: var(--kids-orange) !important;
    text-shadow: none !important;
    letter-spacing: -0.02em;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.navbar-brand i {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: linear-gradient(145deg, var(--kids-yellow), var(--kids-orange));
    color: #fff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 6px 16px rgba(255, 138, 31, 0.35);
}

.navbar-brand .site-logo {
    display: block;
    height: 48px;
    width: auto;
    max-width: min(180px, 42vw);
    object-fit: contain;
}

.nav-link {
    color: var(--kids-ink) !important;
    font-weight: 700 !important;
    border-radius: var(--kids-radius-pill) !important;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--kids-orange-deep) !important;
    background: rgba(255, 213, 79, 0.35) !important;
}

.kids-navbar .kids-navbar-start {
    min-width: 0;
}

.btn-categories {
    background: linear-gradient(135deg, var(--kids-orange), var(--kids-orange-deep));
    color: #fff !important;
    border: none;
    border-radius: var(--kids-radius-pill);
    padding: 0.55rem 1.1rem;
    font-weight: 800;
    font-size: 0.92rem;
    box-shadow: 0 6px 14px rgba(255, 138, 31, 0.28);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    text-decoration: none;
    white-space: nowrap;
    line-height: 1.2;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-categories::after {
    margin-inline-start: 0.35rem;
}

.btn-categories:hover,
.btn-categories:focus,
.btn-categories.show {
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(255, 138, 31, 0.4);
}

.kids-categories-menu {
    border-radius: 18px !important;
    padding: 0.55rem;
    min-width: 240px;
    margin-top: 0.55rem !important;
}

.kids-categories-menu .dropdown-item {
    border-radius: 12px;
    font-weight: 700;
    padding: 0.65rem 0.85rem;
    color: var(--kids-ink);
}

.kids-categories-menu .dropdown-item:hover,
.kids-categories-menu .dropdown-item:focus {
    background: rgba(255, 213, 79, 0.35);
    color: var(--kids-orange-deep);
}

.kids-navbar-end .wishlist-nav-link {
    margin-inline-end: 0.35rem;
}

.kids-navbar-end .cart-link {
    margin-inline-start: 0.25rem;
}

@media (max-width: 991.98px) {
    .kids-navbar .navbar-brand span {
        max-width: 140px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

.navbar-icon-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid rgba(255, 138, 31, 0.2);
    background: #fff;
    color: var(--kids-ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: 0.25s ease;
}

.navbar-icon-btn:hover {
    background: var(--kids-cream);
    color: var(--kids-orange);
    border-color: var(--kids-orange);
}

/* Cart */
.cart-link {
    background: linear-gradient(135deg, var(--kids-orange) 0%, var(--kids-orange-deep) 100%) !important;
    color: #fff !important;
    border-radius: var(--kids-radius-pill) !important;
    box-shadow: 0 8px 18px rgba(255, 138, 31, 0.35);
}

.cart-link:hover {
    background: linear-gradient(135deg, var(--kids-orange-deep) 0%, var(--kids-orange) 100%) !important;
    color: #fff !important;
    box-shadow: 0 12px 24px rgba(255, 138, 31, 0.45) !important;
}

.cart-badge {
    background: var(--kids-coral) !important;
}

.mini-cart-header {
    background: linear-gradient(135deg, var(--kids-orange), var(--kids-yellow-deep)) !important;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--kids-orange), var(--kids-orange-deep)) !important;
    border-color: transparent !important;
    border-radius: var(--kids-radius-pill) !important;
    font-weight: 800 !important;
    box-shadow: 0 8px 18px rgba(255, 138, 31, 0.28);
}

.btn-primary:hover,
.btn-primary:focus {
    background: linear-gradient(135deg, var(--kids-orange-deep), var(--kids-orange)) !important;
    border-color: transparent !important;
}

.btn-outline-primary {
    color: var(--kids-orange-deep) !important;
    border-color: var(--kids-orange) !important;
    border-radius: var(--kids-radius-pill) !important;
    font-weight: 700 !important;
}

.btn-outline-primary:hover {
    background: var(--kids-orange) !important;
    color: #fff !important;
}

.btn-warning,
.btn-kids-yellow {
    background: linear-gradient(135deg, var(--kids-yellow), var(--kids-yellow-deep)) !important;
    border: none !important;
    color: var(--kids-ink) !important;
    border-radius: var(--kids-radius-pill) !important;
    font-weight: 800 !important;
}

.text-primary {
    color: var(--kids-orange-deep) !important;
}

.bg-primary {
    background-color: var(--kids-orange) !important;
}

/* Hero — balanced banner frame (not too tall on desktop, not tiny on mobile) */
.hero-slider {
    margin-top: 0;
    margin-bottom: 0;
}

.hero-slider .carousel,
.hero-slider .carousel-inner,
.hero-slider .carousel-item,
.hero-slide {
    height: clamp(300px, 28vw, 400px);
}

.hero-slider .carousel-inner {
    border-radius: 0 0 40px 40px !important;
    overflow: hidden;
    box-shadow: var(--kids-shadow);
    background: #fff;
}

.hero-slide {
    position: relative;
    border-radius: 0 !important;
    min-height: 0;
    overflow: hidden;
    background: #fff;
    line-height: 0;
}

.hero-slide::after {
    display: none;
}

.hero-slide__img,
.hero-slider .carousel-item img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none;
    object-fit: cover !important;
    object-position: center center;
    display: block;
}

.hero-slide__link {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
    line-height: 0;
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--kids-orange);
    opacity: 0.45;
}

.carousel-indicators .active {
    opacity: 1;
    transform: scale(1.15);
}

/* Categories — chips without outer box */
.category-rail {
    margin-top: 2.5rem;
    position: relative;
    z-index: 2;
}

.category-panel__track {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(124px, 1fr));
    gap: 1rem;
}

.category-chip {
    --chip-accent: var(--kids-orange);
    --chip-soft: #FFE8C8;
    --chip-ink: #C45A00;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 0.6rem 0.9rem;
    border-radius: 26px;
    background: #fff;
    border: 3px solid var(--chip-accent);
    box-shadow: 0 6px 0 var(--chip-accent);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    min-width: 0;
    position: relative;
}

.category-chip--1 { --chip-accent: #FF8A1F; --chip-soft: #FFE4C2; --chip-ink: #C45A00; }
.category-chip--2 { --chip-accent: #3DB9FF; --chip-soft: #D6F1FF; --chip-ink: #0A6EAE; }
.category-chip--3 { --chip-accent: #2ECC9B; --chip-soft: #D4F8EC; --chip-ink: #0F8A64; }
.category-chip--4 { --chip-accent: #FF5A6B; --chip-soft: #FFD6DC; --chip-ink: #C23042; }
.category-chip--5 { --chip-accent: #F5C518; --chip-soft: #FFF3C2; --chip-ink: #9A7400; }
.category-chip--6 { --chip-accent: #A78BFA; --chip-soft: #EDE4FF; --chip-ink: #5B3DB8; }

.category-chip::after {
    content: '';
    position: absolute;
    top: 10px;
    inset-inline-end: 12px;
    width: 10px;
    height: 10px;
    background: var(--chip-accent);
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    opacity: 0.85;
}

.category-chip:hover {
    transform: translateY(-8px) rotate(-2deg);
    color: inherit;
    box-shadow: 0 10px 0 var(--chip-accent);
}

.category-chip:nth-child(even):hover {
    transform: translateY(-8px) rotate(2deg);
}

.category-chip__icon {
    width: 92px;
    height: 92px;
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--chip-soft);
    box-shadow:
        inset 0 0 0 4px #fff,
        0 0 0 3px var(--chip-accent),
        0 10px 18px rgba(43, 42, 74, 0.1);
    font-size: 2rem;
    color: var(--chip-accent);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    animation: kids-float 4.8s ease-in-out infinite;
}

.category-chip:nth-child(even) .category-chip__icon {
    animation-delay: -1.6s;
}

.category-chip__icon--image {
    background: var(--chip-soft);
    padding: 0;
}

.category-chip__icon--image::before {
    display: none;
}

.category-chip__img {
    position: absolute;
    inset: 6px;
    width: calc(100% - 12px);
    height: calc(100% - 12px);
    object-fit: contain;
    object-position: center;
    border-radius: 20px;
    display: block;
    background: #fff;
    transition: transform 0.3s ease;
}

.category-chip:hover .category-chip__img {
    transform: scale(1.08) rotate(-3deg);
}

.category-chip__icon::before {
    display: none;
}

.category-chip__label {
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--kids-ink);
    text-align: center;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-width: 100%;
}

.category-chip__count {
    font-size: 0.72rem;
    color: #fff;
    font-weight: 800;
    background: var(--chip-accent);
    border-radius: 999px;
    padding: 0.18rem 0.65rem;
    box-shadow: 0 3px 0 rgba(43, 42, 74, 0.16);
}

/* Section headers */
.section-header h2,
.kids-section-title {
    font-weight: 800 !important;
    color: var(--kids-ink) !important;
    letter-spacing: -0.02em;
}

.kids-section-title i {
    color: var(--kids-orange);
}

/* Highest discount products rail */
.top-discounts__panel {
    padding: 1.5rem;
    border: 1px solid rgba(255, 90, 107, 0.2);
    border-radius: 30px;
    background:
        radial-gradient(circle at 8% 10%, rgba(255, 213, 79, 0.22), transparent 24%),
        linear-gradient(135deg, #fff8ed 0%, #fff2f5 52%, #f8f5ff 100%);
    box-shadow: 0 14px 35px rgba(255, 90, 107, 0.1);
}

.top-discounts .kids-section-title i {
    color: #ff4d61;
}

.top-discounts__track {
    display: flex;
    gap: 1rem;
    padding: 0.25rem 0.15rem 0.9rem;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline proximity;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 90, 107, 0.45) transparent;
}

.top-discounts__track::-webkit-scrollbar {
    height: 7px;
}

.top-discounts__track::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(255, 90, 107, 0.45);
}

.top-discount-card {
    position: relative;
    flex: 0 0 210px;
    scroll-snap-align: start;
}

.top-discount-card__badge {
    position: absolute;
    top: 0.7rem;
    inset-inline-start: 0.7rem;
    z-index: 6;
    min-width: 48px;
    padding: 0.35rem 0.6rem;
    border: 3px solid #fff;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff4d61, #e71970);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 900;
    text-align: center;
    box-shadow: 0 7px 16px rgba(231, 25, 112, 0.28);
}

.top-discount-card__title {
    min-height: 2.8em;
    margin: 0 0 0.65rem;
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1.4;
}

.top-discount-card__title a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.top-discount-card__prices {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    font-size: 0.78rem;
}

.top-discount-card__prices strong {
    font-size: 1rem;
}

@media (max-width: 575.98px) {
    .top-discounts__panel {
        padding: 1rem;
        border-radius: 22px;
    }

    .top-discount-card {
        flex-basis: 172px;
    }
}

/* Homepage fixed bundles rail */
.bundle-packages__panel {
    padding: 1.5rem;
    border: 1px solid rgba(124, 77, 255, 0.18);
    border-radius: 30px;
    background:
        radial-gradient(circle at 92% 8%, rgba(255, 213, 79, 0.28), transparent 26%),
        linear-gradient(135deg, #f7f2ff 0%, #fff8ed 48%, #eef7ff 100%);
    box-shadow: 0 14px 35px rgba(124, 77, 255, 0.1);
}

.bundle-packages .kids-section-title {
    color: #5b3cc4;
}

.bundle-packages__track {
    display: flex;
    gap: 1rem;
    padding: 0.25rem 0.15rem 0.9rem;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline proximity;
    scrollbar-width: thin;
    scrollbar-color: rgba(124, 77, 255, 0.4) transparent;
}

.bundle-packages__track::-webkit-scrollbar {
    height: 7px;
}

.bundle-packages__track::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(124, 77, 255, 0.4);
}

.bundle-package-card {
    position: relative;
    flex: 0 0 calc((100% - 3rem) / 4);
    min-width: 0;
    scroll-snap-align: start;
    border: 2px solid rgba(124, 77, 255, 0.14) !important;
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(160deg, #ffe566, #c4b5fd, #7c4dff) border-box !important;
}

.bundle-package-card:hover {
    border-color: rgba(124, 77, 255, 0.35) !important;
}

.bundle-package-card__badge {
    position: absolute;
    top: 0.7rem;
    inset-inline-start: 0.7rem;
    z-index: 6;
    padding: 0.32rem 0.7rem;
    border: 3px solid #fff;
    border-radius: 999px;
    background: linear-gradient(135deg, #7c4dff, #5b3cc4);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
    line-height: 1.3;
    box-shadow: 0 7px 16px rgba(91, 60, 196, 0.28);
}

.bundle-package-card__title {
    min-height: 2.6em;
    margin: 0 0 0.4rem;
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.4;
}

.bundle-package-card__title-link {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tooltip.product-title-tooltip,
.tooltip.bundle-title-tooltip {
    z-index: 1080;
    opacity: 1;
    filter:
        drop-shadow(0 14px 22px rgba(255, 138, 31, 0.2))
        drop-shadow(0 8px 18px rgba(91, 60, 196, 0.16));
}

.tooltip.product-title-tooltip.show,
.tooltip.bundle-title-tooltip.show {
    animation: bundleTooltipIn 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.tooltip.product-title-tooltip .tooltip-inner,
.tooltip.bundle-title-tooltip .tooltip-inner {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    max-width: min(360px, 90vw);
    padding: 0.8rem 1.15rem 0.8rem 0.8rem;
    overflow: hidden;
    border-radius: 18px;
    background:
        radial-gradient(circle at 92% 0%, rgba(255, 213, 79, 0.55), transparent 38%),
        radial-gradient(circle at 0% 100%, rgba(124, 77, 255, 0.12), transparent 42%),
        linear-gradient(165deg, #fffefb 0%, #fff8e7 46%, #f4eeff 100%);
    border: 2px solid rgba(255, 138, 31, 0.42);
    color: var(--kids-ink, #2b2a4a);
    text-align: start;
    font-size: 0.86rem;
    font-weight: 800;
    line-height: 1.55;
    white-space: normal;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.95),
        0 0 0 4px rgba(255, 213, 79, 0.22);
}

.tooltip.product-title-tooltip .tooltip-inner::before,
.tooltip.bundle-title-tooltip .tooltip-inner::before {
    content: "";
    flex: 0 0 auto;
    width: 1.55rem;
    height: 1.55rem;
    margin-top: 0.05rem;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Crect x='5' y='13' width='22' height='14' rx='3.2' fill='%23FF8A1F'/%3E%3Crect x='4' y='10' width='24' height='6.5' rx='2.2' fill='%23FFD54F'/%3E%3Crect x='14.4' y='10' width='3.2' height='17' rx='1' fill='%237C4DFF'/%3E%3Cpath d='M16 10C13.2 4.6 8.2 6.2 8.4 10.4c3.4-.1 7.6 3.2 7.6 3.2S20.2 10.3 23.6 10.4C23.8 6.2 18.8 4.6 16 10z' fill='%237C4DFF'/%3E%3Ccircle cx='16' cy='10.2' r='1.35' fill='%23FF5A6B'/%3E%3C/svg%3E") center / contain no-repeat;
    filter: drop-shadow(0 2px 3px rgba(240, 109, 0, 0.28));
}

.tooltip.product-title-tooltip .tooltip-inner::after,
.tooltip.bundle-title-tooltip .tooltip-inner::after {
    content: "";
    position: absolute;
    top: 7px;
    inset-inline-end: 9px;
    width: 11px;
    height: 11px;
    pointer-events: none;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 0l1.2 4.2L12 6 7.2 7.8 6 12 4.8 7.8 0 6l4.8-1.8z' fill='%23FFD54F'/%3E%3C/svg%3E") center / contain no-repeat;
    opacity: 0.95;
}

.tooltip.product-title-tooltip.bs-tooltip-top .tooltip-arrow::before,
.tooltip.bundle-title-tooltip.bs-tooltip-top .tooltip-arrow::before,
.tooltip.product-title-tooltip.bs-tooltip-auto[data-popper-placement^="top"] .tooltip-arrow::before,
.tooltip.bundle-title-tooltip.bs-tooltip-auto[data-popper-placement^="top"] .tooltip-arrow::before {
    border-top-color: #f4eeff;
}

.tooltip.product-title-tooltip.bs-tooltip-bottom .tooltip-arrow::before,
.tooltip.bundle-title-tooltip.bs-tooltip-bottom .tooltip-arrow::before,
.tooltip.product-title-tooltip.bs-tooltip-auto[data-popper-placement^="bottom"] .tooltip-arrow::before,
.tooltip.bundle-title-tooltip.bs-tooltip-auto[data-popper-placement^="bottom"] .tooltip-arrow::before {
    border-bottom-color: #fffefb;
}

.tooltip.product-title-tooltip.bs-tooltip-start .tooltip-arrow::before,
.tooltip.bundle-title-tooltip.bs-tooltip-start .tooltip-arrow::before,
.tooltip.product-title-tooltip.bs-tooltip-auto[data-popper-placement^="left"] .tooltip-arrow::before,
.tooltip.bundle-title-tooltip.bs-tooltip-auto[data-popper-placement^="left"] .tooltip-arrow::before {
    border-left-color: #f4eeff;
}

.tooltip.product-title-tooltip.bs-tooltip-end .tooltip-arrow::before,
.tooltip.bundle-title-tooltip.bs-tooltip-end .tooltip-arrow::before,
.tooltip.product-title-tooltip.bs-tooltip-auto[data-popper-placement^="right"] .tooltip-arrow::before,
.tooltip.bundle-title-tooltip.bs-tooltip-auto[data-popper-placement^="right"] .tooltip-arrow::before {
    border-right-color: #f4eeff;
}

.tooltip.product-title-tooltip--rail .tooltip-inner {
    max-width: min(230px, calc(100vw - 2.5rem));
    padding: 0.55rem 0.8rem 0.55rem 0.55rem;
    font-size: 0.8rem;
}

@keyframes bundleTooltipIn {
    from {
        opacity: 0;
        transform: translateY(8px) scale(0.94);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.bundle-package-card__count {
    display: inline-block;
    margin: 0;
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    background: rgba(124, 77, 255, 0.1);
    color: #5b3cc4;
    font-size: 0.78rem;
    font-weight: 700;
}

.bundle-package-card__prices {
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
    margin-top: 0.7rem;
    font-size: 0.78rem;
}

.bundle-package-card__final {
    color: #5b3cc4;
    font-size: 1.05rem;
}

.bundle-package-card__save {
    color: #1b8a4a;
    font-size: 0.78rem;
    font-weight: 800;
}

.bundle-package-card__cta {
    border: none !important;
    background: linear-gradient(135deg, #7c4dff, #5b3cc4) !important;
    font-weight: 800;
}

.bundle-package-card__cta:hover {
    background: linear-gradient(135deg, #6b3ee6, #4c2fb0) !important;
}

.bundle-package-card__names {
    margin: 0 0 0.35rem;
    padding: 0;
    list-style: none;
}

.bundle-package-card__names li {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.3rem;
    padding: 0.28rem 0.4rem 0.28rem 0.35rem;
    border-radius: 12px;
    background: rgba(124, 77, 255, 0.07);
}

.bundle-package-card__item-name {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: #3d3558;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.35;
}

.bundle-package-card__item-price {
    flex-shrink: 0;
    color: #5b3cc4;
    font-size: 0.72rem;
    font-weight: 800;
    white-space: nowrap;
}

.bundle-package-card__item-qty {
    flex-shrink: 0;
    min-width: 1.7rem;
    padding: 0.08rem 0.42rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #7c4dff, #5b3cc4);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    line-height: 1.3;
    text-align: center;
}

.bundle-package-card__more {
    display: inline-block;
    margin-bottom: 0.45rem;
    color: #5b3cc4;
    font-size: 0.75rem;
    font-weight: 800;
}

.bundle-package-card__items-btn {
    border-width: 2px !important;
    border-color: #7c4dff !important;
    color: #5b3cc4 !important;
    font-weight: 800;
}

.bundle-package-card__items-btn:hover,
.bundle-package-card__items-btn:focus {
    background: rgba(124, 77, 255, 0.08) !important;
    border-color: #5b3cc4 !important;
    color: #5b3cc4 !important;
}

.bundle-items-modal .modal-content {
    border-radius: 22px;
    overflow: hidden;
}

.bundle-items-modal .modal-header {
    align-items: center;
    background: linear-gradient(135deg, #f7f2ff 0%, #fff8ed 100%);
    border-bottom: 1px solid rgba(124, 77, 255, 0.12);
}

.bundle-items-modal .modal-title {
    color: #5b3cc4;
    font-size: 1.05rem;
    padding-inline-end: 0.75rem;
}

.bundle-items-modal .modal-body {
    padding: 1rem 1.15rem 0.35rem;
}

.bundle-items-modal .modal-footer {
    border-top: 1px solid rgba(124, 77, 255, 0.1);
    background: #faf8ff;
    padding: 0.85rem 1.15rem 1rem;
}

.bundle-items-modal .modal-footer .btn {
    width: 100%;
}

.bundle-items-modal__lead {
    margin: 0 0 0.35rem;
    color: var(--kids-ink, #2b2a4a);
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.4;
}

.bundle-items-modal__hint {
    margin: 0 0 0.85rem;
    color: #6b5b8c;
    font-size: 0.8rem;
    line-height: 1.55;
}

.bundle-items-modal__list {
    list-style: none;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(124, 77, 255, 0.12);
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
}

.bundle-items-modal__row {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.55rem 0.7rem;
    border-bottom: 1px solid rgba(124, 77, 255, 0.08);
    cursor: default;
}

.bundle-items-modal__row:last-child {
    border-bottom: 0;
}

.bundle-items-modal__thumb {
    flex-shrink: 0;
    display: block;
    width: 44px;
    height: 44px;
    overflow: hidden;
    border: 1px solid rgba(124, 77, 255, 0.14);
    border-radius: 10px;
    background: var(--kids-cream, #fff8ed);
}

.bundle-items-modal__thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.bundle-items-modal__copy {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
}

.bundle-items-modal__title {
    min-width: 0;
    color: #2c3e50;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.4;
}

a.bundle-items-modal__title,
a.bundle-items-modal__thumb {
    text-decoration: none;
    color: inherit;
}

a.bundle-items-modal__title:hover {
    color: #5b3cc4;
    text-decoration: underline;
}

.bundle-items-modal__price {
    color: #5b3cc4;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.3;
}

.bundle-items-modal__price-label {
    margin-inline-end: 0.28rem;
    color: #8a7aa8;
    font-size: 0.7rem;
    font-weight: 700;
}

.bundle-items-modal__qty {
    flex-shrink: 0;
    padding: 0.08rem 0.42rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #7c4dff, #5b3cc4);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    line-height: 1.3;
}

.bundle-contents-list__thumb {
    flex-shrink: 0;
    display: block;
    width: 52px;
    height: 52px;
    overflow: hidden;
    border: 1px solid rgba(124, 77, 255, 0.14);
    border-radius: 12px;
    background: var(--kids-cream, #fff8ed);
}

.bundle-contents-list__thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.bundle-contents-list__copy {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.bundle-contents-list__name {
    min-width: 0;
    color: #2c3e50;
    font-weight: 700;
    line-height: 1.4;
}

a.bundle-contents-list__name,
a.bundle-contents-list__thumb {
    text-decoration: none;
    color: inherit;
}

a.bundle-contents-list__name:hover {
    color: #5b3cc4;
    text-decoration: underline;
}

.bundle-contents-list__price {
    color: #5b3cc4;
    font-size: 0.85rem;
    font-weight: 800;
    line-height: 1.3;
}

.bundle-contents-list__price-label {
    margin-inline-end: 0.3rem;
    color: #8a7aa8;
    font-size: 0.75rem;
    font-weight: 700;
}

@media (max-width: 1199.98px) and (min-width: 992px) {
    .bundle-package-card {
        flex-basis: calc((100% - 2rem) / 3);
    }
}

@media (max-width: 991.98px) and (min-width: 576px) {
    .bundle-package-card {
        flex-basis: calc((100% - 1rem) / 2);
    }
}

@media (max-width: 575.98px) {
    .bundle-packages__panel {
        padding: 1rem;
        border-radius: 22px;
    }

    .bundle-package-card {
        flex-basis: 82%;
    }
}

/* Product cards */
.product-card {
    border: none !important;
    border-radius: var(--kids-radius) !important;
    overflow: hidden;
    background: #fff;
    box-shadow: var(--kids-shadow-soft) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.product-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: var(--kids-shadow) !important;
}

.product-card .card-img-top {
    border-bottom: none;
}

.product-card__media {
    position: relative;
    aspect-ratio: 1;
    background: var(--kids-cream);
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 213, 79, 0.35);
}

.product-card__media > a {
    position: absolute;
    inset: 0;
    display: block;
}

.product-card__media .card-img-top,
.product-card__media .js-hover-gallery-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background: var(--kids-cream);
    opacity: 0;
    transition: opacity 0.28s ease;
    pointer-events: none;
}

.product-card__media .js-hover-gallery-img.is-active,
.product-card__media > a > img:only-child {
    opacity: 1;
    z-index: 1;
}

.discount-countdown {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    color: #fff;
    background: linear-gradient(135deg, #e63946, #f77f00);
    box-shadow: 0 6px 18px rgba(230, 57, 70, 0.28);
    pointer-events: none;
}

.discount-countdown--card {
    position: absolute;
    right: 0.65rem;
    bottom: 0.65rem;
    left: 0.65rem;
    z-index: 5;
    padding: 0.4rem 0.55rem;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 0.85rem;
    backdrop-filter: blur(7px);
}

.discount-countdown--detail {
    width: max-content;
    max-width: 100%;
    margin-top: 0.85rem;
    padding: 0.65rem 0.85rem;
    border-radius: 1rem;
}

.discount-countdown__title {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.72rem;
    font-weight: 800;
    white-space: nowrap;
}

.discount-countdown__units {
    display: inline-flex;
    align-items: flex-start;
    gap: 0.18rem;
}

.discount-countdown__unit {
    min-width: 1.8rem;
    text-align: center;
    line-height: 1;
}

.discount-countdown__unit strong {
    display: block;
    font-size: 0.82rem;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
}

.discount-countdown__unit small {
    display: block;
    margin-top: 0.18rem;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.55rem;
    font-weight: 800;
}

.discount-countdown__separator {
    padding-top: 0.02rem;
    font-size: 0.78rem;
    font-weight: 900;
}

.product-card__media:has(.discount-countdown--card) .product-card__gallery-dots {
    bottom: 3.85rem;
}

@media (max-width: 575.98px) {
    .discount-countdown--card {
        right: 0.35rem;
        bottom: 0.35rem;
        left: 0.35rem;
        gap: 0.25rem;
        padding: 0.35rem 0.3rem;
    }

    .discount-countdown--card .discount-countdown__title {
        display: none;
    }

    .discount-countdown__unit {
        min-width: 1.55rem;
    }
}

.product-card__gallery-dots {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 5px;
    pointer-events: none;
}

.product-card__gallery-dots i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(43, 42, 74, 0.22);
    transition: width 0.2s ease, background 0.2s ease;
}

.product-card__gallery-dots i.is-on {
    width: 14px;
    border-radius: 999px;
    background: var(--kids-orange);
}

.product-card .card-title {
    font-weight: 800;
}

.product-card .add-to-cart-btn,
.product-card .choose-options-btn,
.product-card .btn-primary {
    border-radius: var(--kids-radius-pill) !important;
}

/* Homepage subscription row */
.sub-plans__track {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
}

.sub-plan {
    display: flex;
    flex-direction: column;
    background: #f4f5f7;
    border: 2px dashed #9fd6f5;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--kids-shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: kids-pop 0.6s ease both;
}

.sub-plan:hover {
    transform: translateY(-8px);
    box-shadow: var(--kids-shadow);
}

.sub-plan__visual {
    position: relative;
    aspect-ratio: 5 / 4;
    overflow: hidden;
    background:
        radial-gradient(ellipse 80% 55% at 50% 118%, #3d9e3a 0%, #3d9e3a 42%, transparent 43%),
        radial-gradient(ellipse 70% 50% at 12% 112%, #57c44e 0%, #57c44e 46%, transparent 47%),
        radial-gradient(ellipse 75% 52% at 88% 114%, #4cb848 0%, #4cb848 44%, transparent 45%),
        linear-gradient(180deg, #6ec8ff 0%, #9ed8ff 52%, #7ed957 53%, #4caf50 100%);
}

.sub-plan__visual-link {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
}

.sub-plan__visual-link img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    padding: 1.6rem 0.85rem 1.1rem;
    filter: drop-shadow(0 10px 18px rgba(20, 40, 80, 0.22));
    opacity: 0;
    transition: opacity 0.28s ease;
    pointer-events: none;
}

.sub-plan__visual-link img.is-active,
.sub-plan__visual-link img:only-child {
    opacity: 1;
}

.sub-plan__visual .product-card__gallery-dots {
    z-index: 4;
}

.sub-plan__vip {
    position: absolute;
    z-index: 3;
    top: 46%;
    inset-inline-end: 10px;
    background: linear-gradient(180deg, #ffe566 0%, #f5c518 100%);
    color: #7a4e00;
    font-weight: 800;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    padding: 0.18rem 0.55rem;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.16);
    pointer-events: none;
}

.sub-plan__offer {
    position: absolute;
    z-index: 3;
    top: 16px;
    inset-inline-start: -38px;
    width: 140px;
    padding: 0.28rem 0;
    text-align: center;
    background: #ff4d8d;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 800;
    box-shadow: 0 6px 14px rgba(255, 77, 141, 0.35);
    pointer-events: none;
}

[dir="rtl"] .sub-plan__offer {
    transform: rotate(45deg);
}

[dir="ltr"] .sub-plan__offer {
    transform: rotate(-45deg);
}

.sub-plan__order {
    position: absolute;
    z-index: 4;
    top: 10px;
    inset-inline-end: 10px;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: var(--kids-orange);
    color: #fff !important;
    border: none;
    border-radius: var(--kids-radius-pill);
    padding: 0.38rem 0.85rem;
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
    box-shadow: 0 8px 16px rgba(255, 138, 31, 0.38);
    cursor: pointer;
}

.sub-plan__order:hover {
    background: var(--kids-orange-deep);
    color: #fff !important;
}

.sub-plan__body {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0.95rem 0.85rem 1.1rem;
    flex: 1;
}

.sub-plan__title {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--kids-ink);
    line-height: 1.55;
    min-height: 3.1em;
    margin: 0 0 0.55rem;
}

.sub-plan__title a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sub-plan__prices {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: center;
    gap: 0.45rem;
    margin: 0 0 0.85rem;
}

.sub-plan__price {
    color: #2b7de9;
    font-weight: 800;
    font-size: 1.15rem;
}

.sub-plan__price-old {
    color: #8eb8e8;
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: line-through;
    text-decoration-color: #e74c3c;
    text-decoration-thickness: 2px;
}

.sub-plan__footer {
    margin-top: auto;
    width: 100%;
    display: flex;
    justify-content: center;
}

.sub-plan__footer .btn,
.sub-plan .sub-plan__cart,
.sub-plan .choose-options-btn {
    width: auto !important;
    min-width: 0;
    background: #ff5a8a !important;
    border: none !important;
    color: #fff !important;
    border-radius: var(--kids-radius-pill) !important;
    padding: 0.45rem 1.05rem !important;
    font-weight: 800;
    font-size: 0.88rem;
    box-shadow: 0 8px 16px rgba(255, 90, 138, 0.28);
}

.sub-plan__footer .btn:hover,
.sub-plan .sub-plan__cart:hover,
.sub-plan .choose-options-btn:hover {
    background: #e94476 !important;
    color: #fff !important;
}

.sub-plan__footer .btn-outline-primary {
    background: transparent !important;
    border: 2px solid #ff5a8a !important;
    color: #ff5a8a !important;
    box-shadow: none;
}

@media (max-width: 1199.98px) and (min-width: 768px) {
    .sub-plans__track {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.category-card {
    border-radius: var(--kids-radius) !important;
    background: #fff !important;
    border: 2px solid rgba(255, 213, 79, 0.45) !important;
}

.category-card:hover {
    box-shadow: var(--kids-shadow) !important;
    border-color: var(--kids-orange) !important;
}

/* Feature strip */
.features-strip {
    background: linear-gradient(90deg, #FFF3C4, #FFE0B2, #FFCCBC, #BBDEFB);
    border-radius: var(--kids-radius);
    overflow: hidden;
    box-shadow: var(--kids-shadow-soft);
}

.features-strip .feature-item {
    padding: 1.5rem 1rem;
    text-align: center;
    border-inline-end: 1px solid rgba(255, 255, 255, 0.55);
}

.features-strip .feature-item:last-child {
    border-inline-end: none;
}

.features-strip .feature-icon-wrap {
    width: 64px;
    height: 64px;
    margin: 0 auto 0.75rem;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: var(--kids-orange);
    font-size: 1.6rem;
    box-shadow: var(--kids-shadow-soft);
}

/* Donation */
.donation-card {
    border-radius: var(--kids-radius);
    background: #fff;
    box-shadow: var(--kids-shadow-soft);
    overflow: hidden;
    height: 100%;
    border: 2px solid rgba(255, 90, 107, 0.15);
}

.donation-card .btn-donate {
    background: linear-gradient(135deg, var(--kids-coral), #FF3350);
    color: #fff;
    border: none;
    border-radius: var(--kids-radius-pill);
    font-weight: 800;
    width: 100%;
    padding: 0.7rem 1rem;
}

/* Newsletter */
.newsletter-band {
    background: linear-gradient(120deg, var(--kids-orange) 0%, var(--kids-yellow) 100%);
    border-radius: var(--kids-radius);
    padding: 1.75rem;
    color: var(--kids-ink);
    box-shadow: var(--kids-shadow);
    position: relative;
    overflow: hidden;
}

.newsletter-band::before {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    top: -40px;
    inset-inline-start: -30px;
}

.newsletter-band .form-control {
    border-radius: var(--kids-radius-pill);
    border: none;
    padding: 0.85rem 1.2rem;
}

.newsletter-band .btn {
    border-radius: var(--kids-radius-pill);
    background: #6C5CE7;
    color: #fff;
    font-weight: 800;
    border: none;
    padding: 0.85rem 1.4rem;
}

/* Footer */
.footer {
    background:
        radial-gradient(circle at 15% 20%, rgba(255, 213, 79, 0.2), transparent 40%),
        radial-gradient(circle at 85% 10%, rgba(61, 185, 255, 0.15), transparent 35%),
        #241F1A !important;
    color: #f5f5f5 !important;
    border-radius: 40px 40px 0 0;
    margin-top: 3rem;
    padding-top: 3rem !important;
}

.footer h5 {
    color: var(--kids-yellow) !important;
    font-weight: 800;
}

.footer a {
    color: #E8E4DE !important;
}

.footer a:hover {
    color: var(--kids-yellow) !important;
}

.instagram-footer-item {
    border-radius: 14px !important;
}

/* Promo / special */
.promo-card,
.special-offer .rounded-4 {
    border-radius: var(--kids-radius) !important;
}

/* Motion */
@keyframes kids-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes kids-pop {
    from { opacity: 0; transform: translateY(16px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.navbar-brand i {
    animation: kids-float 4.5s ease-in-out infinite;
}

.product-card,
.donation-card,
.features-strip .feature-item {
    animation: kids-pop 0.6s ease both;
}

.product-card:nth-child(2),
.col-6:nth-child(2) .product-card { animation-delay: 0.05s; }
.col-6:nth-child(3) .product-card { animation-delay: 0.1s; }
.col-6:nth-child(4) .product-card { animation-delay: 0.15s; }

@media (max-width: 767.98px) {
    .hero-slider .carousel,
    .hero-slider .carousel-inner,
    .hero-slider .carousel-item,
    .hero-slide {
        height: clamp(240px, 72vw, 340px) !important;
        min-height: 240px !important;
    }

    .hero-slider .carousel-inner {
        border-radius: 0 0 28px 28px !important;
    }

    .category-rail {
        margin-top: 1.75rem;
    }

    .category-panel__track {
        display: flex;
        gap: 0.8rem;
        overflow-x: auto;
        padding: 0.2rem 0.4rem 0.85rem;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .category-panel__track::-webkit-scrollbar {
        display: none;
    }

    .category-chip {
        flex: 0 0 122px;
        scroll-snap-align: start;
        padding: 0.8rem 0.5rem 0.85rem;
        border-radius: 22px;
    }

    .category-chip__icon {
        width: 78px;
        height: 78px;
        font-size: 1.5rem;
        border-radius: 22px;
    }

    .category-chip__img {
        border-radius: 16px;
        inset: 5px;
        width: calc(100% - 10px);
        height: calc(100% - 10px);
    }

    .features-strip .feature-item {
        border-inline-end: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.45);
    }

    .sub-plans__track {
        display: flex;
        gap: 0.9rem;
        overflow-x: auto;
        padding: 0.15rem 0.15rem 0.7rem;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .sub-plans__track::-webkit-scrollbar {
        display: none;
    }

    .sub-plan {
        flex: 0 0 min(260px, 78vw);
        scroll-snap-align: start;
    }

    .sub-plan__title {
        font-size: 0.88rem;
        min-height: 2.8em;
    }

    .sub-plan__order {
        font-size: 0.74rem;
        padding: 0.3rem 0.65rem;
    }
}

.auth-modal .modal-content {
    border-radius: 22px;
    overflow: hidden;
}

.auth-modal__header {
    position: relative;
    background: linear-gradient(135deg, var(--kids-yellow) 0%, var(--kids-orange) 100%);
    border-bottom: none;
    padding: 1.1rem 3rem 1.1rem 1.25rem;
}

.auth-modal__header .modal-title {
    color: var(--kids-ink);
}

.auth-modal .btn-close {
    position: absolute;
    top: 50%;
    right: 1rem;
    left: auto;
    margin: 0 !important;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    opacity: 1;
    z-index: 2;
}

.auth-modal__alert {
    margin-bottom: 1rem;
}

/* Wishlist heart */
.wishlist-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: #fff;
    color: var(--kids-ink);
    cursor: pointer;
    transition: transform 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.wishlist-btn--card {
    position: absolute;
    top: 0.75rem;
    inset-inline-end: 0.75rem;
    z-index: 3;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 6px 16px rgba(43, 42, 74, 0.12);
}

.product-media__overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
}

.product-media__corner {
    position: absolute;
    top: 0.75rem;
    display: flex;
    align-items: flex-start;
    max-width: calc(50% - 2.5rem);
    pointer-events: none;
}

.product-media__corner--start {
    inset-inline-start: 0.75rem;
}

.product-media__corner--end {
    inset-inline-end: 0.75rem;
    justify-content: flex-end;
}

.product-media__corner .badge,
.product-media__corner .wishlist-btn {
    pointer-events: auto;
}

.product-media__corner .wishlist-btn--card {
    position: static;
    top: auto;
    inset-inline-end: auto;
    flex-shrink: 0;
}

.product-media__corner--start .badge {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-image-card {
    position: sticky;
    top: 20px;
}

.wishlist-btn--card i {
    font-size: 1.1rem;
}

.product-share--page {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem 0.85rem;
    margin: 0 0 1.15rem;
    padding: 0.7rem 0.85rem;
    background: var(--kids-cream);
    border: 1px solid rgba(255, 213, 79, 0.45);
    border-radius: 16px;
}

.product-share__label {
    font-weight: 800;
    color: var(--kids-ink);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.product-share__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.product-share__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    border: 0;
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    background: #fff;
    color: var(--kids-ink);
    box-shadow: var(--kids-shadow-soft);
}

.product-share__btn--wa { color: #128C7E; }
.product-share__btn--tg { color: #229ED9; }
.product-share__btn:hover { color: var(--kids-orange-deep); }

.product-share--card {
    position: absolute;
    top: 3.65rem;
    inset-inline-end: 0.75rem;
    z-index: 4;
}

.product-card__media:not(:has(.wishlist-btn)) .product-share--card {
    top: 0.75rem;
}

.product-share__toggle {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: var(--kids-ink);
    box-shadow: 0 6px 16px rgba(43, 42, 74, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.product-share__toggle[aria-expanded="true"],
.product-share__toggle:hover {
    color: var(--kids-orange-deep);
}

.product-share__menu {
    position: absolute;
    inset-inline-end: 0;
    top: calc(100% + 6px);
    min-width: 160px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 12px 28px rgba(43, 42, 74, 0.16);
    padding: 0.35rem;
    z-index: 5;
}

.product-share__menu-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    width: 100%;
    border: 0;
    background: transparent;
    color: var(--kids-ink);
    text-align: start;
    text-decoration: none;
    border-radius: 10px;
    padding: 0.45rem 0.6rem;
    font-weight: 700;
    font-size: 0.85rem;
}

.product-share__menu-item:hover {
    background: var(--kids-cream);
    color: var(--kids-orange-deep);
}

.wishlist-btn:hover {
    color: var(--kids-coral);
    transform: scale(1.08);
}

.wishlist-btn.is-active {
    color: var(--kids-coral);
}

.wishlist-btn:disabled {
    opacity: 0.7;
    pointer-events: none;
}

.wishlist-page .card-img-top {
    height: 220px;
    object-fit: cover;
    background: #f1f3f5;
}

@media (max-width: 767.98px) {
    .cart-page-head {
        flex-wrap: wrap;
        gap: 0.75rem;
        align-items: flex-start !important;
    }

    .cart-page-table-wrap,
    .table-responsive.cart-page-table-wrap {
        overflow: visible !important;
    }

    .cart-page-table thead {
        display: none;
    }

    .cart-page-table,
    .cart-page-table tbody,
    .cart-page-table tr,
    .cart-page-table td {
        display: block;
        width: 100%;
    }

    .cart-page-table tr {
        background: #fff;
        border: 1px solid rgba(43, 42, 74, 0.08);
        border-radius: 16px;
        padding: 0.9rem;
        margin-bottom: 0.85rem;
    }

    .cart-page-table td {
        border: 0;
        padding: 0.45rem 0;
    }

    .cart-page-table td:first-child {
        padding-bottom: 0.75rem;
        margin-bottom: 0.25rem;
        border-bottom: 1px solid rgba(43, 42, 74, 0.06);
    }

    .cart-page-table td:first-child .d-flex {
        gap: 0.75rem;
    }

    .cart-page-table td:first-child img.me-3 {
        margin-right: 0 !important;
        margin-left: 0 !important;
        margin-inline-end: 0 !important;
        flex-shrink: 0;
    }

    .cart-page-table td[data-label] {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
    }

    .cart-page-table td[data-label]::before {
        content: attr(data-label);
        font-weight: 700;
        color: var(--kids-muted);
        font-size: 0.85rem;
        flex-shrink: 0;
    }

    .cart-page-table td[data-label] .d-flex.justify-content-center {
        justify-content: flex-end !important;
        flex: 1;
    }

    .wishlist-page-head {
        flex-wrap: wrap;
        gap: 0.35rem;
    }

    .wishlist-page .card-img-top {
        height: 140px;
    }

    .wishlist-btn--card {
        width: 36px;
        height: 36px;
        top: 0.5rem;
        inset-inline-end: 0.5rem;
    }

    .product-media__corner {
        top: 0.5rem;
        max-width: calc(50% - 2rem);
    }

    .product-media__corner--start {
        inset-inline-start: 0.5rem;
    }

    .product-media__corner--end {
        inset-inline-end: 0.5rem;
    }

    .product-image-card {
        position: static;
        top: auto;
    }
}

/* Product AI chat widget */
.product-chat {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 1050;
    font-family: inherit;
}

.product-chat__toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border: 0;
    border-radius: 999px;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, var(--kids-yellow) 0%, var(--kids-orange) 100%);
    color: var(--kids-ink);
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(255, 138, 31, 0.28);
}

.product-chat__toggle i {
    font-size: 1.1rem;
}

.product-chat__panel {
    position: absolute;
    right: 0;
    bottom: calc(100% + 10px);
    width: min(360px, calc(100vw - 32px));
    height: min(480px, calc(100dvh - 120px));
    background: #fff;
    border: 2px solid rgba(255, 213, 79, 0.75);
    border-radius: 18px;
    box-shadow: 0 16px 40px rgba(43, 42, 74, 0.18);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.product-chat__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    background: linear-gradient(135deg, rgba(255, 213, 79, 0.35) 0%, rgba(255, 138, 31, 0.18) 100%);
    border-bottom: 1px solid rgba(43, 42, 74, 0.06);
}

.product-chat__header small {
    display: block;
    color: var(--kids-muted);
    font-size: 0.78rem;
}

.product-chat__close {
    border: 0;
    background: transparent;
    color: var(--kids-muted);
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.product-chat__messages {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    background: #fafbff;
}

.product-chat__message {
    max-width: 88%;
    padding: 0.65rem 0.8rem;
    border-radius: 14px;
    line-height: 1.55;
    font-size: 0.92rem;
    white-space: pre-wrap;
    word-break: break-word;
}

.product-chat__message--bot {
    align-self: flex-start;
    background: #fff;
    border: 1px solid rgba(43, 42, 74, 0.08);
}

.product-chat__message--user {
    align-self: flex-end;
    background: linear-gradient(135deg, var(--kids-yellow) 0%, var(--kids-orange) 100%);
    color: var(--kids-ink);
}

.product-chat__message--error {
    background: #fdecea;
    color: #842029;
    border-color: #f5c2c7;
}

.product-chat__message a {
    color: inherit;
    text-decoration: underline;
}

.product-chat__products {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    margin-top: 0.75rem;
}

.product-chat__product {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.55rem;
    border-radius: 12px;
    background: #fafbff;
    border: 1px solid rgba(43, 42, 74, 0.08);
    color: inherit;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.product-chat__product:hover {
    color: inherit;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(43, 42, 74, 0.08);
}

.product-chat__product-image {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 10px;
    flex: 0 0 56px;
    background: #fff;
    border: 1px solid rgba(43, 42, 74, 0.06);
}

.product-chat__product-info {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.product-chat__product-name {
    font-size: 0.86rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-chat__product-price {
    font-size: 0.8rem;
    color: var(--kids-orange);
    font-weight: 700;
}

.product-chat__form {
    display: flex;
    gap: 0.5rem;
    padding: 0.75rem;
    border-top: 1px solid rgba(43, 42, 74, 0.06);
    background: #fff;
}

.product-chat__input {
    flex: 1 1 auto;
    border: 1px solid rgba(43, 42, 74, 0.12);
    border-radius: 999px;
    padding: 0.55rem 0.85rem;
    font-size: 0.92rem;
}

.product-chat__send {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: var(--kids-orange);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 767.98px) {
    .product-chat {
        right: 12px;
        bottom: 72px;
    }

    .product-chat__toggle span {
        display: none;
    }

    .product-chat__panel {
        width: min(360px, calc(100vw - 24px));
        height: min(420px, calc(100dvh - 150px));
    }
}

/* Storefront comments / reviews */
.store-comments__card {
    background: #fff;
    border-radius: var(--kids-radius);
    box-shadow: var(--kids-shadow-soft);
    border: 1px solid rgba(255, 213, 79, 0.45);
    overflow: hidden;
}

.store-comments__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 1.15rem 1.35rem;
    background: linear-gradient(135deg, rgba(255, 213, 79, 0.35), rgba(255, 138, 31, 0.08));
    border-bottom: 1px solid rgba(255, 213, 79, 0.4);
}

.store-comments__heading {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.store-comments__icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, var(--kids-yellow), var(--kids-orange));
    color: #fff;
    font-size: 1.35rem;
    box-shadow: 0 8px 18px rgba(255, 138, 31, 0.28);
}

.store-comments__title {
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0;
    color: var(--kids-ink);
}

.store-comments__subtitle {
    color: var(--kids-muted);
    font-size: 0.92rem;
    font-weight: 600;
}

.store-comments__dot {
    margin: 0 0.35rem;
}

.store-comments__summary {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.store-comments__avg {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #fff;
    border-radius: var(--kids-radius-pill);
    padding: 0.35rem 0.8rem;
    box-shadow: var(--kids-shadow-soft);
}

.store-comments__avg strong {
    font-size: 1.15rem;
    color: var(--kids-orange-deep);
}

.store-stars {
    color: #F5C518;
    letter-spacing: 1px;
    font-size: 0.95rem;
}

.store-stars .bi-star {
    color: #e5e7eb;
}

.store-comments__pill {
    display: inline-flex;
    align-items: center;
    border-radius: var(--kids-radius-pill);
    padding: 0.35rem 0.8rem;
    font-weight: 700;
    font-size: 0.85rem;
}

.store-comments__pill--warn {
    background: #fff3cd;
    color: #8a5a00;
}

.store-comments__toggle {
    margin: 0;
}

.store-comments__switch {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    background: #fff;
    border-radius: var(--kids-radius-pill);
    padding: 0.35rem 0.75rem 0.35rem 0.45rem;
    box-shadow: var(--kids-shadow-soft);
    font-weight: 800;
    font-size: 0.85rem;
    color: var(--kids-ink);
    user-select: none;
}

.store-comments__switch input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.store-comments__switch-ui {
    width: 38px;
    height: 22px;
    border-radius: 999px;
    background: #e5e7eb;
    position: relative;
    flex: 0 0 38px;
    transition: background 0.2s ease;
}

.store-comments__switch-ui::after {
    content: '';
    position: absolute;
    top: 3px;
    inset-inline-start: 3px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease;
}

.store-comments__switch input:checked + .store-comments__switch-ui {
    background: var(--kids-mint);
}

.store-comments__switch input:checked + .store-comments__switch-ui::after {
    transform: translateX(16px);
}

[dir="rtl"] .store-comments__switch input:checked + .store-comments__switch-ui::after {
    transform: translateX(-16px);
}

.store-comments__body {
    padding: 1.25rem 1.35rem 1.5rem;
}

.store-comments__alert {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    border-radius: 16px;
    padding: 0.85rem 1rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.store-comments__alert--ok {
    background: rgba(46, 204, 155, 0.14);
    color: #0f7a56;
}

.store-comments__alert--warn {
    background: #fff3cd;
    color: #8a5a00;
}

.store-comments__alert--bad {
    background: rgba(255, 90, 107, 0.12);
    color: #c81e3a;
}

.store-comments__admin-note {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
    background: #fff8e1;
    border: 1px dashed #f6c453;
    border-radius: 14px;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: #7a4d00;
}

.store-comments__list-title,
.store-comments__form-title {
    font-size: 1.05rem;
    font-weight: 800;
    margin: 0 0 0.85rem;
    color: var(--kids-ink);
}

.store-comments__list {
    display: grid;
    gap: 0.85rem;
    margin-bottom: 1.5rem;
}

.store-comment {
    display: flex;
    gap: 0.9rem;
    background: var(--kids-cream);
    border: 1px solid rgba(255, 213, 79, 0.35);
    border-radius: 18px;
    padding: 1rem 1.1rem;
}

.store-comment--reply {
    margin-top: 0.85rem;
    background: #fff;
    border: 1px solid rgba(46, 204, 155, 0.35);
    padding: 0.8rem 0.9rem;
}

.store-comment__avatar--admin {
    background: var(--kids-mint) !important;
    font-size: 1.1rem;
}

.store-comment__reply-form {
    margin-top: 0.9rem;
    padding-top: 0.85rem;
    border-top: 1px dashed rgba(43, 42, 74, 0.12);
}

.store-comments__reply-submit {
    margin-top: 0.55rem;
    border: 0;
    border-radius: var(--kids-radius-pill);
    background: var(--kids-mint);
    color: #fff;
    font-weight: 800;
    padding: 0.45rem 1rem;
}

.store-comment__avatar {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    color: #fff;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    text-transform: uppercase;
}

.store-comment__main {
    flex: 1 1 auto;
    min-width: 0;
}

.store-comment__top {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    align-items: flex-start;
    flex-wrap: wrap;
}

.store-comment__name {
    font-weight: 800;
    color: var(--kids-ink);
}

.store-comment__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 0.7rem;
    color: var(--kids-muted);
    font-size: 0.82rem;
    font-weight: 600;
    margin-top: 0.15rem;
}

.store-comment__badge {
    background: #fff3cd;
    color: #8a5a00;
    border-radius: 999px;
    padding: 0.1rem 0.55rem;
}

.store-comment__text {
    margin: 0.65rem 0 0;
    line-height: 1.85;
    color: var(--kids-ink);
    white-space: pre-wrap;
}

.store-comment__delete {
    margin: 0;
}

.store-comment__delete-btn {
    border: 0;
    background: rgba(255, 90, 107, 0.12);
    color: #c81e3a;
    border-radius: 999px;
    font-weight: 800;
    font-size: 0.82rem;
    padding: 0.3rem 0.7rem;
}

.store-comment__delete-btn:hover {
    background: #c81e3a;
    color: #fff;
}

.store-approve {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    background: #fff;
    border: 2px solid var(--kids-mint);
    border-radius: 999px;
    padding: 0.4rem 0.9rem;
    font-weight: 800;
    color: #0f7a56;
}

.store-approve input {
    width: 1.15rem;
    height: 1.15rem;
    cursor: pointer;
}

.store-comments__empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.35rem;
    padding: 1.6rem 1rem;
    margin-bottom: 1.25rem;
    background: var(--kids-cream);
    border-radius: 18px;
    color: var(--kids-muted);
    font-weight: 700;
}

.store-comments__empty strong {
    color: var(--kids-ink);
    font-size: 1.05rem;
}

.store-comments__empty-icon {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: #fff;
    color: var(--kids-orange);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 0.35rem;
}

.store-comments__form-wrap {
    background: #fff;
    border: 2px dashed rgba(255, 138, 31, 0.35);
    border-radius: 20px;
    padding: 1.15rem 1.2rem 1.3rem;
}

.store-comments__form-note {
    color: var(--kids-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.store-comments__fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
    margin-bottom: 0.85rem;
}

.store-comments__label {
    display: block;
    font-weight: 800;
    font-size: 0.9rem;
    margin-bottom: 0.35rem;
    color: var(--kids-ink);
}

.store-comments__input {
    width: 100%;
    border: 1px solid rgba(43, 42, 74, 0.12);
    border-radius: 14px;
    padding: 0.7rem 0.9rem;
    background: #fff;
}

.store-comments__input:focus {
    outline: none;
    border-color: var(--kids-orange);
    box-shadow: 0 0 0 3px rgba(255, 138, 31, 0.18);
}

.store-comments__textarea {
    min-height: 120px;
    resize: vertical;
}

.store-comments__as {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--kids-cream);
    border-radius: 14px;
    padding: 0.7rem 0.9rem;
    margin-bottom: 0.9rem;
    font-weight: 700;
}

.store-comments__rate {
    margin-bottom: 0.9rem;
}

.store-stars-input {
    display: inline-flex;
    flex-direction: row-reverse;
    gap: 0.15rem;
    font-size: 1.45rem;
}

.store-stars-input input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.store-stars-input label {
    cursor: pointer;
    color: #e5e7eb;
}

.store-stars-input label:hover,
.store-stars-input label:hover ~ label,
.store-stars-input input:checked ~ label {
    color: #F5C518;
}

.store-comments__rate-hint {
    display: block;
    font-size: 0.8rem;
    color: var(--kids-muted);
    margin-top: 0.25rem;
}

.store-comments__submit {
    margin-top: 0.9rem;
    border: 0;
    border-radius: var(--kids-radius-pill);
    background: linear-gradient(90deg, var(--kids-orange), var(--kids-coral));
    color: #fff;
    font-weight: 800;
    padding: 0.7rem 1.35rem;
    box-shadow: 0 8px 18px rgba(255, 138, 31, 0.28);
}

.store-comments__submit:hover {
    color: #fff;
    filter: brightness(1.05);
}

@media (max-width: 767.98px) {
    .store-comments__fields {
        grid-template-columns: 1fr;
    }

    .store-comment {
        padding: 0.85rem;
    }
}

.video-upload-page {
    background: #d6eef8;
    min-height: 70vh;
    padding: 2.5rem 1rem 4rem;
}

.video-upload-card {
    max-width: 560px;
    margin: 0 auto;
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 12px 40px rgba(32, 90, 120, 0.12);
    padding: 1.5rem 1.6rem 1.8rem;
}

.video-upload-langs {
    display: flex;
    justify-content: flex-end;
    gap: 0.15rem;
    margin-bottom: 0.6rem;
}

.video-upload-lang {
    color: #7aa0b3;
    text-decoration: none;
    font-size: 0.92rem;
    padding: 0.2rem 0.7rem;
    border-radius: 999px;
}

.video-upload-lang.is-active {
    background: #4aa3d9;
    color: #fff;
}

.video-upload-brand {
    text-align: center;
    margin-bottom: 1.2rem;
}

.video-upload-logo {
    max-height: 72px;
    margin-bottom: 0.4rem;
}

.video-upload-title {
    color: #7ec8e8;
    font-weight: 800;
    font-size: 1.7rem;
    margin: 0;
}

.video-upload-subtitle {
    color: #5f7c8a;
    margin: 0.35rem 0 0;
}

.video-upload-email-banner {
    background: #d9f5de;
    color: #2d6a4f;
    border-radius: 10px;
    padding: 0.7rem 0.9rem;
    margin-bottom: 1rem;
    text-align: center;
    direction: ltr;
}

.video-upload-field {
    margin-bottom: 1.35rem;
    position: relative;
}

.video-upload-label {
    display: block;
    font-weight: 700;
    color: #2f4a58;
    margin-bottom: 0.4rem;
    font-size: 0.95rem;
}

.video-upload-input {
    width: 100%;
    border: 1px solid #d5dde3;
    border-radius: 10px;
    padding: 0.7rem 0.9rem;
    background: #fff;
}

.video-upload-input:focus {
    outline: none;
    border-color: #4aa3d9;
    box-shadow: 0 0 0 3px rgba(74, 163, 217, 0.15);
}

.video-upload-hint {
    color: #8a9aa3;
    font-size: 0.78rem;
    margin: 0.3rem 0 0;
    line-height: 1.45;
}

.video-upload-err {
    display: none;
    color: #c0392b;
    font-size: 0.8rem;
    margin-top: 0.2rem;
}

.video-upload-err:not(:empty) {
    display: block;
}

.video-upload-details {
    color: #8a9aa3;
    font-size: 0.8rem;
    line-height: 1.7;
    margin-top: 0.45rem;
}

.video-upload-filebox {
    display: flex;
    align-items: center;
    border: 1px solid #d5dde3;
    border-radius: 10px;
    overflow: hidden;
}

.video-upload-file-label {
    flex: 1;
    padding: 0.65rem 0.85rem;
    color: #6c7a82;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.video-upload-browse {
    background: #f3f5f7;
    border: 0;
    border-inline-start: 1px solid #d5dde3;
    padding: 0.65rem 0.9rem;
    cursor: pointer;
    margin: 0;
    color: #334;
}

.video-upload-browse input {
    display: none;
}

.video-upload-file-list {
    list-style: none;
    padding: 0;
    margin: 0.4rem 0 0;
    font-size: 0.82rem;
    color: #5f7c8a;
}

.video-upload-country-list {
    position: absolute;
    z-index: 20;
    left: 0;
    right: 0;
    top: 46px;
    background: #fff;
    border: 1px solid #d5dde3;
    border-radius: 10px;
    max-height: 220px;
    overflow: auto;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.video-upload-country-item {
    display: block;
    width: 100%;
    text-align: inherit;
    background: none;
    border: 0;
    padding: 0.5rem 0.85rem;
}

.video-upload-country-item:hover {
    background: #eef7fc;
}

.video-upload-submit {
    width: 100%;
    border: 0;
    border-radius: 12px;
    background: #4aa3d9;
    color: #fff;
    font-weight: 700;
    padding: 0.85rem 1rem;
    margin-top: 0.4rem;
}

.video-upload-submit:hover,
.video-upload-submit:disabled {
    filter: brightness(0.96);
}

.video-upload-progress-wrap {
    margin-top: 0.7rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.video-upload-progress-item,
.video-upload-overall {
    background: #f4fafd;
    border: 1px solid #d7e6ee;
    border-radius: 10px;
    padding: 0.55rem 0.7rem;
}

.video-upload-progress-item {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.video-upload-progress-body {
    flex: 1;
    min-width: 0;
}

.video-upload-thumb {
    position: relative;
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
    border-radius: 10px;
    overflow: hidden;
    background: #c5d8e3;
}

.video-upload-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #c5d8e3;
}

.video-upload-thumb-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.85rem;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
    background: rgba(0, 0, 0, 0.22);
    pointer-events: none;
}

.video-upload-thumb-play[hidden] {
    display: none !important;
}

.video-upload-progress-item.is-done {
    border-color: #8fd3a4;
    background: #f3fbf5;
}

.video-upload-progress-item.is-error {
    border-color: #f0b4b4;
    background: #fff6f6;
}

.video-upload-progress-meta {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    font-size: 0.82rem;
    color: #4d6673;
    margin-bottom: 0.35rem;
}

.video-upload-progress-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.video-upload-bar {
    height: 8px;
    background: #d9e7ee;
    border-radius: 999px;
    overflow: hidden;
}

.video-upload-bar span {
    display: block;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #4aa3d9, #6bc4ea);
    transition: width 0.15s linear;
}

.video-upload-progress-status {
    font-size: 0.75rem;
    color: #7a909b;
    margin-top: 0.25rem;
}

.video-upload-status {
    margin-top: 0.6rem;
    background: #e8f6fc;
    color: #2c6a88;
    border-radius: 10px;
    padding: 0.55rem 0.75rem;
    text-align: center;
}

.video-upload-file-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.75rem;
    margin-top: 0.85rem;
}

.video-upload-file-card {
    position: relative;
    background: #f4fafd;
    border: 1px solid #d7e6ee;
    border-radius: 12px;
    padding: 0.45rem;
}

.video-upload-file-card.is-done {
    border-color: #8fd3a4;
}

.video-upload-file-card.is-error {
    border-color: #f0b4b4;
}

.video-upload-file-media {
    width: 100%;
    height: 110px;
    object-fit: cover;
    border-radius: 8px;
    background: #c5d8e3;
    display: block;
}

.video-upload-file-name {
    font-size: 0.72rem;
    color: #4d6673;
    margin: 0.35rem 0 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.video-upload-remove {
    position: absolute;
    top: 6px;
    inset-inline-end: 6px;
    width: 24px;
    height: 24px;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    line-height: 24px;
    padding: 0;
    cursor: pointer;
}

.video-upload-overlay {
    position: fixed;
    inset: 0;
    background: rgba(20, 40, 55, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 1rem;
}

.video-upload-overlay[hidden] {
    display: none !important;
}

.video-upload-dialog {
    width: min(420px, 100%);
    background: #fff;
    border-radius: 18px;
    padding: 1.4rem 1.3rem 1.2rem;
    text-align: center;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.video-upload-dialog-stars {
    font-size: 1.4rem;
    margin-bottom: 0.4rem;
}

.video-upload-finish {
    width: 100%;
    border: 0;
    border-radius: 12px;
    background: #e8eef2;
    color: #334;
    font-weight: 700;
    padding: 0.75rem 1rem;
    margin-top: 0.5rem;
}

#dawoodInfoRoot {
    --kid-primary: #6C63FF;
    --kid-pink: #FF6FB5;
    --kid-yellow: #FFD93D;
    --kid-blue: #4FC3F7;
    --kid-green: #6EE7B7;
}

.dawood-info-overlay {
    position: fixed;
    inset: 0;
    background: rgba(24, 32, 72, 0.55);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 18px;
    font-family: Tahoma, "Segoe UI", sans-serif;
}

.dawood-info-overlay.is-hidden {
    display: none;
}

.dawood-info-box {
    background: linear-gradient(180deg, #ffffff 0%, #fdf8ff 100%);
    max-width: min(620px, calc(100vw - 28px));
    width: 100%;
    height: min(90vh, 920px);
    border-radius: 32px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow:
        0 20px 60px rgba(108, 99, 255, 0.25),
        0 8px 20px rgba(0, 0, 0, 0.08);
    animation: dawoodInfoIn 0.35s ease;
    border: 5px solid #fff;
}

.dawood-info-box::before,
.dawood-info-box::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    z-index: 0;
}

.dawood-info-box::before {
    width: 180px;
    height: 180px;
    background: rgba(255, 111, 181, 0.12);
    top: -60px;
    left: -50px;
}

.dawood-info-box::after {
    width: 140px;
    height: 140px;
    background: rgba(79, 195, 247, 0.14);
    bottom: -45px;
    right: -40px;
}

.dawood-info-header {
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, var(--kid-primary), var(--kid-pink));
    padding: 22px 20px 28px;
    text-align: center;
    color: #fff;
    flex-shrink: 0;
}

.dawood-info-stars {
    font-size: 22px;
    margin-bottom: 8px;
    letter-spacing: 4px;
}

.dawood-info-header h2 {
    margin: 0;
    font-size: 1.55rem;
    font-weight: 800;
}

.dawood-info-header p {
    margin: 8px 0 0;
    font-size: 0.95rem;
    opacity: 0.95;
}

.dawood-info-scroll {
    position: relative;
    z-index: 2;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 22px 22px 10px;
    -webkit-overflow-scrolling: touch;
}

.dawood-info-card {
    background: #fff;
    border-radius: 22px;
    padding: 16px;
    margin-bottom: 14px;
    border: 2px dashed #ece7ff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

.dawood-info-card h3 {
    margin: 0 0 10px;
    color: var(--kid-primary);
    font-size: 1rem;
}

.dawood-info-card p,
.dawood-info-card li {
    color: #444;
    font-size: 0.95rem;
    line-height: 1.9;
}

.dawood-info-card ul,
.dawood-info-card ol {
    padding-inline-start: 18px;
    margin: 0;
}

.dawood-info-card li {
    margin-bottom: 8px;
}

.dawood-info-tip {
    background: linear-gradient(135deg, #fff7cc, #fff2a8);
    border: none;
}

.dawood-info-tip h3 {
    color: #9b7300;
}

.dawood-info-footer {
    position: relative;
    z-index: 5;
    padding: 16px 20px 22px;
    background: #fff;
    flex-shrink: 0;
    border-top: 1px solid #f1f1f1;
}

.dawood-info-ok {
    width: 100%;
    border: none;
    border-radius: 18px;
    padding: 14px;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    color: #fff;
    background: linear-gradient(135deg, var(--kid-primary), var(--kid-blue));
    box-shadow: 0 10px 24px rgba(108, 99, 255, 0.28);
    transition: 0.2s ease;
}

.dawood-info-ok:hover {
    transform: translateY(-2px) scale(1.01);
}

@keyframes dawoodInfoIn {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.92);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.dawood-info-fab {
    position: fixed;
    inset-inline-end: 18px;
    bottom: 18px;
    width: 60px;
    height: 60px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--kid-pink), var(--kid-primary));
    color: #fff;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9999;
    box-shadow: 0 10px 28px rgba(108, 99, 255, 0.35);
    transition: 0.2s ease;
}

.dawood-info-fab:hover {
    transform: scale(1.08) rotate(6deg);
}

.dawood-info-fab.is-visible {
    display: flex;
}

.dawood-info-fab svg {
    width: 28px;
    height: 28px;
}

@media (max-width: 600px) {
    .dawood-info-overlay {
        padding: 10px;
    }

    .dawood-info-box {
        height: 92vh;
        border-radius: 24px;
    }

    .dawood-info-header h2 {
        font-size: 1.25rem;
    }

    .dawood-info-scroll {
        padding: 16px;
    }

    .dawood-info-card {
        padding: 14px;
        border-radius: 18px;
    }

    .dawood-info-ok {
        border-radius: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .dawood-info-box,
    .dawood-info-ok,
    .dawood-info-fab {
        animation: none;
        transition: none;
    }
}

/* Products listing (catalog) */
.catalog {
    max-width: 1200px;
}

.catalog-filters {
    background: #fff;
    border-radius: var(--kids-radius);
    box-shadow: var(--kids-shadow-soft);
    overflow: hidden;
    border: 1px solid rgba(255, 213, 79, 0.35);
}

.catalog-filters__head {
    padding: 1rem 1.15rem 0.35rem;
}

.catalog-filters__title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--kids-ink);
}

.catalog-filters__form {
    padding: 0.5rem 1.15rem 1.15rem;
}

.catalog-filters .form-control {
    border-radius: var(--kids-radius-pill);
    border-color: rgba(255, 138, 31, 0.22);
    min-height: 42px;
    padding-inline: 1rem;
}

.catalog-filters .form-select,
.catalog-sort .form-select {
    border-radius: var(--kids-radius-pill);
    border-color: rgba(255, 138, 31, 0.22);
    min-height: 42px;
    padding-inline-start: 1rem;
    padding-inline-end: 2.5rem;
    background-position: right 0.9rem center;
}

[dir="rtl"] .catalog-filters .form-select,
[dir="rtl"] .catalog-sort .form-select {
    background-position: left 0.9rem center;
    padding-inline-start: 2.5rem;
    padding-inline-end: 1rem;
    text-align: right;
}

.catalog-filters .form-label {
    font-weight: 700;
    font-size: 0.82rem;
    color: var(--kids-muted);
}

@media (min-width: 992px) {
    .catalog-filters {
        position: sticky;
        top: calc(var(--site-header-height, 8rem) + 12px);
    }
}

.catalog-cats {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: 0.75rem;
    overflow-x: auto;
    padding: 0.15rem 0.15rem 0.85rem;
    margin-bottom: 0.5rem;
    scrollbar-width: thin;
}

.catalog-cats__item {
    flex: 0 0 auto;
    width: 5.5rem;
    text-align: center !important;
    text-decoration: none !important;
    color: var(--kids-ink);
}

[dir="rtl"] .catalog-cats__item {
    width: 6.35rem;
}

.catalog-cats__avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin-inline: auto;
    margin-bottom: 0.4rem;
    border-radius: 50%;
    overflow: hidden;
    background: var(--kids-cream);
    border: 2px solid rgba(255, 213, 79, 0.45);
    color: var(--kids-muted);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.catalog-cats__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.catalog-cats__item:hover .catalog-cats__avatar,
.catalog-cats__item.is-active .catalog-cats__avatar {
    border-color: var(--kids-orange);
    box-shadow: 0 6px 14px rgba(255, 138, 31, 0.22);
    transform: translateY(-2px);
}

.catalog-cats__name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.35;
    max-width: 100%;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.catalog-cats__item.is-active .catalog-cats__name {
    color: var(--kids-orange-deep);
}

.catalog-toolbar {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    margin-bottom: 1.25rem;
}

.catalog-toolbar__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 0.65rem 0.9rem;
    width: 100%;
}

.catalog-sort {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex: 0 0 auto;
    width: auto;
    max-width: 100%;
    background: #fff;
    border: 1px solid rgba(255, 138, 31, 0.22);
    border-radius: 999px;
    padding: 0.2rem 0.3rem 0.2rem 0.85rem;
    box-shadow: var(--kids-shadow-soft);
}

[dir="rtl"] .catalog-sort {
    padding: 0.2rem 0.85rem 0.2rem 0.3rem;
}

.catalog-sort__label {
    display: block;
    margin: 0;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--kids-muted);
    white-space: nowrap;
}

.catalog-sort .form-select {
    width: auto;
    min-width: 9.5rem;
    max-width: min(16rem, calc(100vw - 8rem));
    min-height: 36px;
    border: 0;
    box-shadow: none;
    background-color: transparent;
}

.catalog-toolbar__title {
    margin: 0;
    font-size: clamp(1.25rem, 2.4vw, 1.75rem);
    font-weight: 800;
    color: var(--kids-ink);
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.catalog-toolbar__count {
    margin: 0.2rem 0 0;
    font-size: 0.85rem;
    color: var(--kids-muted);
    font-weight: 600;
}

.catalog-card {
    position: relative;
}

.catalog-card:hover {
    transform: translateY(-4px) !important;
}

.catalog-card__media-wrap {
    position: relative;
}

.catalog-card__flags {
    position: absolute;
    top: 0.7rem;
    inset-inline-start: 0.7rem;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
    pointer-events: none;
}

.catalog-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.18rem 0.55rem;
    font-size: 0.68rem;
    font-weight: 800;
    line-height: 1.2;
    box-shadow: 0 4px 10px rgba(43, 42, 74, 0.12);
}

.catalog-badge--sale {
    background: var(--kids-coral);
    color: #fff;
}

.catalog-badge--in {
    background: rgba(46, 204, 155, 0.95);
    color: #08352a;
}

.catalog-badge--out {
    background: rgba(43, 42, 74, 0.78);
    color: #fff;
}

.catalog-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 0.9rem 0.95rem 0.4rem !important;
}

.catalog-card__meta {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--kids-muted);
}

.catalog-card__title {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.35;
    min-height: 2.7em;
}

.catalog-card__title a {
    color: var(--kids-ink);
    text-decoration: none;
}

.catalog-card__title a:hover {
    color: var(--kids-orange-deep);
}

.catalog-card__price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35rem 0.55rem;
    margin-top: auto;
}

.catalog-card__price-now {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--kids-orange-deep);
    line-height: 1.2;
}

.catalog-card__price-was {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--kids-muted);
    text-decoration: line-through;
}

.catalog-card__footer {
    background: transparent !important;
    border: 0 !important;
    padding: 0.35rem 0.95rem 1rem !important;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.catalog-card__more {
    text-align: center;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--kids-muted);
    text-decoration: none;
}

.catalog-card__more:hover {
    color: var(--kids-orange-deep);
}

.catalog-pagination {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.catalog-pagination .pagination {
    flex-wrap: wrap;
    justify-content: center;
}

.catalog-pagination .page-link {
    border-radius: 999px !important;
    border-color: rgba(255, 138, 31, 0.22);
    color: var(--kids-ink);
    min-width: 40px;
    text-align: center;
}

.catalog-pagination .page-link:hover {
    background: rgba(255, 213, 79, 0.35);
    border-color: var(--kids-orange);
    color: var(--kids-ink);
}

.catalog-pagination .page-item.active .page-link {
    background: linear-gradient(135deg, var(--kids-orange), var(--kids-orange-deep));
    border-color: var(--kids-orange);
    color: #fff;
}

.catalog-empty {
    text-align: center;
    background: #fff;
    border-radius: var(--kids-radius);
    box-shadow: var(--kids-shadow-soft);
    padding: 3rem 1.5rem;
}

.catalog-empty i {
    font-size: 2.4rem;
    color: var(--kids-orange);
}

.catalog-empty p {
    margin: 0.75rem 0 1.1rem;
    color: var(--kids-muted);
    font-weight: 700;
}

.checkout-donation {
    position: relative;
    display: grid;
    grid-template-columns: minmax(10rem, 0.75fr) minmax(0, 2.25fr);
    align-items: center;
    gap: 0.85rem;
    padding: 0.7rem 0.9rem;
    overflow: hidden;
    border: 1px solid rgba(255, 90, 107, 0.22);
    border-inline-start: 4px solid var(--kids-coral);
    border-radius: 16px;
    background: linear-gradient(135deg, #fff 0%, #fff9fa 100%);
    box-shadow: 0 6px 18px rgba(43, 42, 74, 0.07);
}

.checkout-donation__intro {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    min-width: 0;
}

.checkout-donation__icon {
    display: inline-grid;
    flex: 0 0 2.15rem;
    width: 2.15rem;
    height: 2.15rem;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: var(--kids-coral);
    font-size: 0.82rem;
}

.checkout-donation h3 {
    margin: 0 0 0.08rem;
    font-size: 0.92rem;
    font-weight: 800;
}

.checkout-donation p {
    margin: 0;
    color: var(--kids-muted);
    font-size: 0.73rem;
    line-height: 1.35;
}

.checkout-donation__form {
    display: grid;
    grid-template-columns: auto minmax(15rem, 1fr);
    align-items: center;
    gap: 0.65rem;
    min-width: 0;
}

.checkout-donation__amounts,
.checkout-donation__custom {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.checkout-donation__amounts {
    overflow-x: auto;
    padding-block: 0.1rem;
}

.checkout-donation__choice {
    flex: 0 0 auto;
    padding: 0.3rem 0.58rem;
    border: 1px solid rgba(255, 90, 107, 0.35);
    border-radius: 999px;
    color: var(--kids-ink);
    background: #fff;
    font-weight: 700;
    font-size: 0.72rem;
    white-space: normal;
    text-align: start;
    line-height: 1.35;
}

.checkout-donation__choice:hover,
.checkout-donation__choice:focus {
    border-color: var(--kids-coral);
    color: var(--kids-coral);
}

.checkout-donation__custom label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
    font-size: 0.75rem;
    font-weight: 700;
}

.checkout-donation__custom input {
    flex: 1 1 8rem;
    width: 100%;
    min-width: 7rem;
    min-height: 2.15rem;
    padding: 0.32rem 0.65rem;
    border: 1px solid #dee2e6;
    border-radius: 0.65rem;
    font-size: 0.78rem;
}

.checkout-donation__custom .btn {
    min-height: 2.15rem;
    padding-block: 0.3rem;
    font-size: 0.75rem;
    white-space: nowrap;
}

.checkout-donation__remove {
    position: absolute;
    inset-block-start: 50%;
    inset-inline-end: 0.55rem;
    transform: translateY(-50%);
    font-size: 0.72rem;
}

.checkout-donation--has-remove {
    padding-inline-end: 11rem;
}

@media (max-width: 991.98px) {
    .checkout-donation {
        grid-template-columns: 1fr;
    }

    .checkout-donation__form {
        grid-template-columns: auto minmax(13rem, 1fr);
    }

    .checkout-donation--has-remove {
        padding-inline-end: 0.9rem;
    }

    .checkout-donation__remove {
        position: static;
        grid-column: 1 / -1;
        justify-self: end;
        transform: none;
        margin-block: -0.35rem;
    }
}

@media (max-width: 767.98px) {
    .checkout-donation__form {
        grid-template-columns: 1fr;
    }

    .checkout-donation__amounts {
        padding-bottom: 0.25rem;
    }
}

@media (max-width: 575.98px) {
    .checkout-donation {
        gap: 0.6rem;
        padding: 0.65rem 0.7rem;
    }

    .checkout-donation__custom {
        align-items: stretch;
    }

    .checkout-donation__custom input,
    .checkout-donation__custom .btn {
        min-width: 0;
    }
}

@media (max-width: 575.98px) {
    .catalog-card__title {
        font-size: 0.82rem;
        min-height: 2.5em;
    }

    .catalog-card__price-now {
        font-size: 0.92rem;
    }

    .catalog-badge {
        font-size: 0.62rem;
        padding: 0.14rem 0.45rem;
    }
}

