/*
Theme Name: Mad Trails
Theme URI: https://www.madtrailsurrons.com/
Author: Mad Trails
Description: Custom WooCommerce theme for Mad Trails Surrons marketplace.
Version: 1.0
Text Domain: mad-trails
*/

/* ===============================
   ROOT / GLOBAL
================================ */

:root {
    --mt-primary: #ff4b00;
    --mt-orange: #e64a19;
    --mt-red: #e60012;
    --mt-blue: #001f54;
    --mt-black: #050505;
    --mt-dark: #0b0b0b;
    --mt-card: #111111;
    --mt-border: #242424;
    --mt-light-border: #d9e1ec;
    --mt-white: #ffffff;
    --mt-light: #f5f7fb;
    --mt-text: #111111;
    --mt-muted: #cfcfcf;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--mt-dark);
    color: var(--mt-white);
    font-size: 16px;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: var(--mt-primary);
}

img {
    max-width: 100%;
    height: auto;
}

button,
input,
textarea,
select {
    font-family: Arial, Helvetica, sans-serif;
}

button {
    cursor: pointer;
}

.mt-container {
    width: 92%;
    max-width: 1400px;
    margin: auto;
}

main {
    min-height: 500px;
}

/* ===============================
   HEADER
================================ */

.mt-topbar {
    display: none !important;
}

.mt-header {
    background: var(--mt-black);
    border-bottom: 1px solid #222;
    position: sticky;
    top: 0;
    z-index: 99999;
}

.mt-header-shop-row {
    background: var(--mt-blue);
    border-bottom: 3px solid var(--mt-primary);
    padding: 13px 0;
}

.mt-header-shop-inner {
    width: 92%;
    max-width: 1400px;
    margin: auto;
    display: grid;
    grid-template-columns: 230px 1fr auto;
    gap: 16px;
    align-items: center;
}

.mt-header-category {
    position: relative;
}

.mt-header-category-btn {
    width: 100%;
    min-height: 50px;
    background: var(--mt-primary);
    color: var(--mt-white);
    border: none;
    border-radius: 8px;
    font-weight: 900;
    text-transform: uppercase;
}

.mt-header-category-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 300px;
    max-height: 430px;
    overflow-y: auto;
    background: #080808;
    border: 1px solid var(--mt-border);
    border-radius: 14px;
    padding: 10px;
    z-index: 999999;
    box-shadow: 0 20px 55px rgba(0,0,0,.55);
}

.mt-header-category:hover .mt-header-category-dropdown {
    display: block;
}

.mt-header-category-dropdown a {
    display: block;
    padding: 12px 14px;
    color: var(--mt-white);
    border-radius: 8px;
    font-weight: 800;
}

.mt-header-category-dropdown a:hover {
    background: var(--mt-primary);
    color: var(--mt-white);
}

.mt-header-search {
    display: grid;
    grid-template-columns: 1fr 125px;
    gap: 10px;
}

.mt-header-search input {
    width: 100%;
    min-height: 50px;
    background: var(--mt-white);
    color: var(--mt-text);
    border: 2px solid var(--mt-white);
    border-radius: 8px;
    padding: 0 16px;
    font-size: 15px;
}

.mt-header-search input::placeholder {
    color: #666666;
}

.mt-header-search button {
    min-height: 50px;
    background: var(--mt-black);
    color: var(--mt-white);
    border: 1px solid var(--mt-border);
    border-radius: 8px;
    font-weight: 900;
    text-transform: uppercase;
}

.mt-header-search button:hover {
    background: var(--mt-primary);
}

.mt-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
}

.mt-header-contact {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--mt-black);
    color: var(--mt-white);
    border: 1px solid var(--mt-border);
    border-radius: 8px;
    padding: 0 18px;
    font-weight: 900;
    text-transform: uppercase;
}

.mt-header-contact:hover {
    background: var(--mt-primary);
    color: var(--mt-white);
}

.mt-main-menu-row {
    background: var(--mt-black);
    border-bottom: 1px solid #222;
}

.mt-main-menu-row .mt-header-inner {
    width: 92%;
    max-width: 1400px;
    margin: auto;
    padding: 14px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
}

.mt-logo {
    display: flex;
    align-items: center;
    max-width: 330px;
    flex-shrink: 0;
    overflow: hidden;
    color: var(--mt-white);
    font-size: 28px;
    font-weight: 900;
}

.mt-logo img,
.custom-logo {
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 78px !important;
    object-fit: contain !important;
    display: block !important;
}

.mt-menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 18px;
}

.mt-menu a {
    color: var(--mt-white);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .3px;
    text-transform: uppercase;
}

.mt-menu a:hover {
    color: var(--mt-primary);
}

.mt-menu-toggle {
    display: none;
    width: 46px;
    height: 42px;
    background: var(--mt-primary);
    border: none;
    border-radius: 6px;
    padding: 9px;
}

.mt-menu-toggle span {
    display: block;
    height: 3px;
    background: var(--mt-white);
    margin: 5px 0;
    border-radius: 3px;
    transition: .25s ease;
}

.mt-toggle-open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mt-toggle-open span:nth-child(2) {
    opacity: 0;
}

.mt-toggle-open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ===============================
   HEADER MINI CART - CLEAN
================================ */

.mt-header-cart {
    position: relative;
}

.mt-cart-link {
    min-height: 50px;
    padding: 0 16px;
    border-radius: 8px;
    background: var(--mt-primary);
    color: var(--mt-white);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 900;
    text-transform: uppercase;
}

.mt-cart-link:hover {
    background: var(--mt-black);
    color: var(--mt-white);
}

.mt-cart-count {
    min-width: 24px;
    height: 24px;
    padding: 0 8px;
    background: var(--mt-white);
    color: #000000;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 900;
}

.mt-mini-cart-box {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 12px);
    width: 360px;
    max-width: 92vw;
    background: #080808;
    border: 1px solid var(--mt-border);
    border-radius: 14px;
    padding: 14px;
    z-index: 999999;
    box-shadow: 0 20px 55px rgba(0,0,0,.55);
}

.mt-header-cart:hover .mt-mini-cart-box {
    display: block;
}

.mt-mini-cart-box::before {
    content: "";
    position: absolute;
    top: -14px;
    left: 0;
    width: 100%;
    height: 14px;
}

.mt-mini-cart-box .woocommerce-mini-cart {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 360px;
    overflow-y: auto;
    overflow-x: hidden;
}

.mt-mini-cart-box .woocommerce-mini-cart-item {
    display: grid !important;
    grid-template-columns: 26px 70px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    padding: 12px 0;
    border-bottom: 1px solid var(--mt-border);
    position: relative;
    min-height: 94px;
}

.mt-mini-cart-box .woocommerce-mini-cart-item:first-child {
    padding-top: 0;
}

.mt-mini-cart-box .woocommerce-mini-cart-item .remove {
    grid-column: 1;
    grid-row: 1;
    width: 24px !important;
    height: 24px !important;
    background: #b00020 !important;
    color: var(--mt-white) !important;
    border-radius: 50%;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    line-height: 1;
    margin: 3px 0 0 0;
    z-index: 30;
}

