/* =============================================================
   MMT Center — global modern polish
   Loaded AFTER the template CSS so these rules win.
   Applies site-wide: no page templates were modified.
   ============================================================= */

:root {
    --mm-accent: #0A9A73;
    --mm-accent-dark: #087a5b;
    --mm-accent-soft: #e7f5f0;
    --mm-primary: #071C1F;
    --mm-muted: #5b6b6a;
    --mm-line: #e9efed;
    --mm-radius: 14px;
    --mm-radius-sm: 10px;
    --mm-shadow: 0 18px 40px -22px rgba(7, 28, 31, .30);
    --mm-shadow-lg: 0 28px 55px -25px rgba(7, 28, 31, .38);
}

/* Prevent accidental horizontal scroll on any page */
html, body { overflow-x: hidden; }
img { max-width: 100%; height: auto; }

/* -------------------------------------------------------------
   0. COLOR CORRECTION
   The site was running three clashing colours:
     top bar   #970d39  (maroon)
     nav bar   #89b50e  (lime/olive)
     accents   #0A9A73  (brand green)
   Unified into one palette: dark top bar + brand-green nav.
------------------------------------------------------------- */
.ltn__header-top-area {
    background-color: var(--mm-primary) !important;   /* was maroon */
    border-color: rgba(255, 255, 255, .08) !important;
}
.ltn__header-top-area,
.ltn__header-top-area a,
.ltn__header-top-area p,
.ltn__top-bar-menu > ul > li > a,
.ltn__top-bar-menu > ul > li > i,
.ltn__top-bar-menu > ul > li > a > i {
    color: rgba(255, 255, 255, .92) !important;
}
.ltn__header-top-area .ltn__social-media ul li a:hover,
.ltn__top-bar-menu > ul > li > a:hover {
    color: var(--mm-accent) !important;
}

.header-bottom-area {
    background-color: var(--mm-accent) !important;    /* was lime/olive */
}

/* Category dropdown sits inside the green nav — deepen it for contrast */
.ltn__category-menu-title h2,
.header-bottom-area .ltn__secondary-bg {
    background-color: var(--mm-accent-dark) !important;
}

