.about-section {
    padding: 60px 0;
}

.about-title {
    font-weight: 600;
    font-size: 52px;
}

html[dir="rtl"] .about-title {
    font-size: 46px;
    margin-bottom: 10px;
}

.about-title .highlight {
    color: var(--primary);
    /* red color for Toy Mall */
}

.tf-breadcrumb-list span,
.tf-breadcrumb-list a {
    font-size: 14px !important;
    font-weight: 600;
}

.about-text {
    color: rgb(119, 119, 119);
    line-height: 24.64px
}

.about-image img {
    max-width: 100%;
    height: auto;
    /* Floating effect */
    animation: float 3s ease-in-out infinite;
}

/* Keyframes for floating */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-5px);
        /* move up */
    }

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


@media (max-width: 768px) {
    .about-section {
        text-align: start;
    }

    .about-title br {
        display: none !important;
    }

    .about-title {
        font-weight: 600;
        font-size: 28px;
        margin-top: 20px
    }

    .about-section .row {
        flex-direction: column-reverse;

    }

    .about-text {
        margin-top: 30px;
        font-size: 14px;
    }

    .about-image {
        margin-top: 30px;
    }
}



.wd-load:has(#infiniteScrollList) {
    display: flex;
    justify-content: center;
}

.icon-heart2.active {
    color: var(--primary);
}

.wg-quantity {
    justify-content: center;
}

#remove-all {
    border-color: var(--line) !important;
    border: 1px solid var(--line) !important;
}

#remove-all:hover {
    border-color: var(--dark) !important;
    border: 1px solid var(--dark) !important;
}

.tf-mini-cart-items:has(.cart-empty-wrap) {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.choose-addresses-box {
    border: 1px solid var(--dark) !important;
    padding: 10px;
    border-radius: 5px;
}

.tf-small {
    font-size: 14px !important;
    padding: 6px 12px !important;
    width: fit-content !important;
}

.title-checkout-button-cont {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.info-detail-checkout p {
    font-size: 14px !important;
    line-height: 14px !important;
}

.account-address-item-checkout {
    width: 250px !important
}

.list-account-address-checkout {
    display: flex !important;
}

.account-review-cont {
    border: 1px solid #ccc !important;
    margin: 10px;
}

#order_notes_cont label {
    top: 20px !important;
    transform: unset !important;
}

#order_notes_cont textarea:focus+label {
    transform: translateY(-10px) !important;
}

.cart-empty-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.remove-cart {
    cursor: pointer;
}

.tf-mini-cart-item {
    margin-bottom: 20px;
}

.tf-checkout-cart-main .check-ship:has(.tf-check-rounded) {
    border: 1px solid var(--line) !important;
}

.light-mode .spinner-child::before {
    background-color: black !important;
}

.tf-mini-cart-item .tf-mini-cart-info .wg-quantity {
    width: 60px !important;
    text-align: center;
    justify-content: center;
}

button:hover .light-mode .spinner-child::before,
a:hover .light-mode .spinner-child::before {
    background-color: white !important;
}



.payment-item {
    cursor: pointer !important;
}

.account-address-item.editing {
    background-color: var(--surface);
}

.remove-warning-cont {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.cart-head {
    font-size: 14px;
}

.stagger-wrap .stagger-item {
    opacity: 1 !important;
    transform: unset !important;
}

.size-btn-custom.disabled {
    opacity: 0.4;
    text-decoration: line-through;
}

.color-btn.disabled .check-color {
    position: relative;
    overflow: hidden;
    pointer-events: none;
    opacity: 0.9;
}

.color-btn.disabled .check-color::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    border-radius: inherit;
    pointer-events: none;
    background-image: repeating-linear-gradient(135deg,
            rgba(0, 0, 0, 1) 0 2px,
            rgba(0, 0, 0, 0) 2px 10px);
}

.review-section {
    width: 100%;
}

.size-btn-custom {
    min-width: 48px;
    height: 42px;
    padding: 0 12px;
    border-radius: 6px;
    /* small rounded corners for rectangle shape */
    border: 1px solid var(--line);
    font-size: 14px;
    white-space: nowrap;
    color: var(--dark);
    font-weight: 500;
    transition: all 0.3s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.size-btn-custom.active {
    border: 1px solid black;
}

.price-row {
    display: flex;
    justify-content: space-between;
    margin: 6px 0;
    display: flex;
    justify-content: space-between;
    margin: 6px 0;
    font-size: 16px;
    font-weight: 500;
    padding-block: 4px;
    border-bottom: 1px solid rgb(200, 200, 200, 0.4);
}

.total-row {
    font-weight: 600;
    font-size: 18px;
    margin-top: 10px;
}

.total-row span {
    font-size: 16px;
}

.ship-item {
    margin: 8px 0;
}

.region-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    cursor: pointer;
}