.mt-mini-cart-box .woocommerce-mini-cart-item .remove:hover {
    background: var(--mt-primary) !important;
}

.mt-mini-cart-box .woocommerce-mini-cart-item img {
    grid-column: 2;
    grid-row: 1 / span 2;
    width: 70px !important;
    height: 70px !important;
    object-fit: cover;
    border-radius: 10px;
    background: #111111;
    margin: 0 !important;
    position: static !important;
}

.mt-mini-cart-box .woocommerce-mini-cart-item a:not(.remove) {
    grid-column: 3;
    color: var(--mt-white);
    font-size: 13px;
    font-weight: 900;
    line-height: 1.35;
    display: block;
    min-width: 0;
}

.mt-mini-cart-box .woocommerce-mini-cart-item .quantity,
.mt-mini-cart-box .woocommerce-mini-cart-item .mt-header-mini-qty,
.mt-mini-cart-box .woocommerce-mini-cart-item .mt-mini-cart-qty-control {
    grid-column: 3;
    margin-top: 7px;
}

.mt-header-mini-qty,
.mt-mini-cart-qty-control {
    display: inline-grid !important;
    grid-template-columns: 26px 34px 26px;
    width: 86px;
    height: 28px;
    background: var(--mt-white);
    border: 1px solid #333333;
    border-radius: 7px;
    overflow: hidden;
}

.mt-header-mini-minus,
.mt-header-mini-plus,
.mt-mini-cart-minus,
.mt-mini-cart-plus {
    width: 26px !important;
    height: 28px !important;
    background: var(--mt-blue) !important;
    color: var(--mt-white) !important;
    border: none !important;
    font-size: 16px !important;
    font-weight: 900 !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1 !important;
}

.mt-header-mini-minus:hover,
.mt-header-mini-plus:hover,
.mt-mini-cart-minus:hover,
.mt-mini-cart-plus:hover {
    background: var(--mt-primary) !important;
}

.mt-header-mini-number,
.mt-mini-cart-qty {
    width: 34px;
    height: 28px;
    background: var(--mt-white);
    color: var(--mt-text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 900;
}

.mt-header-mini-qty.is-updating,
.mt-mini-cart-qty-control.mt-loading {
    opacity: .55;
    pointer-events: none;
}

.mt-mini-cart-box .woocommerce-mini-cart__total {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 14px 0;
    margin: 0;
    color: var(--mt-white);
    border-bottom: 1px solid var(--mt-border);
    font-size: 15px;
}

.mt-mini-cart-box .woocommerce-mini-cart__total strong {
    color: var(--mt-white);
}

.mt-mini-cart-box .woocommerce-mini-cart__buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 14px 0 0;
}

.mt-mini-cart-box .woocommerce-mini-cart__buttons .button {
    background: var(--mt-primary);
    color: var(--mt-white);
    border-radius: 8px;
    padding: 12px 10px;
    text-align: center;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.mt-mini-cart-box .woocommerce-mini-cart__buttons .button.checkout {
    background: var(--mt-white);
    color: #000000;
}

.mt-mini-cart-box .woocommerce-mini-cart__empty-message {
    color: #d0d0d0;
    margin: 0;
    padding: 18px;
    text-align: center;
}

/* ===============================
   GENERAL SECTIONS
================================ */

.mt-section {
    padding: 85px 0;
}

.mt-eyebrow {
    display: inline-block;
    color: var(--mt-primary);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.mt-btn,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--mt-primary);
    color: var(--mt-white);
    padding: 16px 30px;
    border-radius: 6px;
    font-weight: 900;
    text-transform: uppercase;
    border: none;
}

.mt-btn:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
    background: var(--mt-white);
    color: #000000;
}

/* ===============================
   HOME PAGE
================================ */

.mt-home-page {
    background: var(--mt-white);
    color: var(--mt-text);
}

.mt-hero,
.mt-home-hero {
    min-height: 720px;
    background-color: #111111;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.mt-hero-content,
.mt-home-hero-content {
    max-width: 850px;
}

.mt-hero h1,
.mt-home-hero h1 {
    color: var(--mt-white);
    font-size: clamp(46px, 7vw, 92px);
    line-height: .95;
    margin: 0 0 24px;
    text-transform: uppercase;
}

.mt-hero p,
.mt-home-hero p {
    color: #e2e2e2;
    font-size: 20px;
    line-height: 1.7;
    max-width: 720px;
}

.mt-hero-buttons,
.mt-home-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 28px;
}

.mt-home-section {
    padding: 90px 0;
}

.mt-home-light {
    background: var(--mt-light);
}

.mt-home-blue {
    background: var(--mt-blue);
    color: var(--mt-white);
}

.mt-home-head {
    max-width: 850px;
    margin: 0 auto 45px;
    text-align: center;
}

.mt-home-head h2,
.mt-section-head h2,
.mt-promo-content h2 {
    color: var(--mt-blue);
    font-size: clamp(34px, 4vw, 58px);
    line-height: 1.05;
    margin: 0 0 18px;
    text-transform: uppercase;
}

.mt-home-blue .mt-home-head h2 {
    color: var(--mt-white);
}

.mt-home-head p,
.mt-section-head p,
.mt-promo-content p {
    color: #5f6b7a;
    font-size: 18px;
    line-height: 1.7;
}

.mt-home-blue .mt-home-head p {
    color: #e8eef8;
}

.mt-home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 900;
    text-transform: uppercase;
}

.mt-home-btn-orange {
    background: var(--mt-primary);
    color: var(--mt-white);
}

.mt-home-btn-blue {
    background: var(--mt-blue);
    color: var(--mt-white);
}

.mt-home-btn-white,
.mt-btn-outline {
    background: var(--mt-white);
    color: var(--mt-blue);
}

.mt-home-btn:hover {
    background: var(--mt-red);
    color: var(--mt-white);
}

.mt-section-head {
    max-width: 780px;
    margin-bottom: 38px;
}

.mt-section-head-row {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: flex-end;
    max-width: 100%;
}

.mt-small-link {
    color: var(--mt-primary);
    font-weight: 900;
    text-transform: uppercase;
    white-space: nowrap;
}

.mt-category-grid,
.mt-home-category-grid,
.mt-home-feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.mt-category-card {
    min-height: 320px;
    background: linear-gradient(rgba(0,0,0,.25), rgba(0,0,0,.78)), #181818;
    background-size: cover;
    background-position: center;
    border: 1px solid var(--mt-border);
    border-radius: 14px;
    padding: 28px;
    display: flex;
    align-items: flex-end;
    position: relative;
    overflow: hidden;
}

.mt-category-card h3 {
    color: var(--mt-white);
    font-size: 28px;
    margin: 0 0 10px;
    text-transform: uppercase;
}

.mt-category-card span {
    color: var(--mt-primary);
    font-weight: 900;
    text-transform: uppercase;
}

.mt-home-category-card {
    min-height: 340px;
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid var(--mt-light-border);
    background: var(--mt-blue);
    box-shadow: 0 16px 38px rgba(0,31,84,.18);
}

