body {
    font-family: "Roboto", sans-serif;
}

main > section.bg-white,
main > section.bg-brand-soft {
    border-radius: 0 !important;
    clip-path: inset(0 -100vmax);
    position: relative;
}

main > section.bg-white {
    box-shadow: 0 0 0 100vmax #fff;
}

main > section.bg-brand-soft {
    box-shadow: 0 0 0 100vmax var(--color-bg-soft);
}

.marquee {
    overflow: hidden;
    position: relative;
    white-space: nowrap;
}

.marquee__track {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 18s linear infinite;
    font-size: 0.9rem;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

.badge {
    position: absolute;
    top: -8px;
    right: -10px;
    height: 18px;
    width: 18px;
    border-radius: 999px;
    background: var(--color-primary);
    color: #fff;
    font-size: 10px;
    line-height: 18px;
    text-align: center;
}

.menu-link {
    position: relative;
    padding-bottom: 2px;
    transition: color 0.2s ease;
}

.menu-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 0;
    background: var(--color-primary);
    transition: width 0.2s ease;
}

.menu-link:hover {
    color: var(--color-primary);
}

.menu-link:hover::after {
    width: 100%;
}

.cat-menu {
    position: absolute;
    left: 0;
    top: 100%;
    min-width: 220px;
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease;
    z-index: 50;
}

.cat-toggle:hover + .cat-menu,
.cat-menu:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.cat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #111827;
    border-bottom: 1px solid #f1f5f9;
}

.cat-item img {
    width: 18px;
    height: 18px;
    object-fit: cover;
}

.cat-item:hover {
    color: var(--color-primary);
    background: #ffffff;
}

.mobile-menu {
    position: fixed;
    inset: 0 auto 0 0;
    width: 280px;
    background: #fff;
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.2);
    transform: translateX(-100%);
    transition: transform 0.2s ease;
    z-index: 100;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-link {
    padding: 14px 18px;
    border-bottom: 1px solid #e2e8f0;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
}
.mobile-group {
    border-bottom: 1px solid #e2e8f0;
}
.mobile-group summary {
    list-style: none;
}
.mobile-group summary::-webkit-details-marker {
    display: none;
}
.mobile-toggle-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}
.mobile-toggle-link i,
.mobile-sublink i {
    font-size: 11px;
    color: #6b7280;
}
.mobile-group[open] > summary i {
    transform: rotate(180deg);
}
.mobile-submenu,
.mobile-childmenu {
    list-style: none;
    margin: 0;
    padding: 0;
}
.mobile-sublink,
.mobile-childlink {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 28px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #1f2937;
    text-transform: uppercase;
}
.mobile-childlink {
    padding-left: 42px;
    font-size: 0.78rem;
    text-transform: none;
}

.overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 90;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

.side-link {
    display: block;
    padding: 8px 10px;
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 600;
    color: #1f2937;
    border-bottom: 1px solid #f1f5f9;
}

.side-link:hover {
    color: var(--color-primary);
    background: #ffffff;
}

.hero-cat-menu {
    overflow-x: visible;
}

.side-item {
    position: relative;
}

.side-submenu,
.side-childmenu {
    position: absolute;
    left: 100%;
    top: 0;
    min-width: 220px;
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
    border-radius: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.2s ease;
    z-index: 40;
    padding: 6px 0;
}

.side-item:hover > .side-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.side-subitem {
    position: relative;
}

.side-sublink,
.side-childlink {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #1f2937;
    border-bottom: 1px solid #f1f5f9;
}

.side-sublink i {
    color: #94a3b8;
    font-size: 0.75rem;
}

.side-subitem:hover > .side-childmenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.side-sublink:hover,
.side-childlink:hover {
    color: var(--color-primary);
    background: #ffffff;
}