.check-regoin-cont {
    display: flex;
    gap: 5px;
    align-items: center;
}

.price-row-shipping {
    flex-direction: column !important;
}

.price-row-shipping>div {
    padding-inline-start: 20px;
}

.iti {
    width: 100%;
}

.coupon-button-input-cont {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

#coupon-input {
    flex: 1;
}

.glow-red {
    border-color: #dc3545 !important;
    /* Bootstrap red or any red you prefer */
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.25);
    transition: border-color 0.2s, box-shadow 0.2s;
}


.modal-search {
    width: 100%;
}

.modal-search .icon-close-popup {
    font-size: 16px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--surface);
    border-radius: 50%;
    cursor: pointer;
}

.categories-footer-container {
    display: flex;
}

.modal-search .modal-dialog {
    max-width: 1100px;
}

.modal-search .modal-content {
    margin-right: 15px;
    margin-left: 15px;
    border: 0;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.v-text-span {
    all: inherit !important;
    display: inline-block !important;
}

.modal-search .tf-loading {
    border-radius: 4px;
    border: 1px solid var(--main);
    margin-left: auto;
    margin-right: auto;
    width: 163px;
    height: 52px;
    justify-content: center;
}

@keyframes skeleton-shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.modal-search .tf-loading::before {
    border-color: var(--white);
}

.modal-search .tf-grid-layout {
    overflow-y: auto;
    padding-right: 34px;
    margin-right: -40px;
    min-height: 100px;
    /* Placeholder để tránh giật */
    transition: height 0.3s ease;
}

.modal-content:has(#search-input) {
    overflow: visible !important;
}

.showImportant {
    display: block !important;
}

.age-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 0;
}

.row-age {
    display: flex;
    flex: 1;
}

.age-wrapper a {
    flex: 1 1 calc(25% - 0px);
    max-width: 100%;
    box-sizing: border-box;
}

a:has(.age-item):hover {
    transform: scale(1.15);
}

a:has(.age-item) {
    flex: 1;
}

.age-item {
    width: 100%;
    aspect-ratio: 1/1;
    /* keeps it square */
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    max-width: 200px;
    max-height: 200px;
    transition: transform 0.3s ease;
}

.age-item::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: inherit;
    background-size: cover;
    background-position: center;
    z-index: 0;
    transition: transform 0.3s ease;
}

.age-item:hover::before {
    transform: scale(1.1);
}

.age-item span {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 300;
    text-align: center;
    line-height: 1.3;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
    z-index: 1;
    padding: 10px;
    font-family: var(--poppins-or-cario);

}

.row-age {
    justify-content: center;
}

.row-age:first-child a:nth-child(even) .age-item {
    margin-top: 80px;
}

.row-age:nth-child(2) a:nth-child(odd) .age-item {
    margin-top: 80px;
}

.hero-link {
    width: 100%;
}

.card-title {
    margin-bottom: 15px;
    color: var(--my-secondary) !important;
    font-size: 22px !important;
    font-weight: 600;
}

.card button {
    padding: 6px 16px;
    font-weight: 600;
    font-size: 12px;
}

@media (max-width: 767px) {
    .card img {
        height: 200px;
    }
}

.custom-category-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    grid-template-rows: repeat(3, 200px);
    grid-template-areas:
        "item1 item4"
        "item2 item4"
        "item3 item5";
    gap: 15px;
}

.custom-category-card {
    position: relative;
    /* border-radius: 12px; */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    padding: 15px;
    overflow: hidden;
    text-decoration: none;
    color: #000;
    transition: all 0.4s ease-in-out;
}

.text-category-image3-cont {
    max-width: 200px;
}

.category3-links {
    font-size: 14px;
    font-weight: 600;
    color: #dc3545;
    text-decoration: underline;
    opacity: 0;
    transform: translateY(20px);
    width: 100%;
    text-align: start;
    transition: all 0.3s ease-in-out;
}

.category-image-link:first-child {
    margin-inline-end: 6px;
}

.custom-category-card:hover .category3-links {
    opacity: 1;
    transform: translateY(0);
}