.mt-home-category-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .35s ease;
}

.mt-home-category-card:hover img {
    transform: scale(1.08);
}

.mt-home-category-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,31,84,.08), rgba(0,31,84,.92));
}

.mt-home-category-info {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 24px;
    z-index: 2;
}

.mt-home-category-info h3 {
    color: var(--mt-white);
    font-size: 25px;
    line-height: 1.1;
    margin: 0 0 10px;
    text-transform: uppercase;
    font-weight: 900;
}

.mt-home-category-info span {
    color: var(--mt-white);
    background: var(--mt-primary);
    display: inline-flex;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.mt-home-explore-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 32px;
}

.mt-home-explore-main,
.mt-home-explore-side {
    position: relative;
    min-height: 460px;
    border-radius: 22px;
    overflow: hidden;
    background: var(--mt-blue);
    box-shadow: 0 18px 45px rgba(0,31,84,.18);
}

.mt-home-explore-main img,
.mt-home-explore-side img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mt-home-explore-main::after,
.mt-home-explore-side::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,31,84,.92), rgba(230,74,25,.35));
}

.mt-home-explore-content {
    position: absolute;
    z-index: 2;
    left: 34px;
    right: 34px;
    bottom: 34px;
    color: var(--mt-white);
}

.mt-home-explore-content h2,
.mt-home-explore-content h3 {
    color: var(--mt-white);
    margin: 0 0 14px;
    text-transform: uppercase;
    font-weight: 900;
}

.mt-home-explore-content h2 {
    font-size: clamp(34px, 4vw, 58px);
    line-height: 1.05;
}

.mt-home-explore-content h3 {
    font-size: 30px;
    line-height: 1.1;
}

.mt-home-explore-content p {
    color: #f2f6ff;
    font-size: 17px;
    line-height: 1.7;
    margin: 0 0 22px;
}

.mt-product-section-dark,
.mt-promo-section {
    background: #111111;
}

.mt-promo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 55px;
    align-items: center;
}

.mt-promo-image {
    min-height: 520px;
    background: linear-gradient(135deg, #1d1d1d, #050505);
    background-size: cover;
    background-position: center;
    border-radius: 18px;
    border: 1px solid #292929;
}

.mt-feature-strip {
    background: var(--mt-blue);
}

.mt-feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.mt-feature-grid div,
.mt-home-feature {
    background: #111111;
    border: 1px solid var(--mt-border);
    padding: 25px;
    border-radius: 12px;
}

.mt-feature-grid strong {
    display: block;
    color: var(--mt-white);
    margin-bottom: 8px;
    text-transform: uppercase;
}

.mt-feature-grid span {
    color: #e8eef8;
}

.mt-home-icon {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    background: var(--mt-primary);
    color: var(--mt-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 22px;
}

.mt-home-feature h3 {
    color: var(--mt-white);
    margin: 0 0 12px;
    text-transform: uppercase;
    font-size: 22px;
    font-weight: 900;
}

.mt-home-feature p {
    color: #e8eef8;
    margin: 0;
}

.mt-home-cta,
.mt-home-cta-section {
    background: linear-gradient(90deg, rgba(255,75,0,.92), rgba(0,0,0,.92));
    background-size: cover;
    background-position: center;
    color: var(--mt-white);
    text-align: center;
    padding: 95px 0;
}

.mt-home-cta-box {
    max-width: 900px;
    margin: auto;
}

.mt-home-cta h2,
.mt-home-cta-box h2 {
    color: var(--mt-white);
    font-size: clamp(38px, 6vw, 72px);
    line-height: 1;
    margin: 0 0 18px;
    text-transform: uppercase;
}

.mt-home-cta p,
.mt-home-cta-box p {
    max-width: 760px;
    margin: 0 auto 30px;
    color: #f2f2f2;
    font-size: 18px;
    line-height: 1.7;
}

.mt-home-cta-box .mt-hero-buttons {
    justify-content: center;
}

/* ===============================
   SHOP / PRODUCT ARCHIVES
================================ */

.mt-shop-page {
    max-width: 1450px;
}

.mt-shop-hero {
    background: linear-gradient(135deg, #111111, #050505);
    border: 1px solid var(--mt-border);
    border-radius: 18px;
    padding: 55px;
    margin-bottom: 35px;
}

.mt-shop-hero h1 {
    color: var(--mt-white);
    font-size: clamp(42px, 6vw, 78px);
    line-height: 1;
    text-transform: uppercase;
    margin: 0 0 18px;
}

.mt-shop-hero p {
    max-width: 760px;
    color: #d0d0d0;
    font-size: 19px;
    line-height: 1.7;
    margin: 0;
}

.mt-shop-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    background: #111111;
    border: 1px solid var(--mt-border);
    border-radius: 14px;
    padding: 18px 22px;
    margin-bottom: 32px;
    color: #d0d0d0;
}

.woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
    display: none;
}

.woocommerce ul.products li.product {
    width: auto !important;
    margin: 0 !important;
    background: #111111;
    border: 1px solid var(--mt-border);
    border-radius: 16px;
    padding: 18px;
    overflow: hidden;
    transition: .25s ease;
    display: flex;
    flex-direction: column;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-5px);
    border-color: var(--mt-primary);
}

