/* header menu and hero slider styles for ecommerce template */
.site-header {
    z-index: 1040;
}

.header-topbar {
    background: linear-gradient(90deg, #111827 0%, #1f2937 45%, #7c2d12 100%);
    color: #f9fafb;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.header-topbar a {
    color: #f9fafb;
    text-decoration: none;
}

.ecommerce-navbar {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(17, 24, 39, 0.08);
    box-shadow: 0 14px 40px -28px rgba(15, 23, 42, 0.35);
}

.ecommerce-navbar .navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-mark {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    object-fit: cover;
    background: #fff7ed;
    border: 1px solid rgba(124, 45, 18, 0.12);
    padding: 6px;
}

.brand-copy {
    line-height: 1.05;
}

.brand-copy small {
    display: block;
    color: #9a3412;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.brand-copy strong {
    display: block;
    color: #111827;
    font-size: 20px;
    font-weight: 700;
}

.ecommerce-navbar .navbar-nav {
    gap: 8px;
}

.ecommerce-navbar .nav-link {
    color: #374151;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 16px !important;
    border-radius: 999px;
    transition: all 0.25s ease;
}

.ecommerce-navbar .nav-link:hover,
.ecommerce-navbar .nav-link.active {
    color: #111827;
    background: #fff7ed;
}

.header-dropdown {
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 20px;
    padding: 10px;
    min-width: 220px;
    box-shadow: 0 24px 44px -30px rgba(15, 23, 42, 0.35);
}

.header-dropdown .dropdown-item {
    border-radius: 12px;
    color: #374151;
    font-weight: 500;
    padding: 10px 14px;
}

.header-dropdown .dropdown-item:hover {
    background: #fff7ed;
    color: #111827;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-action-link {
    width: 42px;
    height: 42px;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(17, 24, 39, 0.1);
    background: #ffffff;
    color: #111827;
    text-decoration: none;
    transition: all 0.25s ease;
}

.header-action-link:hover {
    color: #9a3412;
    border-color: rgba(154, 52, 18, 0.24);
    background: #fff7ed;
    transform: translateY(-1px);
}

.header-badge {
    position: absolute;
    top: -4px;
    right: -2px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 999px;
    background: #111827;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.shop-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    background: #111827;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}

.shop-cta:hover {
    background: #9a3412;
    color: #fff;
}

.header-spacer {
    height: 122px;
}

@media (max-width: 991.98px) {
    .ecommerce-navbar .navbar-collapse {
        margin-top: 16px;
        padding: 16px;
        border-radius: 24px;
        background: #fff;
        border: 1px solid rgba(17, 24, 39, 0.08);
        box-shadow: 0 20px 32px -28px rgba(15, 23, 42, 0.4);
    }

    .ecommerce-navbar .navbar-nav {
        gap: 4px;
    }

    .header-actions {
        margin-top: 12px;
        justify-content: space-between;
    }

    .shop-cta {
        flex: 1 1 auto;
        justify-content: center;
    }

    .header-spacer {
        height: 104px;
    }
}

@media (max-width: 575.98px) {
    .brand-mark {
        width: 46px;
        height: 46px;
    }

    .brand-copy strong {
        font-size: 17px;
    }

    .header-topbar {
        font-size: 10px;
        letter-spacing: 0.04em;
    }

    .header-spacer {
        height: 96px;
    }
}

/* hero slider styles */
.hero-slider {
    position: relative;
    overflow: hidden;
    background: #0f172a;
}

.hero-slider .carousel-item {
    height: min(82vh, 760px);
    min-height: 520px;
}

.hero-slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(15, 23, 42, 0.88) 0%, rgba(15, 23, 42, 0.68) 38%, rgba(15, 23, 42, 0.18) 72%, rgba(15, 23, 42, 0.05) 100%),
        linear-gradient(180deg, rgba(15, 23, 42, 0.1) 0%, rgba(15, 23, 42, 0.3) 100%);
}

.hero-slide-accent {
    position: absolute;
    width: 420px;
    height: 420px;
    right: -120px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(251, 146, 60, 0.28) 0%, rgba(251, 146, 60, 0) 72%);
    pointer-events: none;
}

