/*
 Theme Name:   Astra Child
 Theme URI:    https://wpastra.com/
 Description:  Astra Child Theme
 Author:       Brainstorm Force
 Author URI:   https://wpastra.com/
 Template:     astra
 Version:      1.0.0
 Text Domain:  astra-child
*/

/* ── Reset / base ───────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Lato, sans-serif;
}

/* ── Utility: Bootstrap-like display helpers ────────────────── */
.d-none {
    display: none !important;
}

.d-block {
    display: block !important;
}

@media (min-width: 768px) {
    .d-md-none {
        display: none !important;
    }

    .d-md-block {
        display: block !important;
    }

    .d-md-flex {
        display: flex !important;
    }
}

/* Screen-reader only */
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ── Header container ───────────────────────────────────────── */
#marc-header-container {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .10);
}

/* ════════════════════════════════════════════════════════════
   ROW 1
════════════════════════════════════════════════════════════ */
.marc-row1 {
    background: #fff;
    border-bottom: 1px solid #e8e8e8;
}

.marc-row1-inner {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Logo */
.marc-logo {
    flex-shrink: 0;
}

.marc-logo img {
    width: 84px;
    height: auto;
    display: block;
}

/* ── Search wrap (desktop) ──────────────────────────────────── */
.marc-search-wrap {
    flex: 1 1 0;
    min-width: 0;
    align-items: stretch;
    border: 2px solid #d0d0d0;
    border-radius: 50px;
    overflow: hidden;
    height: 44px;
    transition: border-color .2s;
}

.marc-search-wrap:focus-within {
    border-color: #e67e00;
}

/* Category pill */
.marc-search-category-wrap {
    display: flex;
    align-items: stretch;
    flex-shrink: 0;
}

.marc-search-category {
    position: relative;
}

.marc-search-category-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0 14px 0 18px;
    height: 100%;
    background: #f5f5f5;
    border: none;
    cursor: pointer;
    font-size: .82rem;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
    transition: background .15s;
}

.marc-search-category-btn:hover {
    background: #ebebeb;
}

.marc-search-divider {
    width: 1px;
    background: #d0d0d0;
    align-self: stretch;
}

/* icon */
.marc-nav-item__icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    opacity: 0.7;
}

.marc-nav-item__link {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.marc-nav-item__link:hover,
.marc-nav-item__row:hover .marc-nav-item__link {
    color: #c96d00;
}

.marc-nav-item__link--active {
    color: #333 !important;
    background: #c96d00;
    border-left: 3px solid #c96d00;
}


.marc-nav-item__link:hover .marc-nav-item__icon,
.marc-nav-item__link--active .marc-nav-item__icon {
    opacity: 1;
}

/* badge — e.g. "Baru" */
.marc-nav-item__badge {
    margin-left: auto;
    background: orange;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 99px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

/* Category dropdown */
.marc-category-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 180px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, .12);
    list-style: none;
    margin: 0;
    padding: 6px 0;
    z-index: 200;
}

.marc-cat-option {
    padding: 8px 16px;
    font-size: .88rem;
    cursor: pointer;
    color: #333;
    transition: background .12s;
}

.marc-cat-option:hover,
.marc-cat-option--active {
    background: #fff4e6;
    color: #e67e00;
}

/* Search field */
.marc-search-field-wrap {
    flex: 1 1 0;
    min-width: 0;
}

.marc-searchform {
    display: flex;
    height: 100%;
}

.marc-search-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 0 10px;
    font-size: .9rem;
    background: transparent;
    min-width: 0;
}

.marc-search-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    flex-shrink: 0;
    border: none;
    background: #e67e00;
    color: #fff;
    cursor: pointer;
    transition: background .2s;
}

.marc-search-submit:hover {
    background: #c96d00;
}

/* Contact button */
.marc-contact {
    flex-shrink: 0;
}

.marc-contact-btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    border: 2px solid #e67e00;
    border-radius: 50px;
    color: #e67e00;
    font-weight: 700;
    font-size: .88rem;
    text-decoration: none;
    white-space: nowrap;
    transition: background .2s, color .2s;
}

.marc-contact-btn:hover,
.marc-contact-btn:focus {
    background: #e67e00;
    color: #fff;
}

/* ── Mobile elements ────────────────────────────────────────── */
.marc-burger,
.marc-mobile-search {
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
}

.marc-burger-icon {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 22px;
}

.marc-burger-icon span {
    display: block;
    height: 2px;
    background: #333;
    border-radius: 2px;
    transition: transform .2s, opacity .2s;
}

/* Top brand bar */
.marc-sidebar__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px 18px 14px;
    border-bottom: 1px solid var(--sidebar-border);
}

/* ============================================================
           FOOTER CTA BUTTON
        ============================================================ */