.woocommerce ul.products li.product a.woocommerce-LoopProduct-link {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.woocommerce ul.products li.product a img {
    width: 100%;
    height: 270px;
    object-fit: cover;
    border-radius: 12px;
    background: #1a1a1a;
    margin-bottom: 18px;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    color: var(--mt-white);
    font-size: 18px;
    line-height: 1.35;
    padding: 0;
    margin: 0 0 10px;
    text-transform: uppercase;
    min-height: 52px;
}

.woocommerce ul.products li.product .price {
    color: var(--mt-primary);
    font-size: 19px;
    font-weight: 900;
    margin-bottom: 14px;
    min-height: 32px;
    display: block;
}

.woocommerce ul.products li.product .button {
    width: 100%;
    text-align: center;
    margin-top: auto;
}

/* ===============================
   DEFAULT PAGES
================================ */

.mt-page-header {
    background: linear-gradient(rgba(0,0,0,.70), rgba(0,0,0,.92));
    padding: 120px 0;
    border-bottom: 1px solid #202020;
}

.mt-page-title {
    font-size: clamp(42px, 6vw, 82px);
    line-height: 1;
    text-transform: uppercase;
    margin: 0;
}

.mt-page-content-section {
    padding: 80px 0;
}

.mt-page-content {
    max-width: 1100px;
    margin: auto;
    background: #111111;
    border: 1px solid var(--mt-border);
    border-radius: 18px;
    padding: 50px;
}

.mt-page-content p,
.mt-page-content li {
    color: #d0d0d0;
    line-height: 1.9;
    font-size: 17px;
}

body.page header.entry-header,
body.page .entry-header .entry-title {
    display: none !important;
}

body.page h1,
body.page .mt-page-content h1,
body.page section h1,
body.single-product .product_title,
body.single-product h1.product_title,
.woocommerce div.product .product_title {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.page .site-main,
.page .content-area,
.page .entry-content,
.page article,
.page .post,
.page .type-page,
.page .site-content,
.page .content-wrapper,
.page main,
.mt-page-main,
.mt-page-article,
.mt-page-content {
    margin: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
}

.mt-page-width-wide .mt-page-content {
    max-width: 1450px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.mt-page-width-contained .mt-page-content {
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.mt-page-content > *:first-child,
.page .entry-content > *:first-child {
    margin-top: 0 !important;
}

.mt-page-content > *:last-child,
.page .entry-content > *:last-child {
    margin-bottom: 0 !important;
}

.wp-block-group,
.wp-block-cover,
.wp-block-columns,
.wp-block-html,
.wp-block-shortcode {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

body.page .mt-page-content img,
body.page .entry-content img,
body.page section img {
    max-width: 100% !important;
    height: auto !important;
    object-fit: cover;
}

/* ===============================
   CART / CHECKOUT / ACCOUNT
================================ */

.woocommerce-cart table.cart,
.woocommerce-checkout-review-order-table,
.woocommerce table.shop_table {
    background: #111111;
    border: 1px solid var(--mt-border);
    border-radius: 14px;
    overflow: hidden;
    color: var(--mt-white);
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
    border-color: #292929;
    color: var(--mt-white);
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.select2-container--default .select2-selection--single {
    background: #050505;
    color: var(--mt-white);
    border: 1px solid #333333;
    border-radius: 6px;
    padding: 13px;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    background: #111111;
    border-top-color: var(--mt-primary);
    color: var(--mt-white);
}

/* checkout readability only */

body.woocommerce-checkout .woocommerce form.checkout,
body.woocommerce-checkout .woocommerce-billing-fields,
body.woocommerce-checkout .woocommerce-shipping-fields,
body.woocommerce-checkout .woocommerce-additional-fields,
body.woocommerce-checkout #order_review,
body.woocommerce-checkout #payment {
    background: var(--mt-white) !important;
    color: var(--mt-text) !important;
}

body.woocommerce-checkout .woocommerce-billing-fields h3,
body.woocommerce-checkout .woocommerce-shipping-fields h3,
body.woocommerce-checkout .woocommerce-additional-fields h3,
body.woocommerce-checkout #order_review_heading,
body.woocommerce-checkout .woocommerce form .form-row label,
.woocommerce-checkout label,
.woocommerce-checkout .form-row label {
    display: block !important;
    color: var(--mt-blue) !important;
    font-weight: 800 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

body.woocommerce-checkout .woocommerce form .form-row input.input-text,
body.woocommerce-checkout .woocommerce form .form-row textarea,
body.woocommerce-checkout .woocommerce form .form-row select {
    background: var(--mt-white) !important;
    color: var(--mt-text) !important;
    border: 1px solid #999999 !important;
    border-radius: 6px !important;
    min-height: 44px !important;
}

.woocommerce-checkout .required {
    color: var(--mt-red) !important;
    font-weight: 900 !important;
}

.woocommerce-checkout .select2-selection__rendered {
    color: var(--mt-text) !important;
    font-weight: 600 !important;
}

body.woocommerce-checkout .woocommerce table.shop_table,
body.woocommerce-checkout .woocommerce table.shop_table th,
body.woocommerce-checkout .woocommerce table.shop_table td {
    color: var(--mt-text) !important;
}

body.woocommerce-checkout .woocommerce #place_order {
    background: var(--mt-orange) !important;
    color: var(--mt-white) !important;
}

/* ===============================
   FOOTER
================================ */

.mt-footer {
    background: var(--mt-black);
    border-top: 1px solid #222222;
    padding: 65px 0 25px;
}

.mt-footer-inner {
    width: 92%;
    max-width: 1400px;
    margin: auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 45px;
}

.mt-footer h3 {
    color: var(--mt-white);
    font-size: 30px;
    margin: 0 0 18px;
}

.mt-footer h4 {
    color: var(--mt-primary);
    font-size: 17px;
    margin: 0 0 18px;
    text-transform: uppercase;
}

.mt-footer p,
.mt-footer a {
    color: #cfcfcf;
    line-height: 1.7;
}

.mt-footer a {
    display: block;
    margin-bottom: 12px;
}

.mt-footer-bottom {
    width: 92%;
    max-width: 1400px;
    margin: 45px auto 0;
    padding-top: 22px;
    border-top: 1px solid #202020;
    color: #888888;
    font-size: 14px;
}

/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 1100px) {
    .mt-header-shop-inner {
        grid-template-columns: 220px 1fr;
    }

    .mt-header-actions {
        grid-column: 1 / -1;
        justify-content: flex-end;
    }

    .woocommerce ul.products {
        grid-template-columns: repeat(3, 1fr);
    }

    .mt-footer-inner,
    .mt-category-grid,
    .mt-home-category-grid,
    .mt-promo-grid,
    .mt-feature-grid,
    .mt-home-feature-grid {
        grid-template-columns: 1fr 1fr;
    }

    .mt-home-explore-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .mt-header-shop-inner,
    .mt-header-search {
        grid-template-columns: 1fr;
    }

    .mt-header-actions {
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .mt-main-menu-row .mt-header-inner {
        position: relative;
    }

    .mt-logo {
        max-width: 230px;
    }

    .mt-logo img,
    .custom-logo {
        max-height: 62px !important;
    }

    .mt-menu-toggle {
        display: block;
    }

    .mt-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--mt-black);
        border: 1px solid #222222;
        border-top: none;
        padding: 18px;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        z-index: 999999;
    }

    .mt-menu.mt-menu-open {
        display: flex;
    }

    .mt-menu a {
        padding: 15px 12px;
        border-bottom: 1px solid #222222;
    }

    .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    .mt-container {
        width: 94%;
    }

    .mt-mini-cart-box {
        right: 5%;
        left: 5%;
        width: auto;
    }

    .mt-hero,
    .mt-home-hero {
        min-height: 620px;
    }

    .mt-section,
    .mt-home-section {
        padding: 65px 0;
    }

    .mt-hero-buttons,
    .mt-home-buttons {
        flex-direction: column;
    }

    .mt-btn,
    .mt-home-btn {
        width: 100%;
    }

    .mt-footer-inner,
    .mt-category-grid,
    .mt-home-category-grid,
    .mt-promo-grid,
    .mt-feature-grid,
    .mt-home-feature-grid,
    .woocommerce ul.products {
        grid-template-columns: 1fr;
    }

    .woocommerce ul.products li.product a img {
        height: 260px;
    }

    .mt-home-explore-main,
    .mt-home-explore-side {
        min-height: 380px;
    }
}


/* FINAL HEADER MINI CART INLINE LAYOUT */

.mt-mini-cart-box {
    width: 390px !important;
    max-width: 94vw !important;
    padding: 12px !important;
    overflow: hidden !important;
}

.mt-mini-cart-box .woocommerce-mini-cart-item {
    display: grid !important;
    grid-template-columns: 24px 82px 62px minmax(0, 1fr) !important;
    gap: 8px !important;
    align-items: center !important;
    min-height: 76px !important;
    padding: 10px 0 !important;
    overflow: hidden !important;
}

/* 1. X delete */
.mt-mini-cart-box .woocommerce-mini-cart-item .remove {
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: 22px !important;
    height: 22px !important;
    margin: 0 !important;
    position: static !important;
    z-index: 10 !important;
}

/* 2. quantity control after X */
.mt-mini-cart-box .woocommerce-mini-cart-item .quantity,
.mt-mini-cart-box .woocommerce-mini-cart-item .mt-header-mini-qty,
.mt-mini-cart-box .woocommerce-mini-cart-item .mt-mini-cart-qty-control {
    grid-column: 2 !important;
    grid-row: 1 !important;
    margin: 0 !important;
}

/* 3. image after quantity */
.mt-mini-cart-box .woocommerce-mini-cart-item img {
    grid-column: 3 !important;
    grid-row: 1 !important;
    width: 62px !important;
    height: 62px !important;
    object-fit: cover !important;
    border-radius: 8px !important;
    margin: 0 !important;
    position: static !important;
}

/* 4. title last */
.mt-mini-cart-box .woocommerce-mini-cart-item a:not(.remove) {
    grid-column: 4 !important;
    grid-row: 1 !important;
    display: block !important;
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    line-height: 1.35 !important;
    max-height: 62px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding-right: 4px !important;
    min-width: 0 !important;
}



/* quantity design */
.mt-header-mini-qty,
.mt-mini-cart-qty-control {
    display: grid !important;
    grid-template-columns: 24px 30px 24px !important;
    width: 78px !important;
    height: 26px !important;
    background: #ffffff !important;
    border: 1px solid #333333 !important;
    border-radius: 6px !important;
    overflow: hidden !important;
}

.mt-header-mini-minus,
.mt-header-mini-plus,
.mt-mini-cart-minus,
.mt-mini-cart-plus {
    width: 24px !important;
    height: 26px !important;
    background: #001f54 !important;
    color: #ffffff !important;
    border: none !important;
    font-size: 15px !important;
    font-weight: 900 !important;
    padding: 0 !important;
    margin: 0 !important;
}

.mt-header-mini-number,
.mt-mini-cart-qty {
    width: 30px !important;
    height: 26px !important;
    background: #ffffff !important;
    color: #111111 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 12px !important;
    font-weight: 900 !important;
}

/* mobile */
@media (max-width: 700px) {
    .mt-mini-cart-box {
        width: 94vw !important;
        right: 0 !important;
        left: auto !important;
    }

    .mt-mini-cart-box .woocommerce-mini-cart-item {
        grid-template-columns: 22px 78px 56px minmax(0, 1fr) !important;
        gap: 7px !important;
    }

    .mt-mini-cart-box .woocommerce-mini-cart-item img {
        width: 56px !important;
        height: 56px !important;
    }

    .mt-mini-cart-box .woocommerce-mini-cart-item a:not(.remove) {
        max-height: 58px !important;
        font-size: 12px !important;
    }
}

/* MINI CART IMAGE RESTORE + CORRECT INLINE ORDER */

.mt-mini-cart-box .woocommerce-mini-cart-item {
    display: grid !important;
    grid-template-columns: 24px 82px minmax(0, 1fr) !important;
    gap: 8px !important;
    align-items: center !important;
}

.mt-mini-cart-box .woocommerce-mini-cart-item .remove {
    grid-column: 1 !important;
    grid-row: 1 !important;
}

.mt-mini-cart-box .woocommerce-mini-cart-item .quantity,
.mt-mini-cart-box .woocommerce-mini-cart-item .mt-header-mini-qty,
.mt-mini-cart-box .woocommerce-mini-cart-item .mt-mini-cart-qty-control {
    grid-column: 2 !important;
    grid-row: 1 !important;
    margin: 0 !important;
}

.mt-mini-cart-box .woocommerce-mini-cart-item a:not(.remove) {
    grid-column: 3 !important;
    grid-row: 1 !important;
    display: grid !important;
    grid-template-columns: 62px minmax(0, 1fr) !important;
    gap: 9px !important;
    align-items: center !important;
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    line-height: 1.35 !important;
    min-width: 0 !important;
}

.mt-mini-cart-box .woocommerce-mini-cart-item a:not(.remove) img {
    display: block !important;
    width: 62px !important;
    height: 62px !important;
    object-fit: cover !important;
    border-radius: 8px !important;
    margin: 0 !important;
    position: static !important;
}

/* long title scrolls inside its own space */
.mt-mini-cart-box .woocommerce-mini-cart-item a:not(.remove) {
    max-height: 66px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding-right: 4px !important;
}

/* FINAL MINI CART ORDER: X | QTY | IMAGE | TITLE */

.mt-mini-cart-box {
    width: 410px !important;
    max-width: 94vw !important;
    padding: 12px !important;
    overflow: hidden !important;
}

.mt-mini-cart-box .woocommerce-mini-cart-item {
    display: grid !important;
    grid-template-columns: 24px 84px minmax(0, 1fr) !important;
    gap: 8px !important;
    align-items: center !important;
    min-height: 78px !important;
    padding: 10px 0 !important;
    overflow: hidden !important;
}

/* X first */
.mt-mini-cart-box .woocommerce-mini-cart-item > .remove {
    grid-column: 1 !important;
    grid-row: 1 !important;
    position: static !important;
    width: 22px !important;
    height: 22px !important;
    margin: 0 !important;
    z-index: 5 !important;
}

/* Qty second */
.mt-mini-cart-box .woocommerce-mini-cart-item > .quantity,
.mt-mini-cart-box .woocommerce-mini-cart-item > .mt-header-mini-qty,
.mt-mini-cart-box .woocommerce-mini-cart-item > .mt-mini-cart-qty-control {
    grid-column: 2 !important;
    grid-row: 1 !important;
    margin: 0 !important;
}

/* Product link contains IMAGE then TITLE */
.mt-mini-cart-box .woocommerce-mini-cart-item > a:not(.remove) {
    grid-column: 3 !important;
    grid-row: 1 !important;
    display: grid !important;
    grid-template-columns: 62px minmax(0, 1fr) !important;
    gap: 10px !important;
    align-items: center !important;
    min-width: 0 !important;
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    line-height: 1.3 !important;
    max-height: 66px !important;
    overflow: hidden !important;
}

/* Image after qty */
.mt-mini-cart-box .woocommerce-mini-cart-item > a:not(.remove) img {
    grid-column: 1 !important;
    grid-row: 1 !important;
    display: block !important;
    position: static !important;
    width: 62px !important;
    height: 62px !important;
    min-width: 62px !important;
    object-fit: cover !important;
    border-radius: 8px !important;
    margin: 0 !important;
}

/* Title after image, scrolls if long */
.mt-mini-cart-box .woocommerce-mini-cart-item > a:not(.remove) {
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding-right: 4px !important;
}

/* Qty design */
.mt-header-mini-qty,
.mt-mini-cart-qty-control {
    display: grid !important;
    grid-template-columns: 24px 32px 24px !important;
    width: 80px !important;
    height: 26px !important;
    background: #ffffff !important;
    border: 1px solid #333333 !important;
    border-radius: 6px !important;
    overflow: hidden !important;
}

.mt-header-mini-minus,
.mt-header-mini-plus,
.mt-mini-cart-minus,
.mt-mini-cart-plus {
    width: 24px !important;
    height: 26px !important;
    background: #001f54 !important;
    color: #ffffff !important;
    border: none !important;
    font-size: 15px !important;
    font-weight: 900 !important;
    padding: 0 !important;
    margin: 0 !important;
}

.mt-header-mini-number,
.mt-mini-cart-qty {
    width: 32px !important;
    height: 26px !important;
    background: #ffffff !important;
    color: #111111 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 12px !important;
    font-weight: 900 !important;
}

/* Mobile */
@media (max-width: 700px) {
    .mt-mini-cart-box {
        width: 94vw !important;
        right: 0 !important;
        left: auto !important;
    }

    .mt-mini-cart-box .woocommerce-mini-cart-item {
        grid-template-columns: 22px 78px minmax(0, 1fr) !important;
        gap: 7px !important;
    }

    .mt-mini-cart-box .woocommerce-mini-cart-item > a:not(.remove) {
        grid-template-columns: 54px minmax(0, 1fr) !important;
        gap: 8px !important;
        font-size: 12px !important;
        max-height: 60px !important;
    }

    .mt-mini-cart-box .woocommerce-mini-cart-item > a:not(.remove) img {
        width: 54px !important;
        height: 54px !important;
        min-width: 54px !important;
    }
}

.mt-footer-logo-img {
    max-width: 230px;
    max-height: 95px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    margin-bottom: 18px;
}

/* FOOTER LOGO */

.mt-footer-logo-img {
    max-width: 240px;
    max-height: 100px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    margin-bottom: 18px;
}

/* HEADER DROPDOWN HOVER STABILITY ONLY */

.mt-header-category,
.mt-header-cart {
    position: relative;
}

.mt-header-category-dropdown,
.mt-mini-cart-box {
    transition: opacity .22s ease, visibility .22s ease, transform .22s ease;
}

.mt-header-category-dropdown {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(6px);
}

.mt-header-category:hover .mt-header-category-dropdown,
.mt-header-category:focus-within .mt-header-category-dropdown {
    display: block !important;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.mt-header-cart .mt-mini-cart-box {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(6px);
}

.mt-header-cart:hover .mt-mini-cart-box,
.mt-header-cart:focus-within .mt-mini-cart-box {
    display: block !important;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

/* invisible bridge so dropdown does not disappear while mouse moves down */
.mt-header-category::after,
.mt-header-cart::after {
    content: "";
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    height: 18px;
    background: transparent;
}

/* ==========================================================
   MAD TRAILS - COMPLETE WOOCOMMERCE CHECKOUT DESIGN
   Supports Classic Checkout + WooCommerce Checkout Block
   ========================================================== */


/* ----------------------------------------------------------
   CHECKOUT PAGE BACKGROUND
---------------------------------------------------------- */

body.woocommerce-checkout {
    background: #f4f6f9 !important;
    color: #111111 !important;
}

body.woocommerce-checkout .mt-checkout-page {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 50px 0 80px !important;
    background: #f4f6f9 !important;
}

.mt-checkout-shell {
    width: 92%;
    max-width: 1320px;
    margin: 0 auto;
}


/* ----------------------------------------------------------
   CHECKOUT HERO
---------------------------------------------------------- */

.mt-checkout-hero {
    background:
        linear-gradient(
            135deg,
            #001f54 0%,
            #00173f 55%,
            #050505 100%
        );

    border-radius: 18px;
    padding: 42px 48px;
    margin-bottom: 30px;

    color: #ffffff;

    box-shadow: 0 15px 40px rgba(0, 31, 84, 0.18);
}

.mt-checkout-eyebrow {
    display: inline-block;

    color: #ff4b00;

    font-size: 13px;
    font-weight: 900;
    letter-spacing: 1.8px;

    text-transform: uppercase;

    margin-bottom: 12px;
}

.mt-checkout-hero h1 {
    display: block !important;

    color: #ffffff !important;

    font-size: clamp(36px, 5vw, 58px);
    line-height: 1.05;

    font-weight: 900;
    text-transform: uppercase;

    margin: 0 0 14px !important;
}

.mt-checkout-hero p {
    max-width: 800px;

    margin: 0;

    color: #e8eef8;

    font-size: 17px;
    line-height: 1.7;
}

.mt-checkout-trust-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 12px 28px;

    margin-top: 24px;

    color: #ffffff;

    font-size: 14px;
    font-weight: 800;
}


/* ----------------------------------------------------------
   CHECKOUT CONTENT WRAPPER
---------------------------------------------------------- */

.mt-checkout-content {
    width: 100%;
    max-width: 100%;

    margin: 0;
    padding: 0;

    color: #111111;
}

.mt-checkout-content > .woocommerce {
    width: 100%;
    max-width: 100%;
}


/* ----------------------------------------------------------
   WOOCOMMERCE NOTICES
---------------------------------------------------------- */

body.woocommerce-checkout .woocommerce-message,
body.woocommerce-checkout .woocommerce-info,
body.woocommerce-checkout .woocommerce-error {
    background: #ffffff !important;

    color: #111111 !important;

    border: 1px solid #dfe5ec !important;
    border-top: 4px solid #ff4b00 !important;

    border-radius: 10px;

    padding: 18px 22px 18px 48px !important;

    margin: 0 0 20px !important;

    box-shadow: 0 5px 18px rgba(0,0,0,.05);
}

body.woocommerce-checkout .woocommerce-message a,
body.woocommerce-checkout .woocommerce-info a,
body.woocommerce-checkout .woocommerce-error a {
    color: #001f54 !important;
    font-weight: 800;
}


/* ----------------------------------------------------------
   LOGIN / COUPON AREA
---------------------------------------------------------- */

body.woocommerce-checkout .woocommerce-form-login-toggle,
body.woocommerce-checkout .woocommerce-form-coupon-toggle {
    margin-bottom: 15px;
}

body.woocommerce-checkout form.login,
body.woocommerce-checkout form.checkout_coupon {
    background: #ffffff !important;

    border: 1px solid #dfe5ec !important;
    border-radius: 12px !important;

    padding: 22px !important;

    color: #111111 !important;

    margin-bottom: 25px !important;
}


/* ==========================================================
   CLASSIC WOOCOMMERCE CHECKOUT
   ========================================================== */

body.woocommerce-checkout form.checkout.woocommerce-checkout {
    display: grid !important;

    grid-template-columns:
        minmax(0, 1.12fr)
        minmax(360px, .88fr);

    gap: 28px;

    align-items: start;

    width: 100% !important;

    background: transparent !important;

    color: #111111 !important;
}


/* ----------------------------------------------------------
   CUSTOMER DETAILS - LEFT COLUMN
---------------------------------------------------------- */

body.woocommerce-checkout #customer_details {
    grid-column: 1;
    grid-row: 1 / span 2;

    width: 100% !important;
}

body.woocommerce-checkout #customer_details .col-1,
body.woocommerce-checkout #customer_details .col-2 {
    float: none !important;

    width: 100% !important;

    margin: 0 0 25px !important;
}


/* Billing / Shipping cards */

body.woocommerce-checkout .woocommerce-billing-fields,
body.woocommerce-checkout .woocommerce-shipping-fields,
body.woocommerce-checkout .woocommerce-additional-fields {
    background: #ffffff !important;

    border: 1px solid #dfe5ec !important;

    border-radius: 16px;

    padding: 28px;

    box-shadow: 0 10px 28px rgba(0,0,0,.055);

    color: #111111 !important;
}

body.woocommerce-checkout .woocommerce-shipping-fields {
    margin-bottom: 22px;
}


/* ----------------------------------------------------------
   SECTION HEADINGS
---------------------------------------------------------- */

body.woocommerce-checkout .woocommerce-billing-fields h3,
body.woocommerce-checkout .woocommerce-shipping-fields h3,
body.woocommerce-checkout .woocommerce-additional-fields h3,
body.woocommerce-checkout #order_review_heading {
    display: block !important;

    visibility: visible !important;

    opacity: 1 !important;

    color: #001f54 !important;

    font-size: 23px !important;
    line-height: 1.25;

    font-weight: 900 !important;

    text-transform: uppercase;

    margin: 0 0 22px !important;
}


/* ----------------------------------------------------------
   BILLING / SHIPPING FIELD GRID
---------------------------------------------------------- */

body.woocommerce-checkout
.woocommerce-billing-fields__field-wrapper,

body.woocommerce-checkout
.woocommerce-shipping-fields__field-wrapper,

body.woocommerce-checkout
.woocommerce-additional-fields__field-wrapper {

    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    column-gap: 18px;
    row-gap: 16px;
}


/* Standard fields */

body.woocommerce-checkout
.woocommerce-billing-fields__field-wrapper .form-row,

body.woocommerce-checkout
.woocommerce-shipping-fields__field-wrapper .form-row,

body.woocommerce-checkout
.woocommerce-additional-fields__field-wrapper .form-row {

    float: none !important;

    width: 100% !important;

    margin: 0 !important;

    padding: 0 !important;
}


/* Full-width WooCommerce fields */

body.woocommerce-checkout
.form-row-wide {

    grid-column: 1 / -1;
}


/* ----------------------------------------------------------
   LABELS
---------------------------------------------------------- */

body.woocommerce-checkout
.woocommerce form .form-row label,

body.woocommerce-checkout
.woocommerce-checkout label,

body.woocommerce-checkout
.form-row label {

    display: block !important;

    visibility: visible !important;

    opacity: 1 !important;

    color: #243247 !important;

    font-size: 14px !important;

    font-weight: 800 !important;

    margin: 0 0 7px !important;
}

body.woocommerce-checkout .required {
    color: #e60012 !important;

    font-weight: 900 !important;
}


/* ----------------------------------------------------------
   INPUT FIELDS
---------------------------------------------------------- */

body.woocommerce-checkout
.woocommerce form .form-row input.input-text,

body.woocommerce-checkout
.woocommerce form .form-row textarea,

body.woocommerce-checkout
.woocommerce form .form-row select {

    width: 100% !important;

    min-height: 50px !important;

    background: #ffffff !important;

    color: #111111 !important;

    border: 1px solid #bac4d0 !important;

    border-radius: 8px !important;

    padding: 12px 14px !important;

    font-size: 15px !important;

    line-height: 1.4 !important;

    box-shadow: none !important;

    outline: none !important;
}

body.woocommerce-checkout
.woocommerce form .form-row textarea {

    min-height: 120px !important;

    resize: vertical;
}


/* Focus */

body.woocommerce-checkout
.woocommerce form .form-row input.input-text:focus,

body.woocommerce-checkout
.woocommerce form .form-row textarea:focus,

body.woocommerce-checkout
.woocommerce form .form-row select:focus {

    border-color: #001f54 !important;

    box-shadow:
        0 0 0 3px rgba(0,31,84,.10) !important;
}


/* ----------------------------------------------------------
   SELECT2 COUNTRY / STATE
---------------------------------------------------------- */

body.woocommerce-checkout
.select2-container {

    width: 100% !important;
}

body.woocommerce-checkout
.select2-container--default
.select2-selection--single {

    height: 50px !important;

    display: flex !important;

    align-items: center !important;

    background: #ffffff !important;

    border: 1px solid #bac4d0 !important;

    border-radius: 8px !important;

    padding: 0 12px !important;
}

body.woocommerce-checkout
.select2-container--default
.select2-selection--single
.select2-selection__rendered {

    color: #111111 !important;

    line-height: 48px !important;

    padding-left: 0 !important;

    font-weight: 600 !important;
}

body.woocommerce-checkout
.select2-container--default
.select2-selection--single
.select2-selection__arrow {

    height: 48px !important;
}


/* Dropdown itself */

.select2-container--open
.select2-dropdown {

    background: #ffffff !important;

    color: #111111 !important;

    border-color: #bac4d0 !important;
}


/* ----------------------------------------------------------
   SHIP TO DIFFERENT ADDRESS
---------------------------------------------------------- */

body.woocommerce-checkout
#ship-to-different-address {

    margin: 0 0 20px !important;
}

