/*
Theme Name:   MAR-C Heavy Machinery
Theme URI:    https://marcindonesia.com
Author:       Marc
Author URI:   https://marcindonesia.com
Description:  MAR-C Heavy Machinery Theme
Version:      1.0.0
Text Domain:  marc-theme
*/

:root {
    --ind-yellow: #ffb703;
    --ind-dark: #212529;
    --ind-gray: #495057;
    --ind-bg: #f4f6f8;
    --ind-green: #25D366;
}

body {
    background-color: var(--ind-bg);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.industrial-card {
    background: #fff;
    border-top: 4px solid var(--ind-yellow);
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.btn-inquiry {
    background-color: var(--ind-yellow);
    color: #000;
    font-weight: bold;
    text-transform: uppercase;
    border: none;
    transition: all 0.2s;
}

.btn-inquiry:hover {
    background-color: #e0a000;
    color: #000;
}

.btn-chat {
    background-color: var(--ind-dark);
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    border: none;
    transition: all 0.2s;
}

.btn-chat:hover {
    background-color: #000;
    color: var(--ind-yellow);
}

.gallery-container {
    width: 100%;
    margin: 0 auto;
}

.main-glide {
    position: relative;
    width: 100%;
    margin-bottom: 1rem;
}

.zoom {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    max-height: 400px;
    border: 2px solid #dee2e6;
    overflow: hidden;
    cursor: zoom-in;
    background-color: #fff;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zoom img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: 100%;
    object-fit: contain;
    transition: transform 0.15s cubic-bezier(0.25, 1, 0.5, 1);
    transform-origin: center center;
    pointer-events: none;
    will-change: transform;
}

.main-glide .glide__track,
.main-glide .glide__slides {
    margin: 0;
    padding: 0;
}

/* Base transition handling for main glide */
.main-glide .glide__slides {
    transition: transform 0ms cubic-bezier(0.165, 0.840, 0.440, 1.000);
}

.main-glide.do-transition .glide__slides {
    transition: transform 400ms cubic-bezier(0.165, 0.840, 0.440, 1.000) !important;
}

.glide__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background-color: rgba(33, 37, 41, 0.8);
    color: var(--ind-yellow);
    border: 2px solid var(--ind-yellow);
    border-radius: 0;
    width: 40px;
    height: 40px;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.glide__arrow:hover {
    background-color: var(--ind-yellow);
    color: #000;
}

.glide__arrow--left {
    left: 10px;
}

.glide__arrow--right {
    right: 10px;
}

.thumbs-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0 25px;
}

.list-of-images {
    display: flex;
    flex-direction: row;
    gap: 10px;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    width: 100%;
}

.image-container {
    flex: 0 0 calc(20% - 8px);
    height: 80px;
    border: 2px solid #dee2e6;
    padding: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
}

.image-container:hover,
.image-container.active {
    border-color: var(--ind-yellow);
    background-color: rgba(255, 183, 3, 0.1);
}

.image-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.thumb-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    border: none;
    width: 25px;
    height: 40px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thumb-arrow:hover {
    background-color: var(--ind-yellow);
    color: #000;
}

.thumb-arrow--left {
    left: 0;
}

.thumb-arrow--right {
    right: 0;
}

.variant-btn {
    min-width: 95px;
    border: 2px solid #dee2e6;
    background-color: #fff;
    color: var(--ind-dark);
    transition: all 0.2s ease-in-out;
    cursor: pointer;
}

.variant-btn:hover {
    border-color: var(--ind-yellow);
    background-color: #fff8e1;
    color: #000;
}

.variant-btn.active {
    border-color: var(--ind-yellow) !important;
    background-color: rgba(255, 183, 3, 0.15) !important;
    box-shadow: 0 0 0 1px var(--ind-yellow);
    color: #000 !important;
}

.btn-whatsapp {
    background-color: var(--ind-green);
    color: white;
    border: none;
    transition: all 0.3s ease;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(37, 211, 102, 0.3);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

.product-card {
    border-radius: 0 !important;
}

.product-card .card-img-top {
    border-radius: 0 !important;
}

.product-card .btn {
    border-radius: 0 !important;
}

.product-card .product-img-wrapper {
    padding: 0 !important;
}

.product-card-category,
.product-card-name {
    color: #212529;
    text-decoration: none;
    transition: color .15s ease;
}

.product-card-category {
    font-size: .8rem;
}

.product-card-category:hover,
.product-card-name:hover {
    color: #0d6efd;
    text-decoration: underline;
}

/* Container & Mobile Stacking (Column View by Default) */
.testimonial_content {
    display: flex;
    flex-direction: column;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
}

/* Image Block Styling */
.testimonial_image_block {
    position: relative;
    width: 100%;
    min-height: 250px;
    margin-right: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Message Block Styling */
.testimonial_message {
    width: 100%;
    text-align: justify;
    background-color: #ff9800;
    color: #fff;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.testimonial_description {
    padding: 10px;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
    margin: 0;
}

/* Profile Overlay inside Image Block */
.profile_block {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
    padding: 20px 15px 15px 15px;
    color: #fff;
}

.profile_block h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
}

.profile_block h5 {
    margin: 4px 0 0 0;
    font-size: 0.85rem;
    opacity: 0.9;
}

/* ---- Floating widgets ---- */
.marc-float-widgets {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1035;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    pointer-events: none;
}

.marc-float-btn {
    pointer-events: auto;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 26px;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .25);
    transition: transform .2s, opacity .2s;
}

.marc-float-btn:hover {
    transform: translateY(-2px);
    color: #fff;
}

.marc-float-btn--wa {
    background: #25d366;
}

.marc-float-btn--top {
    background: #e67e00;
    font-size: 20px;
    opacity: 0;
    visibility: hidden;
}

.marc-float-btn--top.is-visible {
    opacity: 1;
    visibility: visible;
}

/* Desktop & Tablet Layout Adjustments */
@media (min-width: 768px) {
    .testimonial_content {
        flex-direction: row;
        min-height: 260px;
    }

    .testimonial_image_block {
        width: 45%;
        margin-right: 0;
    }

    .testimonial_message {
        width: 55%;
        border-radius: 0 8px 8px 0;
    }

    .marc-sticky-side {
        max-height: calc(100vh - var(--marc-header-h, 0px) - 4.5rem);
        overflow-y: auto;
    }

}

.card-img-placeholder {
    width: 100%;
    height: 180px;
    display: block;
}

/* Card Container Styling & Equal Heights */
.product-card {
    border: 1px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    background-color: #ffffff;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08) !important;
}

/* Fixed 1:1 Aspect Ratio Image Wrapper */
.product-card .product-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 12px;
}