html[dir="rtl"] .tf-field.style-3 .tf-field-label {
    left: unset;
    right: 12px;
}

html[dir='rtl'] #search-input {
    padding-inline-start: 50px;
}

.js-countdown {
    direction: ltr;

}

#mobileCategoriesDropdown .title,
#mobileCategoriesDropdown .title-sub,
#mobileCategoriesDropdown .title-sub-sub {
    font-size: 12px !important;
}

#mobileCategoriesDropdown .mb-4 {
    margin-bottom: 0 !important;
}

#mobileCategoriesDropdown .icon {
    font-size: 6px !important;
}

.custom-item4 .text-category-image3-cont {
    margin-inline-start: 50px;
}

.custom-item5 .text-category-image3-cont {
    margin-inline-end: 50px;
}

.text-category-image3-even {
    margin-inline-start: auto !important;
}

html[dir='rtl'] .text-category-image3-odd {
    margin-inline-start: auto !important;
}

html[dir='rtl'] .text-category-image3-even {
    margin-inline-start: unset !important;
}


.custom-category-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-image: inherit;
    transition: transform 0.4s ease-in-out;
    z-index: 1;
}

.custom-category-card:hover::before {
    transform: scale(1.1);
}

.custom-overlay {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: all 0.3s ease-in-out;
}

.text-category-image3-cont {
    max-width: 170px;
}

.custom-category-title {
    margin: 0;
    font-size: 22px !important;
    font-weight: 500;
    z-index: 3000;
    display: inline-block;
    font-size: 1.1rem;
    color: #000;
    position: relative;
    z-index: 3;
    border-radius: 6px;
    display: inline-block;
}

.custom-category-link {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease-in-out;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 6px;
    text-decoration: none;
    color: #000;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
}

.custom-category-card:hover .custom-category-link {
    opacity: 1;
    transform: translateY(0);
}

/* Alternating left/right alignment */
.custom-item1 .custom-overlay,
.custom-item3 .custom-overlay,
.custom-item5 .custom-overlay {
    justify-content: center;
    align-items: flex-start;
    text-align: left;
}

.custom-item2 .custom-overlay,
.custom-item4 .custom-overlay {
    justify-content: center;
    align-items: flex-end;
    text-align: right;
}

/* grid mapping */
.custom-item1 {
    grid-area: item1;
}

.custom-item2 {
    grid-area: item2;
}

.custom-item3 {
    grid-area: item3;
}

.custom-item4 {
    grid-area: item4;
}

/* Big tall block */
.custom-item5 {
    grid-area: item5;
}

/* Wide bottom block */

@media (max-width: 1199px) {

    .custom-item4 .text-category-image3-cont,
    .custom-item5 .text-category-image3-cont {
        margin-inline-start: 0;
        margin-inline-end: 0;
    }
}

@media (max-width: 1000px) {
    .age-wrapper a {
        flex: 0 0 0;
    }

    .age-item {
        width: 120px;
        height: 120px;
    }

    .row-age a .age-item {
        margin-top: 0;
    }

    .row-age:first-child a:nth-child(even) .age-item {
        margin-top: 20px;
    }

    .row-age {
        margin-bottom: 10px;
        gap: 35px;
    }

    @media (max-width: 330px) {
        .row-age {
            gap: 10px;
        }
    }

    .row-age:nth-child(2) a:nth-child(odd) .age-item {
        margin-top: 20px;
    }
}

.flat-wrap-media-product .swiper-wrapper {
    height: auto !important;
}

.pswp__img {
    object-fit: contain;
}

.faq-accordion-button {
    font-weight: bold;
    color: #000;
    border: none;
    border-top: 1px solid #ddd;
}

.faq-accordion-button:not(.collapsed) {
    color: var(--primary);
    /* Red when open */
    background-color: #fff;
    box-shadow: none;
}

.faq-accordion-body {
    color: #555;
    border: none;
    /* remove side borders */
}

.faq-container {
    max-width: 1200px;
    margin: 40px auto;
}

.faq-accordion {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    /* soft shadow */
    border-radius: 8px;
    overflow: hidden;
    /* keep shadow clean */
}

@media (max-width: 400px) {
    .age-wrapper a {
        flex: 0 0 80px;
    }
}

.card-product .price-wrap .price-new {
    color: var(--primary);
}

.subcategory-list {
    display: none !important;
    /* force hidden */
    padding-left: 1rem;
    margin-top: 0.5rem;
}