body.woocommerce-checkout
#ship-to-different-address label {

    display: flex !important;

    align-items: center;

    gap: 9px;

    color: #001f54 !important;

    font-size: 16px !important;

    font-weight: 900 !important;
}


/* ==========================================================
   ORDER SUMMARY - RIGHT COLUMN
   ========================================================== */

body.woocommerce-checkout
#order_review_heading {

    grid-column: 2;
    grid-row: 1;

    background: #001f54;

    color: #ffffff !important;

    border-radius: 14px 14px 0 0;

    padding: 20px 24px !important;

    margin: 0 !important;
}

body.woocommerce-checkout
#order_review {

    grid-column: 2;
    grid-row: 2;

    background: #ffffff !important;

    color: #111111 !important;

    border: 1px solid #dfe5ec !important;

    border-top: 0 !important;

    border-radius: 0 0 16px 16px;

    padding: 24px !important;

    box-shadow: 0 10px 28px rgba(0,0,0,.055);

    align-self: start;
}


/* ----------------------------------------------------------
   ORDER TABLE
---------------------------------------------------------- */

body.woocommerce-checkout
#order_review table.shop_table {

    width: 100% !important;

    background: #ffffff !important;

    color: #111111 !important;

    border: 0 !important;

    border-radius: 0 !important;

    margin: 0 0 22px !important;
}