/* Fit Entire Image Without Zooming/Cropping */
.product-card .card-img-top {
    width: 100%;
    height: 100%;
    max-height: 300px;
    object-fit: fill;
    object-position: center;
    transition: transform 0.3s ease;
}

.product-card:hover .card-img-top {
    transform: scale(1.04);
}

/* Badge Styling */
.product-card .new-product-badge {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

/* Multiline Text Truncation (2 lines max) */
.product-card .product-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.6em;
    line-height: 1.3;
}

/* WhatsApp Button Hover State */
.product-card .cta-btn {
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.product-card .cta-btn:hover {
    background-color: #ffc107 !important;
    color: #212529 !important;
}

/* Make the brand container take full width and handle padding/alignment */
.marc-sidebar__brand {
    width: 100%;
    padding: 15px 20px;
    /* Adjust padding as needed */
    box-sizing: border-box;
    text-align: center;
    /* Center the logo if it doesn't fill 100% height proportionally */
}

/* Force the logo image to span the full width of its container */
.marc-sidebar__logo {
    background-color: #fff;
    width: 100%;
    height: auto;
    /* Maintains the image's aspect ratio */
    max-width: 100%;
    display: block;
    object-fit: contain;
}


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: 0;
    overflow: hidden;
    height: 44px;
    transition: border-color .2s;
}

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