/* Menu text on the green nav */
.header-bottom-area .ltn__main-menu > ul > li > a { color: #fff; }
.header-bottom-area .ltn__main-menu > ul > li > a:hover,
.header-bottom-area .ltn__main-menu > ul > li > a.active { color: #eafff7; }

/* Sticky header keeps the same green */
.sticky-active.ltn__sticky-bg-white,
.header-bottom-area.sticky-active {
    background-color: var(--mm-accent) !important;
}

/* -------------------------------------------------------------
   0b. HEADER — make it feel designed, not a flat colour block
------------------------------------------------------------- */
.ltn__header-top-area {
    padding: 6px 0;
    font-size: 14px;
}

/* Subtle depth + gradient instead of a flat slab */
.header-bottom-area {
    background-image: linear-gradient(90deg, #0A9A73 0%, #0d8f6d 100%) !important;
    box-shadow: 0 6px 20px -8px rgba(7, 28, 31, .35);
}
.header-bottom-area.sticky-active {
    box-shadow: 0 10px 30px -10px rgba(7, 28, 31, .45);
}

/* Nav items: rounded hover pill + active underline */
.header-bottom-area .ltn__main-menu > ul > li > a {
    position: relative;
    border-radius: 8px;
    font-weight: 600;
    transition: background-color .2s ease, color .2s ease;
}
.header-bottom-area .ltn__main-menu > ul > li > a:hover {
    background: rgba(255, 255, 255, .14);
}
.header-bottom-area .ltn__main-menu > ul > li > a.active::after {
    content: "";
    position: absolute;
    left: 12px; right: 12px; bottom: 12px;
    height: 2px;
    border-radius: 2px;
    background: #fff;
}

/* CATEGORIES button — rounded, with depth */
.ltn__category-menu-title h2 {
    border-radius: 10px;
    padding: 14px 18px;
    font-size: 15px;
    letter-spacing: .6px;
    box-shadow: 0 8px 18px -8px rgba(0, 0, 0, .45);
}

/* Search bar — modern pill */
.header-search-1 input[type="text"],
.header-search-wrap input[type="text"],
.ltn__search-form input[type="text"] {
    border-radius: 30px !important;
    border: 1px solid var(--mm-line) !important;
    padding-left: 22px !important;
    height: 50px;
    background: #fff;
}
.header-search-1 button,
.header-search-wrap button,
.ltn__search-form button {
    border-radius: 30px !important;
    color: var(--mm-accent) !important;
}

/* Cart / wishlist / account icons */
.header-wishlist a,
.mini-cart-icon a,
.ltn__drop-menu > ul > li > a {
    transition: color .2s ease, transform .2s ease;
}
.header-wishlist a:hover,
.mini-cart-icon a:hover { color: var(--mm-accent) !important; transform: translateY(-1px); }

/* Cart count badge */
.mini-cart-icon sup,
.header-wishlist sup {
    background: var(--mm-accent) !important;
    color: #fff !important;
    font-weight: 700;
    border-radius: 30px;
    min-width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
}

/* Dropdown menus under the nav */
.ltn__main-menu > ul > li ul.sub-menu,
.ltn__main-menu ul li .sub-menu {
    border-radius: 12px;
    border: 1px solid var(--mm-line);
    box-shadow: 0 24px 45px -20px rgba(7, 28, 31, .35);
    overflow: hidden;
    padding: 8px;
}
.ltn__main-menu ul li .sub-menu li a {
    border-radius: 8px;
    transition: background-color .2s ease, color .2s ease;
}
.ltn__main-menu ul li .sub-menu li a:hover {
    background: var(--mm-accent-soft);
    color: var(--mm-accent);
}

/* -------------------------------------------------------------
   0c. IMAGE PLACEHOLDERS
   Every image box gets a soft branded backdrop + icon. When the
   real image loads it sits on top; when the file is missing the
   box still reads as designed instead of blank/broken.
------------------------------------------------------------- */
.ltn__product-item .product-img,
.hm-cat-img,
.hm-split-img,
.ltn__blog-item .ltn__blog-img,
.au-intro-img {
    background-color: #f2f8f6;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='54' height='54' viewBox='0 0 24 24' fill='none' stroke='%230A9A73' stroke-width='1.25' stroke-linecap='round' stroke-linejoin='round' opacity='0.32'%3E%3Crect x='3' y='3' width='18' height='18' rx='2.5'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'/%3E%3Cpath d='M21 15l-5-5L5 21'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

/* Broken/missing files must not print raw alt text */
.ltn__product-item .product-img img,
.hm-cat-img img,
.hm-split-img img,
.ltn__blog-item .ltn__blog-img img {
    color: transparent;
    font-size: 0;
}

/* -------------------------------------------------------------
   0d. SCROLL REVEAL — sections ease in as you scroll
------------------------------------------------------------- */
.mm-reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .6s ease, transform .6s ease;
    will-change: opacity, transform;
}
.mm-reveal.is-visible {
    opacity: 1;
    transform: none;
}
@media (prefers-reduced-motion: reduce) {
    .mm-reveal { opacity: 1; transform: none; transition: none; }
}

/* -------------------------------------------------------------
   1. TYPOGRAPHY — modern font pairing
   The template drove everything off these two variables
   (was: Josefin Sans + Nunito Sans — dated/decorative).
   Overriding them re-fonts the whole site at once.
------------------------------------------------------------- */
:root {
    --ltn__heading-font: 'Plus Jakarta Sans', sans-serif;
    --ltn__body-font: 'Inter', sans-serif;
}

body,
p, li, td, th, label, input, textarea, select, button, a {
    font-family: 'Inter', sans-serif;
}

body {
    color: var(--mm-muted);
    font-size: 16px;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6,
.section-title, .product-title, .ltn__blog-title,
.page-title, .card-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--mm-primary);
    letter-spacing: -0.3px;
    font-weight: 700;
}

.section-title-area { margin-bottom: 34px; }

.section-title {
    font-weight: 800;
    line-height: 1.22;
}

.section-subtitle {
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 13px;
}

/* -------------------------------------------------------------
   2. BUTTONS — modern, rounded, responsive to hover
------------------------------------------------------------- */
.btn,
.theme-btn-1,
.theme-btn-2,
.theme-btn-3 {
    border-radius: 8px !important;
    font-weight: 600 !important;
    letter-spacing: .3px;
    transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease !important;
}

.theme-btn-1:hover,
.theme-btn-2:hover,
.btn-primary:hover,
.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 26px -12px rgba(10, 154, 115, .65);
}

/* -------------------------------------------------------------
   3. PRODUCT CARDS — the biggest visual upgrade
------------------------------------------------------------- */
.ltn__product-item {
    border: 1px solid var(--mm-line) !important;
    border-radius: var(--mm-radius) !important;
    overflow: hidden;
    background: #fff;
    box-shadow: none;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
    height: 100%;
}

.ltn__product-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--mm-shadow-lg);
    border-color: transparent !important;
}