.hero-slider {
    position: relative;
    height: 360px;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.slide.is-active {
    opacity: 1;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    color: #1f2937;
    width: 38px;
    height: 38px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
    transition: background 0.2s ease;
}

.slider-btn:hover {
    background: var(--color-primary);
    color: #fff;
}

.slider-btn.left {
    left: 10px;
}

.slider-btn.right {
    right: 10px;
}

.home5-hero .slider-btn {
    background: #ffffff;
    color: #111827;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.22);
}

.home5-hero .slider-btn:hover {
    background: #ffffff;
    color: #111827;
}

.home5-hero .hero-dots {
    position: absolute;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
}

.home5-hero .hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    border: none;
    background: rgba(255, 255, 255, 0.65);
    cursor: pointer;
}

.home5-hero .hero-dot.is-active {
    width: 28px;
    background: #ff8a00;
}

.home5-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    font-size: 13px;
    font-weight: 600;
    color: #1f2937;
    text-transform: none;
}

.home5-nav-item {
    position: relative;
}

.home5-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: inherit;
}

.home5-submenu,
.home5-childmenu {
    position: absolute;
    left: 0;
    top: calc(100% + 8px);
    min-width: 200px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    padding: 6px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.2s ease;
    z-index: 60;
}

.home5-childmenu {
    left: 100%;
    top: 0;
    transform: translateX(8px);
}

.home5-nav-item:hover > .home5-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.home5-subitem {
    position: relative;
}

.home5-subitem:hover > .home5-childmenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.home5-sublink,
.home5-childlink {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 600;
    color: #1f2937;
    white-space: nowrap;
}

.home5-sublink:hover,
.home5-childlink:hover {
    background: #ffffff;
    color: #111827;
}

.carousel {
    overflow: hidden;
}

.carousel-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 0 5px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
}

.carousel-track::-webkit-scrollbar {
    display: none;
}

.carousel-track.dragging {
    cursor: grabbing;
    user-select: none;
}

.home3-cat-card {
    flex: 0 0 calc((100% - 112px) / 8);
    min-width: 120px;
}

.home3-category-tile {
    flex: 0 0 calc((100% - 80px) / 6);
    min-width: 160px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #fff;
    padding: 16px;
    text-align: center;
}

.home3-category-tile img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 10px;
    background: #ffffff;
}

.home3-category-tile p {
    margin-top: 12px;
    font-size: 0.9rem;
    font-weight: 600;
}

.home3-product-card {
    flex: 0 0 calc((100% - 64px) / 5);
    min-width: 180px;
    border: 1px solid rgb(226 232 240 / 1);
}

.carousel-btn {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #1f2937;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.carousel-btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.cat-card {
    min-width: 140px;
    background: #ffffff;
    border-radius: 12px;
    padding: 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    border: 1px solid #7c3aed;
}

.cat-card img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 999px;
}

.deal-card {
    background: #fff;
    padding: 16px;
    border-radius: 12px;
    display: flex;
    gap: 16px;
    align-items: center;
    border: 1px solid #fee2e2;
}

.deal-card img {
    width: 88px;
    height: 88px;
    object-fit: cover;
    border-radius: 12px;
    background: #fff;
}

.view-more {
    background: var(--color-secondary);
    color: #fff;
    padding: 8px 14px;
    font-size: 0.85rem;
    border-radius: 6px;
}

