
/*
  Website brand palette (website-only)
  - Header: soft/tinted green
  - Footer: soft/tinted orange
  - Page: white
  - Text: dark green
  - Accent: orange (hover/icons/buttons/highlights)
*/
:root {
    --hra-page-bg: #ffffff;
    --hra-text: #0f3d2e;
    --hra-accent: #f29b38;
    --hra-accent-hover: #e7861c;
    --hra-header-bg: #eef8f0;
    --hra-footer-bg: #fff2e7;
}

body,
body.gradient-bg {
    background: var(--hra-page-bg) !important;
    color: var(--hra-text);
}

/* Header tint + colors */
.header-mobile,
#header.header,
#header.header-transparent-bg {
    background: var(--hra-header-bg) !important;
}

.header-mobile__navigation {
    background: var(--hra-header-bg) !important;
}

#header .navigation__link,
.header-mobile .navigation__link {
    color: var(--hra-text);
}

#header .navigation__link:hover,
.header-mobile .navigation__link:hover {
    color: var(--hra-accent);
}

#header .header-tools__item:not(.header-tools__whatsapp),
.header-mobile .header-tools__item:not(.header-tools__whatsapp) {
    color: var(--hra-text);
}

#header .header-tools__item:not(.header-tools__whatsapp):hover,
.header-mobile .header-tools__item:not(.header-tools__whatsapp):hover {
    color: var(--hra-accent);
}

#header .cart-amount,
.header-mobile .cart-amount {
    background: var(--hra-accent);
    color: #fff;
}

/* Footer tint + colors */
.footer.footer_type_2,
.footer.footer_type_2 .footer-bottom,
.footer-mobile {
    background: var(--hra-footer-bg) !important;
}

.footer.footer_type_2,
.footer.footer_type_2 a,
.footer-mobile a {
    color: var(--hra-text);
}

.footer.footer_type_2 a:hover,
.footer-mobile a:hover {
    color: var(--hra-accent-hover);
}

.footer.footer_type_2 .footer__social-link,
.footer-mobile .footer__social-link {
    color: var(--hra-text);
}

.footer.footer_type_2 .footer__social-link:hover,
.footer-mobile .footer__social-link:hover {
    color: var(--hra-accent);
}

/* Details page: breadcrumb bar below header (single line) */
.product-breadcrumb-bar .product-breadcrumb {
    min-width: 0;
    padding: 10px 0;
    font-size: 14px;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Header: WhatsApp contact button */
.header-tools__whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #25D366;
    font-size: 20px;
}

.header-whatsapp-btn {
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(37, 211, 102, 0.35);
    color: #25D366;
    font-weight: 600;
}

.header-whatsapp-btn:hover {
    background: rgba(37, 211, 102, 0.12);
    color: #1aa852;
}

/* Product card: WhatsApp inquiry button */
.pc__actions {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: stretch;
    gap: 10px;
    padding: 0 12px 12px;
}

.pc__actions .pc__atc,
.pc__actions .pc__inq {
    flex: 1 1 0;
    min-width: 0;
    white-space: nowrap;
    font-size: 12px;
    padding: 10px 8px;
}

.pc__actions .pc__inq {
    background: rgba(37, 211, 102, 0.14);
    color: #1aa852;
}

.pc__actions .pc__inq:hover {
    background: rgba(37, 211, 102, 0.22);
    color: #137f3e;
}

.pc__wa {
    color: #1aa852;
}

/* Wishlist heart (product cards)
   - default: outline (icon_heart)
   - active: filled red (icon_heart_filled), colored via currentColor
*/
button.js-add-wishlist,
a.add-to-wishlist {
    color: inherit;
}

button.js-add-wishlist.active,
a.add-to-wishlist.active {
    color: #dc3545;
}
.footer-middle {
    padding-top: 2.25rem;
    padding-bottom: 2.25rem;
}

/* Footer: reduce logo size */
.footer.footer_type_2 .logo__image {
    max-width: 110px;
    height: auto;
}

@media (max-width: 575.98px) {
    .footer.footer_type_2 .logo__image {
        max-width: 90px;
    }
}