/* Uniform, compact image box — fixes mixed/oversized/broken images */
.ltn__product-item .product-img {
    background: #f7faf9;
    border-bottom: 1px solid var(--mm-line);
    padding: 12px;
    margin: 0;
}

.ltn__product-item .product-img a {
    display: block;
    height: 165px;
    overflow: hidden;
}

.ltn__product-item .product-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .4s ease;
    /* Missing image files should read as a clean empty box, not raw alt text */
    color: transparent;
    font-size: 0;
}

.ltn__product-item:hover .product-img img { transform: scale(1.05); }

.ltn__product-item .product-info {
    padding: 14px 14px 16px;
    border: 0 !important;
}

/* Long names must not stretch the card — clamp to 2 lines */
.ltn__product-item .product-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 6px;
    min-height: 42px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Ratings row was adding dead height */
.ltn__product-item .product-ratting { margin-bottom: 4px; }

.ltn__product-item .product-title a:hover { color: var(--mm-accent); }

.ltn__product-item .product-price {
    font-size: 16px;
    font-weight: 800;
    color: var(--mm-accent);
    margin-bottom: 0;
}

.ltn__product-item .product-price del {
    color: #a8b5b3;
    font-weight: 500;
    font-size: 14px;
    margin-left: 6px;
}

/* Badge as a modern pill */
.ltn__product-item .product-badge ul li {
    border-radius: 30px;
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .5px;
}

.ltn__product-item .product-badge .sale-badge {
    background: var(--mm-accent);
    color: #fff;
}

/* Hover action icons */
.ltn__product-item .product-hover-action ul li a {
    border-radius: 8px;
    transition: all .25s ease;
}
.ltn__product-item .product-hover-action ul li a:hover {
    background: var(--mm-accent);
    color: #fff;
}

/* -------------------------------------------------------------
   4. BLOG & FEATURE CARDS
------------------------------------------------------------- */
.ltn__blog-item,
.ltn__feature-item {
    border-radius: var(--mm-radius) !important;
    border: 1px solid var(--mm-line);
    background: #fff;
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
    height: 100%;
}

.ltn__blog-item:hover,
.ltn__feature-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--mm-shadow-lg);
    border-color: transparent;
}

.ltn__blog-item .ltn__blog-img img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.ltn__blog-item .ltn__blog-brief,
.ltn__feature-item .ltn__feature-info { color: var(--mm-muted); }

.ltn__feature-item .ltn__feature-icon span {
    color: var(--mm-accent);
}