.cate-item.open>.subcategory-list {
    display: block !important;
    /* only show when .open is toggled */
}

.toggle-icon {
    float: right;
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.cate-item.open>a>.toggle-icon {
    transform: rotate(180deg);
}

.current-scrollbar {
    max-height: fit-content !important;
    padding-inline-end: 10px;
}

.cate-item>a {
    width: 100%;
}

#reviews-container {
    display: flex;
    flex-wrap: wrap;
    row-gap: 10px;
    justify-content: center;
}

.card-product-wrapper img {
    object-fit: contain !important;
}

.tf-product-delivery-return {
    width: fit-content;
}

.brand-item img {
    object-fit: contain;
    width: auto !important;
    padding-inline: 10px;
}

.box-icon img {
    height: 30px;
    max-width: 30px;
    object-fit: contain;
}

.account-review-cont {
    max-width: 400px;
    width: 400px;
}

@media (max-width: 768px) {

    .account-review-cont {
        max-width: 300px;
        width: 300px;
    }

    .modal-search .modal-content {
        padding: 10px;
        margin: 0;
    }

    .modal-search .modal-dialog {
        padding: 0;
        margin: 0;
    }

}

.add-to-cart-footer-options-cont {
    display: flex;
    gap: 10px;
}

.add-to-cart-footer-options-cont .tf-sticky-atc-variant-price {
    display: flex;
    align-items: center;
    justify-content: center;
}

html[dir='rtl'] .slider-fashion-1 {
    transform: scaleX(-1);
}

.slider-fashion-1 .swiper-slide {
    height: 100% !important;
}

.card-product .list-product-btn li.wishlist,
.card-product .list-product-btn li.compare {
    display: block !important;
}

.category-toggle.active {
    color: var(--primary) !important;
}

.size-btn-custom-home {
    border: 1px solid rgb(213, 213, 213);
}

.category-toggle {
    display: flex;
    justify-content: space-around;
}

.category-toggle>span {
    flex: 1;
}

.js-countdown .countdown__timer:not(:first-child) {
    display: none !important;
}

.phone-input2 {
    padding-block: 0 !important;
}

.filter-group-check .list-item .label {
    width: 100%;
}

.tf-acually-dark {
    border: 1px solid var(--dark) !important;
    background-color: var(--dark) !important;
}

.tag-pills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 0;
}

.tag-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.tag-pill:hover {
    background-color: #e9ecef;
    border-color: #adb5bd;
    transform: translateY(-1px);
}

.tag-pill.active {
    background-color: var(--primary, #007bff);
    border-color: var(--primary, #007bff);
    color: white;
}

.tag-pill.active:hover {
    background-color: color-mix(in srgb, var(--primary) 80%, black);
    border-color: color-mix(in srgb, var(--primary) 80%, black);
}

.tag-text {
    font-weight: 500;
    line-height: 1;
}

.reason-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1050;
}

.reason-modal-content {
    background: white;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.reason-modal-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #dee2e6;
    display: flex;
    justify-content: between;
    align-items: center;
}

.reason-modal-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.reason-btn-close {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    margin-left: auto;
}

.reason-modal-body {
    padding: 1.5rem;
}

.reason-modal-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid #dee2e6;
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
}

.reason-form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.reason-form-control {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 1rem;
}

.reason-btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.875rem;
    transition: all 0.2s;
}

.reason-btn-secondary {
    background-color: #6c757d;
    color: white;
}

.category-name-product-item {
    color: #a5a5a5;
    transition: .3s all ease;
}

.category-name-product-item:hover {
    color: var(--primary);
}

.shipping-info-card {}

.btn-danger {
    background-color: #dc3545;
    color: white;
}