.marc-sidebar__footer {
    padding: 14px;
    border-top: 1px solid orange;
}

.marc-sidebar__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px 16px;
    background: orange;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 99px;
    letter-spacing: 0.4px;
    transition: background 500ms,
        transform 500ms,
        box-shadow 500ms;
}

.marc-sidebar__cta:hover {
    opacity: 0.5;
    transform: translateY(-1px);
}

.marc-sidebar__cta svg {
    width: 15px;
    height: 15px;
}

.marc-sidebar__logo {
    width: 36px;
    height: 36px;
    background: var(--sidebar-accent);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    color: #fff;
    letter-spacing: -0.5px;
    flex-shrink: 0;
}

.marc-sidebar__brand-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--sidebar-text-bright);
    letter-spacing: 0.4px;
    color: #fff;
}

.marc-sidebar__brand-sub {
    font-size: 10px;
    color: var(--sidebar-text-muted);
    font-weight: 400;
    letter-spacing: 0.3px;
    color: #fff;

}

/* ============================================================
           SEARCH FORM
        ============================================================ */
.marc-sidebar__search {
    padding: 14px 14px 10px;
}

.marc-sidebar__search form {
    display: flex;
    gap: 0;
    border-radius: 5px;
    overflow: hidden;
    border: 1px solid orange;
    background: #fff;
    transition: border-color 500ms,
        box-shadow 500ms;
}

.marc-sidebar__search form:focus-within {
    border-color: orange;
    box-shadow: 0 0 0 3px orange;
}

.marc-sidebar__search input[type="search"] {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    padding: 9px 12px;
    font-size: 13px;
    color: #333;
}

.marc-sidebar__search input[type="search"]::placeholder {
    color: #333;
}

/* remove webkit search cancel */
.marc-sidebar__search input[type="search"]::-webkit-search-cancel-button {
    display: none;
}

.marc-sidebar__search button[type="submit"] {
    background: transparent;
    border: none;
    padding: 9px 12px;
    cursor: pointer;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 500ms;
}

.marc-sidebar__search button[type="submit"]:hover {
    color: #333;
}

.marc-sidebar__search button[type="submit"] svg {
    width: 15px;
    height: 15px;
}

/* Logo centered on mobile */
@media (max-width: 767px) {
    .marc-row1-inner {
        padding: 10px 14px;
        gap: 10px;
    }

    .marc-logo {
        flex: 1;
        display: flex;
        justify-content: center;
    }

    .marc-logo img {
        width: 64px;
    }
}

/* Mobile search bar */
.marc-mobile-search-bar {
    padding: 8px 14px 10px;
    border-top: 1px solid #f0f0f0;
}

.marc-searchform--mobile {
    display: flex;
    border: 2px solid #d0d0d0;
    border-radius: 50px;
    overflow: hidden;
    height: 40px;
}

.marc-searchform--mobile:focus-within {
    border-color: #e67e00;
}

.marc-searchform--mobile .marc-search-input {
    padding: 0 12px;
}


/* ════════════════════════════════════════════════════════════
   ROW 2 — Desktop category nav
════════════════════════════════════════════════════════════ */
.marc-row2 {
    background: #3d3d3d;
}

.marc-row2-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    max-width: 1400px;
    margin-inline: auto;
    padding-inline: 20px;
}

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

.marc-nav-link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 11px 18px;
    color: #fff;
    text-decoration: none;
    font-size: .88rem;
    font-weight: 600;
    letter-spacing: .3px;
    white-space: nowrap;
    transition: background .15s, color .15s;
}

.marc-nav-link:hover,
.marc-nav-link:focus,
.marc-nav-item.marc-open>.marc-nav-link {
    background: #e67e00;
    color: #fff;
}

/* Row-2 dropdown */
.marc-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 260px;
    max-height: 70vh;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #ddd;
    border-top: 2px solid #e67e00;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .13);
    list-style: none;
    margin: 0;
    padding: 6px 0;
    z-index: 300;
}

.marc-nav-item.marc-open>.marc-dropdown {
    display: block;
}

.marc-dropdown li a {
    display: block;
    padding: 8px 18px;
    font-size: .86rem;
    color: #333;
    text-decoration: none;
    transition: background .12s, color .12s;
}

.marc-dropdown li a:hover {
    background: #fff4e6;
    color: #e67e00;
}

/* chevron rotate on open */
.marc-nav-item.marc-open>.marc-nav-link .marc-chevron {
    transform: rotate(180deg);
}

.marc-chevron {
    transition: transform .2s;
}


/* ════════════════════════════════════════════════════════════
   OFF-CANVAS DRAWER
════════════════════════════════════════════════════════════ */
.marc-offcanvas-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    z-index: 1040;
    transition: opacity .25s;
}

.marc-offcanvas-overlay.marc-is-open {
    display: block;
}