.hero-slider .carousel-caption {
    right: auto;
    left: 0;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    width: 100%;
    padding: 0;
    text-align: left;
}

.hero-content {
    max-width: 620px;
    color: #fff;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 16px;
    margin-bottom: 20px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(8px);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero-slider h2 {
    font-size: clamp(2.6rem, 5vw, 5rem);
    line-height: 0.96;
    font-weight: 700;
    margin-bottom: 18px;
    letter-spacing: -0.04em;
}

.hero-slider p {
    max-width: 560px;
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.84);
    margin-bottom: 28px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-btn-primary,
.hero-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.25s ease;
}

.hero-btn-primary {
    background: #ffffff;
    color: #111827;
    box-shadow: 0 18px 40px -24px rgba(255, 255, 255, 0.7);
}

.hero-btn-primary:hover {
    background: #fb923c;
    color: #111827;
}

.hero-btn-secondary {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(8px);
}

.hero-btn-secondary:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
}

.hero-slider .carousel-indicators {
    margin-bottom: 2.4rem;
    gap: 10px;
}

.hero-slider .carousel-indicators [data-bs-target] {
    width: 42px;
    height: 6px;
    border: 0;
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.34);
    opacity: 1;
}

.hero-slider .carousel-indicators .active {
    background-color: #ffffff;
}

.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next {
    width: auto;
    opacity: 1;
    top: auto;
    bottom: 2rem;
}

.hero-slider .carousel-control-prev {
    left: auto;
    right: 7rem;
}

.hero-slider .carousel-control-next {
    right: 2rem;
}

.hero-slider .carousel-control-prev-icon,
.hero-slider .carousel-control-next-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.12);
    background-size: 18px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(8px);
    transition: transform 0.25s ease, background-color 0.25s ease;
}

.hero-slider .carousel-control-prev:hover .carousel-control-prev-icon,
.hero-slider .carousel-control-next:hover .carousel-control-next-icon {
    transform: translateY(-2px);
    background-color: rgba(255, 255, 255, 0.22);
}

@media (max-width: 991.98px) {
    .hero-slider .carousel-item {
        min-height: 480px;
    }
}

@media (max-width: 767.98px) {
    .hero-slider .carousel-item {
        min-height: 540px;
        height: 68vh;
    }

    .hero-slider .carousel-caption {
        top: auto;
        bottom: 6.5rem;
        transform: none;
    }

    .hero-content {
        max-width: 100%;
        padding-right: 18px;
    }

    .hero-slider h2 {
        font-size: clamp(2rem, 10vw, 3.1rem);
    }

    .hero-slider p {
        font-size: 0.98rem;
        line-height: 1.6;
    }

    .hero-slider .carousel-control-prev {
        right: 5.7rem;
    }

    .hero-slider .carousel-control-next {
        right: 1rem;
    }

    .hero-slider .carousel-control-prev-icon,
    .hero-slider .carousel-control-next-icon {
        width: 46px;
        height: 46px;
    }

    .hero-slider .carousel-indicators {
        justify-content: flex-start;
        margin-left: 1rem;
        margin-right: 1rem;
        margin-bottom: 1.8rem;
    }
}

/* footer section style */
.site-footer {
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.08), transparent 28%),
        linear-gradient(135deg, #101828 0%, #18212f 55%, #0f172a 100%);
    color: rgba(255, 255, 255, 0.78);
    position: relative;
    overflow: hidden;
}

.site-footer::before,
.site-footer::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    filter: blur(10px);
    pointer-events: none;
}

.site-footer::before {
    width: 220px;
    height: 220px;
    top: -80px;
    right: -60px;
}

.site-footer::after {
    width: 180px;
    height: 180px;
    bottom: -90px;
    left: -50px;
}

.site-footer .footer-wrap {
    position: relative;
    z-index: 1;
}

.site-footer .footer-column {
    height: 100%;
    padding: 0.5rem 1rem 0.5rem 0;
    position: relative;
}

.site-footer .footer-column::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.16), transparent);
}

.site-footer .col:last-child .footer-column::after {
    display: none;
}