/* -------------------------------------------------------------
   5. FORMS — modern inputs
------------------------------------------------------------- */
.input-item input,
.input-item textarea,
.form-control,
select.form-control,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
textarea {
    border-radius: var(--mm-radius-sm) !important;
    border: 1px solid var(--mm-line) !important;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.input-item input:focus,
.input-item textarea:focus,
.form-control:focus,
input:focus,
textarea:focus {
    border-color: var(--mm-accent) !important;
    box-shadow: 0 0 0 3px rgba(10, 154, 115, .12) !important;
    outline: none !important;
}

/* -------------------------------------------------------------
   6. CARDS / TABLES / MISC SURFACES
------------------------------------------------------------- */
.card,
.ltn__comment-area,
.shoping-cart-total,
.ltn__checkout-inner .card {
    border-radius: var(--mm-radius);
    border: 1px solid var(--mm-line);
}

.table {
    border-radius: var(--mm-radius-sm);
    overflow: hidden;
}

.table thead th {
    background: #f7faf9;
    color: var(--mm-primary);
    font-weight: 700;
    border-bottom: 1px solid var(--mm-line) !important;
}

/* Pagination */
.ltn__pagination ul li a,
.pagination .page-link {
    border-radius: 8px !important;
    border: 1px solid var(--mm-line);
    color: var(--mm-primary);
    transition: all .2s ease;
}
.ltn__pagination ul li a:hover,
.pagination .page-link:hover,
.pagination .active .page-link {
    background: var(--mm-accent) !important;
    border-color: var(--mm-accent) !important;
    color: #fff !important;
}

/* Section backgrounds a touch softer */
.section-bg-1 { background-color: #f7faf9 !important; }

/* -------------------------------------------------------------
   7. HEADER NAV ALIGNMENT
------------------------------------------------------------- */
.header-bottom-area .row { align-items: center; }

/* Menu now spans the full nav width (category box removed) — centre it */
.ltn__main-menu > ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.ltn__main-menu > ul > li > a {
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 16px;
    padding-right: 16px;
    font-size: 15px;
    white-space: nowrap;
}

@media (min-width: 992px) and (max-width: 1300px) {
    .ltn__main-menu > ul > li > a {
        padding-left: 9px;
        padding-right: 9px;
        font-size: 14px;
    }
}

.header-bottom-area .ltn__category-menu-wrap { margin-bottom: 0; }
.header-bottom-area .ltn__category-menu-title h2 { margin-bottom: 0; }

/* -------------------------------------------------------------
   8. BREADCRUMB — kill the huge empty gap
------------------------------------------------------------- */
.ltn__breadcrumb-area {
    margin-bottom: 0 !important;
    padding-top: 55px !important;
    padding-bottom: 55px !important;
    background-color: #f2f8f6;
}

.ltn__breadcrumb-inner h1.page-title { font-weight: 800; }

@media (max-width: 768px) {
    .ltn__breadcrumb-area {
        padding-top: 30px !important;
        padding-bottom: 30px !important;
    }
}

/* About page intro tweaks */
.au-wrap .au-section:first-of-type { padding-top: 45px; }

/* -------------------------------------------------------------
   9. SPACING — tame the template's oversized gaps
------------------------------------------------------------- */
.mb-120 { margin-bottom: 70px !important; }
.pb-120 { padding-bottom: 70px !important; }
.pt-120 { padding-top: 70px !important; }
.mb-90  { margin-bottom: 55px !important; }
.pt-90  { padding-top: 55px !important; }
.pb-90  { padding-bottom: 55px !important; }

.ltn__slider-area img { width: 100%; object-fit: cover; }

/* -------------------------------------------------------------
   10. MOBILE / RESPONSIVE
------------------------------------------------------------- */
@media (max-width: 991px) {
    .table-responsive { -webkit-overflow-scrolling: touch; }
    .container, .container-fluid { padding-left: 15px; padding-right: 15px; }
    .ltn__section-title-2 { text-align: center; }
    .mb-120, .pb-120 { margin-bottom: 45px !important; padding-bottom: 45px !important; }
    .pt-120 { padding-top: 45px !important; }
    .ltn__product-item .product-img a { height: 150px; }
}

@media (max-width: 575px) {
    h1, .section-title { font-size: 26px !important; line-height: 1.3; }
    .btn { white-space: normal; }
}