body.woocommerce-checkout
#order_review table.shop_table th,

body.woocommerce-checkout
#order_review table.shop_table td {

    color: #111111 !important;

    border-color: #e6e9ee !important;

    padding: 14px 8px !important;

    vertical-align: top;
}

body.woocommerce-checkout
#order_review table.shop_table th {

    color: #001f54 !important;

    font-weight: 900 !important;
}

body.woocommerce-checkout
#order_review
.product-name {

    font-weight: 700;
}

body.woocommerce-checkout
#order_review
.order-total th,

body.woocommerce-checkout
#order_review
.order-total td {

    color: #001f54 !important;

    font-size: 18px;

    font-weight: 900;
}


/* ==========================================================
   PAYMENT METHODS
   ========================================================== */

body.woocommerce-checkout
#payment {

    background: #f7f9fc !important;

    color: #111111 !important;

    border: 1px solid #dfe5ec !important;

    border-radius: 12px !important;

    overflow: hidden;
}

body.woocommerce-checkout
#payment ul.payment_methods {

    list-style: none !important;

    margin: 0 !important;

    padding: 18px !important;

    border-bottom: 1px solid #dfe5ec !important;
}

body.woocommerce-checkout
#payment ul.payment_methods li {

    color: #111111 !important;

    padding: 8px 0;

    font-weight: 700;
}