.product-carousel {
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-carousel .carousel-track {
    flex: 1;
}

.product-card {
    flex: 0 0 calc((100% - 80px) / 6);
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-card img {
    width: 100%;
    height: 150px;
    object-fit: contain;
}

.product-card h3 {
    font-size: 0.9rem;
    font-weight: 600;
}

.product-card p {
    font-weight: 700;
    color: var(--color-primary);
}

.product-card button {
    margin-top: auto;
    background: var(--color-primary);
    color: #fff;
    border-radius: 6px;
    padding: 8px 0;
    font-size: 0.85rem;
    font-weight: 600;
}

.catalog-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 10px;
}

.catalog-line {
    flex: 1;
    height: 1px;
    background: #d1d5db;
}

.catalog-view {
    background: #ef4444;
    color: #fff;
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
}

.catalog-grid {
    margin-top: 16px;
}

.catalog-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding-bottom: 6px;
    cursor: grab;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.catalog-track::-webkit-scrollbar {
    display: none;
}

.catalog-track.dragging {
    cursor: grabbing;
    user-select: none;
}

.catalog-card {
    position: relative;
    border: 1px solid #9ca3af;
    border-radius: 6px;
    background: #fff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    flex: 0 0 calc((100% - 64px) / 5);
    scroll-snap-align: start;
}

.catalog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.catalog-card h3 {
    font-size: 0.95rem;
    font-weight: 600;
    padding: 12px 12px 0;
    min-height: 44px;
}

.catalog-price {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px 12px;
    font-weight: 700;
}

.discount-pill {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #ef4444;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
}

.catalog-order {
    margin-top: auto;
    background: #0f1b4c;
    color: #fff;
    padding: 10px 0;
    font-weight: 700;
}

.btn-view-more {
    background: #ff7a45;
    color: #fff;
    padding: 8px 18px;
    font-size: 0.9rem;
    border-radius: 4px;
    font-weight: 600;
}

.home5-page .btn-view-more {
    background: #000000;
    border-radius: 999px;
    padding: 8px 18px;
    font-weight: 600;
}

.home5-page .product-carousel .deal-tile {
    flex: 0 0 calc((100% - 64px) / 5);
    min-width: calc((100% - 64px) / 5);
}

.home5-page .deal-tile {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 14px;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
    background: #fff;
}

.home5-page .deal-tile::after {
    content: "-20%";
    position: absolute;
    top: 12px;
    right: 12px;
    background: #f97316;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 8px;
}

.home5-page .deal-brand {
    background: transparent;
    color: #2563eb;
    font-size: 11px;
    font-weight: 700;
    padding: 0;
    text-transform: none;
}

.home5-page .deal-badge {
    width: auto;
    height: auto;
    border-radius: 8px;
    padding: 4px 8px;
    font-size: 0;
    background: #f97316;
}

.home5-page .deal-badge strong {
    font-size: 12px;
}

.home5-page .deal-tile img {
    height: 180px;
    border-radius: 8px;
    background: #ffffff;
}

.home5-page .deal-tile h3 {
    font-size: 0.95rem;
    font-weight: 600;
    min-height: 48px;
}

.home5-page .deal-stars {
    color: #f97316;
}

.home5-page .deal-price {
    gap: 8px;
}

.home5-page .deal-price .new-price {
    color: #2563eb;
    font-size: 1.05rem;
}

.home5-page .deal-order {
    margin-top: 10px;
    background: #000000;
    border-radius: 8px;
}

.product-grid {
    margin-top: 16px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

.product-carousel .product-tile {
    flex: 0 0 calc((100% - 64px) / 5);
    scroll-snap-align: start;
}

.product-tile {
    border: 1px solid #7c3aed;
    padding: 12px;
    border-radius: 6px;
    background: #fff;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-tile img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
}

.product-tile h3 {
    font-size: 0.95rem;
    font-weight: 600;
}

.discount-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff0018;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-stars {
    color: #e11d1d;
    font-size: 0.8rem;
    display: flex;
    gap: 4px;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
}

.old-price {
    color: #9ca3af;
    text-decoration: line-through;
    font-weight: 500;
}

.new-price {
    color: #111827;
}

.product-actions {
    display: flex;
    gap: 8px;
}

.btn-order {
    flex: 1;
    background: #6d28d9;
    color: #fff;
    font-weight: 700;
    border-radius: 6px;
    padding: 10px 0;
    text-align: center;
}

.btn-cart {
    width: 46px;
    background: #6d28d9;
    color: #fff;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.deal-tile {
    position: relative;
    border: 1px solid #ff7a45;
    border-radius: 6px;
    background: #fff;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 220px;
}

.deal-brand {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #14b8a6;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}

.deal-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 54px;
    height: 54px;
    border-radius: 999px;
    background: #ff7a45;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.1;
}

.deal-badge strong {
    font-size: 13px;
}

.deal-tile img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    border-radius: 4px;
    background: #fff;
}

.deal-tile h3 {
    font-size: 0.95rem;
    font-weight: 600;
    min-height: 46px;
}

.deal-stars {
    color: #ef4444;
    font-size: 0.85rem;
    display: flex;
    gap: 4px;
}

.deal-price {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
}

.deal-price .old-price {
    color: #9ca3af;
    text-decoration: line-through;
    font-weight: 500;
}

.deal-price .new-price {
    color: #ff7a45;
    font-size: 1.1rem;
}

.deal-order {
    margin-top: auto;
    background: #ff7a45;
    color: #fff;
    font-weight: 700;
    border-radius: 6px;
    padding: 10px 0;
    text-align: center;
}

.home5-product-card {
    flex: 0 0 calc((100% - 80px) / 6);
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.home5-product-media {
    background: #ffffff;
    border: 1px solid #eef2f7;
    border-radius: 12px;
    height: 170px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
}

.home5-product-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.home5-product-card h3 {
    font-size: 0.95rem;
    font-weight: 600;
    min-height: 44px;
}

.home5-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-weight: 700;
}

.home5-price-current {
    color: #0f172a;
}

.home5-price-old {
    color: #94a3b8;
    font-size: 0.85rem;
    text-decoration: line-through;
    font-weight: 500;
}

.home5-actions {
    margin-top: auto;
    display: flex;
    gap: 8px;
}

.home5-btn {
    flex: 1;
    border-radius: 6px;
    border: 1px solid #ff7a45;
    background: #ff7a45;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 8px 0;
}

.home5-btn.outline {
    background: #fff;
    color: #ff7a45;
}

.product-carousel .carousel-track {
    scroll-snap-type: x mandatory;
}

.product-carousel .product-card {
    scroll-snap-align: start;
}

.feature-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    border: 1px solid #e2e8f0;
}