.btn:hover:not(:disabled) {
    opacity: 0.9;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.product-attributes .attribute-item {
    display: flex;
    border-bottom: 1px solid #ccc;
    max-width: 400px;
    padding-bottom: 8px;
    justify-content: space-between;
    margin-bottom: 8px;
}

.product-attributes .attribute-label {
    font-weight: 500;
    min-width: 80px;
    margin-right: 10px;
}

.all-categories-cont {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-top: 20px;
    row-gap: 20px;
}



.main-category-card {
    width: 240px;
}

.shipping-info-card {
    background-color: rgb(255, 255, 255, 1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    color: #333;
    position: absolute;
    bottom: 10px;
    left: 50%;
    display: flex;
    gap: 5px;
    align-items: center;
    transform: translateX(-50%);
    padding: 8px 12px;
    border-radius: 4px;
    z-index: 10000000;
    transition: all .3s ease-in;
    opacity: 0;
}

.shipping-info-card span {
    font-size: 12px !important;

}

.card-product:hover .shipping-info-card {
    transform: translateX(-50%) translateY(-10px);
    opacity: 1;
}


@keyframes bounceIn {
    0% {
        transform: translateX(-50%) translateY(15px) scale(0.95);
        opacity: 0;
    }

    60% {
        transform: translateX(-50%) translateY(-4px) scale(1.05);
        opacity: 1;
    }

    80% {
        transform: translateX(-50%) translateY(2px) scale(0.98);
    }

    100% {
        transform: translateX(-50%) translateY(0) scale(1);
    }
}



.main-category-card {
    font-size: 20px;
    color: #333;
    font-weight: 500;
    text-align: center;
}

.main-category-card span {
    display: inline-block;
    padding-block: 4px !important;
}

.main-category-card img {
    transition: scale 0.3s ease-in-out;
    display: block;
    width: 100%;
}


.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
    text-decoration: none;
}

.whatsapp-float i {
    line-height: 1;
    font-size: 32px;
}

.cart-empty-wrap {
    gap: 10px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .phone-sub-cont {
        width: 100%;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 90px;
        right: 15px;
    }
}

.btn-outline-primary {
    border: 1px solid var(--primary);
    color: var(--primary) !important;
    background-color: transparent;
    font-size: 12px;
    transition: all 0.3s ease;
}

.btn-sm {
    padding: 6px 12px;
    border-radius: 4px;
}



.breadcrumb-link {
    color: var(--primary);
    cursor: pointer;
}

.facet-title {
    overflow-x: hidden !important;
}

@media (max-width: 991px) {
    .main-category-card {
        width: 167px;
        height: 230px;
        box-sizing: border-box;
    }

    .main-category-card {
        font-size: 17px;
        font-weight: 400;
    }
}


.main-category-card img:hover {
    scale: 1.03
}


/* Center hero slider images */
.center-this-image-please {
    object-fit: cover;
    object-position: center center !important;
}

.prevent-zoom {
    transform: scale(1) !important;
}


@media (min-width: 1250px) {
    .col-lg-15 {
        width: 14%;
    }

    .col-lg-25 {
        width: 18%;
    }

}

@media (min-width: 992px) {
    .col-lg-15 {
        width: 12%;
    }

    .col-lg-25 {
        width: 20%;
    }

    .category-image-zoom {
        width: 100%;
        min-height: 145px;
    }
}

.category-image1 {
    transition: scale 0.4s cubic-bezier(.25, .8, .25, 1);
}

.category-image1:hover {
    scale: 1.08;
}

.category-image2:hover {
    scale: 1 !important;
}

.category-image-zoom img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.toy-header {
    margin-top: 50px;
}

.liner-continer-category {
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .trending-categories-section {
        padding-bottom: 0 !important;
    }

    .toy-header {
        font-size: 22px !important;
    }

    .tf-group-filter {
        justify-content: space-between;
        width: 100%;
    }

    .categories-footer-header {
        text-align: start !important;
    }

    .categories-footer-container {
        display: none;
    }
}


@media (max-width: 420px) {

    .age-item {
        width: 100px !important;
        height: 100px !important;
        aspect-ratio: unset;
    }

    .age-item span {
        font-size: 1.3rem;

    }

    .row-age {
        max-width: 100vw;
        max-width: 100dvw;
    }
}

@media (max-width: 380px) {
    .row-age {
        gap: 10px;
    }

    .age-item {
        width: 90px !important;
        height: 90px !important;
        aspect-ratio: unset;
    }

}

@media (max-width: 345px) {

    .age-item {
        width: 80px !important;
        height: 80px !important;
        aspect-ratio: unset;
    }
}



.footer {
    background-color: #f8f9fa;
    /* adjust if screenshot bg is different */
    color: rgb(122, 122, 122);
    font-size: 14px;
}

.footer-title {
    font-weight: 600;
    font-size: 16px;
    color: var(--my-secondary);
    margin-bottom: 15px;
}

.footer a {
    color: rgb(122, 122, 122);
    text-decoration: none;
    transition: color 0.3s ease;
}

.header-bg .logo {
    width: 80px !important;
}

.footer-sub-cont-have-a-question i {
    color: var(--my-secondary);
}

.footer-sub-cont-have-a-question p {
    font-size: 13px !important;

}

.footer-sub-cont-follow-us i {
    border: 2px solid rgb(222, 222, 222);
    padding: 10px;
    width: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40px;
    border-radius: 50%;

}

@media (min-width:991px) {

    #header .container,
    .tf-topbar .container {
        max-width: unset;
        padding-inline: 50px;
    }
}

.s-term-user .content {
    gap: 20px !important;
}

.topbar-wraper {
    padding-inline-start: 19px;
}

.topbar-wraper p {
    color: rgb(255, 255, 255, .8);
}

.footer a:hover {
    color: var(--my-secondary);
}

.footer-bottom {
    color: #777;
}

.footer-bottom a {
    color: rgb(122, 122, 122);
}

.footer-bottom a:hover {
    color: var(--my-secondary);
}

.topbar-bg {
    background: var(--my-secondary) !important;
}

.faq-container .row {
    margin-inline: auto;
    max-width: 1250px;
}

.faq-container .row>div {
    padding-inline: 20px;
}


.faq-accordion-button {
    font-weight: 600;
    font-size: 16px;
}

.signup-banner {
    background-color: var(--my-secondary);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    min-height: 80px;
}

.signup-text {
    color: white;
    font-size: 18px;
    font-weight: 400;
    margin-right: 30px;
}

.signup-form {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.email-input {
    padding: 12px 20px;
    width: 400px !important;
    font-size: 16px;
    max-width: calc(100vw - 20px);
    margin-inline: auto;
    border: none;
    border-radius: 4px;
    outline: none;
    color: #666;
}

.email-input::placeholder {
    color: #999;
}

.banners-section {
    padding-bottom: 32px !important;
}

.footer-sub-cont-have-a-question i {
    font-size: 16px;
}

.signup-button {
    background-color: rgb(233, 28, 37);
    color: white;
    border: none;
    white-space: nowrap;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.signup-button:hover {
    background-color: #dc2626;
}

@media (max-width: 768px) {
    .logo {
        width: 100px !important;
    }

    .signup-text {
        font-size: 18px !important;
        text-align: start;
    }

    .email-input {
        width: 100% !important;
    }

    .tf-topbar {
        display: none !important;
    }

    .signup-banner {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }

    .signup-text {
        margin-right: 0;
        margin-bottom: 20px;
        font-size: 20px;
    }

    .email-input {
        width: 250px;
    }
}

@media (max-width: 480px) {
    .signup-form {
        flex-direction: column;
        width: 100%;
    }

    .email-input {
        width: 100%;
        border-radius: 4px;
        margin-bottom: 10px;
    }

    .signup-button {
        width: 100%;
        border-radius: 4px;
    }
}

/* Get in touch section styles */
.get-in-touch-section {
    background: #fff;
    margin-top: 40px;
    margin-bottom: 40px;
}

.get-in-touch-title {
    font-size: 45px;
    font-weight: 600;
    color: #222;
}

.get-in-touch-title .highlight {
    color: var(--primary);
}

.get-in-touch-desc {
    color: rgb(119, 119, 119);
    font-size: 14px;
}

.get-in-touch-list i {
    font-size: 1.1rem;
    vertical-align: middle;
}

.get-in-touch-list li {
    font-size: 14px;
    color: rgb(122, 122, 122);
    display: flex;
    align-items: center;
}

.get-in-touch-list li .link {
    color: rgb(122, 122, 122);
}

.get-in-touch-note {
    border-left: 3px solid var(--primary);
    padding: 10px 16px;
    margin-inline: auto;
    font-size: 1rem;
    font-size: 14px;
    color: rgb(122, 122, 122);
    border-radius: 0;
}

.footer ul li a {
    margin-bottom: 12px;
    color: rgb(122, 122, 122);
    font-family: var(--poppins-or-cario);
}

.footer {
    background-color: rgb(241, 241, 248) !important;
}

.footer .container {
    padding-inline: 87px;
}

.box-title .title {
    color: white;
}

.socilize-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 22px;
    color: rgb(122, 122, 122);
}

.get-in-touch-social .social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid rgb(204, 204, 204);
    color: rgb(122, 122, 122);
    font-size: 1.2rem;
    margin-right: 6px;
    padding: 4px;
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
}

.get-in-touch-social .social-icon:hover {
    background: var(--primary);
    border: 2px solid var(--primary);
    color: #fff;
}

.get-in-touch-img {
    max-width: 100%;
    height: auto;
    animation: float 3s ease-in-out infinite;
}

@media (max-width: 991px) {
    .get-in-touch-title {
        font-size: 2rem;
    }

    .get-in-touch-section {
        margin-top: 20px;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .get-in-touch-section {
        padding: 0 0 30px 0;
    }

    .get-in-touch-title {
        font-size: 1.5rem;
    }

    .get-in-touch-img {
        max-width: 320px;
        margin-bottom: 20px;
    }
}









.buzz-section {
    background-color: rgb(247, 247, 247);
    overflow-x: hidden;
}

.main-container {
    display: flex;
    align-items: center;
    min-height: 100vh;
    padding: 40px 0;
}

.buzz-container {
    position: relative;
    text-align: center;
}

.buzz-lightyear {
    width: 100%;
    max-width: 1500px;
    height: auto;
    object-fit: contain;
}

.content-section {
    padding-left: 60px;
}

.main-title {
    font-size: 52px;
    font-weight: 700;
    color: #333333;
    line-height: 1.1;
    margin-bottom: 20px;
}

.highlight {
    color: #FF0000;
}

.description {
    font-size: 16px;
    color: #666666;
    margin-bottom: 30px;
    line-height: 1.5;
}

.branches-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.branch-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.branches-subtitle {
    color: rgb(119, 119, 119);
    margin-top: 15px;
    margin-bottom: 25px;
}

.buzz-shop-button {
    background-color: var(--primary);
    border-radius: 3px;
    color: white;
    padding: 10px 20px;
    margin-top: 30px;
}

.buzz-shop-button:hover {
    background-color: color-mix(in srgb, var(--primary) 80%, black) !important;
    color: white !important;
}

.branch-number {
    font-size: 3rem;
    font-weight: 600;
    color: var(--primary);
    line-height: 1;
    min-width: 60px;
}

.branch-details {
    flex: 1;
}

.branch-name {
    font-size: 18px;
    font-weight: 600;
    color: #333333;
    margin-bottom: 5px;
}

.buzz-text-cont {
    max-width: 510px;
}

.branch-location {
    font-size: 12px;
    color: rgb(119, 119, 119);
    margin-top: 10px;
    margin-bottom: 5px;
}

.branch-phone {
    font-size: 14px;
    color: rgb(119, 119, 119);
}


.arrow {
    font-size: 14px;
}

@media (max-width: 992px) {

    .footer .container {
        padding-inline: 12px;
    }

    .content-section {
        padding-left: 30px;
    }

    .main-title {
        font-size: 3rem;
    }

    .buzz-section-text-cont {
        margin-inline: 15px;
        padding-bottom: 20px;

    }

    .buzz-shop-button {
        margin-top: 10px;
    }
}

@media (max-width: 768px) {
    .main-container {
        flex-direction: column;
        text-align: center;
    }

    .content-section {
        padding-left: 0;
        padding-top: 30px;
    }

    .main-title {
        font-size: 2.5rem;
    }

    .branches-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .buzz-lightyear {
        max-width: 350px;
    }
}

@media (max-width: 576px) {
    .main-title {
        font-size: 2rem;
    }

    .branch-number {
        font-size: 2.5rem;
        min-width: 50px;
    }
}




.card-trending {
    border: 1px solid #ccc;
}

.card-trending .card-body {
    padding-bottom: 43px !important;
}


.justify-content-center {
    justify-content: center !important;
}














@media (max-width: 1199px) {
    .custom-category-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(5, 200px);
        grid-template-areas:
            "item1"
            "item2"
            "item3"
            "item4"
            "item5";
        margin-bottom: -80px;
    }

    .custom-item5 {
        padding-block: 15px;
        height: fit-content;
    }

    .banners-section {
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }
}

@media (max-width: 991px) {
    .apps-links {
        display: flex;
        flex-direction: column;
    }

    .footer-row {
        flex-direction: column-reverse !important;
        align-items: start !important;
        text-align: start !important;
    }

    .footer-bottom {
        margin-bottom: 40px;
    }

    .footer-sub-cont-logo {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

.canvas-categories {
    max-width: 100%;
    padding-bottom: 50px;
    width: 400px;
}

.canvas-categories .canvas-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid var(--line);
    background: #fff;
}

.canvas-categories .canvas-header h5 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--dark);
}