body.woocommerce-checkout
#payment ul.payment_methods li label {

    display: inline !important;

    color: #111111 !important;

    font-weight: 800 !important;
}

body.woocommerce-checkout
#payment div.payment_box {

    background: #ffffff !important;

    color: #4c5664 !important;

    border: 1px solid #dfe5ec;

    border-radius: 8px;

    margin: 10px 0 !important;

    padding: 15px !important;
}

body.woocommerce-checkout
#payment div.payment_box::before {

    display: none !important;
}

body.woocommerce-checkout
#payment div.payment_box p {

    color: #4c5664 !important;

    margin: 0 !important;
}


/* ----------------------------------------------------------
   PAYMENT AREA / TERMS
---------------------------------------------------------- */

body.woocommerce-checkout
#payment .place-order {

    padding: 20px !important;

    margin: 0 !important;
}

body.woocommerce-checkout
.woocommerce-privacy-policy-text,

body.woocommerce-checkout
.woocommerce-terms-and-conditions-wrapper {

    color: #5f6977 !important;

    font-size: 13px;

    line-height: 1.65;
}

body.woocommerce-checkout
.woocommerce-privacy-policy-text a,

body.woocommerce-checkout
.woocommerce-terms-and-conditions-wrapper a {

    color: #001f54 !important;

    font-weight: 800;
}


