.beemart-home {
    --home-ink: #1f2329;
    --home-muted: #6f737b;
    --home-line: #e8e9ec;
    --home-soft: #f6f7f8;
    --home-orange: #f5a623;
    --home-orange-dark: #d97e00;
    background: #fff;
    color: var(--home-ink);
    overflow: hidden;
}

.beemart-home .container {
    max-width: 1320px;
}

/* Storefront header polish, scoped to the homepage stylesheet. */
.home .mit-header {
    border-bottom: 1px solid #eeeeef;
}

.home .mit-header-content {
    padding: 14px 0;
}

.home .mit-header-form {
    background: #f5f5f6;
    border: 1px solid #f0f0f1;
    border-radius: 10px;
}

.home .mit-header-form:focus-within {
    background: #fff;
    border-color: var(--default);
    box-shadow: 0 0 0 3px rgba(253, 183, 50, .12);
}

.home .mit-header-link {
    transition: color .2s ease, transform .2s ease;
}

.home .mit-header-link:hover {
    transform: translateY(-1px);
}

.home .mit-nav {
    border-bottom: 1px solid #efeff0;
    box-shadow: 0 4px 18px rgba(31, 35, 41, .025);
}

.home .mit-nav .nav-link {
    font-size: 14px;
    font-weight: 500;
}

.home-hero-section {
    background: #f7f7f8;
    padding: 26px 0 22px;
    transition: background-color .35s ease;
}

.home-hero-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(0, 1fr) 292px;
}

.homepage-slider-2 {
    min-width: 0;
}

.homepage-slider {
    background: #eceef0;
    border-radius: 18px;
    box-shadow: 0 13px 35px rgba(31, 35, 41, .08);
    height: 100%;
    min-height: 430px;
    overflow: hidden;
}

.homepage-slider .carousel-inner,
.homepage-slider .carousel-item,
.homepage-slider .carousel-item > a {
    height: 100%;
}

.homepage-slider .carousel-item > a {
    display: block;
}

.homepage-slider .carousel-item img {
    height: 100%;
    object-fit: cover;
}

.homepage-slider .carousel-indicators {
    bottom: 13px;
    gap: 6px;
    margin-bottom: 0;
}

.homepage-slider .carousel-indicators [data-bs-target] {
    background: rgba(255, 255, 255, .75);
    border: 0;
    border-radius: 99px;
    height: 6px;
    margin: 0;
    opacity: .75;
    transition: width .25s ease, opacity .25s ease;
    width: 6px;
}

.homepage-slider .carousel-indicators .active {
    opacity: 1;
    width: 24px;
}

.homepage-slider .carousel-control-prev,
.homepage-slider .carousel-control-next {
    align-items: center;
    background: rgba(255, 255, 255, .92);
    border: 0;
    border-radius: 50%;
    bottom: auto;
    box-shadow: 0 6px 18px rgba(31, 35, 41, .14);
    display: flex;
    height: 42px;
    justify-content: center;
    opacity: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: opacity .2s ease, transform .2s ease;
    width: 42px;
}

.homepage-slider:hover .carousel-control-prev,
.homepage-slider:hover .carousel-control-next,
.homepage-slider .carousel-control-prev:focus,
.homepage-slider .carousel-control-next:focus {
    opacity: 1;
}

.homepage-slider .carousel-control-prev { left: 16px; }
.homepage-slider .carousel-control-next { right: 16px; }

.homepage-slider .carousel-control-prev-icon,
.homepage-slider .carousel-control-next-icon {
    filter: invert(1);
    height: 15px;
    width: 15px;
}

.home-hero-aside {
    display: grid;
    gap: 18px;
    grid-template-rows: repeat(2, minmax(0, 1fr));
}

.home-promo-card {
    border-radius: 18px;
    color: #211a10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    padding: 26px;
    position: relative;
    text-decoration: none;
    transition: box-shadow .2s ease, transform .2s ease;
}

.home-promo-card:hover {
    color: inherit;
    box-shadow: 0 12px 30px rgba(31, 35, 41, .14);
    transform: translateY(-2px);
}