.site-footer .footer-brand {
    transition: transform 0.35s ease;
}

.site-footer .footer-brand:hover {
    transform: translateY(-6px);
}

.site-footer .footer-brand img {
    max-height: 58px;
    width: auto;
    transition: transform 0.35s ease, filter 0.35s ease;
}

.site-footer .footer-brand:hover img {
    transform: scale(1.04);
    filter: drop-shadow(0 10px 18px rgba(255, 255, 255, 0.12));
}

.site-footer .footer-title {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.site-footer .footer-text {
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.site-footer .footer-links li + li,
.site-footer .footer-contact li + li {
    margin-top: 0.85rem;
}

.site-footer .footer-link {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    transition: color 0.25s ease, transform 0.25s ease;
    display: inline-flex;
    align-items: center;
    position: relative;
    padding-bottom: 0.15rem;
}

.site-footer .footer-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.85);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.site-footer .footer-link:hover {
    color: #ffffff;
    transform: translateX(4px);
}

.site-footer .footer-link:hover::after {
    transform: scaleX(1);
}

.site-footer .social-link {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.site-footer .social-link:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.25);
    color: #fff;
    box-shadow: 0 14px 24px rgba(15, 23, 42, 0.24);
}

.site-footer .contact-icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.site-footer .footer-contact li {
    transition: transform 0.25s ease, color 0.25s ease;
}

.site-footer .footer-contact li:hover {
    transform: translateX(6px);
    color: #fff;
}

.site-footer .footer-contact li:hover .contact-icon {
    transform: scale(1.08);
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.22);
}

.site-footer .footer-column:hover .footer-title {
    letter-spacing: 0.08em;
}

.site-footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    color: rgba(255, 255, 255, 0.72);
}

.site-footer .footer-column,
.site-footer .social-link {
    animation: footerFloatIn 0.7s ease both;
}

.site-footer .col:nth-child(2) .footer-column {
    animation-delay: 0.08s;
}

.site-footer .col:nth-child(3) .footer-column {
    animation-delay: 0.16s;
}

.site-footer .col:nth-child(4) .footer-column {
    animation-delay: 0.24s;
}

@keyframes footerFloatIn {
    from {
        opacity: 0;
        transform: translateY(22px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-footer .footer-column,
    .site-footer .social-link,
    .site-footer .footer-link,
    .site-footer .contact-icon,
    .site-footer .footer-contact li,
    .site-footer .footer-brand img {
        animation: none !important;
        transition: none !important;
    }
}

@media (max-width: 767.98px) {
    .site-footer .footer-column {
        padding-right: 0;
        padding-bottom: 1.25rem;
    }

    .site-footer .footer-column::after {
        top: auto;
        bottom: 0;
        width: 100%;
        height: 1px;
        background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.16), transparent);
    }

    .site-footer .col:last-child .footer-column {
        padding-bottom: 0;
    }
}

/* style for subcategories */
.subcategory-carousel .owl-stage {
    display: flex;
}

.subcategory-carousel .owl-item {
    height: auto;
}

.subcategory-carousel .item {
    height: 100%;
    padding: 0.25rem;
}

.subcategory-carousel .owl-nav {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 0.75rem;
}

.subcategory-carousel .owl-nav button.owl-prev,
.subcategory-carousel .owl-nav button.owl-next {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 999px;
    border: 1px solid #dbe3ea !important;
    background: #fff !important;
    color: #1f2937 !important;
    transition: all 0.25s ease;
}

.subcategory-carousel .owl-nav button.owl-prev:hover,
.subcategory-carousel .owl-nav button.owl-next:hover {
    background: #111827 !important;
    border-color: #111827 !important;
    color: #fff !important;
}

.subcategory-carousel .owl-dots {
    margin-top: 1rem;
}

.subcategory-carousel .owl-dots .owl-dot span {
    background: #d1d5db;
    transition: all 0.25s ease;
}

.subcategory-carousel .owl-dots .owl-dot.active span,
.subcategory-carousel .owl-dots .owl-dot:hover span {
    background: #111827;
    width: 24px;
}