.marc-search-wrap,
.marc-search-field-wrap {
    overflow: visible !important;
}

.marc-searchform {
    position: relative;
}

.marc-search-field-wrap {
    display: flex;
    align-items: stretch;
}

.marc-search-field-wrap .marc-searchform {
    flex: 1 1 auto;
    min-width: 0;
}

.marc-searchform .select2-container--default .select2-selection--multiple {
    height: 100%;
}

.marc-sidebar__search .select2-container {
    width: 100% !important;
}

/* ---- live result dropdown: same width as the field, rows max 300px high ---- */
.marc-search-dropdown {
    border: 1px solid #ddd;
    border-radius: 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .15);
    max-width: 100%;
}

.marc-search-dropdown .select2-results__options {
    max-height: min(60vh, 420px);
    overflow-y: auto;
}

.marc-search-dropdown .select2-results__option {
    padding: 8px 10px;
}

.marc-search-dropdown .select2-results__option--highlighted {
    background: #fff3e0 !important;
    color: inherit !important;
}

.marc-sr-row {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 100%;
    max-height: 300px;
    overflow: hidden;
}

.marc-sr-img {
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
    max-height: 300px;
    object-fit: cover;
    border-radius: 6px;
    background: #f2f2f2;
}

.marc-sr-text {
    flex: 1 1 auto;
    min-width: 0;
    max-height: 300px;
    overflow: hidden;
}

.marc-sr-name {
    font-weight: 600;
    color: #222;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.marc-sr-price {
    font-weight: 700;
    color: #e67e00;
}

.marc-sr-cat {
    font-size: .8rem;
    opacity: .7;
}

/* ---- 3-level menu ---- */
/* ---- Desktop menu: category -> subcategory heading -> products (stacked, no flyout) ---- */
.marc-dropdown {
    overflow-x: hidden;
}

.marc-dropdown .marc-dropdown-sub>.marc-dropdown-sub-link {
    font-weight: 700;
    color: #e67e00;
}

.marc-dropdown .marc-flyout {
    display: block;
    position: static;
    list-style: none;
    margin: 0;
    padding: 0 0 4px;
    box-shadow: none;
    background: transparent;
}

.marc-dropdown .marc-flyout a {
    padding-left: 34px;
    font-weight: 400;
    color: #333;
}

.marc-dropdown .marc-dropdown-sub+li {
    border-top: 1px solid #f0f0f0;
}

.marc-oc-sub .marc-oc-sub {
    padding-left: 14px;
}

/* ---- Search category dropdown ---- */
.marc-category-dropdown {
    max-height: 60vh;
    overflow-y: auto;
}

.marc-category-dropdown .marc-cat-option:not(.marc-cat-option--sub):not([data-value=""]) {
    font-weight: 600;
}

.marc-category-dropdown .marc-cat-option--sub {
    padding-left: 32px;
    font-size: .84rem;
}

/* 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;
}

/* Category dropdown */
.marc-category-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 180px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 0;
    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;
}

/* ============================================================
           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 img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.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: 0;
    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: 0;
    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;
}

.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;
}

.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;
}

/* FOR CAROUSEL SPECIFICALLY */

.hero-glide {
    position: relative;
    width: 75vw !important;
    /* Container width */
    max-width: 75vw !important;
    margin: 1% auto 0 auto;
    padding: 0;
    overflow: hidden;
}

.hero-image-wrapper {
    width: 100% !important;
    height: 50vh !important;
    /* Container height */
    max-height: 50vh !important;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
    /* Background color behind the letterboxing if aspect ratios differ */
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.hero-image-wrapper img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: fill !important;
    /* Stretches the image to fill 50vw x 30vh exactly */
    object-position: center !important;
    display: block !important;
}

/* Mobile Responsiveness for Highlight Container */
@media (max-width: 768px) {
    .hero-glide {
        width: 90vw !important;
        max-width: 90vw !important;
    }

    .hero-image-wrapper {
        height: 25vh !important;
        max-height: 25vh !important;
    }
}