.canvas-categories .canvas-header .icon-left {
    font-size: 20px;
    color: var(--dark);
    margin-right: 10px;
}

.canvas-categories .canvas-header .icon-close-popup {
    font-size: 16px;
    color: var(--dark);
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    line-height: 1;
}

.canvas-categories .canvas-body {
    padding: 20px;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
}

/* Categories facet styles */
.wd-facet-categories {
    margin-bottom: 20px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 0;
}

.wd-facet-categories:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.wd-facet-categories .facet-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
}

.wd-facet-categories .facet-title:hover {
    color: var(--primary);
}

.wd-facet-categories .facet-title .title {
    font-size: 16px;
    font-weight: 400;
    color: var(--dark);
    margin: 0;
}

.wd-facet-categories .facet-title a {
    text-decoration: none;
    color: inherit;
    text-align: start;
    flex: 1;
}

.wd-facet-categories .facet-title a:hover {
    color: var(--primary);
}

.text-333 {
    color: #333 !important;
}

.wd-facet-categories .icon {
    font-size: 10px;
    color: #333;
    transition: transform 0.3s ease;
    margin-left: 10px;
}

.wd-facet-categories .facet-title.collapsed .icon.rotate-arrow {
    transform: rotate(0deg);
}

.wd-facet-categories .facet-title:not(.collapsed) .icon.rotate-arrow {
    transform: rotate(180deg);
}