/* About page: reduce about.png display size */
.about-hero-image {
    width: 100%;
    max-width: 900px;
    height: auto;
}

/* About page: keep description blocks a fixed readable width */
.about-desc-fixed {
    width: 46.25rem; /* 740px */
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}
.text-right{
    text-align: right;
}
.pt-90 {
    padding-top: 90px !important;
}
.my-account__address-list {
    display: flex;
    gap: 1.625rem;
}

.form-floating>.form-control,
.form-floating>.form-select {
    height: 48px;
}

/* Checkout: ensure dropdowns align inside form-floating */
.shop-checkout .form-floating > .form-select {
    padding-top: 1.25rem;
    padding-bottom: .25rem;
}

@media (min-width: 992px) {
    /* Desktop-only footer tweaks (keep mobile unchanged) */
    .footer.footer_type_2 .footer-middle .row {
        align-items: stretch;
    }

    /* Quicklinks: render as two columns */
    .footer.footer_type_2 .footer-middle .row > div:nth-child(2) .sub-menu__list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 2rem;
        row-gap: 0.25rem;
    }

    /* Follow Us: bottom-right and horizontal icons */
    .footer.footer_type_2 .footer-column.follow-us {
        margin-left: auto;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-items: flex-end;
    }

    .footer.footer_type_2 .footer-column.follow-us .social-links {
        flex-wrap: nowrap;
        justify-content: flex-end;
        gap: 12px;
    }

    .footer.footer_type_2 .footer-column.follow-us .footer__social-link {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .footer.footer_type_2 .footer-column.follow-us .footer__social-link .fa {
        font-size: 16px;
        line-height: 1;
    }
}

/* ============================
   Home page hero slider height
   - Reduce only the slideshow height
    - Keep everything inside the .container
    - Prevent text/image overlap
   ============================ */

.home-hero-slideshow.slideshow {
    height: 22.5rem; /* ~360px: default (tablet-ish) */
}

@media (min-width: 992px) {
    .home-hero-slideshow.slideshow {
        height: 30rem; /* ~480px: desktop banner height */
    }
}

@media (max-width: 767.98px) {
    .home-hero-slideshow.slideshow {
        height: 20rem; /* ~320px: mobile */
    }
}

@media (max-width: 575.98px) {
    .home-hero-slideshow.slideshow {
        height: 18rem; /* ~288px: small phones */
    }
}

/* Home hero layout (text left, image right) */
.home-hero-slideshow .home-hero-slide {
    height: 100%;
}

.home-hero-slideshow .home-hero-layout {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(16px, 4vw, 56px);
    padding: 16px 0;
}

.home-hero-slideshow .home-hero-left {
    flex: 1 1 54%;
    min-width: 0;
}

.home-hero-slideshow .home-hero-right {
    flex: 1 1 46%;
    min-width: 0;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}

.home-hero-slideshow .home-hero-media {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    pointer-events: none;
}

.home-hero-slideshow .home-hero-image {
    width: auto;
    height: auto;
    max-height: 100%;
    max-width: min(560px, 100%);
    object-fit: contain;
}

/* Text (subtitle → title → tagline): staggered entrance with spacing */
.home-hero-slideshow .home-hero-text-seq {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}

/* Default state (non-active slides): hidden so fade/slide transitions look clean */
.home-hero-slideshow .swiper-slide .home-hero-text-seq > * {
    opacity: 0;
    transform: translateY(12px);
}

.home-hero-slideshow .swiper-slide-active .home-hero-text-seq > * {
    animation: hraHomeHeroIn 900ms ease both;
    will-change: opacity, transform;
}

.home-hero-slideshow .swiper-slide-active .home-hero-text-seq > :nth-child(1) { animation-delay: 0ms; }
.home-hero-slideshow .swiper-slide-active .home-hero-text-seq > :nth-child(2) { animation-delay: 180ms; }
.home-hero-slideshow .swiper-slide-active .home-hero-text-seq > :nth-child(3) { animation-delay: 360ms; }