.marc-offcanvas {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(85vw, 320px);
    background: #1a1a1a;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform .28s cubic-bezier(.4, 0, .2, 1);
    overflow-y: auto;
}

.marc-offcanvas.marc-is-open {
    transform: translateX(0);
}

.marc-offcanvas-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid #333;
}

.marc-offcanvas-brand {
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: .5px;
}

.marc-offcanvas-close {
    background: none;
    border: none;
    color: #ccc;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
}

.marc-offcanvas-close:hover {
    color: #fff;
}

.marc-offcanvas-body {
    padding: 8px 0;
}

.marc-offcanvas-nav {
    list-style: none;
    margin: 0;
    padding: 0;
}

.marc-oc-item {
    border-bottom: 1px solid #2a2a2a;
}

.marc-oc-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 13px 18px;
    background: none;
    border: none;
    color: #e8e8e8;
    font-size: .92rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
}

.marc-oc-toggle:hover {
    background: #252525;
    color: #e67e00;
}

.marc-oc-toggle[aria-expanded="true"] .marc-chevron {
    transform: rotate(180deg);
}

.marc-oc-sub {
    list-style: none;
    margin: 0;
    padding: 4px 0 8px;
    background: #111;
}

.marc-oc-sub li a {
    display: block;
    padding: 8px 28px;
    color: #bbb;
    text-decoration: none;
    font-size: .86rem;
    transition: color .12s, background .12s;
}

.marc-oc-sub li a:hover {
    color: #e67e00;
    background: #1a1a1a;
}

.marc-oc-contact a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 18px;
    color: #e67e00;
    text-decoration: none;
    font-weight: 700;
    font-size: .9rem;
}

.marc-oc-contact a:hover {
    background: #252525;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.skip-link {
    position: absolute;
    top: -48px;
    left: 16px;
    background: #e67e00;
    color: #fff;
    padding: 8px 16px;
    border-radius: 0 0 6px 6px;
    z-index: 9999;
    font-weight: 600;
    transition: top 0.2s ease;
    text-decoration: none;
}

.skip-link:focus {
    top: 0;
}

.carousel-navbar .carousel-item img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 992px) {
    .carousel-navbar .carousel-item img {
        height: 320px;
    }
}

@media (max-width: 768px) {
    .carousel-navbar .carousel-item img {
        height: 220px;
    }
}

@media (max-width: 480px) {
    .carousel-navbar .carousel-item img {
        height: 160px;
    }
}

.carousel-control-prev,
.carousel-control-next {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #e67e00;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.85;
    transition: opacity 0.2s ease;
}

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

.section-title {
    font-size: clamp(1.3rem, 4vw, 1.9rem);
    font-weight: 700;
    text-align: center;
    padding-bottom: 10px;
    border-bottom: 3px solid #e67e00;
    margin-bottom: 28px;
}

.card {
    width: 100% !important;
    border: 1px solid #e3e3e3;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.13);
}

.categories .card img,
.new-products .card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

@media (max-width: 576px) {

    .categories .card img,
    .new-products .card img {
        height: 150px;
    }
}

.new-product-badge {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    line-height: 1;
}

.font-icon {
    font-size: clamp(52px, 10vw, 80px);
    color: #e67e00;
    display: block;
    margin: 16px auto 12px;
}

.customer-reviews .card img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 12px;
}

.customer-reviews .carousel-item .row {
    padding-bottom: 48px;
    /* room for indicators */
}

.footer-bar {
    width: 100%;
}

.footer-title {
    font-weight: 600;
    font-size: 0.95rem;
    padding-bottom: 8px;
    margin-bottom: 12px;
}

.footer-map-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 6px;
}

.footer-map-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.footer-social-media-1,
.footer-social-media-2,
.footer-social-media-3,
.footer-social-media-4 {
    font-size: 1.6rem;
    margin-right: 14px;
    transition: transform 0.25s ease, opacity 0.25s ease;
    display: inline-block;
    text-decoration: none;
}

.footer-social-media-1 {
    color: #1877F2;
}

.footer-social-media-2 {
    color: #E1306C;
}

.footer-social-media-3 {
    color: #f0f0f0;
}

.footer-social-media-4 {
    color: #FF0000;
}

.footer-social-media-1:hover,
.footer-social-media-2:hover,
.footer-social-media-3:hover,
.footer-social-media-4:hover {
    transform: scale(1.2);
    opacity: 0.85;
}

.footer-bar-last {
    background-color: #e67e00;
    color: #fff;
    text-align: center;
    padding: 12px 20px;
    font-size: 0.82rem;
}

.footer-contact-link {
    color: #fff;
    text-decoration: none;
    word-break: break-all;
}

.footer-contact-link:hover {
    text-decoration: underline;
    color: #ffe0b2;
}