.wd-facet-categories .facet-body {
    list-style: none;
    margin: 0;
    padding: 0;
    padding-top: 10px;
    padding-inline-start: 10px;
}

.wd-facet-categories .facet-body .item {
    display: block;
    padding: 8px 0;
    text-decoration: none;
    color: #ccc;
    font-size: 14px;
    transition: color 0.3s ease;
}

.wd-facet-categories .facet-body .item:hover {
    color: var(--primary);
}

.wd-facet-categories .facet-body .title-sub {
    font-size: 14px;
    font-weight: 500;
}

.wd-facet-categories .facet-sub-body {
    list-style: none;
    margin: 0;
    padding: 0;
    margin-top: 8px;
}

.wd-facet-categories .facet-sub-body .item {
    padding: 6px 0;
    font-size: 13px;
}

.wd-facet-categories .facet-sub-body .title-sub-sub {
    font-size: 13px;
    font-weight: 400;
    color: var(--grey-3);
}

/* Text utility classes */
.text-caption-1 {
    font-size: 14px;
    line-height: 1.4;
}

.text-caption-2 {
    font-size: 13px;
    line-height: 1.4;
}

.text-tertiary {
    color: var(--grey-3) !important;
}

/* Rotate arrow animation */
.rotate-arrow {
    transition: transform 0.3s ease;
}