/* Image: same entrance style as text */
.home-hero-slideshow .swiper-slide .home-hero-image {
    opacity: 0;
    transform: translateY(14px);
}

.home-hero-slideshow .swiper-slide-active .home-hero-image {
    animation: hraHomeHeroIn 900ms ease both;
    animation-delay: 120ms;
    will-change: opacity, transform;
}

@keyframes hraHomeHeroIn {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .home-hero-slideshow .swiper-slide .home-hero-text-seq > *,
    .home-hero-slideshow .swiper-slide .home-hero-image {
        opacity: 1;
        transform: none;
        animation: none !important;
    }
}

/* Mobile: keep text + image in one line (side-by-side) */
@media (max-width: 767.98px) {
    .home-hero-slideshow .home-hero-layout {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 12px 0;
        text-align: left;
    }

    .home-hero-slideshow .home-hero-left {
        flex: 1 1 58%;
        min-width: 0;
    }

    .home-hero-slideshow .home-hero-right {
        flex: 0 0 42%;
        min-width: 0;
        justify-content: flex-end;
        align-items: center;
    }

    .home-hero-slideshow .home-hero-media {
        justify-content: flex-end;
        align-items: center;
    }

    .home-hero-slideshow .home-hero-text-seq {
        gap: 6px;
        margin-bottom: 12px;
    }

    .home-hero-slideshow .home-hero-image {
        max-height: 10.5rem;
        max-width: 42vw;
    }
}

@media (max-width: 575.98px) {
    .home-hero-slideshow .home-hero-layout {
        gap: 10px;
        padding: 10px 0;
    }

    .home-hero-slideshow .home-hero-left {
        flex-basis: 60%;
    }

    .home-hero-slideshow .home-hero-right {
        flex-basis: 40%;
    }

    .home-hero-slideshow .home-hero-image {
        max-height: 9.75rem;
        max-width: 44vw;
    }
}

/* Mobile Category/Brand: avoid oversized images; keep desktop unchanged */
@media (max-width: 767.98px) {
    .category-carousel .swiper-slide img.w-100 {
        width: auto !important;
        max-width: 92px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 575.98px) {
    .category-carousel .swiper-slide img.w-100 {
        max-width: 76px;
    }
}

/* Checkout steps: improve styling for Cart/Checkout/Confirmation */
.shop-checkout .checkout-steps {
    gap: 18px;
    padding-bottom: 6px;
}

.shop-checkout .checkout-steps__item {
    align-items: center;
    border-radius: 12px;
    padding: 10px 10px 12px;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.shop-checkout .checkout-steps__item:hover {
    background: rgba(185, 161, 107, 0.08);
}

.shop-checkout .checkout-steps__item-number {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid #e4e4e4;
    font-weight: 700;
    line-height: 1;
}

.shop-checkout .checkout-steps__item-title > span {
    letter-spacing: 0.02em;
}

/* Current step */
.shop-checkout .checkout-steps__item.active {
    border-color: #b9a16b;
}

.shop-checkout .checkout-steps__item.active .checkout-steps__item-number {
    background: #b9a16b;
    border-color: #b9a16b;
    color: #fff;
}

.shop-checkout .checkout-steps__item.active .checkout-steps__item-title > em {
    color: #222222;
}

/* Completed step */
.shop-checkout .checkout-steps__item.completed {
    border-color: rgba(185, 161, 107, 0.45);
}

.shop-checkout .checkout-steps__item.completed .checkout-steps__item-number {
    background: rgba(185, 161, 107, 0.14);
    border-color: rgba(185, 161, 107, 0.45);
    color: #222222;
}

.shop-checkout .checkout-steps__item.completed .checkout-steps__item-title > span {
    color: #222222;
}

.shop-checkout .checkout-steps__item.completed .checkout-steps__item-title > em {
    color: #767676;
}

@media (max-width: 991.98px) {
    .shop-checkout .checkout-steps {
        gap: 10px;
    }

    .shop-checkout .checkout-steps__item {
        padding: 10px 12px;
        border-radius: 10px;
    }
}