.feature-card i {
    font-size: 28px;
    color: var(--color-primary);
}

.feature-card h3 {
    margin-top: 10px;
    font-weight: 600;
}

.feature-card p {
    font-size: 0.85rem;
    color: #64748b;
}

.scrolltop {
    position: fixed;
    right: 24px;
    bottom: 24px;
    background: var(--color-primary);
    color: #fff;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 80;
}

.whatsapp {
    position: fixed;
    left: 24px;
    bottom: 24px;
    width: 54px;
    height: 54px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25d366;
    color: #fff;
    font-size: 26px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    z-index: 80;
}

.social {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 1024px) {
    .hero-slider {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .hero-slider {
        height: 240px !important;
    }

    .whatsapp {
        display: none;
    }

    .product-card {
        flex: 0 0 calc((100% - 16px) / 2);
    }

    .home5-product-card {
        flex: 0 0 calc((100% - 16px) / 2);
    }

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

    .product-carousel .product-tile {
        flex: 0 0 calc((100% - 16px) / 2);
        max-width: calc((100% - 16px) / 2);
        min-width: calc((100% - 16px) / 2);
    }

    .catalog-card {
        flex: 0 0 calc((100% - 16px) / 2);
    }

    .home3-cat-card {
        flex: 0 0 calc((100% - 32px) / 3);
        min-width: calc((100% - 32px) / 3);
    }

    .home3-category-tile {
        flex: 0 0 calc((100% - 16px) / 2);
        min-width: calc((100% - 16px) / 2);
    }

    .home3-product-card {
        flex: 0 0 calc((100% - 16px) / 2);
        min-width: calc((100% - 16px) / 2);
    }
}

@media (max-width: 1024px) {
    .catalog-card {
        flex: 0 0 calc((100% - 32px) / 3);
    }

    .home5-product-card {
        flex: 0 0 calc((100% - 32px) / 3);
    }

    .product-carousel .product-tile {
        flex: 0 0 calc((100% - 32px) / 3);
    }
}

@media (max-width: 768px) {
    .catalog-card {
        flex: 0 0 calc((100% - 16px) / 2);
    }
}

@media (max-width: 640px) {
    .home5-page .product-carousel .deal-tile {
        flex: 0 0 calc((100% - 16px) / 2);
        min-width: calc((100% - 16px) / 2);
    }
    .home5-page .home5-cat-hide {
        display: none;
    }
    .hero-slider {
        height: 220px !important;
    }
    .slider-btn {
        width: 32px;
        height: 32px;
    }
}