/* Bootstrap collapse enhancement */
.collapse {
    transition: height 0.35s ease;
}

.collapse.show {
    height: auto;
}

.box-nav-menu.mega-menu::before {
    content: "";
    position: absolute;
    top: -140px;
    left: 0;
    right: 0;
    height: 140px;
    background: red;
    pointer-events: none;
    z-index: -1;
}

/* Categories Mega Menu Styles */
.mega-categories {
    max-width: 100vw;
    width: fit-content;
    left: 50%;
    transform: translateX(-50%);
    padding: 30px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* @media (max-width:1550px){
    .mega-categories {
        max-width: 1100px;
    }   
}
@media (max-width:1350px){
    .mega-categories {
        max-width: 1100px;
    }   

} */

.categories-mega-wrapper {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.category-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    align-items: flex-start;
}

.category-section {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    flex-direction: row-reverse;
}

.category-icon {
    flex-shrink: 0;
    width: 100px;
    height: auto;
    object-fit: contain;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.category-icon img {
    width: 100px;
    height: auto;
    object-fit: contain;
}


.category-content {
    flex: 1;
    min-width: 0;
}

.category-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

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

.category-links li {
    margin-bottom: 8px;
}

.category-links .menu-link-text {
    font-size: 13px;
    color: #666;
    text-decoration: none;
    line-height: 1.4;
    transition: color 0.2s ease;
    display: block;
}

.category-links .menu-link-text:hover {
    color: var(--primary);
    text-decoration: none;
}

/* Responsive adjustments for mega menu */
@media (max-width: 1400px) {
    .category-row {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1250px) {

    .category-row {
        gap: 25px;
    }

    .category-section {
        gap: 12px;
    }

    .category-icon img {
        width: 80px;
        height: 80px;
    }
}

.toolbar-label {
    white-space: nowrap;
}

@media (max-width: 1100px) {
    .category-row {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .category-row {
        grid-template-columns: repeat(2, 1fr);
    }

}