/* ----------------------------------------------------------
   PLACE ORDER BUTTON
---------------------------------------------------------- */

body.woocommerce-checkout
#place_order {

    width: 100% !important;

    min-height: 56px !important;

    margin-top: 15px !important;

    background: #ff4b00 !important;

    color: #ffffff !important;

    border: 0 !important;

    border-radius: 8px !important;

    font-size: 15px !important;

    font-weight: 900 !important;

    text-transform: uppercase;

    letter-spacing: .4px;

    transition: .2s ease;
}

body.woocommerce-checkout
#place_order:hover {

    background: #001f54 !important;

    color: #ffffff !important;
}


/* ==========================================================
   WOOCOMMERCE CHECKOUT BLOCK
   ========================================================== */

body.woocommerce-checkout
.wc-block-checkout {

    width: 100% !important;

    max-width: 100% !important;

    margin: 0 !important;

    color: #111111 !important;
}


/* Main checkout block areas */

body.woocommerce-checkout
.wc-block-checkout
.wc-block-components-main,

body.woocommerce-checkout
.wc-block-checkout
.wc-block-components-sidebar {

    background: #ffffff;

    color: #111111;

    border: 1px solid #dfe5ec;

    border-radius: 16px;

    padding: 28px !important;

    box-shadow: 0 10px 28px rgba(0,0,0,.055);
}


/* Titles */

body.woocommerce-checkout
.wc-block-checkout h2,

body.woocommerce-checkout
.wc-block-checkout h3,

body.woocommerce-checkout
.wc-block-components-title {

    color: #001f54 !important;

    font-weight: 900 !important;
}


/* Block labels */

body.woocommerce-checkout
.wc-block-checkout label {

    color: #243247 !important;
}


/* Block input controls */

body.woocommerce-checkout
.wc-block-checkout input,

body.woocommerce-checkout
.wc-block-checkout textarea,

body.woocommerce-checkout
.wc-block-checkout select {

    color: #111111 !important;

    background: #ffffff !important;
}


/* Block buttons */

body.woocommerce-checkout
.wc-block-components-button {

    background: #ff4b00 !important;

    color: #ffffff !important;

    border: 0 !important;

    border-radius: 8px !important;

    font-weight: 900 !important;

    min-height: 54px;
}

body.woocommerce-checkout
.wc-block-components-button:hover {

    background: #001f54 !important;

    color: #ffffff !important;
}


/* Prices */

body.woocommerce-checkout
.wc-block-components-formatted-money-amount {

    color: #111111;
}


/* ==========================================================
   MOBILE / TABLET CHECKOUT
   ========================================================== */

@media (max-width: 900px) {

    body.woocommerce-checkout
    .mt-checkout-page {

        padding: 30px 0 60px !important;
    }

    .mt-checkout-shell {
        width: 94%;
    }

    .mt-checkout-hero {
        padding: 30px 28px;
    }

    body.woocommerce-checkout
    form.checkout.woocommerce-checkout {

        grid-template-columns: 1fr !important;

        gap: 22px;
    }

    body.woocommerce-checkout
    #customer_details {

        grid-column: 1 !important;

        grid-row: auto !important;
    }

    body.woocommerce-checkout
    #order_review_heading {

        grid-column: 1 !important;

        grid-row: auto !important;
    }

    body.woocommerce-checkout
    #order_review {

        grid-column: 1 !important;

        grid-row: auto !important;
    }
}


@media (max-width: 650px) {

    body.woocommerce-checkout
    .mt-checkout-page {

        padding-top: 18px !important;
    }

    .mt-checkout-shell {
        width: 94%;
    }

    .mt-checkout-hero {
        padding: 26px 22px;

        border-radius: 14px;

        margin-bottom: 20px;
    }

    .mt-checkout-hero h1 {
        font-size: 34px;
    }

    .mt-checkout-hero p {
        font-size: 15px;
    }

    .mt-checkout-trust-row {
        flex-direction: column;

        align-items: flex-start;

        gap: 7px;
    }

    body.woocommerce-checkout
    .woocommerce-billing-fields,

    body.woocommerce-checkout
    .woocommerce-shipping-fields,

    body.woocommerce-checkout
    .woocommerce-additional-fields,

    body.woocommerce-checkout
    #order_review {

        padding: 20px !important;
    }

    body.woocommerce-checkout
    .woocommerce-billing-fields__field-wrapper,

    body.woocommerce-checkout
    .woocommerce-shipping-fields__field-wrapper,

    body.woocommerce-checkout
    .woocommerce-additional-fields__field-wrapper {

        grid-template-columns: 1fr !important;
    }

    body.woocommerce-checkout
    .form-row-wide {

        grid-column: 1 !important;
    }

    body.woocommerce-checkout
    .wc-block-checkout
    .wc-block-components-main,

    body.woocommerce-checkout
    .wc-block-checkout
    .wc-block-components-sidebar {

        padding: 20px !important;

        border-radius: 12px;
    }
}