.hero-glide .glide__slide:not(.glide__slide--active) .hero-image-wrapper,
.hero-glide .glide__slide--active .hero-image-wrapper {
    transform: none;
    opacity: 1;
    box-shadow: none !important;
}

.hero-glide .ebay-nav-btn {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
}

/* --- TESTIMONIAL CAROUSEL & CARDS --- */
.ebay-card {
    border-radius: 12px !important;
    border: 1px solid #e9ecef !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    background-color: #fff;
    overflow: hidden;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.ebay-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08) !important;
}

.testi-glide .glide__slide {
    height: auto;
    display: flex;
}

.testimonial_image_block {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    /* Responsive proportional height */
    min-height: 200px;
    background-size: contain !important;
    /* Forces full image visibility */
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-color: #f1f3f5;
}

.testimonial_image_block img,
.testimonial_content img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

/* Ensure message block dynamically flexes properly */
.testimonial_message {
    border-radius: 0;
    background-color: #fff;
    color: #333;
    border-top: 3px solid #ff9800;
}

@media (min-width: 768px) {
    .testimonial_content {
        flex-direction: column;
    }

    .testimonial_image_block {
        width: 100%;
    }

    .testimonial_message {
        width: 100%;
        border-radius: 0 0 12px 12px;
    }
}

@media (max-width: 576px) {
    .testimonial_image_block {
        aspect-ratio: 1 / 1;
        /* Square ratio on small screens */
        min-height: 180px;
    }
}

/* --- CAROUSEL NAVIGATION BUTTONS (EBAY STYLE) --- */
.ebay-nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #ffffff;
    color: #333;
    border: 1px solid #dcdcdc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: background-color 0.2s, border-color 0.2s, transform 0.1s;
    top: 50%;
    transform: translateY(-50%);
    position: absolute;
    z-index: 10;
}

.ebay-nav-btn:hover {
    background-color: #f8f8f8;
    border-color: #999;
}

.ebay-nav-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.glide__arrow--left {
    left: 10px;
}

.glide__arrow--right {
    right: 10px;
}

/* Category Images */
/* ── Category Styling Rules ───────────────────────── */
.category-img-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    /* Force square shape */
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 0 !important;
    /* No border radius */
}

.category-img {
    width: 100%;
    height: 100%;
    object-fit: contain !important;
    /* 100% visible, not cropped */
    object-position: center !important;
    /* Aligned at the center */
    border-radius: 0 !important;
    /* Direct image with no border radius */
    border: none !important;
    display: block;
}

/* ── Raw Category List Styles ─────────────────── */
.category-raw-link {
    width: 100%;
    max-width: 40vw;
    /* Reduces size of category images */
    margin: 0 auto;
}

.category-raw-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    /* Square shape */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 0 !important;
    border: none !important;
    background: transparent;
}

.category-raw-img {
    width: 100%;
    height: 100%;
    object-fit: contain !important;
    /* 100% visible, not cropped */
    object-position: center !important;
    border-radius: 0 !important;
    border: none !important;
    box-shadow: none !important;
    display: block;
}

.category-raw-info .category-raw-title {
    font-size: 0.9rem;
    font-weight: 600;
}

.category-raw-img-wrap .card-img-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 0 !important;
}

/* Live-search result rows */
.marc-result {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 4px 0;
}

.marc-result__img {
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
    object-fit: cover;
    border-radius: 6px;
    background: #f1f1f1;
}

.marc-result__body {
    min-width: 0;
    flex: 1;
}

.marc-result__name {
    font-weight: 600;
    font-size: .95rem;
    line-height: 1.3;
    white-space: normal;
    word-break: break-word;
}

.marc-result__cat {
    font-size: .78rem;
    color: #6c757d;
}

.marc-result__price {
    font-size: .9rem;
    font-weight: 600;
    color: #e67e00;
}

.marc-result__price small {
    font-weight: 400;
    color: #6c757d;
}