.home-promo-card-orange {
    background: linear-gradient(135deg, #ffbc46, #f59a0a);
}

.home-promo-card-dark {
    background: linear-gradient(135deg, #2b2e33, #17191c);
    color: #fff;
}

.home-promo-card-dark:hover {
    color: #fff;
}

.home-promo-kicker {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .15em;
    margin-bottom: 8px;
    opacity: .65;
}

.home-promo-card strong {
    font-size: 22px;
    font-weight: 750;
    letter-spacing: -.025em;
    line-height: 1.15;
    max-width: 205px;
    position: relative;
    z-index: 1;
}

.home-promo-card small {
    font-size: 11px;
    line-height: 1.55;
    margin-top: 9px;
    max-width: 190px;
    opacity: .7;
    position: relative;
    z-index: 1;
}

.home-promo-link {
    align-items: center;
    display: flex;
    font-size: 11px;
    font-weight: 700;
    gap: 7px;
    margin-top: 17px;
    position: relative;
    z-index: 1;
}

.home-promo-link i {
    font-size: 9px;
}

.home-promo-art {
    bottom: -14px;
    font-size: 88px;
    opacity: .09;
    position: absolute;
    right: -4px;
    transform: rotate(-8deg);
}

.home-service-section {
    background: #fff;
    border-bottom: 1px solid var(--home-line);
}

.home-service-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 20px 0;
}

.home-service-item {
    align-items: center;
    border-right: 1px solid var(--home-line);
    display: flex;
    gap: 13px;
    justify-content: center;
    padding: 3px 22px;
}

.home-service-item:first-child {
    justify-content: flex-start;
}

.home-service-item:last-child {
    border-right: 0;
    justify-content: flex-end;
}

.home-service-item > span {
    align-items: center;
    background: #fff3de;
    border-radius: 10px;
    color: var(--home-orange-dark);
    display: flex;
    flex: 0 0 42px;
    font-size: 15px;
    height: 42px;
    justify-content: center;
    width: 42px;
}

.home-service-item strong,
.home-service-item small {
    display: block;
}

.home-service-item strong {
    color: var(--home-ink);
    font-size: 12px;
    font-weight: 700;
}

.home-service-item small {
    color: var(--home-muted);
    font-size: 10px;
    margin-top: 2px;
}

.home-product-section,
.home-category-section,
.home-brand-section {
    background: #fff;
    padding: 68px 0 72px;
}

.home-product-section-soft,
.home-category-section {
    background: var(--home-soft);
}

.home-section-heading {
    align-items: flex-end;
    display: flex;
    gap: 24px;
    justify-content: space-between;
    margin-bottom: 28px;
}

.home-section-eyebrow {
    color: var(--home-orange-dark);
    display: block;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .15em;
    margin-bottom: 7px;
}

.home-section-heading h2 {
    color: var(--home-ink);
    font-size: clamp(25px, 3vw, 34px);
    font-weight: 750;
    letter-spacing: -.035em;
    line-height: 1.15;
    margin: 0;
}

.home-section-heading p {
    color: var(--home-muted);
    font-size: 12px;
    margin: 7px 0 0;
}

.home-section-link {
    align-items: center;
    border: 1px solid var(--home-line);
    border-radius: 8px;
    color: var(--home-ink);
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 11px;
    font-weight: 700;
    gap: 8px;
    min-height: 38px;
    padding: 8px 14px;
    text-decoration: none;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.home-section-link:hover {
    background: var(--home-ink);
    border-color: var(--home-ink);
    color: #fff;
}

.home-section-link i {
    font-size: 9px;
}

/* Product cards */
.beemart-home .items > .col {
    display: flex;
}

.beemart-home .product-grid {
    background: #fff;
    border: 1px solid var(--home-line);
    border-radius: 14px;
    box-shadow: 0 4px 18px rgba(31, 35, 41, .025);
    display: flex;
    flex-direction: column;
    font-family: inherit;
    margin: 0;
    overflow: hidden;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
    width: 100%;
}

.beemart-home .product-grid:hover {
    border-color: #dedfe1;
    box-shadow: 0 12px 28px rgba(31, 35, 41, .09);
    transform: translateY(-3px);
}

.beemart-home .product-grid .product-image-box {
    background: #f7f7f8;
    margin: 10px 10px 0;
    overflow: hidden;
    padding: 5px;
}

.beemart-home .product-grid .product-image-box > a {
    display: block;
}

.beemart-home .product-grid .product-image-box .product-image-container {
    display: block;
    width: 100% !important;
}

.beemart-home .product-grid .product-image-box .product-image-photo {
    padding: 6px;
}

.beemart-home .product-grid:hover .product-image-box .product-image-photo {
    transform: scale(1.035);
}

.beemart-home .product-grid .product-new-label {
    background: #22262b;
    border-radius: 5px;
    font-size: 9px;
    font-weight: 700;
    left: 8px;
    letter-spacing: .04em;
    padding: 5px 7px;
    top: 8px;
}

.beemart-home .product-grid:hover .product-new-label {
    opacity: 1;
}

.beemart-home .product-grid .product-image-box .social {
    right: 8px;
    top: 8px;
}

.beemart-home .product-grid .product-image-box .social li {
    margin-bottom: 6px;
}

.beemart-home .product-grid .product-image-box .social li a {
    align-items: center;
    background: rgba(255, 255, 255, .96);
    border: 1px solid #e8e9eb;
    box-shadow: 0 4px 12px rgba(31, 35, 41, .1);
    color: #565a61;
    display: flex;
    font-size: 11px;
    height: 32px;
    justify-content: center;
    line-height: 1;
    width: 32px;
}

.beemart-home .product-grid .product-image-box .social li a:hover {
    background: var(--home-orange);
    border-color: var(--home-orange);
    box-shadow: none;
    color: #231a0c;
}

.beemart-home .product-grid .product-image-box .cart-form,
.beemart-home .product-grid .product-image-box > .d-flex.justify-content-around {
    gap: 7px;
    margin: 8px 0 2px !important;
}

.beemart-home .product-grid .product-image-box .cart-form .btn,
.beemart-home .product-grid .product-image-box > .d-flex.justify-content-around .btn {
    align-items: center;
    border: 1px solid #dedfe1;
    border-radius: 7px;
    color: #383c42;
    display: flex;
    flex: 1 1 0;
    font-size: 10px;
    font-weight: 700;
    gap: 5px;
    justify-content: center;
    min-height: 34px;
    padding: 6px 7px;
}

.beemart-home .product-grid .product-image-box .cart-form .add-to-cart,
.beemart-home .product-grid .product-image-box > .d-flex.justify-content-around .btn:last-child {
    background: var(--home-orange);
    border-color: var(--home-orange);
    color: #241b0f;
}

.beemart-home .product-grid .product-image-box .cart-form .btn:hover,
.beemart-home .product-grid .product-image-box > .d-flex.justify-content-around .btn:hover {
    background: var(--home-ink);
    border-color: var(--home-ink);
    color: #fff;
}

.beemart-home .product-grid .product-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 13px 14px 15px !important;
    text-align: left;
}

.beemart-home .product-grid .product-content .title {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.45;
    margin: 0 0 10px;
    max-height: 35px;
    min-height: 35px;
}

.beemart-home .product-grid .product-content .title a {
    color: #363a40;
    text-decoration: none;
}

.beemart-home .product-grid .product-content .title a:hover {
    color: var(--home-orange-dark);
}

.beemart-home .product-grid .product-content > .d-flex {
    flex: 1;
    justify-content: space-between;
}

.beemart-home .product-grid .price-box {
    align-items: baseline;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 7px;
    min-height: 27px;
}

.beemart-home .product-grid .product-content .product-old-price {
    color: #9b9ea4;
    font-size: 10px;
    order: 2;
}

.beemart-home .product-grid .product-content .price {
    color: var(--home-ink);
    font-size: 16px;
    font-weight: 750;
    order: 1;
}

.beemart-home .product-grid .price-box .small {
    color: #319067;
    font-size: 9px;
    font-weight: 700;
    order: 3;
}

.beemart-home .product-grid .rating_and_delivery_info {
    justify-content: flex-start !important;
    margin-top: 8px;
}

.beemart-home .product-grid .star-ratings {
    font-size: 12px;
}

.beemart-home .product-grid .free-delivery {
    font-size: 14px;
}

/* Optional configurable categories */
.category-grid-item {
    background: #fff;
    border: 1px solid var(--home-line);
    border-radius: 14px;
    box-shadow: 0 5px 18px rgba(31, 35, 41, .035);
    color: var(--home-ink);
    overflow: hidden;
    padding: 12px 12px 42px;
    position: relative;
    text-decoration: none;
    transition: box-shadow .2s ease, transform .2s ease;
}

.category-grid-item:hover {
    box-shadow: 0 12px 28px rgba(31, 35, 41, .09);
    color: var(--home-orange-dark);
    transform: translateY(-3px);
}

.category-grid-item img {
    aspect-ratio: 1;
    border-radius: 10px;
    object-fit: cover;
    transition: transform .35s ease;
}

.category-grid-item:hover img {
    transform: scale(1.035);
}

.category-grid-item span {
    bottom: 15px;
    font-size: 12px;
    font-weight: 700;
    left: 10px;
    position: absolute;
    right: 10px;
}

/* Brands */
.home-brand-section {
    border-top: 1px solid var(--home-line);
}

.home-brand-card {
    align-items: center;
    background: #fff;
    border: 1px solid var(--home-line);
    border-radius: 13px;
    display: flex;
    flex-direction: column;
    min-height: 152px;
    padding: 15px;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.home-brand-card:hover {
    border-color: #d9dade;
    box-shadow: 0 9px 22px rgba(31, 35, 41, .07);
    transform: translateY(-2px);
}

.home-brand-card img {
    height: 98px;
    object-fit: contain;
    width: 100%;
}

.home-brand-card span {
    color: #666a71;
    font-size: 10px;
    font-weight: 700;
    margin-top: 7px;
}

.brand-slider .owl-nav {
    position: absolute;
    right: 0;
    top: -65px;
}

.brand-slider .owl-nav button.owl-prev,
.brand-slider .owl-nav button.owl-next {
    background: #fff;
    border: 1px solid var(--home-line);
    border-radius: 8px;
    color: var(--home-ink);
    height: 34px;
    margin-left: 7px;
    width: 34px;
}

.brand-slider .owl-nav button:hover {
    background: var(--home-ink);
    color: #fff;
}

@media (max-width: 1199.98px) {
    .home-hero-grid {
        grid-template-columns: minmax(0, 1fr) 250px;
    }

    .homepage-slider {
        min-height: 390px;
    }

    .home-promo-card {
        padding: 21px;
    }

    .home-promo-card strong {
        font-size: 19px;
    }

    .home-service-item {
        padding: 3px 15px;
    }
}

@media (max-width: 991.98px) {
    .home .mit-header {
        box-shadow: 0 4px 16px rgba(31, 35, 41, .05);
    }

    .home .mit-header-content {
        padding: 10px 0;
    }

    .home-hero-section {
        padding-top: 18px;
    }

    .home-hero-grid {
        grid-template-columns: 1fr;
    }

    .homepage-slider {
        aspect-ratio: 1.82;
        min-height: 0;
    }

    .home-hero-aside {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: auto;
    }

    .home-promo-card {
        min-height: 180px;
    }

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

    .home-service-item,
    .home-service-item:first-child,
    .home-service-item:last-child {
        border-bottom: 1px solid var(--home-line);
        justify-content: flex-start;
        padding: 14px 20px;
    }

    .home-service-item:nth-child(2) {
        border-right: 0;
    }

    .home-service-item:nth-child(3),
    .home-service-item:nth-child(4) {
        border-bottom: 0;
    }
}

@media (max-width: 767.98px) {
    .home-product-section,
    .home-category-section,
    .home-brand-section {
        padding: 48px 0 52px;
    }

    .home-section-heading {
        margin-bottom: 22px;
    }

    .home-section-heading h2 {
        font-size: 27px;
    }

    .beemart-home .product-grid .product-image-box .social li:first-child,
    .beemart-home .product-grid .product-image-box .social li:last-child {
        display: none;
    }

    .beemart-home .product-grid .product-image-box .social li {
        transform: translateX(0);
    }
}

@media (max-width: 575.98px) {
    .home-hero-section {
        padding: 12px 0 14px;
    }

    .home-hero-grid {
        gap: 10px;
    }

    .homepage-slider {
        aspect-ratio: 1.82;
        border-radius: 12px;
        box-shadow: 0 8px 22px rgba(31, 35, 41, .08);
    }

    .homepage-slider .carousel-control-prev,
    .homepage-slider .carousel-control-next {
        display: none;
    }

    .homepage-slider .carousel-indicators {
        bottom: 8px;
    }

    .home-hero-aside {
        gap: 10px;
    }

    .home-promo-card {
        border-radius: 12px;
        min-height: 138px;
        padding: 16px;
    }

    .home-promo-card strong {
        font-size: 15px;
        max-width: 140px;
    }

    .home-promo-card small {
        display: none;
    }

    .home-promo-kicker {
        font-size: 7px;
        margin-bottom: 6px;
    }

    .home-promo-link {
        font-size: 9px;
        margin-top: 12px;
    }

    .home-promo-art {
        font-size: 54px;
    }

    .home-service-grid {
        padding: 7px 0;
    }

    .home-service-item,
    .home-service-item:first-child,
    .home-service-item:last-child {
        gap: 9px;
        padding: 10px 6px;
    }

    .home-service-item > span {
        border-radius: 8px;
        flex-basis: 34px;
        font-size: 12px;
        height: 34px;
        width: 34px;
    }

    .home-service-item strong {
        font-size: 10px;
    }

    .home-service-item small {
        font-size: 8px;
    }

    .home-product-section,
    .home-category-section,
    .home-brand-section {
        padding: 42px 0 46px;
    }

    .home-section-heading {
        align-items: flex-start;
        margin-bottom: 20px;
    }

    .home-section-eyebrow {
        font-size: 8px;
    }

    .home-section-heading h2 {
        font-size: 24px;
    }

    .home-section-heading p {
        font-size: 10px;
        line-height: 1.5;
        max-width: 240px;
    }

    .home-section-link {
        border: 0;
        min-height: auto;
        padding: 6px 0;
    }

    .home-section-link:hover {
        background: transparent;
        color: var(--home-orange-dark);
    }

    .beemart-home .items {
        --bs-gutter-x: 12px;
        --bs-gutter-y: 12px;
    }

    .beemart-home .product-grid {
        border-radius: 11px;
    }

    .beemart-home .product-grid:hover {
        transform: none;
    }

    .beemart-home .product-grid .product-image-box {
        margin: 7px 7px 0;
        padding: 2px;
    }

    .beemart-home .product-grid .product-image-box .cart-form,
    .beemart-home .product-grid .product-image-box > .d-flex.justify-content-around {
        gap: 5px;
        margin-top: 6px !important;
    }

    .beemart-home .product-grid .product-image-box .cart-form .btn,
    .beemart-home .product-grid .product-image-box > .d-flex.justify-content-around .btn {
        font-size: 9px;
        min-height: 31px;
        padding: 5px 4px;
    }

    .beemart-home .product-grid .product-content {
        padding: 10px 10px 12px !important;
    }

    .beemart-home .product-grid .product-content .title {
        font-size: 10px;
        line-height: 1.4;
        max-height: 29px;
        min-height: 29px;
    }

    .beemart-home .product-grid .product-content .price {
        font-size: 14px;
    }

    .beemart-home .product-grid .star-ratings {
        font-size: 10px;
    }

    .brand-slider .owl-nav {
        display: none;
    }

    .home-brand-card {
        min-height: 130px;
        padding: 10px;
    }

    .home-brand-card img {
        height: 82px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .beemart-home *,
    .home .mit-header-link {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}

/* Standard readable storefront type scale. */
.beemart-home {
    font-size: 16px;
    line-height: 1.5;
}

.home-promo-kicker,
.home-section-eyebrow {
    font-size: 12px;
}

.home-promo-card strong {
    font-size: 24px;
}

.home-promo-card small,
.home-promo-link {
    font-size: 14px;
}

.home-service-item strong {
    font-size: 15px;
}

.home-service-item small {
    font-size: 13px;
}

.home-section-heading p,
.home-section-link {
    font-size: 14px;
}

.beemart-home .product-grid .product-new-label {
    font-size: 11px;
}

.beemart-home .product-grid .product-image-box .social li a {
    font-size: 13px;
}

.beemart-home .product-grid .product-image-box .cart-form .btn,
.beemart-home .product-grid .product-image-box > .d-flex.justify-content-around .btn {
    font-size: 12px;
}

.beemart-home .product-grid .product-content .title {
    font-size: 14px;
    line-height: 1.45;
    max-height: 42px;
    min-height: 42px;
}

.beemart-home .product-grid .product-content .product-old-price {
    font-size: 12px;
}

.beemart-home .product-grid .product-content .price {
    font-size: 18px;
}

.beemart-home .product-grid .price-box .small {
    font-size: 11px;
}

.beemart-home .product-grid .star-ratings {
    font-size: 14px;
}

.category-grid-item span {
    font-size: 14px;
}

.home-brand-card span {
    font-size: 13px;
}

@media (max-width: 575.98px) {
    .home-promo-kicker,
    .home-section-eyebrow {
        font-size: 11px;
    }

    .home-promo-card strong {
        font-size: 18px;
    }

    .home-promo-link {
        font-size: 12px;
    }

    .home-service-item strong {
        font-size: 13px;
    }

    .home-service-item small {
        font-size: 12px;
    }

    .home-section-heading p,
    .home-section-link {
        font-size: 13px;
    }

    .beemart-home .product-grid .product-image-box .cart-form .btn,
    .beemart-home .product-grid .product-image-box > .d-flex.justify-content-around .btn {
        font-size: 12px;
    }

    .beemart-home .product-grid .product-content .title {
        font-size: 14px;
        max-height: 42px;
        min-height: 42px;
    }

    .beemart-home .product-grid .product-content .price {
        font-size: 18px;
    }

    .beemart-home .product-grid .star-ratings {
        font-size: 13px;
    }
}
